2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsoup 2.62.2.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup>.
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
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || 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://bugzilla.gnome.org/enter_bug.cgi?product=libsoup
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 # Use only awk features that work with 7th edition Unix awk (1978).
572 # My, what an old awk you have, Mr. Solaris!
574 while (length(v1) && length(v2)) {
575 # Set d1 to be the next thing to compare from v1, and likewise for d2.
576 # Normally this is a single character, but if v1 and v2 contain digits,
577 # compare them as integers and fractions as strverscmp does.
578 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579 # Split v1 and v2 into their leading digit string components d1 and d2,
580 # and advance v1 and v2 past the leading digit strings.
581 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
587 # Compare two fractions.
588 while (d1 ~ /^0/ && d2 ~ /^0/) {
589 d1 = substr(d1, 2); len1--
590 d2 = substr(d2, 2); len2--
592 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593 # The two components differ in length, and the common prefix
594 # contains only leading zeros. Consider the longer to be less.
598 # Otherwise, compare as strings.
603 # A fraction is less than an integer.
608 # An integer is greater than a fraction.
611 # Compare two integers.
617 # The normal case, without worrying about digits.
618 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
624 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625 # which mishandles some comparisons of empty strings to integers.
626 if (length(v2)) exit 1
627 if (length(v1)) exit 2
631 test -n "$DJDIR" || exec 7<&0 </dev/null
635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636 # so uname gets run too.
637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
642 ac_default_prefix=/usr/local
644 ac_config_libobj_dir=.
651 # Identity of this package.
652 PACKAGE_NAME='libsoup'
653 PACKAGE_TARNAME='libsoup'
654 PACKAGE_VERSION='2.62.2'
655 PACKAGE_STRING='libsoup 2.62.2'
656 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup'
659 ac_unique_file="libsoup-2.4.pc.in"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
673 # ifdef HAVE_STDLIB_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
696 ac_subst_vars='am__EXEEXT_FALSE
700 MSVC_NO_TOOLSET_SET_FALSE
701 MSVC_NO_TOOLSET_SET_TRUE
702 MSVC_BASE_NO_TOOLSET_SET_FALSE
703 MSVC_BASE_NO_TOOLSET_SET_TRUE
704 SOUP_HIDDEN_VISIBILITY_CFLAGS
709 CODE_COVERAGE_LDFLAGS
710 CODE_COVERAGE_CXXFLAGS
712 CODE_COVERAGE_CPPFLAGS
716 CODE_COVERAGE_ENABLED
717 CODE_COVERAGE_ENABLED_FALSE
718 CODE_COVERAGE_ENABLED_TRUE
726 APACHE_PHP_MODULE_DIR
727 APACHE_SSL_MODULE_DIR
737 HAVE_INTROSPECTION_FALSE
738 HAVE_INTROSPECTION_TRUE
739 INTROSPECTION_MAKEFILE
742 INTROSPECTION_TYPELIBDIR
744 INTROSPECTION_GENERATE
745 INTROSPECTION_COMPILER
746 INTROSPECTION_SCANNER
747 GTK_DOC_USE_REBASE_FALSE
748 GTK_DOC_USE_REBASE_TRUE
749 GTK_DOC_USE_LIBTOOL_FALSE
750 GTK_DOC_USE_LIBTOOL_TRUE
751 GTK_DOC_BUILD_PDF_FALSE
752 GTK_DOC_BUILD_PDF_TRUE
753 GTK_DOC_BUILD_HTML_FALSE
754 GTK_DOC_BUILD_HTML_TRUE
767 BUILD_LIBSOUP_GNOME_FALSE
768 BUILD_LIBSOUP_GNOME_TRUE
777 INTLTOOL_SERVICE_RULE
779 INTLTOOL_SCHEMAS_RULE
781 INTLTOOL_XML_NOMERGE_RULE
786 INTLTOOL_SOUNDLIST_RULE
793 INTLTOOL_DIRECTORY_RULE
794 INTLTOOL_DESKTOP_RULE
795 intltool__v_merge_options_0
796 intltool__v_merge_options_
797 INTLTOOL_V_MERGE_OPTIONS
814 installed_test_metadir
815 ENABLE_ALWAYS_BUILD_TESTS_FALSE
816 ENABLE_ALWAYS_BUILD_TESTS_TRUE
817 ENABLE_INSTALLED_TESTS_FALSE
818 ENABLE_INSTALLED_TESTS_TRUE
820 GLIB_COMPILE_RESOURCES
898 INSTALL_STRIP_PROGRAM
941 program_transform_name
954 enable_option_checking
957 enable_dependency_tracking
967 enable_installed_tests
968 enable_always_build_tests
979 with_apache_module_dir
987 ac_precious_vars='build_alias
1008 # Initialize some variables set by options.
1010 ac_init_version=false
1011 ac_unrecognized_opts=
1012 ac_unrecognized_sep=
1013 # The variables have the same names as the options, with
1014 # dashes changed to underlines.
1015 cache_file=/dev/null
1022 program_transform_name=s,x,x,
1030 # Installation directory options.
1031 # These are left unexpanded so users can "make install exec_prefix=/foo"
1032 # and all the variables that are supposed to be based on exec_prefix
1033 # by default will actually change.
1034 # Use braces instead of parens because sh, perl, etc. also accept them.
1035 # (The list follows the same order as the GNU Coding Standards.)
1036 bindir='${exec_prefix}/bin'
1037 sbindir='${exec_prefix}/sbin'
1038 libexecdir='${exec_prefix}/libexec'
1039 datarootdir='${prefix}/share'
1040 datadir='${datarootdir}'
1041 sysconfdir='${prefix}/etc'
1042 sharedstatedir='${prefix}/com'
1043 localstatedir='${prefix}/var'
1044 runstatedir='${localstatedir}/run'
1045 includedir='${prefix}/include'
1046 oldincludedir='/usr/include'
1047 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1048 infodir='${datarootdir}/info'
1053 libdir='${exec_prefix}/lib'
1054 localedir='${datarootdir}/locale'
1055 mandir='${datarootdir}/man'
1061 # If the previous option needs an argument, assign it.
1062 if test -n "$ac_prev"; then
1063 eval $ac_prev=\$ac_option
1069 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1074 # Accept the important Cygnus configure options, so we can diagnose typos.
1076 case $ac_dashdash$ac_option in
1080 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1082 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1083 bindir=$ac_optarg ;;
1085 -build | --build | --buil | --bui | --bu)
1086 ac_prev=build_alias ;;
1087 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1088 build_alias=$ac_optarg ;;
1090 -cache-file | --cache-file | --cache-fil | --cache-fi \
1091 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1092 ac_prev=cache_file ;;
1093 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1094 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1095 cache_file=$ac_optarg ;;
1097 --config-cache | -C)
1098 cache_file=config.cache ;;
1100 -datadir | --datadir | --datadi | --datad)
1102 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1103 datadir=$ac_optarg ;;
1105 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1106 | --dataroo | --dataro | --datar)
1107 ac_prev=datarootdir ;;
1108 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1109 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1110 datarootdir=$ac_optarg ;;
1112 -disable-* | --disable-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid feature name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "enable_$ac_useropt"
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval enable_$ac_useropt=no ;;
1128 -docdir | --docdir | --docdi | --doc | --do)
1130 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1131 docdir=$ac_optarg ;;
1133 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1135 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1136 dvidir=$ac_optarg ;;
1138 -enable-* | --enable-*)
1139 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142 as_fn_error $? "invalid feature name: $ac_useropt"
1143 ac_useropt_orig=$ac_useropt
1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1147 "enable_$ac_useropt"
1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1150 ac_unrecognized_sep=', ';;
1152 eval enable_$ac_useropt=\$ac_optarg ;;
1154 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1155 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1156 | --exec | --exe | --ex)
1157 ac_prev=exec_prefix ;;
1158 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1159 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1160 | --exec=* | --exe=* | --ex=*)
1161 exec_prefix=$ac_optarg ;;
1163 -gas | --gas | --ga | --g)
1164 # Obsolete; use --with-gas.
1167 -help | --help | --hel | --he | -h)
1168 ac_init_help=long ;;
1169 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1170 ac_init_help=recursive ;;
1171 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1172 ac_init_help=short ;;
1174 -host | --host | --hos | --ho)
1175 ac_prev=host_alias ;;
1176 -host=* | --host=* | --hos=* | --ho=*)
1177 host_alias=$ac_optarg ;;
1179 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1181 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1183 htmldir=$ac_optarg ;;
1185 -includedir | --includedir | --includedi | --included | --include \
1186 | --includ | --inclu | --incl | --inc)
1187 ac_prev=includedir ;;
1188 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1189 | --includ=* | --inclu=* | --incl=* | --inc=*)
1190 includedir=$ac_optarg ;;
1192 -infodir | --infodir | --infodi | --infod | --info | --inf)
1194 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1195 infodir=$ac_optarg ;;
1197 -libdir | --libdir | --libdi | --libd)
1199 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1200 libdir=$ac_optarg ;;
1202 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1203 | --libexe | --libex | --libe)
1204 ac_prev=libexecdir ;;
1205 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1206 | --libexe=* | --libex=* | --libe=*)
1207 libexecdir=$ac_optarg ;;
1209 -localedir | --localedir | --localedi | --localed | --locale)
1210 ac_prev=localedir ;;
1211 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1212 localedir=$ac_optarg ;;
1214 -localstatedir | --localstatedir | --localstatedi | --localstated \
1215 | --localstate | --localstat | --localsta | --localst | --locals)
1216 ac_prev=localstatedir ;;
1217 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1218 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1219 localstatedir=$ac_optarg ;;
1221 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1223 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1224 mandir=$ac_optarg ;;
1226 -nfp | --nfp | --nf)
1227 # Obsolete; use --without-fp.
1230 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1231 | --no-cr | --no-c | -n)
1234 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1235 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1238 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1239 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1240 | --oldin | --oldi | --old | --ol | --o)
1241 ac_prev=oldincludedir ;;
1242 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1243 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1244 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1245 oldincludedir=$ac_optarg ;;
1247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1250 prefix=$ac_optarg ;;
1252 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1253 | --program-pre | --program-pr | --program-p)
1254 ac_prev=program_prefix ;;
1255 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1256 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1257 program_prefix=$ac_optarg ;;
1259 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1260 | --program-suf | --program-su | --program-s)
1261 ac_prev=program_suffix ;;
1262 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1263 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1264 program_suffix=$ac_optarg ;;
1266 -program-transform-name | --program-transform-name \
1267 | --program-transform-nam | --program-transform-na \
1268 | --program-transform-n | --program-transform- \
1269 | --program-transform | --program-transfor \
1270 | --program-transfo | --program-transf \
1271 | --program-trans | --program-tran \
1272 | --progr-tra | --program-tr | --program-t)
1273 ac_prev=program_transform_name ;;
1274 -program-transform-name=* | --program-transform-name=* \
1275 | --program-transform-nam=* | --program-transform-na=* \
1276 | --program-transform-n=* | --program-transform-=* \
1277 | --program-transform=* | --program-transfor=* \
1278 | --program-transfo=* | --program-transf=* \
1279 | --program-trans=* | --program-tran=* \
1280 | --progr-tra=* | --program-tr=* | --program-t=*)
1281 program_transform_name=$ac_optarg ;;
1283 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1285 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1286 pdfdir=$ac_optarg ;;
1288 -psdir | --psdir | --psdi | --psd | --ps)
1290 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1294 | -silent | --silent | --silen | --sile | --sil)
1297 -runstatedir | --runstatedir | --runstatedi | --runstated \
1298 | --runstate | --runstat | --runsta | --runst | --runs \
1299 | --run | --ru | --r)
1300 ac_prev=runstatedir ;;
1301 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1302 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1303 | --run=* | --ru=* | --r=*)
1304 runstatedir=$ac_optarg ;;
1306 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310 sbindir=$ac_optarg ;;
1312 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1313 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1314 | --sharedst | --shareds | --shared | --share | --shar \
1316 ac_prev=sharedstatedir ;;
1317 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1318 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1319 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321 sharedstatedir=$ac_optarg ;;
1323 -site | --site | --sit)
1325 -site=* | --site=* | --sit=*)
1328 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1331 srcdir=$ac_optarg ;;
1333 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1334 | --syscon | --sysco | --sysc | --sys | --sy)
1335 ac_prev=sysconfdir ;;
1336 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1337 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1338 sysconfdir=$ac_optarg ;;
1340 -target | --target | --targe | --targ | --tar | --ta | --t)
1341 ac_prev=target_alias ;;
1342 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1343 target_alias=$ac_optarg ;;
1345 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1348 -version | --version | --versio | --versi | --vers | -V)
1349 ac_init_version=: ;;
1352 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1355 as_fn_error $? "invalid package name: $ac_useropt"
1356 ac_useropt_orig=$ac_useropt
1357 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358 case $ac_user_opts in
1362 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1363 ac_unrecognized_sep=', ';;
1365 eval with_$ac_useropt=\$ac_optarg ;;
1367 -without-* | --without-*)
1368 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1371 as_fn_error $? "invalid package name: $ac_useropt"
1372 ac_useropt_orig=$ac_useropt
1373 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1374 case $ac_user_opts in
1378 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1379 ac_unrecognized_sep=', ';;
1381 eval with_$ac_useropt=no ;;
1384 # Obsolete; use --with-x.
1387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1388 | --x-incl | --x-inc | --x-in | --x-i)
1389 ac_prev=x_includes ;;
1390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1392 x_includes=$ac_optarg ;;
1394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1396 ac_prev=x_libraries ;;
1397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1399 x_libraries=$ac_optarg ;;
1401 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1402 Try \`$0 --help' for more information"
1406 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1407 # Reject names that are not valid shell variable names.
1408 case $ac_envvar in #(
1409 '' | [0-9]* | *[!_$as_cr_alnum]* )
1410 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1412 eval $ac_envvar=\$ac_optarg
1413 export $ac_envvar ;;
1416 # FIXME: should be removed in autoconf 3.0.
1417 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1418 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1420 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1426 if test -n "$ac_prev"; then
1427 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1428 as_fn_error $? "missing argument to $ac_option"
1431 if test -n "$ac_unrecognized_opts"; then
1432 case $enable_option_checking in
1434 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1435 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1439 # Check all directory arguments for consistency.
1440 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1441 datadir sysconfdir sharedstatedir localstatedir includedir \
1442 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1443 libdir localedir mandir runstatedir
1445 eval ac_val=\$$ac_var
1446 # Remove trailing slashes.
1449 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1450 eval $ac_var=\$ac_val;;
1452 # Be sure to have absolute directory names.
1454 [\\/$]* | ?:[\\/]* ) continue;;
1455 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1457 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1460 # There might be people who depend on the old broken behavior: `$host'
1461 # used to hold the argument of --host etc.
1462 # FIXME: To remove some day.
1465 target=$target_alias
1467 # FIXME: To remove some day.
1468 if test "x$host_alias" != x; then
1469 if test "x$build_alias" = x; then
1470 cross_compiling=maybe
1471 elif test "x$build_alias" != "x$host_alias"; then
1477 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1479 test "$silent" = yes && exec 6>/dev/null
1482 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1483 ac_ls_di=`ls -di .` &&
1484 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1485 as_fn_error $? "working directory cannot be determined"
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 as_fn_error $? "pwd does not report name of working directory"
1490 # Find the source files, if location was not specified.
1491 if test -z "$srcdir"; then
1492 ac_srcdir_defaulted=yes
1493 # Try the directory containing this script, then the parent directory.
1494 ac_confdir=`$as_dirname -- "$as_myself" ||
1495 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1496 X"$as_myself" : 'X\(//\)[^/]' \| \
1497 X"$as_myself" : 'X\(//\)$' \| \
1498 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1499 $as_echo X"$as_myself" |
1500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1518 if test ! -r "$srcdir/$ac_unique_file"; then
1522 ac_srcdir_defaulted=no
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1526 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1530 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1532 # When building in place, set srcdir=.
1533 if test "$ac_abs_confdir" = "$ac_pwd"; then
1536 # Remove unnecessary trailing slashes from srcdir.
1537 # Double slashes in file names in object file debugging info
1538 # mess up M-x gdb in Emacs.
1540 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542 for ac_var in $ac_precious_vars; do
1543 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_env_${ac_var}_value=\$${ac_var}
1545 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1546 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 # Report the --help message.
1552 if test "$ac_init_help" = "long"; then
1553 # Omit some internal or obsolete options to make the list less imposing.
1554 # This message is too long to be a string in the A/UX 3.1 sh.
1556 \`configure' configures libsoup 2.62.2 to adapt to many kinds of systems.
1558 Usage: $0 [OPTION]... [VAR=VALUE]...
1560 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1561 VAR=VALUE. See below for descriptions of some of the useful variables.
1563 Defaults for the options are specified in brackets.
1566 -h, --help display this help and exit
1567 --help=short display options specific to this package
1568 --help=recursive display the short help of all the included packages
1569 -V, --version display version information and exit
1570 -q, --quiet, --silent do not print \`checking ...' messages
1571 --cache-file=FILE cache test results in FILE [disabled]
1572 -C, --config-cache alias for \`--cache-file=config.cache'
1573 -n, --no-create do not create output files
1574 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1576 Installation directories:
1577 --prefix=PREFIX install architecture-independent files in PREFIX
1578 [$ac_default_prefix]
1579 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1582 By default, \`make install' will install all the files in
1583 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1584 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1585 for instance \`--prefix=\$HOME'.
1587 For better control, use the options below.
1589 Fine tuning of the installation directories:
1590 --bindir=DIR user executables [EPREFIX/bin]
1591 --sbindir=DIR system admin executables [EPREFIX/sbin]
1592 --libexecdir=DIR program executables [EPREFIX/libexec]
1593 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1594 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1595 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1596 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1597 --libdir=DIR object code libraries [EPREFIX/lib]
1598 --includedir=DIR C header files [PREFIX/include]
1599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1602 --infodir=DIR info documentation [DATAROOTDIR/info]
1603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1604 --mandir=DIR man documentation [DATAROOTDIR/man]
1605 --docdir=DIR documentation root [DATAROOTDIR/doc/libsoup]
1606 --htmldir=DIR html documentation [DOCDIR]
1607 --dvidir=DIR dvi documentation [DOCDIR]
1608 --pdfdir=DIR pdf documentation [DOCDIR]
1609 --psdir=DIR ps documentation [DOCDIR]
1615 --program-prefix=PREFIX prepend PREFIX to installed program names
1616 --program-suffix=SUFFIX append SUFFIX to installed program names
1617 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1620 --build=BUILD configure for building on BUILD [guessed]
1621 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short | recursive ) echo "Configuration of libsoup 2.62.2:";;
1632 --disable-option-checking ignore unrecognized --enable/--with options
1633 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1634 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1635 --enable-silent-rules less verbose build output (undo: "make V=1")
1636 --disable-silent-rules verbose build output (undo: "make V=0")
1637 --enable-debug=no/minimum/yes
1638 turn on debugging (default=$debug_default)
1639 --enable-dependency-tracking
1640 do not reject slow dependency extractors
1641 --disable-dependency-tracking
1642 speeds up one-time build
1643 --enable-shared[=PKGS] build shared libraries [default=yes]
1644 --enable-static[=PKGS] build static libraries [default=yes]
1645 --enable-fast-install[=PKGS]
1646 optimize for fast installation [default=yes]
1647 --disable-libtool-lock avoid locking (might break parallel builds)
1648 --disable-glibtest do not try to compile and run a test GLIB program
1649 --enable-installed-tests
1650 Enable installation of some test cases
1651 --enable-always-build-tests
1652 Enable always building tests during 'make all'
1653 --disable-nls do not use Native Language Support
1654 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1655 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1656 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1657 --enable-introspection=[no/auto/yes]
1658 Enable introspection for this build
1659 --enable-vala=[no/auto/yes]
1660 build Vala bindings [default=auto]
1661 --disable-tls-check Don't error out if glib-networking is unavailable
1662 --enable-code-coverage Whether to enable code coverage support
1663 --disable-more-warnings Inhibit compiler warnings
1666 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1667 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1668 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1670 --with-aix-soname=aix|svr4|both
1671 shared library versioning (aka "SONAME") variant to
1672 provide on AIX, [default=aix].
1673 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1674 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1675 compiler's sysroot if not specified).
1676 --without-gnome Do not build libsoup-gnome
1677 --with-html-dir=PATH path to installed docs
1678 --with-apache-httpd Path to apache httpd (for tests)
1679 --with-apache-module-dir
1680 Apache modules dirs (for tests)
1681 --with-ntlm-auth=PATH Where to look for ntlm_auth, path points to
1682 ntlm_auth installation (default: /usr/bin/ntlm_auth)
1683 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov).
1684 --with-gssapi Build with GSSAPI support [default=auto]
1685 --with-krb5-config=PATH Where to look for krb5-config, path points to
1686 krb5-config installation (default:
1689 Some influential environment variables:
1690 CC C compiler command
1691 CFLAGS C compiler flags
1692 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1693 nonstandard directory <lib dir>
1694 LIBS libraries to pass to the linker, e.g. -l<library>
1695 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1696 you have headers in a nonstandard directory <include dir>
1698 User-defined run-time library search path.
1700 PKG_CONFIG path to pkg-config utility
1702 directories to add to pkg-config's search path
1704 path overriding pkg-config's built-in search path
1705 XML_CFLAGS C compiler flags for XML, overriding pkg-config
1706 XML_LIBS linker flags for XML, overriding pkg-config
1708 C compiler flags for SQLITE, overriding pkg-config
1709 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1711 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1713 linker flags for GTKDOC_DEPS, overriding pkg-config
1715 Use these variables to override the choices made by `configure' or to help
1716 it to find libraries and programs with nonstandard names/locations.
1718 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup>.
1723 if test "$ac_init_help" = "recursive"; then
1724 # If there are subdirs, report their specific --help.
1725 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1726 test -d "$ac_dir" ||
1727 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1734 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1735 # A ".." for each directory in $ac_dir_suffix.
1736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1737 case $ac_top_builddir_sub in
1738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1742 ac_abs_top_builddir=$ac_pwd
1743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1744 # for backward compatibility:
1745 ac_top_builddir=$ac_top_build_prefix
1748 .) # We are building in place.
1750 ac_top_srcdir=$ac_top_builddir_sub
1751 ac_abs_top_srcdir=$ac_pwd ;;
1752 [\\/]* | ?:[\\/]* ) # Absolute name.
1753 ac_srcdir=$srcdir$ac_dir_suffix;
1754 ac_top_srcdir=$srcdir
1755 ac_abs_top_srcdir=$srcdir ;;
1757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1758 ac_top_srcdir=$ac_top_build_prefix$srcdir
1759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1763 cd "$ac_dir" || { ac_status=$?; continue; }
1764 # Check for guested configure.
1765 if test -f "$ac_srcdir/configure.gnu"; then
1767 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1768 elif test -f "$ac_srcdir/configure"; then
1770 $SHELL "$ac_srcdir/configure" --help=recursive
1772 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1774 cd "$ac_pwd" || { ac_status=$?; break; }
1778 test -n "$ac_init_help" && exit $ac_status
1779 if $ac_init_version; then
1781 libsoup configure 2.62.2
1782 generated by GNU Autoconf 2.69
1784 Copyright (C) 2012 Free Software Foundation, Inc.
1785 This configure script is free software; the Free Software Foundation
1786 gives unlimited permission to copy, distribute and modify it.
1791 ## ------------------------ ##
1792 ## Autoconf initialization. ##
1793 ## ------------------------ ##
1795 # ac_fn_c_try_compile LINENO
1796 # --------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext
1802 if { { ac_try="$ac_compile"
1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_c_try_compile
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 rm -f conftest.$ac_objext conftest$ac_exeext
1840 if { { ac_try="$ac_link"
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 test -x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists and can be compiled using the include files in
1882 # INCLUDES, setting the cache variable VAR accordingly.
1883 ac_fn_c_check_header_compile ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1896 if ac_fn_c_try_compile "$LINENO"; then :
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 } # ac_fn_c_check_header_compile
1910 # ac_fn_c_try_cpp LINENO
1911 # ----------------------
1912 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 if { { ac_try="$ac_cpp conftest.$ac_ext"
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } > conftest.i && {
1932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1937 $as_echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 as_fn_set_status $ac_retval
1947 # ac_fn_c_try_run LINENO
1948 # ----------------------
1949 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1950 # that executables *can* be run.
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 if { { ac_try="$ac_link"
1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957 *) ac_try_echo=$ac_try;;
1959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960 $as_echo "$ac_try_echo"; } >&5
1961 (eval "$ac_link") 2>&5
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1965 { { case "(($ac_try" in
1966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1967 *) ac_try_echo=$ac_try;;
1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971 (eval "$ac_try") 2>&5
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; }; }; then :
1977 $as_echo "$as_me: program exited with status $ac_status" >&5
1978 $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1981 ac_retval=$ac_status
1983 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 as_fn_set_status $ac_retval
1989 # ac_fn_c_check_func LINENO FUNC VAR
1990 # ----------------------------------
1991 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1992 ac_fn_c_check_func ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2002 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2004 #define $2 innocuous_$2
2006 /* System header to define __stub macros and hopefully few prototypes,
2007 which can conflict with char $2 (); below.
2008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2009 <limits.h> exists even on freestanding compilers. */
2012 # include <limits.h>
2014 # include <assert.h>
2019 /* Override any GCC internal prototype to avoid an error.
2020 Use char because int might match the return type of a GCC
2021 builtin and then its argument prototype would still apply. */
2026 /* The GNU C library defines this for functions which it implements
2027 to always fail with ENOSYS. Some functions are actually named
2028 something starting with __ and the normal name is an alias. */
2029 #if defined __stub_$2 || defined __stub___$2
2041 if ac_fn_c_try_link "$LINENO"; then :
2046 rm -f core conftest.err conftest.$ac_objext \
2047 conftest$ac_exeext conftest.$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 } # ac_fn_c_check_func
2055 cat >config.log <<_ACEOF
2056 This file contains any messages produced by compilers while
2057 running configure, to aid debugging if configure makes a mistake.
2059 It was created by libsoup $as_me 2.62.2, which was
2060 generated by GNU Autoconf 2.69. Invocation command line was
2072 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2073 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2074 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2075 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2076 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2078 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2079 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2081 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2082 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2083 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2084 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2085 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2086 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2087 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 $as_echo "PATH: $as_dir"
2112 # Keep a trace of the command line.
2113 # Strip out --no-create and --no-recursion so they do not pile up.
2114 # Strip out --silent because we don't want to record it for future runs.
2115 # Also quote any args containing shell meta-characters.
2116 # Make two passes to allow for proper duplicate-argument suppression.
2120 ac_must_keep_next=false
2126 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128 | -silent | --silent | --silen | --sile | --sil)
2131 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2134 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2136 as_fn_append ac_configure_args1 " '$ac_arg'"
2137 if test $ac_must_keep_next = true; then
2138 ac_must_keep_next=false # Got value, back to normal.
2141 *=* | --config-cache | -C | -disable-* | --disable-* \
2142 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2143 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2144 | -with-* | --with-* | -without-* | --without-* | --x)
2145 case "$ac_configure_args0 " in
2146 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2149 -* ) ac_must_keep_next=true ;;
2152 as_fn_append ac_configure_args " '$ac_arg'"
2157 { ac_configure_args0=; unset ac_configure_args0;}
2158 { ac_configure_args1=; unset ac_configure_args1;}
2160 # When interrupted or exit'd, cleanup temporary files, and complete
2161 # config.log. We remove comments because anyway the quotes in there
2162 # would cause problems or look ugly.
2163 # WARNING: Use '\'' to represent an apostrophe within the trap.
2164 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2165 trap 'exit_status=$?
2166 # Save into config.log some information that might help in debugging.
2170 $as_echo "## ---------------- ##
2171 ## Cache variables. ##
2172 ## ---------------- ##"
2174 # The following way of writing the cache mishandles newlines in values,
2176 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2177 eval ac_val=\$$ac_var
2181 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2182 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2185 _ | IFS | as_nl) ;; #(
2186 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2187 *) { eval $ac_var=; unset $ac_var;} ;;
2192 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2193 *${as_nl}ac_space=\ *)
2195 "s/'\''/'\''\\\\'\'''\''/g;
2196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2206 $as_echo "## ----------------- ##
2207 ## Output variables. ##
2208 ## ----------------- ##"
2210 for ac_var in $ac_subst_vars
2212 eval ac_val=\$$ac_var
2214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216 $as_echo "$ac_var='\''$ac_val'\''"
2220 if test -n "$ac_subst_files"; then
2221 $as_echo "## ------------------- ##
2222 ## File substitutions. ##
2223 ## ------------------- ##"
2225 for ac_var in $ac_subst_files
2227 eval ac_val=\$$ac_var
2229 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231 $as_echo "$ac_var='\''$ac_val'\''"
2236 if test -s confdefs.h; then
2237 $as_echo "## ----------- ##
2244 test "$ac_signal" != 0 &&
2245 $as_echo "$as_me: caught signal $ac_signal"
2246 $as_echo "$as_me: exit $exit_status"
2248 rm -f core *.core core.conftest.* &&
2249 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2252 for ac_signal in 1 2 13 15; do
2253 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2257 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2258 rm -f -r conftest* confdefs.h
2260 $as_echo "/* confdefs.h */" > confdefs.h
2262 # Predefined preprocessor variables.
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_NAME "$PACKAGE_NAME"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_STRING "$PACKAGE_STRING"
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_URL "$PACKAGE_URL"
2289 # Let the site file select an alternate cache file if it wants to.
2290 # Prefer an explicitly selected file to automatically selected ones.
2293 if test -n "$CONFIG_SITE"; then
2294 # We do not want a PATH search for config.site.
2295 case $CONFIG_SITE in #((
2296 -*) ac_site_file1=./$CONFIG_SITE;;
2297 */*) ac_site_file1=$CONFIG_SITE;;
2298 *) ac_site_file1=./$CONFIG_SITE;;
2300 elif test "x$prefix" != xNONE; then
2301 ac_site_file1=$prefix/share/config.site
2302 ac_site_file2=$prefix/etc/config.site
2304 ac_site_file1=$ac_default_prefix/share/config.site
2305 ac_site_file2=$ac_default_prefix/etc/config.site
2307 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2309 test "x$ac_site_file" = xNONE && continue
2310 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2312 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2313 sed 's/^/| /' "$ac_site_file" >&5
2315 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 as_fn_error $? "failed to load site script $ac_site_file
2318 See \`config.log' for more details" "$LINENO" 5; }
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special files
2324 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2325 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2327 $as_echo "$as_me: loading cache $cache_file" >&6;}
2329 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330 *) . "./$cache_file";;
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2335 $as_echo "$as_me: creating cache $cache_file" >&6;}
2339 # Check that the precious variables saved in the cache have kept the same
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2354 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 # differences in whitespace do not lead to failure.
2360 ac_old_val_w=`echo x $ac_old_val`
2361 ac_new_val_w=`echo x $ac_new_val`
2362 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2364 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 ac_cache_corrupted=:
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2368 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2369 eval $ac_var=\$ac_old_val
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2372 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2374 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2377 # Pass precious variables to config.status.
2378 if test "$ac_new_set" = set; then
2380 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2381 *) ac_arg=$ac_var=$ac_new_val ;;
2383 case " $ac_configure_args " in
2384 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2385 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2389 if $ac_cache_corrupted; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2393 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2394 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2396 ## -------------------- ##
2397 ## Main body of script. ##
2398 ## -------------------- ##
2401 ac_cpp='$CPP $CPPFLAGS'
2402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410 for ac_dir in build-aux "$srcdir"/build-aux; do
2411 if test -f "$ac_dir/install-sh"; then
2413 ac_install_sh="$ac_aux_dir/install-sh -c"
2415 elif test -f "$ac_dir/install.sh"; then
2417 ac_install_sh="$ac_aux_dir/install.sh -c"
2419 elif test -f "$ac_dir/shtool"; then
2421 ac_install_sh="$ac_aux_dir/shtool install -c"
2425 if test -z "$ac_aux_dir"; then
2426 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2429 # These three variables are undocumented and unsupported,
2430 # and are intended to be withdrawn in a future Autoconf release.
2431 # They can cause serious problems if a builder's source tree is in a directory
2432 # whose full name contains unusual characters.
2433 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2434 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2435 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2439 am__api_version='1.15'
2441 # Find a good install program. We prefer a C program (faster),
2442 # so one script is as good as another. But avoid the broken or
2443 # incompatible versions:
2444 # SysV /etc/install, /usr/sbin/install
2445 # SunOS /usr/etc/install
2446 # IRIX /sbin/install
2448 # AmigaOS /C/install, which installs bootblocks on floppy discs
2449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2452 # OS/2's system install, which has a completely different semantic
2453 # ./install, which can be erroneously created by make from ./install.sh.
2454 # Reject install programs that cannot install multiple files.
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2456 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2457 if test -z "$INSTALL"; then
2458 if ${ac_cv_path_install+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 # Account for people who put trailing slashes in PATH elements.
2467 case $as_dir/ in #((
2468 ./ | .// | /[cC]/* | \
2469 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2470 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2473 # OSF1 and SCO ODT 3.0 have their own names for install.
2474 # Don't use installbsd from OSF since it installs stuff as root
2476 for ac_prog in ginstall scoinst install; do
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2479 if test $ac_prog = install &&
2480 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481 # AIX install. It has an incompatible calling convention.
2483 elif test $ac_prog = install &&
2484 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2485 # program-specific install script used by HP pwplus--don't use.
2488 rm -rf conftest.one conftest.two conftest.dir
2489 echo one > conftest.one
2490 echo two > conftest.two
2492 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2493 test -s conftest.one && test -s conftest.two &&
2494 test -s conftest.dir/conftest.one &&
2495 test -s conftest.dir/conftest.two
2497 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2510 rm -rf conftest.one conftest.two conftest.dir
2513 if test "${ac_cv_path_install+set}" = set; then
2514 INSTALL=$ac_cv_path_install
2516 # As a last resort, use the slow shell script. Don't cache a
2517 # value for INSTALL within a source directory, because that will
2518 # break other packages using the cache if that directory is
2519 # removed, or if the value is a relative name.
2520 INSTALL=$ac_install_sh
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2524 $as_echo "$INSTALL" >&6; }
2526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2527 # It thinks the first close brace ends the variable substitution.
2528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2532 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2535 $as_echo_n "checking whether build environment is sane... " >&6; }
2536 # Reject unsafe characters in $srcdir or the absolute working directory
2537 # name. Accept space and tab only in the latter.
2541 *[\\\"\#\$\&\'\`$am_lf]*)
2542 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2545 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2546 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2549 # Do 'set' in a subshell so we don't clobber the current shell's
2550 # arguments. Must try -L first in case configure is actually a
2551 # symlink; some systems play weird games with the mod time of symlinks
2552 # (eg FreeBSD returns the mod time of the symlink's containing
2556 for am_try in 1 2; do
2557 echo "timestamp, slept: $am_has_slept" > conftest.file
2558 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2559 if test "$*" = "X"; then
2561 set X `ls -t "$srcdir/configure" conftest.file`
2563 if test "$*" != "X $srcdir/configure conftest.file" \
2564 && test "$*" != "X conftest.file $srcdir/configure"; then
2566 # If neither matched, then we have a broken ls. This can happen
2567 # if, for instance, CONFIG_SHELL is bash and it inherits a
2568 # broken ls alias from the environment. This has actually
2569 # happened. Such a system could not be considered "sane".
2570 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2571 alias in your environment" "$LINENO" 5
2573 if test "$2" = conftest.file || test $am_try -eq 2; then
2580 test "$2" = conftest.file
2586 as_fn_error $? "newly created file is older than distributed files!
2587 Check your system clock" "$LINENO" 5
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2590 $as_echo "yes" >&6; }
2591 # If we didn't sleep, we still need to ensure time stamps of config.status and
2592 # generated files are strictly newer.
2594 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2601 test "$program_prefix" != NONE &&
2602 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2603 # Use a double $ so make ignores it.
2604 test "$program_suffix" != NONE &&
2605 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2606 # Double any \ or $.
2607 # By default was `s,x,x', remove it if useless.
2608 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2609 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2611 # Expand $ac_aux_dir to an absolute path.
2612 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2614 if test x"${MISSING+set}" != xset; then
2617 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2619 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2622 # Use eval to expand $SHELL
2623 if eval "$MISSING --is-lightweight"; then
2624 am_missing_run="$MISSING "
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2628 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2631 if test x"${install_sh+set}" != xset; then
2634 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2636 install_sh="\${SHELL} $am_aux_dir/install-sh"
2640 # Installed binaries are usually stripped using 'strip' when the user
2641 # run "make install-strip". However 'strip' might not be the right
2642 # tool to use in cross-compilation environments, therefore Automake
2643 # will honor the 'STRIP' environment variable to overrule this program.
2644 if test "$cross_compiling" != no; then
2645 if test -n "$ac_tool_prefix"; then
2646 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2647 set dummy ${ac_tool_prefix}strip; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_STRIP+:} false; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$STRIP"; then
2654 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 STRIP=$ac_cv_prog_STRIP
2674 if test -n "$STRIP"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2676 $as_echo "$STRIP" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$ac_cv_prog_STRIP"; then
2686 # Extract the first word of "strip", so it can be a program name with args.
2687 set dummy strip; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$ac_ct_STRIP"; then
2694 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_ac_ct_STRIP="strip"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2714 if test -n "$ac_ct_STRIP"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2716 $as_echo "$ac_ct_STRIP" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2722 if test "x$ac_ct_STRIP" = x; then
2725 case $cross_compiling:$ac_tool_warned in
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2729 ac_tool_warned=yes ;;
2734 STRIP="$ac_cv_prog_STRIP"
2738 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2741 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2742 if test -z "$MKDIR_P"; then
2743 if ${ac_cv_path_mkdir+:} false; then :
2744 $as_echo_n "(cached) " >&6
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2750 test -z "$as_dir" && as_dir=.
2751 for ac_prog in mkdir gmkdir; do
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2754 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2755 'mkdir (GNU coreutils) '* | \
2756 'mkdir (coreutils) '* | \
2757 'mkdir (fileutils) '4.1*)
2758 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2768 test -d ./--version && rmdir ./--version
2769 if test "${ac_cv_path_mkdir+set}" = set; then
2770 MKDIR_P="$ac_cv_path_mkdir -p"
2772 # As a last resort, use the slow shell script. Don't cache a
2773 # value for MKDIR_P within a source directory, because that will
2774 # break other packages using the cache if that directory is
2775 # removed, or if the value is a relative name.
2776 MKDIR_P="$ac_install_sh -d"
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2780 $as_echo "$MKDIR_P" >&6; }
2782 for ac_prog in gawk mawk nawk awk
2784 # Extract the first word of "$ac_prog", so it can be a program name with args.
2785 set dummy $ac_prog; ac_word=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_AWK+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$AWK"; then
2792 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir=.
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_AWK="$ac_prog"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$AWK"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2814 $as_echo "$AWK" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2821 test -n "$AWK" && break
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2825 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2827 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2828 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 cat >conftest.make <<\_ACEOF
2834 @echo '@@@%%%=$(MAKE)=@@@%%%'
2836 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2837 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2839 eval ac_cv_prog_make_${ac_make}_set=yes;;
2841 eval ac_cv_prog_make_${ac_make}_set=no;;
2845 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2847 $as_echo "yes" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2852 SET_MAKE="MAKE=${MAKE-make}"
2855 rm -rf .tst 2>/dev/null
2856 mkdir .tst 2>/dev/null
2857 if test -d .tst; then
2862 rmdir .tst 2>/dev/null
2864 # Check whether --enable-silent-rules was given.
2865 if test "${enable_silent_rules+set}" = set; then :
2866 enableval=$enable_silent_rules;
2869 case $enable_silent_rules in # (((
2870 yes) AM_DEFAULT_VERBOSITY=0;;
2871 no) AM_DEFAULT_VERBOSITY=1;;
2872 *) AM_DEFAULT_VERBOSITY=1;;
2874 am_make=${MAKE-make}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2876 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2877 if ${am_cv_make_support_nested_variables+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 if $as_echo 'TRUE=$(BAR$(V))
2886 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2887 am_cv_make_support_nested_variables=yes
2889 am_cv_make_support_nested_variables=no
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2893 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2894 if test $am_cv_make_support_nested_variables = yes; then
2896 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2898 AM_V=$AM_DEFAULT_VERBOSITY
2899 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2903 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2904 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2905 # is not polluted with repeated "-I."
2906 am__isrc=' -I$(srcdir)'
2907 # test to see if srcdir already configured
2908 if test -f $srcdir/config.status; then
2909 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2913 # test whether we have cygpath
2914 if test -z "$CYGPATH_W"; then
2915 if (cygpath --version) >/dev/null 2>/dev/null; then
2916 CYGPATH_W='cygpath -w'
2923 # Define the identity of the package.
2928 cat >>confdefs.h <<_ACEOF
2929 #define PACKAGE "$PACKAGE"
2933 cat >>confdefs.h <<_ACEOF
2934 #define VERSION "$VERSION"
2937 # Some tools Automake needs.
2939 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2942 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2945 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2948 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2951 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2953 # For better backward compatibility. To be removed once Automake 1.9.x
2954 # dies out for good. For more background, see:
2955 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2956 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2957 mkdir_p='$(MKDIR_P)'
2959 # We need awk for the "check" target (and possibly the TAP driver). The
2960 # system "awk" is bad on some platforms.
2961 # Always define AMTAR for backward compatibility. Yes, it's still used
2962 # in the wild :-( We should find a proper way to deprecate it ...
2966 # We'll loop over all known methods to create a tar archive until one works.
2967 _am_tools='gnutar pax cpio none'
2969 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2976 # POSIX will say in a future version that running "rm -f" with no argument
2977 # is OK; and we want to be able to make that assumption in our Makefile
2978 # recipes. So use an aggressive probe to check that the usage we want is
2979 # actually supported "in the wild" to an acceptable degree.
2980 # See automake bug#10828.
2981 # To make any issue more visible, cause the running configure to be aborted
2982 # by default if the 'rm' program in use doesn't match our expectations; the
2983 # user can still override this though.
2984 if rm -f && rm -fr && rm -rf; then : OK; else
2988 Your 'rm' program seems unable to run without file operands specified
2989 on the command line, even when the '-f' option is present. This is contrary
2990 to the behaviour of most rm programs out there, and not conforming with
2991 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2993 Please tell bug-automake@gnu.org about your system, including the value
2994 of your $PATH and any error possibly output before this message. This
2995 can help us improve future automake versions.
2998 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2999 echo 'Configuration will proceed anyway, since you have set the' >&2
3000 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3004 Aborting the configuration process, to ensure you take notice of the issue.
3006 You can download and install GNU coreutils to get an 'rm' implementation
3007 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3009 If you want to complete the configuration process using your problematic
3010 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3011 to "yes", and re-run configure.
3014 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3018 # Check whether --enable-silent-rules was given.
3019 if test "${enable_silent_rules+set}" = set; then :
3020 enableval=$enable_silent_rules;
3023 case $enable_silent_rules in # (((
3024 yes) AM_DEFAULT_VERBOSITY=0;;
3025 no) AM_DEFAULT_VERBOSITY=1;;
3026 *) AM_DEFAULT_VERBOSITY=0;;
3028 am_make=${MAKE-make}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3030 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3031 if ${am_cv_make_support_nested_variables+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 if $as_echo 'TRUE=$(BAR$(V))
3040 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3041 am_cv_make_support_nested_variables=yes
3043 am_cv_make_support_nested_variables=no
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3047 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3048 if test $am_cv_make_support_nested_variables = yes; then
3050 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3052 AM_V=$AM_DEFAULT_VERBOSITY
3053 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3059 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3061 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3062 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 cat >conftest.make <<\_ACEOF
3068 @echo '@@@%%%=$(MAKE)=@@@%%%'
3070 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3071 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3073 eval ac_cv_prog_make_${ac_make}_set=yes;;
3075 eval ac_cv_prog_make_${ac_make}_set=no;;
3079 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 SET_MAKE="MAKE=${MAKE-make}"
3090 SOUP_MAJOR_VERSION=2
3091 SOUP_MINOR_VERSION=62
3092 SOUP_MICRO_VERSION=2
3097 SOUP_API_VERSION=2.4
3100 # Increment on interface addition. Reset on removal.
3103 # Increment on interface add, remove, or change.
3106 # Increment on source change. Reset when CURRENT changes.
3114 debug_default=minimum
3116 # Declare --enable-* args and collect ac_help strings
3117 # Check whether --enable-debug was given.
3118 if test "${enable_debug+set}" = set; then :
3119 enableval=$enable_debug;
3121 enable_debug=$debug_default
3125 # Set the debug flags
3126 if test "x$enable_debug" = "xyes"; then
3127 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
3128 SOUP_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
3130 if test "x$enable_debug" = "xno"; then
3131 SOUP_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3143 if test -n "$ac_tool_prefix"; then
3144 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3145 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if ${ac_cv_prog_CC+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$CC"; then
3152 ac_cv_prog_CC="$CC" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test -n "$CC"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3174 $as_echo "$CC" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3182 if test -z "$ac_cv_prog_CC"; then
3184 # Extract the first word of "gcc", so it can be a program name with args.
3185 set dummy gcc; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$ac_ct_CC"; then
3192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_ac_ct_CC="gcc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3212 if test -n "$ac_ct_CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3214 $as_echo "$ac_ct_CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3220 if test "x$ac_ct_CC" = x; then
3223 case $cross_compiling:$ac_tool_warned in
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3227 ac_tool_warned=yes ;;
3235 if test -z "$CC"; then
3236 if test -n "$ac_tool_prefix"; then
3237 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3238 set dummy ${ac_tool_prefix}cc; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_CC+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$CC"; then
3245 ac_cv_prog_CC="$CC" # Let the user override the test.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_CC="${ac_tool_prefix}cc"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 if test -n "$CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3267 $as_echo "$CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3276 if test -z "$CC"; then
3277 # Extract the first word of "cc", so it can be a program name with args.
3278 set dummy cc; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if ${ac_cv_prog_CC+:} false; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3296 ac_prog_rejected=yes
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 if test $ac_prog_rejected = yes; then
3308 # We found a bogon in the path, so make sure we never use it.
3309 set dummy $ac_cv_prog_CC
3311 if test $# != 0; then
3312 # We chose a different compiler from the bogus one.
3313 # However, it has the same basename, so the bogon will be chosen
3314 # first if we set CC to just the basename; use the full file name.
3316 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3322 if test -n "$CC"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324 $as_echo "$CC" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3332 if test -z "$CC"; then
3333 if test -n "$ac_tool_prefix"; then
3334 for ac_prog in cl.exe
3336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_CC+:} false; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$CC"; then
3344 ac_cv_prog_CC="$CC" # Let the user override the test.
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test -n "$CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3366 $as_echo "$CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3373 test -n "$CC" && break
3376 if test -z "$CC"; then
3378 for ac_prog in cl.exe
3380 # Extract the first word of "$ac_prog", so it can be a program name with args.
3381 set dummy $ac_prog; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3385 $as_echo_n "(cached) " >&6
3387 if test -n "$ac_ct_CC"; then
3388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_ac_ct_CC="$ac_prog"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3408 if test -n "$ac_ct_CC"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3410 $as_echo "$ac_ct_CC" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3417 test -n "$ac_ct_CC" && break
3420 if test "x$ac_ct_CC" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3436 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438 as_fn_error $? "no acceptable C compiler found in \$PATH
3439 See \`config.log' for more details" "$LINENO" 5; }
3441 # Provide some information about the compiler.
3442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3445 for ac_option in --version -v -V -qversion; do
3446 { { ac_try="$ac_compiler $ac_option >&5"
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3455 if test -s conftest.err; then
3457 ... rest of stderr output deleted ...
3458 10q' conftest.err >conftest.er1
3459 cat conftest.er1 >&5
3461 rm -f conftest.er1 conftest.err
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 ac_clean_files_save=$ac_clean_files
3478 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3479 # Try to create an executable without -o first, disregard a.out.
3480 # It will help us diagnose broken compilers, and finding out an intuition
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3483 $as_echo_n "checking whether the C compiler works... " >&6; }
3484 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3486 # The possible output files:
3487 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3490 for ac_file in $ac_files
3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3494 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3499 if { { ac_try="$ac_link_default"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505 $as_echo "$ac_try_echo"; } >&5
3506 (eval "$ac_link_default") 2>&5
3508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3509 test $ac_status = 0; }; then :
3510 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3511 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3512 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3513 # so that the user can short-circuit this test for compilers unknown to
3515 for ac_file in $ac_files ''
3517 test -f "$ac_file" || continue
3519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3522 # We found the default executable, but exeext='' is most
3526 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3528 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3530 # We set ac_cv_exeext here because the later test for it is not
3531 # safe: cross compilers may not add the suffix if given an `-o'
3532 # argument, so we may need to know it at that point already.
3533 # Even if this section looks crufty: it has the advantage of
3540 test "$ac_cv_exeext" = no && ac_cv_exeext=
3545 if test -z "$ac_file"; then :
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 $as_echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error 77 "C compiler cannot create executables
3554 See \`config.log' for more details" "$LINENO" 5; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3557 $as_echo "yes" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3560 $as_echo_n "checking for C compiler default output file name... " >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3562 $as_echo "$ac_file" >&6; }
3563 ac_exeext=$ac_cv_exeext
3565 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3566 ac_clean_files=$ac_clean_files_save
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3568 $as_echo_n "checking for suffix of executables... " >&6; }
3569 if { { ac_try="$ac_link"
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576 (eval "$ac_link") 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }; then :
3580 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3581 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3582 # work properly (i.e., refer to `conftest.exe'), while it won't with
3584 for ac_file in conftest.exe conftest conftest.*; do
3585 test -f "$ac_file" || continue
3587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3588 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3596 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3597 See \`config.log' for more details" "$LINENO" 5; }
3599 rm -f conftest conftest$ac_cv_exeext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3601 $as_echo "$ac_cv_exeext" >&6; }
3603 rm -f conftest.$ac_ext
3604 EXEEXT=$ac_cv_exeext
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3612 FILE *f = fopen ("conftest.out", "w");
3613 return ferror (f) || fclose (f) != 0;
3619 ac_clean_files="$ac_clean_files conftest.out"
3620 # Check that the compiler produces executables we can run. If not, either
3621 # the compiler is broken, or we cross compile.
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3623 $as_echo_n "checking whether we are cross compiling... " >&6; }
3624 if test "$cross_compiling" != yes; then
3625 { { ac_try="$ac_link"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_link") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }
3636 if { ac_try='./conftest$ac_cv_exeext'
3637 { { case "(($ac_try" in
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_try") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }; }; then
3649 if test "$cross_compiling" = maybe; then
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "cannot run C compiled programs.
3655 If you meant to cross compile, use \`--host'.
3656 See \`config.log' for more details" "$LINENO" 5; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3661 $as_echo "$cross_compiling" >&6; }
3663 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3664 ac_clean_files=$ac_clean_files_save
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3666 $as_echo_n "checking for suffix of object files... " >&6; }
3667 if ${ac_cv_objext+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 rm -f conftest.o conftest.obj
3682 if { { ac_try="$ac_compile"
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_compile") 2>&5
3691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }; then :
3693 for ac_file in conftest.o conftest.obj conftest.*; do
3694 test -f "$ac_file" || continue;
3696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3697 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3702 $as_echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "cannot compute suffix of object files: cannot compile
3708 See \`config.log' for more details" "$LINENO" 5; }
3710 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3713 $as_echo "$ac_cv_objext" >&6; }
3714 OBJEXT=$ac_cv_objext
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3718 if ${ac_cv_c_compiler_gnu+:} false; then :
3719 $as_echo_n "(cached) " >&6
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3735 if ac_fn_c_try_compile "$LINENO"; then :
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3745 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3746 if test $ac_compiler_gnu = yes; then
3751 ac_test_CFLAGS=${CFLAGS+set}
3752 ac_save_CFLAGS=$CFLAGS
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3754 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3755 if ${ac_cv_prog_cc_g+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 ac_save_c_werror_flag=$ac_c_werror_flag
3759 ac_c_werror_flag=yes
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_c_werror_flag=$ac_save_c_werror_flag
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3815 $as_echo "$ac_cv_prog_cc_g" >&6; }
3816 if test "$ac_test_CFLAGS" = set; then
3817 CFLAGS=$ac_save_CFLAGS
3818 elif test $ac_cv_prog_cc_g = yes; then
3819 if test "$GCC" = yes; then
3825 if test "$GCC" = yes; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3833 if ${ac_cv_prog_cc_c89+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 ac_cv_prog_cc_c89=no
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3844 struct buf { int x; };
3845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3846 static char *e (p, i)
3852 static char *f (char * (*g) (char **, int), char **p, ...)
3857 s = g (p, va_arg (v,int));
3862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3863 function prototypes and stuff, but not '\xHH' hex character constants.
3864 These don't provoke an error unfortunately, instead are silently treated
3865 as 'x'. The following induces an error, until -std is added to get
3866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3867 array size at least. It's necessary to write '\x00'==0 to get something
3868 that's true only with -std. */
3869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3872 inside strings and character constants. */
3874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3876 int test (int i, double x);
3877 struct s1 {int (*f) (int a);};
3878 struct s2 {int (*f) (double a);};
3879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3893 CC="$ac_save_CC $ac_arg"
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 ac_cv_prog_cc_c89=$ac_arg
3897 rm -f core conftest.err conftest.$ac_objext
3898 test "x$ac_cv_prog_cc_c89" != "xno" && break
3900 rm -f conftest.$ac_ext
3905 case "x$ac_cv_prog_cc_c89" in
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3913 CC="$CC $ac_cv_prog_cc_c89"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3917 if test "x$ac_cv_prog_cc_c89" != xno; 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
3928 ac_cpp='$CPP $CPPFLAGS'
3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3933 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3934 if ${am_cv_prog_cc_c_o+:} false; then :
3935 $as_echo_n "(cached) " >&6
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 # Make sure it works both with $CC and with simple cc.
3949 # Following AC_PROG_CC_C_O, we do the test twice because some
3950 # compilers refuse to overwrite an existing .o file with -o,
3951 # though they will create one.
3952 am_cv_prog_cc_c_o=yes
3954 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3955 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); } \
3959 && test -f conftest2.$ac_objext; then
3962 am_cv_prog_cc_c_o=no
3966 rm -f core conftest*
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3970 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3971 if test "$am_cv_prog_cc_c_o" != yes; then
3972 # Losing compiler, so override with the script.
3973 # FIXME: It is wrong to rewrite CC.
3974 # But if we don't then we get into trouble of one sort or another.
3975 # A longer-term fix would be to have automake use am__CC in this case,
3976 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3977 CC="$am_aux_dir/compile $CC"
3980 ac_cpp='$CPP $CPPFLAGS'
3981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3985 DEPDIR="${am__leading_dot}deps"
3987 ac_config_commands="$ac_config_commands depfiles"
3990 am_make=${MAKE-make}
3991 cat > confinc << 'END'
3993 @echo this is the am__doit target
3996 # If we don't find an include directive, just comment out the code.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3998 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4002 # First try GNU make style include.
4003 echo "include confinc" > confmf
4004 # Ignore all kinds of additional output from 'make'.
4005 case `$am_make -s -f confmf 2> /dev/null` in #(
4006 *the\ am__doit\ target*)
4012 # Now try BSD make style include.
4013 if test "$am__include" = "#"; then
4014 echo '.include "confinc"' > confmf
4015 case `$am_make -s -f confmf 2> /dev/null` in #(
4016 *the\ am__doit\ target*)
4017 am__include=.include
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4026 $as_echo "$_am_result" >&6; }
4027 rm -f confinc confmf
4029 # Check whether --enable-dependency-tracking was given.
4030 if test "${enable_dependency_tracking+set}" = set; then :
4031 enableval=$enable_dependency_tracking;
4034 if test "x$enable_dependency_tracking" != xno; then
4035 am_depcomp="$ac_aux_dir/depcomp"
4039 if test "x$enable_dependency_tracking" != xno; then
4049 depcc="$CC" am_compiler_list=
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4052 $as_echo_n "checking dependency style of $depcc... " >&6; }
4053 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4057 # We make a subdir and do the tests there. Otherwise we can end up
4058 # making bogus files that we don't know about and never remove. For
4059 # instance it was reported that on HP-UX the gcc test will end up
4060 # making a dummy file named 'D' -- because '-MD' means "put the output
4064 # Copy depcomp to subdir because otherwise we won't find it if we're
4065 # using a relative directory.
4066 cp "$am_depcomp" conftest.dir
4068 # We will build objects and dependencies in a subdirectory because
4069 # it helps to detect inapplicable dependency modes. For instance
4070 # both Tru64's cc and ICC support -MD to output dependencies as a
4071 # side effect of compilation, but ICC will put the dependencies in
4072 # the current directory while Tru64 will put them in the object
4076 am_cv_CC_dependencies_compiler_type=none
4077 if test "$am_compiler_list" = ""; then
4078 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4081 case " $depcc " in #(
4082 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4085 for depmode in $am_compiler_list; do
4086 # Setup a source with many dependencies, because some compilers
4087 # like to wrap large dependency lists on column 80 (with \), and
4088 # we should not choose a depcomp mode which is confused by this.
4090 # We need to recreate these files for each test, as the compiler may
4091 # overwrite some of them when testing with obscure command lines.
4092 # This happens at least with the AIX C compiler.
4094 for i in 1 2 3 4 5 6; do
4095 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4096 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4097 # Solaris 10 /bin/sh.
4098 echo '/* dummy */' > sub/conftst$i.h
4100 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4102 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4103 # mode. It turns out that the SunPro C++ compiler does not properly
4104 # handle '-M -o', and we need to detect this. Also, some Intel
4105 # versions had trouble with output in subdirs.
4106 am__obj=sub/conftest.${OBJEXT-o}
4107 am__minus_obj="-o $am__obj"
4110 # This depmode causes a compiler race in universal mode.
4111 test "$am__universal" = false || continue
4114 # After this tag, mechanisms are not by side-effect, so they'll
4115 # only be used when explicitly requested.
4116 if test "x$enable_dependency_tracking" = xyes; then
4122 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4123 # This compiler won't grok '-c -o', but also, the minuso test has
4124 # not run yet. These depmodes are late enough in the game, and
4125 # so weak that their functioning should not be impacted.
4126 am__obj=conftest.${OBJEXT-o}
4131 if depmode=$depmode \
4132 source=sub/conftest.c object=$am__obj \
4133 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4134 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4135 >/dev/null 2>conftest.err &&
4136 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4137 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4138 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4139 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4140 # icc doesn't choke on unknown options, it will just issue warnings
4141 # or remarks (even with -Werror). So we grep stderr for any message
4142 # that says an option was ignored or not supported.
4143 # When given -MP, icc 7.0 and 7.1 complain thusly:
4144 # icc: Command line warning: ignoring option '-M'; no argument required
4145 # The diagnosis changed in icc 8.0:
4146 # icc: Command line remark: option '-MP' not supported
4147 if (grep 'ignoring option' conftest.err ||
4148 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4149 am_cv_CC_dependencies_compiler_type=$depmode
4158 am_cv_CC_dependencies_compiler_type=none
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4163 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4164 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4167 test "x$enable_dependency_tracking" != xno \
4168 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4170 am__fastdepCC_FALSE='#'
4172 am__fastdepCC_TRUE='#'
4173 am__fastdepCC_FALSE=
4179 # Initialize libtool
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4183 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4188 macro_version='2.4.6'
4189 macro_revision='2.4.6'
4203 ltmain=$ac_aux_dir/ltmain.sh
4205 # Make sure we can run config.sub.
4206 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4207 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4210 $as_echo_n "checking build system type... " >&6; }
4211 if ${ac_cv_build+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 ac_build_alias=$build_alias
4215 test "x$ac_build_alias" = x &&
4216 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4217 test "x$ac_build_alias" = x &&
4218 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4219 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4224 $as_echo "$ac_cv_build" >&6; }
4225 case $ac_cv_build in
4227 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4230 ac_save_IFS=$IFS; IFS='-'
4236 # Remember, the first character of IFS is used to create $*,
4237 # except with old shells:
4240 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4244 $as_echo_n "checking host system type... " >&6; }
4245 if ${ac_cv_host+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 if test "x$host_alias" = x; then
4249 ac_cv_host=$ac_cv_build
4251 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4252 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4257 $as_echo "$ac_cv_host" >&6; }
4260 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4263 ac_save_IFS=$IFS; IFS='-'
4269 # Remember, the first character of IFS is used to create $*,
4270 # except with old shells:
4273 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4276 # Backslashify metacharacters that are still active within
4277 # double-quoted strings.
4278 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4280 # Same as above, but do not quote variable references.
4281 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4283 # Sed substitution to delay expansion of an escaped shell variable in a
4284 # double_quote_subst'ed string.
4285 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4287 # Sed substitution to delay expansion of an escaped single quote.
4288 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4290 # Sed substitution to avoid accidental globbing in evaled expressions
4291 no_glob_subst='s/\*/\\\*/g'
4293 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4294 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4295 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4298 $as_echo_n "checking how to print strings... " >&6; }
4299 # Test print first, because it will be a builtin if present.
4300 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4301 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4303 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4306 # Use this function as a fallback that always works.
4307 func_fallback_echo ()
4309 eval 'cat <<_LTECHO_EOF
4313 ECHO='func_fallback_echo'
4316 # func_echo_all arg...
4317 # Invoke $ECHO with all args, space-separated.
4324 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4325 $as_echo "printf" >&6; } ;;
4326 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4327 $as_echo "print -r" >&6; } ;;
4328 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4329 $as_echo "cat" >&6; } ;;
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4346 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4347 if ${ac_cv_path_SED+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4351 for ac_i in 1 2 3 4 5 6 7; do
4352 ac_script="$ac_script$as_nl$ac_script"
4354 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4355 { ac_script=; unset ac_script;}
4356 if test -z "$SED"; then
4357 ac_path_SED_found=false
4358 # Loop through the user's path and test for each of PROGNAME-LIST
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_prog in sed gsed; do
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4367 as_fn_executable_p "$ac_path_SED" || continue
4368 # Check for GNU ac_path_SED and select it if it is found.
4369 # Check for GNU $ac_path_SED
4370 case `"$ac_path_SED" --version 2>&1` in
4372 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4375 $as_echo_n 0123456789 >"conftest.in"
4378 cat "conftest.in" "conftest.in" >"conftest.tmp"
4379 mv "conftest.tmp" "conftest.in"
4380 cp "conftest.in" "conftest.nl"
4381 $as_echo '' >> "conftest.nl"
4382 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4384 as_fn_arith $ac_count + 1 && ac_count=$as_val
4385 if test $ac_count -gt ${ac_path_SED_max-0}; then
4386 # Best one so far, save it but keep looking for a better one
4387 ac_cv_path_SED="$ac_path_SED"
4388 ac_path_SED_max=$ac_count
4390 # 10*(2^10) chars as input seems more than enough
4391 test $ac_count -gt 10 && break
4393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4396 $ac_path_SED_found && break 3
4401 if test -z "$ac_cv_path_SED"; then
4402 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4410 $as_echo "$ac_cv_path_SED" >&6; }
4411 SED="$ac_cv_path_SED"
4414 test -z "$SED" && SED=sed
4415 Xsed="$SED -e 1s/^X//"
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4428 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4429 if ${ac_cv_path_GREP+:} false; then :
4430 $as_echo_n "(cached) " >&6
4432 if test -z "$GREP"; then
4433 ac_path_GREP_found=false
4434 # Loop through the user's path and test for each of PROGNAME-LIST
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4439 test -z "$as_dir" && as_dir=.
4440 for ac_prog in grep ggrep; do
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4443 as_fn_executable_p "$ac_path_GREP" || continue
4444 # Check for GNU ac_path_GREP and select it if it is found.
4445 # Check for GNU $ac_path_GREP
4446 case `"$ac_path_GREP" --version 2>&1` in
4448 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4451 $as_echo_n 0123456789 >"conftest.in"
4454 cat "conftest.in" "conftest.in" >"conftest.tmp"
4455 mv "conftest.tmp" "conftest.in"
4456 cp "conftest.in" "conftest.nl"
4457 $as_echo 'GREP' >> "conftest.nl"
4458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4460 as_fn_arith $ac_count + 1 && ac_count=$as_val
4461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4462 # Best one so far, save it but keep looking for a better one
4463 ac_cv_path_GREP="$ac_path_GREP"
4464 ac_path_GREP_max=$ac_count
4466 # 10*(2^10) chars as input seems more than enough
4467 test $ac_count -gt 10 && break
4469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4472 $ac_path_GREP_found && break 3
4477 if test -z "$ac_cv_path_GREP"; then
4478 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4481 ac_cv_path_GREP=$GREP
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4486 $as_echo "$ac_cv_path_GREP" >&6; }
4487 GREP="$ac_cv_path_GREP"
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4491 $as_echo_n "checking for egrep... " >&6; }
4492 if ${ac_cv_path_EGREP+:} false; then :
4493 $as_echo_n "(cached) " >&6
4495 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4496 then ac_cv_path_EGREP="$GREP -E"
4498 if test -z "$EGREP"; then
4499 ac_path_EGREP_found=false
4500 # Loop through the user's path and test for each of PROGNAME-LIST
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4505 test -z "$as_dir" && as_dir=.
4506 for ac_prog in egrep; do
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4509 as_fn_executable_p "$ac_path_EGREP" || continue
4510 # Check for GNU ac_path_EGREP and select it if it is found.
4511 # Check for GNU $ac_path_EGREP
4512 case `"$ac_path_EGREP" --version 2>&1` in
4514 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4517 $as_echo_n 0123456789 >"conftest.in"
4520 cat "conftest.in" "conftest.in" >"conftest.tmp"
4521 mv "conftest.tmp" "conftest.in"
4522 cp "conftest.in" "conftest.nl"
4523 $as_echo 'EGREP' >> "conftest.nl"
4524 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4526 as_fn_arith $ac_count + 1 && ac_count=$as_val
4527 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4528 # Best one so far, save it but keep looking for a better one
4529 ac_cv_path_EGREP="$ac_path_EGREP"
4530 ac_path_EGREP_max=$ac_count
4532 # 10*(2^10) chars as input seems more than enough
4533 test $ac_count -gt 10 && break
4535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4538 $ac_path_EGREP_found && break 3
4543 if test -z "$ac_cv_path_EGREP"; then
4544 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4547 ac_cv_path_EGREP=$EGREP
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4553 $as_echo "$ac_cv_path_EGREP" >&6; }
4554 EGREP="$ac_cv_path_EGREP"
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4558 $as_echo_n "checking for fgrep... " >&6; }
4559 if ${ac_cv_path_FGREP+:} false; then :
4560 $as_echo_n "(cached) " >&6
4562 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4563 then ac_cv_path_FGREP="$GREP -F"
4565 if test -z "$FGREP"; then
4566 ac_path_FGREP_found=false
4567 # Loop through the user's path and test for each of PROGNAME-LIST
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4572 test -z "$as_dir" && as_dir=.
4573 for ac_prog in fgrep; do
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4576 as_fn_executable_p "$ac_path_FGREP" || continue
4577 # Check for GNU ac_path_FGREP and select it if it is found.
4578 # Check for GNU $ac_path_FGREP
4579 case `"$ac_path_FGREP" --version 2>&1` in
4581 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4584 $as_echo_n 0123456789 >"conftest.in"
4587 cat "conftest.in" "conftest.in" >"conftest.tmp"
4588 mv "conftest.tmp" "conftest.in"
4589 cp "conftest.in" "conftest.nl"
4590 $as_echo 'FGREP' >> "conftest.nl"
4591 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593 as_fn_arith $ac_count + 1 && ac_count=$as_val
4594 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4595 # Best one so far, save it but keep looking for a better one
4596 ac_cv_path_FGREP="$ac_path_FGREP"
4597 ac_path_FGREP_max=$ac_count
4599 # 10*(2^10) chars as input seems more than enough
4600 test $ac_count -gt 10 && break
4602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4605 $ac_path_FGREP_found && break 3
4610 if test -z "$ac_cv_path_FGREP"; then
4611 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4614 ac_cv_path_FGREP=$FGREP
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4620 $as_echo "$ac_cv_path_FGREP" >&6; }
4621 FGREP="$ac_cv_path_FGREP"
4624 test -z "$GREP" && GREP=grep
4644 # Check whether --with-gnu-ld was given.
4645 if test "${with_gnu_ld+set}" = set; then :
4646 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4652 if test yes = "$GCC"; then
4653 # Check if gcc -print-prog-name=ld gives a path.
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4655 $as_echo_n "checking for ld used by $CC... " >&6; }
4658 # gcc leaves a trailing carriage return, which upsets mingw
4659 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4661 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4664 # Accept absolute paths.
4666 re_direlt='/[^/][^/]*/\.\./'
4667 # Canonicalize the pathname of ld
4668 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4669 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4670 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4672 test -z "$LD" && LD=$ac_prog
4675 # If it fails, then pretend we aren't using GCC.
4679 # If it is relative, then search for the first ld in PATH.
4683 elif test yes = "$with_gnu_ld"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4685 $as_echo_n "checking for GNU ld... " >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4688 $as_echo_n "checking for non-GNU ld... " >&6; }
4690 if ${lt_cv_path_LD+:} false; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -z "$LD"; then
4694 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4695 for ac_dir in $PATH; do
4697 test -z "$ac_dir" && ac_dir=.
4698 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4699 lt_cv_path_LD=$ac_dir/$ac_prog
4700 # Check to see if the program is GNU ld. I'd rather use --version,
4701 # but apparently some variants of GNU ld only accept -v.
4702 # Break only if it was the GNU/non-GNU ld that we prefer.
4703 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4704 *GNU* | *'with BFD'*)
4705 test no != "$with_gnu_ld" && break
4708 test yes != "$with_gnu_ld" && break
4715 lt_cv_path_LD=$LD # Let the user override the test with a path.
4720 if test -n "$LD"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4722 $as_echo "$LD" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4727 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4729 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4730 if ${lt_cv_prog_gnu_ld+:} false; then :
4731 $as_echo_n "(cached) " >&6
4733 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4734 case `$LD -v 2>&1 </dev/null` in
4735 *GNU* | *'with BFD'*)
4736 lt_cv_prog_gnu_ld=yes
4739 lt_cv_prog_gnu_ld=no
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4744 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4745 with_gnu_ld=$lt_cv_prog_gnu_ld
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4756 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4757 if ${lt_cv_path_NM+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$NM"; then
4761 # Let the user override the test.
4764 lt_nm_to_check=${ac_tool_prefix}nm
4765 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4766 lt_nm_to_check="$lt_nm_to_check nm"
4768 for lt_tmp_nm in $lt_nm_to_check; do
4769 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4770 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4772 test -z "$ac_dir" && ac_dir=.
4773 tmp_nm=$ac_dir/$lt_tmp_nm
4774 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4775 # Check to see if the nm accepts a BSD-compat flag.
4776 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4777 # nm: unknown option "B" ignored
4778 # Tru64's nm complains that /dev/null is an invalid object file
4779 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4781 mingw*) lt_bad_file=conftest.nm/nofile ;;
4782 *) lt_bad_file=/dev/null ;;
4784 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4785 *$lt_bad_file* | *'Invalid file or object type'*)
4786 lt_cv_path_NM="$tmp_nm -B"
4790 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4792 lt_cv_path_NM="$tmp_nm -p"
4796 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4797 continue # so that we can try to find one that supports BSD flags
4806 : ${lt_cv_path_NM=no}
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4810 $as_echo "$lt_cv_path_NM" >&6; }
4811 if test no != "$lt_cv_path_NM"; then
4814 # Didn't find any BSD compatible name lister, look for dumpbin.
4815 if test -n "$DUMPBIN"; then :
4816 # Let the user override the test.
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog in dumpbin "link -dump"
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_DUMPBIN+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$DUMPBIN"; then
4829 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 DUMPBIN=$ac_cv_prog_DUMPBIN
4849 if test -n "$DUMPBIN"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4851 $as_echo "$DUMPBIN" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4858 test -n "$DUMPBIN" && break
4861 if test -z "$DUMPBIN"; then
4862 ac_ct_DUMPBIN=$DUMPBIN
4863 for ac_prog in dumpbin "link -dump"
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_DUMPBIN"; then
4873 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4893 if test -n "$ac_ct_DUMPBIN"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4895 $as_echo "$ac_ct_DUMPBIN" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$ac_ct_DUMPBIN" && break
4905 if test "x$ac_ct_DUMPBIN" = x; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4914 DUMPBIN=$ac_ct_DUMPBIN
4918 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4920 DUMPBIN="$DUMPBIN -symbols -headers"
4928 if test : != "$DUMPBIN"; then
4932 test -z "$NM" && NM=nm
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4940 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4941 if ${lt_cv_nm_interface+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 lt_cv_nm_interface="BSD nm"
4945 echo "int some_variable = 0;" > conftest.$ac_ext
4946 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4947 (eval "$ac_compile" 2>conftest.err)
4948 cat conftest.err >&5
4949 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4950 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4951 cat conftest.err >&5
4952 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4953 cat conftest.out >&5
4954 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4955 lt_cv_nm_interface="MS dumpbin"
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4960 $as_echo "$lt_cv_nm_interface" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4963 $as_echo_n "checking whether ln -s works... " >&6; }
4965 if test "$LN_S" = "ln -s"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967 $as_echo "yes" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4970 $as_echo "no, using $LN_S" >&6; }
4973 # find the maximum length of command line arguments
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4975 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4976 if ${lt_cv_sys_max_cmd_len+:} false; then :
4977 $as_echo_n "(cached) " >&6
4984 # On DJGPP, this test can blow up pretty badly due to problems in libc
4985 # (any single argument exceeding 2000 bytes causes a buffer overrun
4986 # during glob expansion). Even if it were fixed, the result of this
4987 # check would be larger than it should be.
4988 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4992 # Under GNU Hurd, this test is not required because there is
4993 # no limit to the length of command line arguments.
4994 # Libtool will interpret -1 as no limit whatsoever
4995 lt_cv_sys_max_cmd_len=-1;
4998 cygwin* | mingw* | cegcc*)
4999 # On Win9x/ME, this test blows up -- it succeeds, but takes
5000 # about 5 minutes as the teststring grows exponentially.
5001 # Worse, since 9x/ME are not pre-emptively multitasking,
5002 # you end up with a "frozen" computer, even though with patience
5003 # the test eventually succeeds (with a max line length of 256k).
5004 # Instead, let's just punt: use the minimum linelength reported by
5005 # all of the supported platforms: 8192 (on NT/2K/XP).
5006 lt_cv_sys_max_cmd_len=8192;
5010 # On MiNT this can take a long time and run out of memory.
5011 lt_cv_sys_max_cmd_len=8192;
5015 # On AmigaOS with pdksh, this test takes hours, literally.
5016 # So we just punt and use a minimum line length of 8192.
5017 lt_cv_sys_max_cmd_len=8192;
5020 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5021 # This has been around since 386BSD, at least. Likely further.
5022 if test -x /sbin/sysctl; then
5023 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5024 elif test -x /usr/sbin/sysctl; then
5025 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5027 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5029 # And add a safety zone
5030 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5031 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5035 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5036 lt_cv_sys_max_cmd_len=196608
5040 # The test takes a long time on OS/2.
5041 lt_cv_sys_max_cmd_len=8192
5045 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5046 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5047 # nice to cause kernel panics so lets avoid the loop below.
5048 # First set a reasonable default.
5049 lt_cv_sys_max_cmd_len=16384
5051 if test -x /sbin/sysconfig; then
5052 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5053 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5058 lt_cv_sys_max_cmd_len=102400
5060 sysv5* | sco5v6* | sysv4.2uw2*)
5061 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5062 if test -n "$kargmax"; then
5063 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5065 lt_cv_sys_max_cmd_len=32768
5069 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5070 if test -n "$lt_cv_sys_max_cmd_len" && \
5071 test undefined != "$lt_cv_sys_max_cmd_len"; then
5072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5075 # Make teststring a little bigger before we do anything with it.
5076 # a 1K string should be a reasonable start.
5077 for i in 1 2 3 4 5 6 7 8; do
5078 teststring=$teststring$teststring
5080 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5081 # If test is not a shell built-in, we'll probably end up computing a
5082 # maximum length that is only half of the actual maximum length, but
5084 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5085 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5086 test 17 != "$i" # 1/2 MB should be enough
5089 teststring=$teststring$teststring
5091 # Only check the string length outside the loop.
5092 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5094 # Add a significant safety factor because C++ compilers can tack on
5095 # massive amounts of additional arguments before passing them to the
5096 # linker. It appears as though 1/2 is a usable value.
5097 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5104 if test -n "$lt_cv_sys_max_cmd_len"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5106 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5109 $as_echo "none" >&6; }
5111 max_cmd_len=$lt_cv_sys_max_cmd_len
5122 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5132 # test EBCDIC or ASCII
5133 case `echo X|tr X '\101'` in
5134 A) # ASCII based system
5135 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5136 lt_SP2NL='tr \040 \012'
5137 lt_NL2SP='tr \015\012 \040\040'
5139 *) # EBCDIC based system
5140 lt_SP2NL='tr \100 \n'
5141 lt_NL2SP='tr \r\n \100\100'
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5154 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5155 if ${lt_cv_to_host_file_cmd+:} false; then :
5156 $as_echo_n "(cached) " >&6
5161 *-*-mingw* ) # actually msys
5162 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5165 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5167 * ) # otherwise, assume *nix
5168 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5174 *-*-mingw* ) # actually msys
5175 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5178 lt_cv_to_host_file_cmd=func_convert_file_noop
5180 * ) # otherwise, assume *nix
5181 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5185 * ) # unhandled hosts (and "normal" native builds)
5186 lt_cv_to_host_file_cmd=func_convert_file_noop
5192 to_host_file_cmd=$lt_cv_to_host_file_cmd
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5194 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5201 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5202 if ${lt_cv_to_tool_file_cmd+:} false; then :
5203 $as_echo_n "(cached) " >&6
5205 #assume ordinary cross tools, or native build.
5206 lt_cv_to_tool_file_cmd=func_convert_file_noop
5210 *-*-mingw* ) # actually msys
5211 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5219 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5221 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5228 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5229 if ${lt_cv_ld_reload_flag+:} false; then :
5230 $as_echo_n "(cached) " >&6
5232 lt_cv_ld_reload_flag='-r'
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5235 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5236 reload_flag=$lt_cv_ld_reload_flag
5237 case $reload_flag in
5239 *) reload_flag=" $reload_flag" ;;
5241 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5243 cygwin* | mingw* | pw32* | cegcc*)
5244 if test yes != "$GCC"; then
5249 if test yes = "$GCC"; then
5250 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5252 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5265 if test -n "$ac_tool_prefix"; then
5266 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5267 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_OBJDUMP+:} false; then :
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$OBJDUMP"; then
5274 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 OBJDUMP=$ac_cv_prog_OBJDUMP
5294 if test -n "$OBJDUMP"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5296 $as_echo "$OBJDUMP" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5304 if test -z "$ac_cv_prog_OBJDUMP"; then
5305 ac_ct_OBJDUMP=$OBJDUMP
5306 # Extract the first word of "objdump", so it can be a program name with args.
5307 set dummy objdump; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5311 $as_echo_n "(cached) " >&6
5313 if test -n "$ac_ct_OBJDUMP"; then
5314 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5334 if test -n "$ac_ct_OBJDUMP"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5336 $as_echo "$ac_ct_OBJDUMP" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5342 if test "x$ac_ct_OBJDUMP" = x; then
5345 case $cross_compiling:$ac_tool_warned in
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5349 ac_tool_warned=yes ;;
5351 OBJDUMP=$ac_ct_OBJDUMP
5354 OBJDUMP="$ac_cv_prog_OBJDUMP"
5357 test -z "$OBJDUMP" && OBJDUMP=objdump
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5365 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5366 if ${lt_cv_deplibs_check_method+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 lt_cv_file_magic_cmd='$MAGIC_CMD'
5370 lt_cv_file_magic_test_file=
5371 lt_cv_deplibs_check_method='unknown'
5372 # Need to set the preceding variable on all platforms that support
5373 # interlibrary dependencies.
5374 # 'none' -- dependencies not supported.
5375 # 'unknown' -- same as none, but documents that we really don't know.
5376 # 'pass_all' -- all dependencies passed with no checks.
5377 # 'test_compile' -- check by making test program.
5378 # 'file_magic [[regex]]' -- check by looking for files in library path
5379 # that responds to the $file_magic_cmd with a given extended regex.
5380 # If you have 'file' or equivalent on your system and you're not sure
5381 # whether 'pass_all' will *always* work, you probably want this one.
5385 lt_cv_deplibs_check_method=pass_all
5389 lt_cv_deplibs_check_method=pass_all
5393 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5394 lt_cv_file_magic_cmd='/usr/bin/file -L'
5395 lt_cv_file_magic_test_file=/shlib/libc.so
5399 # func_win32_libid is a shell function defined in ltmain.sh
5400 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5401 lt_cv_file_magic_cmd='func_win32_libid'
5405 # Base MSYS/MinGW do not provide the 'file' command needed by
5406 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5407 # unless we find 'file', for example because we are cross-compiling.
5408 if ( file / ) >/dev/null 2>&1; then
5409 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5410 lt_cv_file_magic_cmd='func_win32_libid'
5412 # Keep this pattern in sync with the one in func_win32_libid.
5413 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5414 lt_cv_file_magic_cmd='$OBJDUMP -f'
5419 # use the weaker test based on 'objdump'. See mingw*.
5420 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5421 lt_cv_file_magic_cmd='$OBJDUMP -f'
5424 darwin* | rhapsody*)
5425 lt_cv_deplibs_check_method=pass_all
5428 freebsd* | dragonfly*)
5429 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5432 # Not sure whether the presence of OpenBSD here was a mistake.
5433 # Let's accept both of them until this is cleared up.
5434 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5435 lt_cv_file_magic_cmd=/usr/bin/file
5436 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5440 lt_cv_deplibs_check_method=pass_all
5445 lt_cv_deplibs_check_method=pass_all
5448 hpux10.20* | hpux11*)
5449 lt_cv_file_magic_cmd=/usr/bin/file
5452 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5453 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5456 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]'
5457 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5460 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5461 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5467 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5471 irix5* | irix6* | nonstopux*)
5473 *-32|*"-32 ") libmagic=32-bit;;
5474 *-n32|*"-n32 ") libmagic=N32;;
5475 *-64|*"-64 ") libmagic=64-bit;;
5476 *) libmagic=never-match;;
5478 lt_cv_deplibs_check_method=pass_all
5481 # This must be glibc/ELF.
5482 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5483 lt_cv_deplibs_check_method=pass_all
5486 netbsd* | netbsdelf*-gnu)
5487 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5488 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5495 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5496 lt_cv_file_magic_cmd=/usr/bin/file
5497 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5501 lt_cv_deplibs_check_method=pass_all
5505 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5506 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5508 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5512 osf3* | osf4* | osf5*)
5513 lt_cv_deplibs_check_method=pass_all
5517 lt_cv_deplibs_check_method=pass_all
5521 lt_cv_deplibs_check_method=pass_all
5524 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5525 lt_cv_deplibs_check_method=pass_all
5529 case $host_vendor in
5531 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]'
5532 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5535 lt_cv_deplibs_check_method=pass_all
5538 lt_cv_file_magic_cmd='/bin/file'
5539 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5542 lt_cv_file_magic_cmd='/bin/file'
5543 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5544 lt_cv_file_magic_test_file=/lib/libc.so
5547 lt_cv_deplibs_check_method=pass_all
5550 lt_cv_deplibs_check_method=pass_all
5556 lt_cv_deplibs_check_method=pass_all
5559 lt_cv_deplibs_check_method=pass_all
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5565 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5569 if test "$build" = "$host"; then
5572 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5575 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5581 file_magic_cmd=$lt_cv_file_magic_cmd
5582 deplibs_check_method=$lt_cv_deplibs_check_method
5583 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_DLLTOOL+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$DLLTOOL"; then
5615 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 DLLTOOL=$ac_cv_prog_DLLTOOL
5635 if test -n "$DLLTOOL"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5637 $as_echo "$DLLTOOL" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_DLLTOOL"; then
5646 ac_ct_DLLTOOL=$DLLTOOL
5647 # Extract the first word of "dlltool", so it can be a program name with args.
5648 set dummy dlltool; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_DLLTOOL"; then
5655 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5675 if test -n "$ac_ct_DLLTOOL"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5677 $as_echo "$ac_ct_DLLTOOL" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_DLLTOOL" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5692 DLLTOOL=$ac_ct_DLLTOOL
5695 DLLTOOL="$ac_cv_prog_DLLTOOL"
5698 test -z "$DLLTOOL" && DLLTOOL=dlltool
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5707 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5708 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 lt_cv_sharedlib_from_linklib_cmd='unknown'
5714 cygwin* | mingw* | pw32* | cegcc*)
5715 # two different shell functions defined in ltmain.sh;
5716 # decide which one to use based on capabilities of $DLLTOOL
5717 case `$DLLTOOL --help 2>&1` in
5718 *--identify-strict*)
5719 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5722 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5727 # fallback: assume linklib IS sharedlib
5728 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5734 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5735 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5736 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5745 if test -n "$ac_tool_prefix"; then
5748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_AR+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$AR"; then
5756 ac_cv_prog_AR="$AR" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 if test -n "$AR"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5778 $as_echo "$AR" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$AR" && break
5788 if test -z "$AR"; then
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$ac_ct_AR"; then
5800 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_AR="$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5820 if test -n "$ac_ct_AR"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5822 $as_echo "$ac_ct_AR" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5829 test -n "$ac_ct_AR" && break
5832 if test "x$ac_ct_AR" = x; then
5835 case $cross_compiling:$ac_tool_warned in
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5839 ac_tool_warned=yes ;;
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5859 $as_echo_n "checking for archiver @FILE support... " >&6; }
5860 if ${lt_cv_ar_at_file+:} false; then :
5861 $as_echo_n "(cached) " >&6
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5875 if ac_fn_c_try_compile "$LINENO"; then :
5876 echo conftest.$ac_objext > conftest.lst
5877 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5879 (eval $lt_ar_try) 2>&5
5881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882 test $ac_status = 0; }
5883 if test 0 -eq "$ac_status"; then
5884 # Ensure the archiver fails upon bogus file names.
5885 rm -f conftest.$ac_objext libconftest.a
5886 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5887 (eval $lt_ar_try) 2>&5
5889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5890 test $ac_status = 0; }
5891 if test 0 -ne "$ac_status"; then
5895 rm -f conftest.* libconftest.a
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5902 $as_echo "$lt_cv_ar_at_file" >&6; }
5904 if test no = "$lt_cv_ar_at_file"; then
5907 archiver_list_spec=$lt_cv_ar_at_file
5916 if test -n "$ac_tool_prefix"; then
5917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5918 set dummy ${ac_tool_prefix}strip; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_STRIP+:} false; then :
5922 $as_echo_n "(cached) " >&6
5924 if test -n "$STRIP"; then
5925 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 STRIP=$ac_cv_prog_STRIP
5945 if test -n "$STRIP"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5947 $as_echo "$STRIP" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5955 if test -z "$ac_cv_prog_STRIP"; then
5957 # Extract the first word of "strip", so it can be a program name with args.
5958 set dummy strip; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5962 $as_echo_n "(cached) " >&6
5964 if test -n "$ac_ct_STRIP"; then
5965 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_ac_ct_STRIP="strip"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5985 if test -n "$ac_ct_STRIP"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5987 $as_echo "$ac_ct_STRIP" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5993 if test "x$ac_ct_STRIP" = x; then
5996 case $cross_compiling:$ac_tool_warned in
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6005 STRIP="$ac_cv_prog_STRIP"
6008 test -z "$STRIP" && STRIP=:
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if ${ac_cv_prog_RANLIB+:} false; then :
6021 $as_echo_n "(cached) " >&6
6023 if test -n "$RANLIB"; then
6024 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 RANLIB=$ac_cv_prog_RANLIB
6044 if test -n "$RANLIB"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6046 $as_echo "$RANLIB" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6054 if test -z "$ac_cv_prog_RANLIB"; then
6055 ac_ct_RANLIB=$RANLIB
6056 # Extract the first word of "ranlib", so it can be a program name with args.
6057 set dummy ranlib; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$ac_ct_RANLIB"; then
6064 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_ac_ct_RANLIB="ranlib"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6084 if test -n "$ac_ct_RANLIB"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6086 $as_echo "$ac_ct_RANLIB" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6092 if test "x$ac_ct_RANLIB" = x; then
6095 case $cross_compiling:$ac_tool_warned in
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099 ac_tool_warned=yes ;;
6101 RANLIB=$ac_ct_RANLIB
6104 RANLIB="$ac_cv_prog_RANLIB"
6107 test -z "$RANLIB" && RANLIB=:
6114 # Determine commands to create old-style static archives.
6115 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6116 old_postinstall_cmds='chmod 644 $oldlib'
6117 old_postuninstall_cmds=
6119 if test -n "$RANLIB"; then
6122 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6125 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6128 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6133 lock_old_archive_extraction=yes ;;
6135 lock_old_archive_extraction=no ;;
6176 # If no C compiler was specified, use CC.
6179 # If no C compiler flags were specified, use CFLAGS.
6180 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6182 # Allow CC to be a program name with arguments.
6186 # Check for command to grab the raw symbol name followed by C symbol from nm.
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6188 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6189 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6190 $as_echo_n "(cached) " >&6
6193 # These are sane defaults that work on at least a few old systems.
6194 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6196 # Character class describing NM global symbol codes.
6197 symcode='[BCDEGRST]'
6199 # Regexp to match symbols that can be accessed directly from C.
6200 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6202 # Define system-specific variables.
6207 cygwin* | mingw* | pw32* | cegcc*)
6208 symcode='[ABCDGISTW]'
6211 if test ia64 = "$host_cpu"; then
6212 symcode='[ABCDEGRST]'
6216 symcode='[BCDEGRST]'
6219 symcode='[BCDEGQRST]'
6230 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6238 # If we're using GNU nm, then use its standard symbol codes.
6239 case `$NM -V 2>&1` in
6240 *GNU* | *'with BFD'*)
6241 symcode='[ABCDGIRSTW]' ;;
6244 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6245 # Gets list of data symbols to import.
6246 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6247 # Adjust the below global symbol transforms to fixup imported variables.
6248 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6249 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6250 lt_c_name_lib_hook="\
6251 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6252 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6254 # Disable hooks by default.
6255 lt_cv_sys_global_symbol_to_import=
6261 # Transform an extracted symbol line into a proper C declaration.
6262 # Some systems (esp. on ia64) link data and code symbols differently,
6263 # so use this general approach.
6264 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6266 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6267 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6269 # Transform an extracted symbol line into symbol name and symbol address
6270 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6272 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6273 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6275 # Transform an extracted symbol line into symbol name with lib prefix and
6277 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6278 $lt_c_name_lib_hook\
6279 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6280 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6281 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6283 # Handle CRLF in mingw tool chain
6287 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6291 # Try without a prefix underscore, then with it.
6292 for ac_symprfx in "" "_"; do
6294 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6295 symxfrm="\\1 $ac_symprfx\\2 \\2"
6297 # Write the raw and C identifiers.
6298 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6299 # Fake it for dumpbin and say T for any non-static function,
6300 # D for any global variable and I for any imported variable.
6301 # Also find C++ and __fastcall symbols from MSVC++,
6302 # which start with @ or ?.
6303 lt_cv_sys_global_symbol_pipe="$AWK '"\
6304 " {last_section=section; section=\$ 3};"\
6305 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6306 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6307 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6308 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6309 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6310 " \$ 0!~/External *\|/{next};"\
6311 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6312 " {if(hide[section]) next};"\
6313 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6314 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6315 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6316 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6317 " ' prfx=^$ac_symprfx"
6319 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6321 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6323 # Check to see that the pipe works correctly.
6327 cat > conftest.$ac_ext <<_LT_EOF
6332 void nm_test_func(void);
6333 void nm_test_func(void){}
6337 int main(){nm_test_var='a';nm_test_func();return(0);}
6340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6341 (eval $ac_compile) 2>&5
6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6344 test $ac_status = 0; }; then
6345 # Now try to grab the symbols.
6347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6348 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6351 test $ac_status = 0; } && test -s "$nlist"; then
6352 # Try sorting and uniquifying the output.
6353 if sort "$nlist" | uniq > "$nlist"T; then
6354 mv -f "$nlist"T "$nlist"
6359 # Make sure that we snagged all the symbols we need.
6360 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6361 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6362 cat <<_LT_EOF > conftest.$ac_ext
6363 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6364 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6365 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6366 relocations are performed -- see ld's documentation on pseudo-relocs. */
6367 # define LT_DLSYM_CONST
6368 #elif defined __osf__
6369 /* This system does not cope well with relocations in const data. */
6370 # define LT_DLSYM_CONST
6372 # define LT_DLSYM_CONST const
6380 # Now generate the symbol file.
6381 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6383 cat <<_LT_EOF >> conftest.$ac_ext
6385 /* The mapping between symbol names and symbols. */
6386 LT_DLSYM_CONST struct {
6390 lt__PROGRAM__LTX_preloaded_symbols[] =
6392 { "@PROGRAM@", (void *) 0 },
6394 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6395 cat <<\_LT_EOF >> conftest.$ac_ext
6399 /* This works around a problem in FreeBSD linker */
6400 #ifdef FREEBSD_WORKAROUND
6401 static const void *lt_preloaded_setup() {
6402 return lt__PROGRAM__LTX_preloaded_symbols;
6410 # Now try linking the two files.
6411 mv conftest.$ac_objext conftstm.$ac_objext
6412 lt_globsym_save_LIBS=$LIBS
6413 lt_globsym_save_CFLAGS=$CFLAGS
6414 LIBS=conftstm.$ac_objext
6415 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6417 (eval $ac_link) 2>&5
6419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6420 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6423 LIBS=$lt_globsym_save_LIBS
6424 CFLAGS=$lt_globsym_save_CFLAGS
6426 echo "cannot find nm_test_func in $nlist" >&5
6429 echo "cannot find nm_test_var in $nlist" >&5
6432 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6435 echo "$progname: failed program was:" >&5
6436 cat conftest.$ac_ext >&5
6438 rm -rf conftest* conftst*
6440 # Do not use the global_symbol_pipe unless it works.
6441 if test yes = "$pipe_works"; then
6444 lt_cv_sys_global_symbol_pipe=
6450 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6451 lt_cv_sys_global_symbol_to_cdecl=
6453 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6455 $as_echo "failed" >&6; }
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6458 $as_echo "ok" >&6; }
6461 # Response file support.
6462 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6463 nm_file_list_spec='@'
6464 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6465 nm_file_list_spec='@'
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6505 $as_echo_n "checking for sysroot... " >&6; }
6507 # Check whether --with-sysroot was given.
6508 if test "${with_sysroot+set}" = set; then :
6509 withval=$with_sysroot;
6516 case $with_sysroot in #(
6518 if test yes = "$GCC"; then
6519 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6523 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6529 $as_echo "$with_sysroot" >&6; }
6530 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6535 $as_echo "${lt_sysroot:-no}" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6542 $as_echo_n "checking for a working dd... " >&6; }
6543 if ${ac_cv_path_lt_DD+:} false; then :
6544 $as_echo_n "(cached) " >&6
6546 printf 0123456789abcdef0123456789abcdef >conftest.i
6547 cat conftest.i conftest.i >conftest2.i
6549 if test -z "$lt_DD"; then
6550 ac_path_lt_DD_found=false
6551 # Loop through the user's path and test for each of PROGNAME-LIST
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir=.
6557 for ac_prog in dd; do
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6560 as_fn_executable_p "$ac_path_lt_DD" || continue
6561 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6562 cmp -s conftest.i conftest.out \
6563 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6565 $ac_path_lt_DD_found && break 3
6570 if test -z "$ac_cv_path_lt_DD"; then
6574 ac_cv_path_lt_DD=$lt_DD
6577 rm -f conftest.i conftest2.i conftest.out
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6580 $as_echo "$ac_cv_path_lt_DD" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6584 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6585 if ${lt_cv_truncate_bin+:} false; then :
6586 $as_echo_n "(cached) " >&6
6588 printf 0123456789abcdef0123456789abcdef >conftest.i
6589 cat conftest.i conftest.i >conftest2.i
6591 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6592 cmp -s conftest.i conftest.out \
6593 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6595 rm -f conftest.i conftest2.i conftest.out
6596 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6599 $as_echo "$lt_cv_truncate_bin" >&6; }
6607 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6610 for cc_temp in $*""; do
6612 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6613 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6618 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6621 # Check whether --enable-libtool-lock was given.
6622 if test "${enable_libtool_lock+set}" = set; then :
6623 enableval=$enable_libtool_lock;
6626 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6628 # Some flags need to be propagated to the compiler or linker for good
6632 # Find out what ABI is being produced by ac_compile, and set mode
6633 # options accordingly.
6634 echo 'int i;' > conftest.$ac_ext
6635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6636 (eval $ac_compile) 2>&5
6638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6639 test $ac_status = 0; }; then
6640 case `/usr/bin/file conftest.$ac_objext` in
6652 # Find out what ABI is being produced by ac_compile, and set linker
6653 # options accordingly.
6654 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6656 (eval $ac_compile) 2>&5
6658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6659 test $ac_status = 0; }; then
6660 if test yes = "$lt_cv_prog_gnu_ld"; then
6661 case `/usr/bin/file conftest.$ac_objext` in
6663 LD="${LD-ld} -melf32bsmip"
6666 LD="${LD-ld} -melf32bmipn32"
6669 LD="${LD-ld} -melf64bmip"
6673 case `/usr/bin/file conftest.$ac_objext` in
6690 # Find out what ABI is being produced by ac_compile, and set linker
6691 # options accordingly.
6692 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694 (eval $ac_compile) 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6697 test $ac_status = 0; }; then
6699 case `/usr/bin/file conftest.$ac_objext` in
6707 case `/usr/bin/file conftest.$ac_objext` in
6709 emul="${emul}btsmip"
6712 emul="${emul}ltsmip"
6715 case `/usr/bin/file conftest.$ac_objext` in
6720 LD="${LD-ld} -m $emul"
6725 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6726 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6727 # Find out what ABI is being produced by ac_compile, and set linker
6728 # options accordingly. Note that the listed cases only cover the
6729 # situations where additional linker options are needed (such as when
6730 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6731 # vice versa); the common cases where no linker options are needed do
6732 # not appear in the list.
6733 echo 'int i;' > conftest.$ac_ext
6734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6735 (eval $ac_compile) 2>&5
6737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6738 test $ac_status = 0; }; then
6739 case `/usr/bin/file conftest.o` in
6742 x86_64-*kfreebsd*-gnu)
6743 LD="${LD-ld} -m elf_i386_fbsd"
6746 case `/usr/bin/file conftest.o` in
6748 LD="${LD-ld} -m elf32_x86_64"
6751 LD="${LD-ld} -m elf_i386"
6755 powerpc64le-*linux*)
6756 LD="${LD-ld} -m elf32lppclinux"
6759 LD="${LD-ld} -m elf32ppclinux"
6762 LD="${LD-ld} -m elf_s390"
6765 LD="${LD-ld} -m elf32_sparc"
6771 x86_64-*kfreebsd*-gnu)
6772 LD="${LD-ld} -m elf_x86_64_fbsd"
6775 LD="${LD-ld} -m elf_x86_64"
6778 LD="${LD-ld} -m elf64lppc"
6781 LD="${LD-ld} -m elf64ppc"
6783 s390*-*linux*|s390*-*tpf*)
6784 LD="${LD-ld} -m elf64_s390"
6787 LD="${LD-ld} -m elf64_sparc"
6797 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6799 CFLAGS="$CFLAGS -belf"
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6801 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6802 if ${lt_cv_cc_needs_belf+:} false; then :
6803 $as_echo_n "(cached) " >&6
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6812 /* end confdefs.h. */
6822 if ac_fn_c_try_link "$LINENO"; then :
6823 lt_cv_cc_needs_belf=yes
6825 lt_cv_cc_needs_belf=no
6827 rm -f core conftest.err conftest.$ac_objext \
6828 conftest$ac_exeext conftest.$ac_ext
6830 ac_cpp='$CPP $CPPFLAGS'
6831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6837 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6838 if test yes != "$lt_cv_cc_needs_belf"; then
6839 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6844 # Find out what ABI is being produced by ac_compile, and set linker
6845 # options accordingly.
6846 echo 'int i;' > conftest.$ac_ext
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 case `/usr/bin/file conftest.o` in
6854 case $lt_cv_prog_gnu_ld in
6857 i?86-*-solaris*|x86_64-*-solaris*)
6858 LD="${LD-ld} -m elf_x86_64"
6861 LD="${LD-ld} -m elf64_sparc"
6864 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6865 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6870 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6882 need_locks=$enable_libtool_lock
6884 if test -n "$ac_tool_prefix"; then
6885 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6886 set dummy ${ac_tool_prefix}mt; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6890 $as_echo_n "(cached) " >&6
6892 if test -n "$MANIFEST_TOOL"; then
6893 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6913 if test -n "$MANIFEST_TOOL"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6915 $as_echo "$MANIFEST_TOOL" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6923 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6924 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6925 # Extract the first word of "mt", so it can be a program name with args.
6926 set dummy mt; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928 $as_echo_n "checking for $ac_word... " >&6; }
6929 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6930 $as_echo_n "(cached) " >&6
6932 if test -n "$ac_ct_MANIFEST_TOOL"; then
6933 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6953 if test -n "$ac_ct_MANIFEST_TOOL"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6955 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6961 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6964 case $cross_compiling:$ac_tool_warned in
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6968 ac_tool_warned=yes ;;
6970 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6973 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6976 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6978 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6979 if ${lt_cv_path_mainfest_tool+:} false; then :
6980 $as_echo_n "(cached) " >&6
6982 lt_cv_path_mainfest_tool=no
6983 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6984 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6985 cat conftest.err >&5
6986 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6987 lt_cv_path_mainfest_tool=yes
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6992 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6993 if test yes != "$lt_cv_path_mainfest_tool"; then
7003 rhapsody* | darwin*)
7004 if test -n "$ac_tool_prefix"; then
7005 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7006 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7008 $as_echo_n "checking for $ac_word... " >&6; }
7009 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7010 $as_echo_n "(cached) " >&6
7012 if test -n "$DSYMUTIL"; then
7013 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 test -z "$as_dir" && as_dir=.
7020 for ac_exec_ext in '' $ac_executable_extensions; do
7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7022 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7033 if test -n "$DSYMUTIL"; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7035 $as_echo "$DSYMUTIL" >&6; }
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7038 $as_echo "no" >&6; }
7043 if test -z "$ac_cv_prog_DSYMUTIL"; then
7044 ac_ct_DSYMUTIL=$DSYMUTIL
7045 # Extract the first word of "dsymutil", so it can be a program name with args.
7046 set dummy dsymutil; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$ac_ct_DSYMUTIL"; then
7053 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7073 if test -n "$ac_ct_DSYMUTIL"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7075 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7081 if test "x$ac_ct_DSYMUTIL" = x; then
7084 case $cross_compiling:$ac_tool_warned in
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7088 ac_tool_warned=yes ;;
7090 DSYMUTIL=$ac_ct_DSYMUTIL
7093 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_NMEDIT+:} false; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$NMEDIT"; then
7105 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 NMEDIT=$ac_cv_prog_NMEDIT
7125 if test -n "$NMEDIT"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7127 $as_echo "$NMEDIT" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7135 if test -z "$ac_cv_prog_NMEDIT"; then
7136 ac_ct_NMEDIT=$NMEDIT
7137 # Extract the first word of "nmedit", so it can be a program name with args.
7138 set dummy nmedit; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$ac_ct_NMEDIT"; then
7145 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7165 if test -n "$ac_ct_NMEDIT"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7167 $as_echo "$ac_ct_NMEDIT" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7173 if test "x$ac_ct_NMEDIT" = x; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180 ac_tool_warned=yes ;;
7182 NMEDIT=$ac_ct_NMEDIT
7185 NMEDIT="$ac_cv_prog_NMEDIT"
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if ${ac_cv_prog_LIPO+:} false; then :
7194 $as_echo_n "(cached) " >&6
7196 if test -n "$LIPO"; then
7197 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 LIPO=$ac_cv_prog_LIPO
7217 if test -n "$LIPO"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7219 $as_echo "$LIPO" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7227 if test -z "$ac_cv_prog_LIPO"; then
7229 # Extract the first word of "lipo", so it can be a program name with args.
7230 set dummy lipo; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$ac_ct_LIPO"; then
7237 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_ac_ct_LIPO="lipo"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7257 if test -n "$ac_ct_LIPO"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7259 $as_echo "$ac_ct_LIPO" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7265 if test "x$ac_ct_LIPO" = x; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7272 ac_tool_warned=yes ;;
7277 LIPO="$ac_cv_prog_LIPO"
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}otool; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_OTOOL+:} false; then :
7286 $as_echo_n "(cached) " >&6
7288 if test -n "$OTOOL"; then
7289 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 OTOOL=$ac_cv_prog_OTOOL
7309 if test -n "$OTOOL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7311 $as_echo "$OTOOL" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_OTOOL"; then
7321 # Extract the first word of "otool", so it can be a program name with args.
7322 set dummy otool; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$ac_ct_OTOOL"; then
7329 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_ac_ct_OTOOL="otool"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7349 if test -n "$ac_ct_OTOOL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7351 $as_echo "$ac_ct_OTOOL" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_OTOOL" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7369 OTOOL="$ac_cv_prog_OTOOL"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_OTOOL64+:} false; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$OTOOL64"; then
7381 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 OTOOL64=$ac_cv_prog_OTOOL64
7401 if test -n "$OTOOL64"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7403 $as_echo "$OTOOL64" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_OTOOL64"; then
7412 ac_ct_OTOOL64=$OTOOL64
7413 # Extract the first word of "otool64", so it can be a program name with args.
7414 set dummy otool64; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$ac_ct_OTOOL64"; then
7421 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_ac_ct_OTOOL64="otool64"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7441 if test -n "$ac_ct_OTOOL64"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7443 $as_echo "$ac_ct_OTOOL64" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_OTOOL64" = x; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7458 OTOOL64=$ac_ct_OTOOL64
7461 OTOOL64="$ac_cv_prog_OTOOL64"
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7491 $as_echo_n "checking for -single_module linker flag... " >&6; }
7492 if ${lt_cv_apple_cc_single_mod+:} false; then :
7493 $as_echo_n "(cached) " >&6
7495 lt_cv_apple_cc_single_mod=no
7496 if test -z "$LT_MULTI_MODULE"; then
7497 # By default we will add the -single_module flag. You can override
7498 # by either setting the environment variable LT_MULTI_MODULE
7499 # non-empty at configure time, or by adding -multi_module to the
7501 rm -rf libconftest.dylib*
7502 echo "int foo(void){return 1;}" > conftest.c
7503 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7504 -dynamiclib -Wl,-single_module conftest.c" >&5
7505 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7506 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7508 # If there is a non-empty error log, and "single_module"
7509 # appears in it, assume the flag caused a linker warning
7510 if test -s conftest.err && $GREP single_module conftest.err; then
7511 cat conftest.err >&5
7512 # Otherwise, if the output was created with a 0 exit code from
7513 # the compiler, it worked.
7514 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7515 lt_cv_apple_cc_single_mod=yes
7517 cat conftest.err >&5
7519 rm -rf libconftest.dylib*
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7524 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7527 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7528 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7529 $as_echo_n "(cached) " >&6
7531 lt_cv_ld_exported_symbols_list=no
7532 save_LDFLAGS=$LDFLAGS
7533 echo "_main" > conftest.sym
7534 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536 /* end confdefs.h. */
7546 if ac_fn_c_try_link "$LINENO"; then :
7547 lt_cv_ld_exported_symbols_list=yes
7549 lt_cv_ld_exported_symbols_list=no
7551 rm -f core conftest.err conftest.$ac_objext \
7552 conftest$ac_exeext conftest.$ac_ext
7553 LDFLAGS=$save_LDFLAGS
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7557 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7560 $as_echo_n "checking for -force_load linker flag... " >&6; }
7561 if ${lt_cv_ld_force_load+:} false; then :
7562 $as_echo_n "(cached) " >&6
7564 lt_cv_ld_force_load=no
7565 cat > conftest.c << _LT_EOF
7566 int forced_loaded() { return 2;}
7568 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7569 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7570 echo "$AR cru libconftest.a conftest.o" >&5
7571 $AR cru libconftest.a conftest.o 2>&5
7572 echo "$RANLIB libconftest.a" >&5
7573 $RANLIB libconftest.a 2>&5
7574 cat > conftest.c << _LT_EOF
7575 int main() { return 0;}
7577 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7578 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7580 if test -s conftest.err && $GREP force_load conftest.err; then
7581 cat conftest.err >&5
7582 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7583 lt_cv_ld_force_load=yes
7585 cat conftest.err >&5
7587 rm -f conftest.err libconftest.a conftest conftest.c
7588 rm -rf conftest.dSYM
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7592 $as_echo "$lt_cv_ld_force_load" >&6; }
7594 rhapsody* | darwin1.[012])
7595 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7597 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7598 darwin*) # darwin 5.x on
7599 # if running on 10.5 or later, the deployment target defaults
7600 # to the OS version, if on x86, and 10.4, the deployment
7601 # target defaults to 10.4. Don't you love it?
7602 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7603 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7604 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7606 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7608 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7612 if test yes = "$lt_cv_apple_cc_single_mod"; then
7613 _lt_dar_single_mod='$single_module'
7615 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7616 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7618 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7620 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7621 _lt_dsymutil='~$DSYMUTIL $lib || :'
7628 # func_munge_path_list VARIABLE PATH
7629 # -----------------------------------
7630 # VARIABLE is name of variable containing _space_ separated list of
7631 # directories to be munged by the contents of PATH, which is string
7634 # string "DIR[ DIR]" will be prepended to VARIABLE
7636 # string "DIR[ DIR]" will be appended to VARIABLE
7637 # "DIRP[:DIRP]::[DIRA:]DIRA"
7638 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7639 # "DIRA[ DIRA]" will be appended to VARIABLE
7641 # VARIABLE will be replaced by "DIR[ DIR]"
7642 func_munge_path_list ()
7648 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7651 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7654 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7655 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7658 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7664 ac_cpp='$CPP $CPPFLAGS'
7665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7669 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7670 # On Suns, sometimes $CPP names a directory.
7671 if test -n "$CPP" && test -d "$CPP"; then
7674 if test -z "$CPP"; then
7675 if ${ac_cv_prog_CPP+:} false; then :
7676 $as_echo_n "(cached) " >&6
7678 # Double quotes because CPP needs to be expanded
7679 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7682 for ac_c_preproc_warn_flag in '' yes
7684 # Use a header file that comes with gcc, so configuring glibc
7685 # with a fresh cross-compiler works.
7686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7687 # <limits.h> exists even on freestanding compilers.
7688 # On the NeXT, cc -E runs the code through the compiler's parser,
7689 # not just through cpp. "Syntax error" is here to catch this case.
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7693 # include <limits.h>
7695 # include <assert.h>
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7702 # Broken: fails on valid input.
7705 rm -f conftest.err conftest.i conftest.$ac_ext
7707 # OK, works on sane cases. Now check whether nonexistent headers
7708 # can be detected and how.
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #include <ac_nonexistent.h>
7713 if ac_fn_c_try_cpp "$LINENO"; then :
7714 # Broken: success on invalid input.
7717 # Passes both tests.
7721 rm -f conftest.err conftest.i conftest.$ac_ext
7724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7725 rm -f conftest.i conftest.err conftest.$ac_ext
7726 if $ac_preproc_ok; then :
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7739 $as_echo "$CPP" >&6; }
7741 for ac_c_preproc_warn_flag in '' yes
7743 # Use a header file that comes with gcc, so configuring glibc
7744 # with a fresh cross-compiler works.
7745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7746 # <limits.h> exists even on freestanding compilers.
7747 # On the NeXT, cc -E runs the code through the compiler's parser,
7748 # not just through cpp. "Syntax error" is here to catch this case.
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7752 # include <limits.h>
7754 # include <assert.h>
7758 if ac_fn_c_try_cpp "$LINENO"; then :
7761 # Broken: fails on valid input.
7764 rm -f conftest.err conftest.i conftest.$ac_ext
7766 # OK, works on sane cases. Now check whether nonexistent headers
7767 # can be detected and how.
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <ac_nonexistent.h>
7772 if ac_fn_c_try_cpp "$LINENO"; then :
7773 # Broken: success on invalid input.
7776 # Passes both tests.
7780 rm -f conftest.err conftest.i conftest.$ac_ext
7783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7784 rm -f conftest.i conftest.err conftest.$ac_ext
7785 if $ac_preproc_ok; then :
7788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7790 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7791 See \`config.log' for more details" "$LINENO" 5; }
7795 ac_cpp='$CPP $CPPFLAGS'
7796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7802 $as_echo_n "checking for ANSI C header files... " >&6; }
7803 if ${ac_cv_header_stdc+:} false; then :
7804 $as_echo_n "(cached) " >&6
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7821 if ac_fn_c_try_compile "$LINENO"; then :
7822 ac_cv_header_stdc=yes
7824 ac_cv_header_stdc=no
7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7828 if test $ac_cv_header_stdc = yes; then
7829 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7836 $EGREP "memchr" >/dev/null 2>&1; then :
7839 ac_cv_header_stdc=no
7845 if test $ac_cv_header_stdc = yes; then
7846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7853 $EGREP "free" >/dev/null 2>&1; then :
7856 ac_cv_header_stdc=no
7862 if test $ac_cv_header_stdc = yes; then
7863 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7864 if test "$cross_compiling" = yes; then :
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7871 #if ((' ' & 0x0FF) == 0x020)
7872 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7873 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7875 # define ISLOWER(c) \
7876 (('a' <= (c) && (c) <= 'i') \
7877 || ('j' <= (c) && (c) <= 'r') \
7878 || ('s' <= (c) && (c) <= 'z'))
7879 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7887 for (i = 0; i < 256; i++)
7888 if (XOR (islower (i), ISLOWER (i))
7889 || toupper (i) != TOUPPER (i))
7894 if ac_fn_c_try_run "$LINENO"; then :
7897 ac_cv_header_stdc=no
7899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7900 conftest.$ac_objext conftest.beam conftest.$ac_ext
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7906 $as_echo "$ac_cv_header_stdc" >&6; }
7907 if test $ac_cv_header_stdc = yes; then
7909 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7915 inttypes.h stdint.h unistd.h
7917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7930 for ac_header in dlfcn.h
7932 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7934 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7935 cat >>confdefs.h <<_ACEOF
7936 #define HAVE_DLFCN_H 1
7948 enable_win32_dll=yes
7951 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7952 if test -n "$ac_tool_prefix"; then
7953 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7954 set dummy ${ac_tool_prefix}as; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_AS+:} false; then :
7958 $as_echo_n "(cached) " >&6
7960 if test -n "$AS"; then
7961 ac_cv_prog_AS="$AS" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_AS="${ac_tool_prefix}as"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 if test -n "$AS"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7983 $as_echo "$AS" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7991 if test -z "$ac_cv_prog_AS"; then
7993 # Extract the first word of "as", so it can be a program name with args.
7994 set dummy as; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 if test -n "$ac_ct_AS"; then
8001 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_ac_ct_AS="as"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8021 if test -n "$ac_ct_AS"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8023 $as_echo "$ac_ct_AS" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8029 if test "x$ac_ct_AS" = x; then
8032 case $cross_compiling:$ac_tool_warned in
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8036 ac_tool_warned=yes ;;
8044 if test -n "$ac_tool_prefix"; then
8045 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8046 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if ${ac_cv_prog_DLLTOOL+:} false; then :
8050 $as_echo_n "(cached) " >&6
8052 if test -n "$DLLTOOL"; then
8053 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 DLLTOOL=$ac_cv_prog_DLLTOOL
8073 if test -n "$DLLTOOL"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8075 $as_echo "$DLLTOOL" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8083 if test -z "$ac_cv_prog_DLLTOOL"; then
8084 ac_ct_DLLTOOL=$DLLTOOL
8085 # Extract the first word of "dlltool", so it can be a program name with args.
8086 set dummy dlltool; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8090 $as_echo_n "(cached) " >&6
8092 if test -n "$ac_ct_DLLTOOL"; then
8093 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8113 if test -n "$ac_ct_DLLTOOL"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8115 $as_echo "$ac_ct_DLLTOOL" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8121 if test "x$ac_ct_DLLTOOL" = x; then
8124 case $cross_compiling:$ac_tool_warned in
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8128 ac_tool_warned=yes ;;
8130 DLLTOOL=$ac_ct_DLLTOOL
8133 DLLTOOL="$ac_cv_prog_DLLTOOL"
8136 if test -n "$ac_tool_prefix"; then
8137 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8138 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 $as_echo_n "checking for $ac_word... " >&6; }
8141 if ${ac_cv_prog_OBJDUMP+:} false; then :
8142 $as_echo_n "(cached) " >&6
8144 if test -n "$OBJDUMP"; then
8145 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 test -z "$as_dir" && as_dir=.
8152 for ac_exec_ext in '' $ac_executable_extensions; do
8153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 OBJDUMP=$ac_cv_prog_OBJDUMP
8165 if test -n "$OBJDUMP"; then
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8167 $as_echo "$OBJDUMP" >&6; }
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8175 if test -z "$ac_cv_prog_OBJDUMP"; then
8176 ac_ct_OBJDUMP=$OBJDUMP
8177 # Extract the first word of "objdump", so it can be a program name with args.
8178 set dummy objdump; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8180 $as_echo_n "checking for $ac_word... " >&6; }
8181 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8182 $as_echo_n "(cached) " >&6
8184 if test -n "$ac_ct_OBJDUMP"; then
8185 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8205 if test -n "$ac_ct_OBJDUMP"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8207 $as_echo "$ac_ct_OBJDUMP" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8213 if test "x$ac_ct_OBJDUMP" = x; then
8216 case $cross_compiling:$ac_tool_warned in
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8220 ac_tool_warned=yes ;;
8222 OBJDUMP=$ac_ct_OBJDUMP
8225 OBJDUMP="$ac_cv_prog_OBJDUMP"
8231 test -z "$AS" && AS=as
8237 test -z "$DLLTOOL" && DLLTOOL=dlltool
8243 test -z "$OBJDUMP" && OBJDUMP=objdump
8255 # Check whether --enable-shared was given.
8256 if test "${enable_shared+set}" = set; then :
8257 enableval=$enable_shared; p=${PACKAGE-default}
8259 yes) enable_shared=yes ;;
8260 no) enable_shared=no ;;
8263 # Look at the argument we got. We use all the common list separators.
8264 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8265 for pkg in $enableval; do
8267 if test "X$pkg" = "X$p"; then
8286 # Check whether --enable-static was given.
8287 if test "${enable_static+set}" = set; then :
8288 enableval=$enable_static; p=${PACKAGE-default}
8290 yes) enable_static=yes ;;
8291 no) enable_static=no ;;
8294 # Look at the argument we got. We use all the common list separators.
8295 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8296 for pkg in $enableval; do
8298 if test "X$pkg" = "X$p"; then
8318 # Check whether --with-pic was given.
8319 if test "${with_pic+set}" = set; then :
8320 withval=$with_pic; lt_p=${PACKAGE-default}
8322 yes|no) pic_mode=$withval ;;
8325 # Look at the argument we got. We use all the common list separators.
8326 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8327 for lt_pkg in $withval; do
8329 if test "X$lt_pkg" = "X$lt_p"; then
8347 # Check whether --enable-fast-install was given.
8348 if test "${enable_fast_install+set}" = set; then :
8349 enableval=$enable_fast_install; p=${PACKAGE-default}
8351 yes) enable_fast_install=yes ;;
8352 no) enable_fast_install=no ;;
8354 enable_fast_install=no
8355 # Look at the argument we got. We use all the common list separators.
8356 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8357 for pkg in $enableval; do
8359 if test "X$pkg" = "X$p"; then
8360 enable_fast_install=yes
8367 enable_fast_install=yes
8377 shared_archive_member_spec=
8378 case $host,$enable_shared in
8379 power*-*-aix[5-9]*,yes)
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8381 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8383 # Check whether --with-aix-soname was given.
8384 if test "${with_aix_soname+set}" = set; then :
8385 withval=$with_aix_soname; case $withval in
8389 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8392 lt_cv_with_aix_soname=$with_aix_soname
8394 if ${lt_cv_with_aix_soname+:} false; then :
8395 $as_echo_n "(cached) " >&6
8397 lt_cv_with_aix_soname=aix
8400 with_aix_soname=$lt_cv_with_aix_soname
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8404 $as_echo "$with_aix_soname" >&6; }
8405 if test aix != "$with_aix_soname"; then
8406 # For the AIX way of multilib, we name the shared archive member
8407 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8408 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8409 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8410 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8411 if test 64 = "${OBJECT_MODE-32}"; then
8412 shared_archive_member_spec=shr_64
8414 shared_archive_member_spec=shr
8432 # This can be used to rebuild libtool when needed
8433 LIBTOOL_DEPS=$ltmain
8435 # Always use our own libtool.
8436 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8467 test -z "$LN_S" && LN_S="ln -s"
8482 if test -n "${ZSH_VERSION+set}"; then
8483 setopt NO_GLOB_SUBST
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8487 $as_echo_n "checking for objdir... " >&6; }
8488 if ${lt_cv_objdir+:} false; then :
8489 $as_echo_n "(cached) " >&6
8491 rm -f .libs 2>/dev/null
8492 mkdir .libs 2>/dev/null
8493 if test -d .libs; then
8496 # MS-DOS does not allow filenames that begin with a dot.
8499 rmdir .libs 2>/dev/null
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8502 $as_echo "$lt_cv_objdir" >&6; }
8503 objdir=$lt_cv_objdir
8509 cat >>confdefs.h <<_ACEOF
8510 #define LT_OBJDIR "$lt_cv_objdir/"
8518 # AIX sometimes has problems with the GCC collect2 program. For some
8519 # reason, if we set the COLLECT_NAMES environment variable, the problems
8520 # vanish in a puff of smoke.
8521 if test set != "${COLLECT_NAMES+set}"; then
8523 export COLLECT_NAMES
8530 can_build_shared=yes
8532 # All known linkers require a '.a' archive for static linking (except MSVC,
8533 # which needs '.lib').
8536 with_gnu_ld=$lt_cv_prog_gnu_ld
8541 # Set sane defaults for various variables
8542 test -z "$CC" && CC=cc
8543 test -z "$LTCC" && LTCC=$CC
8544 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8545 test -z "$LD" && LD=ld
8546 test -z "$ac_objext" && ac_objext=o
8548 func_cc_basename $compiler
8549 cc_basename=$func_cc_basename_result
8552 # Only perform the check for file, if the check method requires it
8553 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8554 case $deplibs_check_method in
8556 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8558 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8559 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8560 $as_echo_n "(cached) " >&6
8564 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8567 lt_save_MAGIC_CMD=$MAGIC_CMD
8568 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8569 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8570 for ac_dir in $ac_dummy; do
8572 test -z "$ac_dir" && ac_dir=.
8573 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8574 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8575 if test -n "$file_magic_test_file"; then
8576 case $deplibs_check_method in
8578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8579 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8581 $EGREP "$file_magic_regex" > /dev/null; then
8586 *** Warning: the command libtool uses to detect shared libraries,
8587 *** $file_magic_cmd, produces output that libtool cannot recognize.
8588 *** The result is that libtool may fail to recognize shared libraries
8589 *** as such. This will affect the creation of libtool libraries that
8590 *** depend on shared libraries, but programs linked with such libtool
8591 *** libraries will work regardless of this problem. Nevertheless, you
8592 *** may want to report the problem to your system manager and/or to
8593 *** bug-libtool@gnu.org
8603 MAGIC_CMD=$lt_save_MAGIC_CMD
8608 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8609 if test -n "$MAGIC_CMD"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8611 $as_echo "$MAGIC_CMD" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8621 if test -z "$lt_cv_path_MAGIC_CMD"; then
8622 if test -n "$ac_tool_prefix"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8624 $as_echo_n "checking for file... " >&6; }
8625 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8626 $as_echo_n "(cached) " >&6
8630 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8633 lt_save_MAGIC_CMD=$MAGIC_CMD
8634 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8635 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8636 for ac_dir in $ac_dummy; do
8638 test -z "$ac_dir" && ac_dir=.
8639 if test -f "$ac_dir/file"; then
8640 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8641 if test -n "$file_magic_test_file"; then
8642 case $deplibs_check_method in
8644 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8645 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8646 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8647 $EGREP "$file_magic_regex" > /dev/null; then
8652 *** Warning: the command libtool uses to detect shared libraries,
8653 *** $file_magic_cmd, produces output that libtool cannot recognize.
8654 *** The result is that libtool may fail to recognize shared libraries
8655 *** as such. This will affect the creation of libtool libraries that
8656 *** depend on shared libraries, but programs linked with such libtool
8657 *** libraries will work regardless of this problem. Nevertheless, you
8658 *** may want to report the problem to your system manager and/or to
8659 *** bug-libtool@gnu.org
8669 MAGIC_CMD=$lt_save_MAGIC_CMD
8674 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8675 if test -n "$MAGIC_CMD"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8677 $as_echo "$MAGIC_CMD" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8693 # Use C for the default configuration in the libtool script
8697 ac_cpp='$CPP $CPPFLAGS'
8698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8703 # Source file extension for C test sources.
8706 # Object file extension for compiled C test sources.
8710 # Code to be used in simple compile tests
8711 lt_simple_compile_test_code="int some_variable = 0;"
8713 # Code to be used in simple link tests
8714 lt_simple_link_test_code='int main(){return(0);}'
8722 # If no C compiler was specified, use CC.
8725 # If no C compiler flags were specified, use CFLAGS.
8726 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8728 # Allow CC to be a program name with arguments.
8731 # Save the default compiler, since it gets overwritten when the other
8732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8733 compiler_DEFAULT=$CC
8735 # save warnings/boilerplate of simple test code
8736 ac_outfile=conftest.$ac_objext
8737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8739 _lt_compiler_boilerplate=`cat conftest.err`
8742 ac_outfile=conftest.$ac_objext
8743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8745 _lt_linker_boilerplate=`cat conftest.err`
8750 ## There is no encapsulation within the following macros, do not change
8751 ## the running order or otherwise move them around unless you know exactly
8752 ## what you are doing...
8753 if test -n "$compiler"; then
8755 lt_prog_compiler_no_builtin_flag=
8757 if test yes = "$GCC"; then
8758 case $cc_basename in
8760 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8762 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8766 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8767 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_rtti_exceptions=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_rtti_exceptions=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8801 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8803 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8804 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8816 lt_prog_compiler_wl=
8817 lt_prog_compiler_pic=
8818 lt_prog_compiler_static=
8821 if test yes = "$GCC"; then
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_static='-static'
8827 # All AIX code is PIC.
8828 if test ia64 = "$host_cpu"; then
8829 # AIX 5 now supports IA64 processor
8830 lt_prog_compiler_static='-Bstatic'
8832 lt_prog_compiler_pic='-fPIC'
8838 # see comment about AmigaOS4 .so support
8839 lt_prog_compiler_pic='-fPIC'
8842 # FIXME: we need at least 68020 code to build shared libraries, but
8843 # adding the '-m68020' flag to GCC prevents building anything better,
8845 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8850 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8851 # PIC is the default for these OSes.
8854 mingw* | cygwin* | pw32* | os2* | cegcc*)
8855 # This hack is so that the source file can tell whether it is being
8856 # built for inclusion in a dll (and should export symbols for example).
8857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8858 # (--disable-auto-import) libraries
8859 lt_prog_compiler_pic='-DDLL_EXPORT'
8862 lt_prog_compiler_static='$wl-static'
8867 darwin* | rhapsody*)
8868 # PIC is the default on this platform
8869 # Common symbols not allowed in MH_DYLIB files
8870 lt_prog_compiler_pic='-fno-common'
8874 # PIC is the default for Haiku.
8875 # The "-static" flag exists, but is broken.
8876 lt_prog_compiler_static=
8880 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8881 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8882 # sets the default TLS model and affects inlining.
8888 lt_prog_compiler_pic='-fPIC'
8894 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8895 # Instead, we relocate shared libraries at runtime.
8899 # Just because we use GCC doesn't mean we suddenly get shared libraries
8900 # on systems that don't support them.
8901 lt_prog_compiler_can_build_shared=no
8906 # QNX uses GNU C++, but need to define -shared option too, otherwise
8908 lt_prog_compiler_pic='-fPIC -shared'
8912 if test -d /usr/nec; then
8913 lt_prog_compiler_pic=-Kconform_pic
8918 lt_prog_compiler_pic='-fPIC'
8922 case $cc_basename in
8923 nvcc*) # Cuda Compiler Driver 2.2
8924 lt_prog_compiler_wl='-Xlinker '
8925 if test -n "$lt_prog_compiler_pic"; then
8926 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8931 # PORTME Check for flag to pass linker flags through the system compiler.
8934 lt_prog_compiler_wl='-Wl,'
8935 if test ia64 = "$host_cpu"; then
8936 # AIX 5 now supports IA64 processor
8937 lt_prog_compiler_static='-Bstatic'
8939 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8943 darwin* | rhapsody*)
8944 # PIC is the default on this platform
8945 # Common symbols not allowed in MH_DYLIB files
8946 lt_prog_compiler_pic='-fno-common'
8947 case $cc_basename in
8949 # NAG Fortran compiler
8950 lt_prog_compiler_wl='-Wl,-Wl,,'
8951 lt_prog_compiler_pic='-PIC'
8952 lt_prog_compiler_static='-Bstatic'
8957 mingw* | cygwin* | pw32* | os2* | cegcc*)
8958 # This hack is so that the source file can tell whether it is being
8959 # built for inclusion in a dll (and should export symbols for example).
8960 lt_prog_compiler_pic='-DDLL_EXPORT'
8963 lt_prog_compiler_static='$wl-static'
8968 hpux9* | hpux10* | hpux11*)
8969 lt_prog_compiler_wl='-Wl,'
8970 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8977 lt_prog_compiler_pic='+Z'
8980 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8981 lt_prog_compiler_static='$wl-a ${wl}archive'
8984 irix5* | irix6* | nonstopux*)
8985 lt_prog_compiler_wl='-Wl,'
8986 # PIC (with -KPIC) is the default.
8987 lt_prog_compiler_static='-non_shared'
8990 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8991 case $cc_basename in
8992 # old Intel for x86_64, which still supported -KPIC.
8994 lt_prog_compiler_wl='-Wl,'
8995 lt_prog_compiler_pic='-KPIC'
8996 lt_prog_compiler_static='-static'
8998 # icc used to be incompatible with GCC.
8999 # ICC 10 doesn't accept -KPIC any more.
9001 lt_prog_compiler_wl='-Wl,'
9002 lt_prog_compiler_pic='-fPIC'
9003 lt_prog_compiler_static='-static'
9005 # Lahey Fortran 8.1.
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_pic='--shared'
9009 lt_prog_compiler_static='--static'
9012 # NAG Fortran compiler
9013 lt_prog_compiler_wl='-Wl,-Wl,,'
9014 lt_prog_compiler_pic='-PIC'
9015 lt_prog_compiler_static='-Bstatic'
9018 # Fabrice Bellard et al's Tiny C Compiler
9019 lt_prog_compiler_wl='-Wl,'
9020 lt_prog_compiler_pic='-fPIC'
9021 lt_prog_compiler_static='-static'
9023 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9024 # Portland Group compilers (*not* the Pentium gcc compiler,
9025 # which looks to be a dead project)
9026 lt_prog_compiler_wl='-Wl,'
9027 lt_prog_compiler_pic='-fpic'
9028 lt_prog_compiler_static='-Bstatic'
9031 lt_prog_compiler_wl='-Wl,'
9032 # All Alpha code is PIC.
9033 lt_prog_compiler_static='-non_shared'
9035 xl* | bgxl* | bgf* | mpixl*)
9036 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9037 lt_prog_compiler_wl='-Wl,'
9038 lt_prog_compiler_pic='-qpic'
9039 lt_prog_compiler_static='-qstaticlink'
9042 case `$CC -V 2>&1 | sed 5q` in
9043 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9044 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9045 lt_prog_compiler_pic='-KPIC'
9046 lt_prog_compiler_static='-Bstatic'
9047 lt_prog_compiler_wl=''
9049 *Sun\ F* | *Sun*Fortran*)
9050 lt_prog_compiler_pic='-KPIC'
9051 lt_prog_compiler_static='-Bstatic'
9052 lt_prog_compiler_wl='-Qoption ld '
9056 lt_prog_compiler_pic='-KPIC'
9057 lt_prog_compiler_static='-Bstatic'
9058 lt_prog_compiler_wl='-Wl,'
9060 *Intel*\ [CF]*Compiler*)
9061 lt_prog_compiler_wl='-Wl,'
9062 lt_prog_compiler_pic='-fPIC'
9063 lt_prog_compiler_static='-static'
9066 lt_prog_compiler_wl='-Wl,'
9067 lt_prog_compiler_pic='-fpic'
9068 lt_prog_compiler_static='-Bstatic'
9076 lt_prog_compiler_pic='-KPIC'
9077 lt_prog_compiler_static='-Bstatic'
9081 # QNX uses GNU C++, but need to define -shared option too, otherwise
9083 lt_prog_compiler_pic='-fPIC -shared'
9086 osf3* | osf4* | osf5*)
9087 lt_prog_compiler_wl='-Wl,'
9088 # All OSF/1 code is PIC.
9089 lt_prog_compiler_static='-non_shared'
9093 lt_prog_compiler_static='-non_shared'
9097 lt_prog_compiler_pic='-KPIC'
9098 lt_prog_compiler_static='-Bstatic'
9099 case $cc_basename in
9100 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9101 lt_prog_compiler_wl='-Qoption ld ';;
9103 lt_prog_compiler_wl='-Wl,';;
9108 lt_prog_compiler_wl='-Qoption ld '
9109 lt_prog_compiler_pic='-PIC'
9110 lt_prog_compiler_static='-Bstatic'
9113 sysv4 | sysv4.2uw2* | sysv4.3*)
9114 lt_prog_compiler_wl='-Wl,'
9115 lt_prog_compiler_pic='-KPIC'
9116 lt_prog_compiler_static='-Bstatic'
9120 if test -d /usr/nec; then
9121 lt_prog_compiler_pic='-Kconform_pic'
9122 lt_prog_compiler_static='-Bstatic'
9126 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9127 lt_prog_compiler_wl='-Wl,'
9128 lt_prog_compiler_pic='-KPIC'
9129 lt_prog_compiler_static='-Bstatic'
9133 lt_prog_compiler_wl='-Wl,'
9134 lt_prog_compiler_can_build_shared=no
9138 lt_prog_compiler_pic='-pic'
9139 lt_prog_compiler_static='-Bstatic'
9143 lt_prog_compiler_can_build_shared=no
9149 # For platforms that do not support PIC, -DPIC is meaningless:
9151 lt_prog_compiler_pic=
9154 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9159 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9160 if ${lt_cv_prog_compiler_pic+:} false; then :
9161 $as_echo_n "(cached) " >&6
9163 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9166 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9167 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9170 # Check to make sure the PIC flag actually works.
9172 if test -n "$lt_prog_compiler_pic"; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9174 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9175 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9176 $as_echo_n "(cached) " >&6
9178 lt_cv_prog_compiler_pic_works=no
9179 ac_outfile=conftest.$ac_objext
9180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9181 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9182 # Insert the option either (1) after the last *FLAGS variable, or
9183 # (2) before a word containing "conftest.", or (3) at the end.
9184 # Note that $ac_compile itself does not contain backslashes and begins
9185 # with a dollar sign (not a hyphen), so the echo should work correctly.
9186 # The option is referenced via a variable to avoid confusing sed.
9187 lt_compile=`echo "$ac_compile" | $SED \
9188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9190 -e 's:$: $lt_compiler_flag:'`
9191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9192 (eval "$lt_compile" 2>conftest.err)
9194 cat conftest.err >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 if (exit $ac_status) && test -s "$ac_outfile"; then
9197 # The compiler can only warn and ignore the option if not recognized
9198 # So say no if there are warnings other than the usual output.
9199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9200 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9201 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9202 lt_cv_prog_compiler_pic_works=yes
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9209 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9211 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9212 case $lt_prog_compiler_pic in
9214 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9217 lt_prog_compiler_pic=
9218 lt_prog_compiler_can_build_shared=no
9234 # Check to make sure the static flag actually works.
9236 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9238 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9239 if ${lt_cv_prog_compiler_static_works+:} false; then :
9240 $as_echo_n "(cached) " >&6
9242 lt_cv_prog_compiler_static_works=no
9243 save_LDFLAGS=$LDFLAGS
9244 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9245 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9246 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9247 # The linker can only warn and ignore the option if not recognized
9248 # So say no if there are warnings
9249 if test -s conftest.err; then
9250 # Append any errors to the config.log.
9251 cat conftest.err 1>&5
9252 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9253 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9254 if diff conftest.exp conftest.er2 >/dev/null; then
9255 lt_cv_prog_compiler_static_works=yes
9258 lt_cv_prog_compiler_static_works=yes
9262 LDFLAGS=$save_LDFLAGS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9266 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9268 if test yes = "$lt_cv_prog_compiler_static_works"; then
9271 lt_prog_compiler_static=
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9281 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9282 if ${lt_cv_prog_compiler_c_o+:} false; then :
9283 $as_echo_n "(cached) " >&6
9285 lt_cv_prog_compiler_c_o=no
9286 $RM -r conftest 2>/dev/null
9290 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9292 lt_compiler_flag="-o out/conftest2.$ac_objext"
9293 # Insert the option either (1) after the last *FLAGS variable, or
9294 # (2) before a word containing "conftest.", or (3) at the end.
9295 # Note that $ac_compile itself does not contain backslashes and begins
9296 # with a dollar sign (not a hyphen), so the echo should work correctly.
9297 lt_compile=`echo "$ac_compile" | $SED \
9298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9300 -e 's:$: $lt_compiler_flag:'`
9301 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9302 (eval "$lt_compile" 2>out/conftest.err)
9304 cat out/conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9308 # The compiler can only warn and ignore the option if not recognized
9309 # So say no if there are warnings
9310 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9311 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9312 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9313 lt_cv_prog_compiler_c_o=yes
9318 # SGI C++ compiler will create directory out/ii_files/ for
9319 # template instantiation
9320 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9321 $RM out/* && rmdir out
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9328 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9336 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9337 if ${lt_cv_prog_compiler_c_o+:} false; then :
9338 $as_echo_n "(cached) " >&6
9340 lt_cv_prog_compiler_c_o=no
9341 $RM -r conftest 2>/dev/null
9345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9347 lt_compiler_flag="-o out/conftest2.$ac_objext"
9348 # Insert the option either (1) after the last *FLAGS variable, or
9349 # (2) before a word containing "conftest.", or (3) at the end.
9350 # Note that $ac_compile itself does not contain backslashes and begins
9351 # with a dollar sign (not a hyphen), so the echo should work correctly.
9352 lt_compile=`echo "$ac_compile" | $SED \
9353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9355 -e 's:$: $lt_compiler_flag:'`
9356 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9357 (eval "$lt_compile" 2>out/conftest.err)
9359 cat out/conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9363 # The compiler can only warn and ignore the option if not recognized
9364 # So say no if there are warnings
9365 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9366 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9367 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9368 lt_cv_prog_compiler_c_o=yes
9373 # SGI C++ compiler will create directory out/ii_files/ for
9374 # template instantiation
9375 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9376 $RM out/* && rmdir out
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9383 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9388 hard_links=nottested
9389 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9390 # do not overwrite the value of need_locks provided by the user
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9392 $as_echo_n "checking if we can lock with hard links... " >&6; }
9395 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9397 ln conftest.a conftest.b 2>&5 || hard_links=no
9398 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9400 $as_echo "$hard_links" >&6; }
9401 if test no = "$hard_links"; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9403 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9416 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9419 allow_undefined_flag=
9420 always_export_symbols=no
9422 archive_expsym_cmds=
9423 compiler_needs_object=no
9424 enable_shared_with_static_runtimes=no
9425 export_dynamic_flag_spec=
9426 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9427 hardcode_automatic=no
9429 hardcode_direct_absolute=no
9430 hardcode_libdir_flag_spec=
9431 hardcode_libdir_separator=
9433 hardcode_shlibpath_var=unsupported
9435 link_all_deplibs=unknown
9438 old_archive_from_new_cmds=
9439 old_archive_from_expsyms_cmds=
9440 thread_safe_flag_spec=
9441 whole_archive_flag_spec=
9442 # include_expsyms should be a list of space-separated symbols to be *always*
9443 # included in the symbol list
9445 # exclude_expsyms can be an extended regexp of symbols to exclude
9446 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9447 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9448 # as well as any symbol that contains 'd'.
9449 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9450 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9451 # platforms (ab)use it in PIC code, but their linkers get confused if
9452 # the symbol is explicitly referenced. Since portable code cannot
9453 # rely on this symbol name, it's probably fine to never include it in
9454 # preloaded symbol tables.
9455 # Exclude shared library initialization/finalization symbols.
9456 extract_expsyms_cmds=
9459 cygwin* | mingw* | pw32* | cegcc*)
9460 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9461 # When not using gcc, we currently assume that we are using
9462 # Microsoft Visual C++.
9463 if test yes != "$GCC"; then
9468 # we just hope/assume this is gcc and not c89 (= MSVC++)
9474 linux* | k*bsd*-gnu | gnu*)
9481 # On some targets, GNU ld is compatible enough with the native linker
9482 # that we're better off using the native interface for both.
9483 lt_use_gnu_ld_interface=no
9484 if test yes = "$with_gnu_ld"; then
9487 # The AIX port of GNU ld has always aspired to compatibility
9488 # with the native linker. However, as the warning in the GNU ld
9489 # block says, versions before 2.19.5* couldn't really create working
9490 # shared libraries, regardless of the interface used.
9491 case `$LD -v 2>&1` in
9492 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9493 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9494 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9496 lt_use_gnu_ld_interface=yes
9501 lt_use_gnu_ld_interface=yes
9506 if test yes = "$lt_use_gnu_ld_interface"; then
9507 # If archive_cmds runs LD, not CC, wlarc should be empty
9510 # Set some defaults for GNU ld with shared library support. These
9511 # are reset later if shared libraries are not supported. Putting them
9512 # here allows them to be overridden if necessary.
9513 runpath_var=LD_RUN_PATH
9514 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9515 export_dynamic_flag_spec='$wl--export-dynamic'
9516 # ancient GNU ld didn't support --whole-archive et. al.
9517 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9518 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9520 whole_archive_flag_spec=
9522 supports_anon_versioning=no
9523 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9524 *GNU\ gold*) supports_anon_versioning=yes ;;
9525 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9526 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9527 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9528 *\ 2.11.*) ;; # other 2.11 versions
9529 *) supports_anon_versioning=yes ;;
9532 # See if GNU ld supports shared libraries.
9535 # On AIX/PPC, the GNU linker is very broken
9536 if test ia64 != "$host_cpu"; then
9540 *** Warning: the GNU linker, at least up to release 2.19, is reported
9541 *** to be unable to reliably create shared libraries on AIX.
9542 *** Therefore, libtool is disabling shared libraries support. If you
9543 *** really care for shared libraries, you may want to install binutils
9544 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9545 *** You will then need to restart the configuration process.
9554 # see comment about AmigaOS4 .so support
9555 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9556 archive_expsym_cmds=''
9559 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)'
9560 hardcode_libdir_flag_spec='-L$libdir'
9561 hardcode_minus_L=yes
9567 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9568 allow_undefined_flag=unsupported
9569 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9570 # support --undefined. This deserves some investigation. FIXME
9571 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9577 cygwin* | mingw* | pw32* | cegcc*)
9578 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9579 # as there is no search path for DLLs.
9580 hardcode_libdir_flag_spec='-L$libdir'
9581 export_dynamic_flag_spec='$wl--export-all-symbols'
9582 allow_undefined_flag=unsupported
9583 always_export_symbols=no
9584 enable_shared_with_static_runtimes=yes
9585 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'
9586 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9588 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9589 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9590 # If the export-symbols file already is a .def file, use it as
9591 # is; otherwise, prepend EXPORTS...
9592 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9593 cp $export_symbols $output_objdir/$soname.def;
9595 echo EXPORTS > $output_objdir/$soname.def;
9596 cat $export_symbols >> $output_objdir/$soname.def;
9598 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9605 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9606 link_all_deplibs=yes
9610 hardcode_libdir_flag_spec='-L$libdir'
9611 hardcode_minus_L=yes
9612 allow_undefined_flag=unsupported
9614 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9615 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9616 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9617 $ECHO EXPORTS >> $output_objdir/$libname.def~
9618 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9619 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9620 emximp -o $lib $output_objdir/$libname.def'
9621 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9622 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9623 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9624 $ECHO EXPORTS >> $output_objdir/$libname.def~
9626 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9627 prefix_cmds="$prefix_cmds -e 1d";
9629 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9630 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9631 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9632 emximp -o $lib $output_objdir/$libname.def'
9633 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9634 enable_shared_with_static_runtimes=yes
9639 hardcode_shlibpath_var=no
9640 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9641 export_dynamic_flag_spec='$wl-E'
9642 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9643 # Instead, shared libraries are loaded at an image base (0x10000000 by
9644 # default) and relocated if they conflict, which is a slow very memory
9645 # consuming and fragmenting process. To avoid this, we pick a random,
9646 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9647 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9648 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9649 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'
9652 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9654 if test linux-dietlibc = "$host_os"; then
9655 case $cc_basename in
9656 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9659 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9660 && test no = "$tmp_diet"
9662 tmp_addflag=' $pic_flag'
9663 tmp_sharedflag='-shared'
9664 case $cc_basename,$host_cpu in
9665 pgcc*) # Portland Group C compiler
9666 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'
9667 tmp_addflag=' $pic_flag'
9669 pgf77* | pgf90* | pgf95* | pgfortran*)
9670 # Portland Group f77 and f90 compilers
9671 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'
9672 tmp_addflag=' $pic_flag -Mnomain' ;;
9673 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9674 tmp_addflag=' -i_dynamic' ;;
9675 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9676 tmp_addflag=' -i_dynamic -nofor_main' ;;
9677 ifc* | ifort*) # Intel Fortran compiler
9678 tmp_addflag=' -nofor_main' ;;
9679 lf95*) # Lahey Fortran 8.1
9680 whole_archive_flag_spec=
9681 tmp_sharedflag='--shared' ;;
9682 nagfor*) # NAGFOR 5.3
9683 tmp_sharedflag='-Wl,-shared' ;;
9684 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9685 tmp_sharedflag='-qmkshrobj'
9687 nvcc*) # Cuda Compiler Driver 2.2
9688 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'
9689 compiler_needs_object=yes
9692 case `$CC -V 2>&1 | sed 5q` in
9693 *Sun\ C*) # Sun C 5.9
9694 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'
9695 compiler_needs_object=yes
9696 tmp_sharedflag='-G' ;;
9697 *Sun\ F*) # Sun Fortran 8.3
9698 tmp_sharedflag='-G' ;;
9700 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9702 if test yes = "$supports_anon_versioning"; then
9703 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9704 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9705 echo "local: *; };" >> $output_objdir/$libname.ver~
9706 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9709 case $cc_basename in
9711 export_dynamic_flag_spec='-rdynamic'
9713 xlf* | bgf* | bgxlf* | mpixlf*)
9714 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9715 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9716 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9717 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9718 if test yes = "$supports_anon_versioning"; then
9719 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9720 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9721 echo "local: *; };" >> $output_objdir/$libname.ver~
9722 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9731 netbsd* | netbsdelf*-gnu)
9732 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9736 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9737 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9742 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9746 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9747 *** create shared libraries on Solaris systems. Therefore, libtool
9748 *** is disabling shared libraries support. We urge you to upgrade GNU
9749 *** binutils to release 2.9.1 or newer. Another option is to modify
9750 *** your PATH or compiler configuration so that the native linker is
9751 *** used, and then restart.
9754 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9755 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9756 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9762 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9763 case `$LD -v 2>&1` in
9764 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9768 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9769 *** reliably create shared libraries on SCO systems. Therefore, libtool
9770 *** is disabling shared libraries support. We urge you to upgrade GNU
9771 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9772 *** your PATH or compiler configuration so that the native linker is
9773 *** used, and then restart.
9778 # For security reasons, it is highly recommended that you always
9779 # use absolute paths for naming shared libraries, and exclude the
9780 # DT_RUNPATH tag from executables and libraries. But doing so
9781 # requires that you compile everything twice, which is a pain.
9782 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9783 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9784 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9785 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9794 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_shlibpath_var=no
9801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9803 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9810 if test no = "$ld_shlibs"; then
9812 hardcode_libdir_flag_spec=
9813 export_dynamic_flag_spec=
9814 whole_archive_flag_spec=
9817 # PORTME fill in a description of your system's linker (not GNU ld)
9820 allow_undefined_flag=unsupported
9821 always_export_symbols=yes
9822 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'
9823 # Note: this linker hardcodes the directories in LIBPATH if there
9824 # are no directories specified by -L.
9825 hardcode_minus_L=yes
9826 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9827 # Neither direct hardcoding nor static linking is supported with a
9829 hardcode_direct=unsupported
9834 if test ia64 = "$host_cpu"; then
9835 # On IA64, the linker does run time linking by default, so we don't
9836 # have to do anything special.
9837 aix_use_runtimelinking=no
9838 exp_sym_flag='-Bexport'
9841 # If we're using GNU nm, then we don't want the "-C" option.
9842 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9843 # Without the "-l" option, or with the "-B" option, AIX nm treats
9844 # weak defined symbols like other global defined symbols, whereas
9845 # GNU nm marks them as "W".
9846 # While the 'weak' keyword is ignored in the Export File, we need
9847 # it in the Import File for the 'aix-soname' feature, so we have
9848 # to replace the "-B" option with "-P" for AIX nm.
9849 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9850 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9852 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9854 aix_use_runtimelinking=no
9856 # Test if we are trying to use run time linking or normal
9857 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9858 # have runtime linking enabled, and use it for executables.
9859 # For shared libraries, we enable/disable runtime linking
9860 # depending on the kind of the shared library created -
9861 # when "with_aix_soname,aix_use_runtimelinking" is:
9862 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9863 # "aix,yes" lib.so shared, rtl:yes, for executables
9864 # lib.a static archive
9865 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9866 # lib.a(lib.so.V) shared, rtl:no, for executables
9867 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9868 # lib.a(lib.so.V) shared, rtl:no
9869 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9870 # lib.a static archive
9871 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9872 for ld_flag in $LDFLAGS; do
9873 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9874 aix_use_runtimelinking=yes
9878 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9879 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9880 # so we don't have lib.a shared libs to link our executables.
9881 # We have to force runtime linking in this case.
9882 aix_use_runtimelinking=yes
9883 LDFLAGS="$LDFLAGS -Wl,-brtl"
9888 exp_sym_flag='-bexport'
9889 no_entry_flag='-bnoentry'
9892 # When large executables or shared objects are built, AIX ld can
9893 # have problems creating the table of contents. If linking a library
9894 # or program results in "error TOC overflow" add -mminimal-toc to
9895 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9896 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9900 hardcode_direct_absolute=yes
9901 hardcode_libdir_separator=':'
9902 link_all_deplibs=yes
9903 file_list_spec='$wl-f,'
9904 case $with_aix_soname,$aix_use_runtimelinking in
9905 aix,*) ;; # traditional, no import file
9906 svr4,* | *,yes) # use import file
9907 # The Import File defines what to hardcode.
9909 hardcode_direct_absolute=no
9913 if test yes = "$GCC"; then
9914 case $host_os in aix4.[012]|aix4.[012].*)
9915 # We only want to do this on AIX 4.2 and lower, the check
9916 # below for broken collect2 doesn't work under 4.3+
9917 collect2name=`$CC -print-prog-name=collect2`
9918 if test -f "$collect2name" &&
9919 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9921 # We have reworked collect2
9924 # We have old collect2
9925 hardcode_direct=unsupported
9926 # It fails to find uninstalled libraries when the uninstalled
9927 # path is not listed in the libpath. Setting hardcode_minus_L
9928 # to unsupported forces relinking
9929 hardcode_minus_L=yes
9930 hardcode_libdir_flag_spec='-L$libdir'
9931 hardcode_libdir_separator=
9935 shared_flag='-shared'
9936 if test yes = "$aix_use_runtimelinking"; then
9937 shared_flag="$shared_flag "'$wl-G'
9939 # Need to ensure runtime linking is disabled for the traditional
9940 # shared library, or the linker may eventually find shared libraries
9941 # /with/ Import File - we do not want to mix them.
9942 shared_flag_aix='-shared'
9943 shared_flag_svr4='-shared $wl-G'
9946 if test ia64 = "$host_cpu"; then
9947 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9948 # chokes on -Wl,-G. The following line is correct:
9951 if test yes = "$aix_use_runtimelinking"; then
9954 shared_flag='$wl-bM:SRE'
9956 shared_flag_aix='$wl-bM:SRE'
9957 shared_flag_svr4='$wl-G'
9961 export_dynamic_flag_spec='$wl-bexpall'
9962 # It seems that -bexpall does not export symbols beginning with
9963 # underscore (_), so it is better to generate a list of symbols to export.
9964 always_export_symbols=yes
9965 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9966 # Warning - without using the other runtime loading flags (-brtl),
9967 # -berok will link without error, but may produce a broken library.
9968 allow_undefined_flag='-berok'
9969 # Determine the default libpath from the value encoded in an
9971 if test set = "${lt_cv_aix_libpath+set}"; then
9972 aix_libpath=$lt_cv_aix_libpath
9974 if ${lt_cv_aix_libpath_+:} false; then :
9975 $as_echo_n "(cached) " >&6
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9988 if ac_fn_c_try_link "$LINENO"; then :
9990 lt_aix_libpath_sed='
9991 /Import File Strings/,/^$/ {
9993 s/^0 *\([^ ]*\) *$/\1/
9997 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9998 # Check for a 64-bit object if we didn't find anything.
9999 if test -z "$lt_cv_aix_libpath_"; then
10000 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 if test -z "$lt_cv_aix_libpath_"; then
10006 lt_cv_aix_libpath_=/usr/lib:/lib
10011 aix_libpath=$lt_cv_aix_libpath_
10014 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10015 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
10017 if test ia64 = "$host_cpu"; then
10018 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10019 allow_undefined_flag="-z nodefs"
10020 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"
10022 # Determine the default libpath from the value encoded in an
10023 # empty executable.
10024 if test set = "${lt_cv_aix_libpath+set}"; then
10025 aix_libpath=$lt_cv_aix_libpath
10027 if ${lt_cv_aix_libpath_+:} false; then :
10028 $as_echo_n "(cached) " >&6
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10041 if ac_fn_c_try_link "$LINENO"; then :
10043 lt_aix_libpath_sed='
10044 /Import File Strings/,/^$/ {
10046 s/^0 *\([^ ]*\) *$/\1/
10050 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10051 # Check for a 64-bit object if we didn't find anything.
10052 if test -z "$lt_cv_aix_libpath_"; then
10053 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 if test -z "$lt_cv_aix_libpath_"; then
10059 lt_cv_aix_libpath_=/usr/lib:/lib
10064 aix_libpath=$lt_cv_aix_libpath_
10067 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10068 # Warning - without using the other run time loading flags,
10069 # -berok will link without error, but may produce a broken library.
10070 no_undefined_flag=' $wl-bernotok'
10071 allow_undefined_flag=' $wl-berok'
10072 if test yes = "$with_gnu_ld"; then
10073 # We only use this code for GNU lds that support --whole-archive.
10074 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10076 # Exported symbols can be pulled into shared objects from archives
10077 whole_archive_flag_spec='$convenience'
10079 archive_cmds_need_lc=yes
10080 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10081 # -brtl affects multiple linker settings, -berok does not and is overridden later
10082 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10083 if test svr4 != "$with_aix_soname"; then
10084 # This is similar to how AIX traditionally builds its shared libraries.
10085 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10087 if test aix != "$with_aix_soname"; then
10088 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10090 # used by -dlpreopen to get the symbols
10091 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10093 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10101 # see comment about AmigaOS4 .so support
10102 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10103 archive_expsym_cmds=''
10106 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)'
10107 hardcode_libdir_flag_spec='-L$libdir'
10108 hardcode_minus_L=yes
10114 export_dynamic_flag_spec=-rdynamic
10117 cygwin* | mingw* | pw32* | cegcc*)
10118 # When not using gcc, we currently assume that we are using
10119 # Microsoft Visual C++.
10120 # hardcode_libdir_flag_spec is actually meaningless, as there is
10121 # no search path for DLLs.
10122 case $cc_basename in
10125 hardcode_libdir_flag_spec=' '
10126 allow_undefined_flag=unsupported
10127 always_export_symbols=yes
10129 # Tell ltmain to make .lib files, not .a files.
10131 # Tell ltmain to make .dll files, not .so files.
10133 # FIXME: Setting linknames here is a bad hack.
10134 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10135 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10136 cp "$export_symbols" "$output_objdir/$soname.def";
10137 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10139 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10141 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10143 # The linker will not automatically build a static lib if we build a DLL.
10144 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10145 enable_shared_with_static_runtimes=yes
10146 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10147 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10149 old_postinstall_cmds='chmod 644 $oldlib'
10150 postlink_cmds='lt_outputfile="@OUTPUT@"~
10151 lt_tool_outputfile="@TOOL_OUTPUT@"~
10152 case $lt_outputfile in
10155 lt_outputfile=$lt_outputfile.exe
10156 lt_tool_outputfile=$lt_tool_outputfile.exe
10159 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10160 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10161 $RM "$lt_outputfile.manifest";
10165 # Assume MSVC wrapper
10166 hardcode_libdir_flag_spec=' '
10167 allow_undefined_flag=unsupported
10168 # Tell ltmain to make .lib files, not .a files.
10170 # Tell ltmain to make .dll files, not .so files.
10172 # FIXME: Setting linknames here is a bad hack.
10173 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10174 # The linker will automatically build a .lib file if we build a DLL.
10175 old_archive_from_new_cmds='true'
10176 # FIXME: Should let the user specify the lib program.
10177 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10178 enable_shared_with_static_runtimes=yes
10183 darwin* | rhapsody*)
10186 archive_cmds_need_lc=no
10188 hardcode_automatic=yes
10189 hardcode_shlibpath_var=unsupported
10190 if test yes = "$lt_cv_ld_force_load"; then
10191 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\"`'
10194 whole_archive_flag_spec=''
10196 link_all_deplibs=yes
10197 allow_undefined_flag=$_lt_dar_allow_undefined
10198 case $cc_basename in
10199 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10200 *) _lt_dar_can_shared=$GCC ;;
10202 if test yes = "$_lt_dar_can_shared"; then
10203 output_verbose_link_cmd=func_echo_all
10204 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10205 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10206 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"
10207 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"
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_libdir_flag_spec='-L$libdir'
10218 hardcode_shlibpath_var=no
10221 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10222 # support. Future versions do this automatically, but an explicit c++rt0.o
10223 # does not break anything, and helps significantly (at the cost of a little
10226 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10227 hardcode_libdir_flag_spec='-R$libdir'
10228 hardcode_direct=yes
10229 hardcode_shlibpath_var=no
10232 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10234 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_direct=yes
10236 hardcode_minus_L=yes
10237 hardcode_shlibpath_var=no
10240 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10241 freebsd* | dragonfly*)
10242 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10243 hardcode_libdir_flag_spec='-R$libdir'
10244 hardcode_direct=yes
10245 hardcode_shlibpath_var=no
10249 if test yes = "$GCC"; then
10250 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'
10252 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'
10254 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10255 hardcode_libdir_separator=:
10256 hardcode_direct=yes
10258 # hardcode_minus_L: Not really in the search PATH,
10259 # but as the default location of the library.
10260 hardcode_minus_L=yes
10261 export_dynamic_flag_spec='$wl-E'
10265 if test yes,no = "$GCC,$with_gnu_ld"; then
10266 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10268 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10270 if test no = "$with_gnu_ld"; then
10271 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10272 hardcode_libdir_separator=:
10273 hardcode_direct=yes
10274 hardcode_direct_absolute=yes
10275 export_dynamic_flag_spec='$wl-E'
10276 # hardcode_minus_L: Not really in the search PATH,
10277 # but as the default location of the library.
10278 hardcode_minus_L=yes
10283 if test yes,no = "$GCC,$with_gnu_ld"; then
10286 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10301 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10305 # Older versions of the 11.00 compiler do not understand -b yet
10306 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10308 $as_echo_n "checking if $CC understands -b... " >&6; }
10309 if ${lt_cv_prog_compiler__b+:} false; then :
10310 $as_echo_n "(cached) " >&6
10312 lt_cv_prog_compiler__b=no
10313 save_LDFLAGS=$LDFLAGS
10314 LDFLAGS="$LDFLAGS -b"
10315 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10316 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10317 # The linker can only warn and ignore the option if not recognized
10318 # So say no if there are warnings
10319 if test -s conftest.err; then
10320 # Append any errors to the config.log.
10321 cat conftest.err 1>&5
10322 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10324 if diff conftest.exp conftest.er2 >/dev/null; then
10325 lt_cv_prog_compiler__b=yes
10328 lt_cv_prog_compiler__b=yes
10332 LDFLAGS=$save_LDFLAGS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10336 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10338 if test yes = "$lt_cv_prog_compiler__b"; then
10339 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10347 if test no = "$with_gnu_ld"; then
10348 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10349 hardcode_libdir_separator=:
10354 hardcode_shlibpath_var=no
10357 hardcode_direct=yes
10358 hardcode_direct_absolute=yes
10359 export_dynamic_flag_spec='$wl-E'
10361 # hardcode_minus_L: Not really in the search PATH,
10362 # but as the default location of the library.
10363 hardcode_minus_L=yes
10369 irix5* | irix6* | nonstopux*)
10370 if test yes = "$GCC"; then
10371 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'
10372 # Try to use the -exported_symbol ld option, if it does not
10373 # work, assume that -exports_file does not work either and
10374 # implicitly export all symbols.
10375 # This should be the same for all languages, so no per-tag cache variable.
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10377 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10378 if ${lt_cv_irix_exported_symbol+:} false; then :
10379 $as_echo_n "(cached) " >&6
10381 save_LDFLAGS=$LDFLAGS
10382 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10385 int foo (void) { return 0; }
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 lt_cv_irix_exported_symbol=yes
10390 lt_cv_irix_exported_symbol=no
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LDFLAGS=$save_LDFLAGS
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10397 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10398 if test yes = "$lt_cv_irix_exported_symbol"; then
10399 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'
10401 link_all_deplibs=no
10403 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'
10404 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'
10406 archive_cmds_need_lc='no'
10407 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10408 hardcode_libdir_separator=:
10410 link_all_deplibs=yes
10414 case $cc_basename in
10416 # Fabrice Bellard et al's Tiny C Compiler
10418 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10423 netbsd* | netbsdelf*-gnu)
10424 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10425 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10427 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10429 hardcode_libdir_flag_spec='-R$libdir'
10430 hardcode_direct=yes
10431 hardcode_shlibpath_var=no
10435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10436 hardcode_direct=yes
10437 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10438 hardcode_libdir_separator=:
10439 hardcode_shlibpath_var=no
10445 openbsd* | bitrig*)
10446 if test -f /usr/libexec/ld.so; then
10447 hardcode_direct=yes
10448 hardcode_shlibpath_var=no
10449 hardcode_direct_absolute=yes
10450 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10451 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10452 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10453 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10454 export_dynamic_flag_spec='$wl-E'
10456 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10457 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10465 hardcode_libdir_flag_spec='-L$libdir'
10466 hardcode_minus_L=yes
10467 allow_undefined_flag=unsupported
10469 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10470 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10471 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10472 $ECHO EXPORTS >> $output_objdir/$libname.def~
10473 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10474 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10475 emximp -o $lib $output_objdir/$libname.def'
10476 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10477 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10478 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10479 $ECHO EXPORTS >> $output_objdir/$libname.def~
10480 prefix_cmds="$SED"~
10481 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10482 prefix_cmds="$prefix_cmds -e 1d";
10484 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10485 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10486 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10487 emximp -o $lib $output_objdir/$libname.def'
10488 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10489 enable_shared_with_static_runtimes=yes
10493 if test yes = "$GCC"; then
10494 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10495 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'
10497 allow_undefined_flag=' -expect_unresolved \*'
10498 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'
10500 archive_cmds_need_lc='no'
10501 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10502 hardcode_libdir_separator=:
10505 osf4* | osf5*) # as osf3* with the addition of -msym flag
10506 if test yes = "$GCC"; then
10507 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10508 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'
10509 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10511 allow_undefined_flag=' -expect_unresolved \*'
10512 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'
10513 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~
10514 $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'
10516 # Both c and cxx compiler support -rpath directly
10517 hardcode_libdir_flag_spec='-rpath $libdir'
10519 archive_cmds_need_lc='no'
10520 hardcode_libdir_separator=:
10524 no_undefined_flag=' -z defs'
10525 if test yes = "$GCC"; then
10527 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10529 $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'
10531 case `$CC -V 2>&1` in
10534 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10536 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10540 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10542 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10546 hardcode_libdir_flag_spec='-R$libdir'
10547 hardcode_shlibpath_var=no
10549 solaris2.[0-5] | solaris2.[0-5].*) ;;
10551 # The compiler driver will combine and reorder linker options,
10552 # but understands '-z linker_flag'. GCC discards it without '$wl',
10553 # but is careful enough not to reorder.
10554 # Supported since Solaris 2.6 (maybe 2.5.1?)
10555 if test yes = "$GCC"; then
10556 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10558 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10562 link_all_deplibs=yes
10566 if test sequent = "$host_vendor"; then
10567 # Use $CC to link under sequent, because it throws in some extra .o
10568 # files that make .init and .fini sections work.
10569 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10571 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_libdir_flag_spec='-L$libdir'
10574 hardcode_direct=yes
10575 hardcode_minus_L=yes
10576 hardcode_shlibpath_var=no
10580 case $host_vendor in
10582 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_direct=yes # is this really true???
10586 ## LD is ld it makes a PLAMLIB
10587 ## CC just makes a GrossModule.
10588 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10589 reload_cmds='$CC -r -o $output$reload_objs'
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10597 runpath_var='LD_RUN_PATH'
10598 hardcode_shlibpath_var=no
10602 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10603 hardcode_shlibpath_var=no
10604 export_dynamic_flag_spec='-Bexport'
10608 if test -d /usr/nec; then
10609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_shlibpath_var=no
10611 runpath_var=LD_RUN_PATH
10612 hardcode_runpath_var=yes
10617 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10618 no_undefined_flag='$wl-z,text'
10619 archive_cmds_need_lc=no
10620 hardcode_shlibpath_var=no
10621 runpath_var='LD_RUN_PATH'
10623 if test yes = "$GCC"; then
10624 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 sysv5* | sco3.2v5* | sco5v6*)
10633 # Note: We CANNOT use -z defs as we might desire, because we do not
10634 # link with -lc, and that would cause any symbols used from libc to
10635 # always be unresolved, which means just about no library would
10636 # ever link correctly. If we're not using GNU ld we use -z text
10637 # though, which does catch some bad symbols but isn't as heavy-handed
10639 no_undefined_flag='$wl-z,text'
10640 allow_undefined_flag='$wl-z,nodefs'
10641 archive_cmds_need_lc=no
10642 hardcode_shlibpath_var=no
10643 hardcode_libdir_flag_spec='$wl-R,$libdir'
10644 hardcode_libdir_separator=':'
10645 link_all_deplibs=yes
10646 export_dynamic_flag_spec='$wl-Bexport'
10647 runpath_var='LD_RUN_PATH'
10649 if test yes = "$GCC"; then
10650 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_libdir_flag_spec='-L$libdir'
10661 hardcode_shlibpath_var=no
10669 if test sni = "$host_vendor"; then
10671 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10672 export_dynamic_flag_spec='$wl-Blargedynsym'
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10679 $as_echo "$ld_shlibs" >&6; }
10680 test no = "$ld_shlibs" && can_build_shared=no
10682 with_gnu_ld=$with_gnu_ld
10699 # Do we need to explicitly link libc?
10701 case "x$archive_cmds_need_lc" in
10703 # Assume -lc should be added
10704 archive_cmds_need_lc=yes
10706 if test yes,yes = "$GCC,$enable_shared"; then
10707 case $archive_cmds in
10709 # FIXME: we may have to deal with multi-command sequences.
10712 # Test whether the compiler implicitly links with -lc since on some
10713 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10714 # to ld, don't add -lc before -lgcc.
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10716 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10717 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10718 $as_echo_n "(cached) " >&6
10721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10724 (eval $ac_compile) 2>&5
10726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10727 test $ac_status = 0; } 2>conftest.err; then
10730 libobjs=conftest.$ac_objext
10732 wl=$lt_prog_compiler_wl
10733 pic_flag=$lt_prog_compiler_pic
10739 lt_save_allow_undefined_flag=$allow_undefined_flag
10740 allow_undefined_flag=
10741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10742 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10745 test $ac_status = 0; }
10747 lt_cv_archive_cmds_need_lc=no
10749 lt_cv_archive_cmds_need_lc=yes
10751 allow_undefined_flag=$lt_save_allow_undefined_flag
10753 cat conftest.err 1>&5
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10759 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10760 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10919 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10921 if test yes = "$GCC"; then
10923 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10924 *) lt_awk_arg='/^libraries:/' ;;
10927 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10928 *) lt_sed_strip_eq='s|=/|/|g' ;;
10930 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10931 case $lt_search_path_spec in
10933 # if the path contains ";" then we assume it to be the separator
10934 # otherwise default to the standard path separator (i.e. ":") - it is
10935 # assumed that no part of a normal pathname contains ";" but that should
10936 # okay in the real world where ";" in dirpaths is itself problematic.
10937 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10940 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10943 # Ok, now we have the path, separated by spaces, we can step through it
10944 # and add multilib dir if necessary...
10945 lt_tmp_lt_search_path_spec=
10946 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10947 # ...but if some path component already ends with the multilib dir we assume
10948 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10949 case "$lt_multi_os_dir; $lt_search_path_spec " in
10950 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10954 for lt_sys_path in $lt_search_path_spec; do
10955 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10956 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10957 elif test -n "$lt_multi_os_dir"; then
10958 test -d "$lt_sys_path" && \
10959 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10962 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10963 BEGIN {RS = " "; FS = "/|\n";} {
10966 for (lt_i = NF; lt_i > 0; lt_i--) {
10967 if ($lt_i != "" && $lt_i != ".") {
10968 if ($lt_i == "..") {
10971 if (lt_count == 0) {
10972 lt_foo = "/" $lt_i lt_foo;
10979 if (lt_foo != "") { lt_freq[lt_foo]++; }
10980 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10982 # AWK program above erroneously prepends '/' to C:/dos/paths
10985 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10986 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10988 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10990 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10992 library_names_spec=
10993 libname_spec='lib$name'
10997 postuninstall_cmds=
11001 shlibpath_overrides_runpath=unknown
11003 dynamic_linker="$host_os ld.so"
11004 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11005 need_lib_prefix=unknown
11006 hardcode_into_libs=no
11008 # when you set need_version to no, make sure it does not cause -set_version
11009 # flags to be left without arguments
11010 need_version=unknown
11016 version_type=linux # correct to gnu/linux during the next big refactor
11017 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11018 shlibpath_var=LIBPATH
11020 # AIX 3 has no versioning support, so we append a major version to the name.
11021 soname_spec='$libname$release$shared_ext$major'
11025 version_type=linux # correct to gnu/linux during the next big refactor
11028 hardcode_into_libs=yes
11029 if test ia64 = "$host_cpu"; then
11030 # AIX 5 supports IA64
11031 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11032 shlibpath_var=LD_LIBRARY_PATH
11034 # With GCC up to 2.95.x, collect2 would create an import file
11035 # for dependence libraries. The import file would start with
11036 # the line '#! .'. This would cause the generated library to
11037 # depend on '.', always an invalid library. This was fixed in
11038 # development snapshots of GCC prior to 3.0.
11040 aix4 | aix4.[01] | aix4.[01].*)
11041 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11043 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11046 can_build_shared=no
11050 # Using Import Files as archive members, it is possible to support
11051 # filename-based versioning of shared library archives on AIX. While
11052 # this would work for both with and without runtime linking, it will
11053 # prevent static linking of such archives. So we do filename-based
11054 # shared library versioning with .so extension only, which is used
11055 # when both runtime linking and shared linking is enabled.
11056 # Unfortunately, runtime linking may impact performance, so we do
11057 # not want this to be the default eventually. Also, we use the
11058 # versioned .so libs for executables only if there is the -brtl
11059 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11060 # To allow for filename-based versioning support, we need to create
11061 # libNAME.so.V as an archive file, containing:
11062 # *) an Import File, referring to the versioned filename of the
11063 # archive as well as the shared archive member, telling the
11064 # bitwidth (32 or 64) of that shared object, and providing the
11065 # list of exported symbols of that shared object, eventually
11066 # decorated with the 'weak' keyword
11067 # *) the shared object with the F_LOADONLY flag set, to really avoid
11068 # it being seen by the linker.
11069 # At run time we better use the real file rather than another symlink,
11070 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11072 case $with_aix_soname,$aix_use_runtimelinking in
11073 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11074 # soname into executable. Probably we can add versioning support to
11075 # collect2, so additional links can be useful in future.
11076 aix,yes) # traditional libtool
11077 dynamic_linker='AIX unversionable lib.so'
11078 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11079 # instead of lib<name>.a to let people know that these are not
11080 # typical AIX shared libraries.
11081 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11083 aix,no) # traditional AIX only
11084 dynamic_linker='AIX lib.a(lib.so.V)'
11085 # We preserve .a as extension for shared libraries through AIX4.2
11086 # and later when we are not doing run time linking.
11087 library_names_spec='$libname$release.a $libname.a'
11088 soname_spec='$libname$release$shared_ext$major'
11090 svr4,*) # full svr4 only
11091 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11092 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11093 # We do not specify a path in Import Files, so LIBPATH fires.
11094 shlibpath_overrides_runpath=yes
11096 *,yes) # both, prefer svr4
11097 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11098 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11099 # unpreferred sharedlib libNAME.a needs extra handling
11100 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11101 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11102 # We do not specify a path in Import Files, so LIBPATH fires.
11103 shlibpath_overrides_runpath=yes
11105 *,no) # both, prefer aix
11106 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11107 library_names_spec='$libname$release.a $libname.a'
11108 soname_spec='$libname$release$shared_ext$major'
11109 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11110 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11111 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11114 shlibpath_var=LIBPATH
11121 # Since July 2007 AmigaOS4 officially supports .so libraries.
11122 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11123 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11126 library_names_spec='$libname.ixlibrary $libname.a'
11127 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11128 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'
11134 library_names_spec='$libname$shared_ext'
11135 dynamic_linker="$host_os ld.so"
11136 shlibpath_var=LIBRARY_PATH
11140 version_type=linux # correct to gnu/linux during the next big refactor
11142 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11143 soname_spec='$libname$release$shared_ext$major'
11144 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11145 shlibpath_var=LD_LIBRARY_PATH
11146 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11147 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11148 # the default ld.so.conf also contains /usr/contrib/lib and
11149 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11150 # libtool to hard-code these into programs
11153 cygwin* | mingw* | pw32* | cegcc*)
11154 version_type=windows
11159 case $GCC,$cc_basename in
11162 library_names_spec='$libname.dll.a'
11163 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11164 postinstall_cmds='base_file=`basename \$file`~
11165 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11166 dldir=$destdir/`dirname \$dlpath`~
11167 test -d \$dldir || mkdir -p \$dldir~
11168 $install_prog $dir/$dlname \$dldir/$dlname~
11169 chmod a+x \$dldir/$dlname~
11170 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11171 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11173 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11174 dlpath=$dir/\$dldll~
11176 shlibpath_overrides_runpath=yes
11180 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11181 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11183 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11186 # MinGW DLLs use traditional 'lib' prefix
11187 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11190 # pw32 DLLs use 'pw' prefix rather than 'lib'
11191 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11194 dynamic_linker='Win32 ld.exe'
11199 libname_spec='$name'
11200 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11201 library_names_spec='$libname.dll.lib'
11205 sys_lib_search_path_spec=
11208 for lt_path in $LIB
11211 # Let DOS variable expansion print the short 8.3 style file name.
11212 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11213 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11216 # Convert to MSYS style.
11217 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11220 # Convert to unix form, then to dos form, then back to unix form
11221 # but this time dos style (no spaces!) so that the unix form looks
11222 # like /cygdrive/c/PROGRA~1:/cygdr...
11223 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11224 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11225 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11228 sys_lib_search_path_spec=$LIB
11229 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11230 # It is most probably a Windows format PATH.
11231 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11233 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11235 # FIXME: find the short name or the path components, as spaces are
11236 # common. (e.g. "Program Files" -> "PROGRA~1")
11240 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11241 postinstall_cmds='base_file=`basename \$file`~
11242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11243 dldir=$destdir/`dirname \$dlpath`~
11244 test -d \$dldir || mkdir -p \$dldir~
11245 $install_prog $dir/$dlname \$dldir/$dlname'
11246 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11247 dlpath=$dir/\$dldll~
11249 shlibpath_overrides_runpath=yes
11250 dynamic_linker='Win32 link.exe'
11254 # Assume MSVC wrapper
11255 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11256 dynamic_linker='Win32 ld.exe'
11259 # FIXME: first we should search . and the directory the executable is in
11263 darwin* | rhapsody*)
11264 dynamic_linker="$host_os dyld"
11265 version_type=darwin
11268 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11269 soname_spec='$libname$release$major$shared_ext'
11270 shlibpath_overrides_runpath=yes
11271 shlibpath_var=DYLD_LIBRARY_PATH
11272 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11274 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11275 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11279 version_type=linux # correct to gnu/linux during the next big refactor
11282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11283 soname_spec='$libname$release$shared_ext$major'
11284 shlibpath_var=LD_LIBRARY_PATH
11287 freebsd* | dragonfly*)
11288 # DragonFly does not have aout. When/if they implement a new
11289 # versioning mechanism, adjust this.
11290 if test -x /usr/bin/objformat; then
11291 objformat=`/usr/bin/objformat`
11294 freebsd[23].*) objformat=aout ;;
11295 *) objformat=elf ;;
11298 version_type=freebsd-$objformat
11299 case $version_type in
11301 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11302 soname_spec='$libname$release$shared_ext$major'
11307 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11311 shlibpath_var=LD_LIBRARY_PATH
11314 shlibpath_overrides_runpath=yes
11316 freebsd3.[01]* | freebsdelf3.[01]*)
11317 shlibpath_overrides_runpath=yes
11318 hardcode_into_libs=yes
11320 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11321 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11322 shlibpath_overrides_runpath=no
11323 hardcode_into_libs=yes
11325 *) # from 4.6 on, and DragonFly
11326 shlibpath_overrides_runpath=yes
11327 hardcode_into_libs=yes
11333 version_type=linux # correct to gnu/linux during the next big refactor
11336 dynamic_linker="$host_os runtime_loader"
11337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11338 soname_spec='$libname$release$shared_ext$major'
11339 shlibpath_var=LIBRARY_PATH
11340 shlibpath_overrides_runpath=no
11341 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11342 hardcode_into_libs=yes
11345 hpux9* | hpux10* | hpux11*)
11346 # Give a soname corresponding to the major version so that dld.sl refuses to
11347 # link against other versions.
11354 hardcode_into_libs=yes
11355 dynamic_linker="$host_os dld.so"
11356 shlibpath_var=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11358 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11359 soname_spec='$libname$release$shared_ext$major'
11360 if test 32 = "$HPUX_IA64_MODE"; then
11361 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11362 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11364 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11365 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11370 hardcode_into_libs=yes
11371 dynamic_linker="$host_os dld.sl"
11372 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11373 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11374 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11375 soname_spec='$libname$release$shared_ext$major'
11376 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11377 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11381 dynamic_linker="$host_os dld.sl"
11382 shlibpath_var=SHLIB_PATH
11383 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11384 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11385 soname_spec='$libname$release$shared_ext$major'
11388 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11389 postinstall_cmds='chmod 555 $lib'
11390 # or fails outright, so override atomically:
11391 install_override_mode=555
11395 version_type=linux # correct to gnu/linux during the next big refactor
11398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11399 soname_spec='$libname$release$shared_ext$major'
11400 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11401 shlibpath_var=LD_LIBRARY_PATH
11402 shlibpath_overrides_runpath=no
11403 hardcode_into_libs=yes
11406 irix5* | irix6* | nonstopux*)
11408 nonstopux*) version_type=nonstopux ;;
11410 if test yes = "$lt_cv_prog_gnu_ld"; then
11411 version_type=linux # correct to gnu/linux during the next big refactor
11418 soname_spec='$libname$release$shared_ext$major'
11419 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11421 irix5* | nonstopux*)
11422 libsuff= shlibsuff=
11425 case $LD in # libtool.m4 will add one of these switches to LD
11426 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11427 libsuff= shlibsuff= libmagic=32-bit;;
11428 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11429 libsuff=32 shlibsuff=N32 libmagic=N32;;
11430 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11431 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11432 *) libsuff= shlibsuff= libmagic=never-match;;
11436 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11437 shlibpath_overrides_runpath=no
11438 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11439 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11440 hardcode_into_libs=yes
11443 # No shared lib support for Linux oldld, aout, or coff.
11444 linux*oldld* | linux*aout* | linux*coff*)
11449 version_type=none # Android doesn't support versioned libraries.
11452 library_names_spec='$libname$release$shared_ext'
11453 soname_spec='$libname$release$shared_ext'
11455 shlibpath_var=LD_LIBRARY_PATH
11456 shlibpath_overrides_runpath=yes
11458 # This implies no fast_install, which is unacceptable.
11459 # Some rework will be needed to allow for fast_install
11460 # before this can be enabled.
11461 hardcode_into_libs=yes
11463 dynamic_linker='Android linker'
11464 # Don't embed -rpath directories since the linker doesn't support them.
11465 hardcode_libdir_flag_spec='-L$libdir'
11468 # This must be glibc/ELF.
11469 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11470 version_type=linux # correct to gnu/linux during the next big refactor
11473 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11474 soname_spec='$libname$release$shared_ext$major'
11475 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11476 shlibpath_var=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath=no
11479 # Some binutils ld are patched to set DT_RUNPATH
11480 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11481 $as_echo_n "(cached) " >&6
11483 lt_cv_shlibpath_overrides_runpath=no
11484 save_LDFLAGS=$LDFLAGS
11485 save_libdir=$libdir
11486 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11487 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11501 lt_cv_shlibpath_overrides_runpath=yes
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LDFLAGS=$save_LDFLAGS
11507 libdir=$save_libdir
11511 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11513 # This implies no fast_install, which is unacceptable.
11514 # Some rework will be needed to allow for fast_install
11515 # before this can be enabled.
11516 hardcode_into_libs=yes
11518 # Ideally, we could use ldconfig to report *all* directores which are
11519 # searched for libraries, however this is still not possible. Aside from not
11520 # being certain /sbin/ldconfig is available, command
11521 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11522 # even though it is searched at run-time. Try to do the best guess by
11523 # appending ld.so.conf contents (and includes) to the search path.
11524 if test -f /etc/ld.so.conf; then
11525 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' ' '`
11526 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11529 # We used to test for /lib/ld.so.1 and disable shared libraries on
11530 # powerpc, because MkLinux only supported shared libraries with the
11531 # GNU dynamic linker. Since this was broken with cross compilers,
11532 # most powerpc-linux boxes support dynamic linking these days and
11533 # people can always --disable-shared, the test was removed, and we
11534 # assume the GNU/Linux dynamic linker is in use.
11535 dynamic_linker='GNU/Linux ld.so'
11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11543 soname_spec='${libname}${release}${shared_ext}$major'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=no
11546 hardcode_into_libs=yes
11547 dynamic_linker='NetBSD ld.elf_so'
11554 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11555 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11556 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11557 dynamic_linker='NetBSD (a.out) ld.so'
11559 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11560 soname_spec='$libname$release$shared_ext$major'
11561 dynamic_linker='NetBSD ld.elf_so'
11563 shlibpath_var=LD_LIBRARY_PATH
11564 shlibpath_overrides_runpath=yes
11565 hardcode_into_libs=yes
11569 version_type=linux # correct to gnu/linux during the next big refactor
11570 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath=yes
11579 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11580 soname_spec='$libname$release$shared_ext$major'
11581 shlibpath_var=LD_LIBRARY_PATH
11582 shlibpath_overrides_runpath=no
11583 hardcode_into_libs=yes
11584 dynamic_linker='ldqnx.so'
11587 openbsd* | bitrig*)
11589 sys_lib_dlsearch_path_spec=/usr/lib
11591 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11596 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11598 shlibpath_var=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath=yes
11603 libname_spec='$name'
11604 version_type=windows
11608 # OS/2 can only load a DLL with a base name of 8 characters or less.
11609 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11610 v=$($ECHO $release$versuffix | tr -d .-);
11611 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11612 $ECHO $n$v`$shared_ext'
11613 library_names_spec='${libname}_dll.$libext'
11614 dynamic_linker='OS/2 ld.exe'
11615 shlibpath_var=BEGINLIBPATH
11616 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11618 postinstall_cmds='base_file=`basename \$file`~
11619 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11620 dldir=$destdir/`dirname \$dlpath`~
11621 test -d \$dldir || mkdir -p \$dldir~
11622 $install_prog $dir/$dlname \$dldir/$dlname~
11623 chmod a+x \$dldir/$dlname~
11624 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11625 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11627 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11628 dlpath=$dir/\$dldll~
11632 osf3* | osf4* | osf5*)
11636 soname_spec='$libname$release$shared_ext$major'
11637 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11638 shlibpath_var=LD_LIBRARY_PATH
11639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11640 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11648 version_type=linux # correct to gnu/linux during the next big refactor
11651 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11652 soname_spec='$libname$release$shared_ext$major'
11653 shlibpath_var=LD_LIBRARY_PATH
11654 shlibpath_overrides_runpath=yes
11655 hardcode_into_libs=yes
11656 # ldd complains unless libraries are executable
11657 postinstall_cmds='chmod +x $lib'
11662 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 shlibpath_overrides_runpath=yes
11666 if test yes = "$with_gnu_ld"; then
11673 version_type=linux # correct to gnu/linux during the next big refactor
11674 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11675 soname_spec='$libname$release$shared_ext$major'
11676 shlibpath_var=LD_LIBRARY_PATH
11677 case $host_vendor in
11679 shlibpath_overrides_runpath=no
11681 runpath_var=LD_RUN_PATH
11689 shlibpath_overrides_runpath=no
11690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11696 if test -d /usr/nec; then
11697 version_type=linux # correct to gnu/linux during the next big refactor
11698 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11699 soname_spec='$libname$shared_ext.$major'
11700 shlibpath_var=LD_LIBRARY_PATH
11704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11708 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11709 soname_spec='$libname$release$shared_ext$major'
11710 shlibpath_var=LD_LIBRARY_PATH
11711 shlibpath_overrides_runpath=yes
11712 hardcode_into_libs=yes
11713 if test yes = "$with_gnu_ld"; then
11714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11723 sys_lib_dlsearch_path_spec='/usr/lib'
11727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11728 version_type=linux # correct to gnu/linux during the next big refactor
11731 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11732 shlibpath_var=LD_LIBRARY_PATH
11733 shlibpath_overrides_runpath=no
11734 hardcode_into_libs=yes
11738 version_type=linux # correct to gnu/linux during the next big refactor
11739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11740 soname_spec='$libname$release$shared_ext$major'
11741 shlibpath_var=LD_LIBRARY_PATH
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11749 $as_echo "$dynamic_linker" >&6; }
11750 test no = "$dynamic_linker" && can_build_shared=no
11752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11753 if test yes = "$GCC"; then
11754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11757 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11758 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11761 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11762 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11765 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11766 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11768 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11769 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11771 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11772 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11871 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11873 if test -n "$hardcode_libdir_flag_spec" ||
11874 test -n "$runpath_var" ||
11875 test yes = "$hardcode_automatic"; then
11877 # We can hardcode non-existent directories.
11878 if test no != "$hardcode_direct" &&
11879 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11880 # have to relink, otherwise we might link with an installed library
11881 # when we should be linking with a yet-to-be-installed one
11882 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11883 test no != "$hardcode_minus_L"; then
11884 # Linking always hardcodes the temporary library directory.
11885 hardcode_action=relink
11887 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11888 hardcode_action=immediate
11891 # We cannot hardcode anything, or else we can only hardcode existing
11893 hardcode_action=unsupported
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11896 $as_echo "$hardcode_action" >&6; }
11898 if test relink = "$hardcode_action" ||
11899 test yes = "$inherit_rpath"; then
11900 # Fast installation is not supported
11901 enable_fast_install=no
11902 elif test yes = "$shlibpath_overrides_runpath" ||
11903 test no = "$enable_shared"; then
11904 # Fast installation is not necessary
11905 enable_fast_install=needless
11913 if test yes != "$enable_dlopen"; then
11914 enable_dlopen=unknown
11915 enable_dlopen_self=unknown
11916 enable_dlopen_self_static=unknown
11923 lt_cv_dlopen=load_add_on
11925 lt_cv_dlopen_self=yes
11928 mingw* | pw32* | cegcc*)
11929 lt_cv_dlopen=LoadLibrary
11934 lt_cv_dlopen=dlopen
11939 # if libdl is installed we need to link against it
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11941 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11942 if ${ac_cv_lib_dl_dlopen+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_check_lib_save_LIBS=$LIBS
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 ac_cv_lib_dl_dlopen=yes
11968 ac_cv_lib_dl_dlopen=no
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11975 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11976 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11977 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11982 lt_cv_dlopen_self=yes
11989 # Don't try to run any link tests for TPF. We know it's impossible
11990 # because TPF is a cross-compiler, and we know how we open DSOs.
11991 lt_cv_dlopen=dlopen
11993 lt_cv_dlopen_self=no
11997 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11998 if test "x$ac_cv_func_shl_load" = xyes; then :
11999 lt_cv_dlopen=shl_load
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12002 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12003 if ${ac_cv_lib_dld_shl_load+:} false; then :
12004 $as_echo_n "(cached) " >&6
12006 ac_check_lib_save_LIBS=$LIBS
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12021 return shl_load ();
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 ac_cv_lib_dld_shl_load=yes
12029 ac_cv_lib_dld_shl_load=no
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12036 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12037 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12038 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12040 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12041 if test "x$ac_cv_func_dlopen" = xyes; then :
12042 lt_cv_dlopen=dlopen
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12045 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12046 if ${ac_cv_lib_dl_dlopen+:} false; then :
12047 $as_echo_n "(cached) " >&6
12049 ac_check_lib_save_LIBS=$LIBS
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12069 if ac_fn_c_try_link "$LINENO"; then :
12070 ac_cv_lib_dl_dlopen=yes
12072 ac_cv_lib_dl_dlopen=no
12074 rm -f core conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_lib_save_LIBS
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12080 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12081 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12084 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12085 if ${ac_cv_lib_svld_dlopen+:} false; then :
12086 $as_echo_n "(cached) " >&6
12088 ac_check_lib_save_LIBS=$LIBS
12089 LIBS="-lsvld $LIBS"
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12093 /* Override any GCC internal prototype to avoid an error.
12094 Use char because int might match the return type of a GCC
12095 builtin and then its argument prototype would still apply. */
12108 if ac_fn_c_try_link "$LINENO"; then :
12109 ac_cv_lib_svld_dlopen=yes
12111 ac_cv_lib_svld_dlopen=no
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12118 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12119 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12120 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12123 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12124 if ${ac_cv_lib_dld_dld_link+:} false; then :
12125 $as_echo_n "(cached) " >&6
12127 ac_check_lib_save_LIBS=$LIBS
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12142 return dld_link ();
12147 if ac_fn_c_try_link "$LINENO"; then :
12148 ac_cv_lib_dld_dld_link=yes
12150 ac_cv_lib_dld_dld_link=no
12152 rm -f core conftest.err conftest.$ac_objext \
12153 conftest$ac_exeext conftest.$ac_ext
12154 LIBS=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12157 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12158 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12159 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12180 if test no = "$lt_cv_dlopen"; then
12186 case $lt_cv_dlopen in
12188 save_CPPFLAGS=$CPPFLAGS
12189 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12191 save_LDFLAGS=$LDFLAGS
12192 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12195 LIBS="$lt_cv_dlopen_libs $LIBS"
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12198 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12199 if ${lt_cv_dlopen_self+:} false; then :
12200 $as_echo_n "(cached) " >&6
12202 if test yes = "$cross_compiling"; then :
12203 lt_cv_dlopen_self=cross
12205 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12206 lt_status=$lt_dlunknown
12207 cat > conftest.$ac_ext <<_LT_EOF
12208 #line $LINENO "configure"
12209 #include "confdefs.h"
12218 # define LT_DLGLOBAL RTLD_GLOBAL
12221 # define LT_DLGLOBAL DL_GLOBAL
12223 # define LT_DLGLOBAL 0
12227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12228 find out it does not work in some platform. */
12229 #ifndef LT_DLLAZY_OR_NOW
12231 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12234 # define LT_DLLAZY_OR_NOW DL_LAZY
12237 # define LT_DLLAZY_OR_NOW RTLD_NOW
12240 # define LT_DLLAZY_OR_NOW DL_NOW
12242 # define LT_DLLAZY_OR_NOW 0
12249 /* When -fvisibility=hidden is used, assume the code has been annotated
12250 correspondingly for the symbols needed. */
12251 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12252 int fnord () __attribute__((visibility("default")));
12255 int fnord () { return 42; }
12258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12259 int status = $lt_dlunknown;
12263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12266 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12267 else puts (dlerror ());
12269 /* dlclose (self); */
12277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12278 (eval $ac_link) 2>&5
12280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12281 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12282 (./conftest; exit; ) >&5 2>/dev/null
12284 case x$lt_status in
12285 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12286 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12287 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12290 # compilation failed
12291 lt_cv_dlopen_self=no
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12299 $as_echo "$lt_cv_dlopen_self" >&6; }
12301 if test yes = "$lt_cv_dlopen_self"; then
12302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12304 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12305 if ${lt_cv_dlopen_self_static+:} false; then :
12306 $as_echo_n "(cached) " >&6
12308 if test yes = "$cross_compiling"; then :
12309 lt_cv_dlopen_self_static=cross
12311 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12312 lt_status=$lt_dlunknown
12313 cat > conftest.$ac_ext <<_LT_EOF
12314 #line $LINENO "configure"
12315 #include "confdefs.h"
12324 # define LT_DLGLOBAL RTLD_GLOBAL
12327 # define LT_DLGLOBAL DL_GLOBAL
12329 # define LT_DLGLOBAL 0
12333 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12334 find out it does not work in some platform. */
12335 #ifndef LT_DLLAZY_OR_NOW
12337 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12340 # define LT_DLLAZY_OR_NOW DL_LAZY
12343 # define LT_DLLAZY_OR_NOW RTLD_NOW
12346 # define LT_DLLAZY_OR_NOW DL_NOW
12348 # define LT_DLLAZY_OR_NOW 0
12355 /* When -fvisibility=hidden is used, assume the code has been annotated
12356 correspondingly for the symbols needed. */
12357 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12358 int fnord () __attribute__((visibility("default")));
12361 int fnord () { return 42; }
12364 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12365 int status = $lt_dlunknown;
12369 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12372 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12373 else puts (dlerror ());
12375 /* dlclose (self); */
12383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12384 (eval $ac_link) 2>&5
12386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12387 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12388 (./conftest; exit; ) >&5 2>/dev/null
12390 case x$lt_status in
12391 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12392 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12393 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12396 # compilation failed
12397 lt_cv_dlopen_self_static=no
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12405 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12408 CPPFLAGS=$save_CPPFLAGS
12409 LDFLAGS=$save_LDFLAGS
12414 case $lt_cv_dlopen_self in
12415 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12416 *) enable_dlopen_self=unknown ;;
12419 case $lt_cv_dlopen_self_static in
12420 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12421 *) enable_dlopen_self_static=unknown ;;
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12444 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12445 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12446 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12447 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12449 $as_echo "yes" >&6; }
12451 # FIXME - insert some real tests, host_os isn't really good enough
12454 if test -n "$STRIP"; then
12455 striplib="$STRIP -x"
12456 old_striplib="$STRIP -S"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12458 $as_echo "yes" >&6; }
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12461 $as_echo "no" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12482 # Report what library types will actually be built
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12484 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12486 $as_echo "$can_build_shared" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12489 $as_echo_n "checking whether to build shared libraries... " >&6; }
12490 test no = "$can_build_shared" && enable_shared=no
12492 # On AIX, shared libraries and static libraries use the same namespace, and
12493 # are all built from PIC.
12496 test yes = "$enable_shared" && enable_static=no
12497 if test -n "$RANLIB"; then
12498 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12499 postinstall_cmds='$RANLIB $lib'
12504 if test ia64 != "$host_cpu"; then
12505 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12506 yes,aix,yes) ;; # shared object as lib.so file only
12507 yes,svr4,*) ;; # shared object as lib.so archive member only
12508 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12514 $as_echo "$enable_shared" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12517 $as_echo_n "checking whether to build static libraries... " >&6; }
12518 # Make sure either enable_shared or enable_static is yes.
12519 test yes = "$enable_shared" || enable_static=yes
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12521 $as_echo "$enable_static" >&6; }
12528 ac_cpp='$CPP $CPPFLAGS'
12529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12549 ac_config_commands="$ac_config_commands libtool"
12554 # Only expand once:
12559 GLIB_REQUIRED=2.38.0
12560 # Check whether --enable-glibtest was given.
12561 if test "${enable_glibtest+set}" = set; then :
12562 enableval=$enable_glibtest;
12564 enable_glibtest=yes
12568 pkg_config_args=glib-2.0
12569 for module in . gobject gio
12573 pkg_config_args="$pkg_config_args gmodule-2.0"
12576 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
12579 pkg_config_args="$pkg_config_args gobject-2.0"
12582 pkg_config_args="$pkg_config_args gthread-2.0"
12585 pkg_config_args="$pkg_config_args $module-2.0"
12597 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12598 if test -n "$ac_tool_prefix"; then
12599 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12600 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12602 $as_echo_n "checking for $ac_word... " >&6; }
12603 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12604 $as_echo_n "(cached) " >&6
12606 case $PKG_CONFIG in
12608 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12612 for as_dir in $PATH
12615 test -z "$as_dir" && as_dir=.
12616 for ac_exec_ext in '' $ac_executable_extensions; do
12617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12618 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12629 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12630 if test -n "$PKG_CONFIG"; then
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12632 $as_echo "$PKG_CONFIG" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12635 $as_echo "no" >&6; }
12640 if test -z "$ac_cv_path_PKG_CONFIG"; then
12641 ac_pt_PKG_CONFIG=$PKG_CONFIG
12642 # Extract the first word of "pkg-config", so it can be a program name with args.
12643 set dummy pkg-config; ac_word=$2
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12645 $as_echo_n "checking for $ac_word... " >&6; }
12646 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12647 $as_echo_n "(cached) " >&6
12649 case $ac_pt_PKG_CONFIG in
12651 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12655 for as_dir in $PATH
12658 test -z "$as_dir" && as_dir=.
12659 for ac_exec_ext in '' $ac_executable_extensions; do
12660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12661 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12672 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12673 if test -n "$ac_pt_PKG_CONFIG"; then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12675 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12678 $as_echo "no" >&6; }
12681 if test "x$ac_pt_PKG_CONFIG" = x; then
12684 case $cross_compiling:$ac_tool_warned in
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12688 ac_tool_warned=yes ;;
12690 PKG_CONFIG=$ac_pt_PKG_CONFIG
12693 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12697 if test -n "$PKG_CONFIG"; then
12698 _pkg_min_version=0.16
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12700 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12701 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12703 $as_echo "yes" >&6; }
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12706 $as_echo "no" >&6; }
12713 if test "x$PKG_CONFIG" = x ; then
12718 min_glib_version=$GLIB_REQUIRED
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12720 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12722 if test x$PKG_CONFIG != xno ; then
12723 ## don't try to run the test against uninstalled libtool libs
12724 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12725 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12729 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12736 if test x"$no_glib" = x ; then
12737 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12738 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12739 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12740 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12742 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12743 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12744 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12746 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12748 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12750 if test "x$enable_glibtest" = "xyes" ; then
12751 ac_save_CFLAGS="$CFLAGS"
12752 ac_save_LIBS="$LIBS"
12753 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12754 LIBS="$GLIB_LIBS $LIBS"
12755 rm -f conf.glibtest
12756 if test "$cross_compiling" = yes; then :
12757 echo $ac_n "cross compiling; assumed OK... $ac_c"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12764 #include <stdlib.h>
12769 unsigned int major, minor, micro;
12771 fclose (fopen ("conf.glibtest", "w"));
12773 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) {
12774 printf("%s, bad version string\n", "$min_glib_version");
12778 if ((glib_major_version != $glib_config_major_version) ||
12779 (glib_minor_version != $glib_config_minor_version) ||
12780 (glib_micro_version != $glib_config_micro_version))
12782 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12783 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12784 glib_major_version, glib_minor_version, glib_micro_version);
12785 printf ("*** was found! If pkg-config was correct, then it is best\n");
12786 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12787 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12788 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12789 printf("*** required on your system.\n");
12790 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12791 printf("*** to point to the correct configuration files\n");
12793 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12794 (glib_minor_version != GLIB_MINOR_VERSION) ||
12795 (glib_micro_version != GLIB_MICRO_VERSION))
12797 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12798 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12799 printf("*** library (version %d.%d.%d)\n",
12800 glib_major_version, glib_minor_version, glib_micro_version);
12804 if ((glib_major_version > major) ||
12805 ((glib_major_version == major) && (glib_minor_version > minor)) ||
12806 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12812 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12813 glib_major_version, glib_minor_version, glib_micro_version);
12814 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12815 major, minor, micro);
12816 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12818 printf("*** If you have already installed a sufficiently new version, this error\n");
12819 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12820 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12821 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12822 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12823 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12824 printf("*** so that the correct libraries are found at run-time))\n");
12831 if ac_fn_c_try_run "$LINENO"; then :
12836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12837 conftest.$ac_objext conftest.beam conftest.$ac_ext
12840 CFLAGS="$ac_save_CFLAGS"
12841 LIBS="$ac_save_LIBS"
12844 if test "x$no_glib" = x ; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12846 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12851 if test "$PKG_CONFIG" = "no" ; then
12852 echo "*** A new enough version of pkg-config was not found."
12853 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12855 if test -f conf.glibtest ; then
12858 echo "*** Could not run GLIB test program, checking why..."
12859 ac_save_CFLAGS="$CFLAGS"
12860 ac_save_LIBS="$LIBS"
12861 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12862 LIBS="$LIBS $GLIB_LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12872 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12877 if ac_fn_c_try_link "$LINENO"; then :
12878 echo "*** The test program compiled, but did not run. This usually means"
12879 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12880 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12881 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12882 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12883 echo "*** is required on your system"
12885 echo "*** If you have an old version installed, it is best to remove it, although"
12886 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12888 echo "*** The test program failed to compile or link. See the file config.log for the"
12889 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12891 rm -f core conftest.err conftest.$ac_objext \
12892 conftest$ac_exeext conftest.$ac_ext
12893 CFLAGS="$ac_save_CFLAGS"
12894 LIBS="$ac_save_LIBS"
12902 GLIB_COMPILE_RESOURCES=""
12911 rm -f conf.glibtest
12913 if test "$GLIB_LIBS" = ""; then
12914 as_fn_error $? "GLIB $GLIB_REQUIRED or later is required to build libsoup" "$LINENO" 5
12916 GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38"
12918 GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib'
12922 # Check whether --enable-installed-tests was given.
12923 if test "${enable_installed_tests+set}" = set; then :
12924 enableval=$enable_installed_tests; case ${enableval} in
12925 yes) ENABLE_INSTALLED_TESTS="1" ;;
12926 no) ENABLE_INSTALLED_TESTS="" ;;
12927 *) as_fn_error $? "bad value ${enableval} for --enable-installed-tests" "$LINENO" 5 ;;
12931 if test "$ENABLE_INSTALLED_TESTS" = "1"; then
12932 ENABLE_INSTALLED_TESTS_TRUE=
12933 ENABLE_INSTALLED_TESTS_FALSE='#'
12935 ENABLE_INSTALLED_TESTS_TRUE='#'
12936 ENABLE_INSTALLED_TESTS_FALSE=
12939 # Check whether --enable-always-build-tests was given.
12940 if test "${enable_always_build_tests+set}" = set; then :
12941 enableval=$enable_always_build_tests; case ${enableval} in
12942 yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
12943 no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
12944 *) as_fn_error $? "bad value ${enableval} for --enable-always-build-tests" "$LINENO" 5 ;;
12948 if test "$ENABLE_ALWAYS_BUILD_TESTS" = "1"; then
12949 ENABLE_ALWAYS_BUILD_TESTS_TRUE=
12950 ENABLE_ALWAYS_BUILD_TESTS_FALSE='#'
12952 ENABLE_ALWAYS_BUILD_TESTS_TRUE='#'
12953 ENABLE_ALWAYS_BUILD_TESTS_FALSE=
12956 if test "$ENABLE_INSTALLED_TESTS" = "1"; then
12957 installed_test_metadir=${datadir}/installed-tests/libsoup
12959 installed_testdir=${libexecdir}/installed-tests/libsoup
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
12967 $as_echo_n "checking for XML... " >&6; }
12969 if test -n "$XML_CFLAGS"; then
12970 pkg_cv_XML_CFLAGS="$XML_CFLAGS"
12971 elif test -n "$PKG_CONFIG"; then
12972 if test -n "$PKG_CONFIG" && \
12973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12974 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12977 test $ac_status = 0; }; then
12978 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
12979 test "x$?" != "x0" && pkg_failed=yes
12986 if test -n "$XML_LIBS"; then
12987 pkg_cv_XML_LIBS="$XML_LIBS"
12988 elif test -n "$PKG_CONFIG"; then
12989 if test -n "$PKG_CONFIG" && \
12990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12991 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12994 test $ac_status = 0; }; then
12995 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
12996 test "x$?" != "x0" && pkg_failed=yes
13006 if test $pkg_failed = yes; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13008 $as_echo "no" >&6; }
13010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13011 _pkg_short_errors_supported=yes
13013 _pkg_short_errors_supported=no
13015 if test $_pkg_short_errors_supported = yes; then
13016 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
13018 XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
13020 # Put the nasty error message in config.log where it belongs
13021 echo "$XML_PKG_ERRORS" >&5
13023 as_fn_error $? "Package requirements (libxml-2.0) were not met:
13027 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13028 installed software in a non-standard prefix.
13030 Alternatively, you may set the environment variables XML_CFLAGS
13031 and XML_LIBS to avoid the need to call pkg-config.
13032 See the pkg-config man page for more details." "$LINENO" 5
13033 elif test $pkg_failed = untried; then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035 $as_echo "no" >&6; }
13036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13038 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13039 is in your PATH or set the PKG_CONFIG environment variable to the full
13040 path to pkg-config.
13042 Alternatively, you may set the environment variables XML_CFLAGS
13043 and XML_LIBS to avoid the need to call pkg-config.
13044 See the pkg-config man page for more details.
13046 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13047 See \`config.log' for more details" "$LINENO" 5; }
13049 XML_CFLAGS=$pkg_cv_XML_CFLAGS
13050 XML_LIBS=$pkg_cv_XML_LIBS
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13052 $as_echo "yes" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
13061 $as_echo_n "checking for SQLITE... " >&6; }
13063 if test -n "$SQLITE_CFLAGS"; then
13064 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
13065 elif test -n "$PKG_CONFIG"; then
13066 if test -n "$PKG_CONFIG" && \
13067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
13068 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071 test $ac_status = 0; }; then
13072 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
13073 test "x$?" != "x0" && pkg_failed=yes
13080 if test -n "$SQLITE_LIBS"; then
13081 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
13082 elif test -n "$PKG_CONFIG"; then
13083 if test -n "$PKG_CONFIG" && \
13084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
13085 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
13087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13088 test $ac_status = 0; }; then
13089 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
13090 test "x$?" != "x0" && pkg_failed=yes
13100 if test $pkg_failed = yes; then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102 $as_echo "no" >&6; }
13104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13105 _pkg_short_errors_supported=yes
13107 _pkg_short_errors_supported=no
13109 if test $_pkg_short_errors_supported = yes; then
13110 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
13112 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
13114 # Put the nasty error message in config.log where it belongs
13115 echo "$SQLITE_PKG_ERRORS" >&5
13117 as_fn_error $? "Package requirements (sqlite3) were not met:
13121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13122 installed software in a non-standard prefix.
13124 Alternatively, you may set the environment variables SQLITE_CFLAGS
13125 and SQLITE_LIBS to avoid the need to call pkg-config.
13126 See the pkg-config man page for more details." "$LINENO" 5
13127 elif test $pkg_failed = untried; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129 $as_echo "no" >&6; }
13130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13132 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13133 is in your PATH or set the PKG_CONFIG environment variable to the full
13134 path to pkg-config.
13136 Alternatively, you may set the environment variables SQLITE_CFLAGS
13137 and SQLITE_LIBS to avoid the need to call pkg-config.
13138 See the pkg-config man page for more details.
13140 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13141 See \`config.log' for more details" "$LINENO" 5; }
13143 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
13144 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13146 $as_echo "yes" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
13154 $as_echo_n "checking for Win32... " >&6; }
13159 CFLAGS="$CFLAGS -D_REENTRANT"
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
13171 $as_echo "$os_win32" >&6; }
13172 if test $os_win32 = yes; then
13180 if test $os_linux = yes; then
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13191 $as_echo_n "checking whether NLS is requested... " >&6; }
13192 # Check whether --enable-nls was given.
13193 if test "${enable_nls+set}" = set; then :
13194 enableval=$enable_nls; USE_NLS=$enableval
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13200 $as_echo "$USE_NLS" >&6; }
13205 case "$am__api_version" in
13207 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13213 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13214 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13215 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13216 if test -n "0.35.0"; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
13218 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13220 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13221 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13222 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
13225 # Extract the first word of "intltool-update", so it can be a program name with args.
13226 set dummy intltool-update; ac_word=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13228 $as_echo_n "checking for $ac_word... " >&6; }
13229 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13230 $as_echo_n "(cached) " >&6
13232 case $INTLTOOL_UPDATE in
13234 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13238 for as_dir in $PATH
13241 test -z "$as_dir" && as_dir=.
13242 for ac_exec_ext in '' $ac_executable_extensions; do
13243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13244 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13256 if test -n "$INTLTOOL_UPDATE"; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13258 $as_echo "$INTLTOOL_UPDATE" >&6; }
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13261 $as_echo "no" >&6; }
13265 # Extract the first word of "intltool-merge", so it can be a program name with args.
13266 set dummy intltool-merge; ac_word=$2
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13268 $as_echo_n "checking for $ac_word... " >&6; }
13269 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13270 $as_echo_n "(cached) " >&6
13272 case $INTLTOOL_MERGE in
13274 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $PATH
13281 test -z "$as_dir" && as_dir=.
13282 for ac_exec_ext in '' $ac_executable_extensions; do
13283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13284 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13295 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13296 if test -n "$INTLTOOL_MERGE"; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13298 $as_echo "$INTLTOOL_MERGE" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13305 # Extract the first word of "intltool-extract", so it can be a program name with args.
13306 set dummy intltool-extract; ac_word=$2
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13308 $as_echo_n "checking for $ac_word... " >&6; }
13309 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13310 $as_echo_n "(cached) " >&6
13312 case $INTLTOOL_EXTRACT in
13314 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13318 for as_dir in $PATH
13321 test -z "$as_dir" && as_dir=.
13322 for ac_exec_ext in '' $ac_executable_extensions; do
13323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13324 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13335 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13336 if test -n "$INTLTOOL_EXTRACT"; then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13338 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13341 $as_echo "no" >&6; }
13345 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13346 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13349 if test -z "$AM_DEFAULT_VERBOSITY"; then
13350 AM_DEFAULT_VERBOSITY=1
13354 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13355 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13356 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13361 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13362 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13363 intltool__v_merge_options_0='-q'
13368 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13369 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13370 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13371 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13372 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
13373 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13374 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13375 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13376 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13377 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13378 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13379 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13380 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
13382 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
13384 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13385 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13386 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13387 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13388 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13389 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13390 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13488 # Check the gettext tools to make sure they are GNU
13489 # Extract the first word of "xgettext", so it can be a program name with args.
13490 set dummy xgettext; ac_word=$2
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13492 $as_echo_n "checking for $ac_word... " >&6; }
13493 if ${ac_cv_path_XGETTEXT+:} false; then :
13494 $as_echo_n "(cached) " >&6
13498 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13502 for as_dir in $PATH
13505 test -z "$as_dir" && as_dir=.
13506 for ac_exec_ext in '' $ac_executable_extensions; do
13507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13508 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13519 XGETTEXT=$ac_cv_path_XGETTEXT
13520 if test -n "$XGETTEXT"; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13522 $as_echo "$XGETTEXT" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13525 $as_echo "no" >&6; }
13529 # Extract the first word of "msgmerge", so it can be a program name with args.
13530 set dummy msgmerge; ac_word=$2
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13532 $as_echo_n "checking for $ac_word... " >&6; }
13533 if ${ac_cv_path_MSGMERGE+:} false; then :
13534 $as_echo_n "(cached) " >&6
13538 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13542 for as_dir in $PATH
13545 test -z "$as_dir" && as_dir=.
13546 for ac_exec_ext in '' $ac_executable_extensions; do
13547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13548 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13559 MSGMERGE=$ac_cv_path_MSGMERGE
13560 if test -n "$MSGMERGE"; then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13562 $as_echo "$MSGMERGE" >&6; }
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13565 $as_echo "no" >&6; }
13569 # Extract the first word of "msgfmt", so it can be a program name with args.
13570 set dummy msgfmt; ac_word=$2
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13572 $as_echo_n "checking for $ac_word... " >&6; }
13573 if ${ac_cv_path_MSGFMT+:} false; then :
13574 $as_echo_n "(cached) " >&6
13578 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13582 for as_dir in $PATH
13585 test -z "$as_dir" && as_dir=.
13586 for ac_exec_ext in '' $ac_executable_extensions; do
13587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13588 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13599 MSGFMT=$ac_cv_path_MSGFMT
13600 if test -n "$MSGFMT"; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13602 $as_echo "$MSGFMT" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605 $as_echo "no" >&6; }
13609 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13610 set dummy gmsgfmt; ac_word=$2
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13612 $as_echo_n "checking for $ac_word... " >&6; }
13613 if ${ac_cv_path_GMSGFMT+:} false; then :
13614 $as_echo_n "(cached) " >&6
13618 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13622 for as_dir in $PATH
13625 test -z "$as_dir" && as_dir=.
13626 for ac_exec_ext in '' $ac_executable_extensions; do
13627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13628 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13636 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13640 GMSGFMT=$ac_cv_path_GMSGFMT
13641 if test -n "$GMSGFMT"; then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13643 $as_echo "$GMSGFMT" >&6; }
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13646 $as_echo "no" >&6; }
13650 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13651 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13653 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13654 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13655 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13656 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13657 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13660 # Extract the first word of "perl", so it can be a program name with args.
13661 set dummy perl; ac_word=$2
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13663 $as_echo_n "checking for $ac_word... " >&6; }
13664 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13665 $as_echo_n "(cached) " >&6
13667 case $INTLTOOL_PERL in
13669 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13673 for as_dir in $PATH
13676 test -z "$as_dir" && as_dir=.
13677 for ac_exec_ext in '' $ac_executable_extensions; do
13678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13679 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13690 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13691 if test -n "$INTLTOOL_PERL"; then
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13693 $as_echo "$INTLTOOL_PERL" >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13696 $as_echo "no" >&6; }
13700 if test -z "$INTLTOOL_PERL"; then
13701 as_fn_error $? "perl not found" "$LINENO" 5
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13704 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13705 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13706 if test $? -ne 0; then
13707 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13709 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13711 $as_echo "$IT_PERL_VERSION" >&6; }
13713 if test "x" != "xno-xml"; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13715 $as_echo_n "checking for XML::Parser... " >&6; }
13716 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13718 $as_echo "ok" >&6; }
13720 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13724 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13730 GETTEXT_PACKAGE=libsoup
13733 cat >>confdefs.h <<_ACEOF
13734 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13738 for ac_func in gmtime_r
13740 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
13741 if test "x$ac_cv_func_gmtime_r" = xyes; then :
13742 cat >>confdefs.h <<_ACEOF
13743 #define HAVE_GMTIME_R 1
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libsoup-gnome" >&5
13751 $as_echo_n "checking whether to build libsoup-gnome... " >&6; }
13753 # Check whether --with-gnome was given.
13754 if test "${with_gnome+set}" = set; then :
13755 withval=$with_gnome; :
13757 if test $os_win32 = yes; then with_gnome=no; else with_gnome=yes; fi
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnome" >&5
13761 $as_echo "$with_gnome" >&6; }
13763 if test $with_gnome != no; then
13764 BUILD_LIBSOUP_GNOME_TRUE=
13765 BUILD_LIBSOUP_GNOME_FALSE='#'
13767 BUILD_LIBSOUP_GNOME_TRUE='#'
13768 BUILD_LIBSOUP_GNOME_FALSE=
13772 if test $with_gnome != no; then
13774 $as_echo "#define HAVE_GNOME 1" >>confdefs.h
13780 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13781 # it on it's own line.
13786 gtk_doc_requires="gtk-doc >= 1.20"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
13788 $as_echo_n "checking for gtk-doc... " >&6; }
13789 if test -n "$PKG_CONFIG" && \
13790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
13791 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13794 test $ac_status = 0; }; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
13800 $as_echo "$have_gtk_doc" >&6; }
13802 if test "$have_gtk_doc" = "no"; then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13804 You will not be able to create source packages with 'make dist'
13805 because $gtk_doc_requires is not found." >&5
13806 $as_echo "$as_me: WARNING:
13807 You will not be able to create source packages with 'make dist'
13808 because $gtk_doc_requires is not found." >&2;}
13811 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13812 set dummy gtkdoc-check; ac_word=$2
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13814 $as_echo_n "checking for $ac_word... " >&6; }
13815 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
13816 $as_echo_n "(cached) " >&6
13818 if test -n "$GTKDOC_CHECK"; then
13819 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
13821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13822 for as_dir in $PATH
13825 test -z "$as_dir" && as_dir=.
13826 for ac_exec_ext in '' $ac_executable_extensions; do
13827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13828 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
13829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13838 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
13839 if test -n "$GTKDOC_CHECK"; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13841 $as_echo "$GTKDOC_CHECK" >&6; }
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13844 $as_echo "no" >&6; }
13848 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13849 set dummy gtkdoc-check; ac_word=$2
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13851 $as_echo_n "checking for $ac_word... " >&6; }
13852 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
13853 $as_echo_n "(cached) " >&6
13855 case $GTKDOC_CHECK_PATH in
13857 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
13860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13861 for as_dir in $PATH
13864 test -z "$as_dir" && as_dir=.
13865 for ac_exec_ext in '' $ac_executable_extensions; do
13866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13867 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
13868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13878 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
13879 if test -n "$GTKDOC_CHECK_PATH"; then
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
13881 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13884 $as_echo "no" >&6; }
13888 for ac_prog in gtkdoc-rebase
13890 # Extract the first word of "$ac_prog", so it can be a program name with args.
13891 set dummy $ac_prog; ac_word=$2
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13893 $as_echo_n "checking for $ac_word... " >&6; }
13894 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13895 $as_echo_n "(cached) " >&6
13897 case $GTKDOC_REBASE in
13899 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13903 for as_dir in $PATH
13906 test -z "$as_dir" && as_dir=.
13907 for ac_exec_ext in '' $ac_executable_extensions; do
13908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13909 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13920 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13921 if test -n "$GTKDOC_REBASE"; then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13923 $as_echo "$GTKDOC_REBASE" >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13926 $as_echo "no" >&6; }
13930 test -n "$GTKDOC_REBASE" && break
13932 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13934 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13935 set dummy gtkdoc-mkpdf; ac_word=$2
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13937 $as_echo_n "checking for $ac_word... " >&6; }
13938 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13939 $as_echo_n "(cached) " >&6
13941 case $GTKDOC_MKPDF in
13943 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13953 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13965 if test -n "$GTKDOC_MKPDF"; then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13967 $as_echo "$GTKDOC_MKPDF" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970 $as_echo "no" >&6; }
13976 # Check whether --with-html-dir was given.
13977 if test "${with_html_dir+set}" = set; then :
13978 withval=$with_html_dir;
13980 with_html_dir='${datadir}/gtk-doc/html'
13983 HTML_DIR="$with_html_dir"
13986 # Check whether --enable-gtk-doc was given.
13987 if test "${enable_gtk_doc+set}" = set; then :
13988 enableval=$enable_gtk_doc;
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13995 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13997 $as_echo "$enable_gtk_doc" >&6; }
13999 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
14001 You must have $gtk_doc_requires installed to build documentation for
14002 $PACKAGE_NAME. Please install gtk-doc or disable building the
14003 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
14006 if test "x$PACKAGE_NAME" != "xglib"; then
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14010 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14012 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14013 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14014 elif test -n "$PKG_CONFIG"; then
14015 if test -n "$PKG_CONFIG" && \
14016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14017 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14020 test $ac_status = 0; }; then
14021 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14022 test "x$?" != "x0" && pkg_failed=yes
14029 if test -n "$GTKDOC_DEPS_LIBS"; then
14030 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14031 elif test -n "$PKG_CONFIG"; then
14032 if test -n "$PKG_CONFIG" && \
14033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14034 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14037 test $ac_status = 0; }; then
14038 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14039 test "x$?" != "x0" && pkg_failed=yes
14049 if test $pkg_failed = yes; then
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14051 $as_echo "no" >&6; }
14053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14054 _pkg_short_errors_supported=yes
14056 _pkg_short_errors_supported=no
14058 if test $_pkg_short_errors_supported = yes; then
14059 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14061 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14063 # Put the nasty error message in config.log where it belongs
14064 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14067 elif test $pkg_failed = untried; then
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14069 $as_echo "no" >&6; }
14072 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14073 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14075 $as_echo "yes" >&6; }
14080 # Check whether --enable-gtk-doc-html was given.
14081 if test "${enable_gtk_doc_html+set}" = set; then :
14082 enableval=$enable_gtk_doc_html;
14084 enable_gtk_doc_html=yes
14087 # Check whether --enable-gtk-doc-pdf was given.
14088 if test "${enable_gtk_doc_pdf+set}" = set; then :
14089 enableval=$enable_gtk_doc_pdf;
14091 enable_gtk_doc_pdf=no
14095 if test -z "$GTKDOC_MKPDF"; then
14096 enable_gtk_doc_pdf=no
14099 if test -z "$AM_DEFAULT_VERBOSITY"; then
14100 AM_DEFAULT_VERBOSITY=1
14104 if test x$have_gtk_doc = xyes; then
14106 HAVE_GTK_DOC_FALSE='#'
14108 HAVE_GTK_DOC_TRUE='#'
14109 HAVE_GTK_DOC_FALSE=
14112 if test x$enable_gtk_doc = xyes; then
14113 ENABLE_GTK_DOC_TRUE=
14114 ENABLE_GTK_DOC_FALSE='#'
14116 ENABLE_GTK_DOC_TRUE='#'
14117 ENABLE_GTK_DOC_FALSE=
14120 if test x$enable_gtk_doc_html = xyes; then
14121 GTK_DOC_BUILD_HTML_TRUE=
14122 GTK_DOC_BUILD_HTML_FALSE='#'
14124 GTK_DOC_BUILD_HTML_TRUE='#'
14125 GTK_DOC_BUILD_HTML_FALSE=
14128 if test x$enable_gtk_doc_pdf = xyes; then
14129 GTK_DOC_BUILD_PDF_TRUE=
14130 GTK_DOC_BUILD_PDF_FALSE='#'
14132 GTK_DOC_BUILD_PDF_TRUE='#'
14133 GTK_DOC_BUILD_PDF_FALSE=
14136 if test -n "$LIBTOOL"; then
14137 GTK_DOC_USE_LIBTOOL_TRUE=
14138 GTK_DOC_USE_LIBTOOL_FALSE='#'
14140 GTK_DOC_USE_LIBTOOL_TRUE='#'
14141 GTK_DOC_USE_LIBTOOL_FALSE=
14144 if test -n "$GTKDOC_REBASE"; then
14145 GTK_DOC_USE_REBASE_TRUE=
14146 GTK_DOC_USE_REBASE_FALSE='#'
14148 GTK_DOC_USE_REBASE_TRUE='#'
14149 GTK_DOC_USE_REBASE_FALSE=
14158 # Check whether --enable-introspection was given.
14159 if test "${enable_introspection+set}" = set; then :
14160 enableval=$enable_introspection;
14162 enable_introspection=auto
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14167 $as_echo_n "checking for gobject-introspection... " >&6; }
14169 case $enable_introspection in #(
14171 found_introspection="no (disabled, use --enable-introspection to enable)"
14174 if test -n "$PKG_CONFIG" && \
14175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14176 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14179 test $ac_status = 0; }; then
14182 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14184 if test -n "$PKG_CONFIG" && \
14185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
14186 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
14188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14189 test $ac_status = 0; }; then
14190 found_introspection=yes
14192 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build libsoup" "$LINENO" 5
14196 if test -n "$PKG_CONFIG" && \
14197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
14198 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
14200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14201 test $ac_status = 0; }; then
14202 found_introspection=yes
14204 found_introspection=no
14208 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14212 $as_echo "$found_introspection" >&6; }
14214 INTROSPECTION_SCANNER=
14215 INTROSPECTION_COMPILER=
14216 INTROSPECTION_GENERATE=
14217 INTROSPECTION_GIRDIR=
14218 INTROSPECTION_TYPELIBDIR=
14219 if test "x$found_introspection" = "xyes"; then
14220 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14221 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14222 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14223 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14224 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14225 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14226 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14227 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14238 if test "x$found_introspection" = "xyes"; then
14239 HAVE_INTROSPECTION_TRUE=
14240 HAVE_INTROSPECTION_FALSE='#'
14242 HAVE_INTROSPECTION_TRUE='#'
14243 HAVE_INTROSPECTION_FALSE=
14249 if test "$found_introspection" != "yes" -a "$enable_vala" = ""; then
14252 # Extract the first word of "valac", so it can be a program name with args.
14253 set dummy valac; ac_word=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if ${ac_cv_path_VALAC+:} false; then :
14257 $as_echo_n "(cached) " >&6
14261 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
14264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265 for as_dir in $PATH
14268 test -z "$as_dir" && as_dir=.
14269 for ac_exec_ext in '' $ac_executable_extensions; do
14270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14271 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
14272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
14283 VALAC=$ac_cv_path_VALAC
14284 if test -n "$VALAC"; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
14286 $as_echo "$VALAC" >&6; }
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14289 $as_echo "no" >&6; }
14293 if test "$VALAC" != valac && test -n ""; then :
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version " >&5
14295 $as_echo_n "checking whether $VALAC is at least version ... " >&6; }
14296 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
14298 as_arg_v2="$am__vala_version"
14299 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14303 $as_echo "yes" >&6; } ;; #(
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14306 $as_echo "yes" >&6; } ;; #(
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14309 $as_echo "no" >&6; }
14315 if test "$VALAC" = valac; then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
14317 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
14319 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
14327 # Check whether --enable-vala was given.
14328 if test "${enable_vala+set}" = set; then :
14329 enableval=$enable_vala;
14332 if test "x" = "x"; then :
14344 if test "x$enable_vala" = "xyes" -o "x$enable_vala" = "xauto"; then :
14346 if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
14348 as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5
14354 if test "x$enable_vala" != "no"; then :
14356 vapigen_pkg_found=no
14360 as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5
14365 if test "x" = "x"; then :
14367 vapigen_pkg_name=vapigen
14371 vapigen_pkg_name=vapigen-
14374 if test "x" = "x"; then :
14376 vapigen_pkg="$vapigen_pkg_name"
14380 vapigen_pkg="$vapigen_pkg_name >= "
14383 if test "x$enable_vala" = "xyes" -o "x$enable_vala" = "xauto"; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vapigen $vapigen_pkg_name" >&5
14386 $as_echo_n "checking for vapigen $vapigen_pkg_name... " >&6; }
14387 if test -n "$PKG_CONFIG" && \
14388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$vapigen_pkg \""; } >&5
14389 ($PKG_CONFIG --exists --print-errors " $vapigen_pkg ") 2>&5
14391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14392 test $ac_status = 0; }; then
14394 vapigen_pkg_found=yes
14398 vapigen_pkg_found=no
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14400 $as_echo "no" >&6; }
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: Searching for $vapigen_pkg_name program..." >&5
14402 $as_echo "$as_me: Searching for $vapigen_pkg_name program..." >&6;}
14403 # Extract the first word of "$vapigen_pkg_name", so it can be a program name with args.
14404 set dummy $vapigen_pkg_name; ac_word=$2
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14406 $as_echo_n "checking for $ac_word... " >&6; }
14407 if ${ac_cv_path_VAPIGEN+:} false; then :
14408 $as_echo_n "(cached) " >&6
14412 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
14415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14416 for as_dir in $PATH
14419 test -z "$as_dir" && as_dir=.
14420 for ac_exec_ext in '' $ac_executable_extensions; do
14421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14422 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
14423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14430 test -z "$ac_cv_path_VAPIGEN" && ac_cv_path_VAPIGEN="no"
14434 VAPIGEN=$ac_cv_path_VAPIGEN
14435 if test -n "$VAPIGEN"; then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
14437 $as_echo "$VAPIGEN" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440 $as_echo "no" >&6; }
14444 if test "x$VAPIGEN" = "xno"
14453 case $vapigen_pkg_found in #(
14456 VAPIGEN=`$PKG_CONFIG --variable=vapigen vapigen`
14457 VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir vapigen`/vala/Makefile.vapigen
14458 VAPIDIR=`$PKG_CONFIG --variable=vapidir vapigen`
14459 if test "x" = "x"; then :
14461 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir vapigen`
14465 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned vapigen`
14471 case $check_prog in #(
14474 as_fn_error $? "Can't locate $vapigen_pkg program" "$LINENO" 5
14478 if test "x" = "x"; then :
14480 vala_pkg_name=libvala
14484 vala_pkg_name=libvala-
14487 if test "x" = "x"; then :
14489 vala_pkg="$vala_pkg_name"
14493 vala_pkg="$vala_pkg_name >= "
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_pkg" >&5
14497 $as_echo_n "checking for $vala_pkg... " >&6; }
14498 if test -n "$PKG_CONFIG" && \
14499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vala_pkg\""; } >&5
14500 ($PKG_CONFIG --exists --print-errors "$vala_pkg") 2>&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503 test $ac_status = 0; }; then
14505 VALA_DATADIR=`pkg-config $vala_pkg --variable=datadir`
14506 VAPIDIR="$VALA_DATADIR/vala/vapi"
14507 VAPIGEN_MAKEFILE="$VALA_DATADIR/vala/Makefile.vapigen"
14508 if test "x" = "x"; then :
14510 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir vapigen`
14514 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned vapigen`
14517 vapigen_pkg_found=yes
14521 case $enable_vala in #(
14524 as_fn_error $? "$vala_pkg not found" "$LINENO" 5
14528 vapigen_pkg_found=no
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vapigen_pkg_found" >&5
14545 $as_echo "$vapigen_pkg_found" >&6; }
14555 if test "x$vapigen_pkg_found" = "xyes"; then
14556 ENABLE_VAPIGEN_TRUE=
14557 ENABLE_VAPIGEN_FALSE='#'
14559 ENABLE_VAPIGEN_TRUE='#'
14560 ENABLE_VAPIGEN_FALSE=
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-networking (glib TLS implementation)" >&5
14568 $as_echo_n "checking for glib-networking (glib TLS implementation)... " >&6; }
14569 save_CFLAGS="$CFLAGS"
14571 CFLAGS="$CFLAGS $GLIB_CFLAGS"
14572 LIBS="$LIBS $GLIB_LIBS"
14573 if test "$cross_compiling" = yes; then :
14574 have_glib_networking="unknown (cross-compiling)"
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 #include <gio/gio.h>
14582 return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
14587 if ac_fn_c_try_run "$LINENO"; then :
14588 have_glib_networking=yes
14590 have_glib_networking=no
14592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14593 conftest.$ac_objext conftest.beam conftest.$ac_ext
14596 CFLAGS="$save_CFLAGS"
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glib_networking" >&5
14599 $as_echo "$have_glib_networking" >&6; }
14601 # Check whether --enable-tls-check was given.
14602 if test "${enable_tls_check+set}" = set; then :
14603 enableval=$enable_tls_check;
14606 if test "$enable_tls_check" != "no" -a "$have_glib_networking" = "no"; then
14607 as_fn_error $? "libsoup requires glib-networking for TLS support.
14609 If you are building a package, you can pass --disable-tls-check to
14610 allow building libsoup anyway (since glib-networking is not actually
14611 required at compile time), but you should be sure to add a runtime
14612 dependency on it." "$LINENO" 5
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for programs needed for regression tests" >&5
14616 $as_echo "$as_me: checking for programs needed for regression tests" >&6;}
14619 # Check whether --with-apache-httpd was given.
14620 if test "${with_apache_httpd+set}" = set; then :
14621 withval=$with_apache_httpd; APACHE_HTTPD="$withval"
14623 for ac_prog in httpd2 httpd apache2 apache
14625 # Extract the first word of "$ac_prog", so it can be a program name with args.
14626 set dummy $ac_prog; ac_word=$2
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14628 $as_echo_n "checking for $ac_word... " >&6; }
14629 if ${ac_cv_path_APACHE_HTTPD+:} false; then :
14630 $as_echo_n "(cached) " >&6
14632 case $APACHE_HTTPD in
14634 ac_cv_path_APACHE_HTTPD="$APACHE_HTTPD" # Let the user override the test with a path.
14637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14638 as_dummy="${PATH}:/usr/sbin"
14639 for as_dir in $as_dummy
14642 test -z "$as_dir" && as_dir=.
14643 for ac_exec_ext in '' $ac_executable_extensions; do
14644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14645 ac_cv_path_APACHE_HTTPD="$as_dir/$ac_word$ac_exec_ext"
14646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14656 APACHE_HTTPD=$ac_cv_path_APACHE_HTTPD
14657 if test -n "$APACHE_HTTPD"; then
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APACHE_HTTPD" >&5
14659 $as_echo "$APACHE_HTTPD" >&6; }
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14662 $as_echo "no" >&6; }
14666 test -n "$APACHE_HTTPD" && break
14668 test -n "$APACHE_HTTPD" || APACHE_HTTPD="no"
14672 if test "$APACHE_HTTPD" != "no"; then
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Apache version" >&5
14674 $as_echo_n "checking Apache version... " >&6; }
14675 apache_version=`$APACHE_HTTPD -v 2>/dev/null | sed -ne 's/Server version: Apache\///p'`
14676 case $apache_version in
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apache_version (ok)" >&5
14679 $as_echo "$apache_version (ok)" >&6; }
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apache_version (ignoring)" >&5
14683 $as_echo "$apache_version (ignoring)" >&6; }
14690 cat >>confdefs.h <<_ACEOF
14691 #define APACHE_HTTPD "$APACHE_HTTPD"
14695 if test "$APACHE_HTTPD" != "no"; then
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module directory" >&5
14697 $as_echo_n "checking for Apache module directory... " >&6; }
14699 # Check whether --with-apache-module-dir was given.
14700 if test "${with_apache_module_dir+set}" = set; then :
14701 withval=$with_apache_module_dir; apache_module_dirs="$withval"
14703 apache_prefix=`dirname \`dirname $APACHE_HTTPD\``
14704 mpm=`$APACHE_HTTPD -V -C "ServerName localhost" | sed -ne 's/^Server MPM: */-/p' | tr 'A-Z' 'a-z'`
14705 # This only works with bash, but should fail harmlessly in sh
14706 apache_module_dirs=`echo $apache_prefix/lib{64,}/{apache,apache2,http,http2,httpd}{$mpm,}{/modules,}`
14709 for dir in $apache_module_dirs; do
14710 if test -f $dir/mod_auth_digest.so; then
14711 APACHE_MODULE_DIR="$dir"
14713 if test -f $dir/mod_ssl.so; then
14714 APACHE_SSL_MODULE_DIR="$dir"
14715 IF_HAVE_APACHE_SSL=""
14717 if test -f $dir/libphp7.so; then
14718 APACHE_PHP_MODULE_DIR="$dir"
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APACHE_MODULE_DIR" >&5
14722 $as_echo "$APACHE_MODULE_DIR" >&6; }
14728 if test "$APACHE_HTTPD" != "no" -a -n "$APACHE_MODULE_DIR" -a -n "$APACHE_SSL_MODULE_DIR"; then
14730 $as_echo "#define HAVE_APACHE 1" >>confdefs.h
14736 if test "$have_apache" = 1; then
14738 HAVE_APACHE_FALSE='#'
14740 HAVE_APACHE_TRUE='#'
14745 if test "$have_apache" = 1; then
14748 # Extract the first word of "$ac_prog", so it can be a program name with args.
14749 set dummy $ac_prog; ac_word=$2
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14751 $as_echo_n "checking for $ac_word... " >&6; }
14752 if ${ac_cv_prog_PHP+:} false; then :
14753 $as_echo_n "(cached) " >&6
14755 if test -n "$PHP"; then
14756 ac_cv_prog_PHP="$PHP" # Let the user override the test.
14758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14759 for as_dir in $PATH
14762 test -z "$as_dir" && as_dir=.
14763 for ac_exec_ext in '' $ac_executable_extensions; do
14764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14765 ac_cv_prog_PHP="$ac_prog"
14766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14775 PHP=$ac_cv_prog_PHP
14776 if test -n "$PHP"; then
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHP" >&5
14778 $as_echo "$PHP" >&6; }
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14781 $as_echo "no" >&6; }
14785 test -n "$PHP" && break
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache PHP module" >&5
14790 $as_echo_n "checking for Apache PHP module... " >&6; }
14791 if test -d "$APACHE_PHP_MODULE_DIR"; then
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_php" >&5
14799 $as_echo "$have_php" >&6; }
14802 if test "$have_php" = yes; then
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for php-xmlrpc" >&5
14804 $as_echo_n "checking for php-xmlrpc... " >&6; }
14805 if $PHP --rf xmlrpc_server_create | grep -q "does not exist"; then
14808 have_php_xmlrpc=yes
14810 $as_echo "#define HAVE_PHP_XMLRPC 1" >>confdefs.h
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_php_xmlrpc" >&5
14814 $as_echo "$have_php_xmlrpc" >&6; }
14817 if test -f "$APACHE_MODULE_DIR/mod_unixd.so"; then
14818 IF_HAVE_MOD_UNIXD=""
14820 IF_HAVE_MOD_UNIXD="#"
14825 # Extract the first word of "curl", so it can be a program name with args.
14826 set dummy curl; ac_word=$2
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14828 $as_echo_n "checking for $ac_word... " >&6; }
14829 if ${ac_cv_path_CURL+:} false; then :
14830 $as_echo_n "(cached) " >&6
14834 ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH
14841 test -z "$as_dir" && as_dir=.
14842 for ac_exec_ext in '' $ac_executable_extensions; do
14843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14844 ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext"
14845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14852 test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="no"
14856 CURL=$ac_cv_path_CURL
14857 if test -n "$CURL"; then
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
14859 $as_echo "$CURL" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14862 $as_echo "no" >&6; }
14866 if test "$CURL" != no; then
14868 $as_echo "#define HAVE_CURL 1" >>confdefs.h
14873 # Check whether --with-ntlm-auth was given.
14874 if test "${with_ntlm_auth+set}" = set; then :
14875 withval=$with_ntlm_auth; ntlm_auth="$withval"
14877 if test $os_win32 = yes; then ntlm_auth="no"; else ntlm_auth="/usr/bin/ntlm_auth"; fi
14880 if test "$ntlm_auth" != "no"; then
14882 $as_echo "#define USE_NTLM_AUTH 1" >>confdefs.h
14884 if test "$ntlm_auth" = "yes"; then
14885 ntlm_auth="/usr/bin/ntlm_auth"
14890 cat >>confdefs.h <<_ACEOF
14891 #define NTLM_AUTH "$ntlm_auth"
14898 # allow to override gcov location
14900 # Check whether --with-gcov was given.
14901 if test "${with_gcov+set}" = set; then :
14902 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
14904 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
14909 $as_echo_n "checking whether to build with code coverage support... " >&6; }
14910 # Check whether --enable-code-coverage was given.
14911 if test "${enable_code_coverage+set}" = set; then :
14912 enableval=$enable_code_coverage;
14914 enable_code_coverage=no
14918 if test x$enable_code_coverage = xyes; then
14919 CODE_COVERAGE_ENABLED_TRUE=
14920 CODE_COVERAGE_ENABLED_FALSE='#'
14922 CODE_COVERAGE_ENABLED_TRUE='#'
14923 CODE_COVERAGE_ENABLED_FALSE=
14926 CODE_COVERAGE_ENABLED=$enable_code_coverage
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
14929 $as_echo "$enable_code_coverage" >&6; }
14931 if test "$enable_code_coverage" = "yes" ; then :
14934 if test -n "$ac_tool_prefix"; then
14935 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
14936 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14938 $as_echo_n "checking for $ac_word... " >&6; }
14939 if ${ac_cv_prog_GCOV+:} false; then :
14940 $as_echo_n "(cached) " >&6
14942 if test -n "$GCOV"; then
14943 ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
14945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14946 for as_dir in $PATH
14949 test -z "$as_dir" && as_dir=.
14950 for ac_exec_ext in '' $ac_executable_extensions; do
14951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14952 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
14953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14962 GCOV=$ac_cv_prog_GCOV
14963 if test -n "$GCOV"; then
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
14965 $as_echo "$GCOV" >&6; }
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14968 $as_echo "no" >&6; }
14973 if test -z "$ac_cv_prog_GCOV"; then
14975 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
14976 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14978 $as_echo_n "checking for $ac_word... " >&6; }
14979 if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
14980 $as_echo_n "(cached) " >&6
14982 if test -n "$ac_ct_GCOV"; then
14983 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
14985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14986 for as_dir in $PATH
14989 test -z "$as_dir" && as_dir=.
14990 for ac_exec_ext in '' $ac_executable_extensions; do
14991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14992 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
14993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15002 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
15003 if test -n "$ac_ct_GCOV"; then
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
15005 $as_echo "$ac_ct_GCOV" >&6; }
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15008 $as_echo "no" >&6; }
15011 if test "x$ac_ct_GCOV" = x; then
15014 case $cross_compiling:$ac_tool_warned in
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15018 ac_tool_warned=yes ;;
15023 GCOV="$ac_cv_prog_GCOV"
15026 if test "X$GCOV" = "X:"; then :
15027 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5
15031 if test "$GCC" = "no" ; then :
15033 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
15037 # List of supported lcov versions.
15038 lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11 1.12"
15040 # Extract the first word of "lcov", so it can be a program name with args.
15041 set dummy lcov; ac_word=$2
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15043 $as_echo_n "checking for $ac_word... " >&6; }
15044 if ${ac_cv_prog_LCOV+:} false; then :
15045 $as_echo_n "(cached) " >&6
15047 if test -n "$LCOV"; then
15048 ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15057 ac_cv_prog_LCOV="lcov"
15058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 LCOV=$ac_cv_prog_LCOV
15068 if test -n "$LCOV"; then
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
15070 $as_echo "$LCOV" >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15073 $as_echo "no" >&6; }
15077 # Extract the first word of "genhtml", so it can be a program name with args.
15078 set dummy genhtml; ac_word=$2
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15080 $as_echo_n "checking for $ac_word... " >&6; }
15081 if ${ac_cv_prog_GENHTML+:} false; then :
15082 $as_echo_n "(cached) " >&6
15084 if test -n "$GENHTML"; then
15085 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
15087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15088 for as_dir in $PATH
15091 test -z "$as_dir" && as_dir=.
15092 for ac_exec_ext in '' $ac_executable_extensions; do
15093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15094 ac_cv_prog_GENHTML="genhtml"
15095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 GENHTML=$ac_cv_prog_GENHTML
15105 if test -n "$GENHTML"; then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
15107 $as_echo "$GENHTML" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15110 $as_echo "no" >&6; }
15115 if test "$LCOV" ; then :
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
15118 $as_echo_n "checking for lcov version... " >&6; }
15119 if ${ax_cv_lcov_version+:} false; then :
15120 $as_echo_n "(cached) " >&6
15123 ax_cv_lcov_version=invalid
15124 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
15125 for lcov_check_version in $lcov_version_list; do
15126 if test "$lcov_version" = "$lcov_check_version"; then
15127 ax_cv_lcov_version="$lcov_check_version (ok)"
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lcov_version" >&5
15133 $as_echo "$ax_cv_lcov_version" >&6; }
15137 lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
15138 as_fn_error $? "$lcov_msg" "$LINENO" 5
15142 case $ax_cv_lcov_version in
15144 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
15145 as_fn_error $? "$lcov_msg" "$LINENO" 5
15150 if test -z "$GENHTML" ; then :
15152 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
15156 CODE_COVERAGE_CPPFLAGS="-DNDEBUG"
15157 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
15158 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
15159 CODE_COVERAGE_LDFLAGS="-lgcov"
15168 CODE_COVERAGE_RULES='
15172 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
15173 # Multiple directories may be specified, separated by whitespace.
15174 # (Default: $(top_builddir))
15175 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
15176 # by lcov for code coverage. (Default:
15177 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
15178 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
15179 # reports to be created. (Default:
15180 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
15181 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
15182 # set to 0 to disable it and leave empty to stay with the default.
15184 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
15185 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
15186 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
15187 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
15188 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
15189 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
15190 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
15191 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
15192 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
15193 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
15194 # lcov instance. (Default: empty)
15195 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
15196 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
15197 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
15198 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
15199 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
15200 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
15201 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
15203 # The generated report will be titled using the $(PACKAGE_NAME) and
15204 # $(PACKAGE_VERSION). In order to add the current git hash to the title,
15205 # use the git-version-gen script, available online.
15207 # Optional variables
15208 CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
15209 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
15210 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
15211 CODE_COVERAGE_BRANCH_COVERAGE ?=
15212 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
15213 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
15214 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
15215 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
15216 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
15217 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
15218 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
15219 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
15220 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
15221 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
15222 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
15223 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULTS)
15224 CODE_COVERAGE_IGNORE_PATTERN ?=
15226 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
15227 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
15228 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\
15229 $(CODE_COVERAGE_OUTPUT_FILE);
15230 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
15231 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
15232 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\
15233 $(CODE_COVERAGE_IGNORE_PATTERN);
15234 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
15235 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
15236 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
15237 code_coverage_quiet = $(code_coverage_quiet_$(V))
15238 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
15239 code_coverage_quiet_0 = --quiet
15241 # sanitizes the test-name: replaces with underscores: dashes and dots
15242 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
15244 # Use recursive makes in order to ignore errors during check
15245 check-code-coverage:
15246 ifeq ($(CODE_COVERAGE_ENABLED),yes)
15247 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check
15248 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
15250 @echo "Need to reconfigure with --enable-code-coverage"
15253 # Capture code coverage data
15254 code-coverage-capture: code-coverage-capture-hook
15255 ifeq ($(CODE_COVERAGE_ENABLED),yes)
15256 $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS)
15257 $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS)
15258 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
15259 $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
15260 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
15262 @echo "Need to reconfigure with --enable-code-coverage"
15265 # Hook rule executed before code-coverage-capture, overridable by the user
15266 code-coverage-capture-hook:
15268 ifeq ($(CODE_COVERAGE_ENABLED),yes)
15269 clean: code-coverage-clean
15270 distclean: code-coverage-clean
15271 code-coverage-clean:
15272 -$(LCOV) --directory $(top_builddir) -z
15273 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
15274 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
15278 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
15280 A''M_DISTCHECK_CONFIGURE_FLAGS ?=
15281 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
15283 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
15291 # Check whether --with-gssapi was given.
15292 if test "${with_gssapi+set}" = set; then :
15293 withval=$with_gssapi;
15297 if test "$with_gssapi" != "no"; then
15299 # Check whether --with-krb5-config was given.
15300 if test "${with_krb5_config+set}" = set; then :
15301 withval=$with_krb5_config; KRB5_CONFIG="$withval"
15303 for ac_prog in krb5-config
15305 # Extract the first word of "$ac_prog", so it can be a program name with args.
15306 set dummy $ac_prog; ac_word=$2
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15308 $as_echo_n "checking for $ac_word... " >&6; }
15309 if ${ac_cv_path_KRB5_CONFIG+:} false; then :
15310 $as_echo_n "(cached) " >&6
15312 case $KRB5_CONFIG in
15314 ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
15317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15318 as_dummy="${PATH}:/usr/kerberos/bin"
15319 for as_dir in $as_dummy
15322 test -z "$as_dir" && as_dir=.
15323 for ac_exec_ext in '' $ac_executable_extensions; do
15324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15325 ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
15337 if test -n "$KRB5_CONFIG"; then
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
15339 $as_echo "$KRB5_CONFIG" >&6; }
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15342 $as_echo "no" >&6; }
15346 test -n "$KRB5_CONFIG" && break
15348 test -n "$KRB5_CONFIG" || KRB5_CONFIG="no"
15353 if test "$KRB5_CONFIG" != "no"; then
15354 KRB5_LIBS="`${KRB5_CONFIG} --libs gssapi`"
15355 KRB5_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`"
15358 if test "$KRB5_CONFIG" != none; then
15360 $as_echo "#define LIBSOUP_HAVE_GSSAPI 1" >>confdefs.h
15364 if test "$with_gssapi" = "yes"; then
15365 as_fn_error $? "GSSAPI support requested but failed to found krb5-config. Try to set KRB5_CONFIG." "$LINENO" 5
15371 # Check whether --enable-more-warnings was given.
15372 if test "${enable_more_warnings+set}" = set; then :
15373 enableval=$enable_more_warnings; set_more_warnings=no
15377 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
15379 -Wall -Wstrict-prototypes -Werror=missing-prototypes \
15380 -Werror=implicit-function-declaration \
15381 -Werror=pointer-arith -Werror=init-self -Werror=format=2 \
15382 -Wno-format-zero-length \
15383 -Werror=missing-include-dirs -Werror=aggregate-return \
15384 -Werror=declaration-after-statement"
15387 ##################################################
15388 # Visibility handling
15389 ##################################################
15391 SOUP_HIDDEN_VISIBILITY_CFLAGS=""
15395 $as_echo "#define _SOUP_EXTERN __attribute__((visibility(\"default\"))) __declspec(dllexport) extern" >>confdefs.h
15397 SOUP_HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"
15400 SAVED_CFLAGS="${CFLAGS}"
15401 CFLAGS="-fvisibility=hidden"
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fvisibility=hidden compiler flag" >&5
15403 $as_echo_n "checking for -fvisibility=hidden compiler flag... " >&6; }
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15415 if ac_fn_c_try_compile "$LINENO"; then :
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15417 $as_echo "yes" >&6; }
15418 enable_fvisibility_hidden=yes
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15421 $as_echo "no" >&6; }
15422 enable_fvisibility_hidden=no
15424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15425 CFLAGS="${SAVED_CFLAGS}"
15427 if test "${enable_fvisibility_hidden}" = "yes"; then :
15430 $as_echo "#define _SOUP_EXTERN __attribute__((visibility(\"default\"))) extern" >>confdefs.h
15432 SOUP_HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"
15439 if test x$MSVC_BASE_TOOLSET = x; then
15440 MSVC_BASE_NO_TOOLSET_SET_TRUE=
15441 MSVC_BASE_NO_TOOLSET_SET_FALSE='#'
15443 MSVC_BASE_NO_TOOLSET_SET_TRUE='#'
15444 MSVC_BASE_NO_TOOLSET_SET_FALSE=
15447 if test x$MSVC_TOOLSET = x; then
15448 MSVC_NO_TOOLSET_SET_TRUE=
15449 MSVC_NO_TOOLSET_SET_FALSE='#'
15451 MSVC_NO_TOOLSET_SET_TRUE='#'
15452 MSVC_NO_TOOLSET_SET_FALSE=
15458 ac_config_headers="$ac_config_headers config.h"
15460 ac_config_files="$ac_config_files libsoup-2.4.pc libsoup-gnome-2.4.pc Makefile libsoup-zip libsoup/Makefile po/Makefile.in po/Makefile tests/Makefile tests/httpd.conf examples/Makefile docs/Makefile docs/reference/Makefile libsoup/soup-version.h config.h.win32 win32/Makefile win32/vs9/Makefile win32/vs9/soup-version-paths.vsprops win32/vs10/Makefile win32/vs10/soup-version-paths.props win32/vs11/Makefile win32/vs12/Makefile win32/vs14/Makefile win32/vs15/Makefile"
15462 cat >confcache <<\_ACEOF
15463 # This file is a shell script that caches the results of configure
15464 # tests run on this system so they can be shared between configure
15465 # scripts and configure runs, see configure's option --config-cache.
15466 # It is not useful on other systems. If it contains results you don't
15467 # want to keep, you may remove or edit it.
15469 # config.status only pays attention to the cache file if you give it
15470 # the --recheck option to rerun configure.
15472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15474 # following values.
15478 # The following way of writing the cache mishandles newlines in values,
15479 # but we know of no workaround that is simple, portable, and efficient.
15480 # So, we kill variables containing newlines.
15481 # Ultrix sh set writes to stderr and can't be redirected directly,
15482 # and sets the high bit in the cache file unless we assign to the vars.
15484 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15485 eval ac_val=\$$ac_var
15489 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15490 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15493 _ | IFS | as_nl) ;; #(
15494 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15495 *) { eval $ac_var=; unset $ac_var;} ;;
15501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15502 *${as_nl}ac_space=\ *)
15503 # `set' does not quote correctly, so add quotes: double-quote
15504 # substitution turns \\\\ into \\, and sed turns \\ into \.
15507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15510 # `set' quotes correctly as required by POSIX, so do not add quotes.
15511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15525 if test -w "$cache_file"; then
15526 if test "x$cache_file" != "x/dev/null"; then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15528 $as_echo "$as_me: updating cache $cache_file" >&6;}
15529 if test ! -f "$cache_file" || test -h "$cache_file"; then
15530 cat confcache >"$cache_file"
15532 case $cache_file in #(
15534 mv -f confcache "$cache_file"$$ &&
15535 mv -f "$cache_file"$$ "$cache_file" ;; #(
15537 mv -f confcache "$cache_file" ;;
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15543 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15548 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15549 # Let make expand exec_prefix.
15550 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15552 DEFS=-DHAVE_CONFIG_H
15557 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15558 # 1. Remove the extension, and $U if already installed.
15559 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15560 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15561 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15562 # will be set to the directory where LIBOBJS objects are built.
15563 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15564 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15566 LIBOBJS=$ac_libobjs
15568 LTLIBOBJS=$ac_ltlibobjs
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15572 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15573 if test -n "$am_sleep_pid"; then
15574 # Hide warnings about reused PIDs.
15575 wait $am_sleep_pid 2>/dev/null
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15578 $as_echo "done" >&6; }
15579 if test -n "$EXEEXT"; then
15581 am__EXEEXT_FALSE='#'
15583 am__EXEEXT_TRUE='#'
15587 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15588 as_fn_error $? "conditional \"AMDEP\" was never defined.
15589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15592 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15595 if test -z "${ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${ENABLE_INSTALLED_TESTS_FALSE}"; then
15596 as_fn_error $? "conditional \"ENABLE_INSTALLED_TESTS\" was never defined.
15597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15599 if test -z "${ENABLE_ALWAYS_BUILD_TESTS_TRUE}" && test -z "${ENABLE_ALWAYS_BUILD_TESTS_FALSE}"; then
15600 as_fn_error $? "conditional \"ENABLE_ALWAYS_BUILD_TESTS\" was never defined.
15601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15603 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
15604 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
15605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15607 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
15608 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
15609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15612 ac_config_commands="$ac_config_commands po/stamp-it"
15615 if test -z "${BUILD_LIBSOUP_GNOME_TRUE}" && test -z "${BUILD_LIBSOUP_GNOME_FALSE}"; then
15616 as_fn_error $? "conditional \"BUILD_LIBSOUP_GNOME\" was never defined.
15617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15619 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15620 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15623 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15624 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15627 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15628 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15631 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15632 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15635 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15636 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15639 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15640 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15643 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
15644 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
15645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15647 if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then
15648 as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined.
15649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15651 if test -z "${HAVE_APACHE_TRUE}" && test -z "${HAVE_APACHE_FALSE}"; then
15652 as_fn_error $? "conditional \"HAVE_APACHE\" was never defined.
15653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15655 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
15656 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
15657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15659 if test -z "${MSVC_BASE_NO_TOOLSET_SET_TRUE}" && test -z "${MSVC_BASE_NO_TOOLSET_SET_FALSE}"; then
15660 as_fn_error $? "conditional \"MSVC_BASE_NO_TOOLSET_SET\" was never defined.
15661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15663 if test -z "${MSVC_NO_TOOLSET_SET_TRUE}" && test -z "${MSVC_NO_TOOLSET_SET_FALSE}"; then
15664 as_fn_error $? "conditional \"MSVC_NO_TOOLSET_SET\" was never defined.
15665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15668 : "${CONFIG_STATUS=./config.status}"
15670 ac_clean_files_save=$ac_clean_files
15671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15673 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15675 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15677 # Generated by $as_me.
15678 # Run this file to recreate the current configuration.
15679 # Compiler output produced by configure, useful for debugging
15680 # configure, is in config.log if it exists.
15683 ac_cs_recheck=false
15686 SHELL=\${CONFIG_SHELL-$SHELL}
15689 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15690 ## -------------------- ##
15691 ## M4sh Initialization. ##
15692 ## -------------------- ##
15694 # Be more Bourne compatible
15695 DUALCASE=1; export DUALCASE # for MKS sh
15696 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15699 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15700 # is contrary to our usage. Disable this feature.
15701 alias -g '${1+"$@"}'='"$@"'
15702 setopt NO_GLOB_SUBST
15704 case `(set -o) 2>/dev/null` in #(
15716 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15717 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15719 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15720 # Prefer a ksh shell builtin over an external printf program on Solaris,
15721 # but without wasting forks for bash or zsh.
15722 if test -z "$BASH_VERSION$ZSH_VERSION" \
15723 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15724 as_echo='print -r --'
15725 as_echo_n='print -rn --'
15726 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15727 as_echo='printf %s\n'
15728 as_echo_n='printf %s'
15730 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15731 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15732 as_echo_n='/usr/ucb/echo -n'
15734 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15735 as_echo_n_body='eval
15739 expr "X$arg" : "X\\(.*\\)$as_nl";
15740 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15742 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15744 export as_echo_n_body
15745 as_echo_n='sh -c $as_echo_n_body as_echo'
15747 export as_echo_body
15748 as_echo='sh -c $as_echo_body as_echo'
15751 # The user is always right.
15752 if test "${PATH_SEPARATOR+set}" != set; then
15754 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15755 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15762 # We need space, tab and new line, in precisely that order. Quoting is
15763 # there to prevent editors from complaining about space-tab.
15764 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15765 # splitting by setting IFS to empty value.)
15768 # Find who we are. Look in the path if we contain no directory separator.
15771 *[\\/]* ) as_myself=$0 ;;
15772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15773 for as_dir in $PATH
15776 test -z "$as_dir" && as_dir=.
15777 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15783 # We did not find ourselves, most probably we were run as `sh COMMAND'
15784 # in which case we are not to be found in the path.
15785 if test "x$as_myself" = x; then
15788 if test ! -f "$as_myself"; then
15789 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15793 # Unset variables that we do not need and which cause bugs (e.g. in
15794 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15795 # suppresses any "Segmentation fault" message there. '((' could
15796 # trigger a bug in pdksh 5.2.14.
15797 for as_var in BASH_ENV ENV MAIL MAILPATH
15798 do eval test x\${$as_var+set} = xset \
15799 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15812 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15815 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15816 # ----------------------------------------
15817 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15818 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15819 # script with STATUS, using 1 if that was 0.
15822 as_status=$1; test $as_status -eq 0 && as_status=1
15824 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15825 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15827 $as_echo "$as_me: error: $2" >&2
15828 as_fn_exit $as_status
15832 # as_fn_set_status STATUS
15833 # -----------------------
15834 # Set $? to STATUS, without forking.
15835 as_fn_set_status ()
15838 } # as_fn_set_status
15840 # as_fn_exit STATUS
15841 # -----------------
15842 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15846 as_fn_set_status $1
15852 # Portably unset VAR.
15855 { eval $1=; unset $1;}
15857 as_unset=as_fn_unset
15858 # as_fn_append VAR VALUE
15859 # ----------------------
15860 # Append the text in VALUE to the end of the definition contained in VAR. Take
15861 # advantage of any shell optimizations that allow amortized linear growth over
15862 # repeated appends, instead of the typical quadratic growth present in naive
15864 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15865 eval 'as_fn_append ()
15876 # as_fn_arith ARG...
15877 # ------------------
15878 # Perform arithmetic evaluation on the ARGs, and store the result in the
15879 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15880 # must be portable across $(()) and expr.
15881 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15882 eval 'as_fn_arith ()
15889 as_val=`expr "$@" || test $? -eq 1`
15894 if expr a : '\(a\)' >/dev/null 2>&1 &&
15895 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15901 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15902 as_basename=basename
15907 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15913 as_me=`$as_basename -- "$0" ||
15914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15915 X"$0" : 'X\(//\)$' \| \
15916 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15918 sed '/^.*\/\([^/][^/]*\)\/*$/{
15932 # Avoid depending upon Character Ranges.
15933 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15934 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15935 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15936 as_cr_digits='0123456789'
15937 as_cr_alnum=$as_cr_Letters$as_cr_digits
15939 ECHO_C= ECHO_N= ECHO_T=
15940 case `echo -n x` in #(((((
15942 case `echo 'xy\c'` in
15943 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15945 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15952 rm -f conf$$ conf$$.exe conf$$.file
15953 if test -d conf$$.dir; then
15954 rm -f conf$$.dir/conf$$.file
15957 mkdir conf$$.dir 2>/dev/null
15959 if (echo >conf$$.file) 2>/dev/null; then
15960 if ln -s conf$$.file conf$$ 2>/dev/null; then
15962 # ... but there are two gotchas:
15963 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15964 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15965 # In both cases, we have to default to `cp -pR'.
15966 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15968 elif ln conf$$.file conf$$ 2>/dev/null; then
15976 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15977 rmdir conf$$.dir 2>/dev/null
15982 # Create "$as_dir" as a directory, including parents if necessary.
15987 -*) as_dir=./$as_dir;;
15989 test -d "$as_dir" || eval $as_mkdir_p || {
15993 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15994 *) as_qdir=$as_dir;;
15996 as_dirs="'$as_qdir' $as_dirs"
15997 as_dir=`$as_dirname -- "$as_dir" ||
15998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15999 X"$as_dir" : 'X\(//\)[^/]' \| \
16000 X"$as_dir" : 'X\(//\)$' \| \
16001 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16002 $as_echo X"$as_dir" |
16003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16007 /^X\(\/\/\)[^/].*/{
16020 test -d "$as_dir" && break
16022 test -z "$as_dirs" || eval "mkdir $as_dirs"
16023 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16027 if mkdir -p . 2>/dev/null; then
16028 as_mkdir_p='mkdir -p "$as_dir"'
16030 test -d ./-p && rmdir ./-p
16035 # as_fn_executable_p FILE
16036 # -----------------------
16037 # Test if FILE is an executable regular file.
16038 as_fn_executable_p ()
16040 test -f "$1" && test -x "$1"
16041 } # as_fn_executable_p
16042 as_test_x='test -x'
16043 as_executable_p=as_fn_executable_p
16045 # Sed expression to map a string onto a valid CPP name.
16046 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16048 # Sed expression to map a string onto a valid variable name.
16049 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16053 ## ----------------------------------- ##
16054 ## Main body of $CONFIG_STATUS script. ##
16055 ## ----------------------------------- ##
16057 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16060 # Save the log message, to keep $0 and so on meaningful, and to
16061 # report actual input values of CONFIG_FILES etc. instead of their
16062 # values after options handling.
16064 This file was extended by libsoup $as_me 2.62.2, which was
16065 generated by GNU Autoconf 2.69. Invocation command line was
16067 CONFIG_FILES = $CONFIG_FILES
16068 CONFIG_HEADERS = $CONFIG_HEADERS
16069 CONFIG_LINKS = $CONFIG_LINKS
16070 CONFIG_COMMANDS = $CONFIG_COMMANDS
16073 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16078 case $ac_config_files in *"
16079 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16082 case $ac_config_headers in *"
16083 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16088 # Files that config.status was made for.
16089 config_files="$ac_config_files"
16090 config_headers="$ac_config_headers"
16091 config_commands="$ac_config_commands"
16095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16097 \`$as_me' instantiates files and other configuration actions
16098 from templates according to the current configuration. Unless the files
16099 and actions are specified as TAGs, all are instantiated by default.
16101 Usage: $0 [OPTION]... [TAG]...
16103 -h, --help print this help, then exit
16104 -V, --version print version number and configuration settings, then exit
16105 --config print configuration, then exit
16106 -q, --quiet, --silent
16107 do not print progress messages
16108 -d, --debug don't remove temporary files
16109 --recheck update $as_me by reconfiguring in the same conditions
16110 --file=FILE[:TEMPLATE]
16111 instantiate the configuration file FILE
16112 --header=FILE[:TEMPLATE]
16113 instantiate the configuration header FILE
16115 Configuration files:
16118 Configuration headers:
16121 Configuration commands:
16124 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup>."
16127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16128 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16130 libsoup config.status 2.62.2
16131 configured by $0, generated by GNU Autoconf 2.69,
16132 with options \\"\$ac_cs_config\\"
16134 Copyright (C) 2012 Free Software Foundation, Inc.
16135 This config.status script is free software; the Free Software Foundation
16136 gives unlimited permission to copy, distribute and modify it."
16143 test -n "\$AWK" || AWK=awk
16146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16147 # The default lists apply if the user does not specify any file.
16153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16158 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16170 # Handling of the options.
16171 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16173 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16174 $as_echo "$ac_cs_version"; exit ;;
16175 --config | --confi | --conf | --con | --co | --c )
16176 $as_echo "$ac_cs_config"; exit ;;
16177 --debug | --debu | --deb | --de | --d | -d )
16179 --file | --fil | --fi | --f )
16182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16183 '') as_fn_error $? "missing file argument" ;;
16185 as_fn_append CONFIG_FILES " '$ac_optarg'"
16186 ac_need_defaults=false;;
16187 --header | --heade | --head | --hea )
16190 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16192 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16193 ac_need_defaults=false;;
16195 # Conflict between --help and --header
16196 as_fn_error $? "ambiguous option: \`$1'
16197 Try \`$0 --help' for more information.";;
16198 --help | --hel | -h )
16199 $as_echo "$ac_cs_usage"; exit ;;
16200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16201 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16204 # This is an error.
16205 -*) as_fn_error $? "unrecognized option: \`$1'
16206 Try \`$0 --help' for more information." ;;
16208 *) as_fn_append ac_config_targets " $1"
16209 ac_need_defaults=false ;;
16215 ac_configure_extra_args=
16217 if $ac_cs_silent; then
16219 ac_configure_extra_args="$ac_configure_extra_args --silent"
16223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16224 if \$ac_cs_recheck; then
16225 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16227 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16228 CONFIG_SHELL='$SHELL'
16229 export CONFIG_SHELL
16234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16238 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16239 ## Running $as_me. ##
16245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16249 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16252 # The HP-UX ksh and POSIX shell print the target directory to stdout
16253 # if CDPATH is set.
16254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16256 sed_quote_subst='$sed_quote_subst'
16257 double_quote_subst='$double_quote_subst'
16258 delay_variable_subst='$delay_variable_subst'
16259 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16260 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16261 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16262 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16263 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16264 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16265 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16266 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16267 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16268 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16269 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16270 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16271 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16272 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16273 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16274 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16275 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16276 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16277 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16278 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16279 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16280 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16281 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16282 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16283 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16284 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16285 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16286 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16287 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16288 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16289 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16290 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16291 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16292 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16293 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16294 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16295 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16296 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16297 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16298 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16299 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16300 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16301 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16302 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16303 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16304 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16305 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16306 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16307 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16308 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16309 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16310 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16311 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16312 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16313 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16314 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16315 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16316 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16317 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16318 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"`'
16319 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16320 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16321 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16322 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16323 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16324 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16325 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16326 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16327 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16328 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16329 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16330 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16331 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16332 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16333 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16334 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16335 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16336 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16337 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16338 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16339 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16340 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16341 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16342 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16343 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16344 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16345 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16346 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16347 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16348 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16349 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16350 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16351 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16352 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16353 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16354 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16355 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16356 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16357 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16358 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16359 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16360 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16361 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16362 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16363 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16364 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16365 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16366 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16367 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16368 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16369 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16370 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16371 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16372 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16373 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16374 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16375 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16376 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16377 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16378 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16379 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16380 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16381 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16382 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16383 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16384 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16385 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16386 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16387 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16388 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16389 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16390 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16391 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16392 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16393 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16394 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16397 LTCFLAGS='$LTCFLAGS'
16398 compiler='$compiler_DEFAULT'
16400 # A function that is used when there is no print builtin or printf.
16401 func_fallback_echo ()
16403 eval 'cat <<_LTECHO_EOF
16408 # Quote evaled strings.
16425 deplibs_check_method \
16429 sharedlib_from_linklib_cmd \
16432 archiver_list_spec \
16438 lt_cv_sys_global_symbol_pipe \
16439 lt_cv_sys_global_symbol_to_cdecl \
16440 lt_cv_sys_global_symbol_to_import \
16441 lt_cv_sys_global_symbol_to_c_name_address \
16442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16443 lt_cv_nm_interface \
16444 nm_file_list_spec \
16445 lt_cv_truncate_bin \
16446 lt_prog_compiler_no_builtin_flag \
16447 lt_prog_compiler_pic \
16448 lt_prog_compiler_wl \
16449 lt_prog_compiler_static \
16450 lt_cv_prog_compiler_c_o \
16459 export_dynamic_flag_spec \
16460 whole_archive_flag_spec \
16461 compiler_needs_object \
16463 allow_undefined_flag \
16464 no_undefined_flag \
16465 hardcode_libdir_flag_spec \
16466 hardcode_libdir_separator \
16470 variables_saved_for_relink \
16472 library_names_spec \
16474 install_override_mode \
16478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16479 *[\\\\\\\`\\"\\\$]*)
16480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16488 # Double-quote double-evaled strings.
16489 for var in reload_cmds \
16490 old_postinstall_cmds \
16491 old_postuninstall_cmds \
16493 extract_expsyms_cmds \
16494 old_archive_from_new_cmds \
16495 old_archive_from_expsyms_cmds \
16497 archive_expsym_cmds \
16499 module_expsym_cmds \
16500 export_symbols_cmds \
16504 postuninstall_cmds \
16506 sys_lib_search_path_spec \
16507 configure_time_dlsearch_path \
16508 configure_time_lt_sys_library_path; do
16509 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16510 *[\\\\\\\`\\"\\\$]*)
16511 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16514 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16519 ac_aux_dir='$ac_aux_dir'
16521 # See if we are running on zsh, and set the options that allow our
16522 # commands through without removal of \ escapes INIT.
16523 if test -n "\${ZSH_VERSION+set}"; then
16524 setopt NO_GLOB_SUBST
16538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16540 # Handling of arguments.
16541 for ac_config_target in $ac_config_targets
16543 case $ac_config_target in
16544 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16545 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16546 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16547 "libsoup-2.4.pc") CONFIG_FILES="$CONFIG_FILES libsoup-2.4.pc" ;;
16548 "libsoup-gnome-2.4.pc") CONFIG_FILES="$CONFIG_FILES libsoup-gnome-2.4.pc" ;;
16549 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16550 "libsoup-zip") CONFIG_FILES="$CONFIG_FILES libsoup-zip" ;;
16551 "libsoup/Makefile") CONFIG_FILES="$CONFIG_FILES libsoup/Makefile" ;;
16552 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16553 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
16554 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16555 "tests/httpd.conf") CONFIG_FILES="$CONFIG_FILES tests/httpd.conf" ;;
16556 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16557 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16558 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
16559 "libsoup/soup-version.h") CONFIG_FILES="$CONFIG_FILES libsoup/soup-version.h" ;;
16560 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
16561 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
16562 "win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs9/Makefile" ;;
16563 "win32/vs9/soup-version-paths.vsprops") CONFIG_FILES="$CONFIG_FILES win32/vs9/soup-version-paths.vsprops" ;;
16564 "win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs10/Makefile" ;;
16565 "win32/vs10/soup-version-paths.props") CONFIG_FILES="$CONFIG_FILES win32/vs10/soup-version-paths.props" ;;
16566 "win32/vs11/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs11/Makefile" ;;
16567 "win32/vs12/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs12/Makefile" ;;
16568 "win32/vs14/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs14/Makefile" ;;
16569 "win32/vs15/Makefile") CONFIG_FILES="$CONFIG_FILES win32/vs15/Makefile" ;;
16570 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16572 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16577 # If the user did not use the arguments to specify the items to instantiate,
16578 # then the envvar interface is used. Set only those that are not.
16579 # We use the long form for the default assignment because of an extremely
16580 # bizarre bug on SunOS 4.1.3.
16581 if $ac_need_defaults; then
16582 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16583 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16587 # Have a temporary directory for convenience. Make it in the build tree
16588 # simply because there is no reason against having it here, and in addition,
16589 # creating and moving files from /tmp can sometimes cause problems.
16590 # Hook for its removal unless debugging.
16591 # Note that there is a small window in which the directory will not be cleaned:
16592 # after its creation but before its name has been assigned to `$tmp'.
16596 trap 'exit_status=$?
16597 : "${ac_tmp:=$tmp}"
16598 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16600 trap 'as_fn_exit 1' 1 2 13 15
16602 # Create a (secure) tmp directory for tmp files.
16605 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16609 tmp=./conf$$-$RANDOM
16610 (umask 077 && mkdir "$tmp")
16611 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16614 # Set up the scripts for CONFIG_FILES section.
16615 # No need to generate them if there are no CONFIG_FILES.
16616 # This happens for instance with `./config.status config.h'.
16617 if test -n "$CONFIG_FILES"; then
16620 ac_cr=`echo X | tr X '\015'`
16621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16622 # But we know of no other shell where ac_cr would be empty at this
16623 # point, so we can use a bashism as a fallback.
16624 if test "x$ac_cr" = x; then
16625 eval ac_cr=\$\'\\r\'
16627 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16631 ac_cs_awk_cr=$ac_cr
16634 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16639 echo "cat >conf$$subs.awk <<_ACEOF" &&
16640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16642 } >conf$$subs.sh ||
16643 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16646 for ac_last_try in false false false false false :; do
16647 . ./conf$$subs.sh ||
16648 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16650 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16651 if test $ac_delim_n = $ac_delim_num; then
16653 elif $ac_last_try; then
16654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16656 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16659 rm -f conf$$subs.sh
16661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16662 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16666 s/^/S["/; s/!.*/"]=/
16676 s/\(.\{148\}\)..*/\1/
16678 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16683 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16690 s/\(.\{148\}\)..*/\1/
16692 s/["\\]/\\&/g; s/^/"/; s/$/"/
16696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16701 ' <conf$$subs.awk | sed '
16706 ' >>$CONFIG_STATUS || ac_write_fail=1
16707 rm -f conf$$subs.awk
16708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16710 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16711 for (key in S) S_is_set[key] = 1
16717 nfields = split(line, field, "@")
16719 len = length(field[1])
16720 for (i = 2; i < nfields; i++) {
16722 keylen = length(key)
16723 if (S_is_set[key]) {
16725 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16726 len += length(value) + length(field[++i])
16737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16738 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16739 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16742 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16743 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16746 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16747 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16748 # trailing colons and then remove the whole line if VPATH becomes empty
16749 # (actually we leave an empty line to preserve line numbers).
16750 if test "x$srcdir" = x.; then
16751 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16770 fi # test -n "$CONFIG_FILES"
16772 # Set up the scripts for CONFIG_HEADERS section.
16773 # No need to generate them if there are no CONFIG_HEADERS.
16774 # This happens for instance with `./config.status Makefile'.
16775 if test -n "$CONFIG_HEADERS"; then
16776 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16780 # Transform confdefs.h into an awk script `defines.awk', embedded as
16781 # here-document in config.status, that substitutes the proper values into
16782 # config.h.in to produce config.h.
16784 # Create a delimiter string that does not exist in confdefs.h, to ease
16785 # handling of long lines.
16787 for ac_last_try in false false :; do
16788 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16789 if test -z "$ac_tt"; then
16791 elif $ac_last_try; then
16792 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16798 # For the awk script, D is an array of macro values keyed by name,
16799 # likewise P contains macro parameters if any. Preserve backslash
16800 # newline sequences.
16802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16804 s/.\{148\}/&'"$ac_delim"'/g
16807 s/^[ ]*#[ ]*define[ ][ ]*/ /
16814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16816 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16821 D["\1"]=" \3\\\\\\n"\\/p
16823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16828 s/.\{148\}/&'"$ac_delim"'/g
16833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16838 ' <confdefs.h | sed '
16839 s/'"$ac_delim"'/"\\\
16840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16843 for (key in D) D_is_set[key] = 1
16846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16848 split(line, arg, " ")
16849 if (arg[1] == "#") {
16853 defundef = substr(arg[1], 2)
16856 split(mac1, mac2, "(") #)
16858 prefix = substr(line, 1, index(line, defundef) - 1)
16859 if (D_is_set[macro]) {
16860 # Preserve the white space surrounding the "#".
16861 print prefix "define", macro P[macro] D[macro]
16864 # Replace #undef with comments. This is necessary, for example,
16865 # in the case of _POSIX_SOURCE, which is predefined and required
16866 # on some systems where configure will not decide to define it.
16867 if (defundef == "undef") {
16868 print "/*", prefix defundef, macro, "*/"
16876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16877 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16878 fi # test -n "$CONFIG_HEADERS"
16881 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16886 :[FHLC]) ac_mode=$ac_tag; continue;;
16888 case $ac_mode$ac_tag in
16890 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16891 :[FH]-) ac_tag=-:-;;
16892 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16909 -) ac_f="$ac_tmp/stdin";;
16910 *) # Look for the file first in the build tree, then in the source tree
16911 # (if the path is not absolute). The absolute path cannot be DOS-style,
16912 # because $ac_f cannot contain `:'.
16916 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16918 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16920 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16921 as_fn_append ac_file_inputs " '$ac_f'"
16924 # Let's still pretend it is `configure' which instantiates (i.e., don't
16925 # use $as_me), people would be surprised to read:
16926 # /* config.h. Generated by config.status. */
16927 configure_input='Generated from '`
16928 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16930 if test x"$ac_file" != x-; then
16931 configure_input="$ac_file. $configure_input"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16933 $as_echo "$as_me: creating $ac_file" >&6;}
16935 # Neutralize special characters interpreted by sed in replacement strings.
16936 case $configure_input in #(
16937 *\&* | *\|* | *\\* )
16938 ac_sed_conf_input=`$as_echo "$configure_input" |
16939 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16940 *) ac_sed_conf_input=$configure_input;;
16944 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16950 ac_dir=`$as_dirname -- "$ac_file" ||
16951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16952 X"$ac_file" : 'X\(//\)[^/]' \| \
16953 X"$ac_file" : 'X\(//\)$' \| \
16954 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16955 $as_echo X"$ac_file" |
16956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16960 /^X\(\/\/\)[^/].*/{
16973 as_dir="$ac_dir"; as_fn_mkdir_p
16977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16979 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16980 # A ".." for each directory in $ac_dir_suffix.
16981 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16982 case $ac_top_builddir_sub in
16983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16987 ac_abs_top_builddir=$ac_pwd
16988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16989 # for backward compatibility:
16990 ac_top_builddir=$ac_top_build_prefix
16993 .) # We are building in place.
16995 ac_top_srcdir=$ac_top_builddir_sub
16996 ac_abs_top_srcdir=$ac_pwd ;;
16997 [\\/]* | ?:[\\/]* ) # Absolute name.
16998 ac_srcdir=$srcdir$ac_dir_suffix;
16999 ac_top_srcdir=$srcdir
17000 ac_abs_top_srcdir=$srcdir ;;
17001 *) # Relative name.
17002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17003 ac_top_srcdir=$ac_top_build_prefix$srcdir
17004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17016 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17017 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17019 ac_MKDIR_P=$MKDIR_P
17021 [\\/$]* | ?:[\\/]* ) ;;
17022 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17027 # If the template does not know about datarootdir, expand it.
17028 # FIXME: This hack should be removed a few years after 2.60.
17029 ac_datarootdir_hack=; ac_datarootdir_seen=
17040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17041 *datarootdir*) ac_datarootdir_seen=yes;;
17042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17047 ac_datarootdir_hack='
17048 s&@datadir@&$datadir&g
17049 s&@docdir@&$docdir&g
17050 s&@infodir@&$infodir&g
17051 s&@localedir@&$localedir&g
17052 s&@mandir@&$mandir&g
17053 s&\\\${datarootdir}&$datarootdir&g' ;;
17057 # Neutralize VPATH when `$srcdir' = `.'.
17058 # Shell code in configure.ac might set extrasub.
17059 # FIXME: do we really want to maintain this feature?
17060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17061 ac_sed_extra="$ac_vpsub
17064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17067 s|@configure_input@|$ac_sed_conf_input|;t t
17068 s&@top_builddir@&$ac_top_builddir_sub&;t t
17069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17070 s&@srcdir@&$ac_srcdir&;t t
17071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17072 s&@top_srcdir@&$ac_top_srcdir&;t t
17073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17074 s&@builddir@&$ac_builddir&;t t
17075 s&@abs_builddir@&$ac_abs_builddir&;t t
17076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17077 s&@INSTALL@&$ac_INSTALL&;t t
17078 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17079 $ac_datarootdir_hack
17081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17082 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17087 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17089 which seems to be undefined. Please make sure it is defined" >&5
17090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17091 which seems to be undefined. Please make sure it is defined" >&2;}
17093 rm -f "$ac_tmp/stdin"
17095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17104 if test x"$ac_file" != x-; then
17106 $as_echo "/* $configure_input */" \
17107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17108 } >"$ac_tmp/config.h" \
17109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17115 mv "$ac_tmp/config.h" "$ac_file" \
17116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17119 $as_echo "/* $configure_input */" \
17120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17121 || as_fn_error $? "could not create -" "$LINENO" 5
17123 # Compute "$ac_file"'s index in $config_headers.
17126 for _am_header in $config_headers :; do
17127 case $_am_header in
17128 $_am_arg | $_am_arg:* )
17131 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17136 X"$_am_arg" : 'X\(//\)[^/]' \| \
17137 X"$_am_arg" : 'X\(//\)$' \| \
17138 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17139 $as_echo X"$_am_arg" |
17140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17144 /^X\(\/\/\)[^/].*/{
17156 s/.*/./; q'`/stamp-h$_am_stamp_count
17159 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17160 $as_echo "$as_me: executing $ac_file commands" >&6;}
17165 case $ac_file$ac_mode in
17166 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17167 # Older Autoconf quotes --file arguments for eval, but not when files
17168 # are listed without --file. Let's play safe and only enable the eval
17169 # if we detect the quoting.
17170 case $CONFIG_FILES in
17171 *\'*) eval set x "$CONFIG_FILES" ;;
17172 *) set x $CONFIG_FILES ;;
17177 # Strip MF so we end up with the name of the file.
17178 mf=`echo "$mf" | sed -e 's/:.*$//'`
17179 # Check whether this is an Automake generated Makefile or not.
17180 # We used to match only the files named 'Makefile.in', but
17181 # some people rename them; so instead we look at the file content.
17182 # Grep'ing the first line is not enough: some people post-process
17183 # each Makefile.in and add a new line on top of each file to say so.
17184 # Grep'ing the whole file is not good either: AIX grep has a line
17185 # limit of 2048, but all sed's we know have understand at least 4000.
17186 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17187 dirpart=`$as_dirname -- "$mf" ||
17188 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17189 X"$mf" : 'X\(//\)[^/]' \| \
17190 X"$mf" : 'X\(//\)$' \| \
17191 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17197 /^X\(\/\/\)[^/].*/{
17213 # Extract the definition of DEPDIR, am__include, and am__quote
17214 # from the Makefile without running 'make'.
17215 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17216 test -z "$DEPDIR" && continue
17217 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17218 test -z "$am__include" && continue
17219 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17220 # Find all dependency output files, they are included files with
17221 # $(DEPDIR) in their names. We invoke sed twice because it is the
17222 # simplest approach to changing $(DEPDIR) to its actual value in the
17224 for file in `sed -n "
17225 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17226 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17227 # Make sure the directory exists.
17228 test -f "$dirpart/$file" && continue
17229 fdir=`$as_dirname -- "$file" ||
17230 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17231 X"$file" : 'X\(//\)[^/]' \| \
17232 X"$file" : 'X\(//\)$' \| \
17233 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17234 $as_echo X"$file" |
17235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17239 /^X\(\/\/\)[^/].*/{
17252 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17253 # echo "creating $dirpart/$file"
17254 echo '# dummy' > "$dirpart/$file"
17261 # See if we are running on zsh, and set the options that allow our
17262 # commands through without removal of \ escapes.
17263 if test -n "${ZSH_VERSION+set}"; then
17264 setopt NO_GLOB_SUBST
17268 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17271 cat <<_LT_EOF >> "$cfgfile"
17273 # Generated automatically by $as_me ($PACKAGE) $VERSION
17274 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17276 # Provide generalized library-building support services.
17277 # Written by Gordon Matzigkeit, 1996
17279 # Copyright (C) 2014 Free Software Foundation, Inc.
17280 # This is free software; see the source for copying conditions. There is NO
17281 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17283 # GNU Libtool is free software; you can redistribute it and/or modify
17284 # it under the terms of the GNU General Public License as published by
17285 # the Free Software Foundation; either version 2 of of the License, or
17286 # (at your option) any later version.
17288 # As a special exception to the GNU General Public License, if you
17289 # distribute this file as part of a program or library that is built
17290 # using GNU Libtool, you may include this file under the same
17291 # distribution terms that you use for the rest of that program.
17293 # GNU Libtool is distributed in the hope that it will be useful, but
17294 # WITHOUT ANY WARRANTY; without even the implied warranty of
17295 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17296 # GNU General Public License for more details.
17298 # You should have received a copy of the GNU General Public License
17299 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17302 # The names of the tagged configurations supported by this script.
17305 # Configured defaults for sys_lib_dlsearch_path munging.
17306 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17308 # ### BEGIN LIBTOOL CONFIG
17310 # Which release of libtool.m4 was used?
17311 macro_version=$macro_version
17312 macro_revision=$macro_revision
17314 # Assembler program.
17317 # DLL creation program.
17318 DLLTOOL=$lt_DLLTOOL
17320 # Object dumper program.
17321 OBJDUMP=$lt_OBJDUMP
17323 # Whether or not to build shared libraries.
17324 build_libtool_libs=$enable_shared
17326 # Whether or not to build static libraries.
17327 build_old_libs=$enable_static
17329 # What type of objects to build.
17332 # Whether or not to optimize for fast installation.
17333 fast_install=$enable_fast_install
17335 # Shared archive member basename,for filename based shared library versioning on AIX.
17336 shared_archive_member_spec=$shared_archive_member_spec
17338 # Shell to use when invoking shell scripts.
17341 # An echo program that protects backslashes.
17344 # The PATH separator for the build system.
17345 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17348 host_alias=$host_alias
17352 # The build system.
17353 build_alias=$build_alias
17357 # A sed program that does not truncate output.
17360 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17361 Xsed="\$SED -e 1s/^X//"
17363 # A grep program that handles long lines.
17369 # A literal string matcher.
17372 # A BSD- or MS-compatible name lister.
17375 # Whether we need soft or hard links.
17378 # What is the maximum length of a command?
17379 max_cmd_len=$max_cmd_len
17381 # Object file suffix (normally "o").
17384 # Executable file suffix (normally "").
17387 # whether the shell understands "unset".
17390 # turn spaces into newlines.
17393 # turn newlines into spaces.
17396 # convert \$build file names to \$host format.
17397 to_host_file_cmd=$lt_cv_to_host_file_cmd
17399 # convert \$build files to toolchain format.
17400 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17402 # Method to check whether dependent libraries are shared objects.
17403 deplibs_check_method=$lt_deplibs_check_method
17405 # Command to use when deplibs_check_method = "file_magic".
17406 file_magic_cmd=$lt_file_magic_cmd
17408 # How to find potential files when deplibs_check_method = "file_magic".
17409 file_magic_glob=$lt_file_magic_glob
17411 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17412 want_nocaseglob=$lt_want_nocaseglob
17414 # Command to associate shared and link libraries.
17415 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17420 # Flags to create an archive.
17421 AR_FLAGS=$lt_AR_FLAGS
17423 # How to feed a file listing to the archiver.
17424 archiver_list_spec=$lt_archiver_list_spec
17426 # A symbol stripping program.
17429 # Commands used to install an old-style archive.
17431 old_postinstall_cmds=$lt_old_postinstall_cmds
17432 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17434 # Whether to use a lock for old archive extraction.
17435 lock_old_archive_extraction=$lock_old_archive_extraction
17440 # LTCC compiler flags.
17441 LTCFLAGS=$lt_CFLAGS
17443 # Take the output of nm and produce a listing of raw symbols and C names.
17444 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17446 # Transform the output of nm in a proper C declaration.
17447 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17449 # Transform the output of nm into a list of symbols to manually relocate.
17450 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17452 # Transform the output of nm in a C name address pair.
17453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17455 # Transform the output of nm in a C name address pair when lib prefix is needed.
17456 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17458 # The name lister interface.
17459 nm_interface=$lt_lt_cv_nm_interface
17461 # Specify filename containing input files for \$NM.
17462 nm_file_list_spec=$lt_nm_file_list_spec
17464 # The root where to search for dependent libraries,and where our libraries should be installed.
17465 lt_sysroot=$lt_sysroot
17467 # Command to truncate a binary pipe.
17468 lt_truncate_bin=$lt_lt_cv_truncate_bin
17470 # The name of the directory that contains temporary libtool files.
17473 # Used to examine libraries when file_magic_cmd begins with "file".
17474 MAGIC_CMD=$MAGIC_CMD
17476 # Must we lock files when doing compilation?
17477 need_locks=$lt_need_locks
17480 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17482 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17483 DSYMUTIL=$lt_DSYMUTIL
17485 # Tool to change global to local symbols on Mac OS X.
17488 # Tool to manipulate fat objects and archives on Mac OS X.
17491 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17494 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17495 OTOOL64=$lt_OTOOL64
17497 # Old archive suffix (normally "a").
17500 # Shared library suffix (normally ".so").
17501 shrext_cmds=$lt_shrext_cmds
17503 # The commands to extract the exported symbol list from a shared archive.
17504 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17506 # Variables whose values should be saved in libtool wrapper scripts and
17507 # restored at link time.
17508 variables_saved_for_relink=$lt_variables_saved_for_relink
17510 # Do we need the "lib" prefix for modules?
17511 need_lib_prefix=$need_lib_prefix
17513 # Do we need a version for libraries?
17514 need_version=$need_version
17516 # Library versioning type.
17517 version_type=$version_type
17519 # Shared library runtime path variable.
17520 runpath_var=$runpath_var
17522 # Shared library path variable.
17523 shlibpath_var=$shlibpath_var
17525 # Is shlibpath searched before the hard-coded library search path?
17526 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17528 # Format of library name prefix.
17529 libname_spec=$lt_libname_spec
17531 # List of archive names. First name is the real one, the rest are links.
17532 # The last name is the one that the linker finds with -lNAME
17533 library_names_spec=$lt_library_names_spec
17535 # The coded name of the library, if different from the real name.
17536 soname_spec=$lt_soname_spec
17538 # Permission mode override for installation of shared libraries.
17539 install_override_mode=$lt_install_override_mode
17541 # Command to use after installation of a shared archive.
17542 postinstall_cmds=$lt_postinstall_cmds
17544 # Command to use after uninstallation of a shared archive.
17545 postuninstall_cmds=$lt_postuninstall_cmds
17547 # Commands used to finish a libtool library installation in a directory.
17548 finish_cmds=$lt_finish_cmds
17550 # As "finish_cmds", except a single script fragment to be evaled but
17552 finish_eval=$lt_finish_eval
17554 # Whether we should hardcode library paths into libraries.
17555 hardcode_into_libs=$hardcode_into_libs
17557 # Compile-time system search path for libraries.
17558 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17560 # Detected run-time system search path for libraries.
17561 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17563 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17564 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17566 # Whether dlopen is supported.
17567 dlopen_support=$enable_dlopen
17569 # Whether dlopen of programs is supported.
17570 dlopen_self=$enable_dlopen_self
17572 # Whether dlopen of statically linked programs is supported.
17573 dlopen_self_static=$enable_dlopen_self_static
17575 # Commands to strip libraries.
17576 old_striplib=$lt_old_striplib
17577 striplib=$lt_striplib
17580 # The linker used to build libraries.
17583 # How to create reloadable object files.
17584 reload_flag=$lt_reload_flag
17585 reload_cmds=$lt_reload_cmds
17587 # Commands used to build an old-style archive.
17588 old_archive_cmds=$lt_old_archive_cmds
17590 # A language specific compiler.
17593 # Is the compiler the GNU compiler?
17596 # Compiler flag to turn off builtin functions.
17597 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17599 # Additional compiler flags for building library objects.
17600 pic_flag=$lt_lt_prog_compiler_pic
17602 # How to pass a linker flag through the compiler.
17603 wl=$lt_lt_prog_compiler_wl
17605 # Compiler flag to prevent dynamic linking.
17606 link_static_flag=$lt_lt_prog_compiler_static
17608 # Does compiler simultaneously support -c and -o options?
17609 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17611 # Whether or not to add -lc for building shared libraries.
17612 build_libtool_need_lc=$archive_cmds_need_lc
17614 # Whether or not to disallow shared libs when runtime libs are static.
17615 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17617 # Compiler flag to allow reflexive dlopens.
17618 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17620 # Compiler flag to generate shared objects directly from archives.
17621 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17623 # Whether the compiler copes with passing no objects directly.
17624 compiler_needs_object=$lt_compiler_needs_object
17626 # Create an old-style archive from a shared archive.
17627 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17629 # Create a temporary old-style archive to link instead of a shared archive.
17630 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17632 # Commands used to build a shared archive.
17633 archive_cmds=$lt_archive_cmds
17634 archive_expsym_cmds=$lt_archive_expsym_cmds
17636 # Commands used to build a loadable module if different from building
17637 # a shared archive.
17638 module_cmds=$lt_module_cmds
17639 module_expsym_cmds=$lt_module_expsym_cmds
17641 # Whether we are building with GNU ld or not.
17642 with_gnu_ld=$lt_with_gnu_ld
17644 # Flag that allows shared libraries with undefined symbols to be built.
17645 allow_undefined_flag=$lt_allow_undefined_flag
17647 # Flag that enforces no undefined symbols.
17648 no_undefined_flag=$lt_no_undefined_flag
17650 # Flag to hardcode \$libdir into a binary during linking.
17651 # This must work even if \$libdir does not exist
17652 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17654 # Whether we need a single "-rpath" flag with a separated argument.
17655 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17657 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17658 # DIR into the resulting binary.
17659 hardcode_direct=$hardcode_direct
17661 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17662 # DIR into the resulting binary and the resulting library dependency is
17663 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17664 # library is relocated.
17665 hardcode_direct_absolute=$hardcode_direct_absolute
17667 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17668 # into the resulting binary.
17669 hardcode_minus_L=$hardcode_minus_L
17671 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17672 # into the resulting binary.
17673 hardcode_shlibpath_var=$hardcode_shlibpath_var
17675 # Set to "yes" if building a shared library automatically hardcodes DIR
17676 # into the library and all subsequent libraries and executables linked
17678 hardcode_automatic=$hardcode_automatic
17680 # Set to yes if linker adds runtime paths of dependent libraries
17681 # to runtime path list.
17682 inherit_rpath=$inherit_rpath
17684 # Whether libtool must link a program against all its dependency libraries.
17685 link_all_deplibs=$link_all_deplibs
17687 # Set to "yes" if exported symbols are required.
17688 always_export_symbols=$always_export_symbols
17690 # The commands to list exported symbols.
17691 export_symbols_cmds=$lt_export_symbols_cmds
17693 # Symbols that should not be listed in the preloaded symbols.
17694 exclude_expsyms=$lt_exclude_expsyms
17696 # Symbols that must always be exported.
17697 include_expsyms=$lt_include_expsyms
17699 # Commands necessary for linking programs (against libraries) with templates.
17700 prelink_cmds=$lt_prelink_cmds
17702 # Commands necessary for finishing linking programs.
17703 postlink_cmds=$lt_postlink_cmds
17705 # Specify filename containing input files.
17706 file_list_spec=$lt_file_list_spec
17708 # How to hardcode a shared library path into an executable.
17709 hardcode_action=$hardcode_action
17711 # ### END LIBTOOL CONFIG
17715 cat <<'_LT_EOF' >> "$cfgfile"
17717 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17719 # func_munge_path_list VARIABLE PATH
17720 # -----------------------------------
17721 # VARIABLE is name of variable containing _space_ separated list of
17722 # directories to be munged by the contents of PATH, which is string
17725 # string "DIR[ DIR]" will be prepended to VARIABLE
17727 # string "DIR[ DIR]" will be appended to VARIABLE
17728 # "DIRP[:DIRP]::[DIRA:]DIRA"
17729 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17730 # "DIRA[ DIRA]" will be appended to VARIABLE
17732 # VARIABLE will be replaced by "DIR[ DIR]"
17733 func_munge_path_list ()
17739 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17742 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17745 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17746 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17749 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17755 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17756 func_cc_basename ()
17758 for cc_temp in $*""; do
17760 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17761 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17766 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17770 # ### END FUNCTIONS SHARED WITH CONFIGURE
17776 cat <<\_LT_EOF >> "$cfgfile"
17777 # AIX sometimes has problems with the GCC collect2 program. For some
17778 # reason, if we set the COLLECT_NAMES environment variable, the problems
17779 # vanish in a puff of smoke.
17780 if test set != "${COLLECT_NAMES+set}"; then
17782 export COLLECT_NAMES
17789 ltmain=$ac_aux_dir/ltmain.sh
17792 # We use sed instead of cat because bash on DJGPP gets confused if
17793 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17794 # text mode, it properly converts lines to CR/LF. This bash problem
17795 # is reportedly fixed, but why not run on old versions too?
17796 sed '$q' "$ltmain" >> "$cfgfile" \
17797 || (rm -f "$cfgfile"; exit 1)
17799 mv -f "$cfgfile" "$ofile" ||
17800 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17805 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17806 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17808 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17813 '"s|^| $ac_top_srcdir/|" \
17814 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17816 sed '/^POTFILES =/,/[^\\]$/ {
17820 ' "po/Makefile.in" >"po/Makefile"
17821 rm -f "po/Makefile.tmp"
17822 mv "po/stamp-it.tmp" "po/stamp-it"
17831 ac_clean_files=$ac_clean_files_save
17833 test $ac_write_fail = 0 ||
17834 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17837 # configure is writing to config.log, and then calls config.status.
17838 # config.status does its own redirection, appending to config.log.
17839 # Unfortunately, on DOS this fails, as config.log is still kept open
17840 # by configure, so config.status won't be able to write to it; its
17841 # output is simply discarded. So we exec the FD to /dev/null,
17842 # effectively closing config.log, so it can be properly (re)opened and
17843 # appended to by config.status. When coming back to configure, we
17844 # need to make the FD available again.
17845 if test "$no_create" != yes; then
17847 ac_config_status_args=
17848 test "$silent" = yes &&
17849 ac_config_status_args="$ac_config_status_args --quiet"
17851 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17853 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17854 # would make configure fail if this is the last instruction.
17855 $ac_cs_success || as_fn_exit 1
17857 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17859 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}