2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for subversion 1.8.14.
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.14'
594 PACKAGE_STRING='subversion 1.8.14'
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
762 SVN_APR_MEMCACHE_LIBS
763 SVN_APR_MEMCACHE_INCLUDES
771 SVN_APR_SHLIB_PATH_VAR
841 program_transform_name
854 enable_option_checking
860 with_apache_libexecdir
861 enable_broken_httpd_auth
863 enable_sqlite_compatibility_version
871 enable_experimental_libtool
873 enable_local_library_preloading
887 enable_plaintext_password_storage
891 enable_disallowing_of_undefined_references
892 enable_maintainer_mode
893 enable_full_version_match
896 enable_mod_activation
903 with_ruby_test_verbose
905 enable_runtime_module_search
909 ac_precious_vars='build_alias
924 # Initialize some variables set by options.
926 ac_init_version=false
927 ac_unrecognized_opts=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
938 program_transform_name=s,x,x,
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 includedir='${prefix}/include'
961 oldincludedir='/usr/include'
962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
963 infodir='${datarootdir}/info'
968 libdir='${exec_prefix}/lib'
969 localedir='${datarootdir}/locale'
970 mandir='${datarootdir}/man'
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\$ac_option
984 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
995 -bindir | --bindir | --bindi | --bind | --bin | --bi)
997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000 -build | --build | --buil | --bui | --bu)
1001 ac_prev=build_alias ;;
1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1003 build_alias=$ac_optarg ;;
1005 -cache-file | --cache-file | --cache-fil | --cache-fi \
1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1007 ac_prev=cache_file ;;
1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1010 cache_file=$ac_optarg ;;
1012 --config-cache | -C)
1013 cache_file=config.cache ;;
1015 -datadir | --datadir | --datadi | --datad)
1017 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1018 datadir=$ac_optarg ;;
1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1021 | --dataroo | --dataro | --datar)
1022 ac_prev=datarootdir ;;
1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1025 datarootdir=$ac_optarg ;;
1027 -disable-* | --disable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error $? "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1041 eval enable_$ac_useropt=no ;;
1043 -docdir | --docdir | --docdi | --doc | --do)
1045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1046 docdir=$ac_optarg ;;
1048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1051 dvidir=$ac_optarg ;;
1053 -enable-* | --enable-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error $? "invalid feature name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_$ac_useropt"
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1067 eval enable_$ac_useropt=\$ac_optarg ;;
1069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071 | --exec | --exe | --ex)
1072 ac_prev=exec_prefix ;;
1073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075 | --exec=* | --exe=* | --ex=*)
1076 exec_prefix=$ac_optarg ;;
1078 -gas | --gas | --ga | --g)
1079 # Obsolete; use --with-gas.
1082 -help | --help | --hel | --he | -h)
1083 ac_init_help=long ;;
1084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085 ac_init_help=recursive ;;
1086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087 ac_init_help=short ;;
1089 -host | --host | --hos | --ho)
1090 ac_prev=host_alias ;;
1091 -host=* | --host=* | --hos=* | --ho=*)
1092 host_alias=$ac_optarg ;;
1094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1098 htmldir=$ac_optarg ;;
1100 -includedir | --includedir | --includedi | --included | --include \
1101 | --includ | --inclu | --incl | --inc)
1102 ac_prev=includedir ;;
1103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104 | --includ=* | --inclu=* | --incl=* | --inc=*)
1105 includedir=$ac_optarg ;;
1107 -infodir | --infodir | --infodi | --infod | --info | --inf)
1109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110 infodir=$ac_optarg ;;
1112 -libdir | --libdir | --libdi | --libd)
1114 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1115 libdir=$ac_optarg ;;
1117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118 | --libexe | --libex | --libe)
1119 ac_prev=libexecdir ;;
1120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121 | --libexe=* | --libex=* | --libe=*)
1122 libexecdir=$ac_optarg ;;
1124 -localedir | --localedir | --localedi | --localed | --locale)
1125 ac_prev=localedir ;;
1126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127 localedir=$ac_optarg ;;
1129 -localstatedir | --localstatedir | --localstatedi | --localstated \
1130 | --localstate | --localstat | --localsta | --localst | --locals)
1131 ac_prev=localstatedir ;;
1132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134 localstatedir=$ac_optarg ;;
1136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139 mandir=$ac_optarg ;;
1141 -nfp | --nfp | --nf)
1142 # Obsolete; use --without-fp.
1145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146 | --no-cr | --no-c | -n)
1149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155 | --oldin | --oldi | --old | --ol | --o)
1156 ac_prev=oldincludedir ;;
1157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160 oldincludedir=$ac_optarg ;;
1162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165 prefix=$ac_optarg ;;
1167 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1168 | --program-pre | --program-pr | --program-p)
1169 ac_prev=program_prefix ;;
1170 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172 program_prefix=$ac_optarg ;;
1174 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1175 | --program-suf | --program-su | --program-s)
1176 ac_prev=program_suffix ;;
1177 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179 program_suffix=$ac_optarg ;;
1181 -program-transform-name | --program-transform-name \
1182 | --program-transform-nam | --program-transform-na \
1183 | --program-transform-n | --program-transform- \
1184 | --program-transform | --program-transfor \
1185 | --program-transfo | --program-transf \
1186 | --program-trans | --program-tran \
1187 | --progr-tra | --program-tr | --program-t)
1188 ac_prev=program_transform_name ;;
1189 -program-transform-name=* | --program-transform-name=* \
1190 | --program-transform-nam=* | --program-transform-na=* \
1191 | --program-transform-n=* | --program-transform-=* \
1192 | --program-transform=* | --program-transfor=* \
1193 | --program-transfo=* | --program-transf=* \
1194 | --program-trans=* | --program-tran=* \
1195 | --progr-tra=* | --program-tr=* | --program-t=*)
1196 program_transform_name=$ac_optarg ;;
1198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201 pdfdir=$ac_optarg ;;
1203 -psdir | --psdir | --psdi | --psd | --ps)
1205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209 | -silent | --silent | --silen | --sile | --sil)
1212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1216 sbindir=$ac_optarg ;;
1218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220 | --sharedst | --shareds | --shared | --share | --shar \
1222 ac_prev=sharedstatedir ;;
1223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1227 sharedstatedir=$ac_optarg ;;
1229 -site | --site | --sit)
1231 -site=* | --site=* | --sit=*)
1234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237 srcdir=$ac_optarg ;;
1239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240 | --syscon | --sysco | --sysc | --sys | --sy)
1241 ac_prev=sysconfdir ;;
1242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244 sysconfdir=$ac_optarg ;;
1246 -target | --target | --targe | --targ | --tar | --ta | --t)
1247 ac_prev=target_alias ;;
1248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249 target_alias=$ac_optarg ;;
1251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1254 -version | --version | --versio | --versi | --vers | -V)
1255 ac_init_version=: ;;
1258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error $? "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1271 eval with_$ac_useropt=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277 as_fn_error $? "invalid package name: $ac_useropt"
1278 ac_useropt_orig=$ac_useropt
1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep=', ';;
1287 eval with_$ac_useropt=no ;;
1290 # Obsolete; use --with-x.
1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294 | --x-incl | --x-inc | --x-in | --x-i)
1295 ac_prev=x_includes ;;
1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298 x_includes=$ac_optarg ;;
1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302 ac_prev=x_libraries ;;
1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305 x_libraries=$ac_optarg ;;
1307 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information"
1312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' | [0-9]* | *[!_$as_cr_alnum]* )
1316 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1318 eval $ac_envvar=\$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1332 if test -n "$ac_prev"; then
1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error $? "missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1340 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1345 # Check all directory arguments for consistency.
1346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val=\$$ac_var
1352 # Remove trailing slashes.
1355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\$ac_val;;
1358 # Be sure to have absolute directory names.
1360 [\\/$]* | ?:[\\/]* ) continue;;
1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1363 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1371 target=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x; then
1375 if test "x$build_alias" = x; then
1376 cross_compiling=maybe
1377 elif test "x$build_alias" != "x$host_alias"; then
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385 test "$silent" = yes && exec 6>/dev/null
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error $? "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error $? "pwd does not report name of working directory"
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1428 ac_srcdir_defaulted=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1456 # Report the --help message.
1458 if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1462 \`configure' configures subversion 1.8.14 to adapt to many kinds of systems.
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE. See below for descriptions of some of the useful variables.
1469 Defaults for the options are specified in brackets.
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking ...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482 Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1493 For better control, use the options below.
1495 Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1520 --build=BUILD configure for building on BUILD [guessed]
1521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1522 --target=TARGET configure for building compilers for TARGET [HOST]
1526 if test -n "$ac_init_help"; then
1527 case $ac_init_help in
1528 short | recursive ) echo "Configuration of subversion 1.8.14:";;
1533 --disable-option-checking ignore unrecognized --enable/--with options
1534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1536 --enable-broken-httpd-auth
1537 Allow building against httpd 2.4 with broken auth
1538 --enable-sqlite-compatibility-version=X.Y.Z
1539 Allow binary to run against SQLite as old as ARG
1540 --enable-shared[=PKGS] build shared libraries [default=yes]
1541 --enable-static[=PKGS] build static libraries [default=yes]
1542 --enable-fast-install[=PKGS]
1543 optimize for fast installation [default=yes]
1544 --disable-libtool-lock avoid locking (might break parallel builds)
1545 --enable-experimental-libtool
1547 --enable-static Build static libraries
1548 --enable-shared Build shared libraries
1549 --enable-all-static Build completely static (standalone) binaries.
1550 --enable-local-library-preloading
1551 Enable preloading of locally built libraries in
1552 locally built executables. This may be necessary for
1553 testing prior to installation on some platforms. It
1554 does not work on some platforms (Darwin, OpenBSD,
1556 --enable-bdb6 Allow building against BDB 6+. See
1557 --with-berkeley-db for specifying the location of
1558 the Berkeley DB installation. Using BDB 6 will fail
1559 if this option is not used.
1560 --disable-keychain Disable use of Mac OS KeyChain for auth credentials
1561 --enable-ev2-impl Use Ev2 implementations, where available
1563 --disable-nls Disable gettext functionality
1564 --disable-plaintext-password-storage
1565 Disable on-disk caching of plaintext passwords and
1566 passphrases. (Leaving this functionality enabled
1567 will not force Subversion to store passwords in
1568 plaintext, but does permit users to explicitly allow
1569 that behavior via runtime configuration.)
1570 --enable-debug Turn on debugging
1571 --enable-optimize Turn on optimizations
1572 --enable-disallowing-of-undefined-references
1573 Use -Wl,--no-undefined flag during linking of some
1574 libraries to disallow undefined references
1575 --enable-maintainer-mode
1576 Turn on debugging and very strict compile-time
1578 --disable-full-version-match
1579 Disable the full version match rules when checking
1580 Subversion library compatibility.
1581 --enable-mod-activation Enable mod_dav_svn in httpd.conf
1582 --enable-gcov Turn on gcov coverage testing (GCC only).
1583 --enable-gprof Produce gprof profiling data in 'gmon.out' (GCC
1585 --enable-runtime-module-search
1586 Turn on dynamic loading of RA/FS libraries including
1587 third-party FS libraries
1588 --enable-javahl Enable compilation of Java high-level bindings
1592 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1593 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1594 --with-apr=PATH prefix for installed APR, path to APR build tree,
1595 or the full path to apr-config
1596 --with-apr-util=PATH prefix for installed APU, path to APU build tree,
1597 or the full path to apu-config
1598 --with-serf=PREFIX Serf HTTP client library (enabled by default if
1600 --with-apr_memcache=PREFIX
1601 Standalone apr_memcache client library
1602 --with-apxs[=FILE] Build shared Apache modules. FILE is the optional
1603 pathname to the Apache apxs tool; defaults to
1605 --with-apache-libexecdir[=PATH]
1606 Install Apache modules to Apache's configured
1607 modules directory instead of LIBEXECDIR; if PATH is
1608 given, install to PATH.
1609 --with-sqlite=PREFIX Use installed SQLite library or amalgamation file.
1610 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1612 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1613 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1614 compiler's sysroot if not specified).
1615 --with-trang=PATH Specify the command to run the trang schema
1617 --with-doxygen=PATH Specify the command to run doxygen
1618 --with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
1619 Specify location of Expat
1620 --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
1621 The Subversion Berkeley DB based filesystem library
1622 requires Berkeley DB $db_version or $db_alt_version.
1623 If you specify `--without-berkeley-db', that library
1624 will not be built. If you omit the argument of this
1625 option completely, the configure script will use
1626 Berkeley DB used by APR-UTIL.
1627 --with-sasl=PATH Compile with libsasl2 in PATH
1628 --without-gpg-agent Disable support for GPG-Agent
1629 --with-gnome-keyring Enable use of GNOME Keyring for auth credentials
1630 (enabled by default if found)
1631 --with-libmagic=PREFIX libmagic filetype detection library
1632 --with-kwallet[=PATH] Enable use of KWallet (KDE 4) for auth credentials
1633 --with-openssl This option does NOT affect the Subversion build
1634 process in any way. It tells an integrated Serf HTTP
1635 client library build process where to locate the
1636 OpenSSL library when (and only when) building Serf
1637 as an integrated part of the Subversion build
1638 process. When linking to a previously installed
1639 version of Serf instead, you do not need to use this
1641 --with-editor=PATH Specify a default editor for the subversion client.
1642 --with-zlib=PREFIX zlib compression library
1643 --with-jdk=PATH Try to use 'PATH/include' to find the JNI headers.
1644 If PATH is not specified, look for a Java
1645 Development Kit at JAVA_HOME.
1646 --with-jikes=PATH Specify the path to a jikes binary to use it as your
1647 Java compiler. The default is to look for jikes
1648 (PATH optional). This behavior can be switched off
1650 --with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
1651 bindings. If PATH is not specified, look for a
1652 'swig' binary in your PATH.
1653 --with-ruby-sitedir=SITEDIR
1654 install Ruby bindings in SITEDIR (default is same as
1656 --with-ruby-test-verbose=LEVEL
1657 how to use output level for Ruby bindings tests
1659 --with-ctypesgen=PATH Specify the path to ctypesgen. This can either be
1660 the full path to a ctypesgen installation, the full
1661 path to a ctypesgen source tree or the full path to
1663 --with-junit=PATH Specify a path to the junit JAR file.
1665 Some influential environment variables:
1666 CC C compiler command
1667 CFLAGS C compiler flags
1668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1669 nonstandard directory <lib dir>
1670 LIBS libraries to pass to the linker, e.g. -l<library>
1671 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1672 you have headers in a nonstandard directory <include dir>
1673 CXX C++ compiler command
1674 CXXFLAGS C++ compiler flags
1676 CXXCPP C++ preprocessor
1678 Use these variables to override the choices made by `configure' or to help
1679 it to find libraries and programs with nonstandard names/locations.
1681 Report bugs to <http://subversion.apache.org/>.
1686 if test "$ac_init_help" = "recursive"; then
1687 # If there are subdirs, report their specific --help.
1688 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1689 test -d "$ac_dir" ||
1690 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1697 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1698 # A ".." for each directory in $ac_dir_suffix.
1699 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1700 case $ac_top_builddir_sub in
1701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1705 ac_abs_top_builddir=$ac_pwd
1706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1707 # for backward compatibility:
1708 ac_top_builddir=$ac_top_build_prefix
1711 .) # We are building in place.
1713 ac_top_srcdir=$ac_top_builddir_sub
1714 ac_abs_top_srcdir=$ac_pwd ;;
1715 [\\/]* | ?:[\\/]* ) # Absolute name.
1716 ac_srcdir=$srcdir$ac_dir_suffix;
1717 ac_top_srcdir=$srcdir
1718 ac_abs_top_srcdir=$srcdir ;;
1720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1721 ac_top_srcdir=$ac_top_build_prefix$srcdir
1722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1726 cd "$ac_dir" || { ac_status=$?; continue; }
1727 # Check for guested configure.
1728 if test -f "$ac_srcdir/configure.gnu"; then
1730 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1731 elif test -f "$ac_srcdir/configure"; then
1733 $SHELL "$ac_srcdir/configure" --help=recursive
1735 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1737 cd "$ac_pwd" || { ac_status=$?; break; }
1741 test -n "$ac_init_help" && exit $ac_status
1742 if $ac_init_version; then
1744 subversion configure 1.8.14
1745 generated by GNU Autoconf 2.69
1747 Copyright (C) 2012 Free Software Foundation, Inc.
1748 This configure script is free software; the Free Software Foundation
1749 gives unlimited permission to copy, distribute and modify it.
1754 ## ------------------------ ##
1755 ## Autoconf initialization. ##
1756 ## ------------------------ ##
1758 # ac_fn_c_try_compile LINENO
1759 # --------------------------
1760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_compile ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext
1765 if { { ac_try="$ac_compile"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_compile") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest.$ac_objext; then :
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1794 } # ac_fn_c_try_compile
1796 # ac_fn_c_try_link LINENO
1797 # -----------------------
1798 # Try to link conftest.$ac_ext, and return whether this succeeded.
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext conftest$ac_exeext
1803 if { { ac_try="$ac_link"
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>conftest.err
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest$ac_exeext && {
1822 test "$cross_compiling" = yes ||
1823 test -x conftest$ac_exeext
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1834 # interfere with the next link command; also delete a directory that is
1835 # left behind by Apple's compiler. We do this before executing the actions.
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status $ac_retval
1840 } # ac_fn_c_try_link
1842 # ac_fn_cxx_try_compile LINENO
1843 # ----------------------------
1844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1845 ac_fn_cxx_try_compile ()
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rm -f conftest.$ac_objext
1849 if { { ac_try="$ac_compile"
1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852 *) ac_try_echo=$ac_try;;
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_compile") 2>conftest.err
1858 if test -s conftest.err; then
1859 grep -v '^ *+' conftest.err >conftest.er1
1860 cat conftest.er1 >&5
1861 mv -f conftest.er1 conftest.err
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && {
1865 test -z "$ac_cxx_werror_flag" ||
1866 test ! -s conftest.err
1867 } && test -s conftest.$ac_objext; then :
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status $ac_retval
1878 } # ac_fn_cxx_try_compile
1880 # ac_fn_cxx_try_link LINENO
1881 # -------------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_cxx_try_link ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext conftest$ac_exeext
1887 if { { ac_try="$ac_link"
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>conftest.err
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_cxx_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest$ac_exeext && {
1906 test "$cross_compiling" = yes ||
1907 test -x conftest$ac_exeext
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1916 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1917 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1918 # interfere with the next link command; also delete a directory that is
1919 # left behind by Apple's compiler. We do this before executing the actions.
1920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status $ac_retval
1924 } # ac_fn_cxx_try_link
1926 # ac_fn_c_try_cpp LINENO
1927 # ----------------------
1928 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 if { { ac_try="$ac_cpp conftest.$ac_ext"
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1941 if test -s conftest.err; then
1942 grep -v '^ *+' conftest.err >conftest.er1
1943 cat conftest.er1 >&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } > conftest.i && {
1948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1949 test ! -s conftest.err
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 as_fn_set_status $ac_retval
1963 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1964 # -------------------------------------------------------
1965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1966 # the include files in INCLUDES and setting the cache variable VAR
1968 ac_fn_c_check_header_mongrel ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 if eval \${$3+:} false; then :
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1973 $as_echo_n "checking for $2... " >&6; }
1974 if eval \${$3+:} false; then :
1975 $as_echo_n "(cached) " >&6
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1981 # Is the header compilable?
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1983 $as_echo_n "checking $2 usability... " >&6; }
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_header_compiler=yes
1992 ac_header_compiler=no
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1996 $as_echo "$ac_header_compiler" >&6; }
1998 # Is the header present?
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2000 $as_echo_n "checking $2 presence... " >&6; }
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2005 if ac_fn_c_try_cpp "$LINENO"; then :
2006 ac_header_preproc=yes
2008 ac_header_preproc=no
2010 rm -f conftest.err conftest.i conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2012 $as_echo "$ac_header_preproc" >&6; }
2014 # So? What about this header?
2015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2018 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2024 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2026 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2028 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2030 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033 ( $as_echo "## -------------------------------------------- ##
2034 ## Report this to http://subversion.apache.org/ ##
2035 ## -------------------------------------------- ##"
2036 ) | sed "s/^/$as_me: WARNING: /" >&2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2044 eval "$3=\$ac_header_compiler"
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_header_mongrel
2054 # ac_fn_c_try_run LINENO
2055 # ----------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2057 # that executables *can* be run.
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 if { { ac_try="$ac_link"
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>&5
2070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2071 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2072 { { case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_try") 2>&5
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; }; }; then :
2084 $as_echo "$as_me: program exited with status $ac_status" >&5
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2088 ac_retval=$ac_status
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092 as_fn_set_status $ac_retval
2096 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists and can be compiled using the include files in
2099 # INCLUDES, setting the cache variable VAR accordingly.
2100 ac_fn_c_check_header_compile ()
2102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104 $as_echo_n "checking for $2... " >&6; }
2105 if eval \${$3+:} false; then :
2106 $as_echo_n "(cached) " >&6
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2113 if ac_fn_c_try_compile "$LINENO"; then :
2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_c_check_header_compile
2127 # ac_fn_c_check_func LINENO FUNC VAR
2128 # ----------------------------------
2129 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2130 ac_fn_c_check_func ()
2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2134 $as_echo_n "checking for $2... " >&6; }
2135 if eval \${$3+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2142 #define $2 innocuous_$2
2144 /* System header to define __stub macros and hopefully few prototypes,
2145 which can conflict with char $2 (); below.
2146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2147 <limits.h> exists even on freestanding compilers. */
2150 # include <limits.h>
2152 # include <assert.h>
2157 /* Override any GCC internal prototype to avoid an error.
2158 Use char because int might match the return type of a GCC
2159 builtin and then its argument prototype would still apply. */
2164 /* The GNU C library defines this for functions which it implements
2165 to always fail with ENOSYS. Some functions are actually named
2166 something starting with __ and the normal name is an alias. */
2167 #if defined __stub_$2 || defined __stub___$2
2179 if ac_fn_c_try_link "$LINENO"; then :
2184 rm -f core conftest.err conftest.$ac_objext \
2185 conftest$ac_exeext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192 } # ac_fn_c_check_func
2194 # ac_fn_cxx_try_cpp LINENO
2195 # ------------------------
2196 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2197 ac_fn_cxx_try_cpp ()
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 if { { ac_try="$ac_cpp conftest.$ac_ext"
2202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2203 *) ac_try_echo=$ac_try;;
2205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2206 $as_echo "$ac_try_echo"; } >&5
2207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2209 if test -s conftest.err; then
2210 grep -v '^ *+' conftest.err >conftest.er1
2211 cat conftest.er1 >&5
2212 mv -f conftest.er1 conftest.err
2214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2215 test $ac_status = 0; } > conftest.i && {
2216 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2217 test ! -s conftest.err
2221 $as_echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.$ac_ext >&5
2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227 as_fn_set_status $ac_retval
2229 } # ac_fn_cxx_try_cpp
2231 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2232 # -------------------------------------------
2233 # Tests whether TYPE exists after having included INCLUDES, setting cache
2234 # variable VAR accordingly.
2235 ac_fn_c_check_type ()
2237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239 $as_echo_n "checking for $2... " >&6; }
2240 if eval \${$3+:} false; then :
2241 $as_echo_n "(cached) " >&6
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2269 if ac_fn_c_try_compile "$LINENO"; then :
2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2280 $as_echo "$ac_res" >&6; }
2281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283 } # ac_fn_c_check_type
2284 cat >config.log <<_ACEOF
2285 This file contains any messages produced by compilers while
2286 running configure, to aid debugging if configure makes a mistake.
2288 It was created by subversion $as_me 1.8.14, which was
2289 generated by GNU Autoconf 2.69. Invocation command line was
2301 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2302 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2303 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2304 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2305 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2307 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2308 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2310 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2311 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2312 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2313 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2314 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2315 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2316 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 $as_echo "PATH: $as_dir"
2341 # Keep a trace of the command line.
2342 # Strip out --no-create and --no-recursion so they do not pile up.
2343 # Strip out --silent because we don't want to record it for future runs.
2344 # Also quote any args containing shell meta-characters.
2345 # Make two passes to allow for proper duplicate-argument suppression.
2349 ac_must_keep_next=false
2355 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2357 | -silent | --silent | --silen | --sile | --sil)
2360 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2363 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2365 as_fn_append ac_configure_args1 " '$ac_arg'"
2366 if test $ac_must_keep_next = true; then
2367 ac_must_keep_next=false # Got value, back to normal.
2370 *=* | --config-cache | -C | -disable-* | --disable-* \
2371 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2372 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2373 | -with-* | --with-* | -without-* | --without-* | --x)
2374 case "$ac_configure_args0 " in
2375 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2378 -* ) ac_must_keep_next=true ;;
2381 as_fn_append ac_configure_args " '$ac_arg'"
2386 { ac_configure_args0=; unset ac_configure_args0;}
2387 { ac_configure_args1=; unset ac_configure_args1;}
2389 # When interrupted or exit'd, cleanup temporary files, and complete
2390 # config.log. We remove comments because anyway the quotes in there
2391 # would cause problems or look ugly.
2392 # WARNING: Use '\'' to represent an apostrophe within the trap.
2393 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2394 trap 'exit_status=$?
2395 # Save into config.log some information that might help in debugging.
2399 $as_echo "## ---------------- ##
2400 ## Cache variables. ##
2401 ## ---------------- ##"
2403 # The following way of writing the cache mishandles newlines in values,
2405 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2406 eval ac_val=\$$ac_var
2410 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2411 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2414 _ | IFS | as_nl) ;; #(
2415 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2416 *) { eval $ac_var=; unset $ac_var;} ;;
2421 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2422 *${as_nl}ac_space=\ *)
2424 "s/'\''/'\''\\\\'\'''\''/g;
2425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2428 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2435 $as_echo "## ----------------- ##
2436 ## Output variables. ##
2437 ## ----------------- ##"
2439 for ac_var in $ac_subst_vars
2441 eval ac_val=\$$ac_var
2443 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2445 $as_echo "$ac_var='\''$ac_val'\''"
2449 if test -n "$ac_subst_files"; then
2450 $as_echo "## ------------------- ##
2451 ## File substitutions. ##
2452 ## ------------------- ##"
2454 for ac_var in $ac_subst_files
2456 eval ac_val=\$$ac_var
2458 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2460 $as_echo "$ac_var='\''$ac_val'\''"
2465 if test -s confdefs.h; then
2466 $as_echo "## ----------- ##
2473 test "$ac_signal" != 0 &&
2474 $as_echo "$as_me: caught signal $ac_signal"
2475 $as_echo "$as_me: exit $exit_status"
2477 rm -f core *.core core.conftest.* &&
2478 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2481 for ac_signal in 1 2 13 15; do
2482 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2487 rm -f -r conftest* confdefs.h
2489 $as_echo "/* confdefs.h */" > confdefs.h
2491 # Predefined preprocessor variables.
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_NAME "$PACKAGE_NAME"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_STRING "$PACKAGE_STRING"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2513 cat >>confdefs.h <<_ACEOF
2514 #define PACKAGE_URL "$PACKAGE_URL"
2518 # Let the site file select an alternate cache file if it wants to.
2519 # Prefer an explicitly selected file to automatically selected ones.
2522 if test -n "$CONFIG_SITE"; then
2523 # We do not want a PATH search for config.site.
2524 case $CONFIG_SITE in #((
2525 -*) ac_site_file1=./$CONFIG_SITE;;
2526 */*) ac_site_file1=$CONFIG_SITE;;
2527 *) ac_site_file1=./$CONFIG_SITE;;
2529 elif test "x$prefix" != xNONE; then
2530 ac_site_file1=$prefix/share/config.site
2531 ac_site_file2=$prefix/etc/config.site
2533 ac_site_file1=$ac_default_prefix/share/config.site
2534 ac_site_file2=$ac_default_prefix/etc/config.site
2536 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2538 test "x$ac_site_file" = xNONE && continue
2539 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2541 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2542 sed 's/^/| /' "$ac_site_file" >&5
2544 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 as_fn_error $? "failed to load site script $ac_site_file
2547 See \`config.log' for more details" "$LINENO" 5; }
2551 if test -r "$cache_file"; then
2552 # Some versions of bash will fail to source /dev/null (special files
2553 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2554 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2556 $as_echo "$as_me: loading cache $cache_file" >&6;}
2558 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2559 *) . "./$cache_file";;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2564 $as_echo "$as_me: creating cache $cache_file" >&6;}
2568 # Check that the precious variables saved in the cache have kept the same
2570 ac_cache_corrupted=false
2571 for ac_var in $ac_precious_vars; do
2572 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2573 eval ac_new_set=\$ac_env_${ac_var}_set
2574 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2575 eval ac_new_val=\$ac_env_${ac_var}_value
2576 case $ac_old_set,$ac_new_set in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2579 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2580 ac_cache_corrupted=: ;;
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2583 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2584 ac_cache_corrupted=: ;;
2587 if test "x$ac_old_val" != "x$ac_new_val"; then
2588 # differences in whitespace do not lead to failure.
2589 ac_old_val_w=`echo x $ac_old_val`
2590 ac_new_val_w=`echo x $ac_new_val`
2591 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2593 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2594 ac_cache_corrupted=:
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2597 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2598 eval $ac_var=\$ac_old_val
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2601 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2603 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2606 # Pass precious variables to config.status.
2607 if test "$ac_new_set" = set; then
2609 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2610 *) ac_arg=$ac_var=$ac_new_val ;;
2612 case " $ac_configure_args " in
2613 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2614 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2618 if $ac_cache_corrupted; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2622 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2623 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2625 ## -------------------- ##
2626 ## Main body of script. ##
2627 ## -------------------- ##
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2639 for ac_dir in build "$srcdir"/build; do
2640 if test -f "$ac_dir/install-sh"; then
2642 ac_install_sh="$ac_aux_dir/install-sh -c"
2644 elif test -f "$ac_dir/install.sh"; then
2646 ac_install_sh="$ac_aux_dir/install.sh -c"
2648 elif test -f "$ac_dir/shtool"; then
2650 ac_install_sh="$ac_aux_dir/shtool install -c"
2654 if test -z "$ac_aux_dir"; then
2655 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2658 # These three variables are undocumented and unsupported,
2659 # and are intended to be withdrawn in a future Autoconf release.
2660 # They can cause serious problems if a builder's source tree is in a directory
2661 # whose full name contains unusual characters.
2662 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2663 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2664 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.8.14" >&5
2669 $as_echo "$as_me: Configuring Subversion 1.8.14" >&6;}
2671 abs_srcdir="`cd $srcdir && pwd`"
2673 abs_builddir="`pwd`"
2675 if test "$abs_srcdir" = "$abs_builddir"; then
2676 canonicalized_srcdir=""
2678 canonicalized_srcdir="$srcdir/"
2682 SWIG_LDFLAGS="$LDFLAGS"
2685 # Generate config.nice early (before the arguments are munged)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating config.nice" >&5
2688 $as_echo "$as_me: creating config.nice" >&6;}
2689 # This little dance satisfies Cygwin, which cannot overwrite in-use files.
2690 if test -f "config.nice"; then
2691 mv "config.nice" "config.nice.old"
2694 cat >"config.nice" <<EOF
2697 # Created by configure
2699 '$0' $ac_configure_args "\$@"
2702 chmod +x "config.nice"
2703 rm -f "config.nice.old"
2706 # ==== Check for programs ====================================================
2708 # Look for a C compiler (before anything can set CFLAGS)
2709 CMAINTAINERFLAGS="$CUSERFLAGS"
2710 CUSERFLAGS="$CFLAGS"
2712 ac_cpp='$CPP $CPPFLAGS'
2713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_CC+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_prog_CC"; then
2757 # Extract the first word of "gcc", so it can be a program name with args.
2758 set dummy gcc; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$ac_ct_CC"; then
2765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_ac_ct_CC="gcc"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2785 if test -n "$ac_ct_CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2787 $as_echo "$ac_ct_CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2793 if test "x$ac_ct_CC" = x; then
2796 case $cross_compiling:$ac_tool_warned in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned=yes ;;
2808 if test -z "$CC"; then
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}cc; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_CC+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_CC="${ac_tool_prefix}cc"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test -n "$CC"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2840 $as_echo "$CC" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2849 if test -z "$CC"; then
2850 # Extract the first word of "cc", so it can be a program name with args.
2851 set dummy cc; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_CC+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$CC"; then
2858 ac_cv_prog_CC="$CC" # Let the user override the test.
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir=.
2866 for ac_exec_ext in '' $ac_executable_extensions; do
2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2869 ac_prog_rejected=yes
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test $ac_prog_rejected = yes; then
2881 # We found a bogon in the path, so make sure we never use it.
2882 set dummy $ac_cv_prog_CC
2884 if test $# != 0; then
2885 # We chose a different compiler from the bogus one.
2886 # However, it has the same basename, so the bogon will be chosen
2887 # first if we set CC to just the basename; use the full file name.
2889 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$CC"; then
2906 if test -n "$ac_tool_prefix"; then
2907 for ac_prog in cl.exe
2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$CC" && break
2949 if test -z "$CC"; then
2951 for ac_prog in cl.exe
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CC="$ac_prog"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2990 test -n "$ac_ct_CC" && break
2993 if test "x$ac_ct_CC" = x; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned=yes ;;
3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $? "no acceptable C compiler found in \$PATH
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 # Provide some information about the compiler.
3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3018 for ac_option in --version -v -V -qversion; do
3019 { { ac_try="$ac_compiler $ac_option >&5"
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3028 if test -s conftest.err; then
3030 ... rest of stderr output deleted ...
3031 10q' conftest.err >conftest.er1
3032 cat conftest.er1 >&5
3034 rm -f conftest.er1 conftest.err
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; }
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3050 ac_clean_files_save=$ac_clean_files
3051 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3052 # Try to create an executable without -o first, disregard a.out.
3053 # It will help us diagnose broken compilers, and finding out an intuition
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3056 $as_echo_n "checking whether the C compiler works... " >&6; }
3057 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3059 # The possible output files:
3060 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3063 for ac_file in $ac_files
3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3067 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3072 if { { ac_try="$ac_link_default"
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_link_default") 2>&5
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; then :
3083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3085 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3086 # so that the user can short-circuit this test for compilers unknown to
3088 for ac_file in $ac_files ''
3090 test -f "$ac_file" || continue
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3095 # We found the default executable, but exeext='' is most
3099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3101 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103 # We set ac_cv_exeext here because the later test for it is not
3104 # safe: cross compilers may not add the suffix if given an `-o'
3105 # argument, so we may need to know it at that point already.
3106 # Even if this section looks crufty: it has the advantage of
3113 test "$ac_cv_exeext" = no && ac_cv_exeext=
3118 if test -z "$ac_file"; then :
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error 77 "C compiler cannot create executables
3127 See \`config.log' for more details" "$LINENO" 5; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3130 $as_echo "yes" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3133 $as_echo_n "checking for C compiler default output file name... " >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3135 $as_echo "$ac_file" >&6; }
3136 ac_exeext=$ac_cv_exeext
3138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3139 ac_clean_files=$ac_clean_files_save
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3141 $as_echo_n "checking for suffix of executables... " >&6; }
3142 if { { ac_try="$ac_link"
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3154 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3155 # work properly (i.e., refer to `conftest.exe'), while it won't with
3157 for ac_file in conftest.exe conftest conftest.*; do
3158 test -f "$ac_file" || continue
3160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3161 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3170 See \`config.log' for more details" "$LINENO" 5; }
3172 rm -f conftest conftest$ac_cv_exeext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3174 $as_echo "$ac_cv_exeext" >&6; }
3176 rm -f conftest.$ac_ext
3177 EXEEXT=$ac_cv_exeext
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3185 FILE *f = fopen ("conftest.out", "w");
3186 return ferror (f) || fclose (f) != 0;
3192 ac_clean_files="$ac_clean_files conftest.out"
3193 # Check that the compiler produces executables we can run. If not, either
3194 # the compiler is broken, or we cross compile.
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3196 $as_echo_n "checking whether we are cross compiling... " >&6; }
3197 if test "$cross_compiling" != yes; then
3198 { { ac_try="$ac_link"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_link") 2>&5
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }
3209 if { ac_try='./conftest$ac_cv_exeext'
3210 { { case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_try") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; }; then
3222 if test "$cross_compiling" = maybe; then
3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $? "cannot run C compiled programs.
3228 If you meant to cross compile, use \`--host'.
3229 See \`config.log' for more details" "$LINENO" 5; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3234 $as_echo "$cross_compiling" >&6; }
3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3237 ac_clean_files=$ac_clean_files_save
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3239 $as_echo_n "checking for suffix of object files... " >&6; }
3240 if ${ac_cv_objext+:} false; then :
3241 $as_echo_n "(cached) " >&6
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 rm -f conftest.o conftest.obj
3255 if { { ac_try="$ac_compile"
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compile") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; then :
3266 for ac_file in conftest.o conftest.obj conftest.*; do
3267 test -f "$ac_file" || continue;
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3275 $as_echo "$as_me: failed program was:" >&5
3276 sed 's/^/| /' conftest.$ac_ext >&5
3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 as_fn_error $? "cannot compute suffix of object files: cannot compile
3281 See \`config.log' for more details" "$LINENO" 5; }
3283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3286 $as_echo "$ac_cv_objext" >&6; }
3287 OBJEXT=$ac_cv_objext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3290 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3291 if ${ac_cv_c_compiler_gnu+:} false; then :
3292 $as_echo_n "(cached) " >&6
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3308 if ac_fn_c_try_compile "$LINENO"; then :
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3318 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3319 if test $ac_compiler_gnu = yes; then
3324 ac_test_CFLAGS=${CFLAGS+set}
3325 ac_save_CFLAGS=$CFLAGS
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3327 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3328 if ${ac_cv_prog_cc_g+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 ac_save_c_werror_flag=$ac_c_werror_flag
3332 ac_c_werror_flag=yes
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3364 ac_c_werror_flag=$ac_save_c_werror_flag
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_c_werror_flag=$ac_save_c_werror_flag
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3388 $as_echo "$ac_cv_prog_cc_g" >&6; }
3389 if test "$ac_test_CFLAGS" = set; then
3390 CFLAGS=$ac_save_CFLAGS
3391 elif test $ac_cv_prog_cc_g = yes; then
3392 if test "$GCC" = yes; then
3398 if test "$GCC" = yes; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3405 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3406 if ${ac_cv_prog_cc_c89+:} false; then :
3407 $as_echo_n "(cached) " >&6
3409 ac_cv_prog_cc_c89=no
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3417 struct buf { int x; };
3418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3419 static char *e (p, i)
3425 static char *f (char * (*g) (char **, int), char **p, ...)
3430 s = g (p, va_arg (v,int));
3435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3436 function prototypes and stuff, but not '\xHH' hex character constants.
3437 These don't provoke an error unfortunately, instead are silently treated
3438 as 'x'. The following induces an error, until -std is added to get
3439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3440 array size at least. It's necessary to write '\x00'==0 to get something
3441 that's true only with -std. */
3442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3445 inside strings and character constants. */
3447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3449 int test (int i, double x);
3450 struct s1 {int (*f) (int a);};
3451 struct s2 {int (*f) (double a);};
3452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3458 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3464 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3466 CC="$ac_save_CC $ac_arg"
3467 if ac_fn_c_try_compile "$LINENO"; then :
3468 ac_cv_prog_cc_c89=$ac_arg
3470 rm -f core conftest.err conftest.$ac_objext
3471 test "x$ac_cv_prog_cc_c89" != "xno" && break
3473 rm -f conftest.$ac_ext
3478 case "x$ac_cv_prog_cc_c89" in
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3481 $as_echo "none needed" >&6; } ;;
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3484 $as_echo "unsupported" >&6; } ;;
3486 CC="$CC $ac_cv_prog_cc_c89"
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3488 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3490 if test "x$ac_cv_prog_cc_c89" != xno; then :
3495 ac_cpp='$CPP $CPPFLAGS'
3496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 CFLAGS_KEEP="$CFLAGS"
3506 _svn_xxflags__save="$CFLAGS"
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c90" >&5
3514 $as_echo_n "checking if $CC accepts -std=c90... " >&6; }
3515 CFLAGS="-std=c90 $CFLAGS"
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3518 int main(void){return 0;}
3520 if ac_fn_c_try_link "$LINENO"; then :
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3523 $as_echo "yes" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3530 CFLAGS="$_svn_xxflags__save"
3533 _svn_xxflags__save="$CFLAGS"
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c89" >&5
3541 $as_echo_n "checking if $CC accepts -std=c89... " >&6; }
3542 CFLAGS="-std=c89 $CFLAGS"
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3545 int main(void){return 0;}
3547 if ac_fn_c_try_link "$LINENO"; then :
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3557 CFLAGS="$_svn_xxflags__save"
3560 _svn_xxflags__save="$CFLAGS"
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -ansi" >&5
3568 $as_echo_n "checking if $CC accepts -ansi... " >&6; }
3569 CFLAGS="-ansi $CFLAGS"
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3572 int main(void){return 0;}
3574 if ac_fn_c_try_link "$LINENO"; then :
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3577 $as_echo "yes" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 CFLAGS="$_svn_xxflags__save"
3588 rm -f core conftest.err conftest.$ac_objext \
3589 conftest$ac_exeext conftest.$ac_ext
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 rm -f core conftest.err conftest.$ac_objext \
3601 conftest$ac_exeext conftest.$ac_ext
3603 ac_cpp='$CPP $CPPFLAGS'
3604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 rm -f core conftest.err conftest.$ac_objext \
3613 conftest$ac_exeext conftest.$ac_ext
3615 ac_cpp='$CPP $CPPFLAGS'
3616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 CMODEFLAGS="$CFLAGS"
3623 CFLAGS="$CFLAGS_KEEP"
3628 _svn_xxflags__save="$CFLAGS"
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=unknown-warning-option" >&5
3636 $as_echo_n "checking if $CC accepts -Werror=unknown-warning-option... " >&6; }
3637 CFLAGS="-Werror=unknown-warning-option $CFLAGS"
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640 int main(void){return 0;}
3642 if ac_fn_c_try_link "$LINENO"; then :
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3645 $as_echo "yes" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3652 CFLAGS="$_svn_xxflags__save"
3656 rm -f core conftest.err conftest.$ac_objext \
3657 conftest$ac_exeext conftest.$ac_ext
3659 ac_cpp='$CPP $CPPFLAGS'
3660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 # Look for a C++ compiler (before anything can set CXXFLAGS)
3668 CXXMAINTAINERFLAGS="$CXXUSERFLAGS"
3669 CXXUSERFLAGS="$CXXFLAGS"
3671 ac_cpp='$CXXCPP $CPPFLAGS'
3672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3675 if test -z "$CXX"; then
3676 if test -n "$CCC"; then
3679 if test -n "$ac_tool_prefix"; then
3680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3685 $as_echo_n "checking for $ac_word... " >&6; }
3686 if ${ac_cv_prog_CXX+:} false; then :
3687 $as_echo_n "(cached) " >&6
3689 if test -n "$CXX"; then
3690 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3699 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 if test -n "$CXX"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3712 $as_echo "$CXX" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3719 test -n "$CXX" && break
3722 if test -z "$CXX"; then
3724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3726 # Extract the first word of "$ac_prog", so it can be a program name with args.
3727 set dummy $ac_prog; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$ac_ct_CXX"; then
3734 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_ac_ct_CXX="$ac_prog"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3754 if test -n "$ac_ct_CXX"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3756 $as_echo "$ac_ct_CXX" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3763 test -n "$ac_ct_CXX" && break
3766 if test "x$ac_ct_CXX" = x; then
3769 case $cross_compiling:$ac_tool_warned in
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3773 ac_tool_warned=yes ;;
3781 # Provide some information about the compiler.
3782 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3785 for ac_option in --version -v -V -qversion; do
3786 { { ac_try="$ac_compiler $ac_option >&5"
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792 $as_echo "$ac_try_echo"; } >&5
3793 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3795 if test -s conftest.err; then
3797 ... rest of stderr output deleted ...
3798 10q' conftest.err >conftest.er1
3799 cat conftest.er1 >&5
3801 rm -f conftest.er1 conftest.err
3802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3803 test $ac_status = 0; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3807 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3808 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3825 if ac_fn_cxx_try_compile "$LINENO"; then :
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3835 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3836 if test $ac_compiler_gnu = yes; then
3841 ac_test_CXXFLAGS=${CXXFLAGS+set}
3842 ac_save_CXXFLAGS=$CXXFLAGS
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3844 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3845 if ${ac_cv_prog_cxx_g+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3849 ac_cxx_werror_flag=yes
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3863 if ac_fn_cxx_try_compile "$LINENO"; then :
3864 ac_cv_prog_cxx_g=yes
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_cxx_try_compile "$LINENO"; then :
3881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_cxx_try_compile "$LINENO"; then :
3895 ac_cv_prog_cxx_g=yes
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3905 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3906 if test "$ac_test_CXXFLAGS" = set; then
3907 CXXFLAGS=$ac_save_CXXFLAGS
3908 elif test $ac_cv_prog_cxx_g = yes; then
3909 if test "$GXX" = yes; then
3915 if test "$GXX" = yes; then
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 CXXFLAGS_KEEP="$CXXFLAGS"
3933 _svn_xxflags__save="$CXXFLAGS"
3935 ac_cpp='$CXXCPP $CPPFLAGS'
3936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -std=c++98" >&5
3941 $as_echo_n "checking if $CXX accepts -std=c++98... " >&6; }
3942 CXXFLAGS="-std=c++98 $CXXFLAGS"
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3947 if ac_fn_cxx_try_link "$LINENO"; then :
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3950 $as_echo "yes" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3957 CXXFLAGS="$_svn_xxflags__save"
3961 rm -f core conftest.err conftest.$ac_objext \
3962 conftest$ac_exeext conftest.$ac_ext
3964 ac_cpp='$CPP $CPPFLAGS'
3965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3971 CXXMODEFLAGS="$CXXFLAGS"
3972 CXXFLAGS="$CXXFLAGS_KEEP"
3977 _svn_xxflags__save="$CXXFLAGS"
3979 ac_cpp='$CXXCPP $CPPFLAGS'
3980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Werror=unknown-warning-option" >&5
3985 $as_echo_n "checking if $CXX accepts -Werror=unknown-warning-option... " >&6; }
3986 CXXFLAGS="-Werror=unknown-warning-option $CXXFLAGS"
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3991 if ac_fn_cxx_try_link "$LINENO"; then :
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3994 $as_echo "yes" >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4001 CXXFLAGS="$_svn_xxflags__save"
4005 rm -f core conftest.err conftest.$ac_objext \
4006 conftest$ac_exeext conftest.$ac_ext
4008 ac_cpp='$CPP $CPPFLAGS'
4009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 # Look for a C pre-processor
4018 ac_cpp='$CPP $CPPFLAGS'
4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4023 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4024 # On Suns, sometimes $CPP names a directory.
4025 if test -n "$CPP" && test -d "$CPP"; then
4028 if test -z "$CPP"; then
4029 if ${ac_cv_prog_CPP+:} false; then :
4030 $as_echo_n "(cached) " >&6
4032 # Double quotes because CPP needs to be expanded
4033 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4036 for ac_c_preproc_warn_flag in '' yes
4038 # Use a header file that comes with gcc, so configuring glibc
4039 # with a fresh cross-compiler works.
4040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4041 # <limits.h> exists even on freestanding compilers.
4042 # On the NeXT, cc -E runs the code through the compiler's parser,
4043 # not just through cpp. "Syntax error" is here to catch this case.
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4047 # include <limits.h>
4049 # include <assert.h>
4053 if ac_fn_c_try_cpp "$LINENO"; then :
4056 # Broken: fails on valid input.
4059 rm -f conftest.err conftest.i conftest.$ac_ext
4061 # OK, works on sane cases. Now check whether nonexistent headers
4062 # can be detected and how.
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4065 #include <ac_nonexistent.h>
4067 if ac_fn_c_try_cpp "$LINENO"; then :
4068 # Broken: success on invalid input.
4071 # Passes both tests.
4075 rm -f conftest.err conftest.i conftest.$ac_ext
4078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4079 rm -f conftest.i conftest.err conftest.$ac_ext
4080 if $ac_preproc_ok; then :
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4093 $as_echo "$CPP" >&6; }
4095 for ac_c_preproc_warn_flag in '' yes
4097 # Use a header file that comes with gcc, so configuring glibc
4098 # with a fresh cross-compiler works.
4099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4100 # <limits.h> exists even on freestanding compilers.
4101 # On the NeXT, cc -E runs the code through the compiler's parser,
4102 # not just through cpp. "Syntax error" is here to catch this case.
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4106 # include <limits.h>
4108 # include <assert.h>
4112 if ac_fn_c_try_cpp "$LINENO"; then :
4115 # Broken: fails on valid input.
4118 rm -f conftest.err conftest.i conftest.$ac_ext
4120 # OK, works on sane cases. Now check whether nonexistent headers
4121 # can be detected and how.
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124 #include <ac_nonexistent.h>
4126 if ac_fn_c_try_cpp "$LINENO"; then :
4127 # Broken: success on invalid input.
4130 # Passes both tests.
4134 rm -f conftest.err conftest.i conftest.$ac_ext
4137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4138 rm -f conftest.i conftest.err conftest.$ac_ext
4139 if $ac_preproc_ok; then :
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4145 See \`config.log' for more details" "$LINENO" 5; }
4149 ac_cpp='$CPP $CPPFLAGS'
4150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155 # Look for a good sed
4156 # AC_PROG_SED was introduced in Autoconf 2.59b
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4158 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4159 if ${ac_cv_path_SED+:} false; then :
4160 $as_echo_n "(cached) " >&6
4162 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4163 for ac_i in 1 2 3 4 5 6 7; do
4164 ac_script="$ac_script$as_nl$ac_script"
4166 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4167 { ac_script=; unset ac_script;}
4168 if test -z "$SED"; then
4169 ac_path_SED_found=false
4170 # Loop through the user's path and test for each of PROGNAME-LIST
4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir=.
4176 for ac_prog in sed gsed; do
4177 for ac_exec_ext in '' $ac_executable_extensions; do
4178 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4179 as_fn_executable_p "$ac_path_SED" || continue
4180 # Check for GNU ac_path_SED and select it if it is found.
4181 # Check for GNU $ac_path_SED
4182 case `"$ac_path_SED" --version 2>&1` in
4184 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4187 $as_echo_n 0123456789 >"conftest.in"
4190 cat "conftest.in" "conftest.in" >"conftest.tmp"
4191 mv "conftest.tmp" "conftest.in"
4192 cp "conftest.in" "conftest.nl"
4193 $as_echo '' >> "conftest.nl"
4194 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4195 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4196 as_fn_arith $ac_count + 1 && ac_count=$as_val
4197 if test $ac_count -gt ${ac_path_SED_max-0}; then
4198 # Best one so far, save it but keep looking for a better one
4199 ac_cv_path_SED="$ac_path_SED"
4200 ac_path_SED_max=$ac_count
4202 # 10*(2^10) chars as input seems more than enough
4203 test $ac_count -gt 10 && break
4205 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4208 $ac_path_SED_found && break 3
4213 if test -z "$ac_cv_path_SED"; then
4214 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4222 $as_echo "$ac_cv_path_SED" >&6; }
4223 SED="$ac_cv_path_SED"
4227 # Grab target_cpu, so we can use it in the Solaris pkginfo file
4228 # Make sure we can run config.sub.
4229 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4230 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4233 $as_echo_n "checking build system type... " >&6; }
4234 if ${ac_cv_build+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 ac_build_alias=$build_alias
4238 test "x$ac_build_alias" = x &&
4239 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4240 test "x$ac_build_alias" = x &&
4241 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4242 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4243 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4247 $as_echo "$ac_cv_build" >&6; }
4248 case $ac_cv_build in
4250 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4253 ac_save_IFS=$IFS; IFS='-'
4259 # Remember, the first character of IFS is used to create $*,
4260 # except with old shells:
4263 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4267 $as_echo_n "checking host system type... " >&6; }
4268 if ${ac_cv_host+:} false; then :
4269 $as_echo_n "(cached) " >&6
4271 if test "x$host_alias" = x; then
4272 ac_cv_host=$ac_cv_build
4274 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4275 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4280 $as_echo "$ac_cv_host" >&6; }
4283 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4286 ac_save_IFS=$IFS; IFS='-'
4292 # Remember, the first character of IFS is used to create $*,
4293 # except with old shells:
4296 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4300 $as_echo_n "checking target system type... " >&6; }
4301 if ${ac_cv_target+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 if test "x$target_alias" = x; then
4305 ac_cv_target=$ac_cv_host
4307 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4308 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4313 $as_echo "$ac_cv_target" >&6; }
4314 case $ac_cv_target in
4316 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
4318 target=$ac_cv_target
4319 ac_save_IFS=$IFS; IFS='-'
4325 # Remember, the first character of IFS is used to create $*,
4326 # except with old shells:
4329 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4332 # The aliases save the names the user supplied, while $host etc.
4333 # will get canonicalized.
4334 test -n "$target_alias" &&
4335 test "$program_prefix$program_suffix$program_transform_name" = \
4337 program_prefix=${target_alias}-
4339 # Look for an extended grep
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4341 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4342 if ${ac_cv_path_GREP+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -z "$GREP"; then
4346 ac_path_GREP_found=false
4347 # Loop through the user's path and test for each of PROGNAME-LIST
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4352 test -z "$as_dir" && as_dir=.
4353 for ac_prog in grep ggrep; do
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4356 as_fn_executable_p "$ac_path_GREP" || continue
4357 # Check for GNU ac_path_GREP and select it if it is found.
4358 # Check for GNU $ac_path_GREP
4359 case `"$ac_path_GREP" --version 2>&1` in
4361 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4364 $as_echo_n 0123456789 >"conftest.in"
4367 cat "conftest.in" "conftest.in" >"conftest.tmp"
4368 mv "conftest.tmp" "conftest.in"
4369 cp "conftest.in" "conftest.nl"
4370 $as_echo 'GREP' >> "conftest.nl"
4371 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4373 as_fn_arith $ac_count + 1 && ac_count=$as_val
4374 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4375 # Best one so far, save it but keep looking for a better one
4376 ac_cv_path_GREP="$ac_path_GREP"
4377 ac_path_GREP_max=$ac_count
4379 # 10*(2^10) chars as input seems more than enough
4380 test $ac_count -gt 10 && break
4382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4385 $ac_path_GREP_found && break 3
4390 if test -z "$ac_cv_path_GREP"; then
4391 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4394 ac_cv_path_GREP=$GREP
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4399 $as_echo "$ac_cv_path_GREP" >&6; }
4400 GREP="$ac_cv_path_GREP"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4404 $as_echo_n "checking for egrep... " >&6; }
4405 if ${ac_cv_path_EGREP+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4409 then ac_cv_path_EGREP="$GREP -E"
4411 if test -z "$EGREP"; then
4412 ac_path_EGREP_found=false
4413 # Loop through the user's path and test for each of PROGNAME-LIST
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4418 test -z "$as_dir" && as_dir=.
4419 for ac_prog in egrep; do
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4422 as_fn_executable_p "$ac_path_EGREP" || continue
4423 # Check for GNU ac_path_EGREP and select it if it is found.
4424 # Check for GNU $ac_path_EGREP
4425 case `"$ac_path_EGREP" --version 2>&1` in
4427 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4430 $as_echo_n 0123456789 >"conftest.in"
4433 cat "conftest.in" "conftest.in" >"conftest.tmp"
4434 mv "conftest.tmp" "conftest.in"
4435 cp "conftest.in" "conftest.nl"
4436 $as_echo 'EGREP' >> "conftest.nl"
4437 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439 as_fn_arith $ac_count + 1 && ac_count=$as_val
4440 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4441 # Best one so far, save it but keep looking for a better one
4442 ac_cv_path_EGREP="$ac_path_EGREP"
4443 ac_path_EGREP_max=$ac_count
4445 # 10*(2^10) chars as input seems more than enough
4446 test $ac_count -gt 10 && break
4448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4451 $ac_path_EGREP_found && break 3
4456 if test -z "$ac_cv_path_EGREP"; then
4457 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4460 ac_cv_path_EGREP=$EGREP
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4466 $as_echo "$ac_cv_path_EGREP" >&6; }
4467 EGREP="$ac_cv_path_EGREP"
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4472 $as_echo_n "checking whether ln -s works... " >&6; }
4474 if test "$LN_S" = "ln -s"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4476 $as_echo "yes" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4479 $as_echo "no, using $LN_S" >&6; }
4483 # Find a good install program. We prefer a C program (faster),
4484 # so one script is as good as another. But avoid the broken or
4485 # incompatible versions:
4486 # SysV /etc/install, /usr/sbin/install
4487 # SunOS /usr/etc/install
4488 # IRIX /sbin/install
4490 # AmigaOS /C/install, which installs bootblocks on floppy discs
4491 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4492 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4493 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4494 # OS/2's system install, which has a completely different semantic
4495 # ./install, which can be erroneously created by make from ./install.sh.
4496 # Reject install programs that cannot install multiple files.
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4498 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4499 if test -z "$INSTALL"; then
4500 if ${ac_cv_path_install+:} false; then :
4501 $as_echo_n "(cached) " >&6
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 # Account for people who put trailing slashes in PATH elements.
4509 case $as_dir/ in #((
4510 ./ | .// | /[cC]/* | \
4511 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4512 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4515 # OSF1 and SCO ODT 3.0 have their own names for install.
4516 # Don't use installbsd from OSF since it installs stuff as root
4518 for ac_prog in ginstall scoinst install; do
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4521 if test $ac_prog = install &&
4522 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4523 # AIX install. It has an incompatible calling convention.
4525 elif test $ac_prog = install &&
4526 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4527 # program-specific install script used by HP pwplus--don't use.
4530 rm -rf conftest.one conftest.two conftest.dir
4531 echo one > conftest.one
4532 echo two > conftest.two
4534 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4535 test -s conftest.one && test -s conftest.two &&
4536 test -s conftest.dir/conftest.one &&
4537 test -s conftest.dir/conftest.two
4539 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4552 rm -rf conftest.one conftest.two conftest.dir
4555 if test "${ac_cv_path_install+set}" = set; then
4556 INSTALL=$ac_cv_path_install
4558 # As a last resort, use the slow shell script. Don't cache a
4559 # value for INSTALL within a source directory, because that will
4560 # break other packages using the cache if that directory is
4561 # removed, or if the value is a relative name.
4562 INSTALL=$ac_install_sh
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4566 $as_echo "$INSTALL" >&6; }
4568 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4569 # It thinks the first close brace ends the variable substitution.
4570 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4572 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4574 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4576 # If $INSTALL is relative path to our fallback install-sh, then convert
4577 # to an absolute path, as in some cases (e.g. Solaris VPATH build), libtool
4578 # may try to use it from a changed working directory.
4579 if test "$INSTALL" = "build/install-sh -c"; then
4580 INSTALL="$abs_srcdir/$INSTALL"
4583 if test -z "$MKDIR"; then
4588 # ==== Libraries, for which we may have source to build ======================
4591 APR_VER_REGEXES="0\.9\.[7-9] 0\.9\.[12][0-9] 1\. 2\."
4594 APR_WANTED_REGEXES="$APR_VER_REGEXES"
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime (APR) library configuration" >&5
4597 $as_echo "$as_me: Apache Portable Runtime (APR) library configuration" >&6;}
4602 if test "$ac_cv_emxos2" = "yes"; then
4603 # Scripts don't pass test -x on OS/2
4609 acceptable_majors="1 0"
4611 apr_temp_acceptable_apr_config=""
4612 for apr_temp_major in $acceptable_majors
4614 case $apr_temp_major in
4616 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
4619 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
4625 $as_echo_n "checking for APR... " >&6; }
4627 # Check whether --with-apr was given.
4628 if test "${with_apr+set}" = set; then :
4630 if test "$withval" = "no" || test "$withval" = "yes"; then
4631 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
4634 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4636 for lookdir in "$withval/bin" "$withval"
4638 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
4640 apr_config="$lookdir/$apr_temp_apr_config_file"
4646 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4648 apr_config="$withval"
4651 if test "$apr_found" != "yes"; then
4652 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
4657 if test -d """"; then
4658 apr_temp_abs_srcdir="`cd "" && pwd`"
4659 apr_found="reconfig"
4660 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apr_version.h\"`"
4661 case $apr_bundled_major in
4663 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
4666 apr_temp_apr_config_file="apr-config"
4669 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
4672 if test -n """"; then
4673 apr_config="""/$apr_temp_apr_config_file"
4675 apr_config="""/$apr_temp_apr_config_file"
4678 if test "$apr_found" = "no" && test -n "1" && test "1" = "1"; then
4679 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4681 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
4683 apr_config="$apr_temp_apr_config_file"
4686 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
4687 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
4689 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
4701 $as_echo "$apr_found" >&6; }
4704 if test $apr_found = "no"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR not found" >&5
4706 $as_echo "$as_me: WARNING: APR not found" >&2;}
4708 echo "The Apache Portable Runtime (APR) library cannot be found."
4709 echo "Please install APR on this system and configure Subversion"
4710 echo "with the appropriate --with-apr option."
4712 echo "You probably need to do something similar with the Apache"
4713 echo "Portable Runtime Utility (APRUTIL) library and then configure"
4714 echo "Subversion with both the --with-apr and --with-apr-util options."
4716 as_fn_error $? "no suitable APR found" "$LINENO" 5
4720 if test $apr_found = "reconfig"; then
4721 as_fn_error $? "Unexpected APR reconfig" "$LINENO" 5
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APR version" >&5
4726 $as_echo_n "checking APR version... " >&6; }
4727 apr_version="`$apr_config --version`"
4728 if test $? -ne 0; then
4729 as_fn_error $? "apr-config --version failed" "$LINENO" 5
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_version" >&5
4732 $as_echo "$apr_version" >&6; }
4734 APR_WANTED_REGEX_MATCH=0
4735 for apr_wanted_regex in $APR_WANTED_REGEXES; do
4736 if test `expr $apr_version : $apr_wanted_regex` -ne 0; then
4737 APR_WANTED_REGEX_MATCH=1
4742 if test $APR_WANTED_REGEX_MATCH -eq 0; then
4743 echo "wanted regexes are $APR_WANTED_REGEXES"
4744 as_fn_error $? "invalid apr version found" "$LINENO" 5
4748 CPPFLAGS="$CPPFLAGS `$apr_config --cppflags`"
4749 if test $? -ne 0; then
4750 as_fn_error $? "apr-config --cppflags failed" "$LINENO" 5
4753 CFLAGS="$CFLAGS `$apr_config --cflags`"
4754 if test $? -ne 0; then
4755 as_fn_error $? "apr-config --cflags failed" "$LINENO" 5
4758 apr_ldflags="`$apr_config --ldflags`"
4759 if test $? -ne 0; then
4760 as_fn_error $? "apr-config --ldflags failed" "$LINENO" 5
4763 input_flags="$apr_ldflags"
4765 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4766 for flag in $input_flags; do
4768 for dir in $filtered_dirs; do
4769 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4774 if test "$filter" = "no"; then
4775 output_flags="$output_flags $flag"
4778 if test -n "$output_flags"; then
4779 printf "%s" "${output_flags# }"
4783 SVN_APR_INCLUDES="`$apr_config --includes`"
4784 if test $? -ne 0; then
4785 as_fn_error $? "apr-config --includes failed" "$LINENO" 5
4788 if test "$enable_all_static" = "yes"; then
4789 SVN_APR_LIBS="`$apr_config --link-ld --libs`"
4790 if test $? -ne 0; then
4791 as_fn_error $? "apr-config --link-ld --libs failed" "$LINENO" 5
4794 SVN_APR_LIBS="`$apr_config --link-ld`"
4795 if test $? -ne 0; then
4796 as_fn_error $? "apr-config --link-ld failed" "$LINENO" 5
4800 input_flags="$SVN_APR_LIBS"
4802 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4803 for flag in $input_flags; do
4805 for dir in $filtered_dirs; do
4806 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4811 if test "$filter" = "no"; then
4812 output_flags="$output_flags $flag"
4815 if test -n "$output_flags"; then
4816 printf "%s" "${output_flags# }"
4820 SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`"
4821 if test $? -ne 0; then
4822 as_fn_error $? "apr-config --shlib-path-var failed" "$LINENO" 5
4825 SVN_APR_CONFIG="$apr_config"
4832 if test `expr $apr_version : 2` -ne 0; then
4834 apu_config=$apr_config
4836 SVN_APRUTIL_CONFIG="$apu_config"
4841 APU_VER_REGEXES="0\.9\.[7-9] 0\.9\.1[0-9] 1\."
4843 APRUTIL_WANTED_REGEXES="$APU_VER_REGEXES"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime Utility (APRUTIL) library configuration" >&5
4846 $as_echo "$as_me: Apache Portable Runtime Utility (APRUTIL) library configuration" >&6;}
4851 if test "$ac_cv_emxos2" = "yes"; then
4852 # Scripts don't pass test -x on OS/2
4858 acceptable_majors="1 0"
4860 apu_temp_acceptable_apu_config=""
4861 for apu_temp_major in $acceptable_majors
4863 case $apu_temp_major in
4865 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
4868 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR-util" >&5
4874 $as_echo_n "checking for APR-util... " >&6; }
4876 # Check whether --with-apr-util was given.
4877 if test "${with_apr_util+set}" = set; then :
4878 withval=$with_apr_util;
4879 if test "$withval" = "no" || test "$withval" = "yes"; then
4880 as_fn_error $? "--with-apr-util requires a directory or file to be provided" "$LINENO" 5
4883 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
4885 for lookdir in "$withval/bin" "$withval"
4887 if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
4889 apu_config="$lookdir/$apu_temp_apu_config_file"
4895 if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4897 apu_config="$withval"
4900 if test "$apu_found" != "yes"; then
4901 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
4906 if test -d """"; then
4907 apu_temp_abs_srcdir="`cd "" && pwd`"
4908 apu_found="reconfig"
4909 apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apu_version.h\"`"
4910 case $apu_bundled_major in
4912 as_fn_error $? "failed to find major version of bundled APU" "$LINENO" 5
4915 apu_temp_apu_config_file="apu-config"
4918 apu_temp_apu_config_file="apu-$apu_bundled_major-config"
4921 if test -n """"; then
4922 apu_config="""/$apu_temp_apu_config_file"
4924 apu_config="""/$apu_temp_apu_config_file"
4927 if test "$apu_found" = "no" && test -n "1" && test "1" = "1"; then
4928 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
4930 if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
4932 apu_config="$apu_temp_apu_config_file"
4935 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
4936 if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
4938 apu_config="$lookdir/bin/$apu_temp_apu_config_file"
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_found" >&5
4950 $as_echo "$apu_found" >&6; }
4953 if test $apu_found = "no"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APRUTIL not found" >&5
4955 $as_echo "$as_me: WARNING: APRUTIL not found" >&2;}
4957 echo "The Apache Portable Runtime Utility (APRUTIL) library cannot be found."
4958 echo "Install APRUTIL on this system and configure Subversion with the"
4959 echo " appropriate --with-apr-util option."
4961 as_fn_error $? "no suitable APRUTIL found" "$LINENO" 5
4965 if test $apu_found = "reconfig"; then
4966 as_fn_error $? "Unexpected APRUTIL reconfig" "$LINENO" 5
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APRUTIL version" >&5
4971 $as_echo_n "checking APRUTIL version... " >&6; }
4972 apu_version="`$apu_config --version`"
4973 if test $? -ne 0; then
4974 # This is a hack as suggested by Ben Collins-Sussman. It can be
4975 # removed after apache 2.0.44 has been released. (The apu-config
4976 # shipped in 2.0.43 contains a correct version number, but
4977 # stupidly doesn't understand the --version switch.)
4978 apu_version=`grep "APRUTIL_DOTTED_VERSION=" $(which $apu_config) | tr -d "APRUTIL_DOTTED_VERSION="| tr -d '"'`
4980 # apu-config --version failed.
4981 # Your apu-config doesn't support the --version switch, please upgrade
4982 # to APR-UTIL more recent than 2002-Nov-05.])
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_version" >&5
4985 $as_echo "$apu_version" >&6; }
4987 APU_WANTED_REGEX_MATCH=0
4988 for apu_wanted_regex in $APRUTIL_WANTED_REGEXES; do
4989 if test `expr $apu_version : $apu_wanted_regex` -ne 0; then
4990 APU_WANTED_REGEX_MATCH=1
4995 if test $APU_WANTED_REGEX_MATCH -eq 0; then
4996 echo "wanted regexes are $APRUTIL_WANTED_REGEXES"
4997 as_fn_error $? "invalid APRUTIL version found" "$LINENO" 5
5001 apu_ldflags="`$apu_config --ldflags`"
5002 if test $? -ne 0; then
5003 as_fn_error $? "apu-config --ldflags failed" "$LINENO" 5
5006 input_flags="$apu_ldflags"
5008 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5009 for flag in $input_flags; do
5011 for dir in $filtered_dirs; do
5012 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5017 if test "$filter" = "no"; then
5018 output_flags="$output_flags $flag"
5021 if test -n "$output_flags"; then
5022 printf "%s" "${output_flags# }"
5026 SVN_APRUTIL_INCLUDES="`$apu_config --includes`"
5027 if test $? -ne 0; then
5028 as_fn_error $? "apu-config --includes failed" "$LINENO" 5
5031 if test "$enable_all_static" = "yes"; then
5032 SVN_APRUTIL_LIBS="`$apu_config --link-ld --libs`"
5033 if test $? -ne 0; then
5034 as_fn_error $? "apu-config --link-ld --libs failed" "$LINENO" 5
5037 SVN_APRUTIL_LIBS="`$apu_config --link-ld`"
5038 if test $? -ne 0; then
5039 as_fn_error $? "apu-config --link-ld failed" "$LINENO" 5
5043 input_flags="$SVN_APRUTIL_LIBS"
5045 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5046 for flag in $input_flags; do
5048 for dir in $filtered_dirs; do
5049 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5054 if test "$filter" = "no"; then
5055 output_flags="$output_flags $flag"
5058 if test -n "$output_flags"; then
5059 printf "%s" "${output_flags# }"
5064 SVN_APRUTIL_CONFIG="$apu_config"
5068 SVN_HAVE_OLD_EXPAT="`$apu_config --old-expat`"
5069 if test "$SVN_HAVE_OLD_EXPAT" = "yes"; then
5071 $as_echo "#define SVN_HAVE_OLD_EXPAT 1" >>confdefs.h
5076 SVN_LT_SOVERSION="-version-info $svn_lib_ver"
5079 cat >>confdefs.h <<_ACEOF
5080 #define SVN_SOVERSION $svn_lib_ver
5084 # Extract the first word of "pkg-config", so it can be a program name with args.
5085 set dummy pkg-config; ac_word=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5089 $as_echo_n "(cached) " >&6
5093 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5103 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5115 if test -n "$PKG_CONFIG"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5117 $as_echo "$PKG_CONFIG" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5127 $as_echo_n "checking for ANSI C header files... " >&6; }
5128 if ${ac_cv_header_stdc+:} false; then :
5129 $as_echo_n "(cached) " >&6
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5146 if ac_fn_c_try_compile "$LINENO"; then :
5147 ac_cv_header_stdc=yes
5149 ac_cv_header_stdc=no
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5153 if test $ac_cv_header_stdc = yes; then
5154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5161 $EGREP "memchr" >/dev/null 2>&1; then :
5164 ac_cv_header_stdc=no
5170 if test $ac_cv_header_stdc = yes; then
5171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5178 $EGREP "free" >/dev/null 2>&1; then :
5181 ac_cv_header_stdc=no
5187 if test $ac_cv_header_stdc = yes; then
5188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5189 if test "$cross_compiling" = yes; then :
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5196 #if ((' ' & 0x0FF) == 0x020)
5197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5200 # define ISLOWER(c) \
5201 (('a' <= (c) && (c) <= 'i') \
5202 || ('j' <= (c) && (c) <= 'r') \
5203 || ('s' <= (c) && (c) <= 'z'))
5204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5212 for (i = 0; i < 256; i++)
5213 if (XOR (islower (i), ISLOWER (i))
5214 || toupper (i) != TOUPPER (i))
5219 if ac_fn_c_try_run "$LINENO"; then :
5222 ac_cv_header_stdc=no
5224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5225 conftest.$ac_objext conftest.beam conftest.$ac_ext
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5231 $as_echo "$ac_cv_header_stdc" >&6; }
5232 if test $ac_cv_header_stdc = yes; then
5234 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5238 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5239 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5240 inttypes.h stdint.h unistd.h
5242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5245 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5246 cat >>confdefs.h <<_ACEOF
5247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5260 serf_check_major="1"
5261 serf_check_minor="2"
5262 serf_check_patch="1"
5263 serf_check_version="1.2.1"
5266 # Check whether --with-serf was given.
5267 if test "${with_serf+set}" = set; then :
5269 if test "$withval" = "yes" ; then
5271 elif test "$withval" = "no" ; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via prefix" >&5
5276 $as_echo "$as_me: serf library configuration via prefix" >&6;}
5278 serf_prefix=$withval
5279 for serf_major in serf-2 serf-1; do
5280 if ! test -d $serf_prefix/include/$serf_major; then continue; fi
5281 save_cppflags="$CPPFLAGS"
5282 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$serf_prefix/include/$serf_major"
5283 for ac_header in serf.h
5285 ac_fn_c_check_header_mongrel "$LINENO" "serf.h" "ac_cv_header_serf_h" "$ac_includes_default"
5286 if test "x$ac_cv_header_serf_h" = xyes; then :
5287 cat >>confdefs.h <<_ACEOF
5288 #define HAVE_SERF_H 1
5291 save_ldflags="$LDFLAGS"
5293 input_flags="-L$serf_prefix/lib"
5295 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5296 for flag in $input_flags; do
5298 for dir in $filtered_dirs; do
5299 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5304 if test "$filter" = "no"; then
5305 output_flags="$output_flags $flag"
5308 if test -n "$output_flags"; then
5309 printf "%s" "${output_flags# }"
5312 as_ac_Lib=`$as_echo "ac_cv_lib_$serf_major''_serf_context_create" | $as_tr_sh`
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serf_context_create in -l$serf_major" >&5
5314 $as_echo_n "checking for serf_context_create in -l$serf_major... " >&6; }
5315 if eval \${$as_ac_Lib+:} false; then :
5316 $as_echo_n "(cached) " >&6
5318 ac_check_lib_save_LIBS=$LIBS
5319 LIBS="-l$serf_major $SVN_APRUTIL_LIBS $SVN_APR_LIBS -lz $LIBS"
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 /* Override any GCC internal prototype to avoid an error.
5324 Use char because int might match the return type of a GCC
5325 builtin and then its argument prototype would still apply. */
5329 char serf_context_create ();
5333 return serf_context_create ();
5338 if ac_fn_c_try_link "$LINENO"; then :
5339 eval "$as_ac_Lib=yes"
5341 eval "$as_ac_Lib=no"
5343 rm -f core conftest.err conftest.$ac_objext \
5344 conftest$ac_exeext conftest.$ac_ext
5345 LIBS=$ac_check_lib_save_LIBS
5347 eval ac_res=\$$as_ac_Lib
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5349 $as_echo "$ac_res" >&6; }
5350 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5362 #if ! SERF_VERSION_AT_LEAST($serf_check_major, $serf_check_minor, $serf_check_patch)
5363 #error Serf version too old: need $serf_check_version
5370 if ac_fn_c_try_compile "$LINENO"; then :
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5374 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 LDFLAGS="$save_ldflags"
5385 CPPFLAGS="$save_cppflags"
5386 test $serf_found = yes && break
5389 if test $serf_found = "yes"; then
5390 SVN_SERF_INCLUDES="-I$serf_prefix/include/$serf_major"
5391 if test -e "$serf_prefix/lib/lib$serf_major.la"; then
5392 SVN_SERF_LIBS="$serf_prefix/lib/lib$serf_major.la"
5394 SVN_SERF_LIBS="-l$serf_major"
5396 input_flags="-L$serf_prefix/lib"
5398 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5399 for flag in $input_flags; do
5401 for dir in $filtered_dirs; do
5402 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5407 if test "$filter" = "no"; then
5408 output_flags="$output_flags $flag"
5411 if test -n "$output_flags"; then
5412 printf "%s" "${output_flags# }"
5423 if test "$serf_skip" = "no" ; then
5424 if test "$serf_found" = "no" ; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
5427 $as_echo "$as_me: serf library configuration via pkg-config" >&6;}
5428 if test -n "$PKG_CONFIG"; then
5429 for serf_major in serf-2 serf-1; do
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
5431 $as_echo_n "checking for $serf_major library... " >&6; }
5432 if $PKG_CONFIG $serf_major --exists; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5434 $as_echo "yes" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
5436 $as_echo_n "checking serf library version... " >&6; }
5437 SERF_VERSION=`$PKG_CONFIG $serf_major --modversion`
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
5439 $as_echo "$SERF_VERSION" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
5441 $as_echo_n "checking serf version is suitable... " >&6; }
5442 if $PKG_CONFIG $serf_major --atleast-version=$serf_check_version; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5444 $as_echo "yes" >&6; }
5446 SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_major --cflags | $SED -e 's/-D[^ ]*//g'`
5447 SVN_SERF_LIBS=`$PKG_CONFIG $serf_major --libs`
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5453 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking was serf enabled" >&5
5465 $as_echo_n "checking was serf enabled... " >&6; }
5466 if test "$serf_found" = "yes"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5474 echo "An appropriate version of serf could not be found, so libsvn_ra_serf"
5475 echo "will not be built. If you want to build libsvn_ra_serf, please"
5476 echo "install serf $serf_check_version or newer."
5479 if test "$serf_required" = "yes"; then
5480 as_fn_error $? "Serf was explicitly enabled but an appropriate version was not found." "$LINENO" 5
5485 svn_lib_serf=$serf_found
5491 if test "$svn_lib_serf" = "yes"; then
5493 $as_echo "#define SVN_HAVE_SERF 1" >>confdefs.h
5498 apr_memcache_found=no
5501 # Check whether --with-apr_memcache was given.
5502 if test "${with_apr_memcache+set}" = set; then :
5503 withval=$with_apr_memcache;
5504 if test "$withval" = "yes" ; then
5505 as_fn_error $? "--with-apr_memcache requires an argument." "$LINENO" 5
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for separate apr_memcache package" >&5
5508 $as_echo "$as_me: looking for separate apr_memcache package" >&6;}
5509 apr_memcache_prefix=$withval
5510 save_cppflags="$CPPFLAGS"
5511 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$apr_memcache_prefix/include/apr_memcache-0"
5512 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5513 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5515 save_ldflags="$LDFLAGS"
5516 LDFLAGS="$LDFLAGS -L$apr_memcache_prefix/lib"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -lapr_memcache" >&5
5518 $as_echo_n "checking for apr_memcache_create in -lapr_memcache... " >&6; }
5519 if ${ac_cv_lib_apr_memcache_apr_memcache_create+:} false; then :
5520 $as_echo_n "(cached) " >&6
5522 ac_check_lib_save_LIBS=$LIBS
5523 LIBS="-lapr_memcache $LIBS"
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5527 /* Override any GCC internal prototype to avoid an error.
5528 Use char because int might match the return type of a GCC
5529 builtin and then its argument prototype would still apply. */
5533 char apr_memcache_create ();
5537 return apr_memcache_create ();
5542 if ac_fn_c_try_link "$LINENO"; then :
5543 ac_cv_lib_apr_memcache_apr_memcache_create=yes
5545 ac_cv_lib_apr_memcache_apr_memcache_create=no
5547 rm -f core conftest.err conftest.$ac_objext \
5548 conftest$ac_exeext conftest.$ac_ext
5549 LIBS=$ac_check_lib_save_LIBS
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
5552 $as_echo "$ac_cv_lib_apr_memcache_apr_memcache_create" >&6; }
5553 if test "x$ac_cv_lib_apr_memcache_apr_memcache_create" = xyes; then :
5554 apr_memcache_found="standalone"
5557 LDFLAGS="$save_ldflags"
5561 CPPFLAGS="$save_cppflags"
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for apr_memcache as part of apr-util" >&5
5567 $as_echo "$as_me: looking for apr_memcache as part of apr-util" >&6;}
5568 save_cppflags="$CPPFLAGS"
5569 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES"
5570 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5571 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5573 save_ldflags="$LDFLAGS"
5574 LDFLAGS="$LDFLAGS $SVN_APRUTIL_LIBS"
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -laprutil-1" >&5
5576 $as_echo_n "checking for apr_memcache_create in -laprutil-1... " >&6; }
5577 if ${ac_cv_lib_aprutil_1_apr_memcache_create+:} false; then :
5578 $as_echo_n "(cached) " >&6
5580 ac_check_lib_save_LIBS=$LIBS
5581 LIBS="-laprutil-1 $LIBS"
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5585 /* Override any GCC internal prototype to avoid an error.
5586 Use char because int might match the return type of a GCC
5587 builtin and then its argument prototype would still apply. */
5591 char apr_memcache_create ();
5595 return apr_memcache_create ();
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 ac_cv_lib_aprutil_1_apr_memcache_create=yes
5603 ac_cv_lib_aprutil_1_apr_memcache_create=no
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5607 LIBS=$ac_check_lib_save_LIBS
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aprutil_1_apr_memcache_create" >&5
5610 $as_echo "$ac_cv_lib_aprutil_1_apr_memcache_create" >&6; }
5611 if test "x$ac_cv_lib_aprutil_1_apr_memcache_create" = xyes; then :
5612 apr_memcache_found="aprutil"
5615 LDFLAGS="$save_ldflags"
5619 CPPFLAGS="$save_cppflags"
5625 if test $apr_memcache_found = "standalone"; then
5626 SVN_APR_MEMCACHE_INCLUDES="-I$apr_memcache_prefix/include/apr_memcache-0"
5627 SVN_APR_MEMCACHE_LIBS="$apr_memcache_prefix/lib/libapr_memcache.la"
5628 svn_lib_apr_memcache=yes
5629 elif test $apr_memcache_found = "aprutil"; then
5630 SVN_APR_MEMCACHE_INCLUDES=""
5631 SVN_APR_MEMCACHE_LIBS=""
5632 svn_lib_apr_memcache=yes
5633 elif test $apr_memcache_found = "reconfig"; then
5634 svn_lib_apr_memcache=yes
5636 svn_lib_apr_memcache=no
5643 if test "$svn_lib_apr_memcache" = "yes"; then
5645 $as_echo "#define SVN_HAVE_MEMCACHE 1" >>confdefs.h
5653 HTTPD_WANTED_MMN="20020903"
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5
5656 $as_echo_n "checking for Apache module support via DSO through APXS... " >&6; }
5658 # Check whether --with-apxs was given.
5659 if test "${with_apxs+set}" = set; then :
5661 if test "$withval" = "yes"; then
5671 if test -z "$APXS"; then
5672 for i in /usr/sbin /usr/local/apache/bin /usr/local/apache2/bin /usr/bin ; do
5673 if test -f "$i/apxs2"; then
5677 if test -f "$i/apxs"; then
5684 if test -n "$APXS" && test "$APXS" != "no"; then
5685 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
5686 if test -r $APXS_INCLUDE/mod_dav.h; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $APXS" >&5
5688 $as_echo "found at $APXS" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking httpd version" >&5
5691 $as_echo_n "checking httpd version... " >&6; }
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5695 #include "$APXS_INCLUDE/ap_mmn.h"
5696 #if AP_MODULE_MAGIC_AT_LEAST($HTTPD_WANTED_MMN,0)
5700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5701 $EGREP "VERSION_OKAY" >/dev/null 2>&1; then :
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recent enough" >&5
5703 $as_echo "recent enough" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&5
5706 $as_echo "apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&6; }
5707 if test "$APXS_EXPLICIT" != ""; then
5708 as_fn_error $? "Apache APXS build explicitly requested, but apache version is too old" "$LINENO" 5
5716 elif test "$APXS_EXPLICIT" != ""; then
5717 as_fn_error $? "no - APXS refers to an old version of Apache
5718 Unable to locate $APXS_INCLUDE/mod_dav.h" "$LINENO" 5
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&5
5721 $as_echo "no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5729 if test -n "$APXS" && test "$APXS" != "no"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Apache version is compatible with APR version" >&5
5731 $as_echo_n "checking whether Apache version is compatible with APR version... " >&6; }
5732 apr_major_version="${apr_version%%.*}"
5733 case "$apr_major_version" in
5735 apache_minor_version_wanted_regex="0"
5738 apache_minor_version_wanted_regex="[1-5]"
5741 apache_minor_version_wanted_regex="[3-5]"
5744 as_fn_error $? "unknown APR version" "$LINENO" 5
5747 old_CPPFLAGS="$CPPFLAGS"
5748 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5752 #include "$APXS_INCLUDE/ap_release.h"
5753 apache_minor_version=AP_SERVER_MINORVERSION
5755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5756 $EGREP "apache_minor_version= *\"$apache_minor_version_wanted_regex\"" >/dev/null 2>&1; then :
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5758 $as_echo "yes" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5762 as_fn_error $? "Apache version incompatible with APR version" "$LINENO" 5
5766 CPPFLAGS="$old_CPPFLAGS"
5769 # check for some busted versions of mod_dav
5770 # in particular 2.2.25, 2.4.5, and 2.4.6 had the following bugs which are
5771 # troublesome for Subversion:
5772 # PR 55304: https://issues.apache.org/bugzilla/show_bug.cgi?id=55304
5773 # PR 55306: https://issues.apache.org/bugzilla/show_bug.cgi?id=55306
5774 # PR 55397: https://issues.apache.org/bugzilla/show_bug.cgi?id=55397
5775 if test -n "$APXS" && test "$APXS" != "no"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mod_dav version" >&5
5777 $as_echo_n "checking mod_dav version... " >&6; }
5778 old_CPPFLAGS="$CPPFLAGS"
5779 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
5780 blacklisted_versions_regex="\"2\" \"\.\" (\"2\" \"\.\" \"25\"|\"4\" \"\.\" \"[56]\")"
5781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5784 #include "$APXS_INCLUDE/ap_release.h"
5785 apache_version=AP_SERVER_BASEREVISION
5787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5788 $EGREP "apache_version= *$blacklisted_versions_regex" >/dev/null 2>&1; then :
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
5790 $as_echo "broken" >&6; }
5791 as_fn_error $? "Apache httpd version includes a broken mod_dav; use a newer version of httpd" "$LINENO" 5
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: acceptable" >&5
5794 $as_echo "acceptable" >&6; }
5798 CPPFLAGS="$old_CPPFLAGS"
5802 # Check whether --with-apache-libexecdir was given.
5803 if test "${with_apache_libexecdir+set}" = set; then :
5804 withval=$with_apache_libexecdir; APACHE_LIBEXECDIR="$withval"
5806 APACHE_LIBEXECDIR='no'
5810 INSTALL_APACHE_MODS=false
5811 if test -n "$APXS" && test "$APXS" != "no"; then
5812 APXS_CC="`$APXS -q CC`"
5813 APACHE_INCLUDES="$APACHE_INCLUDES -I$APXS_INCLUDE"
5815 if test "$APACHE_LIBEXECDIR" = 'no'; then
5816 APACHE_LIBEXECDIR="$libexecdir"
5817 elif test "$APACHE_LIBEXECDIR" = 'yes'; then
5818 APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5821 BUILD_APACHE_RULE=apache-mod
5822 INSTALL_APACHE_RULE=install-mods-shared
5823 INSTALL_APACHE_MODS=true
5824 HTTPD="`$APXS -q sbindir`/`$APXS -q PROGNAME`"
5825 if ! test -e $HTTPD ; then
5826 HTTPD="`$APXS -q bindir`/`$APXS -q PROGNAME`"
5828 HTTPD_VERSION="`$HTTPD -v | $SED -e 's@^.*/\([0-9.]*\)\(.*$\)@\1@ ; 1q'`"
5829 # Check whether --enable-broken-httpd-auth was given.
5830 if test "${enable_broken_httpd_auth+set}" = set; then :
5831 enableval=$enable_broken_httpd_auth; broken_httpd_auth=$enableval
5833 broken_httpd_auth=no
5836 if test "$enable_broken_httpd_auth" = "yes"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: Building with broken httpd auth" >&5
5838 $as_echo "$as_me: Building with broken httpd auth" >&6;}
5840 $as_echo "#define SVN_ALLOW_BROKEN_HTTPD_AUTH 1" >>confdefs.h
5846 APACHE_LDFLAGS="-shrext .so"
5849 elif test x"$APXS" != x"no"; then
5850 echo "=================================================================="
5851 echo "WARNING: skipping the build of mod_dav_svn"
5852 echo " try using --with-apxs"
5853 echo "=================================================================="
5863 # there aren't any flags that interest us ...
5864 #if test -n "$APXS" && test "$APXS" != "no"; then
5865 # CFLAGS="$CFLAGS `$APXS -q CFLAGS CFLAGS_SHLIB`"
5868 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
5869 echo "=================================================================="
5870 echo "WARNING: You have chosen to compile Subversion with a different"
5871 echo " compiler than the one used to compile Apache."
5873 echo " Current compiler: $CC"
5874 echo " Apache's compiler: $APXS_CC"
5876 echo "This could cause some problems."
5877 echo "=================================================================="
5882 SQLITE_MINIMUM_VER="3.7.12"
5883 SQLITE_RECOMMENDED_VER="3.7.15.1"
5884 SQLITE_URL="http://www.sqlite.org/sqlite-amalgamation-$(printf %d%02d%02d%02d $(echo ${SQLITE_RECOMMENDED_VER} | sed -e 's/\./ /g')).zip"
5887 SQLITE_MINIMUM_VER="${SQLITE_MINIMUM_VER}"
5888 SQLITE_RECOMMENDED_VER="${SQLITE_RECOMMENDED_VER}"
5889 SQLITE_URL="${SQLITE_URL}"
5890 SQLITE_PKGNAME="sqlite3"
5894 version_string="$SQLITE_MINIMUM_VER"
5896 major=`expr $version_string : '\([0-9]*\)'`
5897 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
5898 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
5899 if test -z "$micro"; then
5902 sqlite_min_ver_num=`expr $major \* 1000000 \
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library" >&5
5909 $as_echo "$as_me: checking sqlite library" >&6;}
5912 # Check whether --with-sqlite was given.
5913 if test "${with_sqlite+set}" = set; then :
5914 withval=$with_sqlite;
5915 if test "$withval" = "yes" ; then
5916 as_fn_error $? "--with-sqlite requires an argument." "$LINENO" 5
5918 sqlite_dir="$withval"
5921 if test -d $sqlite_dir; then
5923 if test -z "$sqlite_dir"; then
5925 sqlite_include="sqlite3.h"
5927 sqlite_dir="$sqlite_dir"
5928 sqlite_include="$sqlite_dir/include/sqlite3.h"
5931 save_CPPFLAGS="$CPPFLAGS"
5932 save_LDFLAGS="$LDFLAGS"
5934 if test ! -z "$sqlite_dir"; then
5935 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
5936 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
5939 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
5940 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
5943 $as_echo_n "checking sqlite library version (via header)... " >&6; }
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5947 #include "$sqlite_include"
5948 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
5952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5953 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
5955 $as_echo "okay" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
5957 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
5958 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
5959 $as_echo_n "(cached) " >&6
5961 ac_check_lib_save_LIBS=$LIBS
5962 LIBS="-lsqlite3 $LIBS"
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5966 /* Override any GCC internal prototype to avoid an error.
5967 Use char because int might match the return type of a GCC
5968 builtin and then its argument prototype would still apply. */
5972 char sqlite3_close ();
5976 return sqlite3_close ();
5981 if ac_fn_c_try_link "$LINENO"; then :
5982 ac_cv_lib_sqlite3_sqlite3_close=yes
5984 ac_cv_lib_sqlite3_sqlite3_close=no
5986 rm -f core conftest.err conftest.$ac_objext \
5987 conftest$ac_exeext conftest.$ac_ext
5988 LIBS=$ac_check_lib_save_LIBS
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
5991 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
5992 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
5994 svn_lib_sqlite="yes"
5995 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
5996 SVN_SQLITE_LIBS="-lsqlite3"
5998 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
6000 input_flags="-L$sqlite_dir/lib -lsqlite3"
6002 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
6003 for flag in $input_flags; do
6005 for dir in $filtered_dirs; do
6006 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
6011 if test "$filter" = "no"; then
6012 output_flags="$output_flags $flag"
6015 if test -n "$output_flags"; then
6016 printf "%s" "${output_flags# }"
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
6025 $as_echo "unsupported SQLite version" >&6; }
6034 CPPFLAGS="$save_CPPFLAGS"
6035 LDFLAGS="$save_LDFLAGS"
6039 sqlite_amalg="$sqlite_dir"
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6041 $as_echo_n "checking sqlite amalgamation... " >&6; }
6042 if test ! -e $sqlite_amalg; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6047 $as_echo "yes" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6049 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6053 #include "$sqlite_amalg"
6054 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6059 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6061 $as_echo "amalgamation found and is okay" >&6; }
6064 beos* | mingw* | pw32* | cegcc* | cygwin*)
6065 svn_sqlite_dso_ldflags=
6069 # if libdl is installed we need to link against it
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6071 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6072 if ${ac_cv_lib_dl_dlopen+:} false; then :
6073 $as_echo_n "(cached) " >&6
6075 ac_check_lib_save_LIBS=$LIBS
6077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6080 /* Override any GCC internal prototype to avoid an error.
6081 Use char because int might match the return type of a GCC
6082 builtin and then its argument prototype would still apply. */
6095 if ac_fn_c_try_link "$LINENO"; then :
6096 ac_cv_lib_dl_dlopen=yes
6098 ac_cv_lib_dl_dlopen=no
6100 rm -f core conftest.err conftest.$ac_objext \
6101 conftest$ac_exeext conftest.$ac_ext
6102 LIBS=$ac_check_lib_save_LIBS
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6105 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6106 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6107 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6110 svn_sqlite_dso_ldflags=
6117 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6118 if test "x$ac_cv_func_shl_load" = xyes; then :
6119 svn_sqlite_dso_ldflags=
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6122 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6123 if ${ac_cv_lib_dld_shl_load+:} false; then :
6124 $as_echo_n "(cached) " >&6
6126 ac_check_lib_save_LIBS=$LIBS
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6131 /* Override any GCC internal prototype to avoid an error.
6132 Use char because int might match the return type of a GCC
6133 builtin and then its argument prototype would still apply. */
6146 if ac_fn_c_try_link "$LINENO"; then :
6147 ac_cv_lib_dld_shl_load=yes
6149 ac_cv_lib_dld_shl_load=no
6151 rm -f core conftest.err conftest.$ac_objext \
6152 conftest$ac_exeext conftest.$ac_ext
6153 LIBS=$ac_check_lib_save_LIBS
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6156 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6157 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6158 svn_sqlite_dso_ldflags="-ldld"
6160 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6161 if test "x$ac_cv_func_dlopen" = xyes; then :
6162 svn_sqlite_dso_ldflags=
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6165 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6166 if ${ac_cv_lib_dl_dlopen+:} false; then :
6167 $as_echo_n "(cached) " >&6
6169 ac_check_lib_save_LIBS=$LIBS
6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6174 /* Override any GCC internal prototype to avoid an error.
6175 Use char because int might match the return type of a GCC
6176 builtin and then its argument prototype would still apply. */
6189 if ac_fn_c_try_link "$LINENO"; then :
6190 ac_cv_lib_dl_dlopen=yes
6192 ac_cv_lib_dl_dlopen=no
6194 rm -f core conftest.err conftest.$ac_objext \
6195 conftest$ac_exeext conftest.$ac_ext
6196 LIBS=$ac_check_lib_save_LIBS
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6199 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6200 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6201 svn_sqlite_dso_ldflags="-ldl"
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6204 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6205 if ${ac_cv_lib_svld_dlopen+:} false; then :
6206 $as_echo_n "(cached) " >&6
6208 ac_check_lib_save_LIBS=$LIBS
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6228 if ac_fn_c_try_link "$LINENO"; then :
6229 ac_cv_lib_svld_dlopen=yes
6231 ac_cv_lib_svld_dlopen=no
6233 rm -f core conftest.err conftest.$ac_objext \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6238 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6239 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6240 svn_sqlite_dso_ldflags="-lsvld"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6243 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6244 if ${ac_cv_lib_dld_dld_link+:} false; then :
6245 $as_echo_n "(cached) " >&6
6247 ac_check_lib_save_LIBS=$LIBS
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6252 /* Override any GCC internal prototype to avoid an error.
6253 Use char because int might match the return type of a GCC
6254 builtin and then its argument prototype would still apply. */
6267 if ac_fn_c_try_link "$LINENO"; then :
6268 ac_cv_lib_dld_dld_link=yes
6270 ac_cv_lib_dld_dld_link=no
6272 rm -f core conftest.err conftest.$ac_objext \
6273 conftest$ac_exeext conftest.$ac_ext
6274 LIBS=$ac_check_lib_save_LIBS
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6277 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6278 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6279 svn_sqlite_dso_ldflags="-ldld"
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6301 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6302 if test -n "$svn_sqlite_dso_ldflags"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6304 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6307 $as_echo "none" >&6; }
6311 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6313 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6314 if test -n "$svn_sqlite_dso_ldflags"; then
6315 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6317 SVN_SQLITE_LIBS="-lpthread"
6319 svn_lib_sqlite="yes"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6322 $as_echo "unsupported amalgamation SQLite version" >&6; }
6330 if test -z "$svn_lib_sqlite"; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no suitable sqlite found in $sqlite_dir" >&5
6332 $as_echo "$as_me: WARNING: no suitable sqlite found in $sqlite_dir" >&2;}
6335 echo "An appropriate version of sqlite could not be found. We recommmend"
6336 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
6337 echo "Please either install a newer sqlite on this system"
6341 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
6342 echo " ${SQLITE_URL}"
6343 echo "unpack the archive using unzip and rename the resulting"
6344 echo "directory to:"
6345 echo "$abs_srcdir/sqlite-amalgamation"
6346 if test x"$abs_srcdir" != x"$abs_builddir"; then
6348 echo "$abs_builddir/sqlite-amalgamation"
6351 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
6358 sqlite_amalg="$abs_srcdir/sqlite-amalgamation/sqlite3.c"
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6360 $as_echo_n "checking sqlite amalgamation... " >&6; }
6361 if test ! -e $sqlite_amalg; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6366 $as_echo "yes" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6368 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6372 #include "$sqlite_amalg"
6373 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6378 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6380 $as_echo "amalgamation found and is okay" >&6; }
6383 beos* | mingw* | pw32* | cegcc* | cygwin*)
6384 svn_sqlite_dso_ldflags=
6388 # if libdl is installed we need to link against it
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6390 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6391 if ${ac_cv_lib_dl_dlopen+:} false; then :
6392 $as_echo_n "(cached) " >&6
6394 ac_check_lib_save_LIBS=$LIBS
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 /* Override any GCC internal prototype to avoid an error.
6400 Use char because int might match the return type of a GCC
6401 builtin and then its argument prototype would still apply. */
6414 if ac_fn_c_try_link "$LINENO"; then :
6415 ac_cv_lib_dl_dlopen=yes
6417 ac_cv_lib_dl_dlopen=no
6419 rm -f core conftest.err conftest.$ac_objext \
6420 conftest$ac_exeext conftest.$ac_ext
6421 LIBS=$ac_check_lib_save_LIBS
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6424 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6425 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6426 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6429 svn_sqlite_dso_ldflags=
6436 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6437 if test "x$ac_cv_func_shl_load" = xyes; then :
6438 svn_sqlite_dso_ldflags=
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6441 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6442 if ${ac_cv_lib_dld_shl_load+:} false; then :
6443 $as_echo_n "(cached) " >&6
6445 ac_check_lib_save_LIBS=$LIBS
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6450 /* Override any GCC internal prototype to avoid an error.
6451 Use char because int might match the return type of a GCC
6452 builtin and then its argument prototype would still apply. */
6465 if ac_fn_c_try_link "$LINENO"; then :
6466 ac_cv_lib_dld_shl_load=yes
6468 ac_cv_lib_dld_shl_load=no
6470 rm -f core conftest.err conftest.$ac_objext \
6471 conftest$ac_exeext conftest.$ac_ext
6472 LIBS=$ac_check_lib_save_LIBS
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6475 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6476 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6477 svn_sqlite_dso_ldflags="-ldld"
6479 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6480 if test "x$ac_cv_func_dlopen" = xyes; then :
6481 svn_sqlite_dso_ldflags=
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6484 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6485 if ${ac_cv_lib_dl_dlopen+:} false; then :
6486 $as_echo_n "(cached) " >&6
6488 ac_check_lib_save_LIBS=$LIBS
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6493 /* Override any GCC internal prototype to avoid an error.
6494 Use char because int might match the return type of a GCC
6495 builtin and then its argument prototype would still apply. */
6508 if ac_fn_c_try_link "$LINENO"; then :
6509 ac_cv_lib_dl_dlopen=yes
6511 ac_cv_lib_dl_dlopen=no
6513 rm -f core conftest.err conftest.$ac_objext \
6514 conftest$ac_exeext conftest.$ac_ext
6515 LIBS=$ac_check_lib_save_LIBS
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6518 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6519 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6520 svn_sqlite_dso_ldflags="-ldl"
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6523 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6524 if ${ac_cv_lib_svld_dlopen+:} false; then :
6525 $as_echo_n "(cached) " >&6
6527 ac_check_lib_save_LIBS=$LIBS
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6532 /* Override any GCC internal prototype to avoid an error.
6533 Use char because int might match the return type of a GCC
6534 builtin and then its argument prototype would still apply. */
6547 if ac_fn_c_try_link "$LINENO"; then :
6548 ac_cv_lib_svld_dlopen=yes
6550 ac_cv_lib_svld_dlopen=no
6552 rm -f core conftest.err conftest.$ac_objext \
6553 conftest$ac_exeext conftest.$ac_ext
6554 LIBS=$ac_check_lib_save_LIBS
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6557 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6558 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6559 svn_sqlite_dso_ldflags="-lsvld"
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6562 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6563 if ${ac_cv_lib_dld_dld_link+:} false; then :
6564 $as_echo_n "(cached) " >&6
6566 ac_check_lib_save_LIBS=$LIBS
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6571 /* Override any GCC internal prototype to avoid an error.
6572 Use char because int might match the return type of a GCC
6573 builtin and then its argument prototype would still apply. */
6586 if ac_fn_c_try_link "$LINENO"; then :
6587 ac_cv_lib_dld_dld_link=yes
6589 ac_cv_lib_dld_dld_link=no
6591 rm -f core conftest.err conftest.$ac_objext \
6592 conftest$ac_exeext conftest.$ac_ext
6593 LIBS=$ac_check_lib_save_LIBS
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6596 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6597 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6598 svn_sqlite_dso_ldflags="-ldld"
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6620 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6621 if test -n "$svn_sqlite_dso_ldflags"; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6623 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6626 $as_echo "none" >&6; }
6630 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6632 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6633 if test -n "$svn_sqlite_dso_ldflags"; then
6634 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6636 SVN_SQLITE_LIBS="-lpthread"
6638 svn_lib_sqlite="yes"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6641 $as_echo "unsupported amalgamation SQLite version" >&6; }
6648 if test -z "$svn_lib_sqlite"; then
6650 sqlite_amalg="$abs_builddir/sqlite-amalgamation/sqlite3.c"
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6652 $as_echo_n "checking sqlite amalgamation... " >&6; }
6653 if test ! -e $sqlite_amalg; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6658 $as_echo "yes" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6660 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6664 #include "$sqlite_amalg"
6665 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6670 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6672 $as_echo "amalgamation found and is okay" >&6; }
6675 beos* | mingw* | pw32* | cegcc* | cygwin*)
6676 svn_sqlite_dso_ldflags=
6680 # if libdl is installed we need to link against it
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6682 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6683 if ${ac_cv_lib_dl_dlopen+:} false; then :
6684 $as_echo_n "(cached) " >&6
6686 ac_check_lib_save_LIBS=$LIBS
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6691 /* Override any GCC internal prototype to avoid an error.
6692 Use char because int might match the return type of a GCC
6693 builtin and then its argument prototype would still apply. */
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 ac_cv_lib_dl_dlopen=yes
6709 ac_cv_lib_dl_dlopen=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6713 LIBS=$ac_check_lib_save_LIBS
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6716 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6717 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6718 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6721 svn_sqlite_dso_ldflags=
6728 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6729 if test "x$ac_cv_func_shl_load" = xyes; then :
6730 svn_sqlite_dso_ldflags=
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6733 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6734 if ${ac_cv_lib_dld_shl_load+:} false; then :
6735 $as_echo_n "(cached) " >&6
6737 ac_check_lib_save_LIBS=$LIBS
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6742 /* Override any GCC internal prototype to avoid an error.
6743 Use char because int might match the return type of a GCC
6744 builtin and then its argument prototype would still apply. */
6757 if ac_fn_c_try_link "$LINENO"; then :
6758 ac_cv_lib_dld_shl_load=yes
6760 ac_cv_lib_dld_shl_load=no
6762 rm -f core conftest.err conftest.$ac_objext \
6763 conftest$ac_exeext conftest.$ac_ext
6764 LIBS=$ac_check_lib_save_LIBS
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6767 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6768 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6769 svn_sqlite_dso_ldflags="-ldld"
6771 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6772 if test "x$ac_cv_func_dlopen" = xyes; then :
6773 svn_sqlite_dso_ldflags=
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6777 if ${ac_cv_lib_dl_dlopen+:} false; then :
6778 $as_echo_n "(cached) " >&6
6780 ac_check_lib_save_LIBS=$LIBS
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6785 /* Override any GCC internal prototype to avoid an error.
6786 Use char because int might match the return type of a GCC
6787 builtin and then its argument prototype would still apply. */
6800 if ac_fn_c_try_link "$LINENO"; then :
6801 ac_cv_lib_dl_dlopen=yes
6803 ac_cv_lib_dl_dlopen=no
6805 rm -f core conftest.err conftest.$ac_objext \
6806 conftest$ac_exeext conftest.$ac_ext
6807 LIBS=$ac_check_lib_save_LIBS
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6811 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6812 svn_sqlite_dso_ldflags="-ldl"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6815 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6816 if ${ac_cv_lib_svld_dlopen+:} false; then :
6817 $as_echo_n "(cached) " >&6
6819 ac_check_lib_save_LIBS=$LIBS
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6824 /* Override any GCC internal prototype to avoid an error.
6825 Use char because int might match the return type of a GCC
6826 builtin and then its argument prototype would still apply. */
6839 if ac_fn_c_try_link "$LINENO"; then :
6840 ac_cv_lib_svld_dlopen=yes
6842 ac_cv_lib_svld_dlopen=no
6844 rm -f core conftest.err conftest.$ac_objext \
6845 conftest$ac_exeext conftest.$ac_ext
6846 LIBS=$ac_check_lib_save_LIBS
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6849 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6850 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6851 svn_sqlite_dso_ldflags="-lsvld"
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6854 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6855 if ${ac_cv_lib_dld_dld_link+:} false; then :
6856 $as_echo_n "(cached) " >&6
6858 ac_check_lib_save_LIBS=$LIBS
6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6878 if ac_fn_c_try_link "$LINENO"; then :
6879 ac_cv_lib_dld_dld_link=yes
6881 ac_cv_lib_dld_dld_link=no
6883 rm -f core conftest.err conftest.$ac_objext \
6884 conftest$ac_exeext conftest.$ac_ext
6885 LIBS=$ac_check_lib_save_LIBS
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6888 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6889 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6890 svn_sqlite_dso_ldflags="-ldld"
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6912 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6913 if test -n "$svn_sqlite_dso_ldflags"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6915 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6918 $as_echo "none" >&6; }
6922 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6924 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6925 if test -n "$svn_sqlite_dso_ldflags"; then
6926 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6928 SVN_SQLITE_LIBS="-lpthread"
6930 svn_lib_sqlite="yes"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6933 $as_echo "unsupported amalgamation SQLite version" >&6; }
6941 if test -z "$svn_lib_sqlite"; then
6945 sqlite_include="sqlite3.h"
6948 sqlite_include="/include/sqlite3.h"
6951 save_CPPFLAGS="$CPPFLAGS"
6952 save_LDFLAGS="$LDFLAGS"
6954 if test ! -z ""; then
6955 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
6956 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
6959 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
6960 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
6963 $as_echo_n "checking sqlite library version (via header)... " >&6; }
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6967 #include "$sqlite_include"
6968 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6973 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
6975 $as_echo "okay" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
6977 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
6978 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
6979 $as_echo_n "(cached) " >&6
6981 ac_check_lib_save_LIBS=$LIBS
6982 LIBS="-lsqlite3 $LIBS"
6983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6986 /* Override any GCC internal prototype to avoid an error.
6987 Use char because int might match the return type of a GCC
6988 builtin and then its argument prototype would still apply. */
6992 char sqlite3_close ();
6996 return sqlite3_close ();
7001 if ac_fn_c_try_link "$LINENO"; then :
7002 ac_cv_lib_sqlite3_sqlite3_close=yes
7004 ac_cv_lib_sqlite3_sqlite3_close=no
7006 rm -f core conftest.err conftest.$ac_objext \
7007 conftest$ac_exeext conftest.$ac_ext
7008 LIBS=$ac_check_lib_save_LIBS
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
7011 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
7012 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
7014 svn_lib_sqlite="yes"
7015 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
7016 SVN_SQLITE_LIBS="-lsqlite3"
7018 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
7020 input_flags="-L$sqlite_dir/lib -lsqlite3"
7022 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
7023 for flag in $input_flags; do
7025 for dir in $filtered_dirs; do
7026 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
7031 if test "$filter" = "no"; then
7032 output_flags="$output_flags $flag"
7035 if test -n "$output_flags"; then
7036 printf "%s" "${output_flags# }"
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
7045 $as_echo "unsupported SQLite version" >&6; }
7054 CPPFLAGS="$save_CPPFLAGS"
7055 LDFLAGS="$save_LDFLAGS"
7059 if test -z "$svn_lib_sqlite"; then
7061 if test -n "$PKG_CONFIG"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via pkg-config)" >&5
7063 $as_echo_n "checking sqlite library version (via pkg-config)... " >&6; }
7064 sqlite_version=`$PKG_CONFIG $SQLITE_PKGNAME --modversion --silence-errors`
7066 if test -n "$sqlite_version"; then
7068 version_string="$sqlite_version"
7070 major=`expr $version_string : '\([0-9]*\)'`
7071 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7072 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7073 if test -z "$micro"; then
7076 sqlite_ver_num=`expr $major \* 1000000 \
7081 if test "$sqlite_ver_num" -ge "$sqlite_min_ver_num"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sqlite_version" >&5
7083 $as_echo "$sqlite_version" >&6; }
7084 svn_lib_sqlite="yes"
7085 SVN_SQLITE_INCLUDES="`$PKG_CONFIG $SQLITE_PKGNAME --cflags`"
7086 SVN_SQLITE_LIBS="`$PKG_CONFIG $SQLITE_PKGNAME --libs`"
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none or unsupported $sqlite_version" >&5
7089 $as_echo "none or unsupported $sqlite_version" >&6; }
7094 if test -z "$svn_lib_sqlite"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$svn_lib_sqlite"; then
7104 echo "An appropriate version of sqlite could not be found. We recommmend"
7105 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
7106 echo "Please either install a newer sqlite on this system"
7110 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
7111 echo " ${SQLITE_URL}"
7112 echo "unpack the archive using unzip and rename the resulting"
7113 echo "directory to:"
7114 echo "$abs_srcdir/sqlite-amalgamation"
7115 if test x"$abs_srcdir" != x"$abs_builddir"; then
7117 echo "$abs_builddir/sqlite-amalgamation"
7120 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
7131 # Check whether --enable-sqlite-compatibility-version was given.
7132 if test "${enable_sqlite_compatibility_version+set}" = set; then :
7133 enableval=$enable_sqlite_compatibility_version; sqlite_compat_ver=$enableval
7135 sqlite_compat_ver=no
7139 if test -n "$sqlite_compat_ver" && test "$sqlite_compat_ver" != no; then
7141 version_string="$sqlite_compat_ver"
7143 major=`expr $version_string : '\([0-9]*\)'`
7144 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7145 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7146 if test -z "$micro"; then
7149 sqlite_compat_ver_num=`expr $major \* 1000000 \
7153 CFLAGS="-DSVN_SQLITE_MIN_VERSION='\"$sqlite_compat_ver\"' $CFLAGS"
7154 CFLAGS="-DSVN_SQLITE_MIN_VERSION_NUMBER=$sqlite_compat_ver_num $CFLAGS"
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins" >&5
7159 $as_echo_n "checking whether the compiler provides atomic builtins... " >&6; }
7160 if ${svn_cv_atomic_builtins+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test "$cross_compiling" = yes; then :
7164 svn_cv_atomic_builtins=no
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7171 unsigned long long val = 1010, tmp, *mem = &val;
7173 if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
7178 if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
7181 if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
7186 if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
7189 if (__sync_lock_test_and_set(&val, 4040) != 3030)
7194 if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
7197 __sync_synchronize();
7205 if ac_fn_c_try_run "$LINENO"; then :
7206 svn_cv_atomic_builtins=yes
7208 svn_cv_atomic_builtins=no
7210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7211 conftest.$ac_objext conftest.beam conftest.$ac_ext
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_atomic_builtins" >&5
7216 $as_echo "$svn_cv_atomic_builtins" >&6; }
7219 if test "$svn_cv_atomic_builtins" = "yes"; then
7221 $as_echo "#define SVN_HAS_ATOMIC_BUILTINS 1" >>confdefs.h
7226 if test "${bindir}" = '${exec_prefix}/bin'; then
7227 if test "${exec_prefix}" = "NONE"; then
7228 if test "${prefix}" = "NONE"; then
7229 SVN_BINDIR="${ac_default_prefix}/bin"
7231 SVN_BINDIR="${prefix}/bin"
7234 SVN_BINDIR="${exec_prefix}/bin"
7237 SVN_BINDIR="${bindir}"
7240 SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
7244 cat >>confdefs.h <<_ACEOF
7245 #define SVN_BINDIR "${SVN_BINDIR}"
7249 localedir='${datadir}/locale'
7252 if test "${datadir}" = '${prefix}/share' && test "${prefix}" = "NONE"; then
7253 exp_localedir='${ac_default_prefix}/share/locale'
7255 exp_localedir=$localedir
7259 svn_cur=""${exp_localedir}""
7260 while test "x${svn_cur}" != "x${svn_last}";
7262 svn_last="${svn_cur}"
7263 svn_cur=`eval "echo ${svn_cur}"`
7265 svn_localedir="${svn_cur}"
7268 cat >>confdefs.h <<_ACEOF
7269 #define SVN_LOCALE_DIR "${svn_localedir}"
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
7274 $as_echo "$as_me: configuring libtool now" >&6;}
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7278 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7283 macro_version='2.4.2.458.26-92994'
7284 macro_revision='2.4.3'
7298 ltmain=$ac_aux_dir/ltmain.sh
7300 # Backslashify metacharacters that are still active within
7301 # double-quoted strings.
7302 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7304 # Same as above, but do not quote variable references.
7305 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7307 # Sed substitution to delay expansion of an escaped shell variable in a
7308 # double_quote_subst'ed string.
7309 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7311 # Sed substitution to delay expansion of an escaped single quote.
7312 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7314 # Sed substitution to avoid accidental globbing in evaled expressions
7315 no_glob_subst='s/\*/\\\*/g'
7317 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7319 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7322 $as_echo_n "checking how to print strings... " >&6; }
7323 # Test print first, because it will be a builtin if present.
7324 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7325 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7327 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7330 # Use this function as a fallback that always works.
7331 func_fallback_echo ()
7333 eval 'cat <<_LTECHO_EOF
7337 ECHO='func_fallback_echo'
7340 # func_echo_all arg...
7341 # Invoke $ECHO with all args, space-separated.
7348 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7349 $as_echo "printf" >&6; } ;;
7350 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7351 $as_echo "print -r" >&6; } ;;
7352 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7353 $as_echo "cat" >&6; } ;;
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7370 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7371 if ${ac_cv_path_SED+:} false; then :
7372 $as_echo_n "(cached) " >&6
7374 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7375 for ac_i in 1 2 3 4 5 6 7; do
7376 ac_script="$ac_script$as_nl$ac_script"
7378 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7379 { ac_script=; unset ac_script;}
7380 if test -z "$SED"; then
7381 ac_path_SED_found=false
7382 # Loop through the user's path and test for each of PROGNAME-LIST
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_prog in sed gsed; do
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7391 as_fn_executable_p "$ac_path_SED" || continue
7392 # Check for GNU ac_path_SED and select it if it is found.
7393 # Check for GNU $ac_path_SED
7394 case `"$ac_path_SED" --version 2>&1` in
7396 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7399 $as_echo_n 0123456789 >"conftest.in"
7402 cat "conftest.in" "conftest.in" >"conftest.tmp"
7403 mv "conftest.tmp" "conftest.in"
7404 cp "conftest.in" "conftest.nl"
7405 $as_echo '' >> "conftest.nl"
7406 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7408 as_fn_arith $ac_count + 1 && ac_count=$as_val
7409 if test $ac_count -gt ${ac_path_SED_max-0}; then
7410 # Best one so far, save it but keep looking for a better one
7411 ac_cv_path_SED="$ac_path_SED"
7412 ac_path_SED_max=$ac_count
7414 # 10*(2^10) chars as input seems more than enough
7415 test $ac_count -gt 10 && break
7417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7420 $ac_path_SED_found && break 3
7425 if test -z "$ac_cv_path_SED"; then
7426 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7434 $as_echo "$ac_cv_path_SED" >&6; }
7435 SED="$ac_cv_path_SED"
7438 test -z "$SED" && SED=sed
7439 Xsed="$SED -e 1s/^X//"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7452 $as_echo_n "checking for fgrep... " >&6; }
7453 if ${ac_cv_path_FGREP+:} false; then :
7454 $as_echo_n "(cached) " >&6
7456 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7457 then ac_cv_path_FGREP="$GREP -F"
7459 if test -z "$FGREP"; then
7460 ac_path_FGREP_found=false
7461 # Loop through the user's path and test for each of PROGNAME-LIST
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7466 test -z "$as_dir" && as_dir=.
7467 for ac_prog in fgrep; do
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7470 as_fn_executable_p "$ac_path_FGREP" || continue
7471 # Check for GNU ac_path_FGREP and select it if it is found.
7472 # Check for GNU $ac_path_FGREP
7473 case `"$ac_path_FGREP" --version 2>&1` in
7475 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7478 $as_echo_n 0123456789 >"conftest.in"
7481 cat "conftest.in" "conftest.in" >"conftest.tmp"
7482 mv "conftest.tmp" "conftest.in"
7483 cp "conftest.in" "conftest.nl"
7484 $as_echo 'FGREP' >> "conftest.nl"
7485 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7487 as_fn_arith $ac_count + 1 && ac_count=$as_val
7488 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7489 # Best one so far, save it but keep looking for a better one
7490 ac_cv_path_FGREP="$ac_path_FGREP"
7491 ac_path_FGREP_max=$ac_count
7493 # 10*(2^10) chars as input seems more than enough
7494 test $ac_count -gt 10 && break
7496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7499 $ac_path_FGREP_found && break 3
7504 if test -z "$ac_cv_path_FGREP"; then
7505 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7508 ac_cv_path_FGREP=$FGREP
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7514 $as_echo "$ac_cv_path_FGREP" >&6; }
7515 FGREP="$ac_cv_path_FGREP"
7518 test -z "$GREP" && GREP=grep
7538 # Check whether --with-gnu-ld was given.
7539 if test "${with_gnu_ld+set}" = set; then :
7540 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7546 if test yes = "$GCC"; then
7547 # Check if gcc -print-prog-name=ld gives a path.
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7549 $as_echo_n "checking for ld used by $CC... " >&6; }
7552 # gcc leaves a trailing carriage return, which upsets mingw
7553 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7555 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7558 # Accept absolute paths.
7560 re_direlt='/[^/][^/]*/\.\./'
7561 # Canonicalize the pathname of ld
7562 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7563 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7564 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7566 test -z "$LD" && LD=$ac_prog
7569 # If it fails, then pretend we aren't using GCC.
7573 # If it is relative, then search for the first ld in PATH.
7577 elif test yes = "$with_gnu_ld"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7579 $as_echo_n "checking for GNU ld... " >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7582 $as_echo_n "checking for non-GNU ld... " >&6; }
7584 if ${lt_cv_path_LD+:} false; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -z "$LD"; then
7588 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7589 for ac_dir in $PATH; do
7591 test -z "$ac_dir" && ac_dir=.
7592 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7593 lt_cv_path_LD=$ac_dir/$ac_prog
7594 # Check to see if the program is GNU ld. I'd rather use --version,
7595 # but apparently some variants of GNU ld only accept -v.
7596 # Break only if it was the GNU/non-GNU ld that we prefer.
7597 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7598 *GNU* | *'with BFD'*)
7599 test no != "$with_gnu_ld" && break
7602 test yes != "$with_gnu_ld" && break
7609 lt_cv_path_LD=$LD # Let the user override the test with a path.
7614 if test -n "$LD"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7616 $as_echo "$LD" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7621 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7624 if ${lt_cv_prog_gnu_ld+:} false; then :
7625 $as_echo_n "(cached) " >&6
7627 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7628 case `$LD -v 2>&1 </dev/null` in
7629 *GNU* | *'with BFD'*)
7630 lt_cv_prog_gnu_ld=yes
7633 lt_cv_prog_gnu_ld=no
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7638 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7639 with_gnu_ld=$lt_cv_prog_gnu_ld
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7650 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7651 if ${lt_cv_path_NM+:} false; then :
7652 $as_echo_n "(cached) " >&6
7654 if test -n "$NM"; then
7655 # Let the user override the test.
7658 lt_nm_to_check=${ac_tool_prefix}nm
7659 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7660 lt_nm_to_check="$lt_nm_to_check nm"
7662 for lt_tmp_nm in $lt_nm_to_check; do
7663 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7664 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7666 test -z "$ac_dir" && ac_dir=.
7667 tmp_nm=$ac_dir/$lt_tmp_nm
7668 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7669 # Check to see if the nm accepts a BSD-compat flag.
7670 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7671 # nm: unknown option "B" ignored
7672 # Tru64's nm complains that /dev/null is an invalid object file
7673 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7675 mingw*) lt_bad_file=conftest.nm/nofile ;;
7676 *) lt_bad_file=/dev/null ;;
7678 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7679 *$lt_bad_file* | *'Invalid file or object type'*)
7680 lt_cv_path_NM="$tmp_nm -B"
7684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7686 lt_cv_path_NM="$tmp_nm -p"
7690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7691 continue # so that we can try to find one that supports BSD flags
7700 : ${lt_cv_path_NM=no}
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7704 $as_echo "$lt_cv_path_NM" >&6; }
7705 if test no != "$lt_cv_path_NM"; then
7708 # Didn't find any BSD compatible name lister, look for dumpbin.
7709 if test -n "$DUMPBIN"; then :
7710 # Let the user override the test.
7712 if test -n "$ac_tool_prefix"; then
7713 for ac_prog in dumpbin "link -dump"
7715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_DUMPBIN+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$DUMPBIN"; then
7723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 DUMPBIN=$ac_cv_prog_DUMPBIN
7743 if test -n "$DUMPBIN"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7745 $as_echo "$DUMPBIN" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7752 test -n "$DUMPBIN" && break
7755 if test -z "$DUMPBIN"; then
7756 ac_ct_DUMPBIN=$DUMPBIN
7757 for ac_prog in dumpbin "link -dump"
7759 # Extract the first word of "$ac_prog", so it can be a program name with args.
7760 set dummy $ac_prog; ac_word=$2
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7762 $as_echo_n "checking for $ac_word... " >&6; }
7763 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7764 $as_echo_n "(cached) " >&6
7766 if test -n "$ac_ct_DUMPBIN"; then
7767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7787 if test -n "$ac_ct_DUMPBIN"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7789 $as_echo "$ac_ct_DUMPBIN" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7792 $as_echo "no" >&6; }
7796 test -n "$ac_ct_DUMPBIN" && break
7799 if test "x$ac_ct_DUMPBIN" = x; then
7802 case $cross_compiling:$ac_tool_warned in
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7806 ac_tool_warned=yes ;;
7808 DUMPBIN=$ac_ct_DUMPBIN
7812 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7814 DUMPBIN="$DUMPBIN -symbols -headers"
7822 if test : != "$DUMPBIN"; then
7826 test -z "$NM" && NM=nm
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7835 if ${lt_cv_nm_interface+:} false; then :
7836 $as_echo_n "(cached) " >&6
7838 lt_cv_nm_interface="BSD nm"
7839 echo "int some_variable = 0;" > conftest.$ac_ext
7840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7841 (eval "$ac_compile" 2>conftest.err)
7842 cat conftest.err >&5
7843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7845 cat conftest.err >&5
7846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7847 cat conftest.out >&5
7848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7849 lt_cv_nm_interface="MS dumpbin"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7854 $as_echo "$lt_cv_nm_interface" >&6; }
7856 # find the maximum length of command line arguments
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7859 if ${lt_cv_sys_max_cmd_len+:} false; then :
7860 $as_echo_n "(cached) " >&6
7867 # On DJGPP, this test can blow up pretty badly due to problems in libc
7868 # (any single argument exceeding 2000 bytes causes a buffer overrun
7869 # during glob expansion). Even if it were fixed, the result of this
7870 # check would be larger than it should be.
7871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7875 # Under GNU Hurd, this test is not required because there is
7876 # no limit to the length of command line arguments.
7877 # Libtool will interpret -1 as no limit whatsoever
7878 lt_cv_sys_max_cmd_len=-1;
7881 cygwin* | mingw* | cegcc*)
7882 # On Win9x/ME, this test blows up -- it succeeds, but takes
7883 # about 5 minutes as the teststring grows exponentially.
7884 # Worse, since 9x/ME are not pre-emptively multitasking,
7885 # you end up with a "frozen" computer, even though with patience
7886 # the test eventually succeeds (with a max line length of 256k).
7887 # Instead, let's just punt: use the minimum linelength reported by
7888 # all of the supported platforms: 8192 (on NT/2K/XP).
7889 lt_cv_sys_max_cmd_len=8192;
7893 # On MiNT this can take a long time and run out of memory.
7894 lt_cv_sys_max_cmd_len=8192;
7898 # On AmigaOS with pdksh, this test takes hours, literally.
7899 # So we just punt and use a minimum line length of 8192.
7900 lt_cv_sys_max_cmd_len=8192;
7903 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7904 # This has been around since 386BSD, at least. Likely further.
7905 if test -x /sbin/sysctl; then
7906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7907 elif test -x /usr/sbin/sysctl; then
7908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7912 # And add a safety zone
7913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7919 lt_cv_sys_max_cmd_len=196608
7923 # The test takes a long time on OS/2.
7924 lt_cv_sys_max_cmd_len=8192
7928 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7929 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7930 # nice to cause kernel panics so lets avoid the loop below.
7931 # First set a reasonable default.
7932 lt_cv_sys_max_cmd_len=16384
7934 if test -x /sbin/sysconfig; then
7935 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7936 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7941 lt_cv_sys_max_cmd_len=102400
7943 sysv5* | sco5v6* | sysv4.2uw2*)
7944 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7945 if test -n "$kargmax"; then
7946 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7948 lt_cv_sys_max_cmd_len=32768
7952 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7953 if test -n "$lt_cv_sys_max_cmd_len" && \
7954 test undefined != "$lt_cv_sys_max_cmd_len"; then
7955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7956 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7958 # Make teststring a little bigger before we do anything with it.
7959 # a 1K string should be a reasonable start.
7960 for i in 1 2 3 4 5 6 7 8; do
7961 teststring=$teststring$teststring
7963 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7964 # If test is not a shell built-in, we'll probably end up computing a
7965 # maximum length that is only half of the actual maximum length, but
7967 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7968 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7969 test 17 != "$i" # 1/2 MB should be enough
7972 teststring=$teststring$teststring
7974 # Only check the string length outside the loop.
7975 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7977 # Add a significant safety factor because C++ compilers can tack on
7978 # massive amounts of additional arguments before passing them to the
7979 # linker. It appears as though 1/2 is a usable value.
7980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7987 if test -n "$lt_cv_sys_max_cmd_len"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7989 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7992 $as_echo "none" >&6; }
7994 max_cmd_len=$lt_cv_sys_max_cmd_len
8005 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8015 # test EBCDIC or ASCII
8016 case `echo X|tr X '\101'` in
8017 A) # ASCII based system
8018 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8019 lt_SP2NL='tr \040 \012'
8020 lt_NL2SP='tr \015\012 \040\040'
8022 *) # EBCDIC based system
8023 lt_SP2NL='tr \100 \n'
8024 lt_NL2SP='tr \r\n \100\100'
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8037 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8038 if ${lt_cv_to_host_file_cmd+:} false; then :
8039 $as_echo_n "(cached) " >&6
8044 *-*-mingw* ) # actually msys
8045 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8048 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8050 * ) # otherwise, assume *nix
8051 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8057 *-*-mingw* ) # actually msys
8058 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8061 lt_cv_to_host_file_cmd=func_convert_file_noop
8063 * ) # otherwise, assume *nix
8064 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8068 * ) # unhandled hosts (and "normal" native builds)
8069 lt_cv_to_host_file_cmd=func_convert_file_noop
8075 to_host_file_cmd=$lt_cv_to_host_file_cmd
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8077 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8084 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8085 if ${lt_cv_to_tool_file_cmd+:} false; then :
8086 $as_echo_n "(cached) " >&6
8088 #assume ordinary cross tools, or native build.
8089 lt_cv_to_tool_file_cmd=func_convert_file_noop
8093 *-*-mingw* ) # actually msys
8094 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8102 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8104 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8111 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8112 if ${lt_cv_ld_reload_flag+:} false; then :
8113 $as_echo_n "(cached) " >&6
8115 lt_cv_ld_reload_flag='-r'
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8118 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8119 reload_flag=$lt_cv_ld_reload_flag
8120 case $reload_flag in
8122 *) reload_flag=" $reload_flag" ;;
8124 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8126 cygwin* | mingw* | pw32* | cegcc*)
8127 if test yes != "$GCC"; then
8132 if test yes = "$GCC"; then
8133 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8135 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8148 if test -n "$ac_tool_prefix"; then
8149 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8150 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8152 $as_echo_n "checking for $ac_word... " >&6; }
8153 if ${ac_cv_prog_OBJDUMP+:} false; then :
8154 $as_echo_n "(cached) " >&6
8156 if test -n "$OBJDUMP"; then
8157 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8166 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 OBJDUMP=$ac_cv_prog_OBJDUMP
8177 if test -n "$OBJDUMP"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8179 $as_echo "$OBJDUMP" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8187 if test -z "$ac_cv_prog_OBJDUMP"; then
8188 ac_ct_OBJDUMP=$OBJDUMP
8189 # Extract the first word of "objdump", so it can be a program name with args.
8190 set dummy objdump; ac_word=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8192 $as_echo_n "checking for $ac_word... " >&6; }
8193 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8194 $as_echo_n "(cached) " >&6
8196 if test -n "$ac_ct_OBJDUMP"; then
8197 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8216 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8217 if test -n "$ac_ct_OBJDUMP"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8219 $as_echo "$ac_ct_OBJDUMP" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8225 if test "x$ac_ct_OBJDUMP" = x; then
8228 case $cross_compiling:$ac_tool_warned in
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8232 ac_tool_warned=yes ;;
8234 OBJDUMP=$ac_ct_OBJDUMP
8237 OBJDUMP="$ac_cv_prog_OBJDUMP"
8240 test -z "$OBJDUMP" && OBJDUMP=objdump
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8251 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8252 if ${lt_cv_deplibs_check_method+:} false; then :
8253 $as_echo_n "(cached) " >&6
8255 lt_cv_file_magic_cmd='$MAGIC_CMD'
8256 lt_cv_file_magic_test_file=
8257 lt_cv_deplibs_check_method='unknown'
8258 # Need to set the preceding variable on all platforms that support
8259 # interlibrary dependencies.
8260 # 'none' -- dependencies not supported.
8261 # 'unknown' -- same as none, but documents that we really don't know.
8262 # 'pass_all' -- all dependencies passed with no checks.
8263 # 'test_compile' -- check by making test program.
8264 # 'file_magic [[regex]]' -- check by looking for files in library path
8265 # that responds to the $file_magic_cmd with a given extended regex.
8266 # If you have 'file' or equivalent on your system and you're not sure
8267 # whether 'pass_all' will *always* work, you probably want this one.
8271 lt_cv_deplibs_check_method=pass_all
8275 lt_cv_deplibs_check_method=pass_all
8279 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8280 lt_cv_file_magic_cmd='/usr/bin/file -L'
8281 lt_cv_file_magic_test_file=/shlib/libc.so
8285 # func_win32_libid is a shell function defined in ltmain.sh
8286 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8287 lt_cv_file_magic_cmd='func_win32_libid'
8291 # Base MSYS/MinGW do not provide the 'file' command needed by
8292 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8293 # unless we find 'file', for example because we are cross-compiling.
8294 if ( file / ) >/dev/null 2>&1; then
8295 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8296 lt_cv_file_magic_cmd='func_win32_libid'
8298 # Keep this pattern in sync with the one in func_win32_libid.
8299 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8300 lt_cv_file_magic_cmd='$OBJDUMP -f'
8305 # use the weaker test based on 'objdump'. See mingw*.
8306 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8307 lt_cv_file_magic_cmd='$OBJDUMP -f'
8310 darwin* | rhapsody*)
8311 lt_cv_deplibs_check_method=pass_all
8314 freebsd* | dragonfly*)
8315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8318 # Not sure whether the presence of OpenBSD here was a mistake.
8319 # Let's accept both of them until this is cleared up.
8320 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8321 lt_cv_file_magic_cmd=/usr/bin/file
8322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8326 lt_cv_deplibs_check_method=pass_all
8331 lt_cv_deplibs_check_method=pass_all
8334 hpux10.20* | hpux11*)
8335 lt_cv_file_magic_cmd=/usr/bin/file
8338 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8339 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8342 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]'
8343 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8346 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8347 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8353 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8357 irix5* | irix6* | nonstopux*)
8359 *-32|*"-32 ") libmagic=32-bit;;
8360 *-n32|*"-n32 ") libmagic=N32;;
8361 *-64|*"-64 ") libmagic=64-bit;;
8362 *) libmagic=never-match;;
8364 lt_cv_deplibs_check_method=pass_all
8367 # This must be glibc/ELF.
8368 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8369 lt_cv_deplibs_check_method=pass_all
8373 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8382 lt_cv_file_magic_cmd=/usr/bin/file
8383 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8387 lt_cv_deplibs_check_method=pass_all
8391 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8394 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8398 osf3* | osf4* | osf5*)
8399 lt_cv_deplibs_check_method=pass_all
8403 lt_cv_deplibs_check_method=pass_all
8407 lt_cv_deplibs_check_method=pass_all
8410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8411 lt_cv_deplibs_check_method=pass_all
8415 case $host_vendor in
8417 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]'
8418 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8421 lt_cv_deplibs_check_method=pass_all
8424 lt_cv_file_magic_cmd='/bin/file'
8425 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8428 lt_cv_file_magic_cmd='/bin/file'
8429 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8430 lt_cv_file_magic_test_file=/lib/libc.so
8433 lt_cv_deplibs_check_method=pass_all
8436 lt_cv_deplibs_check_method=pass_all
8442 lt_cv_deplibs_check_method=pass_all
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8448 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8452 if test "$build" = "$host"; then
8455 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8458 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8464 file_magic_cmd=$lt_cv_file_magic_cmd
8465 deplibs_check_method=$lt_cv_deplibs_check_method
8466 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8489 if test -n "$ac_tool_prefix"; then
8490 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8491 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8493 $as_echo_n "checking for $ac_word... " >&6; }
8494 if ${ac_cv_prog_DLLTOOL+:} false; then :
8495 $as_echo_n "(cached) " >&6
8497 if test -n "$DLLTOOL"; then
8498 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 DLLTOOL=$ac_cv_prog_DLLTOOL
8518 if test -n "$DLLTOOL"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8520 $as_echo "$DLLTOOL" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8523 $as_echo "no" >&6; }
8528 if test -z "$ac_cv_prog_DLLTOOL"; then
8529 ac_ct_DLLTOOL=$DLLTOOL
8530 # Extract the first word of "dlltool", so it can be a program name with args.
8531 set dummy dlltool; ac_word=$2
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8533 $as_echo_n "checking for $ac_word... " >&6; }
8534 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8535 $as_echo_n "(cached) " >&6
8537 if test -n "$ac_ct_DLLTOOL"; then
8538 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir=.
8545 for ac_exec_ext in '' $ac_executable_extensions; do
8546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8547 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8558 if test -n "$ac_ct_DLLTOOL"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8560 $as_echo "$ac_ct_DLLTOOL" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8566 if test "x$ac_ct_DLLTOOL" = x; then
8569 case $cross_compiling:$ac_tool_warned in
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8573 ac_tool_warned=yes ;;
8575 DLLTOOL=$ac_ct_DLLTOOL
8578 DLLTOOL="$ac_cv_prog_DLLTOOL"
8581 test -z "$DLLTOOL" && DLLTOOL=dlltool
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8593 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8594 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8595 $as_echo_n "(cached) " >&6
8597 lt_cv_sharedlib_from_linklib_cmd='unknown'
8600 cygwin* | mingw* | pw32* | cegcc*)
8601 # two different shell functions defined in ltmain.sh;
8602 # decide which one to use based on capabilities of $DLLTOOL
8603 case `$DLLTOOL --help 2>&1` in
8604 *--identify-strict*)
8605 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8608 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8613 # fallback: assume linklib IS sharedlib
8614 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8620 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8621 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8622 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8630 if test -n "$ac_tool_prefix"; then
8633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636 $as_echo_n "checking for $ac_word... " >&6; }
8637 if ${ac_cv_prog_AR+:} false; then :
8638 $as_echo_n "(cached) " >&6
8640 if test -n "$AR"; then
8641 ac_cv_prog_AR="$AR" # Let the user override the test.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 if test -n "$AR"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8663 $as_echo "$AR" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8670 test -n "$AR" && break
8673 if test -z "$AR"; then
8677 # Extract the first word of "$ac_prog", so it can be a program name with args.
8678 set dummy $ac_prog; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8680 $as_echo_n "checking for $ac_word... " >&6; }
8681 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8682 $as_echo_n "(cached) " >&6
8684 if test -n "$ac_ct_AR"; then
8685 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8694 ac_cv_prog_ac_ct_AR="$ac_prog"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8705 if test -n "$ac_ct_AR"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8707 $as_echo "$ac_ct_AR" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8714 test -n "$ac_ct_AR" && break
8717 if test "x$ac_ct_AR" = x; then
8720 case $cross_compiling:$ac_tool_warned in
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8724 ac_tool_warned=yes ;;
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8744 $as_echo_n "checking for archiver @FILE support... " >&6; }
8745 if ${lt_cv_ar_at_file+:} false; then :
8746 $as_echo_n "(cached) " >&6
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8760 if ac_fn_c_try_compile "$LINENO"; then :
8761 echo conftest.$ac_objext > conftest.lst
8762 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8763 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8764 (eval $lt_ar_try) 2>&5
8766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8767 test $ac_status = 0; }
8768 if test 0 -eq "$ac_status"; then
8769 # Ensure the archiver fails upon bogus file names.
8770 rm -f conftest.$ac_objext libconftest.a
8771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8772 (eval $lt_ar_try) 2>&5
8774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8775 test $ac_status = 0; }
8776 if test 0 -ne "$ac_status"; then
8780 rm -f conftest.* libconftest.a
8783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8787 $as_echo "$lt_cv_ar_at_file" >&6; }
8789 if test no = "$lt_cv_ar_at_file"; then
8792 archiver_list_spec=$lt_cv_ar_at_file
8801 if test -n "$ac_tool_prefix"; then
8802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8803 set dummy ${ac_tool_prefix}strip; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_STRIP+:} false; then :
8807 $as_echo_n "(cached) " >&6
8809 if test -n "$STRIP"; then
8810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 STRIP=$ac_cv_prog_STRIP
8830 if test -n "$STRIP"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8832 $as_echo "$STRIP" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8840 if test -z "$ac_cv_prog_STRIP"; then
8842 # Extract the first word of "strip", so it can be a program name with args.
8843 set dummy strip; ac_word=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8847 $as_echo_n "(cached) " >&6
8849 if test -n "$ac_ct_STRIP"; then
8850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8856 test -z "$as_dir" && as_dir=.
8857 for ac_exec_ext in '' $ac_executable_extensions; do
8858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8859 ac_cv_prog_ac_ct_STRIP="strip"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8870 if test -n "$ac_ct_STRIP"; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8872 $as_echo "$ac_ct_STRIP" >&6; }
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8878 if test "x$ac_ct_STRIP" = x; then
8881 case $cross_compiling:$ac_tool_warned in
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8885 ac_tool_warned=yes ;;
8890 STRIP="$ac_cv_prog_STRIP"
8893 test -z "$STRIP" && STRIP=:
8900 if test -n "$ac_tool_prefix"; then
8901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8904 $as_echo_n "checking for $ac_word... " >&6; }
8905 if ${ac_cv_prog_RANLIB+:} false; then :
8906 $as_echo_n "(cached) " >&6
8908 if test -n "$RANLIB"; then
8909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 test -z "$as_dir" && as_dir=.
8916 for ac_exec_ext in '' $ac_executable_extensions; do
8917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 RANLIB=$ac_cv_prog_RANLIB
8929 if test -n "$RANLIB"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8931 $as_echo "$RANLIB" >&6; }
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8939 if test -z "$ac_cv_prog_RANLIB"; then
8940 ac_ct_RANLIB=$RANLIB
8941 # Extract the first word of "ranlib", so it can be a program name with args.
8942 set dummy ranlib; ac_word=$2
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8944 $as_echo_n "checking for $ac_word... " >&6; }
8945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8946 $as_echo_n "(cached) " >&6
8948 if test -n "$ac_ct_RANLIB"; then
8949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir=.
8956 for ac_exec_ext in '' $ac_executable_extensions; do
8957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_ac_ct_RANLIB="ranlib"
8959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8969 if test -n "$ac_ct_RANLIB"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8971 $as_echo "$ac_ct_RANLIB" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8977 if test "x$ac_ct_RANLIB" = x; then
8980 case $cross_compiling:$ac_tool_warned in
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8984 ac_tool_warned=yes ;;
8986 RANLIB=$ac_ct_RANLIB
8989 RANLIB="$ac_cv_prog_RANLIB"
8992 test -z "$RANLIB" && RANLIB=:
8999 # Determine commands to create old-style static archives.
9000 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9001 old_postinstall_cmds='chmod 644 $oldlib'
9002 old_postuninstall_cmds=
9004 if test -n "$RANLIB"; then
9007 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9010 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9013 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9018 lock_old_archive_extraction=yes ;;
9020 lock_old_archive_extraction=no ;;
9043 for ac_prog in gawk mawk nawk awk
9045 # Extract the first word of "$ac_prog", so it can be a program name with args.
9046 set dummy $ac_prog; ac_word=$2
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9048 $as_echo_n "checking for $ac_word... " >&6; }
9049 if ${ac_cv_prog_AWK+:} false; then :
9050 $as_echo_n "(cached) " >&6
9052 if test -n "$AWK"; then
9053 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059 test -z "$as_dir" && as_dir=.
9060 for ac_exec_ext in '' $ac_executable_extensions; do
9061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9062 ac_cv_prog_AWK="$ac_prog"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9073 if test -n "$AWK"; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9075 $as_echo "$AWK" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078 $as_echo "no" >&6; }
9082 test -n "$AWK" && break
9103 # If no C compiler was specified, use CC.
9106 # If no C compiler flags were specified, use CFLAGS.
9107 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9109 # Allow CC to be a program name with arguments.
9113 # Check for command to grab the raw symbol name followed by C symbol from nm.
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9115 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9116 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9117 $as_echo_n "(cached) " >&6
9120 # These are sane defaults that work on at least a few old systems.
9121 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9123 # Character class describing NM global symbol codes.
9124 symcode='[BCDEGRST]'
9126 # Regexp to match symbols that can be accessed directly from C.
9127 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9129 # Define system-specific variables.
9134 cygwin* | mingw* | pw32* | cegcc*)
9135 symcode='[ABCDGISTW]'
9138 if test ia64 = "$host_cpu"; then
9139 symcode='[ABCDEGRST]'
9143 symcode='[BCDEGRST]'
9146 symcode='[BCDEGQRST]'
9157 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9165 # If we're using GNU nm, then use its standard symbol codes.
9166 case `$NM -V 2>&1` in
9167 *GNU* | *'with BFD'*)
9168 symcode='[ABCDGIRSTW]' ;;
9171 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9172 # Gets list of data symbols to import.
9173 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9174 # Adjust the below global symbol transforms to fixup imported variables.
9175 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9176 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9177 lt_c_name_lib_hook="\
9178 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9179 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9181 # Disable hooks by default.
9182 lt_cv_sys_global_symbol_to_import=
9188 # Transform an extracted symbol line into a proper C declaration.
9189 # Some systems (esp. on ia64) link data and code symbols differently,
9190 # so use this general approach.
9191 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9193 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9194 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9196 # Transform an extracted symbol line into symbol name and symbol address
9197 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9199 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9200 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9202 # Transform an extracted symbol line into symbol name with lib prefix and
9204 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9205 $lt_c_name_lib_hook\
9206 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9207 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9208 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9210 # Handle CRLF in mingw tool chain
9214 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9218 # Try without a prefix underscore, then with it.
9219 for ac_symprfx in "" "_"; do
9221 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9222 symxfrm="\\1 $ac_symprfx\\2 \\2"
9224 # Write the raw and C identifiers.
9225 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9226 # Fake it for dumpbin and say T for any non-static function,
9227 # D for any global variable and I for any imported variable.
9228 # Also find C++ and __fastcall symbols from MSVC++,
9229 # which start with @ or ?.
9230 lt_cv_sys_global_symbol_pipe="$AWK '"\
9231 " {last_section=section; section=\$ 3};"\
9232 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9233 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9234 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9235 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9236 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9237 " \$ 0!~/External *\|/{next};"\
9238 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9239 " {if(hide[section]) next};"\
9240 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9241 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9242 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9243 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9244 " ' prfx=^$ac_symprfx"
9246 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9248 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9250 # Check to see that the pipe works correctly.
9254 cat > conftest.$ac_ext <<_LT_EOF
9259 void nm_test_func(void);
9260 void nm_test_func(void){}
9264 int main(){nm_test_var='a';nm_test_func();return(0);}
9267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9268 (eval $ac_compile) 2>&5
9270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9271 test $ac_status = 0; }; then
9272 # Now try to grab the symbols.
9274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9275 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9278 test $ac_status = 0; } && test -s "$nlist"; then
9279 # Try sorting and uniquifying the output.
9280 if sort "$nlist" | uniq > "$nlist"T; then
9281 mv -f "$nlist"T "$nlist"
9286 # Make sure that we snagged all the symbols we need.
9287 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9288 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9289 cat <<_LT_EOF > conftest.$ac_ext
9290 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9291 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9292 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9293 relocations are performed -- see ld's documentation on pseudo-relocs. */
9294 # define LT_DLSYM_CONST
9295 #elif defined __osf__
9296 /* This system does not cope well with relocations in const data. */
9297 # define LT_DLSYM_CONST
9299 # define LT_DLSYM_CONST const
9307 # Now generate the symbol file.
9308 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9310 cat <<_LT_EOF >> conftest.$ac_ext
9312 /* The mapping between symbol names and symbols. */
9313 LT_DLSYM_CONST struct {
9317 lt__PROGRAM__LTX_preloaded_symbols[] =
9319 { "@PROGRAM@", (void *) 0 },
9321 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9322 cat <<\_LT_EOF >> conftest.$ac_ext
9326 /* This works around a problem in FreeBSD linker */
9327 #ifdef FREEBSD_WORKAROUND
9328 static const void *lt_preloaded_setup() {
9329 return lt__PROGRAM__LTX_preloaded_symbols;
9337 # Now try linking the two files.
9338 mv conftest.$ac_objext conftstm.$ac_objext
9339 lt_globsym_save_LIBS=$LIBS
9340 lt_globsym_save_CFLAGS=$CFLAGS
9341 LIBS=conftstm.$ac_objext
9342 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9344 (eval $ac_link) 2>&5
9346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9347 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9350 LIBS=$lt_globsym_save_LIBS
9351 CFLAGS=$lt_globsym_save_CFLAGS
9353 echo "cannot find nm_test_func in $nlist" >&5
9356 echo "cannot find nm_test_var in $nlist" >&5
9359 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9362 echo "$progname: failed program was:" >&5
9363 cat conftest.$ac_ext >&5
9365 rm -rf conftest* conftst*
9367 # Do not use the global_symbol_pipe unless it works.
9368 if test yes = "$pipe_works"; then
9371 lt_cv_sys_global_symbol_pipe=
9377 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9378 lt_cv_sys_global_symbol_to_cdecl=
9380 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9382 $as_echo "failed" >&6; }
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9385 $as_echo "ok" >&6; }
9388 # Response file support.
9389 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9390 nm_file_list_spec='@'
9391 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9392 nm_file_list_spec='@'
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9432 $as_echo_n "checking for sysroot... " >&6; }
9434 # Check whether --with-sysroot was given.
9435 if test "${with_sysroot+set}" = set; then :
9436 withval=$with_sysroot;
9443 case $with_sysroot in #(
9445 if test yes = "$GCC"; then
9446 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9450 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9456 $as_echo "$with_sysroot" >&6; }
9457 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9462 $as_echo "${lt_sysroot:-no}" >&6; }
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9469 $as_echo_n "checking for a working dd... " >&6; }
9470 if ${ac_cv_path_lt_DD+:} false; then :
9471 $as_echo_n "(cached) " >&6
9473 printf 0123456789abcdef0123456789abcdef >conftest.i
9474 cat conftest.i conftest.i >conftest2.i
9476 if test -z "$lt_DD"; then
9477 ac_path_lt_DD_found=false
9478 # Loop through the user's path and test for each of PROGNAME-LIST
9479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir=.
9484 for ac_prog in dd; do
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9487 as_fn_executable_p "$ac_path_lt_DD" || continue
9488 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9489 cmp -s conftest.i conftest.out \
9490 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9492 $ac_path_lt_DD_found && break 3
9497 if test -z "$ac_cv_path_lt_DD"; then
9501 ac_cv_path_lt_DD=$lt_DD
9504 rm -f conftest.i conftest2.i conftest.out
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9507 $as_echo "$ac_cv_path_lt_DD" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9511 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9512 if ${lt_cv_truncate_bin+:} false; then :
9513 $as_echo_n "(cached) " >&6
9515 printf 0123456789abcdef0123456789abcdef >conftest.i
9516 cat conftest.i conftest.i >conftest2.i
9518 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9519 cmp -s conftest.i conftest.out \
9520 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9522 rm -f conftest.i conftest2.i conftest.out
9523 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9526 $as_echo "$lt_cv_truncate_bin" >&6; }
9533 # Check whether --enable-libtool-lock was given.
9534 if test "${enable_libtool_lock+set}" = set; then :
9535 enableval=$enable_libtool_lock;
9538 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9540 # Some flags need to be propagated to the compiler or linker for good
9544 # Find out what ABI is being produced by ac_compile, and set mode
9545 # options accordingly.
9546 echo 'int i;' > conftest.$ac_ext
9547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9548 (eval $ac_compile) 2>&5
9550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9551 test $ac_status = 0; }; then
9552 case `/usr/bin/file conftest.$ac_objext` in
9564 # Find out what ABI is being produced by ac_compile, and set linker
9565 # options accordingly.
9566 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9568 (eval $ac_compile) 2>&5
9570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9571 test $ac_status = 0; }; then
9572 if test yes = "$lt_cv_prog_gnu_ld"; then
9573 case `/usr/bin/file conftest.$ac_objext` in
9575 LD="${LD-ld} -melf32bsmip"
9578 LD="${LD-ld} -melf32bmipn32"
9581 LD="${LD-ld} -melf64bmip"
9585 case `/usr/bin/file conftest.$ac_objext` in
9602 # Find out what ABI is being produced by ac_compile, and set linker
9603 # options accordingly.
9604 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9606 (eval $ac_compile) 2>&5
9608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9609 test $ac_status = 0; }; then
9611 case `/usr/bin/file conftest.$ac_objext` in
9619 case `/usr/bin/file conftest.$ac_objext` in
9621 emul="${emul}btsmip"
9624 emul="${emul}ltsmip"
9627 case `/usr/bin/file conftest.$ac_objext` in
9632 LD="${LD-ld} -m $emul"
9637 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9638 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9639 # Find out what ABI is being produced by ac_compile, and set linker
9640 # options accordingly. Note that the listed cases only cover the
9641 # situations where additional linker options are needed (such as when
9642 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9643 # vice versa); the common cases where no linker options are needed do
9644 # not appear in the list.
9645 echo 'int i;' > conftest.$ac_ext
9646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9647 (eval $ac_compile) 2>&5
9649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9650 test $ac_status = 0; }; then
9651 case `/usr/bin/file conftest.o` in
9654 x86_64-*kfreebsd*-gnu)
9655 LD="${LD-ld} -m elf_i386_fbsd"
9658 case `/usr/bin/file conftest.o` in
9660 LD="${LD-ld} -m elf32_x86_64"
9663 LD="${LD-ld} -m elf_i386"
9667 powerpc64le-*linux*)
9668 LD="${LD-ld} -m elf32lppclinux"
9671 LD="${LD-ld} -m elf32ppclinux"
9674 LD="${LD-ld} -m elf_s390"
9677 LD="${LD-ld} -m elf32_sparc"
9683 x86_64-*kfreebsd*-gnu)
9684 LD="${LD-ld} -m elf_x86_64_fbsd"
9687 LD="${LD-ld} -m elf_x86_64"
9690 LD="${LD-ld} -m elf64lppc"
9693 LD="${LD-ld} -m elf64ppc"
9695 s390*-*linux*|s390*-*tpf*)
9696 LD="${LD-ld} -m elf64_s390"
9699 LD="${LD-ld} -m elf64_sparc"
9709 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9711 CFLAGS="$CFLAGS -belf"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9713 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9714 if ${lt_cv_cc_needs_belf+:} false; then :
9715 $as_echo_n "(cached) " >&6
9718 ac_cpp='$CPP $CPPFLAGS'
9719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9734 if ac_fn_c_try_link "$LINENO"; then :
9735 lt_cv_cc_needs_belf=yes
9737 lt_cv_cc_needs_belf=no
9739 rm -f core conftest.err conftest.$ac_objext \
9740 conftest$ac_exeext conftest.$ac_ext
9742 ac_cpp='$CPP $CPPFLAGS'
9743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9749 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9750 if test yes != "$lt_cv_cc_needs_belf"; then
9751 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9756 # Find out what ABI is being produced by ac_compile, and set linker
9757 # options accordingly.
9758 echo 'int i;' > conftest.$ac_ext
9759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9760 (eval $ac_compile) 2>&5
9762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9763 test $ac_status = 0; }; then
9764 case `/usr/bin/file conftest.o` in
9766 case $lt_cv_prog_gnu_ld in
9769 i?86-*-solaris*|x86_64-*-solaris*)
9770 LD="${LD-ld} -m elf_x86_64"
9773 LD="${LD-ld} -m elf64_sparc"
9776 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9777 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9782 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9794 need_locks=$enable_libtool_lock
9796 if test -n "$ac_tool_prefix"; then
9797 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9798 set dummy ${ac_tool_prefix}mt; ac_word=$2
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9800 $as_echo_n "checking for $ac_word... " >&6; }
9801 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9802 $as_echo_n "(cached) " >&6
9804 if test -n "$MANIFEST_TOOL"; then
9805 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 test -z "$as_dir" && as_dir=.
9812 for ac_exec_ext in '' $ac_executable_extensions; do
9813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9814 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9825 if test -n "$MANIFEST_TOOL"; then
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9827 $as_echo "$MANIFEST_TOOL" >&6; }
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9830 $as_echo "no" >&6; }
9835 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9836 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9837 # Extract the first word of "mt", so it can be a program name with args.
9838 set dummy mt; ac_word=$2
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9840 $as_echo_n "checking for $ac_word... " >&6; }
9841 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9842 $as_echo_n "(cached) " >&6
9844 if test -n "$ac_ct_MANIFEST_TOOL"; then
9845 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9851 test -z "$as_dir" && as_dir=.
9852 for ac_exec_ext in '' $ac_executable_extensions; do
9853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9854 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9865 if test -n "$ac_ct_MANIFEST_TOOL"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9867 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9873 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9876 case $cross_compiling:$ac_tool_warned in
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9880 ac_tool_warned=yes ;;
9882 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9885 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9888 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9890 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9891 if ${lt_cv_path_mainfest_tool+:} false; then :
9892 $as_echo_n "(cached) " >&6
9894 lt_cv_path_mainfest_tool=no
9895 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9896 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9897 cat conftest.err >&5
9898 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9899 lt_cv_path_mainfest_tool=yes
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9904 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9905 if test yes != "$lt_cv_path_mainfest_tool"; then
9915 rhapsody* | darwin*)
9916 if test -n "$ac_tool_prefix"; then
9917 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9918 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9920 $as_echo_n "checking for $ac_word... " >&6; }
9921 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9922 $as_echo_n "(cached) " >&6
9924 if test -n "$DSYMUTIL"; then
9925 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir=.
9932 for ac_exec_ext in '' $ac_executable_extensions; do
9933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9934 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9944 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9945 if test -n "$DSYMUTIL"; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9947 $as_echo "$DSYMUTIL" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9950 $as_echo "no" >&6; }
9955 if test -z "$ac_cv_prog_DSYMUTIL"; then
9956 ac_ct_DSYMUTIL=$DSYMUTIL
9957 # Extract the first word of "dsymutil", so it can be a program name with args.
9958 set dummy dsymutil; ac_word=$2
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9960 $as_echo_n "checking for $ac_word... " >&6; }
9961 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9962 $as_echo_n "(cached) " >&6
9964 if test -n "$ac_ct_DSYMUTIL"; then
9965 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir=.
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9985 if test -n "$ac_ct_DSYMUTIL"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9987 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9990 $as_echo "no" >&6; }
9993 if test "x$ac_ct_DSYMUTIL" = x; then
9996 case $cross_compiling:$ac_tool_warned in
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10000 ac_tool_warned=yes ;;
10002 DSYMUTIL=$ac_ct_DSYMUTIL
10005 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10010 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10012 $as_echo_n "checking for $ac_word... " >&6; }
10013 if ${ac_cv_prog_NMEDIT+:} false; then :
10014 $as_echo_n "(cached) " >&6
10016 if test -n "$NMEDIT"; then
10017 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10036 NMEDIT=$ac_cv_prog_NMEDIT
10037 if test -n "$NMEDIT"; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10039 $as_echo "$NMEDIT" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10042 $as_echo "no" >&6; }
10047 if test -z "$ac_cv_prog_NMEDIT"; then
10048 ac_ct_NMEDIT=$NMEDIT
10049 # Extract the first word of "nmedit", so it can be a program name with args.
10050 set dummy nmedit; ac_word=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10052 $as_echo_n "checking for $ac_word... " >&6; }
10053 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10054 $as_echo_n "(cached) " >&6
10056 if test -n "$ac_ct_NMEDIT"; then
10057 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10060 for as_dir in $PATH
10063 test -z "$as_dir" && as_dir=.
10064 for ac_exec_ext in '' $ac_executable_extensions; do
10065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10077 if test -n "$ac_ct_NMEDIT"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10079 $as_echo "$ac_ct_NMEDIT" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 $as_echo "no" >&6; }
10085 if test "x$ac_ct_NMEDIT" = x; then
10088 case $cross_compiling:$ac_tool_warned in
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10092 ac_tool_warned=yes ;;
10094 NMEDIT=$ac_ct_NMEDIT
10097 NMEDIT="$ac_cv_prog_NMEDIT"
10100 if test -n "$ac_tool_prefix"; then
10101 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10102 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10104 $as_echo_n "checking for $ac_word... " >&6; }
10105 if ${ac_cv_prog_LIPO+:} false; then :
10106 $as_echo_n "(cached) " >&6
10108 if test -n "$LIPO"; then
10109 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10112 for as_dir in $PATH
10115 test -z "$as_dir" && as_dir=.
10116 for ac_exec_ext in '' $ac_executable_extensions; do
10117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10118 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10128 LIPO=$ac_cv_prog_LIPO
10129 if test -n "$LIPO"; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10131 $as_echo "$LIPO" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10134 $as_echo "no" >&6; }
10139 if test -z "$ac_cv_prog_LIPO"; then
10141 # Extract the first word of "lipo", so it can be a program name with args.
10142 set dummy lipo; ac_word=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10144 $as_echo_n "checking for $ac_word... " >&6; }
10145 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10146 $as_echo_n "(cached) " >&6
10148 if test -n "$ac_ct_LIPO"; then
10149 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10152 for as_dir in $PATH
10155 test -z "$as_dir" && as_dir=.
10156 for ac_exec_ext in '' $ac_executable_extensions; do
10157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10158 ac_cv_prog_ac_ct_LIPO="lipo"
10159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10168 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10169 if test -n "$ac_ct_LIPO"; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10171 $as_echo "$ac_ct_LIPO" >&6; }
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10174 $as_echo "no" >&6; }
10177 if test "x$ac_ct_LIPO" = x; then
10180 case $cross_compiling:$ac_tool_warned in
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10184 ac_tool_warned=yes ;;
10189 LIPO="$ac_cv_prog_LIPO"
10192 if test -n "$ac_tool_prefix"; then
10193 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10194 set dummy ${ac_tool_prefix}otool; ac_word=$2
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10196 $as_echo_n "checking for $ac_word... " >&6; }
10197 if ${ac_cv_prog_OTOOL+:} false; then :
10198 $as_echo_n "(cached) " >&6
10200 if test -n "$OTOOL"; then
10201 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10204 for as_dir in $PATH
10207 test -z "$as_dir" && as_dir=.
10208 for ac_exec_ext in '' $ac_executable_extensions; do
10209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10210 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10220 OTOOL=$ac_cv_prog_OTOOL
10221 if test -n "$OTOOL"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10223 $as_echo "$OTOOL" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10226 $as_echo "no" >&6; }
10231 if test -z "$ac_cv_prog_OTOOL"; then
10233 # Extract the first word of "otool", so it can be a program name with args.
10234 set dummy otool; ac_word=$2
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10236 $as_echo_n "checking for $ac_word... " >&6; }
10237 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10238 $as_echo_n "(cached) " >&6
10240 if test -n "$ac_ct_OTOOL"; then
10241 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10244 for as_dir in $PATH
10247 test -z "$as_dir" && as_dir=.
10248 for ac_exec_ext in '' $ac_executable_extensions; do
10249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10250 ac_cv_prog_ac_ct_OTOOL="otool"
10251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10260 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10261 if test -n "$ac_ct_OTOOL"; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10263 $as_echo "$ac_ct_OTOOL" >&6; }
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10266 $as_echo "no" >&6; }
10269 if test "x$ac_ct_OTOOL" = x; then
10272 case $cross_compiling:$ac_tool_warned in
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10276 ac_tool_warned=yes ;;
10281 OTOOL="$ac_cv_prog_OTOOL"
10284 if test -n "$ac_tool_prefix"; then
10285 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10286 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10288 $as_echo_n "checking for $ac_word... " >&6; }
10289 if ${ac_cv_prog_OTOOL64+:} false; then :
10290 $as_echo_n "(cached) " >&6
10292 if test -n "$OTOOL64"; then
10293 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10296 for as_dir in $PATH
10299 test -z "$as_dir" && as_dir=.
10300 for ac_exec_ext in '' $ac_executable_extensions; do
10301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10302 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10312 OTOOL64=$ac_cv_prog_OTOOL64
10313 if test -n "$OTOOL64"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10315 $as_echo "$OTOOL64" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10318 $as_echo "no" >&6; }
10323 if test -z "$ac_cv_prog_OTOOL64"; then
10324 ac_ct_OTOOL64=$OTOOL64
10325 # Extract the first word of "otool64", so it can be a program name with args.
10326 set dummy otool64; ac_word=$2
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10328 $as_echo_n "checking for $ac_word... " >&6; }
10329 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10330 $as_echo_n "(cached) " >&6
10332 if test -n "$ac_ct_OTOOL64"; then
10333 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10339 test -z "$as_dir" && as_dir=.
10340 for ac_exec_ext in '' $ac_executable_extensions; do
10341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10342 ac_cv_prog_ac_ct_OTOOL64="otool64"
10343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10352 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10353 if test -n "$ac_ct_OTOOL64"; then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10355 $as_echo "$ac_ct_OTOOL64" >&6; }
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10358 $as_echo "no" >&6; }
10361 if test "x$ac_ct_OTOOL64" = x; then
10364 case $cross_compiling:$ac_tool_warned in
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10368 ac_tool_warned=yes ;;
10370 OTOOL64=$ac_ct_OTOOL64
10373 OTOOL64="$ac_cv_prog_OTOOL64"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10403 $as_echo_n "checking for -single_module linker flag... " >&6; }
10404 if ${lt_cv_apple_cc_single_mod+:} false; then :
10405 $as_echo_n "(cached) " >&6
10407 lt_cv_apple_cc_single_mod=no
10408 if test -z "$LT_MULTI_MODULE"; then
10409 # By default we will add the -single_module flag. You can override
10410 # by either setting the environment variable LT_MULTI_MODULE
10411 # non-empty at configure time, or by adding -multi_module to the
10413 rm -rf libconftest.dylib*
10414 echo "int foo(void){return 1;}" > conftest.c
10415 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10416 -dynamiclib -Wl,-single_module conftest.c" >&5
10417 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10418 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10420 # If there is a non-empty error log, and "single_module"
10421 # appears in it, assume the flag caused a linker warning
10422 if test -s conftest.err && $GREP single_module conftest.err; then
10423 cat conftest.err >&5
10424 # Otherwise, if the output was created with a 0 exit code from
10425 # the compiler, it worked.
10426 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10427 lt_cv_apple_cc_single_mod=yes
10429 cat conftest.err >&5
10431 rm -rf libconftest.dylib*
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10436 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10439 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10440 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10441 $as_echo_n "(cached) " >&6
10443 lt_cv_ld_exported_symbols_list=no
10444 save_LDFLAGS=$LDFLAGS
10445 echo "_main" > conftest.sym
10446 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 lt_cv_ld_exported_symbols_list=yes
10461 lt_cv_ld_exported_symbols_list=no
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LDFLAGS=$save_LDFLAGS
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10469 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10472 $as_echo_n "checking for -force_load linker flag... " >&6; }
10473 if ${lt_cv_ld_force_load+:} false; then :
10474 $as_echo_n "(cached) " >&6
10476 lt_cv_ld_force_load=no
10477 cat > conftest.c << _LT_EOF
10478 int forced_loaded() { return 2;}
10480 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10481 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10482 echo "$AR cru libconftest.a conftest.o" >&5
10483 $AR cru libconftest.a conftest.o 2>&5
10484 echo "$RANLIB libconftest.a" >&5
10485 $RANLIB libconftest.a 2>&5
10486 cat > conftest.c << _LT_EOF
10487 int main() { return 0;}
10489 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10490 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10492 if test -s conftest.err && $GREP force_load conftest.err; then
10493 cat conftest.err >&5
10494 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10495 lt_cv_ld_force_load=yes
10497 cat conftest.err >&5
10499 rm -f conftest.err libconftest.a conftest conftest.c
10500 rm -rf conftest.dSYM
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10504 $as_echo "$lt_cv_ld_force_load" >&6; }
10506 rhapsody* | darwin1.[012])
10507 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10509 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10510 darwin*) # darwin 5.x on
10511 # if running on 10.5 or later, the deployment target defaults
10512 # to the OS version, if on x86, and 10.4, the deployment
10513 # target defaults to 10.4. Don't you love it?
10514 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10515 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10516 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10518 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10520 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10524 if test yes = "$lt_cv_apple_cc_single_mod"; then
10525 _lt_dar_single_mod='$single_module'
10527 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10528 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10530 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10532 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10533 _lt_dsymutil='~$DSYMUTIL $lib || :'
10540 for ac_header in dlfcn.h
10542 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10544 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10545 cat >>confdefs.h <<_ACEOF
10546 #define HAVE_DLFCN_H 1
10555 func_stripname_cnf ()
10558 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10559 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10561 } # func_stripname_cnf
10574 enable_win32_dll=no
10577 # Check whether --enable-shared was given.
10578 if test "${enable_shared+set}" = set; then :
10579 enableval=$enable_shared; p=${PACKAGE-default}
10581 yes) enable_shared=yes ;;
10582 no) enable_shared=no ;;
10585 # Look at the argument we got. We use all the common list separators.
10586 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10587 for pkg in $enableval; do
10589 if test "X$pkg" = "X$p"; then
10608 # Check whether --enable-static was given.
10609 if test "${enable_static+set}" = set; then :
10610 enableval=$enable_static; p=${PACKAGE-default}
10612 yes) enable_static=yes ;;
10613 no) enable_static=no ;;
10616 # Look at the argument we got. We use all the common list separators.
10617 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10618 for pkg in $enableval; do
10620 if test "X$pkg" = "X$p"; then
10640 # Check whether --with-pic was given.
10641 if test "${with_pic+set}" = set; then :
10642 withval=$with_pic; lt_p=${PACKAGE-default}
10644 yes|no) pic_mode=$withval ;;
10647 # Look at the argument we got. We use all the common list separators.
10648 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10649 for lt_pkg in $withval; do
10651 if test "X$lt_pkg" = "X$lt_p"; then
10669 # Check whether --enable-fast-install was given.
10670 if test "${enable_fast_install+set}" = set; then :
10671 enableval=$enable_fast_install; p=${PACKAGE-default}
10673 yes) enable_fast_install=yes ;;
10674 no) enable_fast_install=no ;;
10676 enable_fast_install=no
10677 # Look at the argument we got. We use all the common list separators.
10678 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10679 for pkg in $enableval; do
10681 if test "X$pkg" = "X$p"; then
10682 enable_fast_install=yes
10689 enable_fast_install=yes
10702 # This can be used to rebuild libtool when needed
10703 LIBTOOL_DEPS=$ltmain
10705 # Always use our own libtool.
10706 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10737 test -z "$LN_S" && LN_S="ln -s"
10752 if test -n "${ZSH_VERSION+set}"; then
10753 setopt NO_GLOB_SUBST
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10757 $as_echo_n "checking for objdir... " >&6; }
10758 if ${lt_cv_objdir+:} false; then :
10759 $as_echo_n "(cached) " >&6
10761 rm -f .libs 2>/dev/null
10762 mkdir .libs 2>/dev/null
10763 if test -d .libs; then
10766 # MS-DOS does not allow filenames that begin with a dot.
10769 rmdir .libs 2>/dev/null
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10772 $as_echo "$lt_cv_objdir" >&6; }
10773 objdir=$lt_cv_objdir
10779 cat >>confdefs.h <<_ACEOF
10780 #define LT_OBJDIR "$lt_cv_objdir/"
10788 # AIX sometimes has problems with the GCC collect2 program. For some
10789 # reason, if we set the COLLECT_NAMES environment variable, the problems
10790 # vanish in a puff of smoke.
10791 if test set != "${COLLECT_NAMES+set}"; then
10793 export COLLECT_NAMES
10798 # Global variables:
10800 can_build_shared=yes
10802 # All known linkers require a '.a' archive for static linking (except MSVC,
10803 # which needs '.lib').
10806 with_gnu_ld=$lt_cv_prog_gnu_ld
10811 # Set sane defaults for various variables
10812 test -z "$CC" && CC=cc
10813 test -z "$LTCC" && LTCC=$CC
10814 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10815 test -z "$LD" && LD=ld
10816 test -z "$ac_objext" && ac_objext=o
10818 for cc_temp in $compiler""; do
10820 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10821 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10826 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10829 # Only perform the check for file, if the check method requires it
10830 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10831 case $deplibs_check_method in
10833 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10835 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10836 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10837 $as_echo_n "(cached) " >&6
10841 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10844 lt_save_MAGIC_CMD=$MAGIC_CMD
10845 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10846 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10847 for ac_dir in $ac_dummy; do
10849 test -z "$ac_dir" && ac_dir=.
10850 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10851 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10852 if test -n "$file_magic_test_file"; then
10853 case $deplibs_check_method in
10855 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10856 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10857 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10858 $EGREP "$file_magic_regex" > /dev/null; then
10863 *** Warning: the command libtool uses to detect shared libraries,
10864 *** $file_magic_cmd, produces output that libtool cannot recognize.
10865 *** The result is that libtool may fail to recognize shared libraries
10866 *** as such. This will affect the creation of libtool libraries that
10867 *** depend on shared libraries, but programs linked with such libtool
10868 *** libraries will work regardless of this problem. Nevertheless, you
10869 *** may want to report the problem to your system manager and/or to
10870 *** bug-libtool@gnu.org
10880 MAGIC_CMD=$lt_save_MAGIC_CMD
10885 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10886 if test -n "$MAGIC_CMD"; then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10888 $as_echo "$MAGIC_CMD" >&6; }
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10891 $as_echo "no" >&6; }
10898 if test -z "$lt_cv_path_MAGIC_CMD"; then
10899 if test -n "$ac_tool_prefix"; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10901 $as_echo_n "checking for file... " >&6; }
10902 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10903 $as_echo_n "(cached) " >&6
10907 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10910 lt_save_MAGIC_CMD=$MAGIC_CMD
10911 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10912 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10913 for ac_dir in $ac_dummy; do
10915 test -z "$ac_dir" && ac_dir=.
10916 if test -f "$ac_dir/file"; then
10917 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10918 if test -n "$file_magic_test_file"; then
10919 case $deplibs_check_method in
10921 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10922 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10923 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10924 $EGREP "$file_magic_regex" > /dev/null; then
10929 *** Warning: the command libtool uses to detect shared libraries,
10930 *** $file_magic_cmd, produces output that libtool cannot recognize.
10931 *** The result is that libtool may fail to recognize shared libraries
10932 *** as such. This will affect the creation of libtool libraries that
10933 *** depend on shared libraries, but programs linked with such libtool
10934 *** libraries will work regardless of this problem. Nevertheless, you
10935 *** may want to report the problem to your system manager and/or to
10936 *** bug-libtool@gnu.org
10946 MAGIC_CMD=$lt_save_MAGIC_CMD
10951 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10952 if test -n "$MAGIC_CMD"; then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10954 $as_echo "$MAGIC_CMD" >&6; }
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10957 $as_echo "no" >&6; }
10970 # Use C for the default configuration in the libtool script
10974 ac_cpp='$CPP $CPPFLAGS'
10975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10980 # Source file extension for C test sources.
10983 # Object file extension for compiled C test sources.
10987 # Code to be used in simple compile tests
10988 lt_simple_compile_test_code="int some_variable = 0;"
10990 # Code to be used in simple link tests
10991 lt_simple_link_test_code='int main(){return(0);}'
10999 # If no C compiler was specified, use CC.
11002 # If no C compiler flags were specified, use CFLAGS.
11003 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11005 # Allow CC to be a program name with arguments.
11008 # Save the default compiler, since it gets overwritten when the other
11009 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11010 compiler_DEFAULT=$CC
11012 # save warnings/boilerplate of simple test code
11013 ac_outfile=conftest.$ac_objext
11014 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11015 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11016 _lt_compiler_boilerplate=`cat conftest.err`
11019 ac_outfile=conftest.$ac_objext
11020 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11021 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11022 _lt_linker_boilerplate=`cat conftest.err`
11027 ## There is no encapsulation within the following macros, do not change
11028 ## the running order or otherwise move them around unless you know exactly
11029 ## what you are doing...
11030 if test -n "$compiler"; then
11032 lt_prog_compiler_no_builtin_flag=
11034 if test yes = "$GCC"; then
11035 case $cc_basename in
11037 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11039 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11043 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11044 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11045 $as_echo_n "(cached) " >&6
11047 lt_cv_prog_compiler_rtti_exceptions=no
11048 ac_outfile=conftest.$ac_objext
11049 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11050 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11051 # Insert the option either (1) after the last *FLAGS variable, or
11052 # (2) before a word containing "conftest.", or (3) at the end.
11053 # Note that $ac_compile itself does not contain backslashes and begins
11054 # with a dollar sign (not a hyphen), so the echo should work correctly.
11055 # The option is referenced via a variable to avoid confusing sed.
11056 lt_compile=`echo "$ac_compile" | $SED \
11057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11059 -e 's:$: $lt_compiler_flag:'`
11060 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11061 (eval "$lt_compile" 2>conftest.err)
11063 cat conftest.err >&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 if (exit $ac_status) && test -s "$ac_outfile"; then
11066 # The compiler can only warn and ignore the option if not recognized
11067 # So say no if there are warnings other than the usual output.
11068 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11069 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11070 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11071 lt_cv_prog_compiler_rtti_exceptions=yes
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11078 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11080 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11081 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11093 lt_prog_compiler_wl=
11094 lt_prog_compiler_pic=
11095 lt_prog_compiler_static=
11098 if test yes = "$GCC"; then
11099 lt_prog_compiler_wl='-Wl,'
11100 lt_prog_compiler_static='-static'
11104 # All AIX code is PIC.
11105 if test ia64 = "$host_cpu"; then
11106 # AIX 5 now supports IA64 processor
11107 lt_prog_compiler_static='-Bstatic'
11109 lt_prog_compiler_pic='-fPIC'
11115 # see comment about AmigaOS4 .so support
11116 lt_prog_compiler_pic='-fPIC'
11119 # FIXME: we need at least 68020 code to build shared libraries, but
11120 # adding the '-m68020' flag to GCC prevents building anything better,
11122 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11127 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11128 # PIC is the default for these OSes.
11131 mingw* | cygwin* | pw32* | os2* | cegcc*)
11132 # This hack is so that the source file can tell whether it is being
11133 # built for inclusion in a dll (and should export symbols for example).
11134 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11135 # (--disable-auto-import) libraries
11136 lt_prog_compiler_pic='-DDLL_EXPORT'
11139 darwin* | rhapsody*)
11140 # PIC is the default on this platform
11141 # Common symbols not allowed in MH_DYLIB files
11142 lt_prog_compiler_pic='-fno-common'
11146 # PIC is the default for Haiku.
11147 # The "-static" flag exists, but is broken.
11148 lt_prog_compiler_static=
11152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11154 # sets the default TLS model and affects inlining.
11160 lt_prog_compiler_pic='-fPIC'
11166 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11167 # Instead, we relocate shared libraries at runtime.
11171 # Just because we use GCC doesn't mean we suddenly get shared libraries
11172 # on systems that don't support them.
11173 lt_prog_compiler_can_build_shared=no
11178 # QNX uses GNU C++, but need to define -shared option too, otherwise
11179 # it will coredump.
11180 lt_prog_compiler_pic='-fPIC -shared'
11184 if test -d /usr/nec; then
11185 lt_prog_compiler_pic=-Kconform_pic
11190 lt_prog_compiler_pic='-fPIC'
11194 case $cc_basename in
11195 nvcc*) # Cuda Compiler Driver 2.2
11196 lt_prog_compiler_wl='-Xlinker '
11197 if test -n "$lt_prog_compiler_pic"; then
11198 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11203 # PORTME Check for flag to pass linker flags through the system compiler.
11206 lt_prog_compiler_wl='-Wl,'
11207 if test ia64 = "$host_cpu"; then
11208 # AIX 5 now supports IA64 processor
11209 lt_prog_compiler_static='-Bstatic'
11211 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11215 darwin* | rhapsody*)
11216 # PIC is the default on this platform
11217 # Common symbols not allowed in MH_DYLIB files
11218 lt_prog_compiler_pic='-fno-common'
11219 case $cc_basename in
11221 # NAG Fortran compiler
11222 lt_prog_compiler_wl='-Wl,-Wl,,'
11223 lt_prog_compiler_pic='-PIC'
11224 lt_prog_compiler_static='-Bstatic'
11229 mingw* | cygwin* | pw32* | os2* | cegcc*)
11230 # This hack is so that the source file can tell whether it is being
11231 # built for inclusion in a dll (and should export symbols for example).
11232 lt_prog_compiler_pic='-DDLL_EXPORT'
11235 hpux9* | hpux10* | hpux11*)
11236 lt_prog_compiler_wl='-Wl,'
11237 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11238 # not for PA HP-UX.
11244 lt_prog_compiler_pic='+Z'
11247 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11248 lt_prog_compiler_static='$wl-a ${wl}archive'
11251 irix5* | irix6* | nonstopux*)
11252 lt_prog_compiler_wl='-Wl,'
11253 # PIC (with -KPIC) is the default.
11254 lt_prog_compiler_static='-non_shared'
11257 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11258 case $cc_basename in
11259 # old Intel for x86_64, which still supported -KPIC.
11261 lt_prog_compiler_wl='-Wl,'
11262 lt_prog_compiler_pic='-KPIC'
11263 lt_prog_compiler_static='-static'
11265 # icc used to be incompatible with GCC.
11266 # ICC 10 doesn't accept -KPIC any more.
11268 lt_prog_compiler_wl='-Wl,'
11269 lt_prog_compiler_pic='-fPIC'
11270 lt_prog_compiler_static='-static'
11272 # Lahey Fortran 8.1.
11274 lt_prog_compiler_wl='-Wl,'
11275 lt_prog_compiler_pic='--shared'
11276 lt_prog_compiler_static='--static'
11279 # NAG Fortran compiler
11280 lt_prog_compiler_wl='-Wl,-Wl,,'
11281 lt_prog_compiler_pic='-PIC'
11282 lt_prog_compiler_static='-Bstatic'
11285 # Fabrice Bellard et al's Tiny C Compiler
11286 lt_prog_compiler_wl='-Wl,'
11287 lt_prog_compiler_pic='-fPIC'
11288 lt_prog_compiler_static='-static'
11290 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11291 # Portland Group compilers (*not* the Pentium gcc compiler,
11292 # which looks to be a dead project)
11293 lt_prog_compiler_wl='-Wl,'
11294 lt_prog_compiler_pic='-fpic'
11295 lt_prog_compiler_static='-Bstatic'
11298 lt_prog_compiler_wl='-Wl,'
11299 # All Alpha code is PIC.
11300 lt_prog_compiler_static='-non_shared'
11302 xl* | bgxl* | bgf* | mpixl*)
11303 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11304 lt_prog_compiler_wl='-Wl,'
11305 lt_prog_compiler_pic='-qpic'
11306 lt_prog_compiler_static='-qstaticlink'
11309 case `$CC -V 2>&1 | sed 5q` in
11310 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11311 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11312 lt_prog_compiler_pic='-KPIC'
11313 lt_prog_compiler_static='-Bstatic'
11314 lt_prog_compiler_wl=''
11316 *Sun\ F* | *Sun*Fortran*)
11317 lt_prog_compiler_pic='-KPIC'
11318 lt_prog_compiler_static='-Bstatic'
11319 lt_prog_compiler_wl='-Qoption ld '
11323 lt_prog_compiler_pic='-KPIC'
11324 lt_prog_compiler_static='-Bstatic'
11325 lt_prog_compiler_wl='-Wl,'
11327 *Intel*\ [CF]*Compiler*)
11328 lt_prog_compiler_wl='-Wl,'
11329 lt_prog_compiler_pic='-fPIC'
11330 lt_prog_compiler_static='-static'
11333 lt_prog_compiler_wl='-Wl,'
11334 lt_prog_compiler_pic='-fpic'
11335 lt_prog_compiler_static='-Bstatic'
11343 lt_prog_compiler_pic='-KPIC'
11344 lt_prog_compiler_static='-Bstatic'
11348 # QNX uses GNU C++, but need to define -shared option too, otherwise
11349 # it will coredump.
11350 lt_prog_compiler_pic='-fPIC -shared'
11353 osf3* | osf4* | osf5*)
11354 lt_prog_compiler_wl='-Wl,'
11355 # All OSF/1 code is PIC.
11356 lt_prog_compiler_static='-non_shared'
11360 lt_prog_compiler_static='-non_shared'
11364 lt_prog_compiler_pic='-KPIC'
11365 lt_prog_compiler_static='-Bstatic'
11366 case $cc_basename in
11367 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11368 lt_prog_compiler_wl='-Qoption ld ';;
11370 lt_prog_compiler_wl='-Wl,';;
11375 lt_prog_compiler_wl='-Qoption ld '
11376 lt_prog_compiler_pic='-PIC'
11377 lt_prog_compiler_static='-Bstatic'
11380 sysv4 | sysv4.2uw2* | sysv4.3*)
11381 lt_prog_compiler_wl='-Wl,'
11382 lt_prog_compiler_pic='-KPIC'
11383 lt_prog_compiler_static='-Bstatic'
11387 if test -d /usr/nec; then
11388 lt_prog_compiler_pic='-Kconform_pic'
11389 lt_prog_compiler_static='-Bstatic'
11393 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11394 lt_prog_compiler_wl='-Wl,'
11395 lt_prog_compiler_pic='-KPIC'
11396 lt_prog_compiler_static='-Bstatic'
11400 lt_prog_compiler_wl='-Wl,'
11401 lt_prog_compiler_can_build_shared=no
11405 lt_prog_compiler_pic='-pic'
11406 lt_prog_compiler_static='-Bstatic'
11410 lt_prog_compiler_can_build_shared=no
11416 # For platforms that do not support PIC, -DPIC is meaningless:
11418 lt_prog_compiler_pic=
11421 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11426 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11427 if ${lt_cv_prog_compiler_pic+:} false; then :
11428 $as_echo_n "(cached) " >&6
11430 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11433 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11434 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11437 # Check to make sure the PIC flag actually works.
11439 if test -n "$lt_prog_compiler_pic"; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11441 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11442 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11443 $as_echo_n "(cached) " >&6
11445 lt_cv_prog_compiler_pic_works=no
11446 ac_outfile=conftest.$ac_objext
11447 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11448 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11449 # Insert the option either (1) after the last *FLAGS variable, or
11450 # (2) before a word containing "conftest.", or (3) at the end.
11451 # Note that $ac_compile itself does not contain backslashes and begins
11452 # with a dollar sign (not a hyphen), so the echo should work correctly.
11453 # The option is referenced via a variable to avoid confusing sed.
11454 lt_compile=`echo "$ac_compile" | $SED \
11455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11457 -e 's:$: $lt_compiler_flag:'`
11458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11459 (eval "$lt_compile" 2>conftest.err)
11461 cat conftest.err >&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 if (exit $ac_status) && test -s "$ac_outfile"; then
11464 # The compiler can only warn and ignore the option if not recognized
11465 # So say no if there are warnings other than the usual output.
11466 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11467 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11468 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11469 lt_cv_prog_compiler_pic_works=yes
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11476 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11478 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11479 case $lt_prog_compiler_pic in
11481 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11484 lt_prog_compiler_pic=
11485 lt_prog_compiler_can_build_shared=no
11501 # Check to make sure the static flag actually works.
11503 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11505 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11506 if ${lt_cv_prog_compiler_static_works+:} false; then :
11507 $as_echo_n "(cached) " >&6
11509 lt_cv_prog_compiler_static_works=no
11510 save_LDFLAGS=$LDFLAGS
11511 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11512 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11513 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11514 # The linker can only warn and ignore the option if not recognized
11515 # So say no if there are warnings
11516 if test -s conftest.err; then
11517 # Append any errors to the config.log.
11518 cat conftest.err 1>&5
11519 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11520 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11521 if diff conftest.exp conftest.er2 >/dev/null; then
11522 lt_cv_prog_compiler_static_works=yes
11525 lt_cv_prog_compiler_static_works=yes
11529 LDFLAGS=$save_LDFLAGS
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11533 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11535 if test yes = "$lt_cv_prog_compiler_static_works"; then
11538 lt_prog_compiler_static=
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11548 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11549 if ${lt_cv_prog_compiler_c_o+:} false; then :
11550 $as_echo_n "(cached) " >&6
11552 lt_cv_prog_compiler_c_o=no
11553 $RM -r conftest 2>/dev/null
11557 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11559 lt_compiler_flag="-o out/conftest2.$ac_objext"
11560 # Insert the option either (1) after the last *FLAGS variable, or
11561 # (2) before a word containing "conftest.", or (3) at the end.
11562 # Note that $ac_compile itself does not contain backslashes and begins
11563 # with a dollar sign (not a hyphen), so the echo should work correctly.
11564 lt_compile=`echo "$ac_compile" | $SED \
11565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11567 -e 's:$: $lt_compiler_flag:'`
11568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11569 (eval "$lt_compile" 2>out/conftest.err)
11571 cat out/conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11575 # The compiler can only warn and ignore the option if not recognized
11576 # So say no if there are warnings
11577 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11578 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11579 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11580 lt_cv_prog_compiler_c_o=yes
11585 # SGI C++ compiler will create directory out/ii_files/ for
11586 # template instantiation
11587 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11588 $RM out/* && rmdir out
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11595 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11603 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11604 if ${lt_cv_prog_compiler_c_o+:} false; then :
11605 $as_echo_n "(cached) " >&6
11607 lt_cv_prog_compiler_c_o=no
11608 $RM -r conftest 2>/dev/null
11612 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11614 lt_compiler_flag="-o out/conftest2.$ac_objext"
11615 # Insert the option either (1) after the last *FLAGS variable, or
11616 # (2) before a word containing "conftest.", or (3) at the end.
11617 # Note that $ac_compile itself does not contain backslashes and begins
11618 # with a dollar sign (not a hyphen), so the echo should work correctly.
11619 lt_compile=`echo "$ac_compile" | $SED \
11620 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11622 -e 's:$: $lt_compiler_flag:'`
11623 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11624 (eval "$lt_compile" 2>out/conftest.err)
11626 cat out/conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11630 # The compiler can only warn and ignore the option if not recognized
11631 # So say no if there are warnings
11632 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11633 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11634 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11635 lt_cv_prog_compiler_c_o=yes
11640 # SGI C++ compiler will create directory out/ii_files/ for
11641 # template instantiation
11642 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11643 $RM out/* && rmdir out
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11650 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11655 hard_links=nottested
11656 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11657 # do not overwrite the value of need_locks provided by the user
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11659 $as_echo_n "checking if we can lock with hard links... " >&6; }
11662 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11664 ln conftest.a conftest.b 2>&5 || hard_links=no
11665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11667 $as_echo "$hard_links" >&6; }
11668 if test no = "$hard_links"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11670 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11686 allow_undefined_flag=
11687 always_export_symbols=no
11689 archive_expsym_cmds=
11690 compiler_needs_object=no
11691 enable_shared_with_static_runtimes=no
11692 export_dynamic_flag_spec=
11693 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11694 hardcode_automatic=no
11696 hardcode_direct_absolute=no
11697 hardcode_libdir_flag_spec=
11698 hardcode_libdir_separator=
11699 hardcode_minus_L=no
11700 hardcode_shlibpath_var=unsupported
11702 link_all_deplibs=unknown
11704 module_expsym_cmds=
11705 old_archive_from_new_cmds=
11706 old_archive_from_expsyms_cmds=
11707 thread_safe_flag_spec=
11708 whole_archive_flag_spec=
11709 # include_expsyms should be a list of space-separated symbols to be *always*
11710 # included in the symbol list
11712 # exclude_expsyms can be an extended regexp of symbols to exclude
11713 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11714 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11715 # as well as any symbol that contains 'd'.
11716 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11717 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11718 # platforms (ab)use it in PIC code, but their linkers get confused if
11719 # the symbol is explicitly referenced. Since portable code cannot
11720 # rely on this symbol name, it's probably fine to never include it in
11721 # preloaded symbol tables.
11722 # Exclude shared library initialization/finalization symbols.
11723 extract_expsyms_cmds=
11726 cygwin* | mingw* | pw32* | cegcc*)
11727 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11728 # When not using gcc, we currently assume that we are using
11729 # Microsoft Visual C++.
11730 if test yes != "$GCC"; then
11735 # we just hope/assume this is gcc and not c89 (= MSVC++)
11738 openbsd* | bitrig*)
11745 # On some targets, GNU ld is compatible enough with the native linker
11746 # that we're better off using the native interface for both.
11747 lt_use_gnu_ld_interface=no
11748 if test yes = "$with_gnu_ld"; then
11751 # The AIX port of GNU ld has always aspired to compatibility
11752 # with the native linker. However, as the warning in the GNU ld
11753 # block says, versions before 2.19.5* couldn't really create working
11754 # shared libraries, regardless of the interface used.
11755 case `$LD -v 2>&1` in
11756 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11757 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11758 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11760 lt_use_gnu_ld_interface=yes
11765 lt_use_gnu_ld_interface=yes
11770 if test yes = "$lt_use_gnu_ld_interface"; then
11771 # If archive_cmds runs LD, not CC, wlarc should be empty
11774 # Set some defaults for GNU ld with shared library support. These
11775 # are reset later if shared libraries are not supported. Putting them
11776 # here allows them to be overridden if necessary.
11777 runpath_var=LD_RUN_PATH
11778 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11779 export_dynamic_flag_spec='$wl--export-dynamic'
11780 # ancient GNU ld didn't support --whole-archive et. al.
11781 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11782 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11784 whole_archive_flag_spec=
11786 supports_anon_versioning=no
11787 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11788 *GNU\ gold*) supports_anon_versioning=yes ;;
11789 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11790 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11791 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11792 *\ 2.11.*) ;; # other 2.11 versions
11793 *) supports_anon_versioning=yes ;;
11796 # See if GNU ld supports shared libraries.
11799 # On AIX/PPC, the GNU linker is very broken
11800 if test ia64 != "$host_cpu"; then
11804 *** Warning: the GNU linker, at least up to release 2.19, is reported
11805 *** to be unable to reliably create shared libraries on AIX.
11806 *** Therefore, libtool is disabling shared libraries support. If you
11807 *** really care for shared libraries, you may want to install binutils
11808 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11809 *** You will then need to restart the configuration process.
11818 # see comment about AmigaOS4 .so support
11819 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11820 archive_expsym_cmds=''
11823 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)'
11824 hardcode_libdir_flag_spec='-L$libdir'
11825 hardcode_minus_L=yes
11831 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11832 allow_undefined_flag=unsupported
11833 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11834 # support --undefined. This deserves some investigation. FIXME
11835 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11841 cygwin* | mingw* | pw32* | cegcc*)
11842 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11843 # as there is no search path for DLLs.
11844 hardcode_libdir_flag_spec='-L$libdir'
11845 export_dynamic_flag_spec='$wl--export-all-symbols'
11846 allow_undefined_flag=unsupported
11847 always_export_symbols=no
11848 enable_shared_with_static_runtimes=yes
11849 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'
11850 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11852 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11853 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11854 # If the export-symbols file already is a .def file, use it as
11855 # is; otherwise, prepend EXPORTS...
11856 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11857 cp $export_symbols $output_objdir/$soname.def;
11859 echo EXPORTS > $output_objdir/$soname.def;
11860 cat $export_symbols >> $output_objdir/$soname.def;
11862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11870 link_all_deplibs=yes
11875 hardcode_shlibpath_var=no
11876 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11877 export_dynamic_flag_spec='$wl-E'
11878 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11879 # Instead, shared libraries are loaded at an image base (0x10000000 by
11880 # default) and relocated if they conflict, which is a slow very memory
11881 # consuming and fragmenting process. To avoid this, we pick a random,
11882 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11883 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11884 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11885 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'
11888 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11890 if test linux-dietlibc = "$host_os"; then
11891 case $cc_basename in
11892 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11895 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11896 && test no = "$tmp_diet"
11898 tmp_addflag=' $pic_flag'
11899 tmp_sharedflag='-shared'
11900 case $cc_basename,$host_cpu in
11901 pgcc*) # Portland Group C compiler
11902 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'
11903 tmp_addflag=' $pic_flag'
11905 pgf77* | pgf90* | pgf95* | pgfortran*)
11906 # Portland Group f77 and f90 compilers
11907 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'
11908 tmp_addflag=' $pic_flag -Mnomain' ;;
11909 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11910 tmp_addflag=' -i_dynamic' ;;
11911 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11912 tmp_addflag=' -i_dynamic -nofor_main' ;;
11913 ifc* | ifort*) # Intel Fortran compiler
11914 tmp_addflag=' -nofor_main' ;;
11915 lf95*) # Lahey Fortran 8.1
11916 whole_archive_flag_spec=
11917 tmp_sharedflag='--shared' ;;
11918 nagfor*) # NAGFOR 5.3
11919 tmp_sharedflag='-Wl,-shared' ;;
11920 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11921 tmp_sharedflag='-qmkshrobj'
11923 nvcc*) # Cuda Compiler Driver 2.2
11924 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'
11925 compiler_needs_object=yes
11928 case `$CC -V 2>&1 | sed 5q` in
11929 *Sun\ C*) # Sun C 5.9
11930 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'
11931 compiler_needs_object=yes
11932 tmp_sharedflag='-G' ;;
11933 *Sun\ F*) # Sun Fortran 8.3
11934 tmp_sharedflag='-G' ;;
11936 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11938 if test yes = "$supports_anon_versioning"; then
11939 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11941 echo "local: *; };" >> $output_objdir/$libname.ver~
11942 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11945 case $cc_basename in
11946 xlf* | bgf* | bgxlf* | mpixlf*)
11947 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11948 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11949 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11950 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11951 if test yes = "$supports_anon_versioning"; then
11952 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11954 echo "local: *; };" >> $output_objdir/$libname.ver~
11955 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11966 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11969 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11970 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11975 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11979 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11980 *** create shared libraries on Solaris systems. Therefore, libtool
11981 *** is disabling shared libraries support. We urge you to upgrade GNU
11982 *** binutils to release 2.9.1 or newer. Another option is to modify
11983 *** your PATH or compiler configuration so that the native linker is
11984 *** used, and then restart.
11987 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11988 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11989 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11996 case `$LD -v 2>&1` in
11997 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12001 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12002 *** reliably create shared libraries on SCO systems. Therefore, libtool
12003 *** is disabling shared libraries support. We urge you to upgrade GNU
12004 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12005 *** your PATH or compiler configuration so that the native linker is
12006 *** used, and then restart.
12011 # For security reasons, it is highly recommended that you always
12012 # use absolute paths for naming shared libraries, and exclude the
12013 # DT_RUNPATH tag from executables and libraries. But doing so
12014 # requires that you compile everything twice, which is a pain.
12015 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12018 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12027 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12029 hardcode_direct=yes
12030 hardcode_shlibpath_var=no
12034 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12035 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12036 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12043 if test no = "$ld_shlibs"; then
12045 hardcode_libdir_flag_spec=
12046 export_dynamic_flag_spec=
12047 whole_archive_flag_spec=
12050 # PORTME fill in a description of your system's linker (not GNU ld)
12053 allow_undefined_flag=unsupported
12054 always_export_symbols=yes
12055 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'
12056 # Note: this linker hardcodes the directories in LIBPATH if there
12057 # are no directories specified by -L.
12058 hardcode_minus_L=yes
12059 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12060 # Neither direct hardcoding nor static linking is supported with a
12062 hardcode_direct=unsupported
12067 if test ia64 = "$host_cpu"; then
12068 # On IA64, the linker does run time linking by default, so we don't
12069 # have to do anything special.
12070 aix_use_runtimelinking=no
12071 exp_sym_flag='-Bexport'
12074 # If we're using GNU nm, then we don't want the "-C" option.
12075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12076 # Also, AIX nm treats weak defined symbols like other global
12077 # defined symbols, whereas GNU nm marks them as "W".
12078 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12079 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'
12081 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'
12083 aix_use_runtimelinking=no
12085 # Test if we are trying to use run time linking or normal
12086 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12087 # need to do runtime linking.
12088 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12089 for ld_flag in $LDFLAGS; do
12090 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12091 aix_use_runtimelinking=yes
12098 exp_sym_flag='-bexport'
12099 no_entry_flag='-bnoentry'
12102 # When large executables or shared objects are built, AIX ld can
12103 # have problems creating the table of contents. If linking a library
12104 # or program results in "error TOC overflow" add -mminimal-toc to
12105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12109 hardcode_direct=yes
12110 hardcode_direct_absolute=yes
12111 hardcode_libdir_separator=':'
12112 link_all_deplibs=yes
12113 file_list_spec='$wl-f,'
12115 if test yes = "$GCC"; then
12116 case $host_os in aix4.[012]|aix4.[012].*)
12117 # We only want to do this on AIX 4.2 and lower, the check
12118 # below for broken collect2 doesn't work under 4.3+
12119 collect2name=`$CC -print-prog-name=collect2`
12120 if test -f "$collect2name" &&
12121 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12123 # We have reworked collect2
12126 # We have old collect2
12127 hardcode_direct=unsupported
12128 # It fails to find uninstalled libraries when the uninstalled
12129 # path is not listed in the libpath. Setting hardcode_minus_L
12130 # to unsupported forces relinking
12131 hardcode_minus_L=yes
12132 hardcode_libdir_flag_spec='-L$libdir'
12133 hardcode_libdir_separator=
12137 shared_flag='-shared'
12138 if test yes = "$aix_use_runtimelinking"; then
12139 shared_flag="$shared_flag "'$wl-G'
12143 if test ia64 = "$host_cpu"; then
12144 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12145 # chokes on -Wl,-G. The following line is correct:
12148 if test yes = "$aix_use_runtimelinking"; then
12149 shared_flag='$wl-G'
12151 shared_flag='$wl-bM:SRE'
12156 export_dynamic_flag_spec='$wl-bexpall'
12157 # It seems that -bexpall does not export symbols beginning with
12158 # underscore (_), so it is better to generate a list of symbols to export.
12159 always_export_symbols=yes
12160 if test yes = "$aix_use_runtimelinking"; then
12161 # Warning - without using the other runtime loading flags (-brtl),
12162 # -berok will link without error, but may produce a broken library.
12163 allow_undefined_flag='-berok'
12164 # Determine the default libpath from the value encoded in an
12165 # empty executable.
12166 if test set = "${lt_cv_aix_libpath+set}"; then
12167 aix_libpath=$lt_cv_aix_libpath
12169 if ${lt_cv_aix_libpath_+:} false; then :
12170 $as_echo_n "(cached) " >&6
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12183 if ac_fn_c_try_link "$LINENO"; then :
12185 lt_aix_libpath_sed='
12186 /Import File Strings/,/^$/ {
12188 s/^0 *\([^ ]*\) *$/\1/
12192 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12193 # Check for a 64-bit object if we didn't find anything.
12194 if test -z "$lt_cv_aix_libpath_"; then
12195 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 if test -z "$lt_cv_aix_libpath_"; then
12201 lt_cv_aix_libpath_=/usr/lib:/lib
12206 aix_libpath=$lt_cv_aix_libpath_
12209 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12210 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
12212 if test ia64 = "$host_cpu"; then
12213 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12214 allow_undefined_flag="-z nodefs"
12215 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"
12217 # Determine the default libpath from the value encoded in an
12218 # empty executable.
12219 if test set = "${lt_cv_aix_libpath+set}"; then
12220 aix_libpath=$lt_cv_aix_libpath
12222 if ${lt_cv_aix_libpath_+:} false; then :
12223 $as_echo_n "(cached) " >&6
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12236 if ac_fn_c_try_link "$LINENO"; then :
12238 lt_aix_libpath_sed='
12239 /Import File Strings/,/^$/ {
12241 s/^0 *\([^ ]*\) *$/\1/
12245 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12246 # Check for a 64-bit object if we didn't find anything.
12247 if test -z "$lt_cv_aix_libpath_"; then
12248 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 if test -z "$lt_cv_aix_libpath_"; then
12254 lt_cv_aix_libpath_=/usr/lib:/lib
12259 aix_libpath=$lt_cv_aix_libpath_
12262 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12263 # Warning - without using the other run time loading flags,
12264 # -berok will link without error, but may produce a broken library.
12265 no_undefined_flag=' $wl-bernotok'
12266 allow_undefined_flag=' $wl-berok'
12267 if test yes = "$with_gnu_ld"; then
12268 # We only use this code for GNU lds that support --whole-archive.
12269 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12271 # Exported symbols can be pulled into shared objects from archives
12272 whole_archive_flag_spec='$convenience'
12274 archive_cmds_need_lc=yes
12275 # This is similar to how AIX traditionally builds its shared libraries.
12276 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'
12284 # see comment about AmigaOS4 .so support
12285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12286 archive_expsym_cmds=''
12289 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)'
12290 hardcode_libdir_flag_spec='-L$libdir'
12291 hardcode_minus_L=yes
12297 export_dynamic_flag_spec=-rdynamic
12300 cygwin* | mingw* | pw32* | cegcc*)
12301 # When not using gcc, we currently assume that we are using
12302 # Microsoft Visual C++.
12303 # hardcode_libdir_flag_spec is actually meaningless, as there is
12304 # no search path for DLLs.
12305 case $cc_basename in
12308 hardcode_libdir_flag_spec=' '
12309 allow_undefined_flag=unsupported
12310 always_export_symbols=yes
12312 # Tell ltmain to make .lib files, not .a files.
12314 # Tell ltmain to make .dll files, not .so files.
12316 # FIXME: Setting linknames here is a bad hack.
12317 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12318 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12319 cp "$export_symbols" "$output_objdir/$soname.def";
12320 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12322 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12324 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12326 # The linker will not automatically build a static lib if we build a DLL.
12327 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12328 enable_shared_with_static_runtimes=yes
12329 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12330 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12332 old_postinstall_cmds='chmod 644 $oldlib'
12333 postlink_cmds='lt_outputfile="@OUTPUT@"~
12334 lt_tool_outputfile="@TOOL_OUTPUT@"~
12335 case $lt_outputfile in
12338 lt_outputfile=$lt_outputfile.exe
12339 lt_tool_outputfile=$lt_tool_outputfile.exe
12342 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12343 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12344 $RM "$lt_outputfile.manifest";
12348 # Assume MSVC wrapper
12349 hardcode_libdir_flag_spec=' '
12350 allow_undefined_flag=unsupported
12351 # Tell ltmain to make .lib files, not .a files.
12353 # Tell ltmain to make .dll files, not .so files.
12355 # FIXME: Setting linknames here is a bad hack.
12356 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12357 # The linker will automatically build a .lib file if we build a DLL.
12358 old_archive_from_new_cmds='true'
12359 # FIXME: Should let the user specify the lib program.
12360 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12361 enable_shared_with_static_runtimes=yes
12366 darwin* | rhapsody*)
12369 archive_cmds_need_lc=no
12371 hardcode_automatic=yes
12372 hardcode_shlibpath_var=unsupported
12373 if test yes = "$lt_cv_ld_force_load"; then
12374 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\"`'
12377 whole_archive_flag_spec=''
12379 link_all_deplibs=yes
12380 allow_undefined_flag=$_lt_dar_allow_undefined
12381 case $cc_basename in
12382 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12383 *) _lt_dar_can_shared=$GCC ;;
12385 if test yes = "$_lt_dar_can_shared"; then
12386 output_verbose_link_cmd=func_echo_all
12387 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12388 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12389 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"
12390 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"
12399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12400 hardcode_libdir_flag_spec='-L$libdir'
12401 hardcode_shlibpath_var=no
12404 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12405 # support. Future versions do this automatically, but an explicit c++rt0.o
12406 # does not break anything, and helps significantly (at the cost of a little
12409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12410 hardcode_libdir_flag_spec='-R$libdir'
12411 hardcode_direct=yes
12412 hardcode_shlibpath_var=no
12415 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12417 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12418 hardcode_direct=yes
12419 hardcode_minus_L=yes
12420 hardcode_shlibpath_var=no
12423 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12424 freebsd* | dragonfly*)
12425 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12426 hardcode_libdir_flag_spec='-R$libdir'
12427 hardcode_direct=yes
12428 hardcode_shlibpath_var=no
12432 if test yes = "$GCC"; then
12433 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12435 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12437 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12438 hardcode_libdir_separator=:
12439 hardcode_direct=yes
12441 # hardcode_minus_L: Not really in the search PATH,
12442 # but as the default location of the library.
12443 hardcode_minus_L=yes
12444 export_dynamic_flag_spec='$wl-E'
12448 if test yes,no = "$GCC,$with_gnu_ld"; then
12449 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12451 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12453 if test no = "$with_gnu_ld"; then
12454 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12455 hardcode_libdir_separator=:
12456 hardcode_direct=yes
12457 hardcode_direct_absolute=yes
12458 export_dynamic_flag_spec='$wl-E'
12459 # hardcode_minus_L: Not really in the search PATH,
12460 # but as the default location of the library.
12461 hardcode_minus_L=yes
12466 if test yes,no = "$GCC,$with_gnu_ld"; then
12469 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12472 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12475 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12481 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12484 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12488 # Older versions of the 11.00 compiler do not understand -b yet
12489 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12491 $as_echo_n "checking if $CC understands -b... " >&6; }
12492 if ${lt_cv_prog_compiler__b+:} false; then :
12493 $as_echo_n "(cached) " >&6
12495 lt_cv_prog_compiler__b=no
12496 save_LDFLAGS=$LDFLAGS
12497 LDFLAGS="$LDFLAGS -b"
12498 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12499 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12500 # The linker can only warn and ignore the option if not recognized
12501 # So say no if there are warnings
12502 if test -s conftest.err; then
12503 # Append any errors to the config.log.
12504 cat conftest.err 1>&5
12505 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12506 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12507 if diff conftest.exp conftest.er2 >/dev/null; then
12508 lt_cv_prog_compiler__b=yes
12511 lt_cv_prog_compiler__b=yes
12515 LDFLAGS=$save_LDFLAGS
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12519 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12521 if test yes = "$lt_cv_prog_compiler__b"; then
12522 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12524 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12530 if test no = "$with_gnu_ld"; then
12531 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12532 hardcode_libdir_separator=:
12537 hardcode_shlibpath_var=no
12540 hardcode_direct=yes
12541 hardcode_direct_absolute=yes
12542 export_dynamic_flag_spec='$wl-E'
12544 # hardcode_minus_L: Not really in the search PATH,
12545 # but as the default location of the library.
12546 hardcode_minus_L=yes
12552 irix5* | irix6* | nonstopux*)
12553 if test yes = "$GCC"; then
12554 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'
12555 # Try to use the -exported_symbol ld option, if it does not
12556 # work, assume that -exports_file does not work either and
12557 # implicitly export all symbols.
12558 # This should be the same for all languages, so no per-tag cache variable.
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12560 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12561 if ${lt_cv_irix_exported_symbol+:} false; then :
12562 $as_echo_n "(cached) " >&6
12564 save_LDFLAGS=$LDFLAGS
12565 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 int foo (void) { return 0; }
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 lt_cv_irix_exported_symbol=yes
12573 lt_cv_irix_exported_symbol=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 LDFLAGS=$save_LDFLAGS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12580 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12581 if test yes = "$lt_cv_irix_exported_symbol"; then
12582 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'
12585 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'
12586 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'
12588 archive_cmds_need_lc='no'
12589 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12590 hardcode_libdir_separator=:
12592 link_all_deplibs=yes
12596 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12597 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12599 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12601 hardcode_libdir_flag_spec='-R$libdir'
12602 hardcode_direct=yes
12603 hardcode_shlibpath_var=no
12607 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12608 hardcode_direct=yes
12609 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12610 hardcode_libdir_separator=:
12611 hardcode_shlibpath_var=no
12617 openbsd* | bitrig*)
12618 if test -f /usr/libexec/ld.so; then
12619 hardcode_direct=yes
12620 hardcode_shlibpath_var=no
12621 hardcode_direct_absolute=yes
12622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12623 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12624 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12625 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12626 export_dynamic_flag_spec='$wl-E'
12628 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12629 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12637 hardcode_libdir_flag_spec='-L$libdir'
12638 hardcode_minus_L=yes
12639 allow_undefined_flag=unsupported
12640 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'
12641 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12645 if test yes = "$GCC"; then
12646 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12647 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'
12649 allow_undefined_flag=' -expect_unresolved \*'
12650 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'
12652 archive_cmds_need_lc='no'
12653 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12654 hardcode_libdir_separator=:
12657 osf4* | osf5*) # as osf3* with the addition of -msym flag
12658 if test yes = "$GCC"; then
12659 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12660 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'
12661 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12663 allow_undefined_flag=' -expect_unresolved \*'
12664 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'
12665 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~
12666 $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'
12668 # Both c and cxx compiler support -rpath directly
12669 hardcode_libdir_flag_spec='-rpath $libdir'
12671 archive_cmds_need_lc='no'
12672 hardcode_libdir_separator=:
12676 no_undefined_flag=' -z defs'
12677 if test yes = "$GCC"; then
12679 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12680 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12681 $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'
12683 case `$CC -V 2>&1` in
12686 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12687 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12688 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12692 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12693 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12694 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12698 hardcode_libdir_flag_spec='-R$libdir'
12699 hardcode_shlibpath_var=no
12701 solaris2.[0-5] | solaris2.[0-5].*) ;;
12703 # The compiler driver will combine and reorder linker options,
12704 # but understands '-z linker_flag'. GCC discards it without '$wl',
12705 # but is careful enough not to reorder.
12706 # Supported since Solaris 2.6 (maybe 2.5.1?)
12707 if test yes = "$GCC"; then
12708 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12710 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12714 link_all_deplibs=yes
12718 if test sequent = "$host_vendor"; then
12719 # Use $CC to link under sequent, because it throws in some extra .o
12720 # files that make .init and .fini sections work.
12721 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12723 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12725 hardcode_libdir_flag_spec='-L$libdir'
12726 hardcode_direct=yes
12727 hardcode_minus_L=yes
12728 hardcode_shlibpath_var=no
12732 case $host_vendor in
12734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12735 hardcode_direct=yes # is this really true???
12738 ## LD is ld it makes a PLAMLIB
12739 ## CC just makes a GrossModule.
12740 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12741 reload_cmds='$CC -r -o $output$reload_objs'
12745 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12746 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12749 runpath_var='LD_RUN_PATH'
12750 hardcode_shlibpath_var=no
12754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12755 hardcode_shlibpath_var=no
12756 export_dynamic_flag_spec='-Bexport'
12760 if test -d /usr/nec; then
12761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12762 hardcode_shlibpath_var=no
12763 runpath_var=LD_RUN_PATH
12764 hardcode_runpath_var=yes
12769 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12770 no_undefined_flag='$wl-z,text'
12771 archive_cmds_need_lc=no
12772 hardcode_shlibpath_var=no
12773 runpath_var='LD_RUN_PATH'
12775 if test yes = "$GCC"; then
12776 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12779 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12784 sysv5* | sco3.2v5* | sco5v6*)
12785 # Note: We CANNOT use -z defs as we might desire, because we do not
12786 # link with -lc, and that would cause any symbols used from libc to
12787 # always be unresolved, which means just about no library would
12788 # ever link correctly. If we're not using GNU ld we use -z text
12789 # though, which does catch some bad symbols but isn't as heavy-handed
12791 no_undefined_flag='$wl-z,text'
12792 allow_undefined_flag='$wl-z,nodefs'
12793 archive_cmds_need_lc=no
12794 hardcode_shlibpath_var=no
12795 hardcode_libdir_flag_spec='$wl-R,$libdir'
12796 hardcode_libdir_separator=':'
12797 link_all_deplibs=yes
12798 export_dynamic_flag_spec='$wl-Bexport'
12799 runpath_var='LD_RUN_PATH'
12801 if test yes = "$GCC"; then
12802 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12803 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12805 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12806 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12811 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12812 hardcode_libdir_flag_spec='-L$libdir'
12813 hardcode_shlibpath_var=no
12821 if test sni = "$host_vendor"; then
12823 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12824 export_dynamic_flag_spec='$wl-Blargedynsym'
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12831 $as_echo "$ld_shlibs" >&6; }
12832 test no = "$ld_shlibs" && can_build_shared=no
12834 with_gnu_ld=$with_gnu_ld
12851 # Do we need to explicitly link libc?
12853 case "x$archive_cmds_need_lc" in
12855 # Assume -lc should be added
12856 archive_cmds_need_lc=yes
12858 if test yes,yes = "$GCC,$enable_shared"; then
12859 case $archive_cmds in
12861 # FIXME: we may have to deal with multi-command sequences.
12864 # Test whether the compiler implicitly links with -lc since on some
12865 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12866 # to ld, don't add -lc before -lgcc.
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12868 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12869 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12870 $as_echo_n "(cached) " >&6
12873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12876 (eval $ac_compile) 2>&5
12878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12879 test $ac_status = 0; } 2>conftest.err; then
12882 libobjs=conftest.$ac_objext
12884 wl=$lt_prog_compiler_wl
12885 pic_flag=$lt_prog_compiler_pic
12891 lt_save_allow_undefined_flag=$allow_undefined_flag
12892 allow_undefined_flag=
12893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12894 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12897 test $ac_status = 0; }
12899 lt_cv_archive_cmds_need_lc=no
12901 lt_cv_archive_cmds_need_lc=yes
12903 allow_undefined_flag=$lt_save_allow_undefined_flag
12905 cat conftest.err 1>&5
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12911 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12912 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13073 if test yes = "$GCC"; then
13075 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13076 *) lt_awk_arg='/^libraries:/' ;;
13079 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13080 *) lt_sed_strip_eq='s|=/|/|g' ;;
13082 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13083 case $lt_search_path_spec in
13085 # if the path contains ";" then we assume it to be the separator
13086 # otherwise default to the standard path separator (i.e. ":") - it is
13087 # assumed that no part of a normal pathname contains ";" but that should
13088 # okay in the real world where ";" in dirpaths is itself problematic.
13089 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13092 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13095 # Ok, now we have the path, separated by spaces, we can step through it
13096 # and add multilib dir if necessary...
13097 lt_tmp_lt_search_path_spec=
13098 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13099 # ...but if some path component already ends with the multilib dir we assume
13100 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13101 case "$lt_multi_os_dir; $lt_search_path_spec " in
13102 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13106 for lt_sys_path in $lt_search_path_spec; do
13107 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13108 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13109 elif test -n "$lt_multi_os_dir"; then
13110 test -d "$lt_sys_path" && \
13111 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13114 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13115 BEGIN {RS = " "; FS = "/|\n";} {
13118 for (lt_i = NF; lt_i > 0; lt_i--) {
13119 if ($lt_i != "" && $lt_i != ".") {
13120 if ($lt_i == "..") {
13123 if (lt_count == 0) {
13124 lt_foo = "/" $lt_i lt_foo;
13131 if (lt_foo != "") { lt_freq[lt_foo]++; }
13132 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13134 # AWK program above erroneously prepends '/' to C:/dos/paths
13137 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13138 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13140 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13142 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13144 library_names_spec=
13145 libname_spec='lib$name'
13149 postuninstall_cmds=
13153 shlibpath_overrides_runpath=unknown
13155 dynamic_linker="$host_os ld.so"
13156 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13157 need_lib_prefix=unknown
13158 hardcode_into_libs=no
13160 # when you set need_version to no, make sure it does not cause -set_version
13161 # flags to be left without arguments
13162 need_version=unknown
13166 version_type=linux # correct to gnu/linux during the next big refactor
13167 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13168 shlibpath_var=LIBPATH
13170 # AIX 3 has no versioning support, so we append a major version to the name.
13171 soname_spec='$libname$release$shared_ext$major'
13175 version_type=linux # correct to gnu/linux during the next big refactor
13178 hardcode_into_libs=yes
13179 if test ia64 = "$host_cpu"; then
13180 # AIX 5 supports IA64
13181 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13182 shlibpath_var=LD_LIBRARY_PATH
13184 # With GCC up to 2.95.x, collect2 would create an import file
13185 # for dependence libraries. The import file would start with
13186 # the line '#! .'. This would cause the generated library to
13187 # depend on '.', always an invalid library. This was fixed in
13188 # development snapshots of GCC prior to 3.0.
13190 aix4 | aix4.[01] | aix4.[01].*)
13191 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13193 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13196 can_build_shared=no
13200 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13201 # soname into executable. Probably we can add versioning support to
13202 # collect2, so additional links can be useful in future.
13203 if test yes = "$aix_use_runtimelinking"; then
13204 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13205 # instead of lib<name>.a to let people know that these are not
13206 # typical AIX shared libraries.
13207 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13209 # We preserve .a as extension for shared libraries through AIX4.2
13210 # and later when we are not doing run time linking.
13211 library_names_spec='$libname$release.a $libname.a'
13212 soname_spec='$libname$release$shared_ext$major'
13214 shlibpath_var=LIBPATH
13221 # Since July 2007 AmigaOS4 officially supports .so libraries.
13222 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13223 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13226 library_names_spec='$libname.ixlibrary $libname.a'
13227 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13228 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13234 library_names_spec='$libname$shared_ext'
13235 dynamic_linker="$host_os ld.so"
13236 shlibpath_var=LIBRARY_PATH
13240 version_type=linux # correct to gnu/linux during the next big refactor
13242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13243 soname_spec='$libname$release$shared_ext$major'
13244 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13247 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13248 # the default ld.so.conf also contains /usr/contrib/lib and
13249 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13250 # libtool to hard-code these into programs
13253 cygwin* | mingw* | pw32* | cegcc*)
13254 version_type=windows
13259 case $GCC,$cc_basename in
13262 library_names_spec='$libname.dll.a'
13263 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13264 postinstall_cmds='base_file=`basename \$file`~
13265 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13266 dldir=$destdir/`dirname \$dlpath`~
13267 test -d \$dldir || mkdir -p \$dldir~
13268 $install_prog $dir/$dlname \$dldir/$dlname~
13269 chmod a+x \$dldir/$dlname~
13270 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13271 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13273 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13274 dlpath=$dir/\$dldll~
13276 shlibpath_overrides_runpath=yes
13280 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13281 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13283 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13286 # MinGW DLLs use traditional 'lib' prefix
13287 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13290 # pw32 DLLs use 'pw' prefix rather than 'lib'
13291 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13294 dynamic_linker='Win32 ld.exe'
13299 libname_spec='$name'
13300 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13301 library_names_spec='$libname.dll.lib'
13305 sys_lib_search_path_spec=
13308 for lt_path in $LIB
13311 # Let DOS variable expansion print the short 8.3 style file name.
13312 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13313 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13316 # Convert to MSYS style.
13317 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13320 # Convert to unix form, then to dos form, then back to unix form
13321 # but this time dos style (no spaces!) so that the unix form looks
13322 # like /cygdrive/c/PROGRA~1:/cygdr...
13323 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13324 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13325 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13328 sys_lib_search_path_spec=$LIB
13329 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13330 # It is most probably a Windows format PATH.
13331 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13333 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13335 # FIXME: find the short name or the path components, as spaces are
13336 # common. (e.g. "Program Files" -> "PROGRA~1")
13340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13341 postinstall_cmds='base_file=`basename \$file`~
13342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13343 dldir=$destdir/`dirname \$dlpath`~
13344 test -d \$dldir || mkdir -p \$dldir~
13345 $install_prog $dir/$dlname \$dldir/$dlname'
13346 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13347 dlpath=$dir/\$dldll~
13349 shlibpath_overrides_runpath=yes
13350 dynamic_linker='Win32 link.exe'
13354 # Assume MSVC wrapper
13355 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13356 dynamic_linker='Win32 ld.exe'
13359 # FIXME: first we should search . and the directory the executable is in
13363 darwin* | rhapsody*)
13364 dynamic_linker="$host_os dyld"
13365 version_type=darwin
13368 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13369 soname_spec='$libname$release$major$shared_ext'
13370 shlibpath_overrides_runpath=yes
13371 shlibpath_var=DYLD_LIBRARY_PATH
13372 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13374 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13375 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13379 version_type=linux # correct to gnu/linux during the next big refactor
13382 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13383 soname_spec='$libname$release$shared_ext$major'
13384 shlibpath_var=LD_LIBRARY_PATH
13387 freebsd* | dragonfly*)
13388 # DragonFly does not have aout. When/if they implement a new
13389 # versioning mechanism, adjust this.
13390 if test -x /usr/bin/objformat; then
13391 objformat=`/usr/bin/objformat`
13394 freebsd[23].*) objformat=aout ;;
13395 *) objformat=elf ;;
13398 version_type=freebsd-$objformat
13399 case $version_type in
13401 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13406 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13410 shlibpath_var=LD_LIBRARY_PATH
13413 shlibpath_overrides_runpath=yes
13415 freebsd3.[01]* | freebsdelf3.[01]*)
13416 shlibpath_overrides_runpath=yes
13417 hardcode_into_libs=yes
13419 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13420 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13421 shlibpath_overrides_runpath=no
13422 hardcode_into_libs=yes
13424 *) # from 4.6 on, and DragonFly
13425 shlibpath_overrides_runpath=yes
13426 hardcode_into_libs=yes
13432 version_type=linux # correct to gnu/linux during the next big refactor
13435 dynamic_linker="$host_os runtime_loader"
13436 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13437 soname_spec='$libname$release$shared_ext$major'
13438 shlibpath_var=LIBRARY_PATH
13439 shlibpath_overrides_runpath=no
13440 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13441 hardcode_into_libs=yes
13444 hpux9* | hpux10* | hpux11*)
13445 # Give a soname corresponding to the major version so that dld.sl refuses to
13446 # link against other versions.
13453 hardcode_into_libs=yes
13454 dynamic_linker="$host_os dld.so"
13455 shlibpath_var=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13458 soname_spec='$libname$release$shared_ext$major'
13459 if test 32 = "$HPUX_IA64_MODE"; then
13460 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13462 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13464 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13468 hardcode_into_libs=yes
13469 dynamic_linker="$host_os dld.sl"
13470 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13471 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13472 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13473 soname_spec='$libname$release$shared_ext$major'
13474 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13475 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13479 dynamic_linker="$host_os dld.sl"
13480 shlibpath_var=SHLIB_PATH
13481 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13483 soname_spec='$libname$release$shared_ext$major'
13486 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13487 postinstall_cmds='chmod 555 $lib'
13488 # or fails outright, so override atomically:
13489 install_override_mode=555
13493 version_type=linux # correct to gnu/linux during the next big refactor
13496 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13497 soname_spec='$libname$release$shared_ext$major'
13498 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13499 shlibpath_var=LD_LIBRARY_PATH
13500 shlibpath_overrides_runpath=no
13501 hardcode_into_libs=yes
13504 irix5* | irix6* | nonstopux*)
13506 nonstopux*) version_type=nonstopux ;;
13508 if test yes = "$lt_cv_prog_gnu_ld"; then
13509 version_type=linux # correct to gnu/linux during the next big refactor
13516 soname_spec='$libname$release$shared_ext$major'
13517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13519 irix5* | nonstopux*)
13520 libsuff= shlibsuff=
13523 case $LD in # libtool.m4 will add one of these switches to LD
13524 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13525 libsuff= shlibsuff= libmagic=32-bit;;
13526 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13527 libsuff=32 shlibsuff=N32 libmagic=N32;;
13528 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13529 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13530 *) libsuff= shlibsuff= libmagic=never-match;;
13534 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13535 shlibpath_overrides_runpath=no
13536 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13537 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13538 hardcode_into_libs=yes
13541 # No shared lib support for Linux oldld, aout, or coff.
13542 linux*oldld* | linux*aout* | linux*coff*)
13547 version_type=none # Android doesn't support versioned libraries.
13550 library_names_spec='$libname$release$shared_ext'
13551 soname_spec='$libname$release$shared_ext'
13553 shlibpath_var=LD_LIBRARY_PATH
13554 shlibpath_overrides_runpath=yes
13556 # This implies no fast_install, which is unacceptable.
13557 # Some rework will be needed to allow for fast_install
13558 # before this can be enabled.
13559 hardcode_into_libs=yes
13561 dynamic_linker='Android linker'
13562 # Don't embed -rpath directories since the linker doesn't support them.
13563 hardcode_libdir_flag_spec='-L$libdir'
13566 # This must be glibc/ELF.
13567 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13568 version_type=linux # correct to gnu/linux during the next big refactor
13571 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13572 soname_spec='$libname$release$shared_ext$major'
13573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13574 shlibpath_var=LD_LIBRARY_PATH
13575 shlibpath_overrides_runpath=no
13577 # Some binutils ld are patched to set DT_RUNPATH
13578 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13579 $as_echo_n "(cached) " >&6
13581 lt_cv_shlibpath_overrides_runpath=no
13582 save_LDFLAGS=$LDFLAGS
13583 save_libdir=$libdir
13584 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13585 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13597 if ac_fn_c_try_link "$LINENO"; then :
13598 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13599 lt_cv_shlibpath_overrides_runpath=yes
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 LDFLAGS=$save_LDFLAGS
13605 libdir=$save_libdir
13609 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13611 # This implies no fast_install, which is unacceptable.
13612 # Some rework will be needed to allow for fast_install
13613 # before this can be enabled.
13614 hardcode_into_libs=yes
13616 # Append ld.so.conf contents to the search path
13617 if test -f /etc/ld.so.conf; then
13618 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' ' '`
13619 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13622 # We used to test for /lib/ld.so.1 and disable shared libraries on
13623 # powerpc, because MkLinux only supported shared libraries with the
13624 # GNU dynamic linker. Since this was broken with cross compilers,
13625 # most powerpc-linux boxes support dynamic linking these days and
13626 # people can always --disable-shared, the test was removed, and we
13627 # assume the GNU/Linux dynamic linker is in use.
13628 dynamic_linker='GNU/Linux ld.so'
13635 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13636 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13638 dynamic_linker='NetBSD (a.out) ld.so'
13640 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13641 soname_spec='$libname$release$shared_ext$major'
13642 dynamic_linker='NetBSD ld.elf_so'
13644 shlibpath_var=LD_LIBRARY_PATH
13645 shlibpath_overrides_runpath=yes
13646 hardcode_into_libs=yes
13650 version_type=linux # correct to gnu/linux during the next big refactor
13651 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13652 shlibpath_var=LD_LIBRARY_PATH
13653 shlibpath_overrides_runpath=yes
13660 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13661 soname_spec='$libname$release$shared_ext$major'
13662 shlibpath_var=LD_LIBRARY_PATH
13663 shlibpath_overrides_runpath=no
13664 hardcode_into_libs=yes
13665 dynamic_linker='ldqnx.so'
13668 openbsd* | bitrig*)
13670 sys_lib_dlsearch_path_spec=/usr/lib
13672 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13677 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13678 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13679 shlibpath_var=LD_LIBRARY_PATH
13680 shlibpath_overrides_runpath=yes
13684 libname_spec='$name'
13687 library_names_spec='$libname$shared_ext $libname.a'
13688 dynamic_linker='OS/2 ld.exe'
13689 shlibpath_var=LIBPATH
13692 osf3* | osf4* | osf5*)
13696 soname_spec='$libname$release$shared_ext$major'
13697 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13698 shlibpath_var=LD_LIBRARY_PATH
13699 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13700 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13708 version_type=linux # correct to gnu/linux during the next big refactor
13711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13712 soname_spec='$libname$release$shared_ext$major'
13713 shlibpath_var=LD_LIBRARY_PATH
13714 shlibpath_overrides_runpath=yes
13715 hardcode_into_libs=yes
13716 # ldd complains unless libraries are executable
13717 postinstall_cmds='chmod +x $lib'
13722 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13723 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13724 shlibpath_var=LD_LIBRARY_PATH
13725 shlibpath_overrides_runpath=yes
13726 if test yes = "$with_gnu_ld"; then
13733 version_type=linux # correct to gnu/linux during the next big refactor
13734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13735 soname_spec='$libname$release$shared_ext$major'
13736 shlibpath_var=LD_LIBRARY_PATH
13737 case $host_vendor in
13739 shlibpath_overrides_runpath=no
13741 runpath_var=LD_RUN_PATH
13749 shlibpath_overrides_runpath=no
13750 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13756 if test -d /usr/nec; then
13757 version_type=linux # correct to gnu/linux during the next big refactor
13758 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13759 soname_spec='$libname$shared_ext.$major'
13760 shlibpath_var=LD_LIBRARY_PATH
13764 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13765 version_type=freebsd-elf
13768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13769 soname_spec='$libname$release$shared_ext$major'
13770 shlibpath_var=LD_LIBRARY_PATH
13771 shlibpath_overrides_runpath=yes
13772 hardcode_into_libs=yes
13773 if test yes = "$with_gnu_ld"; then
13774 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13776 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13779 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13783 sys_lib_dlsearch_path_spec='/usr/lib'
13787 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13788 version_type=linux # correct to gnu/linux during the next big refactor
13791 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13792 shlibpath_var=LD_LIBRARY_PATH
13793 shlibpath_overrides_runpath=no
13794 hardcode_into_libs=yes
13798 version_type=linux # correct to gnu/linux during the next big refactor
13799 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13800 soname_spec='$libname$release$shared_ext$major'
13801 shlibpath_var=LD_LIBRARY_PATH
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13809 $as_echo "$dynamic_linker" >&6; }
13810 test no = "$dynamic_linker" && can_build_shared=no
13812 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13813 if test yes = "$GCC"; then
13814 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13817 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13818 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13820 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13821 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13916 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13918 if test -n "$hardcode_libdir_flag_spec" ||
13919 test -n "$runpath_var" ||
13920 test yes = "$hardcode_automatic"; then
13922 # We can hardcode non-existent directories.
13923 if test no != "$hardcode_direct" &&
13924 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13925 # have to relink, otherwise we might link with an installed library
13926 # when we should be linking with a yet-to-be-installed one
13927 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13928 test no != "$hardcode_minus_L"; then
13929 # Linking always hardcodes the temporary library directory.
13930 hardcode_action=relink
13932 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13933 hardcode_action=immediate
13936 # We cannot hardcode anything, or else we can only hardcode existing
13938 hardcode_action=unsupported
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13941 $as_echo "$hardcode_action" >&6; }
13943 if test relink = "$hardcode_action" ||
13944 test yes = "$inherit_rpath"; then
13945 # Fast installation is not supported
13946 enable_fast_install=no
13947 elif test yes = "$shlibpath_overrides_runpath" ||
13948 test no = "$enable_shared"; then
13949 # Fast installation is not necessary
13950 enable_fast_install=needless
13958 if test yes != "$enable_dlopen"; then
13959 enable_dlopen=unknown
13960 enable_dlopen_self=unknown
13961 enable_dlopen_self_static=unknown
13968 lt_cv_dlopen=load_add_on
13970 lt_cv_dlopen_self=yes
13973 mingw* | pw32* | cegcc*)
13974 lt_cv_dlopen=LoadLibrary
13979 lt_cv_dlopen=dlopen
13984 # if libdl is installed we need to link against it
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13986 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13987 if ${ac_cv_lib_dl_dlopen+:} false; then :
13988 $as_echo_n "(cached) " >&6
13990 ac_check_lib_save_LIBS=$LIBS
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_lib_dl_dlopen=yes
14013 ac_cv_lib_dl_dlopen=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14020 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14021 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14022 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14027 lt_cv_dlopen_self=yes
14034 # Don't try to run any link tests for TPF. We know it's impossible
14035 # because TPF is a cross-compiler, and we know how we open DSOs.
14036 lt_cv_dlopen=dlopen
14038 lt_cv_dlopen_self=no
14042 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14043 if test "x$ac_cv_func_shl_load" = xyes; then :
14044 lt_cv_dlopen=shl_load
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14047 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14048 if ${ac_cv_lib_dld_shl_load+:} false; then :
14049 $as_echo_n "(cached) " >&6
14051 ac_check_lib_save_LIBS=$LIBS
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14066 return shl_load ();
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_lib_dld_shl_load=yes
14074 ac_cv_lib_dld_shl_load=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 LIBS=$ac_check_lib_save_LIBS
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14081 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14082 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14083 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14085 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14086 if test "x$ac_cv_func_dlopen" = xyes; then :
14087 lt_cv_dlopen=dlopen
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14090 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14091 if ${ac_cv_lib_dl_dlopen+:} false; then :
14092 $as_echo_n "(cached) " >&6
14094 ac_check_lib_save_LIBS=$LIBS
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_lib_dl_dlopen=yes
14117 ac_cv_lib_dl_dlopen=no
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14125 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14126 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14129 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14130 if ${ac_cv_lib_svld_dlopen+:} false; then :
14131 $as_echo_n "(cached) " >&6
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lsvld $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_lib_svld_dlopen=yes
14156 ac_cv_lib_svld_dlopen=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS=$ac_check_lib_save_LIBS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14163 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14164 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14165 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14168 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14169 if ${ac_cv_lib_dld_dld_link+:} false; then :
14170 $as_echo_n "(cached) " >&6
14172 ac_check_lib_save_LIBS=$LIBS
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14177 /* Override any GCC internal prototype to avoid an error.
14178 Use char because int might match the return type of a GCC
14179 builtin and then its argument prototype would still apply. */
14187 return dld_link ();
14192 if ac_fn_c_try_link "$LINENO"; then :
14193 ac_cv_lib_dld_dld_link=yes
14195 ac_cv_lib_dld_dld_link=no
14197 rm -f core conftest.err conftest.$ac_objext \
14198 conftest$ac_exeext conftest.$ac_ext
14199 LIBS=$ac_check_lib_save_LIBS
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14202 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14203 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14204 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14225 if test no = "$lt_cv_dlopen"; then
14231 case $lt_cv_dlopen in
14233 save_CPPFLAGS=$CPPFLAGS
14234 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14236 save_LDFLAGS=$LDFLAGS
14237 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14240 LIBS="$lt_cv_dlopen_libs $LIBS"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14243 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14244 if ${lt_cv_dlopen_self+:} false; then :
14245 $as_echo_n "(cached) " >&6
14247 if test yes = "$cross_compiling"; then :
14248 lt_cv_dlopen_self=cross
14250 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14251 lt_status=$lt_dlunknown
14252 cat > conftest.$ac_ext <<_LT_EOF
14253 #line $LINENO "configure"
14254 #include "confdefs.h"
14263 # define LT_DLGLOBAL RTLD_GLOBAL
14266 # define LT_DLGLOBAL DL_GLOBAL
14268 # define LT_DLGLOBAL 0
14272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14273 find out it does not work in some platform. */
14274 #ifndef LT_DLLAZY_OR_NOW
14276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14279 # define LT_DLLAZY_OR_NOW DL_LAZY
14282 # define LT_DLLAZY_OR_NOW RTLD_NOW
14285 # define LT_DLLAZY_OR_NOW DL_NOW
14287 # define LT_DLLAZY_OR_NOW 0
14294 /* When -fvisbility=hidden is used, assume the code has been annotated
14295 correspondingly for the symbols needed. */
14296 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14297 int fnord () __attribute__((visibility("default")));
14300 int fnord () { return 42; }
14303 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14304 int status = $lt_dlunknown;
14308 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14311 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14312 else puts (dlerror ());
14314 /* dlclose (self); */
14322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14323 (eval $ac_link) 2>&5
14325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14326 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14327 (./conftest; exit; ) >&5 2>/dev/null
14329 case x$lt_status in
14330 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14331 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14332 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14335 # compilation failed
14336 lt_cv_dlopen_self=no
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14344 $as_echo "$lt_cv_dlopen_self" >&6; }
14346 if test yes = "$lt_cv_dlopen_self"; then
14347 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14349 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14350 if ${lt_cv_dlopen_self_static+:} false; then :
14351 $as_echo_n "(cached) " >&6
14353 if test yes = "$cross_compiling"; then :
14354 lt_cv_dlopen_self_static=cross
14356 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14357 lt_status=$lt_dlunknown
14358 cat > conftest.$ac_ext <<_LT_EOF
14359 #line $LINENO "configure"
14360 #include "confdefs.h"
14369 # define LT_DLGLOBAL RTLD_GLOBAL
14372 # define LT_DLGLOBAL DL_GLOBAL
14374 # define LT_DLGLOBAL 0
14378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14379 find out it does not work in some platform. */
14380 #ifndef LT_DLLAZY_OR_NOW
14382 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14385 # define LT_DLLAZY_OR_NOW DL_LAZY
14388 # define LT_DLLAZY_OR_NOW RTLD_NOW
14391 # define LT_DLLAZY_OR_NOW DL_NOW
14393 # define LT_DLLAZY_OR_NOW 0
14400 /* When -fvisbility=hidden is used, assume the code has been annotated
14401 correspondingly for the symbols needed. */
14402 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14403 int fnord () __attribute__((visibility("default")));
14406 int fnord () { return 42; }
14409 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14410 int status = $lt_dlunknown;
14414 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14417 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14418 else puts (dlerror ());
14420 /* dlclose (self); */
14428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14429 (eval $ac_link) 2>&5
14431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14432 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14433 (./conftest; exit; ) >&5 2>/dev/null
14435 case x$lt_status in
14436 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14437 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14438 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14441 # compilation failed
14442 lt_cv_dlopen_self_static=no
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14450 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14453 CPPFLAGS=$save_CPPFLAGS
14454 LDFLAGS=$save_LDFLAGS
14459 case $lt_cv_dlopen_self in
14460 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14461 *) enable_dlopen_self=unknown ;;
14464 case $lt_cv_dlopen_self_static in
14465 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14466 *) enable_dlopen_self_static=unknown ;;
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14489 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14490 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14491 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14492 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; }
14496 # FIXME - insert some real tests, host_os isn't really good enough
14499 if test -n "$STRIP"; then
14500 striplib="$STRIP -x"
14501 old_striplib="$STRIP -S"
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503 $as_echo "yes" >&6; }
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506 $as_echo "no" >&6; }
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14511 $as_echo "no" >&6; }
14527 # Report what library types will actually be built
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14529 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14531 $as_echo "$can_build_shared" >&6; }
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14534 $as_echo_n "checking whether to build shared libraries... " >&6; }
14535 test no = "$can_build_shared" && enable_shared=no
14537 # On AIX, shared libraries and static libraries use the same namespace, and
14538 # are all built from PIC.
14541 test yes = "$enable_shared" && enable_static=no
14542 if test -n "$RANLIB"; then
14543 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14544 postinstall_cmds='$RANLIB $lib'
14549 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
14550 test yes = "$enable_shared" && enable_static=no
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14555 $as_echo "$enable_shared" >&6; }
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14558 $as_echo_n "checking whether to build static libraries... " >&6; }
14559 # Make sure either enable_shared or enable_static is yes.
14560 test yes = "$enable_shared" || enable_static=yes
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14562 $as_echo "$enable_static" >&6; }
14569 ac_cpp='$CPP $CPPFLAGS'
14570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14576 if test -n "$CXX" && ( test no != "$CXX" &&
14577 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14578 (test g++ != "$CXX"))); then
14580 ac_cpp='$CXXCPP $CPPFLAGS'
14581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14585 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14586 if test -z "$CXXCPP"; then
14587 if ${ac_cv_prog_CXXCPP+:} false; then :
14588 $as_echo_n "(cached) " >&6
14590 # Double quotes because CXXCPP needs to be expanded
14591 for CXXCPP in "$CXX -E" "/lib/cpp"
14593 ac_preproc_ok=false
14594 for ac_cxx_preproc_warn_flag in '' yes
14596 # Use a header file that comes with gcc, so configuring glibc
14597 # with a fresh cross-compiler works.
14598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14599 # <limits.h> exists even on freestanding compilers.
14600 # On the NeXT, cc -E runs the code through the compiler's parser,
14601 # not just through cpp. "Syntax error" is here to catch this case.
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14605 # include <limits.h>
14607 # include <assert.h>
14611 if ac_fn_cxx_try_cpp "$LINENO"; then :
14614 # Broken: fails on valid input.
14617 rm -f conftest.err conftest.i conftest.$ac_ext
14619 # OK, works on sane cases. Now check whether nonexistent headers
14620 # can be detected and how.
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 #include <ac_nonexistent.h>
14625 if ac_fn_cxx_try_cpp "$LINENO"; then :
14626 # Broken: success on invalid input.
14629 # Passes both tests.
14633 rm -f conftest.err conftest.i conftest.$ac_ext
14636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14637 rm -f conftest.i conftest.err conftest.$ac_ext
14638 if $ac_preproc_ok; then :
14643 ac_cv_prog_CXXCPP=$CXXCPP
14646 CXXCPP=$ac_cv_prog_CXXCPP
14648 ac_cv_prog_CXXCPP=$CXXCPP
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14651 $as_echo "$CXXCPP" >&6; }
14652 ac_preproc_ok=false
14653 for ac_cxx_preproc_warn_flag in '' yes
14655 # Use a header file that comes with gcc, so configuring glibc
14656 # with a fresh cross-compiler works.
14657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14658 # <limits.h> exists even on freestanding compilers.
14659 # On the NeXT, cc -E runs the code through the compiler's parser,
14660 # not just through cpp. "Syntax error" is here to catch this case.
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 # include <limits.h>
14666 # include <assert.h>
14670 if ac_fn_cxx_try_cpp "$LINENO"; then :
14673 # Broken: fails on valid input.
14676 rm -f conftest.err conftest.i conftest.$ac_ext
14678 # OK, works on sane cases. Now check whether nonexistent headers
14679 # can be detected and how.
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14682 #include <ac_nonexistent.h>
14684 if ac_fn_cxx_try_cpp "$LINENO"; then :
14685 # Broken: success on invalid input.
14688 # Passes both tests.
14692 rm -f conftest.err conftest.i conftest.$ac_ext
14695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14696 rm -f conftest.i conftest.err conftest.$ac_ext
14697 if $ac_preproc_ok; then :
14700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14702 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14703 See \`config.log' for more details" "$LINENO" 5; }
14707 ac_cpp='$CPP $CPPFLAGS'
14708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14713 _lt_caught_CXX_error=yes
14717 ac_cpp='$CXXCPP $CPPFLAGS'
14718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14722 archive_cmds_need_lc_CXX=no
14723 allow_undefined_flag_CXX=
14724 always_export_symbols_CXX=no
14725 archive_expsym_cmds_CXX=
14726 compiler_needs_object_CXX=no
14727 export_dynamic_flag_spec_CXX=
14728 hardcode_direct_CXX=no
14729 hardcode_direct_absolute_CXX=no
14730 hardcode_libdir_flag_spec_CXX=
14731 hardcode_libdir_separator_CXX=
14732 hardcode_minus_L_CXX=no
14733 hardcode_shlibpath_var_CXX=unsupported
14734 hardcode_automatic_CXX=no
14735 inherit_rpath_CXX=no
14737 module_expsym_cmds_CXX=
14738 link_all_deplibs_CXX=unknown
14739 old_archive_cmds_CXX=$old_archive_cmds
14740 reload_flag_CXX=$reload_flag
14741 reload_cmds_CXX=$reload_cmds
14742 no_undefined_flag_CXX=
14743 whole_archive_flag_spec_CXX=
14744 enable_shared_with_static_runtimes_CXX=no
14746 # Source file extension for C++ test sources.
14749 # Object file extension for compiled C++ test sources.
14753 # No sense in running all these tests if we already determined that
14754 # the CXX compiler isn't working. Some variables (like enable_shared)
14755 # are currently assumed to apply to all compilers on this platform,
14756 # and will be corrupted by setting them based on a non-working compiler.
14757 if test yes != "$_lt_caught_CXX_error"; then
14758 # Code to be used in simple compile tests
14759 lt_simple_compile_test_code="int some_variable = 0;"
14761 # Code to be used in simple link tests
14762 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14764 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14771 # If no C compiler was specified, use CC.
14774 # If no C compiler flags were specified, use CFLAGS.
14775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14777 # Allow CC to be a program name with arguments.
14781 # save warnings/boilerplate of simple test code
14782 ac_outfile=conftest.$ac_objext
14783 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14784 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14785 _lt_compiler_boilerplate=`cat conftest.err`
14788 ac_outfile=conftest.$ac_objext
14789 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14790 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14791 _lt_linker_boilerplate=`cat conftest.err`
14795 # Allow CC to be a program name with arguments.
14797 lt_save_CFLAGS=$CFLAGS
14801 lt_save_with_gnu_ld=$with_gnu_ld
14802 lt_save_path_LD=$lt_cv_path_LD
14803 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14804 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14806 $as_unset lt_cv_prog_gnu_ld
14808 if test -n "${lt_cv_path_LDCXX+set}"; then
14809 lt_cv_path_LD=$lt_cv_path_LDCXX
14811 $as_unset lt_cv_path_LD
14813 test -z "${LDCXX+set}" || LD=$LDCXX
14818 for cc_temp in $compiler""; do
14820 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14821 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14826 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14829 if test -n "$compiler"; then
14830 # We don't want -fno-exception when compiling C++ code, so set the
14831 # no_builtin_flag separately
14832 if test yes = "$GXX"; then
14833 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14835 lt_prog_compiler_no_builtin_flag_CXX=
14838 if test yes = "$GXX"; then
14839 # Set up default GNU C++ configuration
14843 # Check whether --with-gnu-ld was given.
14844 if test "${with_gnu_ld+set}" = set; then :
14845 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14851 if test yes = "$GCC"; then
14852 # Check if gcc -print-prog-name=ld gives a path.
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14854 $as_echo_n "checking for ld used by $CC... " >&6; }
14857 # gcc leaves a trailing carriage return, which upsets mingw
14858 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14860 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14863 # Accept absolute paths.
14865 re_direlt='/[^/][^/]*/\.\./'
14866 # Canonicalize the pathname of ld
14867 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14868 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14869 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14871 test -z "$LD" && LD=$ac_prog
14874 # If it fails, then pretend we aren't using GCC.
14878 # If it is relative, then search for the first ld in PATH.
14879 with_gnu_ld=unknown
14882 elif test yes = "$with_gnu_ld"; then
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14884 $as_echo_n "checking for GNU ld... " >&6; }
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14887 $as_echo_n "checking for non-GNU ld... " >&6; }
14889 if ${lt_cv_path_LD+:} false; then :
14890 $as_echo_n "(cached) " >&6
14892 if test -z "$LD"; then
14893 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14894 for ac_dir in $PATH; do
14896 test -z "$ac_dir" && ac_dir=.
14897 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14898 lt_cv_path_LD=$ac_dir/$ac_prog
14899 # Check to see if the program is GNU ld. I'd rather use --version,
14900 # but apparently some variants of GNU ld only accept -v.
14901 # Break only if it was the GNU/non-GNU ld that we prefer.
14902 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14903 *GNU* | *'with BFD'*)
14904 test no != "$with_gnu_ld" && break
14907 test yes != "$with_gnu_ld" && break
14914 lt_cv_path_LD=$LD # Let the user override the test with a path.
14919 if test -n "$LD"; then
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14921 $as_echo "$LD" >&6; }
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924 $as_echo "no" >&6; }
14926 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14928 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14929 if ${lt_cv_prog_gnu_ld+:} false; then :
14930 $as_echo_n "(cached) " >&6
14932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14933 case `$LD -v 2>&1 </dev/null` in
14934 *GNU* | *'with BFD'*)
14935 lt_cv_prog_gnu_ld=yes
14938 lt_cv_prog_gnu_ld=no
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14943 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14944 with_gnu_ld=$lt_cv_prog_gnu_ld
14952 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14953 # archiving commands below assume that GNU ld is being used.
14954 if test yes = "$with_gnu_ld"; then
14955 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14956 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'
14958 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14959 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14961 # If archive_cmds runs LD, not CC, wlarc should be empty
14962 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14963 # investigate it a little bit more. (MM)
14966 # ancient GNU ld didn't support --whole-archive et. al.
14967 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14968 $GREP 'no-whole-archive' > /dev/null; then
14969 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14971 whole_archive_flag_spec_CXX=
14977 # A generic and very simple default shared library creation
14978 # command for GNU C++ for the case where it uses the native
14979 # linker, instead of GNU ld. If possible, this setting should
14980 # overridden to take advantage of the native linker features on
14981 # the platform it is being used on.
14982 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14985 # Commands to make compiler produce verbose output that lists
14986 # what "hidden" libraries, object files and flags are used when
14987 # linking a shared library.
14988 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14996 # PORTME: fill in a description of your system's C++ link characteristics
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14998 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15002 # FIXME: insert proper C++ library support
15006 if test ia64 = "$host_cpu"; then
15007 # On IA64, the linker does run time linking by default, so we don't
15008 # have to do anything special.
15009 aix_use_runtimelinking=no
15010 exp_sym_flag='-Bexport'
15013 aix_use_runtimelinking=no
15015 # Test if we are trying to use run time linking or normal
15016 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15017 # need to do runtime linking.
15018 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15019 for ld_flag in $LDFLAGS; do
15022 aix_use_runtimelinking=yes
15030 exp_sym_flag='-bexport'
15031 no_entry_flag='-bnoentry'
15034 # When large executables or shared objects are built, AIX ld can
15035 # have problems creating the table of contents. If linking a library
15036 # or program results in "error TOC overflow" add -mminimal-toc to
15037 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15038 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15040 archive_cmds_CXX=''
15041 hardcode_direct_CXX=yes
15042 hardcode_direct_absolute_CXX=yes
15043 hardcode_libdir_separator_CXX=':'
15044 link_all_deplibs_CXX=yes
15045 file_list_spec_CXX='$wl-f,'
15047 if test yes = "$GXX"; then
15048 case $host_os in aix4.[012]|aix4.[012].*)
15049 # We only want to do this on AIX 4.2 and lower, the check
15050 # below for broken collect2 doesn't work under 4.3+
15051 collect2name=`$CC -print-prog-name=collect2`
15052 if test -f "$collect2name" &&
15053 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15055 # We have reworked collect2
15058 # We have old collect2
15059 hardcode_direct_CXX=unsupported
15060 # It fails to find uninstalled libraries when the uninstalled
15061 # path is not listed in the libpath. Setting hardcode_minus_L
15062 # to unsupported forces relinking
15063 hardcode_minus_L_CXX=yes
15064 hardcode_libdir_flag_spec_CXX='-L$libdir'
15065 hardcode_libdir_separator_CXX=
15068 shared_flag='-shared'
15069 if test yes = "$aix_use_runtimelinking"; then
15070 shared_flag=$shared_flag' $wl-G'
15074 if test ia64 = "$host_cpu"; then
15075 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15076 # chokes on -Wl,-G. The following line is correct:
15079 if test yes = "$aix_use_runtimelinking"; then
15080 shared_flag='$wl-G'
15082 shared_flag='$wl-bM:SRE'
15087 export_dynamic_flag_spec_CXX='$wl-bexpall'
15088 # It seems that -bexpall does not export symbols beginning with
15089 # underscore (_), so it is better to generate a list of symbols to
15091 always_export_symbols_CXX=yes
15092 if test yes = "$aix_use_runtimelinking"; then
15093 # Warning - without using the other runtime loading flags (-brtl),
15094 # -berok will link without error, but may produce a broken library.
15095 allow_undefined_flag_CXX='-berok'
15096 # Determine the default libpath from the value encoded in an empty
15098 if test set = "${lt_cv_aix_libpath+set}"; then
15099 aix_libpath=$lt_cv_aix_libpath
15101 if ${lt_cv_aix_libpath__CXX+:} false; then :
15102 $as_echo_n "(cached) " >&6
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15115 if ac_fn_cxx_try_link "$LINENO"; then :
15117 lt_aix_libpath_sed='
15118 /Import File Strings/,/^$/ {
15120 s/^0 *\([^ ]*\) *$/\1/
15124 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15125 # Check for a 64-bit object if we didn't find anything.
15126 if test -z "$lt_cv_aix_libpath__CXX"; then
15127 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 if test -z "$lt_cv_aix_libpath__CXX"; then
15133 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15138 aix_libpath=$lt_cv_aix_libpath__CXX
15141 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15143 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
15145 if test ia64 = "$host_cpu"; then
15146 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15147 allow_undefined_flag_CXX="-z nodefs"
15148 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"
15150 # Determine the default libpath from the value encoded in an
15151 # empty executable.
15152 if test set = "${lt_cv_aix_libpath+set}"; then
15153 aix_libpath=$lt_cv_aix_libpath
15155 if ${lt_cv_aix_libpath__CXX+:} false; then :
15156 $as_echo_n "(cached) " >&6
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15169 if ac_fn_cxx_try_link "$LINENO"; then :
15171 lt_aix_libpath_sed='
15172 /Import File Strings/,/^$/ {
15174 s/^0 *\([^ ]*\) *$/\1/
15178 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15179 # Check for a 64-bit object if we didn't find anything.
15180 if test -z "$lt_cv_aix_libpath__CXX"; then
15181 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 if test -z "$lt_cv_aix_libpath__CXX"; then
15187 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15192 aix_libpath=$lt_cv_aix_libpath__CXX
15195 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15196 # Warning - without using the other run time loading flags,
15197 # -berok will link without error, but may produce a broken library.
15198 no_undefined_flag_CXX=' $wl-bernotok'
15199 allow_undefined_flag_CXX=' $wl-berok'
15200 if test yes = "$with_gnu_ld"; then
15201 # We only use this code for GNU lds that support --whole-archive.
15202 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15204 # Exported symbols can be pulled into shared objects from archives
15205 whole_archive_flag_spec_CXX='$convenience'
15207 archive_cmds_need_lc_CXX=yes
15208 # This is similar to how AIX traditionally builds its shared
15210 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'
15216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15217 allow_undefined_flag_CXX=unsupported
15218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15219 # support --undefined. This deserves some investigation. FIXME
15220 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15227 case $cc_basename in
15229 # FIXME: insert proper C++ library support
15235 cygwin* | mingw* | pw32* | cegcc*)
15236 case $GXX,$cc_basename in
15239 # hardcode_libdir_flag_spec is actually meaningless, as there is
15240 # no search path for DLLs.
15241 hardcode_libdir_flag_spec_CXX=' '
15242 allow_undefined_flag_CXX=unsupported
15243 always_export_symbols_CXX=yes
15244 file_list_spec_CXX='@'
15245 # Tell ltmain to make .lib files, not .a files.
15247 # Tell ltmain to make .dll files, not .so files.
15249 # FIXME: Setting linknames here is a bad hack.
15250 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15251 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15252 cp "$export_symbols" "$output_objdir/$soname.def";
15253 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15255 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15257 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15259 # The linker will not automatically build a static lib if we build a DLL.
15260 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15261 enable_shared_with_static_runtimes_CXX=yes
15263 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15264 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15265 lt_tool_outputfile="@TOOL_OUTPUT@"~
15266 case $lt_outputfile in
15269 lt_outputfile=$lt_outputfile.exe
15270 lt_tool_outputfile=$lt_tool_outputfile.exe
15273 func_to_tool_file "$lt_outputfile"~
15274 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15275 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15276 $RM "$lt_outputfile.manifest";
15281 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15282 # as there is no search path for DLLs.
15283 hardcode_libdir_flag_spec_CXX='-L$libdir'
15284 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15285 allow_undefined_flag_CXX=unsupported
15286 always_export_symbols_CXX=no
15287 enable_shared_with_static_runtimes_CXX=yes
15289 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15290 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'
15291 # If the export-symbols file already is a .def file, use it as
15292 # is; otherwise, prepend EXPORTS...
15293 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15294 cp $export_symbols $output_objdir/$soname.def;
15296 echo EXPORTS > $output_objdir/$soname.def;
15297 cat $export_symbols >> $output_objdir/$soname.def;
15299 $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'
15306 darwin* | rhapsody*)
15309 archive_cmds_need_lc_CXX=no
15310 hardcode_direct_CXX=no
15311 hardcode_automatic_CXX=yes
15312 hardcode_shlibpath_var_CXX=unsupported
15313 if test yes = "$lt_cv_ld_force_load"; then
15314 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\"`'
15317 whole_archive_flag_spec_CXX=''
15319 link_all_deplibs_CXX=yes
15320 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15321 case $cc_basename in
15322 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15323 *) _lt_dar_can_shared=$GCC ;;
15325 if test yes = "$_lt_dar_can_shared"; then
15326 output_verbose_link_cmd=func_echo_all
15327 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"
15328 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15329 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"
15330 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"
15331 if test yes != "$lt_cv_apple_cc_single_mod"; then
15332 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"
15333 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"
15343 case $cc_basename in
15345 # FIXME: insert proper C++ library support
15349 # Green Hills C++ Compiler
15350 # FIXME: insert proper C++ library support
15354 # FIXME: insert proper C++ library support
15361 # C++ shared libraries reported to be fairly broken before
15367 archive_cmds_need_lc_CXX=no
15370 freebsd* | dragonfly*)
15371 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15377 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15378 link_all_deplibs_CXX=yes
15382 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15383 hardcode_libdir_separator_CXX=:
15384 export_dynamic_flag_spec_CXX='$wl-E'
15385 hardcode_direct_CXX=yes
15386 hardcode_minus_L_CXX=yes # Not in the search PATH,
15387 # but as the default
15388 # location of the library.
15390 case $cc_basename in
15392 # FIXME: insert proper C++ library support
15396 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15397 # Commands to make compiler produce verbose output that lists
15398 # what "hidden" libraries, object files and flags are used when
15399 # linking a shared library.
15401 # There doesn't appear to be a way to prevent this compiler from
15402 # explicitly linking system object files so we need to strip them
15403 # from the output so that they don't get included in the library
15405 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"'
15408 if test yes = "$GXX"; then
15409 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15411 # FIXME: insert proper C++ library support
15419 if test no = "$with_gnu_ld"; then
15420 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15421 hardcode_libdir_separator_CXX=:
15427 export_dynamic_flag_spec_CXX='$wl-E'
15433 hardcode_direct_CXX=no
15434 hardcode_shlibpath_var_CXX=no
15437 hardcode_direct_CXX=yes
15438 hardcode_direct_absolute_CXX=yes
15439 hardcode_minus_L_CXX=yes # Not in the search PATH,
15440 # but as the default
15441 # location of the library.
15445 case $cc_basename in
15447 # FIXME: insert proper C++ library support
15453 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15456 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15459 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15462 # Commands to make compiler produce verbose output that lists
15463 # what "hidden" libraries, object files and flags are used when
15464 # linking a shared library.
15466 # There doesn't appear to be a way to prevent this compiler from
15467 # explicitly linking system object files so we need to strip them
15468 # from the output so that they don't get included in the library
15470 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"'
15473 if test yes = "$GXX"; then
15474 if test no = "$with_gnu_ld"; then
15477 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15480 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15483 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'
15488 # FIXME: insert proper C++ library support
15496 hardcode_direct_CXX=no
15497 hardcode_shlibpath_var_CXX=no
15498 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15499 export_dynamic_flag_spec_CXX='$wl-E'
15500 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15501 # Instead, shared libraries are loaded at an image base (0x10000000 by
15502 # default) and relocated if they conflict, which is a slow very memory
15503 # consuming and fragmenting process. To avoid this, we pick a random,
15504 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15505 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15506 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'
15507 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'
15510 case $cc_basename in
15513 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'
15515 # Archives containing C++ object files must be created using
15516 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15517 # necessary to make sure instantiated templates are included
15519 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15522 if test yes = "$GXX"; then
15523 if test no = "$with_gnu_ld"; then
15524 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'
15526 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'
15529 link_all_deplibs_CXX=yes
15532 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15533 hardcode_libdir_separator_CXX=:
15534 inherit_rpath_CXX=yes
15537 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15538 case $cc_basename in
15540 # Kuck and Associates, Inc. (KAI) C++ Compiler
15542 # KCC will only create a shared library if the output file
15543 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15544 # to its proper name (with version) after linking.
15545 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'
15546 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'
15547 # Commands to make compiler produce verbose output that lists
15548 # what "hidden" libraries, object files and flags are used when
15549 # linking a shared library.
15551 # There doesn't appear to be a way to prevent this compiler from
15552 # explicitly linking system object files so we need to strip them
15553 # from the output so that they don't get included in the library
15555 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"'
15557 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15558 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15560 # Archives containing C++ object files must be created using
15561 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15562 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15567 # version 8.0 and above of icpc choke on multiply defined symbols
15568 # if we add $predep_objects and $postdep_objects, however 7.1 and
15569 # earlier do not add the objects themselves.
15570 case `$CC -V 2>&1` in
15572 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15573 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'
15575 *) # Version 8.0 or newer
15578 ia64*) tmp_idyn=' -i_dynamic';;
15580 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15581 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'
15584 archive_cmds_need_lc_CXX=no
15585 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15586 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15587 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15590 # Portland Group C++ compiler
15592 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15593 prelink_cmds_CXX='tpldir=Template.dir~
15595 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15596 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15597 old_archive_cmds_CXX='tpldir=Template.dir~
15599 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15600 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15602 archive_cmds_CXX='tpldir=Template.dir~
15604 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15605 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15606 archive_expsym_cmds_CXX='tpldir=Template.dir~
15608 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15609 $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'
15611 *) # Version 6 and above use weak symbols
15612 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15613 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'
15617 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15618 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15619 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'
15623 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15624 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'
15626 runpath_var=LD_RUN_PATH
15627 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15628 hardcode_libdir_separator_CXX=:
15630 # Commands to make compiler produce verbose output that lists
15631 # what "hidden" libraries, object files and flags are used when
15632 # linking a shared library.
15634 # There doesn't appear to be a way to prevent this compiler from
15635 # explicitly linking system object files so we need to strip them
15636 # from the output so that they don't get included in the library
15638 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'
15640 xl* | mpixl* | bgxl*)
15641 # IBM XL 8.0 on PPC, with GNU ld
15642 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15643 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15644 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15645 if test yes = "$supports_anon_versioning"; then
15646 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15647 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15648 echo "local: *; };" >> $output_objdir/$libname.ver~
15649 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15653 case `$CC -V 2>&1 | sed 5q` in
15656 no_undefined_flag_CXX=' -zdefs'
15657 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15658 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'
15659 hardcode_libdir_flag_spec_CXX='-R$libdir'
15660 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'
15661 compiler_needs_object_CXX=yes
15663 # Not sure whether something based on
15664 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15666 output_verbose_link_cmd='func_echo_all'
15668 # Archives containing C++ object files must be created using
15669 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15670 # necessary to make sure instantiated templates are included
15672 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15680 # FIXME: insert proper C++ library support
15685 # FIXME: insert proper C++ library support
15690 case $cc_basename in
15692 # FIXME: insert proper C++ library support
15696 # FIXME: insert proper C++ library support
15703 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15704 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15706 hardcode_libdir_flag_spec_CXX='-R$libdir'
15707 hardcode_direct_CXX=yes
15708 hardcode_shlibpath_var_CXX=no
15710 # Workaround some broken pre-1.5 toolchains
15711 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15718 openbsd* | bitrig*)
15719 if test -f /usr/libexec/ld.so; then
15720 hardcode_direct_CXX=yes
15721 hardcode_shlibpath_var_CXX=no
15722 hardcode_direct_absolute_CXX=yes
15723 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15724 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15726 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15727 export_dynamic_flag_spec_CXX='$wl-E'
15728 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15730 output_verbose_link_cmd=func_echo_all
15736 osf3* | osf4* | osf5*)
15737 case $cc_basename in
15739 # Kuck and Associates, Inc. (KAI) C++ Compiler
15741 # KCC will only create a shared library if the output file
15742 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15743 # to its proper name (with version) after linking.
15744 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'
15746 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15747 hardcode_libdir_separator_CXX=:
15749 # Archives containing C++ object files must be created using
15750 # the KAI C++ compiler.
15752 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15753 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15757 # Rational C++ 2.4.1
15758 # FIXME: insert proper C++ library support
15764 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15765 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'
15766 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15769 allow_undefined_flag_CXX=' -expect_unresolved \*'
15770 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'
15771 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15772 echo "-hidden">> $lib.exp~
15773 $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~
15775 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15779 hardcode_libdir_separator_CXX=:
15781 # Commands to make compiler produce verbose output that lists
15782 # what "hidden" libraries, object files and flags are used when
15783 # linking a shared library.
15785 # There doesn't appear to be a way to prevent this compiler from
15786 # explicitly linking system object files so we need to strip them
15787 # from the output so that they don't get included in the library
15789 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"'
15792 if test yes,no = "$GXX,$with_gnu_ld"; then
15793 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15796 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'
15799 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'
15803 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15804 hardcode_libdir_separator_CXX=:
15806 # Commands to make compiler produce verbose output that lists
15807 # what "hidden" libraries, object files and flags are used when
15808 # linking a shared library.
15809 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15812 # FIXME: insert proper C++ library support
15820 # FIXME: insert proper C++ library support
15825 case $cc_basename in
15828 # FIXME: insert proper C++ library support
15833 # FIXME: insert proper C++ library support
15837 # FIXME: insert proper C++ library support
15844 case $cc_basename in
15846 # Sun C++ 4.2, 5.x and Centerline C++
15847 archive_cmds_need_lc_CXX=yes
15848 no_undefined_flag_CXX=' -zdefs'
15849 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15850 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15851 $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'
15853 hardcode_libdir_flag_spec_CXX='-R$libdir'
15854 hardcode_shlibpath_var_CXX=no
15856 solaris2.[0-5] | solaris2.[0-5].*) ;;
15858 # The compiler driver will combine and reorder linker options,
15859 # but understands '-z linker_flag'.
15860 # Supported since Solaris 2.6 (maybe 2.5.1?)
15861 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15864 link_all_deplibs_CXX=yes
15866 output_verbose_link_cmd='func_echo_all'
15868 # Archives containing C++ object files must be created using
15869 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15870 # necessary to make sure instantiated templates are included
15872 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15875 # Green Hills C++ Compiler
15876 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15878 # The C++ compiler must be used to create the archive.
15879 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15882 # GNU C++ compiler with Solaris linker
15883 if test yes,no = "$GXX,$with_gnu_ld"; then
15884 no_undefined_flag_CXX=' $wl-z ${wl}defs'
15885 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15886 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15887 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15888 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15890 # Commands to make compiler produce verbose output that lists
15891 # what "hidden" libraries, object files and flags are used when
15892 # linking a shared library.
15893 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15895 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15897 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15898 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15899 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15901 # Commands to make compiler produce verbose output that lists
15902 # what "hidden" libraries, object files and flags are used when
15903 # linking a shared library.
15904 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15907 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15909 solaris2.[0-5] | solaris2.[0-5].*) ;;
15911 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15919 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15920 no_undefined_flag_CXX='$wl-z,text'
15921 archive_cmds_need_lc_CXX=no
15922 hardcode_shlibpath_var_CXX=no
15923 runpath_var='LD_RUN_PATH'
15925 case $cc_basename in
15927 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15928 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15931 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15932 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15937 sysv5* | sco3.2v5* | sco5v6*)
15938 # Note: We CANNOT use -z defs as we might desire, because we do not
15939 # link with -lc, and that would cause any symbols used from libc to
15940 # always be unresolved, which means just about no library would
15941 # ever link correctly. If we're not using GNU ld we use -z text
15942 # though, which does catch some bad symbols but isn't as heavy-handed
15944 no_undefined_flag_CXX='$wl-z,text'
15945 allow_undefined_flag_CXX='$wl-z,nodefs'
15946 archive_cmds_need_lc_CXX=no
15947 hardcode_shlibpath_var_CXX=no
15948 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15949 hardcode_libdir_separator_CXX=':'
15950 link_all_deplibs_CXX=yes
15951 export_dynamic_flag_spec_CXX='$wl-Bexport'
15952 runpath_var='LD_RUN_PATH'
15954 case $cc_basename in
15956 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15957 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15958 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15959 '"$old_archive_cmds_CXX"
15960 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15961 '"$reload_cmds_CXX"
15964 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15965 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15971 case $cc_basename in
15973 # NonStop-UX NCC 3.20
15974 # FIXME: insert proper C++ library support
15978 # FIXME: insert proper C++ library support
15985 # FIXME: insert proper C++ library support
15990 # FIXME: insert proper C++ library support
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15996 $as_echo "$ld_shlibs_CXX" >&6; }
15997 test no = "$ld_shlibs_CXX" && can_build_shared=no
16003 ## There is no encapsulation within the following macros, do not change
16004 ## the running order or otherwise move them around unless you know exactly
16005 ## what you are doing...
16006 # Dependencies to place before and after the object being linked:
16007 predep_objects_CXX=
16008 postdep_objects_CXX=
16011 compiler_lib_search_path_CXX=
16013 cat > conftest.$ac_ext <<_LT_EOF
16017 Foo (void) { a = 0; }
16024 _lt_libdeps_save_CFLAGS=$CFLAGS
16025 case "$CC $CFLAGS " in #(
16026 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16027 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16028 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16032 (eval $ac_compile) 2>&5
16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16035 test $ac_status = 0; }; then
16036 # Parse the compiler output and extract the necessary
16037 # objects, libraries and library flags.
16039 # Sentinel used to keep track of whether or not we are before
16040 # the conftest object file.
16041 pre_test_object_deps_done=no
16043 for p in `eval "$output_verbose_link_cmd"`; do
16047 # Some compilers place space between "-{L,R}" and the path.
16048 # Remove the space.
16049 if test x-L = "$p" ||
16050 test x-R = "$p"; then
16055 # Expand the sysroot to ease extracting the directories later.
16056 if test -z "$prev"; then
16058 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16059 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16060 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16064 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16066 if test no = "$pre_test_object_deps_done"; then
16069 # Internal compiler library paths should come after those
16070 # provided the user. The postdeps already come after the
16071 # user supplied libs so there is no need to process them.
16072 if test -z "$compiler_lib_search_path_CXX"; then
16073 compiler_lib_search_path_CXX=$prev$p
16075 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16078 # The "-l" case would never come before the object being
16079 # linked, so don't bother handling this case.
16082 if test -z "$postdeps_CXX"; then
16083 postdeps_CXX=$prev$p
16085 postdeps_CXX="${postdeps_CXX} $prev$p"
16091 *.lto.$objext) ;; # Ignore GCC LTO objects
16093 # This assumes that the test object file only shows up
16094 # once in the compiler output.
16095 if test "$p" = "conftest.$objext"; then
16096 pre_test_object_deps_done=yes
16100 if test no = "$pre_test_object_deps_done"; then
16101 if test -z "$predep_objects_CXX"; then
16102 predep_objects_CXX=$p
16104 predep_objects_CXX="$predep_objects_CXX $p"
16107 if test -z "$postdep_objects_CXX"; then
16108 postdep_objects_CXX=$p
16110 postdep_objects_CXX="$postdep_objects_CXX $p"
16115 *) ;; # Ignore the rest.
16123 echo "libtool.m4: error: problem compiling CXX test program"
16126 $RM -f confest.$objext
16127 CFLAGS=$_lt_libdeps_save_CFLAGS
16129 # PORTME: override above test on systems where it is broken
16132 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16133 # hack all around it, let's just trust "g++" to DTRT.
16134 predep_objects_CXX=
16135 postdep_objects_CXX=
16140 case `$CC -V 2>&1 | sed 5q` in
16144 # The more standards-conforming stlport4 library is
16145 # incompatible with the Cstd library. Avoid specifying
16146 # it if it's in CXXFLAGS. Ignore libCrun as
16147 # -library=stlport4 depends on it.
16148 case " $CXX $CXXFLAGS " in
16149 *" -library=stlport4 "*)
16150 solaris_use_stlport4=yes
16154 if test yes != "$solaris_use_stlport4"; then
16155 postdeps_CXX='-library=Cstd -library=Crun'
16162 case $cc_basename in
16164 # The more standards-conforming stlport4 library is
16165 # incompatible with the Cstd library. Avoid specifying
16166 # it if it's in CXXFLAGS. Ignore libCrun as
16167 # -library=stlport4 depends on it.
16168 case " $CXX $CXXFLAGS " in
16169 *" -library=stlport4 "*)
16170 solaris_use_stlport4=yes
16174 # Adding this requires a known-good setup of shared libraries for
16175 # Sun compiler versions before 5.6, else PIC objects from an old
16176 # archive will be linked into the output, leading to subtle bugs.
16177 if test yes != "$solaris_use_stlport4"; then
16178 postdeps_CXX='-library=Cstd -library=Crun'
16186 case " $postdeps_CXX " in
16187 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16189 compiler_lib_search_dirs_CXX=
16190 if test -n "${compiler_lib_search_path_CXX}"; then
16191 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16224 lt_prog_compiler_wl_CXX=
16225 lt_prog_compiler_pic_CXX=
16226 lt_prog_compiler_static_CXX=
16229 # C++ specific cases for pic, static, wl, etc.
16230 if test yes = "$GXX"; then
16231 lt_prog_compiler_wl_CXX='-Wl,'
16232 lt_prog_compiler_static_CXX='-static'
16236 # All AIX code is PIC.
16237 if test ia64 = "$host_cpu"; then
16238 # AIX 5 now supports IA64 processor
16239 lt_prog_compiler_static_CXX='-Bstatic'
16241 lt_prog_compiler_pic_CXX='-fPIC'
16247 # see comment about AmigaOS4 .so support
16248 lt_prog_compiler_pic_CXX='-fPIC'
16251 # FIXME: we need at least 68020 code to build shared libraries, but
16252 # adding the '-m68020' flag to GCC prevents building anything better,
16254 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16259 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16260 # PIC is the default for these OSes.
16262 mingw* | cygwin* | os2* | pw32* | cegcc*)
16263 # This hack is so that the source file can tell whether it is being
16264 # built for inclusion in a dll (and should export symbols for example).
16265 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16266 # (--disable-auto-import) libraries
16267 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16269 darwin* | rhapsody*)
16270 # PIC is the default on this platform
16271 # Common symbols not allowed in MH_DYLIB files
16272 lt_prog_compiler_pic_CXX='-fno-common'
16275 # DJGPP does not support shared libraries at all
16276 lt_prog_compiler_pic_CXX=
16279 # PIC is the default for Haiku.
16280 # The "-static" flag exists, but is broken.
16281 lt_prog_compiler_static_CXX=
16284 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16285 # Instead, we relocate shared libraries at runtime.
16288 if test -d /usr/nec; then
16289 lt_prog_compiler_pic_CXX=-Kconform_pic
16293 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16294 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16295 # sets the default TLS model and affects inlining.
16300 lt_prog_compiler_pic_CXX='-fPIC'
16305 # QNX uses GNU C++, but need to define -shared option too, otherwise
16306 # it will coredump.
16307 lt_prog_compiler_pic_CXX='-fPIC -shared'
16310 lt_prog_compiler_pic_CXX='-fPIC'
16316 # All AIX code is PIC.
16317 if test ia64 = "$host_cpu"; then
16318 # AIX 5 now supports IA64 processor
16319 lt_prog_compiler_static_CXX='-Bstatic'
16321 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16325 case $cc_basename in
16327 # Green Hills C++ Compiler
16328 # _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"
16332 mingw* | cygwin* | os2* | pw32* | cegcc*)
16333 # This hack is so that the source file can tell whether it is being
16334 # built for inclusion in a dll (and should export symbols for example).
16335 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16338 case $cc_basename in
16340 lt_prog_compiler_pic_CXX='-KPIC'
16343 # Green Hills C++ Compiler
16344 lt_prog_compiler_pic_CXX='-pic'
16350 freebsd* | dragonfly*)
16351 # FreeBSD uses GNU C++
16353 hpux9* | hpux10* | hpux11*)
16354 case $cc_basename in
16356 lt_prog_compiler_wl_CXX='-Wl,'
16357 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16358 if test ia64 != "$host_cpu"; then
16359 lt_prog_compiler_pic_CXX='+Z'
16363 lt_prog_compiler_wl_CXX='-Wl,'
16364 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16370 lt_prog_compiler_pic_CXX='+Z'
16379 # This is c89, which is MS Visual C++ (no shared libs)
16380 # Anyone wants to do a port?
16382 irix5* | irix6* | nonstopux*)
16383 case $cc_basename in
16385 lt_prog_compiler_wl_CXX='-Wl,'
16386 lt_prog_compiler_static_CXX='-non_shared'
16387 # CC pic flag -KPIC is the default.
16393 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16394 case $cc_basename in
16397 lt_prog_compiler_wl_CXX='--backend -Wl,'
16398 lt_prog_compiler_pic_CXX='-fPIC'
16401 # old Intel C++ for x86_64, which still supported -KPIC.
16402 lt_prog_compiler_wl_CXX='-Wl,'
16403 lt_prog_compiler_pic_CXX='-KPIC'
16404 lt_prog_compiler_static_CXX='-static'
16407 # Intel C++, used to be incompatible with GCC.
16408 # ICC 10 doesn't accept -KPIC any more.
16409 lt_prog_compiler_wl_CXX='-Wl,'
16410 lt_prog_compiler_pic_CXX='-fPIC'
16411 lt_prog_compiler_static_CXX='-static'
16414 # Portland Group C++ compiler
16415 lt_prog_compiler_wl_CXX='-Wl,'
16416 lt_prog_compiler_pic_CXX='-fpic'
16417 lt_prog_compiler_static_CXX='-Bstatic'
16421 # Make sure the PIC flag is empty. It appears that all Alpha
16422 # Linux and Compaq Tru64 Unix objects are PIC.
16423 lt_prog_compiler_pic_CXX=
16424 lt_prog_compiler_static_CXX='-non_shared'
16426 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16427 # IBM XL 8.0, 9.0 on PPC and BlueGene
16428 lt_prog_compiler_wl_CXX='-Wl,'
16429 lt_prog_compiler_pic_CXX='-qpic'
16430 lt_prog_compiler_static_CXX='-qstaticlink'
16433 case `$CC -V 2>&1 | sed 5q` in
16436 lt_prog_compiler_pic_CXX='-KPIC'
16437 lt_prog_compiler_static_CXX='-Bstatic'
16438 lt_prog_compiler_wl_CXX='-Qoption ld '
16449 case $cc_basename in
16451 lt_prog_compiler_pic_CXX='-W c,exportall'
16460 # QNX uses GNU C++, but need to define -shared option too, otherwise
16461 # it will coredump.
16462 lt_prog_compiler_pic_CXX='-fPIC -shared'
16464 osf3* | osf4* | osf5*)
16465 case $cc_basename in
16467 lt_prog_compiler_wl_CXX='--backend -Wl,'
16470 # Rational C++ 2.4.1
16471 lt_prog_compiler_pic_CXX='-pic'
16474 # Digital/Compaq C++
16475 lt_prog_compiler_wl_CXX='-Wl,'
16476 # Make sure the PIC flag is empty. It appears that all Alpha
16477 # Linux and Compaq Tru64 Unix objects are PIC.
16478 lt_prog_compiler_pic_CXX=
16479 lt_prog_compiler_static_CXX='-non_shared'
16488 case $cc_basename in
16490 # Sun C++ 4.2, 5.x and Centerline C++
16491 lt_prog_compiler_pic_CXX='-KPIC'
16492 lt_prog_compiler_static_CXX='-Bstatic'
16493 lt_prog_compiler_wl_CXX='-Qoption ld '
16496 # Green Hills C++ Compiler
16497 lt_prog_compiler_pic_CXX='-PIC'
16504 case $cc_basename in
16507 lt_prog_compiler_pic_CXX='-pic'
16508 lt_prog_compiler_static_CXX='-Bstatic'
16512 lt_prog_compiler_pic_CXX='-pic'
16518 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16519 case $cc_basename in
16521 lt_prog_compiler_wl_CXX='-Wl,'
16522 lt_prog_compiler_pic_CXX='-KPIC'
16523 lt_prog_compiler_static_CXX='-Bstatic'
16528 case $cc_basename in
16530 # NonStop-UX NCC 3.20
16531 lt_prog_compiler_pic_CXX='-KPIC'
16540 lt_prog_compiler_can_build_shared_CXX=no
16546 # For platforms that do not support PIC, -DPIC is meaningless:
16548 lt_prog_compiler_pic_CXX=
16551 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16556 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16557 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16558 $as_echo_n "(cached) " >&6
16560 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16563 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16564 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16567 # Check to make sure the PIC flag actually works.
16569 if test -n "$lt_prog_compiler_pic_CXX"; then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16571 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16572 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16573 $as_echo_n "(cached) " >&6
16575 lt_cv_prog_compiler_pic_works_CXX=no
16576 ac_outfile=conftest.$ac_objext
16577 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16578 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16579 # Insert the option either (1) after the last *FLAGS variable, or
16580 # (2) before a word containing "conftest.", or (3) at the end.
16581 # Note that $ac_compile itself does not contain backslashes and begins
16582 # with a dollar sign (not a hyphen), so the echo should work correctly.
16583 # The option is referenced via a variable to avoid confusing sed.
16584 lt_compile=`echo "$ac_compile" | $SED \
16585 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16586 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16587 -e 's:$: $lt_compiler_flag:'`
16588 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16589 (eval "$lt_compile" 2>conftest.err)
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 if (exit $ac_status) && test -s "$ac_outfile"; then
16594 # The compiler can only warn and ignore the option if not recognized
16595 # So say no if there are warnings other than the usual output.
16596 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16598 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16599 lt_cv_prog_compiler_pic_works_CXX=yes
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16606 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16608 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16609 case $lt_prog_compiler_pic_CXX in
16611 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16614 lt_prog_compiler_pic_CXX=
16615 lt_prog_compiler_can_build_shared_CXX=no
16625 # Check to make sure the static flag actually works.
16627 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16629 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16630 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16631 $as_echo_n "(cached) " >&6
16633 lt_cv_prog_compiler_static_works_CXX=no
16634 save_LDFLAGS=$LDFLAGS
16635 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16636 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16637 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16638 # The linker can only warn and ignore the option if not recognized
16639 # So say no if there are warnings
16640 if test -s conftest.err; then
16641 # Append any errors to the config.log.
16642 cat conftest.err 1>&5
16643 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16644 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16645 if diff conftest.exp conftest.er2 >/dev/null; then
16646 lt_cv_prog_compiler_static_works_CXX=yes
16649 lt_cv_prog_compiler_static_works_CXX=yes
16653 LDFLAGS=$save_LDFLAGS
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16657 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16659 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16662 lt_prog_compiler_static_CXX=
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16670 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16671 $as_echo_n "(cached) " >&6
16673 lt_cv_prog_compiler_c_o_CXX=no
16674 $RM -r conftest 2>/dev/null
16678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16680 lt_compiler_flag="-o out/conftest2.$ac_objext"
16681 # Insert the option either (1) after the last *FLAGS variable, or
16682 # (2) before a word containing "conftest.", or (3) at the end.
16683 # Note that $ac_compile itself does not contain backslashes and begins
16684 # with a dollar sign (not a hyphen), so the echo should work correctly.
16685 lt_compile=`echo "$ac_compile" | $SED \
16686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16688 -e 's:$: $lt_compiler_flag:'`
16689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16690 (eval "$lt_compile" 2>out/conftest.err)
16692 cat out/conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16696 # The compiler can only warn and ignore the option if not recognized
16697 # So say no if there are warnings
16698 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16699 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16700 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16701 lt_cv_prog_compiler_c_o_CXX=yes
16706 # SGI C++ compiler will create directory out/ii_files/ for
16707 # template instantiation
16708 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16709 $RM out/* && rmdir out
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16716 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16721 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16722 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16723 $as_echo_n "(cached) " >&6
16725 lt_cv_prog_compiler_c_o_CXX=no
16726 $RM -r conftest 2>/dev/null
16730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16732 lt_compiler_flag="-o out/conftest2.$ac_objext"
16733 # Insert the option either (1) after the last *FLAGS variable, or
16734 # (2) before a word containing "conftest.", or (3) at the end.
16735 # Note that $ac_compile itself does not contain backslashes and begins
16736 # with a dollar sign (not a hyphen), so the echo should work correctly.
16737 lt_compile=`echo "$ac_compile" | $SED \
16738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16740 -e 's:$: $lt_compiler_flag:'`
16741 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16742 (eval "$lt_compile" 2>out/conftest.err)
16744 cat out/conftest.err >&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16748 # The compiler can only warn and ignore the option if not recognized
16749 # So say no if there are warnings
16750 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16753 lt_cv_prog_compiler_c_o_CXX=yes
16758 # SGI C++ compiler will create directory out/ii_files/ for
16759 # template instantiation
16760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16761 $RM out/* && rmdir out
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16768 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16773 hard_links=nottested
16774 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16775 # do not overwrite the value of need_locks provided by the user
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16777 $as_echo_n "checking if we can lock with hard links... " >&6; }
16780 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16782 ln conftest.a conftest.b 2>&5 || hard_links=no
16783 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16785 $as_echo "$hard_links" >&6; }
16786 if test no = "$hard_links"; then
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16788 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16798 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16800 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16801 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16804 # If we're using GNU nm, then we don't want the "-C" option.
16805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16806 # Also, AIX nm treats weak defined symbols like other global defined
16807 # symbols, whereas GNU nm marks them as "W".
16808 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16809 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'
16811 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'
16815 export_symbols_cmds_CXX=$ltdll_cmds
16817 cygwin* | mingw* | cegcc*)
16818 case $cc_basename in
16820 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16823 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'
16824 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16829 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16834 $as_echo "$ld_shlibs_CXX" >&6; }
16835 test no = "$ld_shlibs_CXX" && can_build_shared=no
16837 with_gnu_ld_CXX=$with_gnu_ld
16845 # Do we need to explicitly link libc?
16847 case "x$archive_cmds_need_lc_CXX" in
16849 # Assume -lc should be added
16850 archive_cmds_need_lc_CXX=yes
16852 if test yes,yes = "$GCC,$enable_shared"; then
16853 case $archive_cmds_CXX in
16855 # FIXME: we may have to deal with multi-command sequences.
16858 # Test whether the compiler implicitly links with -lc since on some
16859 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16860 # to ld, don't add -lc before -lgcc.
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16862 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16863 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16864 $as_echo_n "(cached) " >&6
16867 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16870 (eval $ac_compile) 2>&5
16872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16873 test $ac_status = 0; } 2>conftest.err; then
16876 libobjs=conftest.$ac_objext
16878 wl=$lt_prog_compiler_wl_CXX
16879 pic_flag=$lt_prog_compiler_pic_CXX
16885 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16886 allow_undefined_flag_CXX=
16887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16888 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16891 test $ac_status = 0; }
16893 lt_cv_archive_cmds_need_lc_CXX=no
16895 lt_cv_archive_cmds_need_lc_CXX=yes
16897 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16899 cat conftest.err 1>&5
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16905 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16906 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16975 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16977 library_names_spec=
16978 libname_spec='lib$name'
16982 postuninstall_cmds=
16986 shlibpath_overrides_runpath=unknown
16988 dynamic_linker="$host_os ld.so"
16989 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16990 need_lib_prefix=unknown
16991 hardcode_into_libs=no
16993 # when you set need_version to no, make sure it does not cause -set_version
16994 # flags to be left without arguments
16995 need_version=unknown
16999 version_type=linux # correct to gnu/linux during the next big refactor
17000 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17001 shlibpath_var=LIBPATH
17003 # AIX 3 has no versioning support, so we append a major version to the name.
17004 soname_spec='$libname$release$shared_ext$major'
17008 version_type=linux # correct to gnu/linux during the next big refactor
17011 hardcode_into_libs=yes
17012 if test ia64 = "$host_cpu"; then
17013 # AIX 5 supports IA64
17014 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17015 shlibpath_var=LD_LIBRARY_PATH
17017 # With GCC up to 2.95.x, collect2 would create an import file
17018 # for dependence libraries. The import file would start with
17019 # the line '#! .'. This would cause the generated library to
17020 # depend on '.', always an invalid library. This was fixed in
17021 # development snapshots of GCC prior to 3.0.
17023 aix4 | aix4.[01] | aix4.[01].*)
17024 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17026 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17029 can_build_shared=no
17033 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17034 # soname into executable. Probably we can add versioning support to
17035 # collect2, so additional links can be useful in future.
17036 if test yes = "$aix_use_runtimelinking"; then
17037 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17038 # instead of lib<name>.a to let people know that these are not
17039 # typical AIX shared libraries.
17040 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17042 # We preserve .a as extension for shared libraries through AIX4.2
17043 # and later when we are not doing run time linking.
17044 library_names_spec='$libname$release.a $libname.a'
17045 soname_spec='$libname$release$shared_ext$major'
17047 shlibpath_var=LIBPATH
17054 # Since July 2007 AmigaOS4 officially supports .so libraries.
17055 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17056 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17059 library_names_spec='$libname.ixlibrary $libname.a'
17060 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17061 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17067 library_names_spec='$libname$shared_ext'
17068 dynamic_linker="$host_os ld.so"
17069 shlibpath_var=LIBRARY_PATH
17073 version_type=linux # correct to gnu/linux during the next big refactor
17075 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17076 soname_spec='$libname$release$shared_ext$major'
17077 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17078 shlibpath_var=LD_LIBRARY_PATH
17079 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17080 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17081 # the default ld.so.conf also contains /usr/contrib/lib and
17082 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17083 # libtool to hard-code these into programs
17086 cygwin* | mingw* | pw32* | cegcc*)
17087 version_type=windows
17092 case $GCC,$cc_basename in
17095 library_names_spec='$libname.dll.a'
17096 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17097 postinstall_cmds='base_file=`basename \$file`~
17098 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17099 dldir=$destdir/`dirname \$dlpath`~
17100 test -d \$dldir || mkdir -p \$dldir~
17101 $install_prog $dir/$dlname \$dldir/$dlname~
17102 chmod a+x \$dldir/$dlname~
17103 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17104 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17106 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17107 dlpath=$dir/\$dldll~
17109 shlibpath_overrides_runpath=yes
17113 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17114 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17118 # MinGW DLLs use traditional 'lib' prefix
17119 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17122 # pw32 DLLs use 'pw' prefix rather than 'lib'
17123 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17126 dynamic_linker='Win32 ld.exe'
17131 libname_spec='$name'
17132 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17133 library_names_spec='$libname.dll.lib'
17137 sys_lib_search_path_spec=
17140 for lt_path in $LIB
17143 # Let DOS variable expansion print the short 8.3 style file name.
17144 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17145 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17148 # Convert to MSYS style.
17149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17152 # Convert to unix form, then to dos form, then back to unix form
17153 # but this time dos style (no spaces!) so that the unix form looks
17154 # like /cygdrive/c/PROGRA~1:/cygdr...
17155 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17156 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17157 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17160 sys_lib_search_path_spec=$LIB
17161 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17162 # It is most probably a Windows format PATH.
17163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17165 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17167 # FIXME: find the short name or the path components, as spaces are
17168 # common. (e.g. "Program Files" -> "PROGRA~1")
17172 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17173 postinstall_cmds='base_file=`basename \$file`~
17174 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17175 dldir=$destdir/`dirname \$dlpath`~
17176 test -d \$dldir || mkdir -p \$dldir~
17177 $install_prog $dir/$dlname \$dldir/$dlname'
17178 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17179 dlpath=$dir/\$dldll~
17181 shlibpath_overrides_runpath=yes
17182 dynamic_linker='Win32 link.exe'
17186 # Assume MSVC wrapper
17187 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17188 dynamic_linker='Win32 ld.exe'
17191 # FIXME: first we should search . and the directory the executable is in
17195 darwin* | rhapsody*)
17196 dynamic_linker="$host_os dyld"
17197 version_type=darwin
17200 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17201 soname_spec='$libname$release$major$shared_ext'
17202 shlibpath_overrides_runpath=yes
17203 shlibpath_var=DYLD_LIBRARY_PATH
17204 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17206 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17210 version_type=linux # correct to gnu/linux during the next big refactor
17213 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17214 soname_spec='$libname$release$shared_ext$major'
17215 shlibpath_var=LD_LIBRARY_PATH
17218 freebsd* | dragonfly*)
17219 # DragonFly does not have aout. When/if they implement a new
17220 # versioning mechanism, adjust this.
17221 if test -x /usr/bin/objformat; then
17222 objformat=`/usr/bin/objformat`
17225 freebsd[23].*) objformat=aout ;;
17226 *) objformat=elf ;;
17229 version_type=freebsd-$objformat
17230 case $version_type in
17232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17237 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17241 shlibpath_var=LD_LIBRARY_PATH
17244 shlibpath_overrides_runpath=yes
17246 freebsd3.[01]* | freebsdelf3.[01]*)
17247 shlibpath_overrides_runpath=yes
17248 hardcode_into_libs=yes
17250 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17251 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17252 shlibpath_overrides_runpath=no
17253 hardcode_into_libs=yes
17255 *) # from 4.6 on, and DragonFly
17256 shlibpath_overrides_runpath=yes
17257 hardcode_into_libs=yes
17263 version_type=linux # correct to gnu/linux during the next big refactor
17266 dynamic_linker="$host_os runtime_loader"
17267 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17268 soname_spec='$libname$release$shared_ext$major'
17269 shlibpath_var=LIBRARY_PATH
17270 shlibpath_overrides_runpath=no
17271 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17272 hardcode_into_libs=yes
17275 hpux9* | hpux10* | hpux11*)
17276 # Give a soname corresponding to the major version so that dld.sl refuses to
17277 # link against other versions.
17284 hardcode_into_libs=yes
17285 dynamic_linker="$host_os dld.so"
17286 shlibpath_var=LD_LIBRARY_PATH
17287 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17288 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17289 soname_spec='$libname$release$shared_ext$major'
17290 if test 32 = "$HPUX_IA64_MODE"; then
17291 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17293 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17295 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17299 hardcode_into_libs=yes
17300 dynamic_linker="$host_os dld.sl"
17301 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17302 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17304 soname_spec='$libname$release$shared_ext$major'
17305 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17306 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17310 dynamic_linker="$host_os dld.sl"
17311 shlibpath_var=SHLIB_PATH
17312 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17313 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17314 soname_spec='$libname$release$shared_ext$major'
17317 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17318 postinstall_cmds='chmod 555 $lib'
17319 # or fails outright, so override atomically:
17320 install_override_mode=555
17324 version_type=linux # correct to gnu/linux during the next big refactor
17327 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17328 soname_spec='$libname$release$shared_ext$major'
17329 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17330 shlibpath_var=LD_LIBRARY_PATH
17331 shlibpath_overrides_runpath=no
17332 hardcode_into_libs=yes
17335 irix5* | irix6* | nonstopux*)
17337 nonstopux*) version_type=nonstopux ;;
17339 if test yes = "$lt_cv_prog_gnu_ld"; then
17340 version_type=linux # correct to gnu/linux during the next big refactor
17347 soname_spec='$libname$release$shared_ext$major'
17348 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17350 irix5* | nonstopux*)
17351 libsuff= shlibsuff=
17354 case $LD in # libtool.m4 will add one of these switches to LD
17355 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17356 libsuff= shlibsuff= libmagic=32-bit;;
17357 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17358 libsuff=32 shlibsuff=N32 libmagic=N32;;
17359 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17360 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17361 *) libsuff= shlibsuff= libmagic=never-match;;
17365 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17366 shlibpath_overrides_runpath=no
17367 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17368 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17369 hardcode_into_libs=yes
17372 # No shared lib support for Linux oldld, aout, or coff.
17373 linux*oldld* | linux*aout* | linux*coff*)
17378 version_type=none # Android doesn't support versioned libraries.
17381 library_names_spec='$libname$release$shared_ext'
17382 soname_spec='$libname$release$shared_ext'
17384 shlibpath_var=LD_LIBRARY_PATH
17385 shlibpath_overrides_runpath=yes
17387 # This implies no fast_install, which is unacceptable.
17388 # Some rework will be needed to allow for fast_install
17389 # before this can be enabled.
17390 hardcode_into_libs=yes
17392 dynamic_linker='Android linker'
17393 # Don't embed -rpath directories since the linker doesn't support them.
17394 hardcode_libdir_flag_spec_CXX='-L$libdir'
17397 # This must be glibc/ELF.
17398 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17399 version_type=linux # correct to gnu/linux during the next big refactor
17402 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17403 soname_spec='$libname$release$shared_ext$major'
17404 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17405 shlibpath_var=LD_LIBRARY_PATH
17406 shlibpath_overrides_runpath=no
17408 # Some binutils ld are patched to set DT_RUNPATH
17409 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17410 $as_echo_n "(cached) " >&6
17412 lt_cv_shlibpath_overrides_runpath=no
17413 save_LDFLAGS=$LDFLAGS
17414 save_libdir=$libdir
17415 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17416 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17428 if ac_fn_cxx_try_link "$LINENO"; then :
17429 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17430 lt_cv_shlibpath_overrides_runpath=yes
17433 rm -f core conftest.err conftest.$ac_objext \
17434 conftest$ac_exeext conftest.$ac_ext
17435 LDFLAGS=$save_LDFLAGS
17436 libdir=$save_libdir
17440 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17442 # This implies no fast_install, which is unacceptable.
17443 # Some rework will be needed to allow for fast_install
17444 # before this can be enabled.
17445 hardcode_into_libs=yes
17447 # Append ld.so.conf contents to the search path
17448 if test -f /etc/ld.so.conf; then
17449 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' ' '`
17450 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17453 # We used to test for /lib/ld.so.1 and disable shared libraries on
17454 # powerpc, because MkLinux only supported shared libraries with the
17455 # GNU dynamic linker. Since this was broken with cross compilers,
17456 # most powerpc-linux boxes support dynamic linking these days and
17457 # people can always --disable-shared, the test was removed, and we
17458 # assume the GNU/Linux dynamic linker is in use.
17459 dynamic_linker='GNU/Linux ld.so'
17466 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17467 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17469 dynamic_linker='NetBSD (a.out) ld.so'
17471 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17472 soname_spec='$libname$release$shared_ext$major'
17473 dynamic_linker='NetBSD ld.elf_so'
17475 shlibpath_var=LD_LIBRARY_PATH
17476 shlibpath_overrides_runpath=yes
17477 hardcode_into_libs=yes
17481 version_type=linux # correct to gnu/linux during the next big refactor
17482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17483 shlibpath_var=LD_LIBRARY_PATH
17484 shlibpath_overrides_runpath=yes
17491 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17492 soname_spec='$libname$release$shared_ext$major'
17493 shlibpath_var=LD_LIBRARY_PATH
17494 shlibpath_overrides_runpath=no
17495 hardcode_into_libs=yes
17496 dynamic_linker='ldqnx.so'
17499 openbsd* | bitrig*)
17501 sys_lib_dlsearch_path_spec=/usr/lib
17503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17508 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17509 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17510 shlibpath_var=LD_LIBRARY_PATH
17511 shlibpath_overrides_runpath=yes
17515 libname_spec='$name'
17518 library_names_spec='$libname$shared_ext $libname.a'
17519 dynamic_linker='OS/2 ld.exe'
17520 shlibpath_var=LIBPATH
17523 osf3* | osf4* | osf5*)
17527 soname_spec='$libname$release$shared_ext$major'
17528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17529 shlibpath_var=LD_LIBRARY_PATH
17530 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17531 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17539 version_type=linux # correct to gnu/linux during the next big refactor
17542 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17543 soname_spec='$libname$release$shared_ext$major'
17544 shlibpath_var=LD_LIBRARY_PATH
17545 shlibpath_overrides_runpath=yes
17546 hardcode_into_libs=yes
17547 # ldd complains unless libraries are executable
17548 postinstall_cmds='chmod +x $lib'
17553 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17554 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17555 shlibpath_var=LD_LIBRARY_PATH
17556 shlibpath_overrides_runpath=yes
17557 if test yes = "$with_gnu_ld"; then
17564 version_type=linux # correct to gnu/linux during the next big refactor
17565 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17566 soname_spec='$libname$release$shared_ext$major'
17567 shlibpath_var=LD_LIBRARY_PATH
17568 case $host_vendor in
17570 shlibpath_overrides_runpath=no
17572 runpath_var=LD_RUN_PATH
17580 shlibpath_overrides_runpath=no
17581 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17587 if test -d /usr/nec; then
17588 version_type=linux # correct to gnu/linux during the next big refactor
17589 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17590 soname_spec='$libname$shared_ext.$major'
17591 shlibpath_var=LD_LIBRARY_PATH
17595 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17596 version_type=freebsd-elf
17599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17600 soname_spec='$libname$release$shared_ext$major'
17601 shlibpath_var=LD_LIBRARY_PATH
17602 shlibpath_overrides_runpath=yes
17603 hardcode_into_libs=yes
17604 if test yes = "$with_gnu_ld"; then
17605 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17607 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17610 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17614 sys_lib_dlsearch_path_spec='/usr/lib'
17618 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17619 version_type=linux # correct to gnu/linux during the next big refactor
17622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17623 shlibpath_var=LD_LIBRARY_PATH
17624 shlibpath_overrides_runpath=no
17625 hardcode_into_libs=yes
17629 version_type=linux # correct to gnu/linux during the next big refactor
17630 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17631 soname_spec='$libname$release$shared_ext$major'
17632 shlibpath_var=LD_LIBRARY_PATH
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17640 $as_echo "$dynamic_linker" >&6; }
17641 test no = "$dynamic_linker" && can_build_shared=no
17643 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17644 if test yes = "$GCC"; then
17645 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17648 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17649 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17651 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17652 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17693 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17694 hardcode_action_CXX=
17695 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17696 test -n "$runpath_var_CXX" ||
17697 test yes = "$hardcode_automatic_CXX"; then
17699 # We can hardcode non-existent directories.
17700 if test no != "$hardcode_direct_CXX" &&
17701 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17702 # have to relink, otherwise we might link with an installed library
17703 # when we should be linking with a yet-to-be-installed one
17704 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17705 test no != "$hardcode_minus_L_CXX"; then
17706 # Linking always hardcodes the temporary library directory.
17707 hardcode_action_CXX=relink
17709 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17710 hardcode_action_CXX=immediate
17713 # We cannot hardcode anything, or else we can only hardcode existing
17715 hardcode_action_CXX=unsupported
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17718 $as_echo "$hardcode_action_CXX" >&6; }
17720 if test relink = "$hardcode_action_CXX" ||
17721 test yes = "$inherit_rpath_CXX"; then
17722 # Fast installation is not supported
17723 enable_fast_install=no
17724 elif test yes = "$shlibpath_overrides_runpath" ||
17725 test no = "$enable_shared"; then
17726 # Fast installation is not necessary
17727 enable_fast_install=needless
17736 fi # test -n "$compiler"
17739 CFLAGS=$lt_save_CFLAGS
17743 with_gnu_ld=$lt_save_with_gnu_ld
17744 lt_cv_path_LDCXX=$lt_cv_path_LD
17745 lt_cv_path_LD=$lt_save_path_LD
17746 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17747 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17748 fi # test yes != "$_lt_caught_CXX_error"
17751 ac_cpp='$CPP $CPPFLAGS'
17752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17770 ac_config_commands="$ac_config_commands libtool"
17775 # Only expand once:
17778 # Check whether --enable-experimental-libtool was given.
17779 if test "${enable_experimental_libtool+set}" = set; then :
17780 enableval=$enable_experimental_libtool; experimental_libtool=$enableval
17782 experimental_libtool=no
17786 if test "$experimental_libtool" = "yes"; then
17787 echo "using APR's libtool"
17788 sh_libtool="`$apr_config --apr-libtool`"
17789 LIBTOOL="$sh_libtool"
17790 SVN_LIBTOOL="$sh_libtool"
17792 sh_libtool="$abs_builddir/libtool"
17793 SVN_LIBTOOL="\$(SHELL) $sh_libtool"
17797 lt_pversion=`$LIBTOOL --version 2>/dev/null|$SED -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
17798 lt_version=`echo $lt_pversion|$SED -e 's/\([a-z]*\)$/.\1/'`
17799 lt_major_version=`echo $lt_version | cut -d'.' -f 1`
17801 svn_enable_static=yes
17802 svn_enable_shared=yes
17804 # Check whether --enable-static was given.
17805 if test "${enable_static+set}" = set; then :
17806 enableval=$enable_static; svn_enable_static="$enableval"
17808 svn_enable_static="yes"
17812 # Check whether --enable-shared was given.
17813 if test "${enable_shared+set}" = set; then :
17814 enableval=$enable_shared; svn_enable_shared="$enableval"
17816 svn_enable_shared="yes"
17820 if test "$svn_enable_static" = "yes" && test "$svn_enable_shared" = "yes" ; then
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: building both shared and static libraries" >&5
17822 $as_echo "$as_me: building both shared and static libraries" >&6;}
17823 elif test "$svn_enable_static" = "yes" ; then
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: building static libraries only" >&5
17825 $as_echo "$as_me: building static libraries only" >&6;}
17826 LT_CFLAGS="-static $LT_CFLAGS"
17827 LT_LDFLAGS="-static $LT_LDFLAGS"
17828 elif test "$svn_enable_shared" = "yes" ; then
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: building shared libraries only" >&5
17830 $as_echo "$as_me: building shared libraries only" >&6;}
17831 if test "$lt_major_version" = "1" ; then
17832 LT_CFLAGS="-prefer-pic $LT_CFLAGS"
17833 elif test "$lt_major_version" = "2" ; then
17834 LT_CFLAGS="-shared $LT_CFLAGS"
17836 LT_LDFLAGS="-shared $LT_LDFLAGS"
17838 as_fn_error $? "cannot disable both shared and static libraries" "$LINENO" 5
17841 # Check whether --enable-all-static was given.
17842 if test "${enable_all_static+set}" = set; then :
17843 enableval=$enable_all_static;
17844 if test "$enableval" = "yes" ; then
17845 LT_LDFLAGS="-all-static $LT_LDFLAGS"
17846 elif test "$enableval" != "no" ; then
17847 as_fn_error $? "--enable-all-static doesn't accept argument" "$LINENO" 5
17856 # Check whether --enable-local-library-preloading was given.
17857 if test "${enable_local_library_preloading+set}" = set; then :
17858 enableval=$enable_local_library_preloading;
17859 if test "$enableval" != "no"; then
17860 if test "$svn_enable_shared" = "yes"; then
17861 TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
17863 as_fn_error $? "--enable-local-library-preloading conflicts with --disable-shared" "$LINENO" 5
17866 TRANSFORM_LIBTOOL_SCRIPTS=""
17871 TRANSFORM_LIBTOOL_SCRIPTS=""
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool needs -no-undefined" >&5
17878 $as_echo_n "checking whether libtool needs -no-undefined... " >&6; }
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17882 $as_echo "yes" >&6; }
17883 LT_NO_UNDEFINED="-no-undefined"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887 $as_echo "no" >&6; }
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to avoid circular linkage at all costs" >&5
17894 $as_echo_n "checking whether to avoid circular linkage at all costs... " >&6; }
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17898 $as_echo "yes" >&6; }
17900 $as_echo "#define SVN_AVOID_CIRCULAR_LINKAGE_AT_ALL_COSTS_HACK 1" >>confdefs.h
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17905 $as_echo "no" >&6; }
17911 # Check whether --with-trang was given.
17912 if test "${with_trang+set}" = set; then :
17913 withval=$with_trang;
17918 if test "$trang" = "yes"; then
17919 # Extract the first word of "trang", so it can be a program name with args.
17920 set dummy trang; ac_word=$2
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17922 $as_echo_n "checking for $ac_word... " >&6; }
17923 if ${ac_cv_path_TRANG+:} false; then :
17924 $as_echo_n "(cached) " >&6
17928 ac_cv_path_TRANG="$TRANG" # Let the user override the test with a path.
17931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17932 for as_dir in $PATH
17935 test -z "$as_dir" && as_dir=.
17936 for ac_exec_ext in '' $ac_executable_extensions; do
17937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17938 ac_cv_path_TRANG="$as_dir/$ac_word$ac_exec_ext"
17939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17946 test -z "$ac_cv_path_TRANG" && ac_cv_path_TRANG="none"
17950 TRANG=$ac_cv_path_TRANG
17951 if test -n "$TRANG"; then
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANG" >&5
17953 $as_echo "$TRANG" >&6; }
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17956 $as_echo "no" >&6; }
17967 # Check whether --with-doxygen was given.
17968 if test "${with_doxygen+set}" = set; then :
17969 withval=$with_doxygen;
17974 if test "$doxygen" = "yes"; then
17975 # Extract the first word of "doxygen", so it can be a program name with args.
17976 set dummy doxygen; ac_word=$2
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17978 $as_echo_n "checking for $ac_word... " >&6; }
17979 if ${ac_cv_path_DOXYGEN+:} false; then :
17980 $as_echo_n "(cached) " >&6
17984 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
17987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17988 for as_dir in $PATH
17991 test -z "$as_dir" && as_dir=.
17992 for ac_exec_ext in '' $ac_executable_extensions; do
17993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17994 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
17995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18002 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="none"
18006 DOXYGEN=$ac_cv_path_DOXYGEN
18007 if test -n "$DOXYGEN"; then
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18009 $as_echo "$DOXYGEN" >&6; }
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18012 $as_echo "no" >&6; }
18025 # Check whether --with-expat was given.
18026 if test "${with_expat+set}" = set; then :
18027 withval=$with_expat; svn_lib_expat="$withval"
18029 svn_lib_expat="::expat"
18033 # APR-util accepts "builtin" as an argument to this option so if the user
18034 # passed "builtin" pretend the user didn't specify the --with-expat option
18035 # at all. Expat will (hopefully) be found in apr-util.
18036 test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat"
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat" >&5
18039 $as_echo_n "checking for Expat... " >&6; }
18040 if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then
18041 SVN_XML_INCLUDES=""
18042 for i in `echo "$svn_lib_expat" | $SED -e "s/\([^:]*\):.*/\1/"`; do
18043 SVN_XML_INCLUDES="$SVN_XML_INCLUDES -I$i"
18045 SVN_XML_INCLUDES="${SVN_XML_INCLUDES## }"
18046 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\):.*/\1/"`; do
18047 LDFLAGS="$LDFLAGS -L$l"
18049 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18050 SVN_XML_LIBS="$SVN_XML_LIBS -l$l"
18052 SVN_XML_LIBS="${SVN_XML_LIBS## }"
18053 old_CPPFLAGS="$CPPFLAGS"
18055 CPPFLAGS="$CPPFLAGS $SVN_XML_INCLUDES"
18056 LIBS="$LIBS $SVN_XML_LIBS"
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18062 {XML_ParserCreate(NULL);}
18064 if ac_fn_c_try_link "$LINENO"; then :
18065 svn_lib_expat="yes"
18069 rm -f core conftest.err conftest.$ac_objext \
18070 conftest$ac_exeext conftest.$ac_ext
18072 if test "$svn_lib_expat" = "yes"; then
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18074 $as_echo "yes" >&6; }
18076 SVN_XML_INCLUDES=""
18078 CPPFLAGS="$CPPFLAGS $SVN_APRUTIL_INCLUDES"
18079 if test "$enable_all_static" != "yes"; then
18080 SVN_APRUTIL_LIBS="$SVN_APRUTIL_LIBS `$apu_config --libs`"
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18087 {XML_ParserCreate(NULL);}
18089 if ac_fn_c_try_compile "$LINENO"; then :
18090 svn_lib_expat="yes"
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095 if test "$svn_lib_expat" = "yes"; then
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18097 $as_echo "yes" >&6; }
18098 { $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
18099 $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;}
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18102 $as_echo "no" >&6; }
18103 as_fn_error $? "Expat not found" "$LINENO" 5
18106 CPPFLAGS="$old_CPPFLAGS"
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18110 if test "$svn_lib_expat" = "yes"; then
18111 as_fn_error $? "--with-expat option requires argument" "$LINENO" 5
18112 elif test "$svn_lib_expat" = "no"; then
18113 as_fn_error $? "Expat is required" "$LINENO" 5
18115 as_fn_error $? "Invalid syntax of argument of --with-expat option" "$LINENO" 5
18122 # Berkeley DB on SCO OpenServer needs -lsocket
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18124 $as_echo_n "checking for socket in -lsocket... " >&6; }
18125 if ${ac_cv_lib_socket_socket+:} false; then :
18126 $as_echo_n "(cached) " >&6
18128 ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lsocket $LIBS"
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18133 /* Override any GCC internal prototype to avoid an error.
18134 Use char because int might match the return type of a GCC
18135 builtin and then its argument prototype would still apply. */
18148 if ac_fn_c_try_link "$LINENO"; then :
18149 ac_cv_lib_socket_socket=yes
18151 ac_cv_lib_socket_socket=no
18153 rm -f core conftest.err conftest.$ac_objext \
18154 conftest$ac_exeext conftest.$ac_ext
18155 LIBS=$ac_check_lib_save_LIBS
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18158 $as_echo "$ac_cv_lib_socket_socket" >&6; }
18159 if test "x$ac_cv_lib_socket_socket" = xyes; then :
18160 cat >>confdefs.h <<_ACEOF
18161 #define HAVE_LIBSOCKET 1
18164 LIBS="-lsocket $LIBS"
18169 # Build the BDB filesystem library only if we have an appropriate
18170 # version of Berkeley DB.
18172 powerpc-apple-darwin*)
18173 # Berkeley DB 4.0 does not work on OS X.
18174 SVN_FS_WANT_DB_MAJOR=4
18175 SVN_FS_WANT_DB_MINOR=1
18176 SVN_FS_WANT_DB_PATCH=25
18179 SVN_FS_WANT_DB_MAJOR=4
18180 SVN_FS_WANT_DB_MINOR=0
18181 SVN_FS_WANT_DB_PATCH=14
18184 db_alt_version="5.x"
18185 # Look for libdb4.so first:
18187 db_version=$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH
18190 # Check whether --with-berkeley-db was given.
18191 if test "${with_berkeley_db+set}" = set; then :
18192 withval=$with_berkeley_db;
18193 if test "$withval" = "no"; then
18195 elif test "$withval" = "yes"; then
18196 apu_db_version="`$apu_config --db-version`"
18197 if test $? -ne 0; then
18198 as_fn_error $? "Can't determine whether apr-util is linked against a
18199 proper version of Berkeley DB." "$LINENO" 5
18202 if test "$withval" = "yes"; then
18203 if test "$apu_db_version" -lt "4"; then
18204 as_fn_error $? "APR-UTIL was linked against Berkeley DB version $apu_db_version,
18205 while version 4 or higher is required. Reinstall
18206 APR-UTIL with the appropriate options." "$LINENO" 5
18209 bdb_status=required
18211 elif test "$apu_found" != "reconfig"; then
18212 if test "$apu_db_version" -lt 4; then
18213 as_fn_error $? "APR-UTIL was installed independently, it won't be
18214 possible to use the specified Berkeley DB: $withval" "$LINENO" 5
18217 bdb_status=required
18220 if echo "$withval" | $EGREP ":.*:.*:" > /dev/null; then
18221 svn_berkeley_db_header="`echo "$withval" | $SED -e "s/\([^:]*\):.*/\1/"`"
18223 for i in `echo "$withval" | $SED -e "s/.*:\([^:]*\):[^:]*:.*/\1/"`; do
18224 SVN_DB_INCLUDES="$SVN_DB_INCLUDES -I$i"
18226 SVN_DB_INCLUDES="${SVN_DB_INCLUDES## }"
18227 for l in `echo "$withval" | $SED -e "s/.*:[^:]*:\([^:]*\):.*/\1/"`; do
18228 LDFLAGS="$LDFLAGS `
18231 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18232 for flag in $input_flags; do
18234 for dir in $filtered_dirs; do
18235 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18240 if test "$filter" = "no"; then
18241 output_flags="$output_flags $flag"
18244 if test -n "$output_flags"; then
18245 printf "%s" "${output_flags# }"
18250 for l in `echo "$withval" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18251 SVN_DB_LIBS="$SVN_DB_LIBS -l$l"
18253 SVN_DB_LIBS="${SVN_DB_LIBS## }"
18255 bdb_status=required
18257 as_fn_error $? "Invalid syntax of argument of --with-berkeley-db option" "$LINENO" 5
18263 # No --with-berkeley-db option:
18265 # Check if APR-UTIL is providing the correct Berkeley DB version
18268 apu_db_version="`$apu_config --db-version`"
18269 if test $? -ne 0; then
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected older version of APR-UTIL, trying to determine
18271 whether apr-util is linked against Berkeley DB
18273 $as_echo "$as_me: WARNING: Detected older version of APR-UTIL, trying to determine
18274 whether apr-util is linked against Berkeley DB
18276 bdb_status=try-link
18277 elif test "$apu_db_version" -lt "4"; then
18280 bdb_status=try-link
18286 if test "$bdb_status" = "skip"; then
18287 svn_lib_berkeley_db=no
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Berkeley DB" >&5
18290 $as_echo_n "checking for availability of Berkeley DB... " >&6; }
18291 # Check whether --enable-bdb6 was given.
18292 if test "${enable_bdb6+set}" = set; then :
18293 enableval=$enable_bdb6; enable_bdb6=$enableval
18295 enable_bdb6=unspecified
18300 svn_lib_berkeley_db_try_save_cppflags="$CPPFLAGS"
18301 svn_lib_berkeley_db_try_save_libs="$LIBS"
18303 svn_check_berkeley_db_major=$SVN_FS_WANT_DB_MAJOR
18304 svn_check_berkeley_db_minor=$SVN_FS_WANT_DB_MINOR
18305 svn_check_berkeley_db_patch=$SVN_FS_WANT_DB_PATCH
18306 enable_bdb6=$enable_bdb6
18308 if test -z "$SVN_DB_LIBS"; then
18309 # We pass --dbm-libs here since Debian has modified apu-config not
18310 # to return -ldb unless --dbm-libs is passed. This may also produce
18311 # extra output beyond -ldb but since we're only filtering for -ldb
18312 # it won't matter to us. However, --dbm-libs was added to apu-config
18313 # in 1.3.8 so it's possible the version we have doesn't support it
18314 # so fallback without it if we get an error.
18315 svn_db_libs_prefiltered="`$apu_config --libs --dbm-libs`"
18316 if test $? -ne 0; then
18317 svn_db_libs_prefiltered="`$apu_config --libs`"
18320 # Extract only the -ldb.* flag from the libs supplied by apu-config
18321 # Otherwise we get bit by the fact that expat might not be built yet
18322 # Or that it resides in a non-standard location which we would have
18323 # to compensate with using something like -R`$apu_config --prefix`/lib.
18325 SVN_DB_LIBS="`echo \"$svn_db_libs_prefiltered\" | $SED -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`"
18328 CPPFLAGS="$SVN_DB_INCLUDES $SVN_APRUTIL_INCLUDES $CPPFLAGS"
18329 LIBS="`$apu_config --ldflags` $SVN_DB_LIBS $LIBS"
18331 if test -n "$svn_berkeley_db_header"; then
18332 SVN_DB_HEADER="#include <$svn_berkeley_db_header>"
18333 svn_db_header="#include <$svn_berkeley_db_header>"
18335 SVN_DB_HEADER="#include <apu_want.h>"
18336 svn_db_header="#define APU_WANT_DB
18337 #include <apu_want.h>"
18342 if test "$cross_compiling" = yes; then :
18343 svn_have_berkeley_db=yes
18346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18349 #include <string.h>
18350 #include <stdlib.h>
18355 int major, minor, patch;
18357 db_version (&major, &minor, &patch);
18359 /* Sanity check: ensure that db.h constants actually match the db library */
18360 if (major != DB_VERSION_MAJOR
18361 || minor != DB_VERSION_MINOR
18362 || patch != DB_VERSION_PATCH)
18365 /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
18366 and newer are under the AGPL, and we want use of AGPL dependencies to be
18368 if (major >= 6 && strcmp("$enable_bdb6", "yes"))
18371 /* Run-time check: ensure the library claims to be the correct version. */
18373 if (major < $svn_check_berkeley_db_major)
18375 if (major > $svn_check_berkeley_db_major)
18378 if (minor < $svn_check_berkeley_db_minor)
18380 if (minor > $svn_check_berkeley_db_minor)
18383 if (patch >= $svn_check_berkeley_db_patch)
18390 if ac_fn_c_try_run "$LINENO"; then :
18391 svn_have_berkeley_db=yes
18394 svn_have_berkeley_db=no
18395 if test $rc = 2; then
18396 svn_have_berkeley_db=no6
18399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18400 conftest.$ac_objext conftest.beam conftest.$ac_ext
18404 CPPFLAGS="$svn_lib_berkeley_db_try_save_cppflags"
18405 LIBS="$svn_lib_berkeley_db_try_save_libs"
18408 if test "$svn_have_berkeley_db" = "yes"; then
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18410 $as_echo "yes" >&6; }
18411 svn_lib_berkeley_db=yes
18413 if test "$svn_have_berkeley_db" = "no6"; then
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found version 6, but --enable-bdb6 not specified)" >&5
18415 $as_echo "no (found version 6, but --enable-bdb6 not specified)" >&6; }
18416 # A warning will be printed at the end of configure.ac.
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18419 $as_echo "no" >&6; }
18421 svn_lib_berkeley_db=no
18422 if test "$bdb_status" = "required"; then
18423 as_fn_error $? "Berkeley DB $db_version or $db_alt_version wasn't found." "$LINENO" 5
18430 cat >>confdefs.h <<_ACEOF
18431 #define SVN_FS_WANT_DB_MAJOR $SVN_FS_WANT_DB_MAJOR
18435 cat >>confdefs.h <<_ACEOF
18436 #define SVN_FS_WANT_DB_MINOR $SVN_FS_WANT_DB_MINOR
18440 cat >>confdefs.h <<_ACEOF
18441 #define SVN_FS_WANT_DB_PATCH $SVN_FS_WANT_DB_PATCH
18450 # Check whether --with-sasl was given.
18451 if test "${with_sasl+set}" = set; then :
18452 withval=$with_sasl;
18453 with_sasl="$withval"
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for SASL" >&5
18465 $as_echo_n "checking whether to look for SASL... " >&6; }
18467 if test "${with_sasl}" = "no"; then
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18469 $as_echo "no" >&6; }
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18473 $as_echo "yes" >&6; }
18474 saved_LDFLAGS="$LDFLAGS"
18475 saved_CPPFLAGS="$CPPFLAGS"
18477 if test "$with_sasl" = "yes"; then
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking in default locations" >&5
18479 $as_echo "$as_me: Looking in default locations" >&6;}
18480 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
18481 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
18482 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
18483 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
18485 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
18486 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
18487 $as_echo_n "(cached) " >&6
18489 ac_check_lib_save_LIBS=$LIBS
18490 LIBS="-lsasl2 $LIBS"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 /* Override any GCC internal prototype to avoid an error.
18495 Use char because int might match the return type of a GCC
18496 builtin and then its argument prototype would still apply. */
18504 return prop_get ();
18509 if ac_fn_c_try_link "$LINENO"; then :
18510 ac_cv_lib_sasl2_prop_get=yes
18512 ac_cv_lib_sasl2_prop_get=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_lib_save_LIBS
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
18519 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
18520 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
18536 if test "$svn_lib_sasl" = "no"; then
18537 with_sasl="/usr/local"
18543 if test "$svn_lib_sasl" = "no"; then
18544 SVN_SASL_INCLUDES="-I${with_sasl}/include"
18545 CPPFLAGS="$CPPFLAGS $SVN_SASL_INCLUDES"
18546 LDFLAGS="$LDFLAGS `
18547 input_flags="-L${with_sasl}/lib"
18549 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18550 for flag in $input_flags; do
18552 for dir in $filtered_dirs; do
18553 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18558 if test "$filter" = "no"; then
18559 output_flags="$output_flags $flag"
18562 if test -n "$output_flags"; then
18563 printf "%s" "${output_flags# }"
18567 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
18568 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
18569 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
18570 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
18572 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
18573 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
18574 $as_echo_n "(cached) " >&6
18576 ac_check_lib_save_LIBS=$LIBS
18577 LIBS="-lsasl2 $LIBS"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18581 /* Override any GCC internal prototype to avoid an error.
18582 Use char because int might match the return type of a GCC
18583 builtin and then its argument prototype would still apply. */
18591 return prop_get ();
18596 if ac_fn_c_try_link "$LINENO"; then :
18597 ac_cv_lib_sasl2_prop_get=yes
18599 ac_cv_lib_sasl2_prop_get=no
18601 rm -f core conftest.err conftest.$ac_objext \
18602 conftest$ac_exeext conftest.$ac_ext
18603 LIBS=$ac_check_lib_save_LIBS
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
18606 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
18607 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Cyrus SASL v2" >&5
18626 $as_echo_n "checking for availability of Cyrus SASL v2... " >&6; }
18627 if test "$svn_lib_sasl" = "yes"; then
18628 SVN_SASL_LIBS="-lsasl2"
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18630 $as_echo "yes" >&6; }
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18635 if test "$required" = "yes"; then
18636 as_fn_error $? "Could not find Cyrus SASL v2" "$LINENO" 5
18639 SVN_SASL_INCLUDES=""
18640 LDFLAGS="$saved_LDFLAGS"
18643 CPPFLAGS="$saved_CPPFLAGS"
18650 if test "$svn_lib_sasl" = "yes"; then
18652 $as_echo "#define SVN_HAVE_SASL 1" >>confdefs.h
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O dynamic module iteration functions" >&5
18659 $as_echo_n "checking for Mach-O dynamic module iteration functions... " >&6; }
18660 if test "$cross_compiling" = yes; then :
18661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18663 as_fn_error $? "cannot run test program while cross compiling
18664 See \`config.log' for more details" "$LINENO" 5; }
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18669 #include <mach-o/dyld.h>
18670 #include <mach-o/loader.h>
18676 const struct mach_header *header = _dyld_get_image_header(0);
18677 const char *name = _dyld_get_image_name(0);
18678 if (name && header) return 0;
18685 if ac_fn_c_try_run "$LINENO"; then :
18688 $as_echo "#define SVN_HAVE_MACHO_ITERATE 1" >>confdefs.h
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18691 $as_echo "yes" >&6; }
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 $as_echo "no" >&6; }
18699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18700 conftest.$ac_objext conftest.beam conftest.$ac_ext
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS property list utilities" >&5
18706 $as_echo_n "checking for Mac OS property list utilities... " >&6; }
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18711 #include <AvailabilityMacros.h>
18712 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
18713 || !defined(MAC_OS_X_VERSION_10_0) \
18714 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
18715 #error ProperyList API unavailable.
18726 if ac_fn_c_try_compile "$LINENO"; then :
18729 LIBS="$LIBS -framework CoreFoundation"
18731 $as_echo "#define SVN_HAVE_MACOS_PLIST 1" >>confdefs.h
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18734 $as_echo "yes" >&6; }
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18739 $as_echo "no" >&6; }
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 # Check whether --enable-keychain was given.
18746 if test "${enable_keychain+set}" = set; then :
18747 enableval=$enable_keychain; enable_keychain=$enableval
18749 enable_keychain=yes
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS KeyChain Services" >&5
18754 $as_echo_n "checking for Mac OS KeyChain Services... " >&6; }
18756 if test "$enable_keychain" = "yes"; then
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18760 #include <AvailabilityMacros.h>
18761 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
18762 || !defined(MAC_OS_X_VERSION_10_2) \
18763 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
18764 #error KeyChain API unavailable.
18775 if ac_fn_c_try_compile "$LINENO"; then :
18777 LIBS="$LIBS -framework Security"
18778 LIBS="$LIBS -framework CoreServices"
18780 $as_echo "#define SVN_HAVE_KEYCHAIN_SERVICES 1" >>confdefs.h
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18783 $as_echo "yes" >&6; }
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18789 $as_echo "no" >&6; }
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether APR has support for DSOs" >&5
18798 $as_echo_n "checking whether APR has support for DSOs... " >&6; }
18799 old_CPPFLAGS="$CPPFLAGS"
18800 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18809 if ac_fn_c_try_cpp "$LINENO"; then :
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18812 $as_echo "yes" >&6; }
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18816 $as_echo "no" >&6; }
18818 rm -f conftest.err conftest.i conftest.$ac_ext
18819 CPPFLAGS="$old_CPPFLAGS"
18823 if test -n "$PKG_CONFIG"; then
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus .pc file" >&5
18825 $as_echo_n "checking for D-Bus .pc file... " >&6; }
18826 if $PKG_CONFIG --exists dbus-1; then
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18828 $as_echo "yes" >&6; }
18829 old_CPPFLAGS="$CPPFLAGS"
18831 DBUS_CPPFLAGS="`$PKG_CONFIG --cflags dbus-1`"
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D-Bus version" >&5
18833 $as_echo_n "checking D-Bus version... " >&6; }
18834 DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1`"
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
18836 $as_echo "$DBUS_VERSION" >&6; }
18837 # D-Bus 0.* requires DBUS_API_SUBJECT_TO_CHANGE
18838 if test -n "`echo "$DBUS_VERSION" | $EGREP '^0\.[[:digit:]]+'`"; then
18839 DBUS_CPPFLAGS="$DBUS_CPPFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
18841 DBUS_LIBS="`$PKG_CONFIG --libs dbus-1`"
18842 CPPFLAGS="$CPPFLAGS $DBUS_CPPFLAGS"
18843 LIBS="$LIBS $DBUS_LIBS"
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
18845 $as_echo_n "checking for D-Bus... " >&6; }
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18849 #include <dbus/dbus.h>
18851 {dbus_bus_get(DBUS_BUS_SESSION, NULL);}
18853 if ac_fn_c_try_link "$LINENO"; then :
18858 rm -f core conftest.err conftest.$ac_objext \
18859 conftest$ac_exeext conftest.$ac_ext
18860 if test "$HAVE_DBUS" = "yes"; then
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18862 $as_echo "yes" >&6; }
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18865 $as_echo "no" >&6; }
18867 CPPFLAGS="$old_CPPFLAGS"
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18871 $as_echo "no" >&6; }
18877 # Check whether --with-gpg_agent was given.
18878 if test "${with_gpg_agent+set}" = set; then :
18879 withval=$with_gpg_agent;
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GPG-Agent" >&5
18885 $as_echo_n "checking whether to support GPG-Agent... " >&6; }
18886 if test "$with_gpg_agent" = "yes"; then
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18888 $as_echo "yes" >&6; }
18890 $as_echo "#define SVN_HAVE_GPG_AGENT 1" >>confdefs.h
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18894 $as_echo "no" >&6; }
18901 # Check whether --with-gnome_keyring was given.
18902 if test "${with_gnome_keyring+set}" = set; then :
18903 withval=$with_gnome_keyring; with_gnome_keyring="$withval"
18905 with_gnome_keyring=auto
18909 found_gnome_keyring=no
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for GNOME Keyring" >&5
18911 $as_echo_n "checking whether to look for GNOME Keyring... " >&6; }
18912 if test "$with_gnome_keyring" != "no"; then
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18914 $as_echo "yes" >&6; }
18915 if test "$svn_enable_shared" = "yes"; then
18916 if test "$APR_HAS_DSO" = "yes"; then
18917 if test -n "$PKG_CONFIG"; then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
18919 $as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
18920 if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18922 $as_echo "yes" >&6; }
18923 old_CPPFLAGS="$CPPFLAGS"
18924 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
18925 CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
18926 ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
18927 if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
18928 found_gnome_keyring=yes
18930 found_gnome_keyring=no
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
18935 $as_echo_n "checking for GNOME Keyring... " >&6; }
18936 if test "$found_gnome_keyring" = "yes"; then
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18938 $as_echo "yes" >&6; }
18940 $as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
18942 CPPFLAGS="$old_CPPFLAGS"
18943 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18946 $as_echo "no" >&6; }
18947 if test "$with_gnome_keyring" = "yes"; then
18948 as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18953 $as_echo "no" >&6; }
18954 if test "$with_gnome_keyring" = "yes"; then
18955 as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
18957 with_gnome_keyring=no
18961 if test "$with_gnome_keyring" = "yes"; then
18962 as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
18964 with_gnome_keyring=no
18968 if test "$with_gnome_keyring" = "yes"; then
18969 as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
18971 with_gnome_keyring=no
18975 if test "$with_gnome_keyring" = "yes"; then
18976 as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
18978 with_gnome_keyring=no
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18983 $as_echo "no" >&6; }
18989 # Check whether --enable-ev2-impl was given.
18990 if test "${enable_ev2_impl+set}" = set; then :
18991 enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
18996 if test "$enable_ev2_impl" = "yes"; then
18998 $as_echo "#define ENABLE_EV2_IMPL 1" >>confdefs.h
19004 # Check whether --enable-nls was given.
19005 if test "${enable_nls+set}" = set; then :
19006 enableval=$enable_nls; enable_nls=$enableval
19013 if test "$enable_nls" = "yes"; then
19014 # Extract the first word of "msgfmt", so it can be a program name with args.
19015 set dummy msgfmt; ac_word=$2
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19017 $as_echo_n "checking for $ac_word... " >&6; }
19018 if ${ac_cv_path_MSGFMT+:} false; then :
19019 $as_echo_n "(cached) " >&6
19023 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19027 for as_dir in $PATH
19030 test -z "$as_dir" && as_dir=.
19031 for ac_exec_ext in '' $ac_executable_extensions; do
19032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19033 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19041 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="none"
19045 MSGFMT=$ac_cv_path_MSGFMT
19046 if test -n "$MSGFMT"; then
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19048 $as_echo "$MSGFMT" >&6; }
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19051 $as_echo "no" >&6; }
19055 # Extract the first word of "msgmerge", so it can be a program name with args.
19056 set dummy msgmerge; ac_word=$2
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19058 $as_echo_n "checking for $ac_word... " >&6; }
19059 if ${ac_cv_path_MSGMERGE+:} false; then :
19060 $as_echo_n "(cached) " >&6
19064 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19068 for as_dir in $PATH
19071 test -z "$as_dir" && as_dir=.
19072 for ac_exec_ext in '' $ac_executable_extensions; do
19073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19074 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19082 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="none"
19086 MSGMERGE=$ac_cv_path_MSGMERGE
19087 if test -n "$MSGMERGE"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19089 $as_echo "$MSGMERGE" >&6; }
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19092 $as_echo "no" >&6; }
19096 # Extract the first word of "xgettext", so it can be a program name with args.
19097 set dummy xgettext; ac_word=$2
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19099 $as_echo_n "checking for $ac_word... " >&6; }
19100 if ${ac_cv_path_XGETTEXT+:} false; then :
19101 $as_echo_n "(cached) " >&6
19105 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19109 for as_dir in $PATH
19112 test -z "$as_dir" && as_dir=.
19113 for ac_exec_ext in '' $ac_executable_extensions; do
19114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19115 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19123 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="none"
19127 XGETTEXT=$ac_cv_path_XGETTEXT
19128 if test -n "$XGETTEXT"; then
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19130 $as_echo "$XGETTEXT" >&6; }
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133 $as_echo "no" >&6; }
19137 if test "$MSGFMT" != "none"; then
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19139 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19140 if ${ac_cv_search_bindtextdomain+:} false; then :
19141 $as_echo_n "(cached) " >&6
19143 ac_func_search_save_LIBS=$LIBS
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19147 /* Override any GCC internal prototype to avoid an error.
19148 Use char because int might match the return type of a GCC
19149 builtin and then its argument prototype would still apply. */
19153 char bindtextdomain ();
19157 return bindtextdomain ();
19162 for ac_lib in '' intl; do
19163 if test -z "$ac_lib"; then
19164 ac_res="none required"
19167 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19169 if ac_fn_c_try_link "$LINENO"; then :
19170 ac_cv_search_bindtextdomain=$ac_res
19172 rm -f core conftest.err conftest.$ac_objext \
19174 if ${ac_cv_search_bindtextdomain+:} false; then :
19178 if ${ac_cv_search_bindtextdomain+:} false; then :
19181 ac_cv_search_bindtextdomain=no
19183 rm conftest.$ac_ext
19184 LIBS=$ac_func_search_save_LIBS
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19187 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19188 ac_res=$ac_cv_search_bindtextdomain
19189 if test "$ac_res" != no; then :
19190 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19198 if test "$enable_nls" = "no"; then
19199 # Destroy the cached result so we can test again
19200 unset ac_cv_search_bindtextdomain
19201 # On some systems, libintl needs libiconv to link properly,
19202 # so try again with -liconv.
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19204 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19205 if ${ac_cv_search_bindtextdomain+:} false; then :
19206 $as_echo_n "(cached) " >&6
19208 ac_func_search_save_LIBS=$LIBS
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19212 /* Override any GCC internal prototype to avoid an error.
19213 Use char because int might match the return type of a GCC
19214 builtin and then its argument prototype would still apply. */
19218 char bindtextdomain ();
19222 return bindtextdomain ();
19227 for ac_lib in '' intl; do
19228 if test -z "$ac_lib"; then
19229 ac_res="none required"
19232 LIBS="-l$ac_lib -liconv $ac_func_search_save_LIBS"
19234 if ac_fn_c_try_link "$LINENO"; then :
19235 ac_cv_search_bindtextdomain=$ac_res
19237 rm -f core conftest.err conftest.$ac_objext \
19239 if ${ac_cv_search_bindtextdomain+:} false; then :
19243 if ${ac_cv_search_bindtextdomain+:} false; then :
19246 ac_cv_search_bindtextdomain=no
19248 rm conftest.$ac_ext
19249 LIBS=$ac_func_search_save_LIBS
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19252 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19253 ac_res=$ac_cv_search_bindtextdomain
19254 if test "$ac_res" != no; then :
19255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19258 # This is here so that -liconv ends up in LIBS
19259 # if it worked with -liconv.
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
19261 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
19262 if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
19263 $as_echo_n "(cached) " >&6
19265 ac_check_lib_save_LIBS=$LIBS
19266 LIBS="-liconv $LIBS"
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19270 /* Override any GCC internal prototype to avoid an error.
19271 Use char because int might match the return type of a GCC
19272 builtin and then its argument prototype would still apply. */
19276 char libiconv_open ();
19280 return libiconv_open ();
19285 if ac_fn_c_try_link "$LINENO"; then :
19286 ac_cv_lib_iconv_libiconv_open=yes
19288 ac_cv_lib_iconv_libiconv_open=no
19290 rm -f core conftest.err conftest.$ac_objext \
19291 conftest$ac_exeext conftest.$ac_ext
19292 LIBS=$ac_check_lib_save_LIBS
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
19295 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
19296 if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_LIBICONV 1
19301 LIBS="-liconv $LIBS"
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bindtextdomain() not found. Disabling NLS." >&5
19309 $as_echo "$as_me: WARNING: bindtextdomain() not found. Disabling NLS." >&2;}
19315 if test "$enable_nls" = "yes"; then
19317 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19327 NO_GETTEXT_CODESET=\#
19328 if test $USE_NLS = "yes"; then
19329 for ac_func in bind_textdomain_codeset
19331 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19332 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19333 cat >>confdefs.h <<_ACEOF
19334 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19338 NO_GETTEXT_CODESET=""
19346 # Check if we are using GNU gettext.
19349 if test $USE_NLS = "yes"; then
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using GNU gettext" >&5
19351 $as_echo_n "checking if we are using GNU gettext... " >&6; }
19352 if $MSGFMT --version 2>&1 | $EGREP GNU > /dev/null; then
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_GETTEXT" >&5
19357 $as_echo "$GNU_GETTEXT" >&6; }
19365 # Check whether --with-libmagic was given.
19366 if test "${with_libmagic+set}" = set; then :
19367 withval=$with_libmagic;
19368 if test "$withval" = "yes" ; then
19369 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19370 if test "x$ac_cv_header_magic_h" = xyes; then :
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19373 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19374 if ${ac_cv_lib_magic_magic_open+:} false; then :
19375 $as_echo_n "(cached) " >&6
19377 ac_check_lib_save_LIBS=$LIBS
19378 LIBS="-lmagic $LIBS"
19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19382 /* Override any GCC internal prototype to avoid an error.
19383 Use char because int might match the return type of a GCC
19384 builtin and then its argument prototype would still apply. */
19388 char magic_open ();
19392 return magic_open ();
19397 if ac_fn_c_try_link "$LINENO"; then :
19398 ac_cv_lib_magic_magic_open=yes
19400 ac_cv_lib_magic_magic_open=no
19402 rm -f core conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext conftest.$ac_ext
19404 LIBS=$ac_check_lib_save_LIBS
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19407 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19408 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19409 libmagic_found="builtin"
19416 libmagic_prefix="the default locations"
19417 elif test "$withval" != "no"; then
19418 libmagic_prefix=$withval
19419 save_cppflags="$CPPFLAGS"
19420 CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"
19421 for ac_header in magic.h
19423 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19424 if test "x$ac_cv_header_magic_h" = xyes; then :
19425 cat >>confdefs.h <<_ACEOF
19426 #define HAVE_MAGIC_H 1
19429 save_ldflags="$LDFLAGS"
19430 LDFLAGS="-L$libmagic_prefix/lib $LDFLAGS"
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19432 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19433 if ${ac_cv_lib_magic_magic_open+:} false; then :
19434 $as_echo_n "(cached) " >&6
19436 ac_check_lib_save_LIBS=$LIBS
19437 LIBS="-lmagic $LIBS"
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19441 /* Override any GCC internal prototype to avoid an error.
19442 Use char because int might match the return type of a GCC
19443 builtin and then its argument prototype would still apply. */
19447 char magic_open ();
19451 return magic_open ();
19456 if ac_fn_c_try_link "$LINENO"; then :
19457 ac_cv_lib_magic_magic_open=yes
19459 ac_cv_lib_magic_magic_open=no
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext conftest.$ac_ext
19463 LIBS=$ac_check_lib_save_LIBS
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19466 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19467 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19468 libmagic_found="yes"
19471 LDFLAGS="$save_ldflags"
19477 CPPFLAGS="$save_cppflags"
19479 if test "$withval" != "no" && test "$libmagic_found" = "no"; then
19480 as_fn_error $? "--with-libmagic requested, but libmagic not found at $libmagic_prefix" "$LINENO" 5
19485 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_magic_h" = xyes; then :
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19489 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19490 if ${ac_cv_lib_magic_magic_open+:} false; then :
19491 $as_echo_n "(cached) " >&6
19493 ac_check_lib_save_LIBS=$LIBS
19494 LIBS="-lmagic $LIBS"
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19498 /* Override any GCC internal prototype to avoid an error.
19499 Use char because int might match the return type of a GCC
19500 builtin and then its argument prototype would still apply. */
19504 char magic_open ();
19508 return magic_open ();
19513 if ac_fn_c_try_link "$LINENO"; then :
19514 ac_cv_lib_magic_magic_open=yes
19516 ac_cv_lib_magic_magic_open=no
19518 rm -f core conftest.err conftest.$ac_objext \
19519 conftest$ac_exeext conftest.$ac_ext
19520 LIBS=$ac_check_lib_save_LIBS
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19523 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19524 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19525 libmagic_found="builtin"
19536 if test "$libmagic_found" != "no"; then
19538 $as_echo "#define SVN_HAVE_LIBMAGIC 1" >>confdefs.h
19540 SVN_MAGIC_LIBS="-lmagic"
19543 if test "$libmagic_found" = "yes"; then
19544 SVN_MAGIC_INCLUDES="-I$libmagic_prefix/include"
19545 LDFLAGS="$LDFLAGS `
19546 input_flags="-L$libmagic_prefix/lib"
19548 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19549 for flag in $input_flags; do
19551 for dir in $filtered_dirs; do
19552 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19557 if test "$filter" = "no"; then
19558 output_flags="$output_flags $flag"
19561 if test -n "$output_flags"; then
19562 printf "%s" "${output_flags# }"
19572 # Check whether --with-kwallet was given.
19573 if test "${with_kwallet+set}" = set; then :
19574 withval=$with_kwallet; svn_lib_kwallet="$withval"
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for KWallet" >&5
19581 $as_echo_n "checking whether to look for KWallet... " >&6; }
19582 if test "$svn_lib_kwallet" != "no"; then
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19584 $as_echo "yes" >&6; }
19585 if test "$svn_enable_shared" = "yes"; then
19586 if test "$APR_HAS_DSO" = "yes"; then
19587 if test -n "$PKG_CONFIG"; then
19588 if test "$HAVE_DBUS" = "yes"; then
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
19590 $as_echo_n "checking for QtCore, QtDBus, QtGui... " >&6; }
19591 if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19593 $as_echo "yes" >&6; }
19594 if test "$svn_lib_kwallet" != "yes"; then
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
19596 $as_echo_n "checking for kde4-config... " >&6; }
19597 KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
19598 if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19600 $as_echo "yes" >&6; }
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19604 $as_echo "no" >&6; }
19607 # Extract the first word of "kde4-config", so it can be a program name with args.
19608 set dummy kde4-config; ac_word=$2
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19610 $as_echo_n "checking for $ac_word... " >&6; }
19611 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
19612 $as_echo_n "(cached) " >&6
19614 case $KDE4_CONFIG in
19616 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
19619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19620 for as_dir in $PATH
19623 test -z "$as_dir" && as_dir=.
19624 for ac_exec_ext in '' $ac_executable_extensions; do
19625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19626 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19637 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
19638 if test -n "$KDE4_CONFIG"; then
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
19640 $as_echo "$KDE4_CONFIG" >&6; }
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19643 $as_echo "no" >&6; }
19648 if test -n "$KDE4_CONFIG"; then
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
19650 $as_echo_n "checking for KWallet... " >&6; }
19651 old_CXXFLAGS="$CXXFLAGS"
19652 old_LDFLAGS="$LDFLAGS"
19654 for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
19655 if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
19656 CPPFLAGS="$CPPFLAGS $d"
19659 qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
19660 kde_dir="`$KDE4_CONFIG --prefix`"
19661 SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
19662 qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
19663 SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
19664 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
19665 LIBS="$LIBS $SVN_KWALLET_LIBS"
19666 qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
19667 kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
19668 LDFLAGS="$old_LDFLAGS `
19669 input_flags="$qt_lib_dirs -L$kde_dir/lib$kde_lib_suffix"
19671 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19672 for flag in $input_flags; do
19674 for dir in $filtered_dirs; do
19675 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19680 if test "$filter" = "no"; then
19681 output_flags="$output_flags $flag"
19684 if test -n "$output_flags"; then
19685 printf "%s" "${output_flags# }"
19689 ac_cpp='$CXXCPP $CPPFLAGS'
19690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19697 #include <kwallet.h>
19699 {KWallet::Wallet::walletList();}
19701 if ac_fn_cxx_try_link "$LINENO"; then :
19702 svn_lib_kwallet="yes"
19704 svn_lib_kwallet="no"
19706 rm -f core conftest.err conftest.$ac_objext \
19707 conftest$ac_exeext conftest.$ac_ext
19709 ac_cpp='$CPP $CPPFLAGS'
19710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19714 if test "$svn_lib_kwallet" = "yes"; then
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19716 $as_echo "yes" >&6; }
19717 CXXFLAGS="$old_CXXFLAGS"
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19721 $as_echo "no" >&6; }
19722 as_fn_error $? "cannot find KWallet" "$LINENO" 5
19725 as_fn_error $? "cannot find kde4-config" "$LINENO" 5
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19729 $as_echo "no" >&6; }
19730 as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
19733 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
19736 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
19739 as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
19742 as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19746 $as_echo "no" >&6; }
19752 if test "$svn_lib_kwallet" = "yes"; then
19754 $as_echo "#define SVN_HAVE_KWALLET 1" >>confdefs.h
19758 # Check whether --enable-plaintext-password-storage was given.
19759 if test "${enable_plaintext_password_storage+set}" = set; then :
19760 enableval=$enable_plaintext_password_storage;
19761 if test "$enableval" = "no"; then
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling plaintext password/passphrase storage" >&5
19763 $as_echo "$as_me: Disabling plaintext password/passphrase storage" >&6;}
19765 $as_echo "#define SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE 1" >>confdefs.h
19773 INSTALL_STATIC_RULES="install-bin install-docs"
19774 INSTALL_RULES="install-fsmod-lib install-ramod-lib install-lib install-include install-static"
19775 INSTALL_RULES="$INSTALL_RULES $INSTALL_APACHE_RULE"
19776 BUILD_RULES="fsmod-lib ramod-lib lib bin test sub-test $BUILD_APACHE_RULE tools"
19778 if test "$svn_lib_berkeley_db" = "yes"; then
19779 BUILD_RULES="$BUILD_RULES bdb-lib bdb-test"
19780 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-fsmod-lib/install-fsmod-lib install-bdb-lib/'`"
19781 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-bdb-lib"
19782 BDB_TEST_DEPS="\$(BDB_TEST_DEPS)"
19783 BDB_TEST_PROGRAMS="\$(BDB_TEST_PROGRAMS)"
19786 if test "$svn_lib_serf" = "yes"; then
19787 BUILD_RULES="$BUILD_RULES serf-lib"
19788 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-ramod-lib/install-ramod-lib install-serf-lib/'`"
19789 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-serf-lib"
19792 if test "$svn_lib_kwallet" = "yes"; then
19793 BUILD_RULES="$BUILD_RULES kwallet-lib"
19794 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-kwallet-lib/'`"
19795 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
19798 if test "$found_gnome_keyring" = "yes"; then
19799 BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
19800 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
19801 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
19804 if test "$USE_NLS" = "yes"; then
19805 BUILD_RULES="$BUILD_RULES locale"
19806 INSTALL_RULES="$INSTALL_RULES install-locale"
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19817 $as_echo_n "checking for ANSI C header files... " >&6; }
19818 if ${ac_cv_header_stdc+:} false; then :
19819 $as_echo_n "(cached) " >&6
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #include <stdlib.h>
19824 #include <stdarg.h>
19825 #include <string.h>
19836 if ac_fn_c_try_compile "$LINENO"; then :
19837 ac_cv_header_stdc=yes
19839 ac_cv_header_stdc=no
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19843 if test $ac_cv_header_stdc = yes; then
19844 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include <string.h>
19850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19851 $EGREP "memchr" >/dev/null 2>&1; then :
19854 ac_cv_header_stdc=no
19860 if test $ac_cv_header_stdc = yes; then
19861 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #include <stdlib.h>
19867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19868 $EGREP "free" >/dev/null 2>&1; then :
19871 ac_cv_header_stdc=no
19877 if test $ac_cv_header_stdc = yes; then
19878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19879 if test "$cross_compiling" = yes; then :
19882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19883 /* end confdefs.h. */
19885 #include <stdlib.h>
19886 #if ((' ' & 0x0FF) == 0x020)
19887 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19888 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19890 # define ISLOWER(c) \
19891 (('a' <= (c) && (c) <= 'i') \
19892 || ('j' <= (c) && (c) <= 'r') \
19893 || ('s' <= (c) && (c) <= 'z'))
19894 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19897 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19902 for (i = 0; i < 256; i++)
19903 if (XOR (islower (i), ISLOWER (i))
19904 || toupper (i) != TOUPPER (i))
19909 if ac_fn_c_try_run "$LINENO"; then :
19912 ac_cv_header_stdc=no
19914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19915 conftest.$ac_objext conftest.beam conftest.$ac_ext
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19921 $as_echo "$ac_cv_header_stdc" >&6; }
19922 if test $ac_cv_header_stdc = yes; then
19924 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19931 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19932 if ${ac_cv_c_const+:} false; then :
19933 $as_echo_n "(cached) " >&6
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19942 #ifndef __cplusplus
19943 /* Ultrix mips cc rejects this sort of thing. */
19944 typedef int charset[2];
19945 const charset cs = { 0, 0 };
19946 /* SunOS 4.1.1 cc rejects this. */
19947 char const *const *pcpcc;
19949 /* NEC SVR4.0.2 mips cc rejects this. */
19950 struct point {int x, y;};
19951 static struct point const zero = {0,0};
19952 /* AIX XL C 1.02.0.0 rejects this.
19953 It does not let you subtract one const X* pointer from another in
19954 an arm of an if-expression whose if-part is not a constant
19956 const char *g = "string";
19957 pcpcc = &g + (g ? g-g : 0);
19958 /* HPUX 7.0 cc rejects these. */
19960 ppc = (char**) pcpcc;
19961 pcpcc = (char const *const *) ppc;
19962 { /* SCO 3.2v4 cc rejects this sort of thing. */
19965 char const *s = 0 ? (char *) 0 : (char const *) 0;
19970 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19971 int x[] = {25, 17};
19972 const int *foo = &x[0];
19975 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19976 typedef const int *iptr;
19980 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19981 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19982 struct s { int j; const int *ap[3]; } bx;
19983 struct s *b = &bx; b->j = 5;
19985 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19986 const int foo = 10;
19987 if (!foo) return 0;
19989 return !cs[0] && !zero.x;
19996 if ac_fn_c_try_compile "$LINENO"; then :
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20004 $as_echo "$ac_cv_c_const" >&6; }
20005 if test $ac_cv_c_const = no; then
20007 $as_echo "#define const /**/" >>confdefs.h
20012 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20013 if test "x$ac_cv_type_size_t" = xyes; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define size_t unsigned int
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20027 $as_echo_n "checking for working memcmp... " >&6; }
20028 if ${ac_cv_func_memcmp_working+:} false; then :
20029 $as_echo_n "(cached) " >&6
20031 if test "$cross_compiling" = yes; then :
20032 ac_cv_func_memcmp_working=no
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 $ac_includes_default
20041 /* Some versions of memcmp are not 8-bit clean. */
20042 char c0 = '\100', c1 = '\200', c2 = '\201';
20043 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20046 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20047 or more and with at least one buffer not starting on a 4-byte boundary.
20048 William Lewis provided this test program. */
20053 for (i = 0; i < 4; i++)
20057 strcpy (a, "--------01111111");
20058 strcpy (b, "--------10000000");
20059 if (memcmp (a, b, 16) >= 0)
20069 if ac_fn_c_try_run "$LINENO"; then :
20070 ac_cv_func_memcmp_working=yes
20072 ac_cv_func_memcmp_working=no
20074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20075 conftest.$ac_objext conftest.beam conftest.$ac_ext
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20080 $as_echo "$ac_cv_func_memcmp_working" >&6; }
20081 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20082 *" memcmp.$ac_objext "* ) ;;
20083 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20089 for ac_func in vprintf
20091 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
20092 if test "x$ac_cv_func_vprintf" = xyes; then :
20093 cat >>confdefs.h <<_ACEOF
20094 #define HAVE_VPRINTF 1
20097 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20098 if test "x$ac_cv_func__doprnt" = xyes; then :
20100 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
20109 for ac_func in symlink readlink
20111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20114 cat >>confdefs.h <<_ACEOF
20115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20122 for ac_header in sys/utsname.h
20124 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
20125 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_SYS_UTSNAME_H 1
20129 for ac_func in uname
20131 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
20132 if test "x$ac_cv_func_uname" = xyes; then :
20133 cat >>confdefs.h <<_ACEOF
20134 #define HAVE_UNAME 1
20145 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20146 if test "x$ac_cv_header_termios_h" = xyes; then :
20148 for ac_func in tcgetattr tcsetattr
20150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20153 cat >>confdefs.h <<_ACEOF
20154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20158 $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h
20171 # Check whether --with-openssl was given.
20172 if test "${with_openssl+set}" = set; then :
20173 withval=$with_openssl;
20177 # Check whether --enable-debug was given.
20178 if test "${enable_debug+set}" = set; then :
20179 enableval=$enable_debug;
20180 if test "$enableval" = "yes" ; then
20181 enable_debugging="yes"
20183 enable_debugging="no"
20188 # Neither --enable-debug nor --disable-debug was passed.
20189 enable_debugging="maybe"
20194 # Check whether --enable-optimize was given.
20195 if test "${enable_optimize+set}" = set; then :
20196 enableval=$enable_optimize;
20197 if test "$enableval" = "yes" ; then
20198 enable_optimization="yes"
20200 enable_optimization="no"
20205 # Neither --enable-optimize nor --disable-optimize was passed.
20206 enable_optimization="maybe"
20211 # Check whether --enable-disallowing-of-undefined-references was given.
20212 if test "${enable_disallowing_of_undefined_references+set}" = set; then :
20213 enableval=$enable_disallowing_of_undefined_references;
20216 if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`" != "Linux"; then
20217 enable_disallowing_of_undefined_references="no"
20219 if test "$enable_disallowing_of_undefined_references" != "no"; then
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-undefined" >&5
20221 $as_echo_n "checking for -Wl,--no-undefined... " >&6; }
20222 old_LDFLAGS="$LDFLAGS"
20223 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20228 if ac_fn_c_try_link "$LINENO"; then :
20229 svn_wl_no_undefined="yes"
20231 svn_wl_no_undefined="no"
20233 rm -f core conftest.err conftest.$ac_objext \
20234 conftest$ac_exeext conftest.$ac_ext
20235 LDFLAGS="$old_LDFLAGS"
20236 if test "$svn_wl_no_undefined" = "yes"; then
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20238 $as_echo "yes" >&6; }
20239 for library_dir in "$abs_srcdir/subversion/libsvn_"*; do
20240 eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244 $as_echo "no" >&6; }
20245 if test "$enable_disallowing_of_undefined_references" = "yes"; then
20246 as_fn_error $? "--enable-disallowing-of-undefined-references explicitly requested, but -Wl,--no-undefined not supported" "$LINENO" 5
20268 # Check whether --enable-maintainer-mode was given.
20269 if test "${enable_maintainer_mode+set}" = set; then :
20270 enableval=$enable_maintainer_mode;
20271 if test "$enableval" = "yes" ; then
20272 if test "$enable_debugging" = "no" ; then
20273 as_fn_error $? "Can't have --disable-debug and --enable-maintainer-mode" "$LINENO" 5
20275 enable_debugging=yes
20277 if test "$GCC" = "yes"; then
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding GCC warning flags" >&5
20279 $as_echo "$as_me: maintainer-mode: adding GCC warning flags" >&6;}
20282 CFLAGS_KEEP="$CFLAGS"
20286 _svn_xxflags__save="$CFLAGS"
20288 ac_cpp='$CPP $CPPFLAGS'
20289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=implicit-function-declaration" >&5
20294 $as_echo_n "checking if $CC accepts -Werror=implicit-function-declaration... " >&6; }
20295 CFLAGS="-Werror=implicit-function-declaration $CFLAGS"
20296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20298 int main(void){return 0;}
20300 if ac_fn_c_try_link "$LINENO"; then :
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20303 $as_echo "yes" >&6; }
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20309 $as_echo "no" >&6; }
20310 CFLAGS="$_svn_xxflags__save"
20314 rm -f core conftest.err conftest.$ac_objext \
20315 conftest$ac_exeext conftest.$ac_ext
20317 ac_cpp='$CPP $CPPFLAGS'
20318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20324 _svn_xxflags__save="$CFLAGS"
20326 ac_cpp='$CPP $CPPFLAGS'
20327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=declaration-after-statement" >&5
20332 $as_echo_n "checking if $CC accepts -Werror=declaration-after-statement... " >&6; }
20333 CFLAGS="-Werror=declaration-after-statement $CFLAGS"
20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20336 int main(void){return 0;}
20338 if ac_fn_c_try_link "$LINENO"; then :
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20341 $as_echo "yes" >&6; }
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20347 $as_echo "no" >&6; }
20348 CFLAGS="$_svn_xxflags__save"
20352 rm -f core conftest.err conftest.$ac_objext \
20353 conftest$ac_exeext conftest.$ac_ext
20355 ac_cpp='$CPP $CPPFLAGS'
20356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20362 _svn_xxflags__save="$CFLAGS"
20364 ac_cpp='$CPP $CPPFLAGS'
20365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra-tokens" >&5
20370 $as_echo_n "checking if $CC accepts -Wextra-tokens... " >&6; }
20371 CFLAGS="-Wextra-tokens $CFLAGS"
20372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20374 int main(void){return 0;}
20376 if ac_fn_c_try_link "$LINENO"; then :
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20379 $as_echo "yes" >&6; }
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20385 $as_echo "no" >&6; }
20386 CFLAGS="$_svn_xxflags__save"
20390 rm -f core conftest.err conftest.$ac_objext \
20391 conftest$ac_exeext conftest.$ac_ext
20393 ac_cpp='$CPP $CPPFLAGS'
20394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20400 _svn_xxflags__save="$CFLAGS"
20402 ac_cpp='$CPP $CPPFLAGS'
20403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wnewline-eof" >&5
20408 $as_echo_n "checking if $CC accepts -Wnewline-eof... " >&6; }
20409 CFLAGS="-Wnewline-eof $CFLAGS"
20410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20411 /* end confdefs.h. */
20412 int main(void){return 0;}
20414 if ac_fn_c_try_link "$LINENO"; then :
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20417 $as_echo "yes" >&6; }
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423 $as_echo "no" >&6; }
20424 CFLAGS="$_svn_xxflags__save"
20428 rm -f core conftest.err conftest.$ac_objext \
20429 conftest$ac_exeext conftest.$ac_ext
20431 ac_cpp='$CPP $CPPFLAGS'
20432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438 _svn_xxflags__save="$CFLAGS"
20440 ac_cpp='$CPP $CPPFLAGS'
20441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wshorten-64-to-32" >&5
20446 $as_echo_n "checking if $CC accepts -Wshorten-64-to-32... " >&6; }
20447 CFLAGS="-Wshorten-64-to-32 $CFLAGS"
20448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h. */
20450 int main(void){return 0;}
20452 if ac_fn_c_try_link "$LINENO"; then :
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20455 $as_echo "yes" >&6; }
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20461 $as_echo "no" >&6; }
20462 CFLAGS="$_svn_xxflags__save"
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20469 ac_cpp='$CPP $CPPFLAGS'
20470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20476 _svn_xxflags__save="$CFLAGS"
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wold-style-definition" >&5
20484 $as_echo_n "checking if $CC accepts -Wold-style-definition... " >&6; }
20485 CFLAGS="-Wold-style-definition $CFLAGS"
20486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20488 int main(void){return 0;}
20490 if ac_fn_c_try_link "$LINENO"; then :
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20493 $as_echo "yes" >&6; }
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20499 $as_echo "no" >&6; }
20500 CFLAGS="$_svn_xxflags__save"
20504 rm -f core conftest.err conftest.$ac_objext \
20505 conftest$ac_exeext conftest.$ac_ext
20507 ac_cpp='$CPP $CPPFLAGS'
20508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20514 _svn_xxflags__save="$CFLAGS"
20516 ac_cpp='$CPP $CPPFLAGS'
20517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-system-headers" >&5
20522 $as_echo_n "checking if $CC accepts -Wno-system-headers... " >&6; }
20523 CFLAGS="-Wno-system-headers $CFLAGS"
20524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h. */
20526 int main(void){return 0;}
20528 if ac_fn_c_try_link "$LINENO"; then :
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20531 $as_echo "yes" >&6; }
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20537 $as_echo "no" >&6; }
20538 CFLAGS="$_svn_xxflags__save"
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext conftest.$ac_ext
20545 ac_cpp='$CPP $CPPFLAGS'
20546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20552 _svn_xxflags__save="$CFLAGS"
20554 ac_cpp='$CPP $CPPFLAGS'
20555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-format-nonliteral" >&5
20560 $as_echo_n "checking if $CC accepts -Wno-format-nonliteral... " >&6; }
20561 CFLAGS="-Wno-format-nonliteral $CFLAGS"
20562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h. */
20564 int main(void){return 0;}
20566 if ac_fn_c_try_link "$LINENO"; then :
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20569 $as_echo "yes" >&6; }
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20575 $as_echo "no" >&6; }
20576 CFLAGS="$_svn_xxflags__save"
20580 rm -f core conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20583 ac_cpp='$CPP $CPPFLAGS'
20584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20590 CMAINTAINERFLAGS="$CFLAGS $CMAINTAINERFLAGS"
20591 CFLAGS="$CFLAGS_KEEP"
20593 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"
20595 if test "$GXX" = "yes"; then
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
20597 $as_echo "$as_me: maintainer-mode: adding G++ warning flags" >&6;}
20599 CXXFLAGS_KEEP="$CXXFLAGS"
20603 _svn_xxflags__save="$CXXFLAGS"
20605 ac_cpp='$CXXCPP $CPPFLAGS'
20606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra-tokens" >&5
20611 $as_echo_n "checking if $CXX accepts -Wextra-tokens... " >&6; }
20612 CXXFLAGS="-Wextra-tokens $CXXFLAGS"
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20617 if ac_fn_cxx_try_link "$LINENO"; then :
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20620 $as_echo "yes" >&6; }
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20626 $as_echo "no" >&6; }
20627 CXXFLAGS="$_svn_xxflags__save"
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20634 ac_cpp='$CPP $CPPFLAGS'
20635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20641 _svn_xxflags__save="$CXXFLAGS"
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wnewline-eof" >&5
20649 $as_echo_n "checking if $CXX accepts -Wnewline-eof... " >&6; }
20650 CXXFLAGS="-Wnewline-eof $CXXFLAGS"
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20655 if ac_fn_cxx_try_link "$LINENO"; then :
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20658 $as_echo "yes" >&6; }
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20664 $as_echo "no" >&6; }
20665 CXXFLAGS="$_svn_xxflags__save"
20669 rm -f core conftest.err conftest.$ac_objext \
20670 conftest$ac_exeext conftest.$ac_ext
20672 ac_cpp='$CPP $CPPFLAGS'
20673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20679 _svn_xxflags__save="$CXXFLAGS"
20681 ac_cpp='$CXXCPP $CPPFLAGS'
20682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wshorten-64-to-32" >&5
20687 $as_echo_n "checking if $CXX accepts -Wshorten-64-to-32... " >&6; }
20688 CXXFLAGS="-Wshorten-64-to-32 $CXXFLAGS"
20689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20693 if ac_fn_cxx_try_link "$LINENO"; then :
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20696 $as_echo "yes" >&6; }
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20702 $as_echo "no" >&6; }
20703 CXXFLAGS="$_svn_xxflags__save"
20707 rm -f core conftest.err conftest.$ac_objext \
20708 conftest$ac_exeext conftest.$ac_ext
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 _svn_xxflags__save="$CXXFLAGS"
20719 ac_cpp='$CXXCPP $CPPFLAGS'
20720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-system-headers" >&5
20725 $as_echo_n "checking if $CXX accepts -Wno-system-headers... " >&6; }
20726 CXXFLAGS="-Wno-system-headers $CXXFLAGS"
20727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20728 /* end confdefs.h. */
20731 if ac_fn_cxx_try_link "$LINENO"; then :
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20734 $as_echo "yes" >&6; }
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20740 $as_echo "no" >&6; }
20741 CXXFLAGS="$_svn_xxflags__save"
20745 rm -f core conftest.err conftest.$ac_objext \
20746 conftest$ac_exeext conftest.$ac_ext
20748 ac_cpp='$CPP $CPPFLAGS'
20749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20755 CXXMAINTAINERFLAGS="$CXXFLAGS $CXXMAINTAINERFLAGS"
20756 CXXFLAGS="$CXXFLAGS_KEEP"
20758 CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
20765 if test "$enable_debugging" = "yes" ; then
20766 if test "$enable_optimization" != "yes"; then
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations for debugging" >&5
20768 $as_echo "$as_me: Disabling optimizations for debugging" >&6;}
20769 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
20770 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
20772 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C" >&5
20774 $as_echo "$as_me: Enabling debugging for C" >&6;}
20775 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20777 _svn_xxflags__save="$CFLAGS"
20779 ac_cpp='$CPP $CPPFLAGS'
20780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline" >&5
20785 $as_echo_n "checking if $CC accepts -fno-inline... " >&6; }
20786 CFLAGS="-fno-inline $CFLAGS"
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20789 int main(void){return 0;}
20791 if ac_fn_c_try_link "$LINENO"; then :
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20794 $as_echo "yes" >&6; }
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20800 $as_echo "no" >&6; }
20801 CFLAGS="$_svn_xxflags__save"
20805 rm -f core conftest.err conftest.$ac_objext \
20806 conftest$ac_exeext conftest.$ac_ext
20808 ac_cpp='$CPP $CPPFLAGS'
20809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815 _svn_xxflags__save="$CFLAGS"
20817 ac_cpp='$CPP $CPPFLAGS'
20818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-omit-frame-pointer" >&5
20823 $as_echo_n "checking if $CC accepts -fno-omit-frame-pointer... " >&6; }
20824 CFLAGS="-fno-omit-frame-pointer $CFLAGS"
20825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20826 /* end confdefs.h. */
20827 int main(void){return 0;}
20829 if ac_fn_c_try_link "$LINENO"; then :
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20832 $as_echo "yes" >&6; }
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20838 $as_echo "no" >&6; }
20839 CFLAGS="$_svn_xxflags__save"
20843 rm -f core conftest.err conftest.$ac_objext \
20844 conftest$ac_exeext conftest.$ac_ext
20846 ac_cpp='$CPP $CPPFLAGS'
20847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853 _svn_xxflags__save="$CFLAGS"
20855 ac_cpp='$CPP $CPPFLAGS'
20856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g3" >&5
20861 $as_echo_n "checking if $CC accepts -g3... " >&6; }
20862 CFLAGS="-g3 $CFLAGS"
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 int main(void){return 0;}
20867 if ac_fn_c_try_link "$LINENO"; then :
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20870 $as_echo "yes" >&6; }
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20876 $as_echo "no" >&6; }
20877 CFLAGS="$_svn_xxflags__save"
20880 _svn_xxflags__save="$CFLAGS"
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g2" >&5
20888 $as_echo_n "checking if $CC accepts -g2... " >&6; }
20889 CFLAGS="-g2 $CFLAGS"
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20892 int main(void){return 0;}
20894 if ac_fn_c_try_link "$LINENO"; then :
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20897 $as_echo "yes" >&6; }
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20903 $as_echo "no" >&6; }
20904 CFLAGS="$_svn_xxflags__save"
20907 _svn_xxflags__save="$CFLAGS"
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g" >&5
20915 $as_echo_n "checking if $CC accepts -g... " >&6; }
20916 CFLAGS="-g $CFLAGS"
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 int main(void){return 0;}
20921 if ac_fn_c_try_link "$LINENO"; then :
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20924 $as_echo "yes" >&6; }
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20930 $as_echo "no" >&6; }
20931 CFLAGS="$_svn_xxflags__save"
20935 rm -f core conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20938 ac_cpp='$CPP $CPPFLAGS'
20939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20946 rm -f core conftest.err conftest.$ac_objext \
20947 conftest$ac_exeext conftest.$ac_ext
20949 ac_cpp='$CPP $CPPFLAGS'
20950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20957 rm -f core conftest.err conftest.$ac_objext \
20958 conftest$ac_exeext conftest.$ac_ext
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20967 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C++" >&5
20969 $as_echo "$as_me: Enabling debugging for C++" >&6;}
20970 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20972 _svn_xxflags__save="$CXXFLAGS"
20974 ac_cpp='$CXXCPP $CPPFLAGS'
20975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-inline" >&5
20980 $as_echo_n "checking if $CXX accepts -fno-inline... " >&6; }
20981 CXXFLAGS="-fno-inline $CXXFLAGS"
20982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20983 /* end confdefs.h. */
20986 if ac_fn_cxx_try_link "$LINENO"; then :
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20989 $as_echo "yes" >&6; }
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20995 $as_echo "no" >&6; }
20996 CXXFLAGS="$_svn_xxflags__save"
21000 rm -f core conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21003 ac_cpp='$CPP $CPPFLAGS'
21004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21010 _svn_xxflags__save="$CXXFLAGS"
21012 ac_cpp='$CXXCPP $CPPFLAGS'
21013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-omit-frame-pointer" >&5
21018 $as_echo_n "checking if $CXX accepts -fno-omit-frame-pointer... " >&6; }
21019 CXXFLAGS="-fno-omit-frame-pointer $CXXFLAGS"
21020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h. */
21024 if ac_fn_cxx_try_link "$LINENO"; then :
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21027 $as_echo "yes" >&6; }
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21033 $as_echo "no" >&6; }
21034 CXXFLAGS="$_svn_xxflags__save"
21038 rm -f core conftest.err conftest.$ac_objext \
21039 conftest$ac_exeext conftest.$ac_ext
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21048 _svn_xxflags__save="$CXXFLAGS"
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g3" >&5
21056 $as_echo_n "checking if $CXX accepts -g3... " >&6; }
21057 CXXFLAGS="-g3 $CXXFLAGS"
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21062 if ac_fn_cxx_try_link "$LINENO"; then :
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21065 $as_echo "yes" >&6; }
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21071 $as_echo "no" >&6; }
21072 CXXFLAGS="$_svn_xxflags__save"
21075 _svn_xxflags__save="$CXXFLAGS"
21077 ac_cpp='$CXXCPP $CPPFLAGS'
21078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g2" >&5
21083 $as_echo_n "checking if $CXX accepts -g2... " >&6; }
21084 CXXFLAGS="-g2 $CXXFLAGS"
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21089 if ac_fn_cxx_try_link "$LINENO"; then :
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21092 $as_echo "yes" >&6; }
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21098 $as_echo "no" >&6; }
21099 CXXFLAGS="$_svn_xxflags__save"
21102 _svn_xxflags__save="$CXXFLAGS"
21104 ac_cpp='$CXXCPP $CPPFLAGS'
21105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g" >&5
21110 $as_echo_n "checking if $CXX accepts -g... " >&6; }
21111 CXXFLAGS="-g $CXXFLAGS"
21112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21116 if ac_fn_cxx_try_link "$LINENO"; then :
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21119 $as_echo "yes" >&6; }
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21125 $as_echo "no" >&6; }
21126 CXXFLAGS="$_svn_xxflags__save"
21130 rm -f core conftest.err conftest.$ac_objext \
21131 conftest$ac_exeext conftest.$ac_ext
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21141 rm -f core conftest.err conftest.$ac_objext \
21142 conftest$ac_exeext conftest.$ac_ext
21144 ac_cpp='$CXXCPP $CPPFLAGS'
21145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21152 rm -f core conftest.err conftest.$ac_objext \
21153 conftest$ac_exeext conftest.$ac_ext
21155 ac_cpp='$CPP $CPPFLAGS'
21156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21162 CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
21163 CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
21164 elif test "$enable_debugging" = "no" ; then
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling debugging" >&5
21166 $as_echo "$as_me: Disabling debugging" >&6;}
21167 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21168 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21169 CFLAGS="$CFLAGS -DNDEBUG"
21170 CXXFLAGS="$CXXFLAGS -DNDEBUG"
21171 # elif test "$enable_debugging" = "maybe" ; then
21175 if test "$enable_optimization" = "yes"; then
21176 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
21177 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21178 if test "$enable_debugging" = "yes"; then
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C (with debugging enabled)" >&5
21180 $as_echo "$as_me: Enabling optimizations for C (with debugging enabled)" >&6;}
21182 _svn_xxflags__save="$CFLAGS"
21184 ac_cpp='$CPP $CPPFLAGS'
21185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21190 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21191 CFLAGS="-O1 $CFLAGS"
21192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21194 int main(void){return 0;}
21196 if ac_fn_c_try_link "$LINENO"; then :
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21199 $as_echo "yes" >&6; }
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21205 $as_echo "no" >&6; }
21206 CFLAGS="$_svn_xxflags__save"
21209 _svn_xxflags__save="$CFLAGS"
21211 ac_cpp='$CPP $CPPFLAGS'
21212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21217 $as_echo_n "checking if $CC accepts -O... " >&6; }
21218 CFLAGS="-O $CFLAGS"
21219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21220 /* end confdefs.h. */
21221 int main(void){return 0;}
21223 if ac_fn_c_try_link "$LINENO"; then :
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21226 $as_echo "yes" >&6; }
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21232 $as_echo "no" >&6; }
21233 CFLAGS="$_svn_xxflags__save"
21237 rm -f core conftest.err conftest.$ac_objext \
21238 conftest$ac_exeext conftest.$ac_ext
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21248 rm -f core conftest.err conftest.$ac_objext \
21249 conftest$ac_exeext conftest.$ac_ext
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C" >&5
21259 $as_echo "$as_me: Enabling optimizations for C" >&6;}
21261 _svn_xxflags__save="$CFLAGS"
21263 ac_cpp='$CPP $CPPFLAGS'
21264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5
21269 $as_echo_n "checking if $CC accepts -O3... " >&6; }
21270 CFLAGS="-O3 $CFLAGS"
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21273 int main(void){return 0;}
21275 if ac_fn_c_try_link "$LINENO"; then :
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21278 $as_echo "yes" >&6; }
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21284 $as_echo "no" >&6; }
21285 CFLAGS="$_svn_xxflags__save"
21288 _svn_xxflags__save="$CFLAGS"
21290 ac_cpp='$CPP $CPPFLAGS'
21291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O2" >&5
21296 $as_echo_n "checking if $CC accepts -O2... " >&6; }
21297 CFLAGS="-O2 $CFLAGS"
21298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h. */
21300 int main(void){return 0;}
21302 if ac_fn_c_try_link "$LINENO"; then :
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21305 $as_echo "yes" >&6; }
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21311 $as_echo "no" >&6; }
21312 CFLAGS="$_svn_xxflags__save"
21315 _svn_xxflags__save="$CFLAGS"
21317 ac_cpp='$CPP $CPPFLAGS'
21318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21323 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21324 CFLAGS="-O1 $CFLAGS"
21325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21326 /* end confdefs.h. */
21327 int main(void){return 0;}
21329 if ac_fn_c_try_link "$LINENO"; then :
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21332 $as_echo "yes" >&6; }
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21338 $as_echo "no" >&6; }
21339 CFLAGS="$_svn_xxflags__save"
21342 _svn_xxflags__save="$CFLAGS"
21344 ac_cpp='$CPP $CPPFLAGS'
21345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21350 $as_echo_n "checking if $CC accepts -O... " >&6; }
21351 CFLAGS="-O $CFLAGS"
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 int main(void){return 0;}
21356 if ac_fn_c_try_link "$LINENO"; then :
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21359 $as_echo "yes" >&6; }
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21365 $as_echo "no" >&6; }
21366 CFLAGS="$_svn_xxflags__save"
21370 rm -f core conftest.err conftest.$ac_objext \
21371 conftest$ac_exeext conftest.$ac_ext
21373 ac_cpp='$CPP $CPPFLAGS'
21374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381 rm -f core conftest.err conftest.$ac_objext \
21382 conftest$ac_exeext conftest.$ac_ext
21384 ac_cpp='$CPP $CPPFLAGS'
21385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392 rm -f core conftest.err conftest.$ac_objext \
21393 conftest$ac_exeext conftest.$ac_ext
21395 ac_cpp='$CPP $CPPFLAGS'
21396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 rm -f core conftest.err conftest.$ac_objext \
21404 conftest$ac_exeext conftest.$ac_ext
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21413 _svn_xxflags__save="$CFLAGS"
21415 ac_cpp='$CPP $CPPFLAGS'
21416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-clobbered" >&5
21421 $as_echo_n "checking if $CC accepts -Wno-clobbered... " >&6; }
21422 CFLAGS="-Wno-clobbered $CFLAGS"
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21425 int main(void){return 0;}
21427 if ac_fn_c_try_link "$LINENO"; then :
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21430 $as_echo "yes" >&6; }
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21436 $as_echo "no" >&6; }
21437 CFLAGS="$_svn_xxflags__save"
21441 rm -f core conftest.err conftest.$ac_objext \
21442 conftest$ac_exeext conftest.$ac_ext
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21451 _svn_xxflags__save="$CFLAGS"
21453 ac_cpp='$CPP $CPPFLAGS'
21454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -flto" >&5
21459 $as_echo_n "checking if $CC accepts -flto... " >&6; }
21460 CFLAGS="-flto $CFLAGS"
21461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21462 /* end confdefs.h. */
21463 int main(void){return 0;}
21465 if ac_fn_c_try_link "$LINENO"; then :
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21468 $as_echo "yes" >&6; }
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21474 $as_echo "no" >&6; }
21475 CFLAGS="$_svn_xxflags__save"
21479 rm -f core conftest.err conftest.$ac_objext \
21480 conftest$ac_exeext conftest.$ac_ext
21482 ac_cpp='$CPP $CPPFLAGS'
21483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21490 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
21491 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21492 if test "$enable_debugging" = "yes"; then
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++ (with debugging enabled)" >&5
21494 $as_echo "$as_me: Enabling optimizations for C++ (with debugging enabled)" >&6;}
21496 _svn_xxflags__save="$CXXFLAGS"
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
21504 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
21505 CXXFLAGS="-O1 $CXXFLAGS"
21506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21507 /* end confdefs.h. */
21510 if ac_fn_cxx_try_link "$LINENO"; then :
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21513 $as_echo "yes" >&6; }
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21519 $as_echo "no" >&6; }
21520 CXXFLAGS="$_svn_xxflags__save"
21523 _svn_xxflags__save="$CXXFLAGS"
21525 ac_cpp='$CXXCPP $CPPFLAGS'
21526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
21531 $as_echo_n "checking if $CXX accepts -O... " >&6; }
21532 CXXFLAGS="-O $CXXFLAGS"
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21537 if ac_fn_cxx_try_link "$LINENO"; then :
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21540 $as_echo "yes" >&6; }
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21546 $as_echo "no" >&6; }
21547 CXXFLAGS="$_svn_xxflags__save"
21551 rm -f core conftest.err conftest.$ac_objext \
21552 conftest$ac_exeext conftest.$ac_ext
21554 ac_cpp='$CXXCPP $CPPFLAGS'
21555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21562 rm -f core conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++" >&5
21573 $as_echo "$as_me: Enabling optimizations for C++" >&6;}
21575 _svn_xxflags__save="$CXXFLAGS"
21577 ac_cpp='$CXXCPP $CPPFLAGS'
21578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O3" >&5
21583 $as_echo_n "checking if $CXX accepts -O3... " >&6; }
21584 CXXFLAGS="-O3 $CXXFLAGS"
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21589 if ac_fn_cxx_try_link "$LINENO"; then :
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21592 $as_echo "yes" >&6; }
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21598 $as_echo "no" >&6; }
21599 CXXFLAGS="$_svn_xxflags__save"
21602 _svn_xxflags__save="$CXXFLAGS"
21604 ac_cpp='$CXXCPP $CPPFLAGS'
21605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O2" >&5
21610 $as_echo_n "checking if $CXX accepts -O2... " >&6; }
21611 CXXFLAGS="-O2 $CXXFLAGS"
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21616 if ac_fn_cxx_try_link "$LINENO"; then :
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21619 $as_echo "yes" >&6; }
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21625 $as_echo "no" >&6; }
21626 CXXFLAGS="$_svn_xxflags__save"
21629 _svn_xxflags__save="$CXXFLAGS"
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
21637 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
21638 CXXFLAGS="-O1 $CXXFLAGS"
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21643 if ac_fn_cxx_try_link "$LINENO"; then :
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21646 $as_echo "yes" >&6; }
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21652 $as_echo "no" >&6; }
21653 CXXFLAGS="$_svn_xxflags__save"
21656 _svn_xxflags__save="$CXXFLAGS"
21658 ac_cpp='$CXXCPP $CPPFLAGS'
21659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
21664 $as_echo_n "checking if $CXX accepts -O... " >&6; }
21665 CXXFLAGS="-O $CXXFLAGS"
21666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21670 if ac_fn_cxx_try_link "$LINENO"; then :
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21673 $as_echo "yes" >&6; }
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21679 $as_echo "no" >&6; }
21680 CXXFLAGS="$_svn_xxflags__save"
21684 rm -f core conftest.err conftest.$ac_objext \
21685 conftest$ac_exeext conftest.$ac_ext
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21695 rm -f core conftest.err conftest.$ac_objext \
21696 conftest$ac_exeext conftest.$ac_ext
21698 ac_cpp='$CXXCPP $CPPFLAGS'
21699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21706 rm -f core conftest.err conftest.$ac_objext \
21707 conftest$ac_exeext conftest.$ac_ext
21709 ac_cpp='$CXXCPP $CPPFLAGS'
21710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21717 rm -f core conftest.err conftest.$ac_objext \
21718 conftest$ac_exeext conftest.$ac_ext
21720 ac_cpp='$CPP $CPPFLAGS'
21721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21727 _svn_xxflags__save="$CXXFLAGS"
21729 ac_cpp='$CXXCPP $CPPFLAGS'
21730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-clobbered" >&5
21735 $as_echo_n "checking if $CXX accepts -Wno-clobbered... " >&6; }
21736 CXXFLAGS="-Wno-clobbered $CXXFLAGS"
21737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21738 /* end confdefs.h. */
21741 if ac_fn_cxx_try_link "$LINENO"; then :
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21744 $as_echo "yes" >&6; }
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21750 $as_echo "no" >&6; }
21751 CXXFLAGS="$_svn_xxflags__save"
21755 rm -f core conftest.err conftest.$ac_objext \
21756 conftest$ac_exeext conftest.$ac_ext
21758 ac_cpp='$CPP $CPPFLAGS'
21759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21765 _svn_xxflags__save="$CXXFLAGS"
21767 ac_cpp='$CXXCPP $CPPFLAGS'
21768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -flto" >&5
21773 $as_echo_n "checking if $CXX accepts -flto... " >&6; }
21774 CXXFLAGS="-flto $CXXFLAGS"
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21779 if ac_fn_cxx_try_link "$LINENO"; then :
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21782 $as_echo "yes" >&6; }
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21788 $as_echo "no" >&6; }
21789 CXXFLAGS="$_svn_xxflags__save"
21793 rm -f core conftest.err conftest.$ac_objext \
21794 conftest$ac_exeext conftest.$ac_ext
21796 ac_cpp='$CPP $CPPFLAGS'
21797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21804 elif test "$enable_optimization" = "no"; then
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations" >&5
21806 $as_echo "$as_me: Disabling optimizations" >&6;}
21807 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21808 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21809 # elif test "$enable_optimization" = "maybe" ; then
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: C compiler flags: $CFLAGS" >&5
21814 $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;}
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CUSERFLAGS" >&5
21816 $as_echo "$as_me: user-defined: $CUSERFLAGS" >&6;}
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CMAINTAINERFLAGS" >&5
21818 $as_echo "$as_me: maintainer-mode: $CMAINTAINERFLAGS" >&6;}
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler flags: $CXXFLAGS" >&5
21820 $as_echo "$as_me: C++ compiler flags: $CXXFLAGS" >&6;}
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CXXUSERFLAGS" >&5
21822 $as_echo "$as_me: user-defined: $CXXUSERFLAGS" >&6;}
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CXXMAINTAINERFLAGS" >&5
21824 $as_echo "$as_me: maintainer-mode: $CXXMAINTAINERFLAGS" >&6;}
21826 # Check whether --enable-full-version-match was given.
21827 if test "${enable_full_version_match+set}" = set; then :
21828 enableval=$enable_full_version_match;
21829 if test "$enableval" = "no" ; then
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling svn full version matching" >&5
21831 $as_echo "$as_me: Disabling svn full version matching" >&6;}
21833 $as_echo "#define SVN_DISABLE_FULL_VERSION_MATCH 1" >>confdefs.h
21841 # Check whether --with-editor was given.
21842 if test "${with_editor+set}" = set; then :
21843 withval=$with_editor;
21845 if test "$withval" = "yes" ; then
21846 as_fn_error $? "--with-editor requires an argument." "$LINENO" 5
21848 SVN_CLIENT_EDITOR=$withval
21850 cat >>confdefs.h <<_ACEOF
21851 #define SVN_CLIENT_EDITOR "$SVN_CLIENT_EDITOR"
21865 # Check whether --with-zlib was given.
21866 if test "${with_zlib+set}" = set; then :
21867 withval=$with_zlib;
21868 if test "$withval" = "yes" ; then
21869 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21870 if test "x$ac_cv_header_zlib_h" = xyes; then :
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21873 $as_echo_n "checking for inflate in -lz... " >&6; }
21874 if ${ac_cv_lib_z_inflate+:} false; then :
21875 $as_echo_n "(cached) " >&6
21877 ac_check_lib_save_LIBS=$LIBS
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21882 /* Override any GCC internal prototype to avoid an error.
21883 Use char because int might match the return type of a GCC
21884 builtin and then its argument prototype would still apply. */
21897 if ac_fn_c_try_link "$LINENO"; then :
21898 ac_cv_lib_z_inflate=yes
21900 ac_cv_lib_z_inflate=no
21902 rm -f core conftest.err conftest.$ac_objext \
21903 conftest$ac_exeext conftest.$ac_ext
21904 LIBS=$ac_check_lib_save_LIBS
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
21907 $as_echo "$ac_cv_lib_z_inflate" >&6; }
21908 if test "x$ac_cv_lib_z_inflate" = xyes; then :
21909 zlib_found="builtin"
21916 elif test "$withval" = "no" ; then
21917 as_fn_error $? "cannot compile without zlib." "$LINENO" 5
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration" >&5
21920 $as_echo "$as_me: zlib library configuration" >&6;}
21921 zlib_prefix=$withval
21922 save_cppflags="$CPPFLAGS"
21923 CPPFLAGS="$CPPFLAGS -I$zlib_prefix/include"
21924 for ac_header in zlib.h
21926 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21927 if test "x$ac_cv_header_zlib_h" = xyes; then :
21928 cat >>confdefs.h <<_ACEOF
21929 #define HAVE_ZLIB_H 1
21932 save_ldflags="$LDFLAGS"
21933 LDFLAGS="$LDFLAGS -L$zlib_prefix/lib"
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21935 $as_echo_n "checking for inflate in -lz... " >&6; }
21936 if ${ac_cv_lib_z_inflate+:} false; then :
21937 $as_echo_n "(cached) " >&6
21939 ac_check_lib_save_LIBS=$LIBS
21941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21942 /* end confdefs.h. */
21944 /* Override any GCC internal prototype to avoid an error.
21945 Use char because int might match the return type of a GCC
21946 builtin and then its argument prototype would still apply. */
21959 if ac_fn_c_try_link "$LINENO"; then :
21960 ac_cv_lib_z_inflate=yes
21962 ac_cv_lib_z_inflate=no
21964 rm -f core conftest.err conftest.$ac_objext \
21965 conftest$ac_exeext conftest.$ac_ext
21966 LIBS=$ac_check_lib_save_LIBS
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
21969 $as_echo "$ac_cv_lib_z_inflate" >&6; }
21970 if test "x$ac_cv_lib_z_inflate" = xyes; then :
21974 LDFLAGS="$save_ldflags"
21980 CPPFLAGS="$save_cppflags"
21985 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21986 if test "x$ac_cv_header_zlib_h" = xyes; then :
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21989 $as_echo_n "checking for inflate in -lz... " >&6; }
21990 if ${ac_cv_lib_z_inflate+:} false; then :
21991 $as_echo_n "(cached) " >&6
21993 ac_check_lib_save_LIBS=$LIBS
21995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21998 /* Override any GCC internal prototype to avoid an error.
21999 Use char because int might match the return type of a GCC
22000 builtin and then its argument prototype would still apply. */
22013 if ac_fn_c_try_link "$LINENO"; then :
22014 ac_cv_lib_z_inflate=yes
22016 ac_cv_lib_z_inflate=no
22018 rm -f core conftest.err conftest.$ac_objext \
22019 conftest$ac_exeext conftest.$ac_ext
22020 LIBS=$ac_check_lib_save_LIBS
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22023 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22024 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22025 zlib_found="builtin"
22036 if test "$zlib_found" = "no"; then
22037 as_fn_error $? "subversion requires zlib" "$LINENO" 5
22040 if test "$zlib_found" = "yes"; then
22041 SVN_ZLIB_INCLUDES="-I$zlib_prefix/include"
22042 LDFLAGS="$LDFLAGS `
22043 input_flags="-L$zlib_prefix/lib"
22045 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22046 for flag in $input_flags; do
22048 for dir in $filtered_dirs; do
22049 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22054 if test "$filter" = "no"; then
22055 output_flags="$output_flags $flag"
22058 if test -n "$output_flags"; then
22059 printf "%s" "${output_flags# }"
22064 SVN_ZLIB_LIBS="-lz"
22071 # Check whether --enable-mod-activation was given.
22072 if test "${enable_mod_activation+set}" = set; then :
22073 enableval=$enable_mod_activation;
22074 if test "$enableval" = "yes" ; then
22075 MOD_ACTIVATION="-a"
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling apache module activation" >&5
22077 $as_echo "$as_me: Enabling apache module activation" >&6;}
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling apache module activation" >&5
22080 $as_echo "$as_me: Disabling apache module activation" >&6;}
22089 # Check whether --enable-gcov was given.
22090 if test "${enable_gcov+set}" = set; then :
22091 enableval=$enable_gcov;
22092 if test "$enableval" = "yes" ; then
22093 if test "$GCC" = "yes"; then
22094 if test "$svn_enable_shared" = "yes" ; then
22095 as_fn_error $? "Can't have --enable-gcov without --disable-shared (we
22096 recommend also using --enable-all-static)." "$LINENO" 5
22098 if test ! "$enable_all_static" = "yes" ; then
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gcov." >&5
22100 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gcov." >&2;}
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gcov coverage testing." >&5
22103 $as_echo "$as_me: Enabling gcov coverage testing." >&6;}
22104 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
22105 CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
22107 as_fn_error $? "We only support --enable-gcov with GCC right now." "$LINENO" 5
22114 # Check whether --enable-gprof was given.
22115 if test "${enable_gprof+set}" = set; then :
22116 enableval=$enable_gprof;
22117 if test "$enableval" = "yes" ; then
22118 if test "$GCC" = "yes"; then
22119 if test "$svn_enable_shared" = "yes" ; then
22120 as_fn_error $? "Can't have --enable-gprof without --disable-shared (we
22121 recommend also using --enable-all-static)." "$LINENO" 5
22123 if test ! "$enable_all_static" = "yes" ; then
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gprof." >&5
22125 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gprof." >&2;}
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gprof profiling data (to gmon.out)." >&5
22128 $as_echo "$as_me: Enabling gprof profiling data (to gmon.out)." >&6;}
22129 CFLAGS="$CFLAGS -pg"
22130 CXXFLAGS="$CXXFLAGS -pg"
22131 LT_LDFLAGS="$LT_LDFLAGS -pg"
22133 as_fn_error $? "We only support --enable-gprof with GCC right now." "$LINENO" 5
22141 # Scripting and Bindings languages
22143 # Python: Used for testsuite, and bindings
22146 PYTHON="`$abs_srcdir/build/find_python.sh`"
22147 if test -z "$PYTHON"; then
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.5 or later is required to run the testsuite" >&5
22149 $as_echo "$as_me: WARNING: Python 2.5 or later is required to run the testsuite" >&2;}
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
22151 $as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
22153 $as_echo "$as_me: WARNING: " >&2;}
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
22155 $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on the" >&2;}
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PATH, set the environment variable PYTHON to the full path" >&5
22157 $as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
22159 $as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
22161 for ac_prog in "$PYTHON"
22163 # Extract the first word of "$ac_prog", so it can be a program name with args.
22164 set dummy $ac_prog; ac_word=$2
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22166 $as_echo_n "checking for $ac_word... " >&6; }
22167 if ${ac_cv_path_PYTHON+:} false; then :
22168 $as_echo_n "(cached) " >&6
22172 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22176 for as_dir in $PATH
22179 test -z "$as_dir" && as_dir=.
22180 for ac_exec_ext in '' $ac_executable_extensions; do
22181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22182 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22193 PYTHON=$ac_cv_path_PYTHON
22194 if test -n "$PYTHON"; then
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22196 $as_echo "$PYTHON" >&6; }
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199 $as_echo "no" >&6; }
22203 test -n "$PYTHON" && break
22205 test -n "$PYTHON" || PYTHON="none"
22208 # The minimum version for the JVM runtime for our Java bytecode.
22209 JAVA_OLDEST_WORKING_VER='1.5'
22210 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
22212 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22214 # Check whether --with-jdk was given.
22215 if test "${with_jdk+set}" = set; then :
22224 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22236 $as_echo_n "checking for JDK... " >&6; }
22237 if test $where = check; then
22238 if test -x "$JAVA_HOME/bin/java"; then
22240 elif test -x "/Library/Java/Home/bin/java"; then
22241 JDK="/Library/Java/Home"
22242 elif test -x "/usr/bin/java"; then
22244 elif test -x "/usr/local/bin/java"; then
22252 if test "$os_arch" = "Darwin"; then
22253 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22255 if test "$OSX_VER" = "10.4"; then
22259 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22260 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22261 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22264 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22265 test -d "/Library/Java/Home"; then
22266 JDK="/Library/Java/Home"
22269 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22270 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22272 JRE_LIB_DIR="$JDK/jre/lib"
22275 if test -f "$JDK/include/jni.h"; then
22276 JNI_INCLUDEDIR="$JDK/include"
22278 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22279 JNI_INCLUDEDIR="$JDK/Headers"
22281 elif test "$os_arch" = "Darwin" &&
22282 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22283 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22285 elif test "$os_arch" = "Darwin" &&
22286 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22287 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22292 if test "$JDK_SUITABLE" = "yes"; then
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22294 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22297 $as_echo "no" >&6; }
22298 if test "$where" != "check"; then
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22300 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22301 if test "$os_arch" = "Darwin"; then
22302 { $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
22303 $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;}
22308 if test "$JDK_SUITABLE" = "yes"; then
22309 JAVA_BIN='$(JDK)/bin'
22311 JAVA="$JAVA_BIN/java"
22312 JAVAC="$JAVA_BIN/javac"
22313 JAVAH="$JAVA_BIN/javah"
22314 JAVADOC="$JAVA_BIN/javadoc"
22315 JAR="$JAVA_BIN/jar"
22317 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22319 # Check whether --with-jikes was given.
22320 if test "${with_jikes+set}" = set; then :
22321 withval=$with_jikes;
22322 if test "$withval" != "no" && test "$withval" != "yes"; then
22323 jikes_options="$withval $jikes_options"
22325 requested_jikes="$withval" # will be 'yes' if path unspecified
22329 if test "$requested_jikes" != "no"; then
22330 for jikes in $jikes_options; do
22331 if test -z "$jikes_found" && test -x "$jikes"; then
22334 JAVA_CLASSPATH="$JRE_LIB_DIR"
22335 for jar in $JRE_LIB_DIR/*.jar; do
22336 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22341 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22342 if test -z "$jikes_found"; then
22343 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22344 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22345 test "$JAVAC" != "$requested_jikes"; then
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22347 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22351 # The release for "-source" could actually be greater than that
22352 # of "-target", if we want to cross-compile for lesser JVMs.
22353 if test -z "$JAVAC_FLAGS"; then
22354 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22355 if test "$enable_debugging" = "yes"; then
22356 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22360 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22361 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22362 for dir in $list; do
22363 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22380 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22392 $as_echo_n "checking for JDK... " >&6; }
22393 if test $where = check; then
22394 if test -x "$JAVA_HOME/bin/java"; then
22396 elif test -x "/Library/Java/Home/bin/java"; then
22397 JDK="/Library/Java/Home"
22398 elif test -x "/usr/bin/java"; then
22400 elif test -x "/usr/local/bin/java"; then
22408 if test "$os_arch" = "Darwin"; then
22409 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22411 if test "$OSX_VER" = "10.4"; then
22415 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22416 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22417 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22420 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22421 test -d "/Library/Java/Home"; then
22422 JDK="/Library/Java/Home"
22425 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22426 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22428 JRE_LIB_DIR="$JDK/jre/lib"
22431 if test -f "$JDK/include/jni.h"; then
22432 JNI_INCLUDEDIR="$JDK/include"
22434 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22435 JNI_INCLUDEDIR="$JDK/Headers"
22437 elif test "$os_arch" = "Darwin" &&
22438 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22439 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22441 elif test "$os_arch" = "Darwin" &&
22442 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22443 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22448 if test "$JDK_SUITABLE" = "yes"; then
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22450 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22453 $as_echo "no" >&6; }
22454 if test "$where" != "check"; then
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22456 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22457 if test "$os_arch" = "Darwin"; then
22458 { $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
22459 $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;}
22464 if test "$JDK_SUITABLE" = "yes"; then
22465 JAVA_BIN='$(JDK)/bin'
22467 JAVA="$JAVA_BIN/java"
22468 JAVAC="$JAVA_BIN/javac"
22469 JAVAH="$JAVA_BIN/javah"
22470 JAVADOC="$JAVA_BIN/javadoc"
22471 JAR="$JAVA_BIN/jar"
22473 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22475 # Check whether --with-jikes was given.
22476 if test "${with_jikes+set}" = set; then :
22477 withval=$with_jikes;
22478 if test "$withval" != "no" && test "$withval" != "yes"; then
22479 jikes_options="$withval $jikes_options"
22481 requested_jikes="$withval" # will be 'yes' if path unspecified
22485 if test "$requested_jikes" != "no"; then
22486 for jikes in $jikes_options; do
22487 if test -z "$jikes_found" && test -x "$jikes"; then
22490 JAVA_CLASSPATH="$JRE_LIB_DIR"
22491 for jar in $JRE_LIB_DIR/*.jar; do
22492 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22497 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22498 if test -z "$jikes_found"; then
22499 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22500 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22501 test "$JAVAC" != "$requested_jikes"; then
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22503 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22507 # The release for "-source" could actually be greater than that
22508 # of "-target", if we want to cross-compile for lesser JVMs.
22509 if test -z "$JAVAC_FLAGS"; then
22510 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22511 if test "$enable_debugging" = "yes"; then
22512 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22516 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22517 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22518 for dir in $list; do
22519 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22539 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22551 $as_echo_n "checking for JDK... " >&6; }
22552 if test $where = check; then
22553 if test -x "$JAVA_HOME/bin/java"; then
22555 elif test -x "/Library/Java/Home/bin/java"; then
22556 JDK="/Library/Java/Home"
22557 elif test -x "/usr/bin/java"; then
22559 elif test -x "/usr/local/bin/java"; then
22567 if test "$os_arch" = "Darwin"; then
22568 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22570 if test "$OSX_VER" = "10.4"; then
22574 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22575 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22576 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22579 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22580 test -d "/Library/Java/Home"; then
22581 JDK="/Library/Java/Home"
22584 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22585 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22587 JRE_LIB_DIR="$JDK/jre/lib"
22590 if test -f "$JDK/include/jni.h"; then
22591 JNI_INCLUDEDIR="$JDK/include"
22593 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22594 JNI_INCLUDEDIR="$JDK/Headers"
22596 elif test "$os_arch" = "Darwin" &&
22597 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22598 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22600 elif test "$os_arch" = "Darwin" &&
22601 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22602 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22607 if test "$JDK_SUITABLE" = "yes"; then
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22609 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22612 $as_echo "no" >&6; }
22613 if test "$where" != "check"; then
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22615 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22616 if test "$os_arch" = "Darwin"; then
22617 { $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
22618 $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;}
22623 if test "$JDK_SUITABLE" = "yes"; then
22624 JAVA_BIN='$(JDK)/bin'
22626 JAVA="$JAVA_BIN/java"
22627 JAVAC="$JAVA_BIN/javac"
22628 JAVAH="$JAVA_BIN/javah"
22629 JAVADOC="$JAVA_BIN/javadoc"
22630 JAR="$JAVA_BIN/jar"
22632 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22634 # Check whether --with-jikes was given.
22635 if test "${with_jikes+set}" = set; then :
22636 withval=$with_jikes;
22637 if test "$withval" != "no" && test "$withval" != "yes"; then
22638 jikes_options="$withval $jikes_options"
22640 requested_jikes="$withval" # will be 'yes' if path unspecified
22644 if test "$requested_jikes" != "no"; then
22645 for jikes in $jikes_options; do
22646 if test -z "$jikes_found" && test -x "$jikes"; then
22649 JAVA_CLASSPATH="$JRE_LIB_DIR"
22650 for jar in $JRE_LIB_DIR/*.jar; do
22651 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22656 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22657 if test -z "$jikes_found"; then
22658 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22659 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22660 test "$JAVAC" != "$requested_jikes"; then
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22662 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22666 # The release for "-source" could actually be greater than that
22667 # of "-target", if we want to cross-compile for lesser JVMs.
22668 if test -z "$JAVAC_FLAGS"; then
22669 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22670 if test "$enable_debugging" = "yes"; then
22671 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22675 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22676 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22677 for dir in $list; do
22678 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22696 # Extract the first word of "perl", so it can be a program name with args.
22697 set dummy perl; ac_word=$2
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22699 $as_echo_n "checking for $ac_word... " >&6; }
22700 if ${ac_cv_path_PERL+:} false; then :
22701 $as_echo_n "(cached) " >&6
22705 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
22708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22709 for as_dir in $PATH
22712 test -z "$as_dir" && as_dir=.
22713 for ac_exec_ext in '' $ac_executable_extensions; do
22714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22715 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
22716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22723 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
22727 PERL=$ac_cv_path_PERL
22728 if test -n "$PERL"; then
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
22730 $as_echo "$PERL" >&6; }
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22733 $as_echo "no" >&6; }
22738 if test -n "$RUBY"; then
22739 # Extract the first word of ""$RUBY"", so it can be a program name with args.
22740 set dummy "$RUBY"; ac_word=$2
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22742 $as_echo_n "checking for $ac_word... " >&6; }
22743 if ${ac_cv_path_RUBY+:} false; then :
22744 $as_echo_n "(cached) " >&6
22748 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
22751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22752 for as_dir in $PATH
22755 test -z "$as_dir" && as_dir=.
22756 for ac_exec_ext in '' $ac_executable_extensions; do
22757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22758 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
22759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22766 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
22770 RUBY=$ac_cv_path_RUBY
22771 if test -n "$RUBY"; then
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
22773 $as_echo "$RUBY" >&6; }
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22776 $as_echo "no" >&6; }
22781 for ac_prog in ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193 ruby2.0 ruby2.1
22783 # Extract the first word of "$ac_prog", so it can be a program name with args.
22784 set dummy $ac_prog; ac_word=$2
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22786 $as_echo_n "checking for $ac_word... " >&6; }
22787 if ${ac_cv_path_RUBY+:} false; then :
22788 $as_echo_n "(cached) " >&6
22792 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
22795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22796 for as_dir in $PATH
22799 test -z "$as_dir" && as_dir=.
22800 for ac_exec_ext in '' $ac_executable_extensions; do
22801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22802 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
22803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22813 RUBY=$ac_cv_path_RUBY
22814 if test -n "$RUBY"; then
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
22816 $as_echo "$RUBY" >&6; }
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22819 $as_echo "no" >&6; }
22823 test -n "$RUBY" && break
22825 test -n "$RUBY" || RUBY="none"
22828 if test "$RUBY" != "none"; then
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
22830 $as_echo_n "checking rb_hash_foreach... " >&6; }
22831 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22833 $as_echo "yes" >&6; }
22834 if test -n "$RDOC"; then
22835 # Extract the first word of ""$RDOC"", so it can be a program name with args.
22836 set dummy "$RDOC"; ac_word=$2
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22838 $as_echo_n "checking for $ac_word... " >&6; }
22839 if ${ac_cv_path_RDOC+:} false; then :
22840 $as_echo_n "(cached) " >&6
22844 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
22847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22848 for as_dir in $PATH
22851 test -z "$as_dir" && as_dir=.
22852 for ac_exec_ext in '' $ac_executable_extensions; do
22853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22854 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
22855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22862 test -z "$ac_cv_path_RDOC" && ac_cv_path_RDOC="none"
22866 RDOC=$ac_cv_path_RDOC
22867 if test -n "$RDOC"; then
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
22869 $as_echo "$RDOC" >&6; }
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22872 $as_echo "no" >&6; }
22877 for ac_prog in rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193 rdoc2.0 rdoc2.1
22879 # Extract the first word of "$ac_prog", so it can be a program name with args.
22880 set dummy $ac_prog; ac_word=$2
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22882 $as_echo_n "checking for $ac_word... " >&6; }
22883 if ${ac_cv_path_RDOC+:} false; then :
22884 $as_echo_n "(cached) " >&6
22888 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
22891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22892 for as_dir in $PATH
22895 test -z "$as_dir" && as_dir=.
22896 for ac_exec_ext in '' $ac_executable_extensions; do
22897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22898 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
22899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22909 RDOC=$ac_cv_path_RDOC
22910 if test -n "$RDOC"; then
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
22912 $as_echo "$RDOC" >&6; }
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22915 $as_echo "no" >&6; }
22919 test -n "$RDOC" && break
22921 test -n "$RDOC" || RDOC="none"
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby major version" >&5
22925 $as_echo_n "checking for Ruby major version... " >&6; }
22926 if ${svn_cv_ruby_major+:} false; then :
22927 $as_echo_n "(cached) " >&6
22930 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
22934 $as_echo "$svn_cv_ruby_major" >&6; }
22935 RUBY_MAJOR="$svn_cv_ruby_major"
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby minor version" >&5
22938 $as_echo_n "checking for Ruby minor version... " >&6; }
22939 if ${svn_cv_ruby_minor+:} false; then :
22940 $as_echo_n "(cached) " >&6
22943 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
22947 $as_echo "$svn_cv_ruby_minor" >&6; }
22948 RUBY_MINOR="$svn_cv_ruby_minor"
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
22951 $as_echo_n "checking for Ruby teeny version... " >&6; }
22952 if ${svn_cv_ruby_teeny+:} false; then :
22953 $as_echo_n "(cached) " >&6
22956 svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
22960 $as_echo "$svn_cv_ruby_teeny" >&6; }
22961 RUBY_TEENY="$svn_cv_ruby_teeny"
22966 if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
22967 # Disallow Ruby between 1.8.7 and 1.9.3
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
22970 $as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&5
22972 $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&2;}
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22976 $as_echo "no" >&6; }
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
22979 $as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
22981 $as_echo "$as_me: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&2;}
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Ruby bindings" >&5
22983 $as_echo "$as_me: WARNING: Subversion Ruby bindings" >&2;}
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Upgrade to the official 1.8.2 release, or later" >&5
22985 $as_echo "$as_me: WARNING: Upgrade to the official 1.8.2 release, or later" >&2;}
22991 # Check whether --with-swig was given.
22992 if test "${with_swig+set}" = set; then :
22993 withval=$with_swig;
23000 if test $where = no; then
23002 elif test $where = check; then
23003 # Extract the first word of "swig", so it can be a program name with args.
23004 set dummy swig; ac_word=$2
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23006 $as_echo_n "checking for $ac_word... " >&6; }
23007 if ${ac_cv_path_SWIG+:} false; then :
23008 $as_echo_n "(cached) " >&6
23012 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23016 for as_dir in $PATH
23019 test -z "$as_dir" && as_dir=.
23020 for ac_exec_ext in '' $ac_executable_extensions; do
23021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23022 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23030 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23034 SWIG=$ac_cv_path_SWIG
23035 if test -n "$SWIG"; then
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23037 $as_echo "$SWIG" >&6; }
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23040 $as_echo "no" >&6; }
23045 if test -f "$where"; then
23048 SWIG="$where/bin/swig"
23050 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23051 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23055 if test "$SWIG" != "none"; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23057 $as_echo_n "checking swig version... " >&6; }
23058 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23059 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23060 # We want the version as an integer so we can test against
23061 # which version we're using. SWIG doesn't provide this
23062 # to us so we have to come up with it on our own.
23063 # The major is passed straight through,
23064 # the minor is zero padded to two places,
23065 # and the patch level is zero padded to three places.
23066 # e.g. 1.3.24 becomes 103024
23067 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23068 $SED -e 's/[^0-9\.].*$//' \
23069 -e 's/\.\([0-9]\)$/.0\1/' \
23070 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23071 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23073 $as_echo "$SWIG_VERSION_RAW" >&6; }
23074 # If you change the required swig version number, don't forget to update:
23075 # subversion/bindings/swig/INSTALL
23076 # packages/rpm/redhat-8+/subversion.spec
23077 # packages/rpm/redhat-7.x/subversion.spec
23078 # packages/rpm/rhel-3/subversion.spec
23079 # packages/rpm/rhel-4/subversion.spec
23080 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23085 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23087 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
23091 SWIG_PY_COMPILE="none"
23092 SWIG_PY_LINK="none"
23093 if test "$PYTHON" != "none"; then
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23095 $as_echo "$as_me: Configuring python swig binding" >&6;}
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23098 $as_echo_n "checking for Python includes... " >&6; }
23099 if ${ac_cv_python_includes+:} false; then :
23100 $as_echo_n "(cached) " >&6
23103 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23107 $as_echo "$ac_cv_python_includes" >&6; }
23108 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23110 if test "$ac_cv_python_includes" = "none"; then
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23112 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23116 $as_echo_n "checking for compiling Python extensions... " >&6; }
23117 if ${ac_cv_python_compile+:} false; then :
23118 $as_echo_n "(cached) " >&6
23121 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23125 $as_echo "$ac_cv_python_compile" >&6; }
23126 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23129 $as_echo_n "checking for linking Python extensions... " >&6; }
23130 if ${ac_cv_python_link+:} false; then :
23131 $as_echo_n "(cached) " >&6
23134 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23138 $as_echo "$ac_cv_python_link" >&6; }
23139 SWIG_PY_LINK="$ac_cv_python_link"
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23142 $as_echo_n "checking for linking Python libraries... " >&6; }
23143 if ${ac_cv_python_libs+:} false; then :
23144 $as_echo_n "(cached) " >&6
23147 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23151 $as_echo "$ac_cv_python_libs" >&6; }
23153 input_flags="$ac_cv_python_libs"
23155 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23156 for flag in $input_flags; do
23158 for dir in $filtered_dirs; do
23159 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23164 if test "$filter" = "no"; then
23165 output_flags="$output_flags $flag"
23168 if test -n "$output_flags"; then
23169 printf "%s" "${output_flags# }"
23173 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23174 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23176 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23177 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23178 $as_echo_n "(cached) " >&6
23181 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23183 /* end confdefs.h. */
23185 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23188 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23189 svn_cv_pycfmt_apr_int64_t="L"
23194 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23199 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23202 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23203 svn_cv_pycfmt_apr_int64_t="l"
23208 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23212 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23215 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23216 svn_cv_pycfmt_apr_int64_t="i"
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23224 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23225 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23226 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23227 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23230 cat >>confdefs.h <<_ACEOF
23231 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23236 if test "$PERL" != "none"; then
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23238 $as_echo_n "checking perl version... " >&6; }
23239 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23241 $as_echo "$PERL_VERSION" >&6; }
23242 if test "$PERL_VERSION" -ge "5008000"; then
23243 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23246 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23250 SWIG_RB_COMPILE="none"
23251 SWIG_RB_LINK="none"
23252 if test "$RUBY" != "none"; then
23253 rbconfig="$RUBY -rrbconfig -e "
23255 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23256 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
23258 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23259 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23263 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23266 $as_echo_n "checking for Ruby include path... " >&6; }
23267 if ${svn_cv_ruby_includes+:} false; then :
23268 $as_echo_n "(cached) " >&6
23271 if test -d "$rbconfig_rubyhdrdir"; then
23272 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
23273 if test -d "$rbconfig_rubyarchhdrdir"; then
23274 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
23276 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23279 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23284 $as_echo "$svn_cv_ruby_includes" >&6; }
23285 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
23288 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
23289 if ${svn_cv_ruby_compile+:} false; then :
23290 $as_echo_n "(cached) " >&6
23293 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
23297 $as_echo "$svn_cv_ruby_compile" >&6; }
23298 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
23300 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
23303 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
23306 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
23308 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
23311 $as_echo_n "checking how to link Ruby extensions... " >&6; }
23312 if ${svn_cv_ruby_link+:} false; then :
23313 $as_echo_n "(cached) " >&6
23316 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
23317 $rbconfig_LDSHARED`"
23318 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
23319 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
23323 $as_echo "$svn_cv_ruby_link" >&6; }
23324 SWIG_RB_LINK="$svn_cv_ruby_link"
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
23327 $as_echo_n "checking how to link Ruby libraries... " >&6; }
23328 if ${ac_cv_ruby_libs+:} false; then :
23329 $as_echo_n "(cached) " >&6
23332 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
23336 $as_echo "$ac_cv_ruby_libs" >&6; }
23338 input_flags="$ac_cv_ruby_libs"
23340 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23341 for flag in $input_flags; do
23343 for dir in $filtered_dirs; do
23344 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23349 if test "$filter" = "no"; then
23350 output_flags="$output_flags $flag"
23353 if test -n "$output_flags"; then
23354 printf "%s" "${output_flags# }"
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
23359 $as_echo_n "checking for rb_errinfo... " >&6; }
23360 old_CFLAGS="$CFLAGS"
23362 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
23364 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
23367 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
23370 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
23372 LIBS="$SWIG_RB_LIBS"
23373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23374 /* end confdefs.h. */
23380 if ac_fn_c_try_link "$LINENO"; then :
23381 have_rb_errinfo="yes"
23383 have_rb_errinfo="no"
23385 rm -f core conftest.err conftest.$ac_objext \
23386 conftest$ac_exeext conftest.$ac_ext
23387 if test "$have_rb_errinfo" = "yes"; then
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23389 $as_echo "yes" >&6; }
23391 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23395 $as_echo "no" >&6; }
23397 CFLAGS="$old_CFLAGS"
23400 if ${svn_cv_ruby_sitedir+:} false; then :
23401 $as_echo_n "(cached) " >&6
23404 svn_cv_ruby_sitedir="$rbconfig_sitedir"
23409 # Check whether --with-ruby-sitedir was given.
23410 if test "${with_ruby_sitedir+set}" = set; then :
23411 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
23413 svn_ruby_installdir="$svn_cv_ruby_sitedir"
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
23418 $as_echo_n "checking where to install Ruby scripts... " >&6; }
23419 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
23420 $as_echo_n "(cached) " >&6
23423 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
23424 $SED -e "s,^$rbconfig_sitedir,,"`"
23428 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
23430 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
23433 $as_echo_n "checking where to install Ruby extensions... " >&6; }
23434 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
23435 $as_echo_n "(cached) " >&6
23438 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
23439 $SED -e "s,^$rbconfig_sitedir,,"`"
23443 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
23445 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
23448 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
23449 if ${svn_cv_ruby_test_verbose+:} false; then :
23450 $as_echo_n "(cached) " >&6
23453 svn_cv_ruby_test_verbose="normal"
23458 # Check whether --with-ruby-test-verbose was given.
23459 if test "${with_ruby_test_verbose+set}" = set; then :
23460 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
23462 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
23465 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
23467 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
23488 if test $where = no; then
23490 elif test $where = check; then
23491 # Extract the first word of "swig", so it can be a program name with args.
23492 set dummy swig; ac_word=$2
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23494 $as_echo_n "checking for $ac_word... " >&6; }
23495 if ${ac_cv_path_SWIG+:} false; then :
23496 $as_echo_n "(cached) " >&6
23500 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23504 for as_dir in $PATH
23507 test -z "$as_dir" && as_dir=.
23508 for ac_exec_ext in '' $ac_executable_extensions; do
23509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23510 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23518 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23522 SWIG=$ac_cv_path_SWIG
23523 if test -n "$SWIG"; then
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23525 $as_echo "$SWIG" >&6; }
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23528 $as_echo "no" >&6; }
23533 if test -f "$where"; then
23536 SWIG="$where/bin/swig"
23538 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23539 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23543 if test "$SWIG" != "none"; then
23544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23545 $as_echo_n "checking swig version... " >&6; }
23546 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23547 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23548 # We want the version as an integer so we can test against
23549 # which version we're using. SWIG doesn't provide this
23550 # to us so we have to come up with it on our own.
23551 # The major is passed straight through,
23552 # the minor is zero padded to two places,
23553 # and the patch level is zero padded to three places.
23554 # e.g. 1.3.24 becomes 103024
23555 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23556 $SED -e 's/[^0-9\.].*$//' \
23557 -e 's/\.\([0-9]\)$/.0\1/' \
23558 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23559 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23561 $as_echo "$SWIG_VERSION_RAW" >&6; }
23562 # If you change the required swig version number, don't forget to update:
23563 # subversion/bindings/swig/INSTALL
23564 # packages/rpm/redhat-8+/subversion.spec
23565 # packages/rpm/redhat-7.x/subversion.spec
23566 # packages/rpm/rhel-3/subversion.spec
23567 # packages/rpm/rhel-4/subversion.spec
23568 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23573 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23575 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
23579 SWIG_PY_COMPILE="none"
23580 SWIG_PY_LINK="none"
23581 if test "$PYTHON" != "none"; then
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23583 $as_echo "$as_me: Configuring python swig binding" >&6;}
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23586 $as_echo_n "checking for Python includes... " >&6; }
23587 if ${ac_cv_python_includes+:} false; then :
23588 $as_echo_n "(cached) " >&6
23591 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23595 $as_echo "$ac_cv_python_includes" >&6; }
23596 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23598 if test "$ac_cv_python_includes" = "none"; then
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23600 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23604 $as_echo_n "checking for compiling Python extensions... " >&6; }
23605 if ${ac_cv_python_compile+:} false; then :
23606 $as_echo_n "(cached) " >&6
23609 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23613 $as_echo "$ac_cv_python_compile" >&6; }
23614 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23617 $as_echo_n "checking for linking Python extensions... " >&6; }
23618 if ${ac_cv_python_link+:} false; then :
23619 $as_echo_n "(cached) " >&6
23622 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23626 $as_echo "$ac_cv_python_link" >&6; }
23627 SWIG_PY_LINK="$ac_cv_python_link"
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23630 $as_echo_n "checking for linking Python libraries... " >&6; }
23631 if ${ac_cv_python_libs+:} false; then :
23632 $as_echo_n "(cached) " >&6
23635 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23639 $as_echo "$ac_cv_python_libs" >&6; }
23641 input_flags="$ac_cv_python_libs"
23643 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23644 for flag in $input_flags; do
23646 for dir in $filtered_dirs; do
23647 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23652 if test "$filter" = "no"; then
23653 output_flags="$output_flags $flag"
23656 if test -n "$output_flags"; then
23657 printf "%s" "${output_flags# }"
23661 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23662 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23664 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23665 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23666 $as_echo_n "(cached) " >&6
23669 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23673 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23676 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23677 svn_cv_pycfmt_apr_int64_t="L"
23682 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23684 /* end confdefs.h. */
23687 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23690 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23691 svn_cv_pycfmt_apr_int64_t="l"
23696 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23698 /* end confdefs.h. */
23700 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23703 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23704 svn_cv_pycfmt_apr_int64_t="i"
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23712 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23713 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23714 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23715 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23718 cat >>confdefs.h <<_ACEOF
23719 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23724 if test "$PERL" != "none"; then
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23726 $as_echo_n "checking perl version... " >&6; }
23727 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23729 $as_echo "$PERL_VERSION" >&6; }
23730 if test "$PERL_VERSION" -ge "5008000"; then
23731 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23734 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23738 SWIG_RB_COMPILE="none"
23739 SWIG_RB_LINK="none"
23740 if test "$RUBY" != "none"; then
23741 rbconfig="$RUBY -rrbconfig -e "
23743 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23744 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
23746 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23747 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23751 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23754 $as_echo_n "checking for Ruby include path... " >&6; }
23755 if ${svn_cv_ruby_includes+:} false; then :
23756 $as_echo_n "(cached) " >&6
23759 if test -d "$rbconfig_rubyhdrdir"; then
23760 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
23761 if test -d "$rbconfig_rubyarchhdrdir"; then
23762 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
23764 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23767 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23772 $as_echo "$svn_cv_ruby_includes" >&6; }
23773 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
23776 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
23777 if ${svn_cv_ruby_compile+:} false; then :
23778 $as_echo_n "(cached) " >&6
23781 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
23784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
23785 $as_echo "$svn_cv_ruby_compile" >&6; }
23786 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
23788 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
23791 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
23794 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
23796 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
23799 $as_echo_n "checking how to link Ruby extensions... " >&6; }
23800 if ${svn_cv_ruby_link+:} false; then :
23801 $as_echo_n "(cached) " >&6
23804 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
23805 $rbconfig_LDSHARED`"
23806 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
23807 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
23811 $as_echo "$svn_cv_ruby_link" >&6; }
23812 SWIG_RB_LINK="$svn_cv_ruby_link"
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
23815 $as_echo_n "checking how to link Ruby libraries... " >&6; }
23816 if ${ac_cv_ruby_libs+:} false; then :
23817 $as_echo_n "(cached) " >&6
23820 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
23824 $as_echo "$ac_cv_ruby_libs" >&6; }
23826 input_flags="$ac_cv_ruby_libs"
23828 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23829 for flag in $input_flags; do
23831 for dir in $filtered_dirs; do
23832 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23837 if test "$filter" = "no"; then
23838 output_flags="$output_flags $flag"
23841 if test -n "$output_flags"; then
23842 printf "%s" "${output_flags# }"
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
23847 $as_echo_n "checking for rb_errinfo... " >&6; }
23848 old_CFLAGS="$CFLAGS"
23850 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
23852 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
23855 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
23858 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
23860 LIBS="$SWIG_RB_LIBS"
23861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23862 /* end confdefs.h. */
23868 if ac_fn_c_try_link "$LINENO"; then :
23869 have_rb_errinfo="yes"
23871 have_rb_errinfo="no"
23873 rm -f core conftest.err conftest.$ac_objext \
23874 conftest$ac_exeext conftest.$ac_ext
23875 if test "$have_rb_errinfo" = "yes"; then
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23877 $as_echo "yes" >&6; }
23879 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23883 $as_echo "no" >&6; }
23885 CFLAGS="$old_CFLAGS"
23888 if ${svn_cv_ruby_sitedir+:} false; then :
23889 $as_echo_n "(cached) " >&6
23892 svn_cv_ruby_sitedir="$rbconfig_sitedir"
23897 # Check whether --with-ruby-sitedir was given.
23898 if test "${with_ruby_sitedir+set}" = set; then :
23899 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
23901 svn_ruby_installdir="$svn_cv_ruby_sitedir"
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
23906 $as_echo_n "checking where to install Ruby scripts... " >&6; }
23907 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
23908 $as_echo_n "(cached) " >&6
23911 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
23912 $SED -e "s,^$rbconfig_sitedir,,"`"
23916 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
23918 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
23921 $as_echo_n "checking where to install Ruby extensions... " >&6; }
23922 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
23923 $as_echo_n "(cached) " >&6
23926 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
23927 $SED -e "s,^$rbconfig_sitedir,,"`"
23931 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
23933 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
23936 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
23937 if ${svn_cv_ruby_test_verbose+:} false; then :
23938 $as_echo_n "(cached) " >&6
23941 svn_cv_ruby_test_verbose="normal"
23946 # Check whether --with-ruby-test-verbose was given.
23947 if test "${with_ruby_test_verbose+set}" = set; then :
23948 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
23950 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
23953 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
23955 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
23976 if test $where = no; then
23978 elif test $where = check; then
23979 # Extract the first word of "swig", so it can be a program name with args.
23980 set dummy swig; ac_word=$2
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23982 $as_echo_n "checking for $ac_word... " >&6; }
23983 if ${ac_cv_path_SWIG+:} false; then :
23984 $as_echo_n "(cached) " >&6
23988 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23992 for as_dir in $PATH
23995 test -z "$as_dir" && as_dir=.
23996 for ac_exec_ext in '' $ac_executable_extensions; do
23997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23998 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24006 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24010 SWIG=$ac_cv_path_SWIG
24011 if test -n "$SWIG"; then
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24013 $as_echo "$SWIG" >&6; }
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24016 $as_echo "no" >&6; }
24021 if test -f "$where"; then
24024 SWIG="$where/bin/swig"
24026 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24027 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24031 if test "$SWIG" != "none"; then
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24033 $as_echo_n "checking swig version... " >&6; }
24034 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24035 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24036 # We want the version as an integer so we can test against
24037 # which version we're using. SWIG doesn't provide this
24038 # to us so we have to come up with it on our own.
24039 # The major is passed straight through,
24040 # the minor is zero padded to two places,
24041 # and the patch level is zero padded to three places.
24042 # e.g. 1.3.24 becomes 103024
24043 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24044 $SED -e 's/[^0-9\.].*$//' \
24045 -e 's/\.\([0-9]\)$/.0\1/' \
24046 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24047 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24049 $as_echo "$SWIG_VERSION_RAW" >&6; }
24050 # If you change the required swig version number, don't forget to update:
24051 # subversion/bindings/swig/INSTALL
24052 # packages/rpm/redhat-8+/subversion.spec
24053 # packages/rpm/redhat-7.x/subversion.spec
24054 # packages/rpm/rhel-3/subversion.spec
24055 # packages/rpm/rhel-4/subversion.spec
24056 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24061 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
24063 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
24067 SWIG_PY_COMPILE="none"
24068 SWIG_PY_LINK="none"
24069 if test "$PYTHON" != "none"; then
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24071 $as_echo "$as_me: Configuring python swig binding" >&6;}
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24074 $as_echo_n "checking for Python includes... " >&6; }
24075 if ${ac_cv_python_includes+:} false; then :
24076 $as_echo_n "(cached) " >&6
24079 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24083 $as_echo "$ac_cv_python_includes" >&6; }
24084 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24086 if test "$ac_cv_python_includes" = "none"; then
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24088 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24092 $as_echo_n "checking for compiling Python extensions... " >&6; }
24093 if ${ac_cv_python_compile+:} false; then :
24094 $as_echo_n "(cached) " >&6
24097 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24101 $as_echo "$ac_cv_python_compile" >&6; }
24102 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24105 $as_echo_n "checking for linking Python extensions... " >&6; }
24106 if ${ac_cv_python_link+:} false; then :
24107 $as_echo_n "(cached) " >&6
24110 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24114 $as_echo "$ac_cv_python_link" >&6; }
24115 SWIG_PY_LINK="$ac_cv_python_link"
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24118 $as_echo_n "checking for linking Python libraries... " >&6; }
24119 if ${ac_cv_python_libs+:} false; then :
24120 $as_echo_n "(cached) " >&6
24123 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24127 $as_echo "$ac_cv_python_libs" >&6; }
24129 input_flags="$ac_cv_python_libs"
24131 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24132 for flag in $input_flags; do
24134 for dir in $filtered_dirs; do
24135 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24140 if test "$filter" = "no"; then
24141 output_flags="$output_flags $flag"
24144 if test -n "$output_flags"; then
24145 printf "%s" "${output_flags# }"
24149 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24150 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24152 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24153 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24154 $as_echo_n "(cached) " >&6
24157 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h. */
24161 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24164 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24165 svn_cv_pycfmt_apr_int64_t="L"
24170 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24175 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24178 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24179 svn_cv_pycfmt_apr_int64_t="l"
24184 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24188 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24191 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24192 svn_cv_pycfmt_apr_int64_t="i"
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24200 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24201 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24202 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24203 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24206 cat >>confdefs.h <<_ACEOF
24207 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24212 if test "$PERL" != "none"; then
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24214 $as_echo_n "checking perl version... " >&6; }
24215 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24217 $as_echo "$PERL_VERSION" >&6; }
24218 if test "$PERL_VERSION" -ge "5008000"; then
24219 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24222 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24226 SWIG_RB_COMPILE="none"
24227 SWIG_RB_LINK="none"
24228 if test "$RUBY" != "none"; then
24229 rbconfig="$RUBY -rrbconfig -e "
24231 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24232 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24234 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24235 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24239 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24242 $as_echo_n "checking for Ruby include path... " >&6; }
24243 if ${svn_cv_ruby_includes+:} false; then :
24244 $as_echo_n "(cached) " >&6
24247 if test -d "$rbconfig_rubyhdrdir"; then
24248 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24249 if test -d "$rbconfig_rubyarchhdrdir"; then
24250 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24252 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24255 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24260 $as_echo "$svn_cv_ruby_includes" >&6; }
24261 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24264 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24265 if ${svn_cv_ruby_compile+:} false; then :
24266 $as_echo_n "(cached) " >&6
24269 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24273 $as_echo "$svn_cv_ruby_compile" >&6; }
24274 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24276 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24279 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24282 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24284 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24287 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24288 if ${svn_cv_ruby_link+:} false; then :
24289 $as_echo_n "(cached) " >&6
24292 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24293 $rbconfig_LDSHARED`"
24294 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24295 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24299 $as_echo "$svn_cv_ruby_link" >&6; }
24300 SWIG_RB_LINK="$svn_cv_ruby_link"
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24303 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24304 if ${ac_cv_ruby_libs+:} false; then :
24305 $as_echo_n "(cached) " >&6
24308 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24312 $as_echo "$ac_cv_ruby_libs" >&6; }
24314 input_flags="$ac_cv_ruby_libs"
24316 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24317 for flag in $input_flags; do
24319 for dir in $filtered_dirs; do
24320 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24325 if test "$filter" = "no"; then
24326 output_flags="$output_flags $flag"
24329 if test -n "$output_flags"; then
24330 printf "%s" "${output_flags# }"
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24335 $as_echo_n "checking for rb_errinfo... " >&6; }
24336 old_CFLAGS="$CFLAGS"
24338 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24340 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24343 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24346 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24348 LIBS="$SWIG_RB_LIBS"
24349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24350 /* end confdefs.h. */
24356 if ac_fn_c_try_link "$LINENO"; then :
24357 have_rb_errinfo="yes"
24359 have_rb_errinfo="no"
24361 rm -f core conftest.err conftest.$ac_objext \
24362 conftest$ac_exeext conftest.$ac_ext
24363 if test "$have_rb_errinfo" = "yes"; then
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24365 $as_echo "yes" >&6; }
24367 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24371 $as_echo "no" >&6; }
24373 CFLAGS="$old_CFLAGS"
24376 if ${svn_cv_ruby_sitedir+:} false; then :
24377 $as_echo_n "(cached) " >&6
24380 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24385 # Check whether --with-ruby-sitedir was given.
24386 if test "${with_ruby_sitedir+set}" = set; then :
24387 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24389 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24394 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24395 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24396 $as_echo_n "(cached) " >&6
24399 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24400 $SED -e "s,^$rbconfig_sitedir,,"`"
24404 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24406 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24409 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24410 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24411 $as_echo_n "(cached) " >&6
24414 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24415 $SED -e "s,^$rbconfig_sitedir,,"`"
24419 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24421 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24424 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24425 if ${svn_cv_ruby_test_verbose+:} false; then :
24426 $as_echo_n "(cached) " >&6
24429 svn_cv_ruby_test_verbose="normal"
24434 # Check whether --with-ruby-test-verbose was given.
24435 if test "${with_ruby_test_verbose+set}" = set; then :
24436 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24438 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24441 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24443 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24467 if test $where = no; then
24469 elif test $where = check; then
24470 # Extract the first word of "swig", so it can be a program name with args.
24471 set dummy swig; ac_word=$2
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24473 $as_echo_n "checking for $ac_word... " >&6; }
24474 if ${ac_cv_path_SWIG+:} false; then :
24475 $as_echo_n "(cached) " >&6
24479 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24483 for as_dir in $PATH
24486 test -z "$as_dir" && as_dir=.
24487 for ac_exec_ext in '' $ac_executable_extensions; do
24488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24489 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24497 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24501 SWIG=$ac_cv_path_SWIG
24502 if test -n "$SWIG"; then
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24504 $as_echo "$SWIG" >&6; }
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24507 $as_echo "no" >&6; }
24512 if test -f "$where"; then
24515 SWIG="$where/bin/swig"
24517 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24518 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24522 if test "$SWIG" != "none"; then
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24524 $as_echo_n "checking swig version... " >&6; }
24525 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24526 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24527 # We want the version as an integer so we can test against
24528 # which version we're using. SWIG doesn't provide this
24529 # to us so we have to come up with it on our own.
24530 # The major is passed straight through,
24531 # the minor is zero padded to two places,
24532 # and the patch level is zero padded to three places.
24533 # e.g. 1.3.24 becomes 103024
24534 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24535 $SED -e 's/[^0-9\.].*$//' \
24536 -e 's/\.\([0-9]\)$/.0\1/' \
24537 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24538 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24540 $as_echo "$SWIG_VERSION_RAW" >&6; }
24541 # If you change the required swig version number, don't forget to update:
24542 # subversion/bindings/swig/INSTALL
24543 # packages/rpm/redhat-8+/subversion.spec
24544 # packages/rpm/redhat-7.x/subversion.spec
24545 # packages/rpm/rhel-3/subversion.spec
24546 # packages/rpm/rhel-4/subversion.spec
24547 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24552 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
24554 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
24558 SWIG_PY_COMPILE="none"
24559 SWIG_PY_LINK="none"
24560 if test "$PYTHON" != "none"; then
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24562 $as_echo "$as_me: Configuring python swig binding" >&6;}
24564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24565 $as_echo_n "checking for Python includes... " >&6; }
24566 if ${ac_cv_python_includes+:} false; then :
24567 $as_echo_n "(cached) " >&6
24570 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24574 $as_echo "$ac_cv_python_includes" >&6; }
24575 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24577 if test "$ac_cv_python_includes" = "none"; then
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24579 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24583 $as_echo_n "checking for compiling Python extensions... " >&6; }
24584 if ${ac_cv_python_compile+:} false; then :
24585 $as_echo_n "(cached) " >&6
24588 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24592 $as_echo "$ac_cv_python_compile" >&6; }
24593 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24596 $as_echo_n "checking for linking Python extensions... " >&6; }
24597 if ${ac_cv_python_link+:} false; then :
24598 $as_echo_n "(cached) " >&6
24601 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24605 $as_echo "$ac_cv_python_link" >&6; }
24606 SWIG_PY_LINK="$ac_cv_python_link"
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24609 $as_echo_n "checking for linking Python libraries... " >&6; }
24610 if ${ac_cv_python_libs+:} false; then :
24611 $as_echo_n "(cached) " >&6
24614 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24618 $as_echo "$ac_cv_python_libs" >&6; }
24620 input_flags="$ac_cv_python_libs"
24622 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24623 for flag in $input_flags; do
24625 for dir in $filtered_dirs; do
24626 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24631 if test "$filter" = "no"; then
24632 output_flags="$output_flags $flag"
24635 if test -n "$output_flags"; then
24636 printf "%s" "${output_flags# }"
24640 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24641 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24643 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24644 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24645 $as_echo_n "(cached) " >&6
24648 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24652 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24655 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24656 svn_cv_pycfmt_apr_int64_t="L"
24661 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24663 /* end confdefs.h. */
24666 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24669 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24670 svn_cv_pycfmt_apr_int64_t="l"
24675 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24677 /* end confdefs.h. */
24679 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24682 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24683 svn_cv_pycfmt_apr_int64_t="i"
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24691 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24692 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24693 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24694 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24697 cat >>confdefs.h <<_ACEOF
24698 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24703 if test "$PERL" != "none"; then
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24705 $as_echo_n "checking perl version... " >&6; }
24706 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24708 $as_echo "$PERL_VERSION" >&6; }
24709 if test "$PERL_VERSION" -ge "5008000"; then
24710 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24713 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24717 SWIG_RB_COMPILE="none"
24718 SWIG_RB_LINK="none"
24719 if test "$RUBY" != "none"; then
24720 rbconfig="$RUBY -rrbconfig -e "
24722 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24723 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24725 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24726 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24730 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24733 $as_echo_n "checking for Ruby include path... " >&6; }
24734 if ${svn_cv_ruby_includes+:} false; then :
24735 $as_echo_n "(cached) " >&6
24738 if test -d "$rbconfig_rubyhdrdir"; then
24739 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24740 if test -d "$rbconfig_rubyarchhdrdir"; then
24741 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24743 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24746 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24751 $as_echo "$svn_cv_ruby_includes" >&6; }
24752 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24755 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24756 if ${svn_cv_ruby_compile+:} false; then :
24757 $as_echo_n "(cached) " >&6
24760 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24764 $as_echo "$svn_cv_ruby_compile" >&6; }
24765 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24767 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24770 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24773 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24775 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24778 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24779 if ${svn_cv_ruby_link+:} false; then :
24780 $as_echo_n "(cached) " >&6
24783 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24784 $rbconfig_LDSHARED`"
24785 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24786 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24790 $as_echo "$svn_cv_ruby_link" >&6; }
24791 SWIG_RB_LINK="$svn_cv_ruby_link"
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24794 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24795 if ${ac_cv_ruby_libs+:} false; then :
24796 $as_echo_n "(cached) " >&6
24799 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24803 $as_echo "$ac_cv_ruby_libs" >&6; }
24805 input_flags="$ac_cv_ruby_libs"
24807 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24808 for flag in $input_flags; do
24810 for dir in $filtered_dirs; do
24811 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24816 if test "$filter" = "no"; then
24817 output_flags="$output_flags $flag"
24820 if test -n "$output_flags"; then
24821 printf "%s" "${output_flags# }"
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24826 $as_echo_n "checking for rb_errinfo... " >&6; }
24827 old_CFLAGS="$CFLAGS"
24829 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24831 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24834 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24837 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24839 LIBS="$SWIG_RB_LIBS"
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24847 if ac_fn_c_try_link "$LINENO"; then :
24848 have_rb_errinfo="yes"
24850 have_rb_errinfo="no"
24852 rm -f core conftest.err conftest.$ac_objext \
24853 conftest$ac_exeext conftest.$ac_ext
24854 if test "$have_rb_errinfo" = "yes"; then
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24856 $as_echo "yes" >&6; }
24858 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24862 $as_echo "no" >&6; }
24864 CFLAGS="$old_CFLAGS"
24867 if ${svn_cv_ruby_sitedir+:} false; then :
24868 $as_echo_n "(cached) " >&6
24871 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24876 # Check whether --with-ruby-sitedir was given.
24877 if test "${with_ruby_sitedir+set}" = set; then :
24878 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24880 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24885 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24886 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24887 $as_echo_n "(cached) " >&6
24890 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24891 $SED -e "s,^$rbconfig_sitedir,,"`"
24895 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24897 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24900 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24901 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24902 $as_echo_n "(cached) " >&6
24905 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24906 $SED -e "s,^$rbconfig_sitedir,,"`"
24910 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24912 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24915 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24916 if ${svn_cv_ruby_test_verbose+:} false; then :
24917 $as_echo_n "(cached) " >&6
24920 svn_cv_ruby_test_verbose="normal"
24925 # Check whether --with-ruby-test-verbose was given.
24926 if test "${with_ruby_test_verbose+set}" = set; then :
24927 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24929 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24932 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24934 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24957 # Check whether --with-ctypesgen was given.
24958 if test "${with_ctypesgen+set}" = set; then :
24959 withval=$with_ctypesgen;
24967 if test $where = check; then
24968 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
24969 set dummy "ctypesgen.py"; ac_word=$2
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24971 $as_echo_n "checking for $ac_word... " >&6; }
24972 if ${ac_cv_path_CTYPESGEN+:} false; then :
24973 $as_echo_n "(cached) " >&6
24977 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
24980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24981 for as_dir in $PATH
24984 test -z "$as_dir" && as_dir=.
24985 for ac_exec_ext in '' $ac_executable_extensions; do
24986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24987 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
24988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24995 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
24999 CTYPESGEN=$ac_cv_path_CTYPESGEN
25000 if test -n "$CTYPESGEN"; then
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25002 $as_echo "$CTYPESGEN" >&6; }
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25005 $as_echo "no" >&6; }
25009 elif test $where != no; then
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25011 $as_echo_n "checking for ctypesgen.py... " >&6; }
25013 if test -f "$where"; then
25015 elif test -f "$where/bin/ctypesgen.py"; then
25016 CTYPESGEN="$where/bin/ctypesgen.py"
25018 CTYPESGEN="$where/ctypesgen.py"
25021 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25022 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25023 $where/bin/ctypesgen.py" "$LINENO" 5
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25026 $as_echo "$CTYPESGEN" >&6; }
25039 if test $where = check; then
25040 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25041 set dummy "ctypesgen.py"; ac_word=$2
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25043 $as_echo_n "checking for $ac_word... " >&6; }
25044 if ${ac_cv_path_CTYPESGEN+:} false; then :
25045 $as_echo_n "(cached) " >&6
25049 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25053 for as_dir in $PATH
25056 test -z "$as_dir" && as_dir=.
25057 for ac_exec_ext in '' $ac_executable_extensions; do
25058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25059 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25067 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25071 CTYPESGEN=$ac_cv_path_CTYPESGEN
25072 if test -n "$CTYPESGEN"; then
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25074 $as_echo "$CTYPESGEN" >&6; }
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25077 $as_echo "no" >&6; }
25081 elif test $where != no; then
25082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25083 $as_echo_n "checking for ctypesgen.py... " >&6; }
25085 if test -f "$where"; then
25087 elif test -f "$where/bin/ctypesgen.py"; then
25088 CTYPESGEN="$where/bin/ctypesgen.py"
25090 CTYPESGEN="$where/ctypesgen.py"
25093 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25094 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25095 $where/bin/ctypesgen.py" "$LINENO" 5
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25098 $as_echo "$CTYPESGEN" >&6; }
25111 if test $where = check; then
25112 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25113 set dummy "ctypesgen.py"; ac_word=$2
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25115 $as_echo_n "checking for $ac_word... " >&6; }
25116 if ${ac_cv_path_CTYPESGEN+:} false; then :
25117 $as_echo_n "(cached) " >&6
25121 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25125 for as_dir in $PATH
25128 test -z "$as_dir" && as_dir=.
25129 for ac_exec_ext in '' $ac_executable_extensions; do
25130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25131 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25139 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25143 CTYPESGEN=$ac_cv_path_CTYPESGEN
25144 if test -n "$CTYPESGEN"; then
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25146 $as_echo "$CTYPESGEN" >&6; }
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25149 $as_echo "no" >&6; }
25153 elif test $where != no; then
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25155 $as_echo_n "checking for ctypesgen.py... " >&6; }
25157 if test -f "$where"; then
25159 elif test -f "$where/bin/ctypesgen.py"; then
25160 CTYPESGEN="$where/bin/ctypesgen.py"
25162 CTYPESGEN="$where/ctypesgen.py"
25165 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25166 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25167 $where/bin/ctypesgen.py" "$LINENO" 5
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25170 $as_echo "$CTYPESGEN" >&6; }
25186 if test $where = check; then
25187 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25188 set dummy "ctypesgen.py"; ac_word=$2
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25190 $as_echo_n "checking for $ac_word... " >&6; }
25191 if ${ac_cv_path_CTYPESGEN+:} false; then :
25192 $as_echo_n "(cached) " >&6
25196 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25200 for as_dir in $PATH
25203 test -z "$as_dir" && as_dir=.
25204 for ac_exec_ext in '' $ac_executable_extensions; do
25205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25206 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25214 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25218 CTYPESGEN=$ac_cv_path_CTYPESGEN
25219 if test -n "$CTYPESGEN"; then
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25221 $as_echo "$CTYPESGEN" >&6; }
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25224 $as_echo "no" >&6; }
25228 elif test $where != no; then
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25230 $as_echo_n "checking for ctypesgen.py... " >&6; }
25232 if test -f "$where"; then
25234 elif test -f "$where/bin/ctypesgen.py"; then
25235 CTYPESGEN="$where/bin/ctypesgen.py"
25237 CTYPESGEN="$where/ctypesgen.py"
25240 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25241 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25242 $where/bin/ctypesgen.py" "$LINENO" 5
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25245 $as_echo "$CTYPESGEN" >&6; }
25256 # Check whether --enable-runtime-module-search was given.
25257 if test "${enable_runtime_module_search+set}" = set; then :
25258 enableval=$enable_runtime_module_search;
25259 if test "$enableval" = "yes"; then
25261 if test "$svn_enable_shared" = "no"; then
25262 as_fn_error $? "--enable-runtime-module-search conflicts with --disable-shared" "$LINENO" 5
25265 $as_echo "#define SVN_USE_DSO 1" >>confdefs.h
25272 if test "$svn_enable_shared" = "no" || test "$use_dso" != "yes"; then
25274 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL 1" >>confdefs.h
25276 svn_ra_lib_deps="\$(RA_LOCAL_DEPS)"
25277 svn_ra_lib_install_deps="install-ramod-lib"
25278 svn_ra_lib_link="\$(RA_LOCAL_LINK)"
25281 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SVN 1" >>confdefs.h
25283 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SVN_DEPS)"
25284 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SVN_LINK)"
25286 if test "$svn_lib_serf" = "yes"; then
25288 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SERF 1" >>confdefs.h
25290 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SERF_DEPS)"
25291 svn_ra_lib_install_deps="$svn_ra_lib_install_deps install-serf-lib"
25292 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SERF_LINK)"
25295 SVN_RA_LIB_DEPS=$svn_ra_lib_deps
25296 SVN_RA_LIB_INSTALL_DEPS=$svn_ra_lib_install_deps
25297 SVN_RA_LIB_LINK=$svn_ra_lib_link
25300 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_FS 1" >>confdefs.h
25302 svn_fs_lib_deps="\$(FS_FS_DEPS)"
25303 svn_fs_lib_install_deps="install-fsmod-lib"
25304 svn_fs_lib_link="\$(FS_FS_LINK)"
25306 if test "$svn_lib_berkeley_db" = "yes"; then
25308 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
25310 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_BASE_DEPS)"
25311 svn_fs_lib_install_deps="$svn_fs_lib_install_deps install-bdb-lib"
25312 svn_fs_lib_link="$svn_fs_lib_link \$(FS_BASE_LINK)"
25315 SVN_FS_LIB_DEPS=$svn_fs_lib_deps
25316 SVN_FS_LIB_INSTALL_DEPS=$svn_fs_lib_install_deps
25317 SVN_FS_LIB_LINK=$svn_fs_lib_link
25327 # ==== JavaHL ================================================================
25330 # Check whether --enable-javahl was given.
25331 if test "${enable_javahl+set}" = set; then :
25332 enableval=$enable_javahl; if test "$enableval" = "yes" ; then
25333 do_javahl_build="yes"
25340 INSTALL_EXTRA_JAVAHL_LIB=""
25342 JAVAHL_TESTS_TARGET=""
25343 JAVAHL_COMPAT_TESTS_TARGET=""
25345 if test "$do_javahl_build" = "yes"; then
25346 if test "$JDK_SUITABLE" = "no"; then
25347 as_fn_error $? "Cannot compile JavaHL without a suitable JDK.
25348 Please specify a suitable JDK using the --with-jdk option." "$LINENO" 5
25351 JAVAHL_OBJDIR='$(libsvnjavahl_PATH)/.libs'
25354 if test "$os_arch" = "Darwin"; then
25355 INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
25356 FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
25358 # This segment (and the rest of r10800) is very likely unnecessary
25359 # with libtool 1.5, which automatically adds libstdc++ as a
25360 # dependency to the C++ libraries it builds. So at some future time
25361 # when autogen.sh requires libtool 1.5 or higher, we can get rid of
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
25364 $as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
25365 if test "x$ac_compiler_gnu" = "xyes"; then
25366 LT_CXX_LIBADD="-lstdc++"
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
25368 $as_echo "$LT_CXX_LIBADD" >&6; }
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25371 $as_echo "none needed" >&6; }
25380 # Check whether --with-junit was given.
25381 if test "${with_junit+set}" = set; then :
25382 withval=$with_junit;
25383 if test "$withval" != "no"; then
25384 if test -n "$JAVA_CLASSPATH"; then
25385 JAVA_CLASSPATH="$withval:$JAVA_CLASSPATH"
25387 JAVA_CLASSPATH="$withval"
25389 JAVAHL_TESTS_TARGET="javahl-tests"
25390 JAVAHL_COMPAT_TESTS_TARGET="javahl-compat-tests"
25399 # ==== Miscellaneous bits ====================================================
25401 # Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
25402 ### I think we get this flag from APR, so the fix probably belongs there
25403 if test "$CC" = "clang"; then
25405 CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
25409 # Need to strip '-no-cpp-precomp' from CPPFLAGS for SWIG as well.
25410 SWIG_CPPFLAGS="$CPPFLAGS"
25412 SWIG_CPPFLAGS=`echo "$SWIG_CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
25417 cat >>confdefs.h <<_ACEOF
25418 #define SVN_PATH_LOCAL_SEPARATOR '/'
25423 cat >>confdefs.h <<_ACEOF
25424 #define SVN_NULL_DEVICE_NAME "/dev/null"
25428 DEFAULT_FS_TYPE="fsfs"
25430 cat >>confdefs.h <<_ACEOF
25431 #define DEFAULT_FS_TYPE "$DEFAULT_FS_TYPE"
25435 DEFAULT_HTTP_LIBRARY="serf"
25437 cat >>confdefs.h <<_ACEOF
25438 #define DEFAULT_HTTP_LIBRARY "$DEFAULT_HTTP_LIBRARY"
25442 # BSD/OS (BSDi) needs to use a different include syntax in Makefile
25443 INCLUDE_OUTPUTS="include \$(top_srcdir)/build-outputs.mk"
25446 # Check whether they've installed GNU make
25447 if ! make --version > /dev/null 2>&1; then
25449 INCLUDE_OUTPUTS=".include \"\$(top_srcdir)/build-outputs.mk\""
25455 # ==== Detection complete - output and run config.status =====================
25457 ac_config_headers="$ac_config_headers subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in"
25459 ac_config_commands="$ac_config_commands svn_private_config.h.tmp"
25461 ac_config_files="$ac_config_files Makefile"
25465 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
25466 ac_config_files="$ac_config_files tools/backup/hot-backup.py"
25469 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/hook-scripts/commit-access-control.pl"
25470 ac_config_files="$ac_config_files tools/hook-scripts/commit-access-control.pl"
25473 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES subversion/bindings/swig/perl/native/Makefile.PL"
25474 ac_config_files="$ac_config_files subversion/bindings/swig/perl/native/Makefile.PL"
25476 if test -e packages/solaris/pkginfo.in; then
25478 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES packages/solaris/pkginfo"
25479 ac_config_files="$ac_config_files packages/solaris/pkginfo"
25484 # Ensure that SWIG is checked after reconfiguration.
25485 rm -f .swig_checked
25488 cat >>confdefs.h <<_ACEOF
25489 #define SVN_BUILD_HOST "${host}"
25494 cat >>confdefs.h <<_ACEOF
25495 #define SVN_BUILD_TARGET "${target}"
25499 cat >confcache <<\_ACEOF
25500 # This file is a shell script that caches the results of configure
25501 # tests run on this system so they can be shared between configure
25502 # scripts and configure runs, see configure's option --config-cache.
25503 # It is not useful on other systems. If it contains results you don't
25504 # want to keep, you may remove or edit it.
25506 # config.status only pays attention to the cache file if you give it
25507 # the --recheck option to rerun configure.
25509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25511 # following values.
25515 # The following way of writing the cache mishandles newlines in values,
25516 # but we know of no workaround that is simple, portable, and efficient.
25517 # So, we kill variables containing newlines.
25518 # Ultrix sh set writes to stderr and can't be redirected directly,
25519 # and sets the high bit in the cache file unless we assign to the vars.
25521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25522 eval ac_val=\$$ac_var
25526 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25530 _ | IFS | as_nl) ;; #(
25531 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25532 *) { eval $ac_var=; unset $ac_var;} ;;
25538 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25539 *${as_nl}ac_space=\ *)
25540 # `set' does not quote correctly, so add quotes: double-quote
25541 # substitution turns \\\\ into \\, and sed turns \\ into \.
25544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25547 # `set' quotes correctly as required by POSIX, so do not add quotes.
25548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25559 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25561 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25562 if test -w "$cache_file"; then
25563 if test "x$cache_file" != "x/dev/null"; then
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25565 $as_echo "$as_me: updating cache $cache_file" >&6;}
25566 if test ! -f "$cache_file" || test -h "$cache_file"; then
25567 cat confcache >"$cache_file"
25569 case $cache_file in #(
25571 mv -f confcache "$cache_file"$$ &&
25572 mv -f "$cache_file"$$ "$cache_file" ;; #(
25574 mv -f confcache "$cache_file" ;;
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25580 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25585 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25586 # Let make expand exec_prefix.
25587 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25589 DEFS=-DHAVE_CONFIG_H
25594 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25595 # 1. Remove the extension, and $U if already installed.
25596 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25597 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25598 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25599 # will be set to the directory where LIBOBJS objects are built.
25600 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25601 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25603 LIBOBJS=$ac_libobjs
25605 LTLIBOBJS=$ac_ltlibobjs
25609 : "${CONFIG_STATUS=./config.status}"
25611 ac_clean_files_save=$ac_clean_files
25612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25614 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25616 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25618 # Generated by $as_me.
25619 # Run this file to recreate the current configuration.
25620 # Compiler output produced by configure, useful for debugging
25621 # configure, is in config.log if it exists.
25624 ac_cs_recheck=false
25627 SHELL=\${CONFIG_SHELL-$SHELL}
25630 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25631 ## -------------------- ##
25632 ## M4sh Initialization. ##
25633 ## -------------------- ##
25635 # Be more Bourne compatible
25636 DUALCASE=1; export DUALCASE # for MKS sh
25637 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25640 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25641 # is contrary to our usage. Disable this feature.
25642 alias -g '${1+"$@"}'='"$@"'
25643 setopt NO_GLOB_SUBST
25645 case `(set -o) 2>/dev/null` in #(
25657 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25658 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25661 # Prefer a ksh shell builtin over an external printf program on Solaris,
25662 # but without wasting forks for bash or zsh.
25663 if test -z "$BASH_VERSION$ZSH_VERSION" \
25664 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25665 as_echo='print -r --'
25666 as_echo_n='print -rn --'
25667 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25668 as_echo='printf %s\n'
25669 as_echo_n='printf %s'
25671 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25672 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25673 as_echo_n='/usr/ucb/echo -n'
25675 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25676 as_echo_n_body='eval
25680 expr "X$arg" : "X\\(.*\\)$as_nl";
25681 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25683 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25685 export as_echo_n_body
25686 as_echo_n='sh -c $as_echo_n_body as_echo'
25688 export as_echo_body
25689 as_echo='sh -c $as_echo_body as_echo'
25692 # The user is always right.
25693 if test "${PATH_SEPARATOR+set}" != set; then
25695 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25696 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25703 # We need space, tab and new line, in precisely that order. Quoting is
25704 # there to prevent editors from complaining about space-tab.
25705 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25706 # splitting by setting IFS to empty value.)
25709 # Find who we are. Look in the path if we contain no directory separator.
25712 *[\\/]* ) as_myself=$0 ;;
25713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25714 for as_dir in $PATH
25717 test -z "$as_dir" && as_dir=.
25718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25724 # We did not find ourselves, most probably we were run as `sh COMMAND'
25725 # in which case we are not to be found in the path.
25726 if test "x$as_myself" = x; then
25729 if test ! -f "$as_myself"; then
25730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25734 # Unset variables that we do not need and which cause bugs (e.g. in
25735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25736 # suppresses any "Segmentation fault" message there. '((' could
25737 # trigger a bug in pdksh 5.2.14.
25738 for as_var in BASH_ENV ENV MAIL MAILPATH
25739 do eval test x\${$as_var+set} = xset \
25740 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25756 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25757 # ----------------------------------------
25758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25760 # script with STATUS, using 1 if that was 0.
25763 as_status=$1; test $as_status -eq 0 && as_status=1
25765 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25768 $as_echo "$as_me: error: $2" >&2
25769 as_fn_exit $as_status
25773 # as_fn_set_status STATUS
25774 # -----------------------
25775 # Set $? to STATUS, without forking.
25776 as_fn_set_status ()
25779 } # as_fn_set_status
25781 # as_fn_exit STATUS
25782 # -----------------
25783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25787 as_fn_set_status $1
25793 # Portably unset VAR.
25796 { eval $1=; unset $1;}
25798 as_unset=as_fn_unset
25799 # as_fn_append VAR VALUE
25800 # ----------------------
25801 # Append the text in VALUE to the end of the definition contained in VAR. Take
25802 # advantage of any shell optimizations that allow amortized linear growth over
25803 # repeated appends, instead of the typical quadratic growth present in naive
25805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25806 eval 'as_fn_append ()
25817 # as_fn_arith ARG...
25818 # ------------------
25819 # Perform arithmetic evaluation on the ARGs, and store the result in the
25820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25821 # must be portable across $(()) and expr.
25822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25823 eval 'as_fn_arith ()
25830 as_val=`expr "$@" || test $? -eq 1`
25835 if expr a : '\(a\)' >/dev/null 2>&1 &&
25836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25842 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25843 as_basename=basename
25848 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25854 as_me=`$as_basename -- "$0" ||
25855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25856 X"$0" : 'X\(//\)$' \| \
25857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25859 sed '/^.*\/\([^/][^/]*\)\/*$/{
25873 # Avoid depending upon Character Ranges.
25874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25877 as_cr_digits='0123456789'
25878 as_cr_alnum=$as_cr_Letters$as_cr_digits
25880 ECHO_C= ECHO_N= ECHO_T=
25881 case `echo -n x` in #(((((
25883 case `echo 'xy\c'` in
25884 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25886 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25893 rm -f conf$$ conf$$.exe conf$$.file
25894 if test -d conf$$.dir; then
25895 rm -f conf$$.dir/conf$$.file
25898 mkdir conf$$.dir 2>/dev/null
25900 if (echo >conf$$.file) 2>/dev/null; then
25901 if ln -s conf$$.file conf$$ 2>/dev/null; then
25903 # ... but there are two gotchas:
25904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25906 # In both cases, we have to default to `cp -pR'.
25907 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25909 elif ln conf$$.file conf$$ 2>/dev/null; then
25917 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25918 rmdir conf$$.dir 2>/dev/null
25923 # Create "$as_dir" as a directory, including parents if necessary.
25928 -*) as_dir=./$as_dir;;
25930 test -d "$as_dir" || eval $as_mkdir_p || {
25934 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25935 *) as_qdir=$as_dir;;
25937 as_dirs="'$as_qdir' $as_dirs"
25938 as_dir=`$as_dirname -- "$as_dir" ||
25939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25940 X"$as_dir" : 'X\(//\)[^/]' \| \
25941 X"$as_dir" : 'X\(//\)$' \| \
25942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25943 $as_echo X"$as_dir" |
25944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25948 /^X\(\/\/\)[^/].*/{
25961 test -d "$as_dir" && break
25963 test -z "$as_dirs" || eval "mkdir $as_dirs"
25964 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25968 if mkdir -p . 2>/dev/null; then
25969 as_mkdir_p='mkdir -p "$as_dir"'
25971 test -d ./-p && rmdir ./-p
25976 # as_fn_executable_p FILE
25977 # -----------------------
25978 # Test if FILE is an executable regular file.
25979 as_fn_executable_p ()
25981 test -f "$1" && test -x "$1"
25982 } # as_fn_executable_p
25983 as_test_x='test -x'
25984 as_executable_p=as_fn_executable_p
25986 # Sed expression to map a string onto a valid CPP name.
25987 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25989 # Sed expression to map a string onto a valid variable name.
25990 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25994 ## ----------------------------------- ##
25995 ## Main body of $CONFIG_STATUS script. ##
25996 ## ----------------------------------- ##
25998 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26001 # Save the log message, to keep $0 and so on meaningful, and to
26002 # report actual input values of CONFIG_FILES etc. instead of their
26003 # values after options handling.
26005 This file was extended by subversion $as_me 1.8.14, which was
26006 generated by GNU Autoconf 2.69. Invocation command line was
26008 CONFIG_FILES = $CONFIG_FILES
26009 CONFIG_HEADERS = $CONFIG_HEADERS
26010 CONFIG_LINKS = $CONFIG_LINKS
26011 CONFIG_COMMANDS = $CONFIG_COMMANDS
26014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26019 case $ac_config_files in *"
26020 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26023 case $ac_config_headers in *"
26024 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26029 # Files that config.status was made for.
26030 config_files="$ac_config_files"
26031 config_headers="$ac_config_headers"
26032 config_commands="$ac_config_commands"
26036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26038 \`$as_me' instantiates files and other configuration actions
26039 from templates according to the current configuration. Unless the files
26040 and actions are specified as TAGs, all are instantiated by default.
26042 Usage: $0 [OPTION]... [TAG]...
26044 -h, --help print this help, then exit
26045 -V, --version print version number and configuration settings, then exit
26046 --config print configuration, then exit
26047 -q, --quiet, --silent
26048 do not print progress messages
26049 -d, --debug don't remove temporary files
26050 --recheck update $as_me by reconfiguring in the same conditions
26051 --file=FILE[:TEMPLATE]
26052 instantiate the configuration file FILE
26053 --header=FILE[:TEMPLATE]
26054 instantiate the configuration header FILE
26056 Configuration files:
26059 Configuration headers:
26062 Configuration commands:
26065 Report bugs to <http://subversion.apache.org/>."
26068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26069 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26071 subversion config.status 1.8.14
26072 configured by $0, generated by GNU Autoconf 2.69,
26073 with options \\"\$ac_cs_config\\"
26075 Copyright (C) 2012 Free Software Foundation, Inc.
26076 This config.status script is free software; the Free Software Foundation
26077 gives unlimited permission to copy, distribute and modify it."
26083 test -n "\$AWK" || AWK=awk
26086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26087 # The default lists apply if the user does not specify any file.
26093 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26094 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26098 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26110 # Handling of the options.
26111 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26113 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26114 $as_echo "$ac_cs_version"; exit ;;
26115 --config | --confi | --conf | --con | --co | --c )
26116 $as_echo "$ac_cs_config"; exit ;;
26117 --debug | --debu | --deb | --de | --d | -d )
26119 --file | --fil | --fi | --f )
26122 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26123 '') as_fn_error $? "missing file argument" ;;
26125 as_fn_append CONFIG_FILES " '$ac_optarg'"
26126 ac_need_defaults=false;;
26127 --header | --heade | --head | --hea )
26130 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26132 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26133 ac_need_defaults=false;;
26135 # Conflict between --help and --header
26136 as_fn_error $? "ambiguous option: \`$1'
26137 Try \`$0 --help' for more information.";;
26138 --help | --hel | -h )
26139 $as_echo "$ac_cs_usage"; exit ;;
26140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26141 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26144 # This is an error.
26145 -*) as_fn_error $? "unrecognized option: \`$1'
26146 Try \`$0 --help' for more information." ;;
26148 *) as_fn_append ac_config_targets " $1"
26149 ac_need_defaults=false ;;
26155 ac_configure_extra_args=
26157 if $ac_cs_silent; then
26159 ac_configure_extra_args="$ac_configure_extra_args --silent"
26163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26164 if \$ac_cs_recheck; then
26165 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26167 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26168 CONFIG_SHELL='$SHELL'
26169 export CONFIG_SHELL
26174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26178 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26179 ## Running $as_me. ##
26185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26191 # The HP-UX ksh and POSIX shell print the target directory to stdout
26192 # if CDPATH is set.
26193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26195 sed_quote_subst='$sed_quote_subst'
26196 double_quote_subst='$double_quote_subst'
26197 delay_variable_subst='$delay_variable_subst'
26198 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26199 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26200 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26201 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26202 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26203 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26204 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26205 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26206 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26207 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26208 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26209 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26210 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26211 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26212 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26213 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26214 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26215 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26216 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26217 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26218 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26219 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26220 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26221 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26222 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26223 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26224 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26225 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26226 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26227 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26228 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26229 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26230 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26231 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26232 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26233 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26234 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26235 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26236 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26237 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26238 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26239 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26240 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26241 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26242 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26243 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26244 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26245 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26246 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26247 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26248 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26249 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26250 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26251 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26252 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26253 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
26254 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26255 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"`'
26256 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
26257 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26258 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26259 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
26260 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26261 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26262 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26263 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26264 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26265 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26266 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26267 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26268 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26269 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26270 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26271 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26272 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26273 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26274 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26275 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26276 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26277 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26278 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26279 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26280 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26281 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26282 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26283 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26284 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26285 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26286 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26287 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26288 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26289 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26290 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26291 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26292 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26293 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26294 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26295 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26296 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26297 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26298 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26299 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26300 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26301 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26302 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26303 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26304 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26305 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26306 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26307 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26308 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26309 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26310 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26311 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26312 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26313 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26314 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26315 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26316 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26317 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26318 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26319 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26320 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26321 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26322 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26323 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26324 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26325 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26326 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26327 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26328 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26329 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26330 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26331 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26332 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26333 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26334 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26335 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26336 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26337 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26338 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26339 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26340 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26341 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26342 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26343 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26344 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26345 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26346 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26347 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26348 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26349 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26350 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26351 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26352 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26353 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26354 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26355 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26356 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26357 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26358 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26359 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26360 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26361 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26362 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26363 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26364 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26365 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26366 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26367 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26368 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26369 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26370 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26371 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26372 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26373 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26374 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26375 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26376 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26377 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26378 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26379 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26380 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26381 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26382 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26383 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26384 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26387 LTCFLAGS='$LTCFLAGS'
26388 compiler='$compiler_DEFAULT'
26390 # A function that is used when there is no print builtin or printf.
26391 func_fallback_echo ()
26393 eval 'cat <<_LTECHO_EOF
26398 # Quote evaled strings.
26413 deplibs_check_method \
26418 sharedlib_from_linklib_cmd \
26421 archiver_list_spec \
26427 lt_cv_sys_global_symbol_pipe \
26428 lt_cv_sys_global_symbol_to_cdecl \
26429 lt_cv_sys_global_symbol_to_import \
26430 lt_cv_sys_global_symbol_to_c_name_address \
26431 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26432 lt_cv_nm_interface \
26433 nm_file_list_spec \
26434 lt_cv_truncate_bin \
26435 lt_prog_compiler_no_builtin_flag \
26436 lt_prog_compiler_pic \
26437 lt_prog_compiler_wl \
26438 lt_prog_compiler_static \
26439 lt_cv_prog_compiler_c_o \
26448 export_dynamic_flag_spec \
26449 whole_archive_flag_spec \
26450 compiler_needs_object \
26452 allow_undefined_flag \
26453 no_undefined_flag \
26454 hardcode_libdir_flag_spec \
26455 hardcode_libdir_separator \
26459 variables_saved_for_relink \
26461 library_names_spec \
26463 install_override_mode \
26467 compiler_lib_search_dirs \
26472 compiler_lib_search_path \
26476 lt_prog_compiler_no_builtin_flag_CXX \
26477 lt_prog_compiler_pic_CXX \
26478 lt_prog_compiler_wl_CXX \
26479 lt_prog_compiler_static_CXX \
26480 lt_cv_prog_compiler_c_o_CXX \
26481 export_dynamic_flag_spec_CXX \
26482 whole_archive_flag_spec_CXX \
26483 compiler_needs_object_CXX \
26485 allow_undefined_flag_CXX \
26486 no_undefined_flag_CXX \
26487 hardcode_libdir_flag_spec_CXX \
26488 hardcode_libdir_separator_CXX \
26489 exclude_expsyms_CXX \
26490 include_expsyms_CXX \
26491 file_list_spec_CXX \
26492 compiler_lib_search_dirs_CXX \
26493 predep_objects_CXX \
26494 postdep_objects_CXX \
26497 compiler_lib_search_path_CXX; do
26498 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26499 *[\\\\\\\`\\"\\\$]*)
26500 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26503 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26508 # Double-quote double-evaled strings.
26509 for var in reload_cmds \
26510 old_postinstall_cmds \
26511 old_postuninstall_cmds \
26513 extract_expsyms_cmds \
26514 old_archive_from_new_cmds \
26515 old_archive_from_expsyms_cmds \
26517 archive_expsym_cmds \
26519 module_expsym_cmds \
26520 export_symbols_cmds \
26524 postuninstall_cmds \
26526 sys_lib_search_path_spec \
26527 sys_lib_dlsearch_path_spec \
26529 old_archive_cmds_CXX \
26530 old_archive_from_new_cmds_CXX \
26531 old_archive_from_expsyms_cmds_CXX \
26533 archive_expsym_cmds_CXX \
26535 module_expsym_cmds_CXX \
26536 export_symbols_cmds_CXX \
26538 postlink_cmds_CXX; do
26539 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26540 *[\\\\\\\`\\"\\\$]*)
26541 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26544 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26549 ac_aux_dir='$ac_aux_dir'
26551 # See if we are running on zsh, and set the options that allow our
26552 # commands through without removal of \ escapes INIT.
26553 if test -n "\${ZSH_VERSION+set}"; then
26554 setopt NO_GLOB_SUBST
26568 SVN_DB_HEADER="$SVN_DB_HEADER"
26572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26574 # Handling of arguments.
26575 for ac_config_target in $ac_config_targets
26577 case $ac_config_target in
26578 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26579 "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
26580 "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
26581 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26582 "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
26583 "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
26584 "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
26585 "packages/solaris/pkginfo") CONFIG_FILES="$CONFIG_FILES packages/solaris/pkginfo" ;;
26587 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26592 # If the user did not use the arguments to specify the items to instantiate,
26593 # then the envvar interface is used. Set only those that are not.
26594 # We use the long form for the default assignment because of an extremely
26595 # bizarre bug on SunOS 4.1.3.
26596 if $ac_need_defaults; then
26597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26599 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26602 # Have a temporary directory for convenience. Make it in the build tree
26603 # simply because there is no reason against having it here, and in addition,
26604 # creating and moving files from /tmp can sometimes cause problems.
26605 # Hook for its removal unless debugging.
26606 # Note that there is a small window in which the directory will not be cleaned:
26607 # after its creation but before its name has been assigned to `$tmp'.
26611 trap 'exit_status=$?
26612 : "${ac_tmp:=$tmp}"
26613 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26615 trap 'as_fn_exit 1' 1 2 13 15
26617 # Create a (secure) tmp directory for tmp files.
26620 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26624 tmp=./conf$$-$RANDOM
26625 (umask 077 && mkdir "$tmp")
26626 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26629 # Set up the scripts for CONFIG_FILES section.
26630 # No need to generate them if there are no CONFIG_FILES.
26631 # This happens for instance with `./config.status config.h'.
26632 if test -n "$CONFIG_FILES"; then
26635 ac_cr=`echo X | tr X '\015'`
26636 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26637 # But we know of no other shell where ac_cr would be empty at this
26638 # point, so we can use a bashism as a fallback.
26639 if test "x$ac_cr" = x; then
26640 eval ac_cr=\$\'\\r\'
26642 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26643 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26646 ac_cs_awk_cr=$ac_cr
26649 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26654 echo "cat >conf$$subs.awk <<_ACEOF" &&
26655 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26657 } >conf$$subs.sh ||
26658 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26659 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26661 for ac_last_try in false false false false false :; do
26662 . ./conf$$subs.sh ||
26663 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26665 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26666 if test $ac_delim_n = $ac_delim_num; then
26668 elif $ac_last_try; then
26669 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26671 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26674 rm -f conf$$subs.sh
26676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26677 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26681 s/^/S["/; s/!.*/"]=/
26691 s/\(.\{148\}\)..*/\1/
26693 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26698 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26705 s/\(.\{148\}\)..*/\1/
26707 s/["\\]/\\&/g; s/^/"/; s/$/"/
26711 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26716 ' <conf$$subs.awk | sed '
26721 ' >>$CONFIG_STATUS || ac_write_fail=1
26722 rm -f conf$$subs.awk
26723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26725 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26726 for (key in S) S_is_set[key] = 1
26732 nfields = split(line, field, "@")
26734 len = length(field[1])
26735 for (i = 2; i < nfields; i++) {
26737 keylen = length(key)
26738 if (S_is_set[key]) {
26740 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26741 len += length(value) + length(field[++i])
26752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26753 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26754 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26757 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26758 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26761 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26762 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26763 # trailing colons and then remove the whole line if VPATH becomes empty
26764 # (actually we leave an empty line to preserve line numbers).
26765 if test "x$srcdir" = x.; then
26766 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26785 fi # test -n "$CONFIG_FILES"
26787 # Set up the scripts for CONFIG_HEADERS section.
26788 # No need to generate them if there are no CONFIG_HEADERS.
26789 # This happens for instance with `./config.status Makefile'.
26790 if test -n "$CONFIG_HEADERS"; then
26791 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26795 # Transform confdefs.h into an awk script `defines.awk', embedded as
26796 # here-document in config.status, that substitutes the proper values into
26797 # config.h.in to produce config.h.
26799 # Create a delimiter string that does not exist in confdefs.h, to ease
26800 # handling of long lines.
26802 for ac_last_try in false false :; do
26803 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26804 if test -z "$ac_tt"; then
26806 elif $ac_last_try; then
26807 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26813 # For the awk script, D is an array of macro values keyed by name,
26814 # likewise P contains macro parameters if any. Preserve backslash
26815 # newline sequences.
26817 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26819 s/.\{148\}/&'"$ac_delim"'/g
26822 s/^[ ]*#[ ]*define[ ][ ]*/ /
26829 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26831 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26836 D["\1"]=" \3\\\\\\n"\\/p
26838 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26843 s/.\{148\}/&'"$ac_delim"'/g
26848 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26851 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26853 ' <confdefs.h | sed '
26854 s/'"$ac_delim"'/"\\\
26855 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26858 for (key in D) D_is_set[key] = 1
26861 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26863 split(line, arg, " ")
26864 if (arg[1] == "#") {
26868 defundef = substr(arg[1], 2)
26871 split(mac1, mac2, "(") #)
26873 prefix = substr(line, 1, index(line, defundef) - 1)
26874 if (D_is_set[macro]) {
26875 # Preserve the white space surrounding the "#".
26876 print prefix "define", macro P[macro] D[macro]
26879 # Replace #undef with comments. This is necessary, for example,
26880 # in the case of _POSIX_SOURCE, which is predefined and required
26881 # on some systems where configure will not decide to define it.
26882 if (defundef == "undef") {
26883 print "/*", prefix defundef, macro, "*/"
26891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26892 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26893 fi # test -n "$CONFIG_HEADERS"
26896 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26901 :[FHLC]) ac_mode=$ac_tag; continue;;
26903 case $ac_mode$ac_tag in
26905 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26906 :[FH]-) ac_tag=-:-;;
26907 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26924 -) ac_f="$ac_tmp/stdin";;
26925 *) # Look for the file first in the build tree, then in the source tree
26926 # (if the path is not absolute). The absolute path cannot be DOS-style,
26927 # because $ac_f cannot contain `:'.
26931 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26933 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26935 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26936 as_fn_append ac_file_inputs " '$ac_f'"
26939 # Let's still pretend it is `configure' which instantiates (i.e., don't
26940 # use $as_me), people would be surprised to read:
26941 # /* config.h. Generated by config.status. */
26942 configure_input='Generated from '`
26943 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26945 if test x"$ac_file" != x-; then
26946 configure_input="$ac_file. $configure_input"
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26948 $as_echo "$as_me: creating $ac_file" >&6;}
26950 # Neutralize special characters interpreted by sed in replacement strings.
26951 case $configure_input in #(
26952 *\&* | *\|* | *\\* )
26953 ac_sed_conf_input=`$as_echo "$configure_input" |
26954 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26955 *) ac_sed_conf_input=$configure_input;;
26959 *:-:* | *:-) cat >"$ac_tmp/stdin" \
26960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26965 ac_dir=`$as_dirname -- "$ac_file" ||
26966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26967 X"$ac_file" : 'X\(//\)[^/]' \| \
26968 X"$ac_file" : 'X\(//\)$' \| \
26969 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26970 $as_echo X"$ac_file" |
26971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26975 /^X\(\/\/\)[^/].*/{
26988 as_dir="$ac_dir"; as_fn_mkdir_p
26992 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26994 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26995 # A ".." for each directory in $ac_dir_suffix.
26996 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26997 case $ac_top_builddir_sub in
26998 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26999 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27002 ac_abs_top_builddir=$ac_pwd
27003 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27004 # for backward compatibility:
27005 ac_top_builddir=$ac_top_build_prefix
27008 .) # We are building in place.
27010 ac_top_srcdir=$ac_top_builddir_sub
27011 ac_abs_top_srcdir=$ac_pwd ;;
27012 [\\/]* | ?:[\\/]* ) # Absolute name.
27013 ac_srcdir=$srcdir$ac_dir_suffix;
27014 ac_top_srcdir=$srcdir
27015 ac_abs_top_srcdir=$srcdir ;;
27016 *) # Relative name.
27017 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27018 ac_top_srcdir=$ac_top_build_prefix$srcdir
27019 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27021 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27031 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27032 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27037 # If the template does not know about datarootdir, expand it.
27038 # FIXME: This hack should be removed a few years after 2.60.
27039 ac_datarootdir_hack=; ac_datarootdir_seen=
27050 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27051 *datarootdir*) ac_datarootdir_seen=yes;;
27052 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27054 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27057 ac_datarootdir_hack='
27058 s&@datadir@&$datadir&g
27059 s&@docdir@&$docdir&g
27060 s&@infodir@&$infodir&g
27061 s&@localedir@&$localedir&g
27062 s&@mandir@&$mandir&g
27063 s&\\\${datarootdir}&$datarootdir&g' ;;
27067 # Neutralize VPATH when `$srcdir' = `.'.
27068 # Shell code in configure.ac might set extrasub.
27069 # FIXME: do we really want to maintain this feature?
27070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27071 ac_sed_extra="$ac_vpsub
27074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27077 s|@configure_input@|$ac_sed_conf_input|;t t
27078 s&@top_builddir@&$ac_top_builddir_sub&;t t
27079 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27080 s&@srcdir@&$ac_srcdir&;t t
27081 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27082 s&@top_srcdir@&$ac_top_srcdir&;t t
27083 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27084 s&@builddir@&$ac_builddir&;t t
27085 s&@abs_builddir@&$ac_abs_builddir&;t t
27086 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27087 s&@INSTALL@&$ac_INSTALL&;t t
27088 $ac_datarootdir_hack
27090 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27091 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27093 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27094 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27095 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27096 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27098 which seems to be undefined. Please make sure it is defined" >&5
27099 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27100 which seems to be undefined. Please make sure it is defined" >&2;}
27102 rm -f "$ac_tmp/stdin"
27104 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27105 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27107 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27113 if test x"$ac_file" != x-; then
27115 $as_echo "/* $configure_input */" \
27116 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27117 } >"$ac_tmp/config.h" \
27118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27119 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27121 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27124 mv "$ac_tmp/config.h" "$ac_file" \
27125 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27128 $as_echo "/* $configure_input */" \
27129 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27130 || as_fn_error $? "could not create -" "$LINENO" 5
27134 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27135 $as_echo "$as_me: executing $ac_file commands" >&6;}
27140 case $ac_file$ac_mode in
27143 # See if we are running on zsh, and set the options that allow our
27144 # commands through without removal of \ escapes.
27145 if test -n "${ZSH_VERSION+set}"; then
27146 setopt NO_GLOB_SUBST
27150 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27153 cat <<_LT_EOF >> "$cfgfile"
27155 # Generated automatically by $as_me ($PACKAGE) $VERSION
27156 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27157 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27159 # Provide generalized library-building support services.
27160 # Written by Gordon Matzigkeit, 1996
27162 # Copyright (C) 2014 Free Software Foundation, Inc.
27163 # This is free software; see the source for copying conditions. There is NO
27164 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27166 # GNU Libtool is free software; you can redistribute it and/or modify
27167 # it under the terms of the GNU General Public License as published by
27168 # the Free Software Foundation; either version 2 of of the License, or
27169 # (at your option) any later version.
27171 # As a special exception to the GNU General Public License, if you
27172 # distribute this file as part of a program or library that is built
27173 # using GNU Libtool, you may include this file under the same
27174 # distribution terms that you use for the rest of that program.
27176 # GNU Libtool is distributed in the hope that it will be useful, but
27177 # WITHOUT ANY WARRANTY; without even the implied warranty of
27178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27179 # GNU General Public License for more details.
27181 # You should have received a copy of the GNU General Public License
27182 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27185 # The names of the tagged configurations supported by this script.
27186 available_tags='CXX '
27188 # ### BEGIN LIBTOOL CONFIG
27190 # Which release of libtool.m4 was used?
27191 macro_version=$macro_version
27192 macro_revision=$macro_revision
27194 # Whether or not to build shared libraries.
27195 build_libtool_libs=$enable_shared
27197 # Whether or not to build static libraries.
27198 build_old_libs=$enable_static
27200 # What type of objects to build.
27203 # Whether or not to optimize for fast installation.
27204 fast_install=$enable_fast_install
27206 # Shell to use when invoking shell scripts.
27209 # An echo program that protects backslashes.
27212 # The PATH separator for the build system.
27213 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27216 host_alias=$host_alias
27220 # The build system.
27221 build_alias=$build_alias
27225 # A sed program that does not truncate output.
27228 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27229 Xsed="\$SED -e 1s/^X//"
27231 # A grep program that handles long lines.
27237 # A literal string matcher.
27240 # A BSD- or MS-compatible name lister.
27243 # Whether we need soft or hard links.
27246 # What is the maximum length of a command?
27247 max_cmd_len=$max_cmd_len
27249 # Object file suffix (normally "o").
27252 # Executable file suffix (normally "").
27255 # whether the shell understands "unset".
27258 # turn spaces into newlines.
27261 # turn newlines into spaces.
27264 # convert \$build file names to \$host format.
27265 to_host_file_cmd=$lt_cv_to_host_file_cmd
27267 # convert \$build files to toolchain format.
27268 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27270 # An object symbol dumper.
27271 OBJDUMP=$lt_OBJDUMP
27273 # Method to check whether dependent libraries are shared objects.
27274 deplibs_check_method=$lt_deplibs_check_method
27276 # Command to use when deplibs_check_method = "file_magic".
27277 file_magic_cmd=$lt_file_magic_cmd
27279 # How to find potential files when deplibs_check_method = "file_magic".
27280 file_magic_glob=$lt_file_magic_glob
27282 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27283 want_nocaseglob=$lt_want_nocaseglob
27285 # DLL creation program.
27286 DLLTOOL=$lt_DLLTOOL
27288 # Command to associate shared and link libraries.
27289 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27294 # Flags to create an archive.
27295 AR_FLAGS=$lt_AR_FLAGS
27297 # How to feed a file listing to the archiver.
27298 archiver_list_spec=$lt_archiver_list_spec
27300 # A symbol stripping program.
27303 # Commands used to install an old-style archive.
27305 old_postinstall_cmds=$lt_old_postinstall_cmds
27306 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27308 # Whether to use a lock for old archive extraction.
27309 lock_old_archive_extraction=$lock_old_archive_extraction
27314 # LTCC compiler flags.
27315 LTCFLAGS=$lt_CFLAGS
27317 # Take the output of nm and produce a listing of raw symbols and C names.
27318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27320 # Transform the output of nm in a proper C declaration.
27321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27323 # Transform the output of nm into a list of symbols to manually relocate.
27324 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
27326 # Transform the output of nm in a C name address pair.
27327 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27329 # Transform the output of nm in a C name address pair when lib prefix is needed.
27330 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27332 # The name lister interface.
27333 nm_interface=$lt_lt_cv_nm_interface
27335 # Specify filename containing input files for \$NM.
27336 nm_file_list_spec=$lt_nm_file_list_spec
27338 # The root where to search for dependent libraries,and where our libraries should be installed.
27339 lt_sysroot=$lt_sysroot
27341 # Command to truncate a binary pipe.
27342 lt_truncate_bin=$lt_lt_cv_truncate_bin
27344 # The name of the directory that contains temporary libtool files.
27347 # Used to examine libraries when file_magic_cmd begins with "file".
27348 MAGIC_CMD=$MAGIC_CMD
27350 # Must we lock files when doing compilation?
27351 need_locks=$lt_need_locks
27354 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27356 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27357 DSYMUTIL=$lt_DSYMUTIL
27359 # Tool to change global to local symbols on Mac OS X.
27362 # Tool to manipulate fat objects and archives on Mac OS X.
27365 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27368 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27369 OTOOL64=$lt_OTOOL64
27371 # Old archive suffix (normally "a").
27374 # Shared library suffix (normally ".so").
27375 shrext_cmds=$lt_shrext_cmds
27377 # The commands to extract the exported symbol list from a shared archive.
27378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27380 # Variables whose values should be saved in libtool wrapper scripts and
27381 # restored at link time.
27382 variables_saved_for_relink=$lt_variables_saved_for_relink
27384 # Do we need the "lib" prefix for modules?
27385 need_lib_prefix=$need_lib_prefix
27387 # Do we need a version for libraries?
27388 need_version=$need_version
27390 # Library versioning type.
27391 version_type=$version_type
27393 # Shared library runtime path variable.
27394 runpath_var=$runpath_var
27396 # Shared library path variable.
27397 shlibpath_var=$shlibpath_var
27399 # Is shlibpath searched before the hard-coded library search path?
27400 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27402 # Format of library name prefix.
27403 libname_spec=$lt_libname_spec
27405 # List of archive names. First name is the real one, the rest are links.
27406 # The last name is the one that the linker finds with -lNAME
27407 library_names_spec=$lt_library_names_spec
27409 # The coded name of the library, if different from the real name.
27410 soname_spec=$lt_soname_spec
27412 # Permission mode override for installation of shared libraries.
27413 install_override_mode=$lt_install_override_mode
27415 # Command to use after installation of a shared archive.
27416 postinstall_cmds=$lt_postinstall_cmds
27418 # Command to use after uninstallation of a shared archive.
27419 postuninstall_cmds=$lt_postuninstall_cmds
27421 # Commands used to finish a libtool library installation in a directory.
27422 finish_cmds=$lt_finish_cmds
27424 # As "finish_cmds", except a single script fragment to be evaled but
27426 finish_eval=$lt_finish_eval
27428 # Whether we should hardcode library paths into libraries.
27429 hardcode_into_libs=$hardcode_into_libs
27431 # Compile-time system search path for libraries.
27432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27434 # Run-time system search path for libraries.
27435 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27437 # Whether dlopen is supported.
27438 dlopen_support=$enable_dlopen
27440 # Whether dlopen of programs is supported.
27441 dlopen_self=$enable_dlopen_self
27443 # Whether dlopen of statically linked programs is supported.
27444 dlopen_self_static=$enable_dlopen_self_static
27446 # Commands to strip libraries.
27447 old_striplib=$lt_old_striplib
27448 striplib=$lt_striplib
27451 # The linker used to build libraries.
27454 # How to create reloadable object files.
27455 reload_flag=$lt_reload_flag
27456 reload_cmds=$lt_reload_cmds
27458 # Commands used to build an old-style archive.
27459 old_archive_cmds=$lt_old_archive_cmds
27461 # A language specific compiler.
27464 # Is the compiler the GNU compiler?
27467 # Compiler flag to turn off builtin functions.
27468 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27470 # Additional compiler flags for building library objects.
27471 pic_flag=$lt_lt_prog_compiler_pic
27473 # How to pass a linker flag through the compiler.
27474 wl=$lt_lt_prog_compiler_wl
27476 # Compiler flag to prevent dynamic linking.
27477 link_static_flag=$lt_lt_prog_compiler_static
27479 # Does compiler simultaneously support -c and -o options?
27480 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27482 # Whether or not to add -lc for building shared libraries.
27483 build_libtool_need_lc=$archive_cmds_need_lc
27485 # Whether or not to disallow shared libs when runtime libs are static.
27486 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27488 # Compiler flag to allow reflexive dlopens.
27489 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27491 # Compiler flag to generate shared objects directly from archives.
27492 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27494 # Whether the compiler copes with passing no objects directly.
27495 compiler_needs_object=$lt_compiler_needs_object
27497 # Create an old-style archive from a shared archive.
27498 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27500 # Create a temporary old-style archive to link instead of a shared archive.
27501 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27503 # Commands used to build a shared archive.
27504 archive_cmds=$lt_archive_cmds
27505 archive_expsym_cmds=$lt_archive_expsym_cmds
27507 # Commands used to build a loadable module if different from building
27508 # a shared archive.
27509 module_cmds=$lt_module_cmds
27510 module_expsym_cmds=$lt_module_expsym_cmds
27512 # Whether we are building with GNU ld or not.
27513 with_gnu_ld=$lt_with_gnu_ld
27515 # Flag that allows shared libraries with undefined symbols to be built.
27516 allow_undefined_flag=$lt_allow_undefined_flag
27518 # Flag that enforces no undefined symbols.
27519 no_undefined_flag=$lt_no_undefined_flag
27521 # Flag to hardcode \$libdir into a binary during linking.
27522 # This must work even if \$libdir does not exist
27523 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27525 # Whether we need a single "-rpath" flag with a separated argument.
27526 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27528 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27529 # DIR into the resulting binary.
27530 hardcode_direct=$hardcode_direct
27532 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27533 # DIR into the resulting binary and the resulting library dependency is
27534 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27535 # library is relocated.
27536 hardcode_direct_absolute=$hardcode_direct_absolute
27538 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27539 # into the resulting binary.
27540 hardcode_minus_L=$hardcode_minus_L
27542 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27543 # into the resulting binary.
27544 hardcode_shlibpath_var=$hardcode_shlibpath_var
27546 # Set to "yes" if building a shared library automatically hardcodes DIR
27547 # into the library and all subsequent libraries and executables linked
27549 hardcode_automatic=$hardcode_automatic
27551 # Set to yes if linker adds runtime paths of dependent libraries
27552 # to runtime path list.
27553 inherit_rpath=$inherit_rpath
27555 # Whether libtool must link a program against all its dependency libraries.
27556 link_all_deplibs=$link_all_deplibs
27558 # Set to "yes" if exported symbols are required.
27559 always_export_symbols=$always_export_symbols
27561 # The commands to list exported symbols.
27562 export_symbols_cmds=$lt_export_symbols_cmds
27564 # Symbols that should not be listed in the preloaded symbols.
27565 exclude_expsyms=$lt_exclude_expsyms
27567 # Symbols that must always be exported.
27568 include_expsyms=$lt_include_expsyms
27570 # Commands necessary for linking programs (against libraries) with templates.
27571 prelink_cmds=$lt_prelink_cmds
27573 # Commands necessary for finishing linking programs.
27574 postlink_cmds=$lt_postlink_cmds
27576 # Specify filename containing input files.
27577 file_list_spec=$lt_file_list_spec
27579 # How to hardcode a shared library path into an executable.
27580 hardcode_action=$hardcode_action
27582 # The directories searched by this compiler when creating a shared library.
27583 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27585 # Dependencies to place before and after the objects being linked to
27586 # create a shared library.
27587 predep_objects=$lt_predep_objects
27588 postdep_objects=$lt_postdep_objects
27589 predeps=$lt_predeps
27590 postdeps=$lt_postdeps
27592 # The library search path used internally by the compiler when linking
27593 # a shared library.
27594 compiler_lib_search_path=$lt_compiler_lib_search_path
27596 # ### END LIBTOOL CONFIG
27602 cat <<\_LT_EOF >> "$cfgfile"
27603 # AIX sometimes has problems with the GCC collect2 program. For some
27604 # reason, if we set the COLLECT_NAMES environment variable, the problems
27605 # vanish in a puff of smoke.
27606 if test set != "${COLLECT_NAMES+set}"; then
27608 export COLLECT_NAMES
27615 ltmain=$ac_aux_dir/ltmain.sh
27618 # We use sed instead of cat because bash on DJGPP gets confused if
27619 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27620 # text mode, it properly converts lines to CR/LF. This bash problem
27621 # is reportedly fixed, but why not run on old versions too?
27622 sed '$q' "$ltmain" >> "$cfgfile" \
27623 || (rm -f "$cfgfile"; exit 1)
27625 mv -f "$cfgfile" "$ofile" ||
27626 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27630 cat <<_LT_EOF >> "$ofile"
27632 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27634 # The linker used to build libraries.
27637 # How to create reloadable object files.
27638 reload_flag=$lt_reload_flag_CXX
27639 reload_cmds=$lt_reload_cmds_CXX
27641 # Commands used to build an old-style archive.
27642 old_archive_cmds=$lt_old_archive_cmds_CXX
27644 # A language specific compiler.
27645 CC=$lt_compiler_CXX
27647 # Is the compiler the GNU compiler?
27650 # Compiler flag to turn off builtin functions.
27651 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27653 # Additional compiler flags for building library objects.
27654 pic_flag=$lt_lt_prog_compiler_pic_CXX
27656 # How to pass a linker flag through the compiler.
27657 wl=$lt_lt_prog_compiler_wl_CXX
27659 # Compiler flag to prevent dynamic linking.
27660 link_static_flag=$lt_lt_prog_compiler_static_CXX
27662 # Does compiler simultaneously support -c and -o options?
27663 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27665 # Whether or not to add -lc for building shared libraries.
27666 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27668 # Whether or not to disallow shared libs when runtime libs are static.
27669 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27671 # Compiler flag to allow reflexive dlopens.
27672 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27674 # Compiler flag to generate shared objects directly from archives.
27675 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27677 # Whether the compiler copes with passing no objects directly.
27678 compiler_needs_object=$lt_compiler_needs_object_CXX
27680 # Create an old-style archive from a shared archive.
27681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27683 # Create a temporary old-style archive to link instead of a shared archive.
27684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27686 # Commands used to build a shared archive.
27687 archive_cmds=$lt_archive_cmds_CXX
27688 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27690 # Commands used to build a loadable module if different from building
27691 # a shared archive.
27692 module_cmds=$lt_module_cmds_CXX
27693 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27695 # Whether we are building with GNU ld or not.
27696 with_gnu_ld=$lt_with_gnu_ld_CXX
27698 # Flag that allows shared libraries with undefined symbols to be built.
27699 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27701 # Flag that enforces no undefined symbols.
27702 no_undefined_flag=$lt_no_undefined_flag_CXX
27704 # Flag to hardcode \$libdir into a binary during linking.
27705 # This must work even if \$libdir does not exist
27706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27708 # Whether we need a single "-rpath" flag with a separated argument.
27709 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27711 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27712 # DIR into the resulting binary.
27713 hardcode_direct=$hardcode_direct_CXX
27715 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27716 # DIR into the resulting binary and the resulting library dependency is
27717 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27718 # library is relocated.
27719 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27721 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27722 # into the resulting binary.
27723 hardcode_minus_L=$hardcode_minus_L_CXX
27725 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27726 # into the resulting binary.
27727 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27729 # Set to "yes" if building a shared library automatically hardcodes DIR
27730 # into the library and all subsequent libraries and executables linked
27732 hardcode_automatic=$hardcode_automatic_CXX
27734 # Set to yes if linker adds runtime paths of dependent libraries
27735 # to runtime path list.
27736 inherit_rpath=$inherit_rpath_CXX
27738 # Whether libtool must link a program against all its dependency libraries.
27739 link_all_deplibs=$link_all_deplibs_CXX
27741 # Set to "yes" if exported symbols are required.
27742 always_export_symbols=$always_export_symbols_CXX
27744 # The commands to list exported symbols.
27745 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27747 # Symbols that should not be listed in the preloaded symbols.
27748 exclude_expsyms=$lt_exclude_expsyms_CXX
27750 # Symbols that must always be exported.
27751 include_expsyms=$lt_include_expsyms_CXX
27753 # Commands necessary for linking programs (against libraries) with templates.
27754 prelink_cmds=$lt_prelink_cmds_CXX
27756 # Commands necessary for finishing linking programs.
27757 postlink_cmds=$lt_postlink_cmds_CXX
27759 # Specify filename containing input files.
27760 file_list_spec=$lt_file_list_spec_CXX
27762 # How to hardcode a shared library path into an executable.
27763 hardcode_action=$hardcode_action_CXX
27765 # The directories searched by this compiler when creating a shared library.
27766 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27768 # Dependencies to place before and after the objects being linked to
27769 # create a shared library.
27770 predep_objects=$lt_predep_objects_CXX
27771 postdep_objects=$lt_postdep_objects_CXX
27772 predeps=$lt_predeps_CXX
27773 postdeps=$lt_postdeps_CXX
27775 # The library search path used internally by the compiler when linking
27776 # a shared library.
27777 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27779 # ### END LIBTOOL TAG CONFIG: CXX
27783 "svn_private_config.h.tmp":C) svn_cf=subversion/svn_private_config.h;
27784 $SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" $svn_cf.tmp > $svn_cf.tmp.new
27785 cmp -s $svn_cf.tmp.new $svn_cf || mv -f $svn_cf.tmp.new $svn_cf
27786 rm -f $svn_cf.tmp.new $svn_cf.tmp ;;
27787 "tools/backup/hot-backup.py":F) chmod +x tools/backup/hot-backup.py ;;
27788 "tools/hook-scripts/commit-access-control.pl":F) chmod +x tools/hook-scripts/commit-access-control.pl ;;
27789 "subversion/bindings/swig/perl/native/Makefile.PL":F) chmod +x subversion/bindings/swig/perl/native/Makefile.PL ;;
27790 "packages/solaris/pkginfo":F) chmod +x packages/solaris/pkginfo ;;
27798 ac_clean_files=$ac_clean_files_save
27800 test $ac_write_fail = 0 ||
27801 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27804 # configure is writing to config.log, and then calls config.status.
27805 # config.status does its own redirection, appending to config.log.
27806 # Unfortunately, on DOS this fails, as config.log is still kept open
27807 # by configure, so config.status won't be able to write to it; its
27808 # output is simply discarded. So we exec the FD to /dev/null,
27809 # effectively closing config.log, so it can be properly (re)opened and
27810 # appended to by config.status. When coming back to configure, we
27811 # need to make the FD available again.
27812 if test "$no_create" != yes; then
27814 ac_config_status_args=
27815 test "$silent" = yes &&
27816 ac_config_status_args="$ac_config_status_args --quiet"
27818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27821 # would make configure fail if this is the last instruction.
27822 $ac_cs_success || as_fn_exit 1
27824 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27826 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27830 # ==== Print final messages to user ==========================================
27833 if test "$svn_have_berkeley_db" = "no6" && test "$enable_bdb6" != "no"; then
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We have configured without BDB filesystem support
27837 Berkeley DB 6 was found, but not used. Please re-run configure (see
27838 ./config.nice) with the '--enable-bdb6' flag to use it,
27839 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
27840 to silence this warning.
27842 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
27843 General Public License, version 3:
27844 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
27846 The AGPL-3.0 licence may impose special requirements for making available
27847 source code of server-side software. The text of the licence is:
27848 https://www.gnu.org/licenses/agpl-3.0.html
27849 http://opensource.org/licenses/AGPL-3.0
27851 The Berkeley DB backend to Subversion is deprecated; see
27852 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
27854 The Subversion developers have not tested Subversion with Berkeley DB 6 for
27855 technical problems or bugs.
27857 $as_echo "$as_me: WARNING: We have configured without BDB filesystem support
27860 Berkeley DB 6 was found, but not used. Please re-run configure (see
27861 ./config.nice) with the '--enable-bdb6' flag to use it,
27862 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
27863 to silence this warning.
27865 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
27866 General Public License, version 3:
27867 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
27869 The AGPL-3.0 licence may impose special requirements for making available
27870 source code of server-side software. The text of the licence is:
27871 https://www.gnu.org/licenses/agpl-3.0.html
27872 http://opensource.org/licenses/AGPL-3.0
27874 The Berkeley DB backend to Subversion is deprecated; see
27875 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
27877 The Subversion developers have not tested Subversion with Berkeley DB 6 for
27878 technical problems or bugs.