2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsoup 2.46.0.
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 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='libsoup'
593 PACKAGE_TARNAME='libsoup'
594 PACKAGE_VERSION='2.46.0'
595 PACKAGE_STRING='libsoup 2.46.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup'
599 ac_unique_file="libsoup-2.4.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
644 HAVE_APACHE_2_4_FALSE
646 HAVE_APACHE_2_2_FALSE
651 APACHE_PHP_MODULE_DIR
652 APACHE_SSL_MODULE_DIR
655 HAVE_INTROSPECTION_FALSE
656 HAVE_INTROSPECTION_TRUE
657 INTROSPECTION_MAKEFILE
660 INTROSPECTION_TYPELIBDIR
662 INTROSPECTION_GENERATE
663 INTROSPECTION_COMPILER
664 INTROSPECTION_SCANNER
665 GTK_DOC_USE_REBASE_FALSE
666 GTK_DOC_USE_REBASE_TRUE
667 GTK_DOC_USE_LIBTOOL_FALSE
668 GTK_DOC_USE_LIBTOOL_TRUE
669 GTK_DOC_BUILD_PDF_FALSE
670 GTK_DOC_BUILD_PDF_TRUE
671 GTK_DOC_BUILD_HTML_FALSE
672 GTK_DOC_BUILD_HTML_TRUE
685 BUILD_LIBSOUP_GNOME_FALSE
686 BUILD_LIBSOUP_GNOME_TRUE
695 INTLTOOL_SERVICE_RULE
697 INTLTOOL_SCHEMAS_RULE
699 INTLTOOL_XML_NOMERGE_RULE
704 INTLTOOL_SOUNDLIST_RULE
711 INTLTOOL_DIRECTORY_RULE
712 INTLTOOL_DESKTOP_RULE
713 intltool__v_merge_options_0
714 intltool__v_merge_options_
715 INTLTOOL_V_MERGE_OPTIONS
730 installed_test_metadir
731 ENABLE_ALWAYS_BUILD_TESTS_FALSE
732 ENABLE_ALWAYS_BUILD_TESTS_TRUE
733 ENABLE_INSTALLED_TESTS_FALSE
734 ENABLE_INSTALLED_TESTS_TRUE
736 GLIB_COMPILE_RESOURCES
813 INSTALL_STRIP_PROGRAM
855 program_transform_name
868 enable_option_checking
871 enable_dependency_tracking
880 enable_installed_tests
881 enable_always_build_tests
891 with_apache_module_dir
895 ac_precious_vars='build_alias
915 # Initialize some variables set by options.
917 ac_init_version=false
918 ac_unrecognized_opts=
920 # The variables have the same names as the options, with
921 # dashes changed to underlines.
929 program_transform_name=s,x,x,
937 # Installation directory options.
938 # These are left unexpanded so users can "make install exec_prefix=/foo"
939 # and all the variables that are supposed to be based on exec_prefix
940 # by default will actually change.
941 # Use braces instead of parens because sh, perl, etc. also accept them.
942 # (The list follows the same order as the GNU Coding Standards.)
943 bindir='${exec_prefix}/bin'
944 sbindir='${exec_prefix}/sbin'
945 libexecdir='${exec_prefix}/libexec'
946 datarootdir='${prefix}/share'
947 datadir='${datarootdir}'
948 sysconfdir='${prefix}/etc'
949 sharedstatedir='${prefix}/com'
950 localstatedir='${prefix}/var'
951 includedir='${prefix}/include'
952 oldincludedir='/usr/include'
953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
954 infodir='${datarootdir}/info'
959 libdir='${exec_prefix}/lib'
960 localedir='${datarootdir}/locale'
961 mandir='${datarootdir}/man'
967 # If the previous option needs an argument, assign it.
968 if test -n "$ac_prev"; then
969 eval $ac_prev=\$ac_option
975 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error $? "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1222 -site=* | --site=* | --sit=*)
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error $? "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error $? "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1278 eval with_$ac_useropt=no ;;
1281 # Obsolete; use --with-x.
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information"
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error $? "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1331 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1349 # Be sure to have absolute directory names.
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 elif test "x$build_alias" != "x$host_alias"; then
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376 test "$silent" = yes && exec 6>/dev/null
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error $? "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error $? "pwd does not report name of working directory"
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1419 ac_srcdir_defaulted=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447 # Report the --help message.
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1453 \`configure' configures libsoup 2.46.0 to adapt to many kinds of systems.
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1460 Defaults for the options are specified in brackets.
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking ...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1484 For better control, use the options below.
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libsoup]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1521 if test -n "$ac_init_help"; then
1522 case $ac_init_help in
1523 short | recursive ) echo "Configuration of libsoup 2.46.0:";;
1528 --disable-option-checking ignore unrecognized --enable/--with options
1529 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1530 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1531 --enable-silent-rules less verbose build output (undo: "make V=1")
1532 --disable-silent-rules verbose build output (undo: "make V=0")
1533 --enable-debug=no/minimum/yes
1534 turn on debugging (default=$debug_default)
1535 --enable-dependency-tracking
1536 do not reject slow dependency extractors
1537 --disable-dependency-tracking
1538 speeds up one-time build
1539 --enable-shared[=PKGS] build shared libraries [default=yes]
1540 --enable-static[=PKGS] build static libraries [default=yes]
1541 --enable-fast-install[=PKGS]
1542 optimize for fast installation [default=yes]
1543 --disable-libtool-lock avoid locking (might break parallel builds)
1544 --disable-glibtest do not try to compile and run a test GLIB program
1545 --enable-installed-tests
1546 Enable installation of some test cases
1547 --enable-always-build-tests
1548 Enable always building tests during 'make all'
1549 --disable-nls do not use Native Language Support
1550 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1551 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1552 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1553 --enable-introspection=[no/auto/yes]
1554 Enable introspection for this build
1555 --disable-tls-check Don't error out if glib-networking is unavailable
1556 --disable-more-warnings Inhibit compiler warnings
1559 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1560 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1561 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1563 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1564 --with-sysroot=DIR Search for dependent libraries within DIR
1565 (or the compiler's sysroot if not specified).
1566 --without-gnome Do not build libsoup-gnome
1567 --with-html-dir=PATH path to installed docs
1568 --with-apache-httpd Path to apache httpd (for tests)
1569 --with-apache-module-dir
1570 Apache modules dirs (for tests)
1571 --with-ntlm-auth=PATH Where to look for ntlm_auth, path points to
1572 ntlm_auth installation (default: /usr/bin/ntlm_auth)
1574 Some influential environment variables:
1575 CC C compiler command
1576 CFLAGS C compiler flags
1577 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1578 nonstandard directory <lib dir>
1579 LIBS libraries to pass to the linker, e.g. -l<library>
1580 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1581 you have headers in a nonstandard directory <include dir>
1583 PKG_CONFIG path to pkg-config utility
1585 directories to add to pkg-config's search path
1587 path overriding pkg-config's built-in search path
1588 XML_CFLAGS C compiler flags for XML, overriding pkg-config
1589 XML_LIBS linker flags for XML, overriding pkg-config
1591 C compiler flags for SQLITE, overriding pkg-config
1592 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1594 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1596 linker flags for GTKDOC_DEPS, overriding pkg-config
1598 Use these variables to override the choices made by `configure' or to help
1599 it to find libraries and programs with nonstandard names/locations.
1601 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup>.
1606 if test "$ac_init_help" = "recursive"; then
1607 # If there are subdirs, report their specific --help.
1608 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1609 test -d "$ac_dir" ||
1610 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1618 # A ".." for each directory in $ac_dir_suffix.
1619 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1620 case $ac_top_builddir_sub in
1621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625 ac_abs_top_builddir=$ac_pwd
1626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1627 # for backward compatibility:
1628 ac_top_builddir=$ac_top_build_prefix
1631 .) # We are building in place.
1633 ac_top_srcdir=$ac_top_builddir_sub
1634 ac_abs_top_srcdir=$ac_pwd ;;
1635 [\\/]* | ?:[\\/]* ) # Absolute name.
1636 ac_srcdir=$srcdir$ac_dir_suffix;
1637 ac_top_srcdir=$srcdir
1638 ac_abs_top_srcdir=$srcdir ;;
1640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1641 ac_top_srcdir=$ac_top_build_prefix$srcdir
1642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1646 cd "$ac_dir" || { ac_status=$?; continue; }
1647 # Check for guested configure.
1648 if test -f "$ac_srcdir/configure.gnu"; then
1650 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1651 elif test -f "$ac_srcdir/configure"; then
1653 $SHELL "$ac_srcdir/configure" --help=recursive
1655 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1657 cd "$ac_pwd" || { ac_status=$?; break; }
1661 test -n "$ac_init_help" && exit $ac_status
1662 if $ac_init_version; then
1664 libsoup configure 2.46.0
1665 generated by GNU Autoconf 2.69
1667 Copyright (C) 2012 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1674 ## ------------------------ ##
1675 ## Autoconf initialization. ##
1676 ## ------------------------ ##
1678 # ac_fn_c_try_compile LINENO
1679 # --------------------------
1680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1681 ac_fn_c_try_compile ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 rm -f conftest.$ac_objext
1685 if { { ac_try="$ac_compile"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_compile") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest.$ac_objext; then :
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1714 } # ac_fn_c_try_compile
1716 # ac_fn_c_try_link LINENO
1717 # -----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext conftest$ac_exeext
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>conftest.err
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest$ac_exeext && {
1742 test "$cross_compiling" = yes ||
1743 test -x conftest$ac_exeext
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1753 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1754 # interfere with the next link command; also delete a directory that is
1755 # left behind by Apple's compiler. We do this before executing the actions.
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1760 } # ac_fn_c_try_link
1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists and can be compiled using the include files in
1765 # INCLUDES, setting the cache variable VAR accordingly.
1766 ac_fn_c_check_header_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1779 if ac_fn_c_try_compile "$LINENO"; then :
1784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_header_compile
1793 # ac_fn_c_try_cpp LINENO
1794 # ----------------------
1795 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if { { ac_try="$ac_cpp conftest.$ac_ext"
1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1808 if test -s conftest.err; then
1809 grep -v '^ *+' conftest.err >conftest.er1
1810 cat conftest.er1 >&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } > conftest.i && {
1815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status $ac_retval
1830 # ac_fn_c_try_run LINENO
1831 # ----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1833 # that executables *can* be run.
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_link"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1848 { { case "(($ac_try" in
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_try") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; }; }; then :
1860 $as_echo "$as_me: program exited with status $ac_status" >&5
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1864 ac_retval=$ac_status
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_check_func LINENO FUNC VAR
1873 # ----------------------------------
1874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1875 ac_fn_c_check_func ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881 $as_echo_n "(cached) " >&6
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1887 #define $2 innocuous_$2
1889 /* System header to define __stub macros and hopefully few prototypes,
1890 which can conflict with char $2 (); below.
1891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892 <limits.h> exists even on freestanding compilers. */
1895 # include <limits.h>
1897 # include <assert.h>
1902 /* Override any GCC internal prototype to avoid an error.
1903 Use char because int might match the return type of a GCC
1904 builtin and then its argument prototype would still apply. */
1909 /* The GNU C library defines this for functions which it implements
1910 to always fail with ENOSYS. Some functions are actually named
1911 something starting with __ and the normal name is an alias. */
1912 #if defined __stub_$2 || defined __stub___$2
1924 if ac_fn_c_try_link "$LINENO"; then :
1929 rm -f core conftest.err conftest.$ac_objext \
1930 conftest$ac_exeext conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 } # ac_fn_c_check_func
1938 cat >config.log <<_ACEOF
1939 This file contains any messages produced by compilers while
1940 running configure, to aid debugging if configure makes a mistake.
1942 It was created by libsoup $as_me 2.46.0, which was
1943 generated by GNU Autoconf 2.69. Invocation command line was
1955 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1956 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1957 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1958 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1959 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1961 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1962 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1964 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1965 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1966 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1967 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1968 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1969 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1970 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir=.
1979 $as_echo "PATH: $as_dir"
1995 # Keep a trace of the command line.
1996 # Strip out --no-create and --no-recursion so they do not pile up.
1997 # Strip out --silent because we don't want to record it for future runs.
1998 # Also quote any args containing shell meta-characters.
1999 # Make two passes to allow for proper duplicate-argument suppression.
2003 ac_must_keep_next=false
2009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2011 | -silent | --silent | --silen | --sile | --sil)
2014 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2017 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2019 as_fn_append ac_configure_args1 " '$ac_arg'"
2020 if test $ac_must_keep_next = true; then
2021 ac_must_keep_next=false # Got value, back to normal.
2024 *=* | --config-cache | -C | -disable-* | --disable-* \
2025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2027 | -with-* | --with-* | -without-* | --without-* | --x)
2028 case "$ac_configure_args0 " in
2029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2032 -* ) ac_must_keep_next=true ;;
2035 as_fn_append ac_configure_args " '$ac_arg'"
2040 { ac_configure_args0=; unset ac_configure_args0;}
2041 { ac_configure_args1=; unset ac_configure_args1;}
2043 # When interrupted or exit'd, cleanup temporary files, and complete
2044 # config.log. We remove comments because anyway the quotes in there
2045 # would cause problems or look ugly.
2046 # WARNING: Use '\'' to represent an apostrophe within the trap.
2047 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2048 trap 'exit_status=$?
2049 # Save into config.log some information that might help in debugging.
2053 $as_echo "## ---------------- ##
2054 ## Cache variables. ##
2055 ## ---------------- ##"
2057 # The following way of writing the cache mishandles newlines in values,
2059 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2060 eval ac_val=\$$ac_var
2064 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2065 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2068 _ | IFS | as_nl) ;; #(
2069 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2070 *) { eval $ac_var=; unset $ac_var;} ;;
2075 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2076 *${as_nl}ac_space=\ *)
2078 "s/'\''/'\''\\\\'\'''\''/g;
2079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2089 $as_echo "## ----------------- ##
2090 ## Output variables. ##
2091 ## ----------------- ##"
2093 for ac_var in $ac_subst_vars
2095 eval ac_val=\$$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2103 if test -n "$ac_subst_files"; then
2104 $as_echo "## ------------------- ##
2105 ## File substitutions. ##
2106 ## ------------------- ##"
2108 for ac_var in $ac_subst_files
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 $as_echo "$ac_var='\''$ac_val'\''"
2119 if test -s confdefs.h; then
2120 $as_echo "## ----------- ##
2127 test "$ac_signal" != 0 &&
2128 $as_echo "$as_me: caught signal $ac_signal"
2129 $as_echo "$as_me: exit $exit_status"
2131 rm -f core *.core core.conftest.* &&
2132 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2135 for ac_signal in 1 2 13 15; do
2136 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2141 rm -f -r conftest* confdefs.h
2143 $as_echo "/* confdefs.h */" > confdefs.h
2145 # Predefined preprocessor variables.
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_NAME "$PACKAGE_NAME"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_STRING "$PACKAGE_STRING"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_URL "$PACKAGE_URL"
2172 # Let the site file select an alternate cache file if it wants to.
2173 # Prefer an explicitly selected file to automatically selected ones.
2176 if test -n "$CONFIG_SITE"; then
2177 # We do not want a PATH search for config.site.
2178 case $CONFIG_SITE in #((
2179 -*) ac_site_file1=./$CONFIG_SITE;;
2180 */*) ac_site_file1=$CONFIG_SITE;;
2181 *) ac_site_file1=./$CONFIG_SITE;;
2183 elif test "x$prefix" != xNONE; then
2184 ac_site_file1=$prefix/share/config.site
2185 ac_site_file2=$prefix/etc/config.site
2187 ac_site_file1=$ac_default_prefix/share/config.site
2188 ac_site_file2=$ac_default_prefix/etc/config.site
2190 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2192 test "x$ac_site_file" = xNONE && continue
2193 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2195 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2196 sed 's/^/| /' "$ac_site_file" >&5
2198 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 as_fn_error $? "failed to load site script $ac_site_file
2201 See \`config.log' for more details" "$LINENO" 5; }
2205 if test -r "$cache_file"; then
2206 # Some versions of bash will fail to source /dev/null (special files
2207 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2208 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2210 $as_echo "$as_me: loading cache $cache_file" >&6;}
2212 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2213 *) . "./$cache_file";;
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2218 $as_echo "$as_me: creating cache $cache_file" >&6;}
2222 # Check that the precious variables saved in the cache have kept the same
2224 ac_cache_corrupted=false
2225 for ac_var in $ac_precious_vars; do
2226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2227 eval ac_new_set=\$ac_env_${ac_var}_set
2228 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2229 eval ac_new_val=\$ac_env_${ac_var}_value
2230 case $ac_old_set,$ac_new_set in
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2233 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2234 ac_cache_corrupted=: ;;
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2237 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2238 ac_cache_corrupted=: ;;
2241 if test "x$ac_old_val" != "x$ac_new_val"; then
2242 # differences in whitespace do not lead to failure.
2243 ac_old_val_w=`echo x $ac_old_val`
2244 ac_new_val_w=`echo x $ac_new_val`
2245 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2247 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2248 ac_cache_corrupted=:
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2251 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2252 eval $ac_var=\$ac_old_val
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2255 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2257 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2260 # Pass precious variables to config.status.
2261 if test "$ac_new_set" = set; then
2263 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2264 *) ac_arg=$ac_var=$ac_new_val ;;
2266 case " $ac_configure_args " in
2267 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2268 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2272 if $ac_cache_corrupted; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2276 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2277 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2279 ## -------------------- ##
2280 ## Main body of script. ##
2281 ## -------------------- ##
2284 ac_cpp='$CPP $CPPFLAGS'
2285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 for ac_dir in build-aux "$srcdir"/build-aux; do
2294 if test -f "$ac_dir/install-sh"; then
2296 ac_install_sh="$ac_aux_dir/install-sh -c"
2298 elif test -f "$ac_dir/install.sh"; then
2300 ac_install_sh="$ac_aux_dir/install.sh -c"
2302 elif test -f "$ac_dir/shtool"; then
2304 ac_install_sh="$ac_aux_dir/shtool install -c"
2308 if test -z "$ac_aux_dir"; then
2309 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2312 # These three variables are undocumented and unsupported,
2313 # and are intended to be withdrawn in a future Autoconf release.
2314 # They can cause serious problems if a builder's source tree is in a directory
2315 # whose full name contains unusual characters.
2316 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2317 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2318 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2322 am__api_version='1.13'
2324 # Find a good install program. We prefer a C program (faster),
2325 # so one script is as good as another. But avoid the broken or
2326 # incompatible versions:
2327 # SysV /etc/install, /usr/sbin/install
2328 # SunOS /usr/etc/install
2329 # IRIX /sbin/install
2331 # AmigaOS /C/install, which installs bootblocks on floppy discs
2332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2335 # OS/2's system install, which has a completely different semantic
2336 # ./install, which can be erroneously created by make from ./install.sh.
2337 # Reject install programs that cannot install multiple files.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2340 if test -z "$INSTALL"; then
2341 if ${ac_cv_path_install+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 # Account for people who put trailing slashes in PATH elements.
2350 case $as_dir/ in #((
2351 ./ | .// | /[cC]/* | \
2352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2353 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2356 # OSF1 and SCO ODT 3.0 have their own names for install.
2357 # Don't use installbsd from OSF since it installs stuff as root
2359 for ac_prog in ginstall scoinst install; do
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2362 if test $ac_prog = install &&
2363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2364 # AIX install. It has an incompatible calling convention.
2366 elif test $ac_prog = install &&
2367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2368 # program-specific install script used by HP pwplus--don't use.
2371 rm -rf conftest.one conftest.two conftest.dir
2372 echo one > conftest.one
2373 echo two > conftest.two
2375 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2376 test -s conftest.one && test -s conftest.two &&
2377 test -s conftest.dir/conftest.one &&
2378 test -s conftest.dir/conftest.two
2380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2393 rm -rf conftest.one conftest.two conftest.dir
2396 if test "${ac_cv_path_install+set}" = set; then
2397 INSTALL=$ac_cv_path_install
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for INSTALL within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 INSTALL=$ac_install_sh
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2407 $as_echo "$INSTALL" >&6; }
2409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2410 # It thinks the first close brace ends the variable substitution.
2411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2418 $as_echo_n "checking whether build environment is sane... " >&6; }
2419 # Reject unsafe characters in $srcdir or the absolute working directory
2420 # name. Accept space and tab only in the latter.
2424 *[\\\"\#\$\&\'\`$am_lf]*)
2425 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2428 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2429 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2432 # Do 'set' in a subshell so we don't clobber the current shell's
2433 # arguments. Must try -L first in case configure is actually a
2434 # symlink; some systems play weird games with the mod time of symlinks
2435 # (eg FreeBSD returns the mod time of the symlink's containing
2439 for am_try in 1 2; do
2440 echo "timestamp, slept: $am_has_slept" > conftest.file
2441 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2442 if test "$*" = "X"; then
2444 set X `ls -t "$srcdir/configure" conftest.file`
2446 if test "$*" != "X $srcdir/configure conftest.file" \
2447 && test "$*" != "X conftest.file $srcdir/configure"; then
2449 # If neither matched, then we have a broken ls. This can happen
2450 # if, for instance, CONFIG_SHELL is bash and it inherits a
2451 # broken ls alias from the environment. This has actually
2452 # happened. Such a system could not be considered "sane".
2453 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2454 alias in your environment" "$LINENO" 5
2456 if test "$2" = conftest.file || test $am_try -eq 2; then
2463 test "$2" = conftest.file
2469 as_fn_error $? "newly created file is older than distributed files!
2470 Check your system clock" "$LINENO" 5
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2474 # If we didn't sleep, we still need to ensure time stamps of config.status and
2475 # generated files are strictly newer.
2477 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2484 test "$program_prefix" != NONE &&
2485 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2486 # Use a double $ so make ignores it.
2487 test "$program_suffix" != NONE &&
2488 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2489 # Double any \ or $.
2490 # By default was `s,x,x', remove it if useless.
2491 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2492 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2494 # expand $ac_aux_dir to an absolute path
2495 am_aux_dir=`cd $ac_aux_dir && pwd`
2497 if test x"${MISSING+set}" != xset; then
2500 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2502 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2505 # Use eval to expand $SHELL
2506 if eval "$MISSING --is-lightweight"; then
2507 am_missing_run="$MISSING "
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2511 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2514 if test x"${install_sh}" != xset; then
2517 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2519 install_sh="\${SHELL} $am_aux_dir/install-sh"
2523 # Installed binaries are usually stripped using 'strip' when the user
2524 # run "make install-strip". However 'strip' might not be the right
2525 # tool to use in cross-compilation environments, therefore Automake
2526 # will honor the 'STRIP' environment variable to overrule this program.
2527 if test "$cross_compiling" != no; then
2528 if test -n "$ac_tool_prefix"; then
2529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2530 set dummy ${ac_tool_prefix}strip; ac_word=$2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532 $as_echo_n "checking for $ac_word... " >&6; }
2533 if ${ac_cv_prog_STRIP+:} false; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$STRIP"; then
2537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 STRIP=$ac_cv_prog_STRIP
2557 if test -n "$STRIP"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2559 $as_echo "$STRIP" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2567 if test -z "$ac_cv_prog_STRIP"; then
2569 # Extract the first word of "strip", so it can be a program name with args.
2570 set dummy strip; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$ac_ct_STRIP"; then
2577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_ac_ct_STRIP="strip"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2597 if test -n "$ac_ct_STRIP"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2599 $as_echo "$ac_ct_STRIP" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2605 if test "x$ac_ct_STRIP" = x; then
2608 case $cross_compiling:$ac_tool_warned in
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2612 ac_tool_warned=yes ;;
2617 STRIP="$ac_cv_prog_STRIP"
2621 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2624 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2625 if test -z "$MKDIR_P"; then
2626 if ${ac_cv_path_mkdir+:} false; then :
2627 $as_echo_n "(cached) " >&6
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2633 test -z "$as_dir" && as_dir=.
2634 for ac_prog in mkdir gmkdir; do
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2637 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2638 'mkdir (GNU coreutils) '* | \
2639 'mkdir (coreutils) '* | \
2640 'mkdir (fileutils) '4.1*)
2641 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2651 test -d ./--version && rmdir ./--version
2652 if test "${ac_cv_path_mkdir+set}" = set; then
2653 MKDIR_P="$ac_cv_path_mkdir -p"
2655 # As a last resort, use the slow shell script. Don't cache a
2656 # value for MKDIR_P within a source directory, because that will
2657 # break other packages using the cache if that directory is
2658 # removed, or if the value is a relative name.
2659 MKDIR_P="$ac_install_sh -d"
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2663 $as_echo "$MKDIR_P" >&6; }
2665 for ac_prog in gawk mawk nawk awk
2667 # Extract the first word of "$ac_prog", so it can be a program name with args.
2668 set dummy $ac_prog; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_AWK+:} false; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$AWK"; then
2675 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_AWK="$ac_prog"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test -n "$AWK"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2697 $as_echo "$AWK" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2704 test -n "$AWK" && break
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2710 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2711 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2712 $as_echo_n "(cached) " >&6
2714 cat >conftest.make <<\_ACEOF
2717 @echo '@@@%%%=$(MAKE)=@@@%%%'
2719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2722 eval ac_cv_prog_make_${ac_make}_set=yes;;
2724 eval ac_cv_prog_make_${ac_make}_set=no;;
2728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2730 $as_echo "yes" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 SET_MAKE="MAKE=${MAKE-make}"
2738 rm -rf .tst 2>/dev/null
2739 mkdir .tst 2>/dev/null
2740 if test -d .tst; then
2745 rmdir .tst 2>/dev/null
2747 # Check whether --enable-silent-rules was given.
2748 if test "${enable_silent_rules+set}" = set; then :
2749 enableval=$enable_silent_rules;
2752 case $enable_silent_rules in # (((
2753 yes) AM_DEFAULT_VERBOSITY=0;;
2754 no) AM_DEFAULT_VERBOSITY=1;;
2755 *) AM_DEFAULT_VERBOSITY=1;;
2757 am_make=${MAKE-make}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2759 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2760 if ${am_cv_make_support_nested_variables+:} false; then :
2761 $as_echo_n "(cached) " >&6
2763 if $as_echo 'TRUE=$(BAR$(V))
2769 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2770 am_cv_make_support_nested_variables=yes
2772 am_cv_make_support_nested_variables=no
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2776 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2777 if test $am_cv_make_support_nested_variables = yes; then
2779 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2781 AM_V=$AM_DEFAULT_VERBOSITY
2782 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2786 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2787 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2788 # is not polluted with repeated "-I."
2789 am__isrc=' -I$(srcdir)'
2790 # test to see if srcdir already configured
2791 if test -f $srcdir/config.status; then
2792 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2796 # test whether we have cygpath
2797 if test -z "$CYGPATH_W"; then
2798 if (cygpath --version) >/dev/null 2>/dev/null; then
2799 CYGPATH_W='cygpath -w'
2806 # Define the identity of the package.
2811 cat >>confdefs.h <<_ACEOF
2812 #define PACKAGE "$PACKAGE"
2816 cat >>confdefs.h <<_ACEOF
2817 #define VERSION "$VERSION"
2820 # Some tools Automake needs.
2822 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2825 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2828 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2831 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2834 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2836 # For better backward compatibility. To be removed once Automake 1.9.x
2837 # dies out for good. For more background, see:
2838 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2839 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2840 mkdir_p='$(MKDIR_P)'
2842 # We need awk for the "check" target. The system "awk" is bad on
2844 # Always define AMTAR for backward compatibility. Yes, it's still used
2845 # in the wild :-( We should find a proper way to deprecate it ...
2849 # We'll loop over all known methods to create a tar archive until one works.
2850 _am_tools='gnutar pax cpio none'
2852 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2859 # Check whether --enable-silent-rules was given.
2860 if test "${enable_silent_rules+set}" = set; then :
2861 enableval=$enable_silent_rules;
2864 case $enable_silent_rules in # (((
2865 yes) AM_DEFAULT_VERBOSITY=0;;
2866 no) AM_DEFAULT_VERBOSITY=1;;
2867 *) AM_DEFAULT_VERBOSITY=0;;
2869 am_make=${MAKE-make}
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2871 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2872 if ${am_cv_make_support_nested_variables+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 if $as_echo 'TRUE=$(BAR$(V))
2881 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2882 am_cv_make_support_nested_variables=yes
2884 am_cv_make_support_nested_variables=no
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2888 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2889 if test $am_cv_make_support_nested_variables = yes; then
2891 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893 AM_V=$AM_DEFAULT_VERBOSITY
2894 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2900 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2902 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2903 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 cat >conftest.make <<\_ACEOF
2909 @echo '@@@%%%=$(MAKE)=@@@%%%'
2911 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2912 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2914 eval ac_cv_prog_make_${ac_make}_set=yes;;
2916 eval ac_cv_prog_make_${ac_make}_set=no;;
2920 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2922 $as_echo "yes" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 SET_MAKE="MAKE=${MAKE-make}"
2931 SOUP_MAJOR_VERSION=2
2932 SOUP_MINOR_VERSION=46
2933 SOUP_MICRO_VERSION=0
2938 SOUP_API_VERSION=2.4
2941 # Increment on interface addition. Reset on removal.
2944 # Increment on interface add, remove, or change.
2947 # Increment on source change. Reset when CURRENT changes.
2955 debug_default=minimum
2957 # Declare --enable-* args and collect ac_help strings
2958 # Check whether --enable-debug was given.
2959 if test "${enable_debug+set}" = set; then :
2960 enableval=$enable_debug;
2962 enable_debug=$debug_default
2966 # Set the debug flags
2967 if test "x$enable_debug" = "xyes"; then
2968 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
2969 SOUP_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
2971 if test "x$enable_debug" = "xno"; then
2972 SOUP_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
2980 ac_cpp='$CPP $CPPFLAGS'
2981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2986 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_CC+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC="$CC" # Let the user override the test.
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3023 if test -z "$ac_cv_prog_CC"; then
3025 # Extract the first word of "gcc", so it can be a program name with args.
3026 set dummy gcc; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$ac_ct_CC"; then
3033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_ac_ct_CC="gcc"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3053 if test -n "$ac_ct_CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3055 $as_echo "$ac_ct_CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3061 if test "x$ac_ct_CC" = x; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3068 ac_tool_warned=yes ;;
3076 if test -z "$CC"; then
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3079 set dummy ${ac_tool_prefix}cc; ac_word=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC="$CC" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_CC="${ac_tool_prefix}cc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3117 if test -z "$CC"; then
3118 # Extract the first word of "cc", so it can be a program name with args.
3119 set dummy cc; ac_word=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_CC+:} false; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$CC"; then
3126 ac_cv_prog_CC="$CC" # Let the user override the test.
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3137 ac_prog_rejected=yes
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test $ac_prog_rejected = yes; then
3149 # We found a bogon in the path, so make sure we never use it.
3150 set dummy $ac_cv_prog_CC
3152 if test $# != 0; then
3153 # We chose a different compiler from the bogus one.
3154 # However, it has the same basename, so the bogon will be chosen
3155 # first if we set CC to just the basename; use the full file name.
3157 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3163 if test -n "$CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165 $as_echo "$CC" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3173 if test -z "$CC"; then
3174 if test -n "$ac_tool_prefix"; then
3175 for ac_prog in cl.exe
3177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_CC+:} false; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$CC"; then
3185 ac_cv_prog_CC="$CC" # Let the user override the test.
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3214 test -n "$CC" && break
3217 if test -z "$CC"; then
3219 for ac_prog in cl.exe
3221 # Extract the first word of "$ac_prog", so it can be a program name with args.
3222 set dummy $ac_prog; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$ac_ct_CC"; then
3229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_ac_ct_CC="$ac_prog"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3249 if test -n "$ac_ct_CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3251 $as_echo "$ac_ct_CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 test -n "$ac_ct_CC" && break
3261 if test "x$ac_ct_CC" = x; then
3264 case $cross_compiling:$ac_tool_warned in
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3268 ac_tool_warned=yes ;;
3277 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error $? "no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details" "$LINENO" 5; }
3282 # Provide some information about the compiler.
3283 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3286 for ac_option in --version -v -V -qversion; do
3287 { { ac_try="$ac_compiler $ac_option >&5"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3296 if test -s conftest.err; then
3298 ... rest of stderr output deleted ...
3299 10q' conftest.err >conftest.er1
3300 cat conftest.er1 >&5
3302 rm -f conftest.er1 conftest.err
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 ac_clean_files_save=$ac_clean_files
3319 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3320 # Try to create an executable without -o first, disregard a.out.
3321 # It will help us diagnose broken compilers, and finding out an intuition
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3324 $as_echo_n "checking whether the C compiler works... " >&6; }
3325 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3327 # The possible output files:
3328 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3331 for ac_file in $ac_files
3334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3335 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3340 if { { ac_try="$ac_link_default"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_link_default") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; then :
3351 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3352 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3353 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3354 # so that the user can short-circuit this test for compilers unknown to
3356 for ac_file in $ac_files ''
3358 test -f "$ac_file" || continue
3360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3363 # We found the default executable, but exeext='' is most
3367 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3369 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 # We set ac_cv_exeext here because the later test for it is not
3372 # safe: cross compilers may not add the suffix if given an `-o'
3373 # argument, so we may need to know it at that point already.
3374 # Even if this section looks crufty: it has the advantage of
3381 test "$ac_cv_exeext" = no && ac_cv_exeext=
3386 if test -z "$ac_file"; then :
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3389 $as_echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error 77 "C compiler cannot create executables
3395 See \`config.log' for more details" "$LINENO" 5; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398 $as_echo "yes" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3401 $as_echo_n "checking for C compiler default output file name... " >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3403 $as_echo "$ac_file" >&6; }
3404 ac_exeext=$ac_cv_exeext
3406 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3407 ac_clean_files=$ac_clean_files_save
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3409 $as_echo_n "checking for suffix of executables... " >&6; }
3410 if { { ac_try="$ac_link"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; then :
3421 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3422 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3423 # work properly (i.e., refer to `conftest.exe'), while it won't with
3425 for ac_file in conftest.exe conftest conftest.*; do
3426 test -f "$ac_file" || continue
3428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3429 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 rm -f conftest conftest$ac_cv_exeext
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3442 $as_echo "$ac_cv_exeext" >&6; }
3444 rm -f conftest.$ac_ext
3445 EXEEXT=$ac_cv_exeext
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3453 FILE *f = fopen ("conftest.out", "w");
3454 return ferror (f) || fclose (f) != 0;
3460 ac_clean_files="$ac_clean_files conftest.out"
3461 # Check that the compiler produces executables we can run. If not, either
3462 # the compiler is broken, or we cross compile.
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3464 $as_echo_n "checking whether we are cross compiling... " >&6; }
3465 if test "$cross_compiling" != yes; then
3466 { { ac_try="$ac_link"
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_link") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }
3477 if { ac_try='./conftest$ac_cv_exeext'
3478 { { case "(($ac_try" in
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_try") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; }; then
3490 if test "$cross_compiling" = maybe; then
3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495 as_fn_error $? "cannot run C compiled programs.
3496 If you meant to cross compile, use \`--host'.
3497 See \`config.log' for more details" "$LINENO" 5; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3502 $as_echo "$cross_compiling" >&6; }
3504 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3505 ac_clean_files=$ac_clean_files_save
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3507 $as_echo_n "checking for suffix of object files... " >&6; }
3508 if ${ac_cv_objext+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 rm -f conftest.o conftest.obj
3523 if { { ac_try="$ac_compile"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530 (eval "$ac_compile") 2>&5
3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533 test $ac_status = 0; }; then :
3534 for ac_file in conftest.o conftest.obj conftest.*; do
3535 test -f "$ac_file" || continue;
3537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3538 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3543 $as_echo "$as_me: failed program was:" >&5
3544 sed 's/^/| /' conftest.$ac_ext >&5
3546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3548 as_fn_error $? "cannot compute suffix of object files: cannot compile
3549 See \`config.log' for more details" "$LINENO" 5; }
3551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3554 $as_echo "$ac_cv_objext" >&6; }
3555 OBJEXT=$ac_cv_objext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3558 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3559 if ${ac_cv_c_compiler_gnu+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3576 if ac_fn_c_try_compile "$LINENO"; then :
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3587 if test $ac_compiler_gnu = yes; then
3592 ac_test_CFLAGS=${CFLAGS+set}
3593 ac_save_CFLAGS=$CFLAGS
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3596 if ${ac_cv_prog_cc_g+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 ac_save_c_werror_flag=$ac_c_werror_flag
3600 ac_c_werror_flag=yes
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3629 if ac_fn_c_try_compile "$LINENO"; then :
3632 ac_c_werror_flag=$ac_save_c_werror_flag
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3645 if ac_fn_c_try_compile "$LINENO"; then :
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_c_werror_flag=$ac_save_c_werror_flag
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3656 $as_echo "$ac_cv_prog_cc_g" >&6; }
3657 if test "$ac_test_CFLAGS" = set; then
3658 CFLAGS=$ac_save_CFLAGS
3659 elif test $ac_cv_prog_cc_g = yes; then
3660 if test "$GCC" = yes; then
3666 if test "$GCC" = yes; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3674 if ${ac_cv_prog_cc_c89+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 ac_cv_prog_cc_c89=no
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3685 struct buf { int x; };
3686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3687 static char *e (p, i)
3693 static char *f (char * (*g) (char **, int), char **p, ...)
3698 s = g (p, va_arg (v,int));
3703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3704 function prototypes and stuff, but not '\xHH' hex character constants.
3705 These don't provoke an error unfortunately, instead are silently treated
3706 as 'x'. The following induces an error, until -std is added to get
3707 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3708 array size at least. It's necessary to write '\x00'==0 to get something
3709 that's true only with -std. */
3710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3713 inside strings and character constants. */
3715 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3717 int test (int i, double x);
3718 struct s1 {int (*f) (int a);};
3719 struct s2 {int (*f) (double a);};
3720 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3726 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3731 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3732 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3734 CC="$ac_save_CC $ac_arg"
3735 if ac_fn_c_try_compile "$LINENO"; then :
3736 ac_cv_prog_cc_c89=$ac_arg
3738 rm -f core conftest.err conftest.$ac_objext
3739 test "x$ac_cv_prog_cc_c89" != "xno" && break
3741 rm -f conftest.$ac_ext
3746 case "x$ac_cv_prog_cc_c89" in
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3749 $as_echo "none needed" >&6; } ;;
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3752 $as_echo "unsupported" >&6; } ;;
3754 CC="$CC $ac_cv_prog_cc_c89"
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3756 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3758 if test "x$ac_cv_prog_cc_c89" != xno; then :
3763 ac_cpp='$CPP $CPPFLAGS'
3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3767 DEPDIR="${am__leading_dot}deps"
3769 ac_config_commands="$ac_config_commands depfiles"
3772 am_make=${MAKE-make}
3773 cat > confinc << 'END'
3775 @echo this is the am__doit target
3778 # If we don't find an include directive, just comment out the code.
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3780 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3784 # First try GNU make style include.
3785 echo "include confinc" > confmf
3786 # Ignore all kinds of additional output from 'make'.
3787 case `$am_make -s -f confmf 2> /dev/null` in #(
3788 *the\ am__doit\ target*)
3794 # Now try BSD make style include.
3795 if test "$am__include" = "#"; then
3796 echo '.include "confinc"' > confmf
3797 case `$am_make -s -f confmf 2> /dev/null` in #(
3798 *the\ am__doit\ target*)
3799 am__include=.include
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3808 $as_echo "$_am_result" >&6; }
3809 rm -f confinc confmf
3811 # Check whether --enable-dependency-tracking was given.
3812 if test "${enable_dependency_tracking+set}" = set; then :
3813 enableval=$enable_dependency_tracking;
3816 if test "x$enable_dependency_tracking" != xno; then
3817 am_depcomp="$ac_aux_dir/depcomp"
3821 if test "x$enable_dependency_tracking" != xno; then
3831 depcc="$CC" am_compiler_list=
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3834 $as_echo_n "checking dependency style of $depcc... " >&6; }
3835 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3839 # We make a subdir and do the tests there. Otherwise we can end up
3840 # making bogus files that we don't know about and never remove. For
3841 # instance it was reported that on HP-UX the gcc test will end up
3842 # making a dummy file named 'D' -- because '-MD' means "put the output
3846 # Copy depcomp to subdir because otherwise we won't find it if we're
3847 # using a relative directory.
3848 cp "$am_depcomp" conftest.dir
3850 # We will build objects and dependencies in a subdirectory because
3851 # it helps to detect inapplicable dependency modes. For instance
3852 # both Tru64's cc and ICC support -MD to output dependencies as a
3853 # side effect of compilation, but ICC will put the dependencies in
3854 # the current directory while Tru64 will put them in the object
3858 am_cv_CC_dependencies_compiler_type=none
3859 if test "$am_compiler_list" = ""; then
3860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3863 case " $depcc " in #(
3864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3867 for depmode in $am_compiler_list; do
3868 # Setup a source with many dependencies, because some compilers
3869 # like to wrap large dependency lists on column 80 (with \), and
3870 # we should not choose a depcomp mode which is confused by this.
3872 # We need to recreate these files for each test, as the compiler may
3873 # overwrite some of them when testing with obscure command lines.
3874 # This happens at least with the AIX C compiler.
3876 for i in 1 2 3 4 5 6; do
3877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3878 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3879 # Solaris 10 /bin/sh.
3880 echo '/* dummy */' > sub/conftst$i.h
3882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3884 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3885 # mode. It turns out that the SunPro C++ compiler does not properly
3886 # handle '-M -o', and we need to detect this. Also, some Intel
3887 # versions had trouble with output in subdirs.
3888 am__obj=sub/conftest.${OBJEXT-o}
3889 am__minus_obj="-o $am__obj"
3892 # This depmode causes a compiler race in universal mode.
3893 test "$am__universal" = false || continue
3896 # After this tag, mechanisms are not by side-effect, so they'll
3897 # only be used when explicitly requested.
3898 if test "x$enable_dependency_tracking" = xyes; then
3904 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3905 # This compiler won't grok '-c -o', but also, the minuso test has
3906 # not run yet. These depmodes are late enough in the game, and
3907 # so weak that their functioning should not be impacted.
3908 am__obj=conftest.${OBJEXT-o}
3913 if depmode=$depmode \
3914 source=sub/conftest.c object=$am__obj \
3915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3917 >/dev/null 2>conftest.err &&
3918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3922 # icc doesn't choke on unknown options, it will just issue warnings
3923 # or remarks (even with -Werror). So we grep stderr for any message
3924 # that says an option was ignored or not supported.
3925 # When given -MP, icc 7.0 and 7.1 complain thusly:
3926 # icc: Command line warning: ignoring option '-M'; no argument required
3927 # The diagnosis changed in icc 8.0:
3928 # icc: Command line remark: option '-MP' not supported
3929 if (grep 'ignoring option' conftest.err ||
3930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3931 am_cv_CC_dependencies_compiler_type=$depmode
3940 am_cv_CC_dependencies_compiler_type=none
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3949 test "x$enable_dependency_tracking" != xno \
3950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3952 am__fastdepCC_FALSE='#'
3954 am__fastdepCC_TRUE='#'
3955 am__fastdepCC_FALSE=
3961 # Initialize libtool
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3965 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3970 macro_version='2.4.2'
3971 macro_revision='1.3337'
3985 ltmain="$ac_aux_dir/ltmain.sh"
3987 # Make sure we can run config.sub.
3988 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3989 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3992 $as_echo_n "checking build system type... " >&6; }
3993 if ${ac_cv_build+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_build_alias=$build_alias
3997 test "x$ac_build_alias" = x &&
3998 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3999 test "x$ac_build_alias" = x &&
4000 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4001 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4002 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4006 $as_echo "$ac_cv_build" >&6; }
4007 case $ac_cv_build in
4009 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4012 ac_save_IFS=$IFS; IFS='-'
4018 # Remember, the first character of IFS is used to create $*,
4019 # except with old shells:
4022 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4026 $as_echo_n "checking host system type... " >&6; }
4027 if ${ac_cv_host+:} false; then :
4028 $as_echo_n "(cached) " >&6
4030 if test "x$host_alias" = x; then
4031 ac_cv_host=$ac_cv_build
4033 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4034 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4039 $as_echo "$ac_cv_host" >&6; }
4042 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4045 ac_save_IFS=$IFS; IFS='-'
4051 # Remember, the first character of IFS is used to create $*,
4052 # except with old shells:
4055 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4058 # Backslashify metacharacters that are still active within
4059 # double-quoted strings.
4060 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4062 # Same as above, but do not quote variable references.
4063 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4065 # Sed substitution to delay expansion of an escaped shell variable in a
4066 # double_quote_subst'ed string.
4067 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4069 # Sed substitution to delay expansion of an escaped single quote.
4070 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4072 # Sed substitution to avoid accidental globbing in evaled expressions
4073 no_glob_subst='s/\*/\\\*/g'
4075 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4076 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4077 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4080 $as_echo_n "checking how to print strings... " >&6; }
4081 # Test print first, because it will be a builtin if present.
4082 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4083 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4085 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4088 # Use this function as a fallback that always works.
4089 func_fallback_echo ()
4091 eval 'cat <<_LTECHO_EOF
4095 ECHO='func_fallback_echo'
4098 # func_echo_all arg...
4099 # Invoke $ECHO with all args, space-separated.
4106 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4107 $as_echo "printf" >&6; } ;;
4108 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4109 $as_echo "print -r" >&6; } ;;
4110 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4111 $as_echo "cat" >&6; } ;;
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4128 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4129 if ${ac_cv_path_SED+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4133 for ac_i in 1 2 3 4 5 6 7; do
4134 ac_script="$ac_script$as_nl$ac_script"
4136 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4137 { ac_script=; unset ac_script;}
4138 if test -z "$SED"; then
4139 ac_path_SED_found=false
4140 # Loop through the user's path and test for each of PROGNAME-LIST
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir=.
4146 for ac_prog in sed gsed; do
4147 for ac_exec_ext in '' $ac_executable_extensions; do
4148 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4149 as_fn_executable_p "$ac_path_SED" || continue
4150 # Check for GNU ac_path_SED and select it if it is found.
4151 # Check for GNU $ac_path_SED
4152 case `"$ac_path_SED" --version 2>&1` in
4154 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4157 $as_echo_n 0123456789 >"conftest.in"
4160 cat "conftest.in" "conftest.in" >"conftest.tmp"
4161 mv "conftest.tmp" "conftest.in"
4162 cp "conftest.in" "conftest.nl"
4163 $as_echo '' >> "conftest.nl"
4164 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4166 as_fn_arith $ac_count + 1 && ac_count=$as_val
4167 if test $ac_count -gt ${ac_path_SED_max-0}; then
4168 # Best one so far, save it but keep looking for a better one
4169 ac_cv_path_SED="$ac_path_SED"
4170 ac_path_SED_max=$ac_count
4172 # 10*(2^10) chars as input seems more than enough
4173 test $ac_count -gt 10 && break
4175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4178 $ac_path_SED_found && break 3
4183 if test -z "$ac_cv_path_SED"; then
4184 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4192 $as_echo "$ac_cv_path_SED" >&6; }
4193 SED="$ac_cv_path_SED"
4196 test -z "$SED" && SED=sed
4197 Xsed="$SED -e 1s/^X//"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4210 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4211 if ${ac_cv_path_GREP+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -z "$GREP"; then
4215 ac_path_GREP_found=false
4216 # Loop through the user's path and test for each of PROGNAME-LIST
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4221 test -z "$as_dir" && as_dir=.
4222 for ac_prog in grep ggrep; do
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4225 as_fn_executable_p "$ac_path_GREP" || continue
4226 # Check for GNU ac_path_GREP and select it if it is found.
4227 # Check for GNU $ac_path_GREP
4228 case `"$ac_path_GREP" --version 2>&1` in
4230 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4233 $as_echo_n 0123456789 >"conftest.in"
4236 cat "conftest.in" "conftest.in" >"conftest.tmp"
4237 mv "conftest.tmp" "conftest.in"
4238 cp "conftest.in" "conftest.nl"
4239 $as_echo 'GREP' >> "conftest.nl"
4240 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4242 as_fn_arith $ac_count + 1 && ac_count=$as_val
4243 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4244 # Best one so far, save it but keep looking for a better one
4245 ac_cv_path_GREP="$ac_path_GREP"
4246 ac_path_GREP_max=$ac_count
4248 # 10*(2^10) chars as input seems more than enough
4249 test $ac_count -gt 10 && break
4251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4254 $ac_path_GREP_found && break 3
4259 if test -z "$ac_cv_path_GREP"; then
4260 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4263 ac_cv_path_GREP=$GREP
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4268 $as_echo "$ac_cv_path_GREP" >&6; }
4269 GREP="$ac_cv_path_GREP"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4273 $as_echo_n "checking for egrep... " >&6; }
4274 if ${ac_cv_path_EGREP+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4278 then ac_cv_path_EGREP="$GREP -E"
4280 if test -z "$EGREP"; then
4281 ac_path_EGREP_found=false
4282 # Loop through the user's path and test for each of PROGNAME-LIST
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4287 test -z "$as_dir" && as_dir=.
4288 for ac_prog in egrep; do
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4291 as_fn_executable_p "$ac_path_EGREP" || continue
4292 # Check for GNU ac_path_EGREP and select it if it is found.
4293 # Check for GNU $ac_path_EGREP
4294 case `"$ac_path_EGREP" --version 2>&1` in
4296 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4299 $as_echo_n 0123456789 >"conftest.in"
4302 cat "conftest.in" "conftest.in" >"conftest.tmp"
4303 mv "conftest.tmp" "conftest.in"
4304 cp "conftest.in" "conftest.nl"
4305 $as_echo 'EGREP' >> "conftest.nl"
4306 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4308 as_fn_arith $ac_count + 1 && ac_count=$as_val
4309 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4310 # Best one so far, save it but keep looking for a better one
4311 ac_cv_path_EGREP="$ac_path_EGREP"
4312 ac_path_EGREP_max=$ac_count
4314 # 10*(2^10) chars as input seems more than enough
4315 test $ac_count -gt 10 && break
4317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4320 $ac_path_EGREP_found && break 3
4325 if test -z "$ac_cv_path_EGREP"; then
4326 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4329 ac_cv_path_EGREP=$EGREP
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4335 $as_echo "$ac_cv_path_EGREP" >&6; }
4336 EGREP="$ac_cv_path_EGREP"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4340 $as_echo_n "checking for fgrep... " >&6; }
4341 if ${ac_cv_path_FGREP+:} false; then :
4342 $as_echo_n "(cached) " >&6
4344 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4345 then ac_cv_path_FGREP="$GREP -F"
4347 if test -z "$FGREP"; then
4348 ac_path_FGREP_found=false
4349 # Loop through the user's path and test for each of PROGNAME-LIST
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4354 test -z "$as_dir" && as_dir=.
4355 for ac_prog in fgrep; do
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4358 as_fn_executable_p "$ac_path_FGREP" || continue
4359 # Check for GNU ac_path_FGREP and select it if it is found.
4360 # Check for GNU $ac_path_FGREP
4361 case `"$ac_path_FGREP" --version 2>&1` in
4363 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4366 $as_echo_n 0123456789 >"conftest.in"
4369 cat "conftest.in" "conftest.in" >"conftest.tmp"
4370 mv "conftest.tmp" "conftest.in"
4371 cp "conftest.in" "conftest.nl"
4372 $as_echo 'FGREP' >> "conftest.nl"
4373 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4375 as_fn_arith $ac_count + 1 && ac_count=$as_val
4376 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4377 # Best one so far, save it but keep looking for a better one
4378 ac_cv_path_FGREP="$ac_path_FGREP"
4379 ac_path_FGREP_max=$ac_count
4381 # 10*(2^10) chars as input seems more than enough
4382 test $ac_count -gt 10 && break
4384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4387 $ac_path_FGREP_found && break 3
4392 if test -z "$ac_cv_path_FGREP"; then
4393 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4396 ac_cv_path_FGREP=$FGREP
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4402 $as_echo "$ac_cv_path_FGREP" >&6; }
4403 FGREP="$ac_cv_path_FGREP"
4406 test -z "$GREP" && GREP=grep
4426 # Check whether --with-gnu-ld was given.
4427 if test "${with_gnu_ld+set}" = set; then :
4428 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4434 if test "$GCC" = yes; then
4435 # Check if gcc -print-prog-name=ld gives a path.
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4437 $as_echo_n "checking for ld used by $CC... " >&6; }
4440 # gcc leaves a trailing carriage return which upsets mingw
4441 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4443 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4446 # Accept absolute paths.
4448 re_direlt='/[^/][^/]*/\.\./'
4449 # Canonicalize the pathname of ld
4450 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4451 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4452 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4454 test -z "$LD" && LD="$ac_prog"
4457 # If it fails, then pretend we aren't using GCC.
4461 # If it is relative, then search for the first ld in PATH.
4465 elif test "$with_gnu_ld" = yes; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4467 $as_echo_n "checking for GNU ld... " >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4470 $as_echo_n "checking for non-GNU ld... " >&6; }
4472 if ${lt_cv_path_LD+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$LD"; then
4476 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4477 for ac_dir in $PATH; do
4479 test -z "$ac_dir" && ac_dir=.
4480 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4481 lt_cv_path_LD="$ac_dir/$ac_prog"
4482 # Check to see if the program is GNU ld. I'd rather use --version,
4483 # but apparently some variants of GNU ld only accept -v.
4484 # Break only if it was the GNU/non-GNU ld that we prefer.
4485 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4486 *GNU* | *'with BFD'*)
4487 test "$with_gnu_ld" != no && break
4490 test "$with_gnu_ld" != yes && break
4497 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4502 if test -n "$LD"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4504 $as_echo "$LD" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4509 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4511 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4512 if ${lt_cv_prog_gnu_ld+:} false; then :
4513 $as_echo_n "(cached) " >&6
4515 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4516 case `$LD -v 2>&1 </dev/null` in
4517 *GNU* | *'with BFD'*)
4518 lt_cv_prog_gnu_ld=yes
4521 lt_cv_prog_gnu_ld=no
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4526 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4527 with_gnu_ld=$lt_cv_prog_gnu_ld
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4538 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4539 if ${lt_cv_path_NM+:} false; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$NM"; then
4543 # Let the user override the test.
4546 lt_nm_to_check="${ac_tool_prefix}nm"
4547 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4548 lt_nm_to_check="$lt_nm_to_check nm"
4550 for lt_tmp_nm in $lt_nm_to_check; do
4551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4552 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4554 test -z "$ac_dir" && ac_dir=.
4555 tmp_nm="$ac_dir/$lt_tmp_nm"
4556 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4557 # Check to see if the nm accepts a BSD-compat flag.
4558 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4559 # nm: unknown option "B" ignored
4560 # Tru64's nm complains that /dev/null is an invalid object file
4561 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4562 */dev/null* | *'Invalid file or object type'*)
4563 lt_cv_path_NM="$tmp_nm -B"
4567 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4569 lt_cv_path_NM="$tmp_nm -p"
4573 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4574 continue # so that we can try to find one that supports BSD flags
4583 : ${lt_cv_path_NM=no}
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4587 $as_echo "$lt_cv_path_NM" >&6; }
4588 if test "$lt_cv_path_NM" != "no"; then
4591 # Didn't find any BSD compatible name lister, look for dumpbin.
4592 if test -n "$DUMPBIN"; then :
4593 # Let the user override the test.
4595 if test -n "$ac_tool_prefix"; then
4596 for ac_prog in dumpbin "link -dump"
4598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_DUMPBIN+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$DUMPBIN"; then
4606 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 DUMPBIN=$ac_cv_prog_DUMPBIN
4626 if test -n "$DUMPBIN"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4628 $as_echo "$DUMPBIN" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4635 test -n "$DUMPBIN" && break
4638 if test -z "$DUMPBIN"; then
4639 ac_ct_DUMPBIN=$DUMPBIN
4640 for ac_prog in dumpbin "link -dump"
4642 # Extract the first word of "$ac_prog", so it can be a program name with args.
4643 set dummy $ac_prog; ac_word=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$ac_ct_DUMPBIN"; then
4650 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir=.
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4670 if test -n "$ac_ct_DUMPBIN"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4672 $as_echo "$ac_ct_DUMPBIN" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 test -n "$ac_ct_DUMPBIN" && break
4682 if test "x$ac_ct_DUMPBIN" = x; then
4685 case $cross_compiling:$ac_tool_warned in
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4689 ac_tool_warned=yes ;;
4691 DUMPBIN=$ac_ct_DUMPBIN
4695 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4697 DUMPBIN="$DUMPBIN -symbols"
4705 if test "$DUMPBIN" != ":"; then
4709 test -z "$NM" && NM=nm
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4717 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4718 if ${lt_cv_nm_interface+:} false; then :
4719 $as_echo_n "(cached) " >&6
4721 lt_cv_nm_interface="BSD nm"
4722 echo "int some_variable = 0;" > conftest.$ac_ext
4723 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4724 (eval "$ac_compile" 2>conftest.err)
4725 cat conftest.err >&5
4726 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4727 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4728 cat conftest.err >&5
4729 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4730 cat conftest.out >&5
4731 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4732 lt_cv_nm_interface="MS dumpbin"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4737 $as_echo "$lt_cv_nm_interface" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4740 $as_echo_n "checking whether ln -s works... " >&6; }
4742 if test "$LN_S" = "ln -s"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4747 $as_echo "no, using $LN_S" >&6; }
4750 # find the maximum length of command line arguments
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4752 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4753 if ${lt_cv_sys_max_cmd_len+:} false; then :
4754 $as_echo_n "(cached) " >&6
4761 # On DJGPP, this test can blow up pretty badly due to problems in libc
4762 # (any single argument exceeding 2000 bytes causes a buffer overrun
4763 # during glob expansion). Even if it were fixed, the result of this
4764 # check would be larger than it should be.
4765 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4769 # Under GNU Hurd, this test is not required because there is
4770 # no limit to the length of command line arguments.
4771 # Libtool will interpret -1 as no limit whatsoever
4772 lt_cv_sys_max_cmd_len=-1;
4775 cygwin* | mingw* | cegcc*)
4776 # On Win9x/ME, this test blows up -- it succeeds, but takes
4777 # about 5 minutes as the teststring grows exponentially.
4778 # Worse, since 9x/ME are not pre-emptively multitasking,
4779 # you end up with a "frozen" computer, even though with patience
4780 # the test eventually succeeds (with a max line length of 256k).
4781 # Instead, let's just punt: use the minimum linelength reported by
4782 # all of the supported platforms: 8192 (on NT/2K/XP).
4783 lt_cv_sys_max_cmd_len=8192;
4787 # On MiNT this can take a long time and run out of memory.
4788 lt_cv_sys_max_cmd_len=8192;
4792 # On AmigaOS with pdksh, this test takes hours, literally.
4793 # So we just punt and use a minimum line length of 8192.
4794 lt_cv_sys_max_cmd_len=8192;
4797 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4798 # This has been around since 386BSD, at least. Likely further.
4799 if test -x /sbin/sysctl; then
4800 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4801 elif test -x /usr/sbin/sysctl; then
4802 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4804 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4806 # And add a safety zone
4807 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4808 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4812 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4813 lt_cv_sys_max_cmd_len=196608
4817 # The test takes a long time on OS/2.
4818 lt_cv_sys_max_cmd_len=8192
4822 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4823 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4824 # nice to cause kernel panics so lets avoid the loop below.
4825 # First set a reasonable default.
4826 lt_cv_sys_max_cmd_len=16384
4828 if test -x /sbin/sysconfig; then
4829 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4830 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4835 lt_cv_sys_max_cmd_len=102400
4837 sysv5* | sco5v6* | sysv4.2uw2*)
4838 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4839 if test -n "$kargmax"; then
4840 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4842 lt_cv_sys_max_cmd_len=32768
4846 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4847 if test -n "$lt_cv_sys_max_cmd_len"; then
4848 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4849 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4851 # Make teststring a little bigger before we do anything with it.
4852 # a 1K string should be a reasonable start.
4853 for i in 1 2 3 4 5 6 7 8 ; do
4854 teststring=$teststring$teststring
4856 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4857 # If test is not a shell built-in, we'll probably end up computing a
4858 # maximum length that is only half of the actual maximum length, but
4860 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4861 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4862 test $i != 17 # 1/2 MB should be enough
4865 teststring=$teststring$teststring
4867 # Only check the string length outside the loop.
4868 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4870 # Add a significant safety factor because C++ compilers can tack on
4871 # massive amounts of additional arguments before passing them to the
4872 # linker. It appears as though 1/2 is a usable value.
4873 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4880 if test -n $lt_cv_sys_max_cmd_len ; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4882 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4885 $as_echo "none" >&6; }
4887 max_cmd_len=$lt_cv_sys_max_cmd_len
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4899 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4900 # Try some XSI features
4903 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4905 && eval 'test $(( 1 + 1 )) -eq 2 \
4906 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4909 $as_echo "$xsi_shell" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4913 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4915 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4917 && lt_shell_append=yes
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4919 $as_echo "$lt_shell_append" >&6; }
4922 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4932 # test EBCDIC or ASCII
4933 case `echo X|tr X '\101'` in
4934 A) # ASCII based system
4935 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4936 lt_SP2NL='tr \040 \012'
4937 lt_NL2SP='tr \015\012 \040\040'
4939 *) # EBCDIC based system
4940 lt_SP2NL='tr \100 \n'
4941 lt_NL2SP='tr \r\n \100\100'
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4954 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4955 if ${lt_cv_to_host_file_cmd+:} false; then :
4956 $as_echo_n "(cached) " >&6
4961 *-*-mingw* ) # actually msys
4962 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4965 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4967 * ) # otherwise, assume *nix
4968 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4974 *-*-mingw* ) # actually msys
4975 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4978 lt_cv_to_host_file_cmd=func_convert_file_noop
4980 * ) # otherwise, assume *nix
4981 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4985 * ) # unhandled hosts (and "normal" native builds)
4986 lt_cv_to_host_file_cmd=func_convert_file_noop
4992 to_host_file_cmd=$lt_cv_to_host_file_cmd
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4994 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5001 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5002 if ${lt_cv_to_tool_file_cmd+:} false; then :
5003 $as_echo_n "(cached) " >&6
5005 #assume ordinary cross tools, or native build.
5006 lt_cv_to_tool_file_cmd=func_convert_file_noop
5010 *-*-mingw* ) # actually msys
5011 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5019 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5021 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5028 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5029 if ${lt_cv_ld_reload_flag+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 lt_cv_ld_reload_flag='-r'
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5035 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5036 reload_flag=$lt_cv_ld_reload_flag
5037 case $reload_flag in
5039 *) reload_flag=" $reload_flag" ;;
5041 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5043 cygwin* | mingw* | pw32* | cegcc*)
5044 if test "$GCC" != yes; then
5049 if test "$GCC" = yes; then
5050 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5052 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5065 if test -n "$ac_tool_prefix"; then
5066 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5067 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_OBJDUMP+:} false; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$OBJDUMP"; then
5074 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 OBJDUMP=$ac_cv_prog_OBJDUMP
5094 if test -n "$OBJDUMP"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5096 $as_echo "$OBJDUMP" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5104 if test -z "$ac_cv_prog_OBJDUMP"; then
5105 ac_ct_OBJDUMP=$OBJDUMP
5106 # Extract the first word of "objdump", so it can be a program name with args.
5107 set dummy objdump; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$ac_ct_OBJDUMP"; then
5114 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5134 if test -n "$ac_ct_OBJDUMP"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5136 $as_echo "$ac_ct_OBJDUMP" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5142 if test "x$ac_ct_OBJDUMP" = x; then
5145 case $cross_compiling:$ac_tool_warned in
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5149 ac_tool_warned=yes ;;
5151 OBJDUMP=$ac_ct_OBJDUMP
5154 OBJDUMP="$ac_cv_prog_OBJDUMP"
5157 test -z "$OBJDUMP" && OBJDUMP=objdump
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5165 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5166 if ${lt_cv_deplibs_check_method+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 lt_cv_file_magic_cmd='$MAGIC_CMD'
5170 lt_cv_file_magic_test_file=
5171 lt_cv_deplibs_check_method='unknown'
5172 # Need to set the preceding variable on all platforms that support
5173 # interlibrary dependencies.
5174 # 'none' -- dependencies not supported.
5175 # `unknown' -- same as none, but documents that we really don't know.
5176 # 'pass_all' -- all dependencies passed with no checks.
5177 # 'test_compile' -- check by making test program.
5178 # 'file_magic [[regex]]' -- check by looking for files in library path
5179 # which responds to the $file_magic_cmd with a given extended regex.
5180 # If you have `file' or equivalent on your system and you're not sure
5181 # whether `pass_all' will *always* work, you probably want this one.
5185 lt_cv_deplibs_check_method=pass_all
5189 lt_cv_deplibs_check_method=pass_all
5193 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5194 lt_cv_file_magic_cmd='/usr/bin/file -L'
5195 lt_cv_file_magic_test_file=/shlib/libc.so
5199 # func_win32_libid is a shell function defined in ltmain.sh
5200 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5201 lt_cv_file_magic_cmd='func_win32_libid'
5205 # Base MSYS/MinGW do not provide the 'file' command needed by
5206 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5207 # unless we find 'file', for example because we are cross-compiling.
5208 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5209 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5210 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5211 lt_cv_file_magic_cmd='func_win32_libid'
5213 # Keep this pattern in sync with the one in func_win32_libid.
5214 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5215 lt_cv_file_magic_cmd='$OBJDUMP -f'
5220 # use the weaker test based on 'objdump'. See mingw*.
5221 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5222 lt_cv_file_magic_cmd='$OBJDUMP -f'
5225 darwin* | rhapsody*)
5226 lt_cv_deplibs_check_method=pass_all
5229 freebsd* | dragonfly*)
5230 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5233 # Not sure whether the presence of OpenBSD here was a mistake.
5234 # Let's accept both of them until this is cleared up.
5235 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5236 lt_cv_file_magic_cmd=/usr/bin/file
5237 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5241 lt_cv_deplibs_check_method=pass_all
5246 lt_cv_deplibs_check_method=pass_all
5250 lt_cv_deplibs_check_method=pass_all
5253 hpux10.20* | hpux11*)
5254 lt_cv_file_magic_cmd=/usr/bin/file
5257 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5258 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5261 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]'
5262 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5265 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5266 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5272 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5273 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5276 irix5* | irix6* | nonstopux*)
5278 *-32|*"-32 ") libmagic=32-bit;;
5279 *-n32|*"-n32 ") libmagic=N32;;
5280 *-64|*"-64 ") libmagic=64-bit;;
5281 *) libmagic=never-match;;
5283 lt_cv_deplibs_check_method=pass_all
5286 # This must be glibc/ELF.
5287 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5288 lt_cv_deplibs_check_method=pass_all
5292 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5300 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5301 lt_cv_file_magic_cmd=/usr/bin/file
5302 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5306 lt_cv_deplibs_check_method=pass_all
5310 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5317 osf3* | osf4* | osf5*)
5318 lt_cv_deplibs_check_method=pass_all
5322 lt_cv_deplibs_check_method=pass_all
5326 lt_cv_deplibs_check_method=pass_all
5329 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5330 lt_cv_deplibs_check_method=pass_all
5334 case $host_vendor in
5336 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]'
5337 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5340 lt_cv_deplibs_check_method=pass_all
5343 lt_cv_file_magic_cmd='/bin/file'
5344 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5347 lt_cv_file_magic_cmd='/bin/file'
5348 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5349 lt_cv_file_magic_test_file=/lib/libc.so
5352 lt_cv_deplibs_check_method=pass_all
5355 lt_cv_deplibs_check_method=pass_all
5361 lt_cv_deplibs_check_method=pass_all
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5367 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5371 if test "$build" = "$host"; then
5374 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5377 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5383 file_magic_cmd=$lt_cv_file_magic_cmd
5384 deplibs_check_method=$lt_cv_deplibs_check_method
5385 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5408 if test -n "$ac_tool_prefix"; then
5409 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5410 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_DLLTOOL+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$DLLTOOL"; then
5417 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 DLLTOOL=$ac_cv_prog_DLLTOOL
5437 if test -n "$DLLTOOL"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5439 $as_echo "$DLLTOOL" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5447 if test -z "$ac_cv_prog_DLLTOOL"; then
5448 ac_ct_DLLTOOL=$DLLTOOL
5449 # Extract the first word of "dlltool", so it can be a program name with args.
5450 set dummy dlltool; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5454 $as_echo_n "(cached) " >&6
5456 if test -n "$ac_ct_DLLTOOL"; then
5457 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5477 if test -n "$ac_ct_DLLTOOL"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5479 $as_echo "$ac_ct_DLLTOOL" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5485 if test "x$ac_ct_DLLTOOL" = x; then
5488 case $cross_compiling:$ac_tool_warned in
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5492 ac_tool_warned=yes ;;
5494 DLLTOOL=$ac_ct_DLLTOOL
5497 DLLTOOL="$ac_cv_prog_DLLTOOL"
5500 test -z "$DLLTOOL" && DLLTOOL=dlltool
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5509 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5510 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 lt_cv_sharedlib_from_linklib_cmd='unknown'
5516 cygwin* | mingw* | pw32* | cegcc*)
5517 # two different shell functions defined in ltmain.sh
5518 # decide which to use based on capabilities of $DLLTOOL
5519 case `$DLLTOOL --help 2>&1` in
5520 *--identify-strict*)
5521 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5524 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5529 # fallback: assume linklib IS sharedlib
5530 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5536 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5537 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5538 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5547 if test -n "$ac_tool_prefix"; then
5550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_AR+:} false; then :
5555 $as_echo_n "(cached) " >&6
5557 if test -n "$AR"; then
5558 ac_cv_prog_AR="$AR" # Let the user override the test.
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 if test -n "$AR"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5580 $as_echo "$AR" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5587 test -n "$AR" && break
5590 if test -z "$AR"; then
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -n "$ac_ct_AR"; then
5602 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_ac_ct_AR="$ac_prog"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5622 if test -n "$ac_ct_AR"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5624 $as_echo "$ac_ct_AR" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 test -n "$ac_ct_AR" && break
5634 if test "x$ac_ct_AR" = x; then
5637 case $cross_compiling:$ac_tool_warned in
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641 ac_tool_warned=yes ;;
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5661 $as_echo_n "checking for archiver @FILE support... " >&6; }
5662 if ${lt_cv_ar_at_file+:} false; then :
5663 $as_echo_n "(cached) " >&6
5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5677 if ac_fn_c_try_compile "$LINENO"; then :
5678 echo conftest.$ac_objext > conftest.lst
5679 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5680 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5681 (eval $lt_ar_try) 2>&5
5683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5684 test $ac_status = 0; }
5685 if test "$ac_status" -eq 0; then
5686 # Ensure the archiver fails upon bogus file names.
5687 rm -f conftest.$ac_objext libconftest.a
5688 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5689 (eval $lt_ar_try) 2>&5
5691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5692 test $ac_status = 0; }
5693 if test "$ac_status" -ne 0; then
5697 rm -f conftest.* libconftest.a
5700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5704 $as_echo "$lt_cv_ar_at_file" >&6; }
5706 if test "x$lt_cv_ar_at_file" = xno; then
5709 archiver_list_spec=$lt_cv_ar_at_file
5718 if test -n "$ac_tool_prefix"; then
5719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}strip; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_STRIP+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$STRIP"; then
5727 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 STRIP=$ac_cv_prog_STRIP
5747 if test -n "$STRIP"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5749 $as_echo "$STRIP" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5757 if test -z "$ac_cv_prog_STRIP"; then
5759 # Extract the first word of "strip", so it can be a program name with args.
5760 set dummy strip; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$ac_ct_STRIP"; then
5767 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ac_ct_STRIP="strip"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5787 if test -n "$ac_ct_STRIP"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5789 $as_echo "$ac_ct_STRIP" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5795 if test "x$ac_ct_STRIP" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5807 STRIP="$ac_cv_prog_STRIP"
5810 test -z "$STRIP" && STRIP=:
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5819 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_RANLIB+:} false; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$RANLIB"; then
5826 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 RANLIB=$ac_cv_prog_RANLIB
5846 if test -n "$RANLIB"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5848 $as_echo "$RANLIB" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5856 if test -z "$ac_cv_prog_RANLIB"; then
5857 ac_ct_RANLIB=$RANLIB
5858 # Extract the first word of "ranlib", so it can be a program name with args.
5859 set dummy ranlib; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_RANLIB"; then
5866 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_RANLIB="ranlib"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5886 if test -n "$ac_ct_RANLIB"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5888 $as_echo "$ac_ct_RANLIB" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5894 if test "x$ac_ct_RANLIB" = x; then
5897 case $cross_compiling:$ac_tool_warned in
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5903 RANLIB=$ac_ct_RANLIB
5906 RANLIB="$ac_cv_prog_RANLIB"
5909 test -z "$RANLIB" && RANLIB=:
5916 # Determine commands to create old-style static archives.
5917 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5918 old_postinstall_cmds='chmod 644 $oldlib'
5919 old_postuninstall_cmds=
5921 if test -n "$RANLIB"; then
5924 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5927 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5930 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5935 lock_old_archive_extraction=yes ;;
5937 lock_old_archive_extraction=no ;;
5978 # If no C compiler was specified, use CC.
5981 # If no C compiler flags were specified, use CFLAGS.
5982 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5984 # Allow CC to be a program name with arguments.
5988 # Check for command to grab the raw symbol name followed by C symbol from nm.
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5990 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5991 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5992 $as_echo_n "(cached) " >&6
5995 # These are sane defaults that work on at least a few old systems.
5996 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5998 # Character class describing NM global symbol codes.
5999 symcode='[BCDEGRST]'
6001 # Regexp to match symbols that can be accessed directly from C.
6002 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6004 # Define system-specific variables.
6009 cygwin* | mingw* | pw32* | cegcc*)
6010 symcode='[ABCDGISTW]'
6013 if test "$host_cpu" = ia64; then
6014 symcode='[ABCDEGRST]'
6018 symcode='[BCDEGRST]'
6021 symcode='[BCDEGQRST]'
6032 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6040 # If we're using GNU nm, then use its standard symbol codes.
6041 case `$NM -V 2>&1` in
6042 *GNU* | *'with BFD'*)
6043 symcode='[ABCDGIRSTW]' ;;
6046 # Transform an extracted symbol line into a proper C declaration.
6047 # Some systems (esp. on ia64) link data and code symbols differently,
6048 # so use this general approach.
6049 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6051 # Transform an extracted symbol line into symbol name and symbol address
6052 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6053 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6055 # Handle CRLF in mingw tool chain
6059 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6063 # Try without a prefix underscore, then with it.
6064 for ac_symprfx in "" "_"; do
6066 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6067 symxfrm="\\1 $ac_symprfx\\2 \\2"
6069 # Write the raw and C identifiers.
6070 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6071 # Fake it for dumpbin and say T for any non-static function
6072 # and D for any global variable.
6073 # Also find C++ and __fastcall symbols from MSVC++,
6074 # which start with @ or ?.
6075 lt_cv_sys_global_symbol_pipe="$AWK '"\
6076 " {last_section=section; section=\$ 3};"\
6077 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6078 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6079 " \$ 0!~/External *\|/{next};"\
6080 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6081 " {if(hide[section]) next};"\
6082 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6083 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6084 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6085 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6086 " ' prfx=^$ac_symprfx"
6088 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6090 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6092 # Check to see that the pipe works correctly.
6096 cat > conftest.$ac_ext <<_LT_EOF
6101 void nm_test_func(void);
6102 void nm_test_func(void){}
6106 int main(){nm_test_var='a';nm_test_func();return(0);}
6109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6110 (eval $ac_compile) 2>&5
6112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6113 test $ac_status = 0; }; then
6114 # Now try to grab the symbols.
6116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6117 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6120 test $ac_status = 0; } && test -s "$nlist"; then
6121 # Try sorting and uniquifying the output.
6122 if sort "$nlist" | uniq > "$nlist"T; then
6123 mv -f "$nlist"T "$nlist"
6128 # Make sure that we snagged all the symbols we need.
6129 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6130 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6131 cat <<_LT_EOF > conftest.$ac_ext
6132 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6133 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6134 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6135 relocations are performed -- see ld's documentation on pseudo-relocs. */
6136 # define LT_DLSYM_CONST
6137 #elif defined(__osf__)
6138 /* This system does not cope well with relocations in const data. */
6139 # define LT_DLSYM_CONST
6141 # define LT_DLSYM_CONST const
6149 # Now generate the symbol file.
6150 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6152 cat <<_LT_EOF >> conftest.$ac_ext
6154 /* The mapping between symbol names and symbols. */
6155 LT_DLSYM_CONST struct {
6159 lt__PROGRAM__LTX_preloaded_symbols[] =
6161 { "@PROGRAM@", (void *) 0 },
6163 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6164 cat <<\_LT_EOF >> conftest.$ac_ext
6168 /* This works around a problem in FreeBSD linker */
6169 #ifdef FREEBSD_WORKAROUND
6170 static const void *lt_preloaded_setup() {
6171 return lt__PROGRAM__LTX_preloaded_symbols;
6179 # Now try linking the two files.
6180 mv conftest.$ac_objext conftstm.$ac_objext
6181 lt_globsym_save_LIBS=$LIBS
6182 lt_globsym_save_CFLAGS=$CFLAGS
6183 LIBS="conftstm.$ac_objext"
6184 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6186 (eval $ac_link) 2>&5
6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6189 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6192 LIBS=$lt_globsym_save_LIBS
6193 CFLAGS=$lt_globsym_save_CFLAGS
6195 echo "cannot find nm_test_func in $nlist" >&5
6198 echo "cannot find nm_test_var in $nlist" >&5
6201 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6204 echo "$progname: failed program was:" >&5
6205 cat conftest.$ac_ext >&5
6207 rm -rf conftest* conftst*
6209 # Do not use the global_symbol_pipe unless it works.
6210 if test "$pipe_works" = yes; then
6213 lt_cv_sys_global_symbol_pipe=
6219 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6220 lt_cv_sys_global_symbol_to_cdecl=
6222 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6224 $as_echo "failed" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6227 $as_echo "ok" >&6; }
6230 # Response file support.
6231 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6232 nm_file_list_spec='@'
6233 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6234 nm_file_list_spec='@'
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6264 $as_echo_n "checking for sysroot... " >&6; }
6266 # Check whether --with-sysroot was given.
6267 if test "${with_sysroot+set}" = set; then :
6268 withval=$with_sysroot;
6275 case ${with_sysroot} in #(
6277 if test "$GCC" = yes; then
6278 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6282 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6288 $as_echo "${with_sysroot}" >&6; }
6289 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6294 $as_echo "${lt_sysroot:-no}" >&6; }
6300 # Check whether --enable-libtool-lock was given.
6301 if test "${enable_libtool_lock+set}" = set; then :
6302 enableval=$enable_libtool_lock;
6305 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6307 # Some flags need to be propagated to the compiler or linker for good
6311 # Find out which ABI we are using.
6312 echo 'int i;' > conftest.$ac_ext
6313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6314 (eval $ac_compile) 2>&5
6316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6317 test $ac_status = 0; }; then
6318 case `/usr/bin/file conftest.$ac_objext` in
6330 # Find out which ABI we are using.
6331 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6333 (eval $ac_compile) 2>&5
6335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6336 test $ac_status = 0; }; then
6337 if test "$lt_cv_prog_gnu_ld" = yes; then
6338 case `/usr/bin/file conftest.$ac_objext` in
6340 LD="${LD-ld} -melf32bsmip"
6343 LD="${LD-ld} -melf32bmipn32"
6346 LD="${LD-ld} -melf64bmip"
6350 case `/usr/bin/file conftest.$ac_objext` in
6366 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6367 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6368 # Find out which ABI we are using.
6369 echo 'int i;' > conftest.$ac_ext
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 case `/usr/bin/file conftest.o` in
6378 x86_64-*kfreebsd*-gnu)
6379 LD="${LD-ld} -m elf_i386_fbsd"
6382 LD="${LD-ld} -m elf_i386"
6384 powerpc64le-*linux*)
6385 LD="${LD-ld} -m elf32lppclinux"
6388 LD="${LD-ld} -m elf32ppclinux"
6391 LD="${LD-ld} -m elf_s390"
6394 LD="${LD-ld} -m elf32_sparc"
6400 x86_64-*kfreebsd*-gnu)
6401 LD="${LD-ld} -m elf_x86_64_fbsd"
6404 LD="${LD-ld} -m elf_x86_64"
6407 LD="${LD-ld} -m elf64lppc"
6410 LD="${LD-ld} -m elf64ppc"
6412 s390*-*linux*|s390*-*tpf*)
6413 LD="${LD-ld} -m elf64_s390"
6416 LD="${LD-ld} -m elf64_sparc"
6426 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6427 SAVE_CFLAGS="$CFLAGS"
6428 CFLAGS="$CFLAGS -belf"
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6430 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6431 if ${lt_cv_cc_needs_belf+:} false; then :
6432 $as_echo_n "(cached) " >&6
6435 ac_cpp='$CPP $CPPFLAGS'
6436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6451 if ac_fn_c_try_link "$LINENO"; then :
6452 lt_cv_cc_needs_belf=yes
6454 lt_cv_cc_needs_belf=no
6456 rm -f core conftest.err conftest.$ac_objext \
6457 conftest$ac_exeext conftest.$ac_ext
6459 ac_cpp='$CPP $CPPFLAGS'
6460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6466 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6467 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6468 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6469 CFLAGS="$SAVE_CFLAGS"
6473 # Find out which ABI we are using.
6474 echo 'int i;' > conftest.$ac_ext
6475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476 (eval $ac_compile) 2>&5
6478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479 test $ac_status = 0; }; then
6480 case `/usr/bin/file conftest.o` in
6482 case $lt_cv_prog_gnu_ld in
6486 LD="${LD-ld} -m elf_x86_64"
6489 LD="${LD-ld} -m elf64_sparc"
6492 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6493 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6498 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6510 need_locks="$enable_libtool_lock"
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}mt; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$MANIFEST_TOOL"; then
6521 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6541 if test -n "$MANIFEST_TOOL"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6543 $as_echo "$MANIFEST_TOOL" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6552 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6553 # Extract the first word of "mt", so it can be a program name with args.
6554 set dummy mt; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6558 $as_echo_n "(cached) " >&6
6560 if test -n "$ac_ct_MANIFEST_TOOL"; then
6561 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6581 if test -n "$ac_ct_MANIFEST_TOOL"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6583 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6592 case $cross_compiling:$ac_tool_warned in
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6598 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6601 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6604 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6606 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6607 if ${lt_cv_path_mainfest_tool+:} false; then :
6608 $as_echo_n "(cached) " >&6
6610 lt_cv_path_mainfest_tool=no
6611 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6612 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6613 cat conftest.err >&5
6614 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6615 lt_cv_path_mainfest_tool=yes
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6620 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6621 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6631 rhapsody* | darwin*)
6632 if test -n "$ac_tool_prefix"; then
6633 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6634 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6638 $as_echo_n "(cached) " >&6
6640 if test -n "$DSYMUTIL"; then
6641 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6661 if test -n "$DSYMUTIL"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6663 $as_echo "$DSYMUTIL" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6671 if test -z "$ac_cv_prog_DSYMUTIL"; then
6672 ac_ct_DSYMUTIL=$DSYMUTIL
6673 # Extract the first word of "dsymutil", so it can be a program name with args.
6674 set dummy dsymutil; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6678 $as_echo_n "(cached) " >&6
6680 if test -n "$ac_ct_DSYMUTIL"; then
6681 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6701 if test -n "$ac_ct_DSYMUTIL"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6703 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6709 if test "x$ac_ct_DSYMUTIL" = x; then
6712 case $cross_compiling:$ac_tool_warned in
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6716 ac_tool_warned=yes ;;
6718 DSYMUTIL=$ac_ct_DSYMUTIL
6721 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6726 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_NMEDIT+:} false; then :
6730 $as_echo_n "(cached) " >&6
6732 if test -n "$NMEDIT"; then
6733 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 NMEDIT=$ac_cv_prog_NMEDIT
6753 if test -n "$NMEDIT"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6755 $as_echo "$NMEDIT" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6763 if test -z "$ac_cv_prog_NMEDIT"; then
6764 ac_ct_NMEDIT=$NMEDIT
6765 # Extract the first word of "nmedit", so it can be a program name with args.
6766 set dummy nmedit; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6770 $as_echo_n "(cached) " >&6
6772 if test -n "$ac_ct_NMEDIT"; then
6773 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6793 if test -n "$ac_ct_NMEDIT"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6795 $as_echo "$ac_ct_NMEDIT" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6801 if test "x$ac_ct_NMEDIT" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808 ac_tool_warned=yes ;;
6810 NMEDIT=$ac_ct_NMEDIT
6813 NMEDIT="$ac_cv_prog_NMEDIT"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_LIPO+:} false; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$LIPO"; then
6825 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 LIPO=$ac_cv_prog_LIPO
6845 if test -n "$LIPO"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6847 $as_echo "$LIPO" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6855 if test -z "$ac_cv_prog_LIPO"; then
6857 # Extract the first word of "lipo", so it can be a program name with args.
6858 set dummy lipo; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6862 $as_echo_n "(cached) " >&6
6864 if test -n "$ac_ct_LIPO"; then
6865 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_LIPO="lipo"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6885 if test -n "$ac_ct_LIPO"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6887 $as_echo "$ac_ct_LIPO" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6893 if test "x$ac_ct_LIPO" = x; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6900 ac_tool_warned=yes ;;
6905 LIPO="$ac_cv_prog_LIPO"
6908 if test -n "$ac_tool_prefix"; then
6909 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6910 set dummy ${ac_tool_prefix}otool; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_OTOOL+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$OTOOL"; then
6917 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 OTOOL=$ac_cv_prog_OTOOL
6937 if test -n "$OTOOL"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6939 $as_echo "$OTOOL" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6947 if test -z "$ac_cv_prog_OTOOL"; then
6949 # Extract the first word of "otool", so it can be a program name with args.
6950 set dummy otool; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$ac_ct_OTOOL"; then
6957 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_ac_ct_OTOOL="otool"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6977 if test -n "$ac_ct_OTOOL"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6979 $as_echo "$ac_ct_OTOOL" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6985 if test "x$ac_ct_OTOOL" = x; then
6988 case $cross_compiling:$ac_tool_warned in
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6992 ac_tool_warned=yes ;;
6997 OTOOL="$ac_cv_prog_OTOOL"
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_OTOOL64+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$OTOOL64"; then
7009 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 OTOOL64=$ac_cv_prog_OTOOL64
7029 if test -n "$OTOOL64"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7031 $as_echo "$OTOOL64" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7039 if test -z "$ac_cv_prog_OTOOL64"; then
7040 ac_ct_OTOOL64=$OTOOL64
7041 # Extract the first word of "otool64", so it can be a program name with args.
7042 set dummy otool64; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$ac_ct_OTOOL64"; then
7049 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_OTOOL64="otool64"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7069 if test -n "$ac_ct_OTOOL64"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7071 $as_echo "$ac_ct_OTOOL64" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7077 if test "x$ac_ct_OTOOL64" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7086 OTOOL64=$ac_ct_OTOOL64
7089 OTOOL64="$ac_cv_prog_OTOOL64"
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7119 $as_echo_n "checking for -single_module linker flag... " >&6; }
7120 if ${lt_cv_apple_cc_single_mod+:} false; then :
7121 $as_echo_n "(cached) " >&6
7123 lt_cv_apple_cc_single_mod=no
7124 if test -z "${LT_MULTI_MODULE}"; then
7125 # By default we will add the -single_module flag. You can override
7126 # by either setting the environment variable LT_MULTI_MODULE
7127 # non-empty at configure time, or by adding -multi_module to the
7129 rm -rf libconftest.dylib*
7130 echo "int foo(void){return 1;}" > conftest.c
7131 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7132 -dynamiclib -Wl,-single_module conftest.c" >&5
7133 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7134 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7136 # If there is a non-empty error log, and "single_module"
7137 # appears in it, assume the flag caused a linker warning
7138 if test -s conftest.err && $GREP single_module conftest.err; then
7139 cat conftest.err >&5
7140 # Otherwise, if the output was created with a 0 exit code from
7141 # the compiler, it worked.
7142 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7143 lt_cv_apple_cc_single_mod=yes
7145 cat conftest.err >&5
7147 rm -rf libconftest.dylib*
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7152 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7155 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7156 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7157 $as_echo_n "(cached) " >&6
7159 lt_cv_ld_exported_symbols_list=no
7160 save_LDFLAGS=$LDFLAGS
7161 echo "_main" > conftest.sym
7162 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7174 if ac_fn_c_try_link "$LINENO"; then :
7175 lt_cv_ld_exported_symbols_list=yes
7177 lt_cv_ld_exported_symbols_list=no
7179 rm -f core conftest.err conftest.$ac_objext \
7180 conftest$ac_exeext conftest.$ac_ext
7181 LDFLAGS="$save_LDFLAGS"
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7185 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7188 $as_echo_n "checking for -force_load linker flag... " >&6; }
7189 if ${lt_cv_ld_force_load+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 lt_cv_ld_force_load=no
7193 cat > conftest.c << _LT_EOF
7194 int forced_loaded() { return 2;}
7196 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7197 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7198 echo "$AR cru libconftest.a conftest.o" >&5
7199 $AR cru libconftest.a conftest.o 2>&5
7200 echo "$RANLIB libconftest.a" >&5
7201 $RANLIB libconftest.a 2>&5
7202 cat > conftest.c << _LT_EOF
7203 int main() { return 0;}
7205 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7206 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7208 if test -s conftest.err && $GREP force_load conftest.err; then
7209 cat conftest.err >&5
7210 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7211 lt_cv_ld_force_load=yes
7213 cat conftest.err >&5
7215 rm -f conftest.err libconftest.a conftest conftest.c
7216 rm -rf conftest.dSYM
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7220 $as_echo "$lt_cv_ld_force_load" >&6; }
7222 rhapsody* | darwin1.[012])
7223 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7225 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7226 darwin*) # darwin 5.x on
7227 # if running on 10.5 or later, the deployment target defaults
7228 # to the OS version, if on x86, and 10.4, the deployment
7229 # target defaults to 10.4. Don't you love it?
7230 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7231 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7232 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7234 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7236 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7240 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7241 _lt_dar_single_mod='$single_module'
7243 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7244 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7246 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7248 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7249 _lt_dsymutil='~$DSYMUTIL $lib || :'
7257 ac_cpp='$CPP $CPPFLAGS'
7258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7262 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7263 # On Suns, sometimes $CPP names a directory.
7264 if test -n "$CPP" && test -d "$CPP"; then
7267 if test -z "$CPP"; then
7268 if ${ac_cv_prog_CPP+:} false; then :
7269 $as_echo_n "(cached) " >&6
7271 # Double quotes because CPP needs to be expanded
7272 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7275 for ac_c_preproc_warn_flag in '' yes
7277 # Use a header file that comes with gcc, so configuring glibc
7278 # with a fresh cross-compiler works.
7279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7280 # <limits.h> exists even on freestanding compilers.
7281 # On the NeXT, cc -E runs the code through the compiler's parser,
7282 # not just through cpp. "Syntax error" is here to catch this case.
7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7286 # include <limits.h>
7288 # include <assert.h>
7292 if ac_fn_c_try_cpp "$LINENO"; then :
7295 # Broken: fails on valid input.
7298 rm -f conftest.err conftest.i conftest.$ac_ext
7300 # OK, works on sane cases. Now check whether nonexistent headers
7301 # can be detected and how.
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7304 #include <ac_nonexistent.h>
7306 if ac_fn_c_try_cpp "$LINENO"; then :
7307 # Broken: success on invalid input.
7310 # Passes both tests.
7314 rm -f conftest.err conftest.i conftest.$ac_ext
7317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7318 rm -f conftest.i conftest.err conftest.$ac_ext
7319 if $ac_preproc_ok; then :
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7332 $as_echo "$CPP" >&6; }
7334 for ac_c_preproc_warn_flag in '' yes
7336 # Use a header file that comes with gcc, so configuring glibc
7337 # with a fresh cross-compiler works.
7338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7339 # <limits.h> exists even on freestanding compilers.
7340 # On the NeXT, cc -E runs the code through the compiler's parser,
7341 # not just through cpp. "Syntax error" is here to catch this case.
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h. */
7345 # include <limits.h>
7347 # include <assert.h>
7351 if ac_fn_c_try_cpp "$LINENO"; then :
7354 # Broken: fails on valid input.
7357 rm -f conftest.err conftest.i conftest.$ac_ext
7359 # OK, works on sane cases. Now check whether nonexistent headers
7360 # can be detected and how.
7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7363 #include <ac_nonexistent.h>
7365 if ac_fn_c_try_cpp "$LINENO"; then :
7366 # Broken: success on invalid input.
7369 # Passes both tests.
7373 rm -f conftest.err conftest.i conftest.$ac_ext
7376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7377 rm -f conftest.i conftest.err conftest.$ac_ext
7378 if $ac_preproc_ok; then :
7381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7383 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7384 See \`config.log' for more details" "$LINENO" 5; }
7388 ac_cpp='$CPP $CPPFLAGS'
7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7395 $as_echo_n "checking for ANSI C header files... " >&6; }
7396 if ${ac_cv_header_stdc+:} false; then :
7397 $as_echo_n "(cached) " >&6
7399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7400 /* end confdefs.h. */
7414 if ac_fn_c_try_compile "$LINENO"; then :
7415 ac_cv_header_stdc=yes
7417 ac_cv_header_stdc=no
7419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7421 if test $ac_cv_header_stdc = yes; then
7422 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7429 $EGREP "memchr" >/dev/null 2>&1; then :
7432 ac_cv_header_stdc=no
7438 if test $ac_cv_header_stdc = yes; then
7439 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */
7445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7446 $EGREP "free" >/dev/null 2>&1; then :
7449 ac_cv_header_stdc=no
7455 if test $ac_cv_header_stdc = yes; then
7456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7457 if test "$cross_compiling" = yes; then :
7460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7464 #if ((' ' & 0x0FF) == 0x020)
7465 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7466 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7468 # define ISLOWER(c) \
7469 (('a' <= (c) && (c) <= 'i') \
7470 || ('j' <= (c) && (c) <= 'r') \
7471 || ('s' <= (c) && (c) <= 'z'))
7472 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7480 for (i = 0; i < 256; i++)
7481 if (XOR (islower (i), ISLOWER (i))
7482 || toupper (i) != TOUPPER (i))
7487 if ac_fn_c_try_run "$LINENO"; then :
7490 ac_cv_header_stdc=no
7492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7493 conftest.$ac_objext conftest.beam conftest.$ac_ext
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7499 $as_echo "$ac_cv_header_stdc" >&6; }
7500 if test $ac_cv_header_stdc = yes; then
7502 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7506 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7508 inttypes.h stdint.h unistd.h
7510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7511 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7514 cat >>confdefs.h <<_ACEOF
7515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7523 for ac_header in dlfcn.h
7525 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7527 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7528 cat >>confdefs.h <<_ACEOF
7529 #define HAVE_DLFCN_H 1
7541 enable_win32_dll=yes
7544 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7545 if test -n "$ac_tool_prefix"; then
7546 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7547 set dummy ${ac_tool_prefix}as; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_AS+:} false; then :
7551 $as_echo_n "(cached) " >&6
7553 if test -n "$AS"; then
7554 ac_cv_prog_AS="$AS" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_AS="${ac_tool_prefix}as"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 if test -n "$AS"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7576 $as_echo "$AS" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7584 if test -z "$ac_cv_prog_AS"; then
7586 # Extract the first word of "as", so it can be a program name with args.
7587 set dummy as; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7591 $as_echo_n "(cached) " >&6
7593 if test -n "$ac_ct_AS"; then
7594 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_AS="as"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7614 if test -n "$ac_ct_AS"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7616 $as_echo "$ac_ct_AS" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7622 if test "x$ac_ct_AS" = x; then
7625 case $cross_compiling:$ac_tool_warned in
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7629 ac_tool_warned=yes ;;
7637 if test -n "$ac_tool_prefix"; then
7638 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7639 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641 $as_echo_n "checking for $ac_word... " >&6; }
7642 if ${ac_cv_prog_DLLTOOL+:} false; then :
7643 $as_echo_n "(cached) " >&6
7645 if test -n "$DLLTOOL"; then
7646 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665 DLLTOOL=$ac_cv_prog_DLLTOOL
7666 if test -n "$DLLTOOL"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7668 $as_echo "$DLLTOOL" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7676 if test -z "$ac_cv_prog_DLLTOOL"; then
7677 ac_ct_DLLTOOL=$DLLTOOL
7678 # Extract the first word of "dlltool", so it can be a program name with args.
7679 set dummy dlltool; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7681 $as_echo_n "checking for $ac_word... " >&6; }
7682 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7683 $as_echo_n "(cached) " >&6
7685 if test -n "$ac_ct_DLLTOOL"; then
7686 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7695 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7706 if test -n "$ac_ct_DLLTOOL"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7708 $as_echo "$ac_ct_DLLTOOL" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 $as_echo "no" >&6; }
7714 if test "x$ac_ct_DLLTOOL" = x; then
7717 case $cross_compiling:$ac_tool_warned in
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7721 ac_tool_warned=yes ;;
7723 DLLTOOL=$ac_ct_DLLTOOL
7726 DLLTOOL="$ac_cv_prog_DLLTOOL"
7729 if test -n "$ac_tool_prefix"; then
7730 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7731 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if ${ac_cv_prog_OBJDUMP+:} false; then :
7735 $as_echo_n "(cached) " >&6
7737 if test -n "$OBJDUMP"; then
7738 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 OBJDUMP=$ac_cv_prog_OBJDUMP
7758 if test -n "$OBJDUMP"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7760 $as_echo "$OBJDUMP" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7768 if test -z "$ac_cv_prog_OBJDUMP"; then
7769 ac_ct_OBJDUMP=$OBJDUMP
7770 # Extract the first word of "objdump", so it can be a program name with args.
7771 set dummy objdump; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 $as_echo_n "checking for $ac_word... " >&6; }
7774 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7775 $as_echo_n "(cached) " >&6
7777 if test -n "$ac_ct_OBJDUMP"; then
7778 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7798 if test -n "$ac_ct_OBJDUMP"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7800 $as_echo "$ac_ct_OBJDUMP" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7806 if test "x$ac_ct_OBJDUMP" = x; then
7809 case $cross_compiling:$ac_tool_warned in
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7813 ac_tool_warned=yes ;;
7815 OBJDUMP=$ac_ct_OBJDUMP
7818 OBJDUMP="$ac_cv_prog_OBJDUMP"
7824 test -z "$AS" && AS=as
7830 test -z "$DLLTOOL" && DLLTOOL=dlltool
7836 test -z "$OBJDUMP" && OBJDUMP=objdump
7848 # Check whether --enable-shared was given.
7849 if test "${enable_shared+set}" = set; then :
7850 enableval=$enable_shared; p=${PACKAGE-default}
7852 yes) enable_shared=yes ;;
7853 no) enable_shared=no ;;
7856 # Look at the argument we got. We use all the common list separators.
7857 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7858 for pkg in $enableval; do
7860 if test "X$pkg" = "X$p"; then
7879 # Check whether --enable-static was given.
7880 if test "${enable_static+set}" = set; then :
7881 enableval=$enable_static; p=${PACKAGE-default}
7883 yes) enable_static=yes ;;
7884 no) enable_static=no ;;
7887 # Look at the argument we got. We use all the common list separators.
7888 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7889 for pkg in $enableval; do
7891 if test "X$pkg" = "X$p"; then
7911 # Check whether --with-pic was given.
7912 if test "${with_pic+set}" = set; then :
7913 withval=$with_pic; lt_p=${PACKAGE-default}
7915 yes|no) pic_mode=$withval ;;
7918 # Look at the argument we got. We use all the common list separators.
7919 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7920 for lt_pkg in $withval; do
7922 if test "X$lt_pkg" = "X$lt_p"; then
7934 test -z "$pic_mode" && pic_mode=default
7942 # Check whether --enable-fast-install was given.
7943 if test "${enable_fast_install+set}" = set; then :
7944 enableval=$enable_fast_install; p=${PACKAGE-default}
7946 yes) enable_fast_install=yes ;;
7947 no) enable_fast_install=no ;;
7949 enable_fast_install=no
7950 # Look at the argument we got. We use all the common list separators.
7951 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7952 for pkg in $enableval; do
7954 if test "X$pkg" = "X$p"; then
7955 enable_fast_install=yes
7962 enable_fast_install=yes
7975 # This can be used to rebuild libtool when needed
7976 LIBTOOL_DEPS="$ltmain"
7978 # Always use our own libtool.
7979 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8010 test -z "$LN_S" && LN_S="ln -s"
8025 if test -n "${ZSH_VERSION+set}" ; then
8026 setopt NO_GLOB_SUBST
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8030 $as_echo_n "checking for objdir... " >&6; }
8031 if ${lt_cv_objdir+:} false; then :
8032 $as_echo_n "(cached) " >&6
8034 rm -f .libs 2>/dev/null
8035 mkdir .libs 2>/dev/null
8036 if test -d .libs; then
8039 # MS-DOS does not allow filenames that begin with a dot.
8042 rmdir .libs 2>/dev/null
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8045 $as_echo "$lt_cv_objdir" >&6; }
8046 objdir=$lt_cv_objdir
8052 cat >>confdefs.h <<_ACEOF
8053 #define LT_OBJDIR "$lt_cv_objdir/"
8061 # AIX sometimes has problems with the GCC collect2 program. For some
8062 # reason, if we set the COLLECT_NAMES environment variable, the problems
8063 # vanish in a puff of smoke.
8064 if test "X${COLLECT_NAMES+set}" != Xset; then
8066 export COLLECT_NAMES
8073 can_build_shared=yes
8075 # All known linkers require a `.a' archive for static linking (except MSVC,
8076 # which needs '.lib').
8079 with_gnu_ld="$lt_cv_prog_gnu_ld"
8082 old_CFLAGS="$CFLAGS"
8084 # Set sane defaults for various variables
8085 test -z "$CC" && CC=cc
8086 test -z "$LTCC" && LTCC=$CC
8087 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8088 test -z "$LD" && LD=ld
8089 test -z "$ac_objext" && ac_objext=o
8091 for cc_temp in $compiler""; do
8093 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8094 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8099 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8102 # Only perform the check for file, if the check method requires it
8103 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8104 case $deplibs_check_method in
8106 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8108 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8109 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8110 $as_echo_n "(cached) " >&6
8114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8117 lt_save_MAGIC_CMD="$MAGIC_CMD"
8118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8119 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8120 for ac_dir in $ac_dummy; do
8122 test -z "$ac_dir" && ac_dir=.
8123 if test -f $ac_dir/${ac_tool_prefix}file; then
8124 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8125 if test -n "$file_magic_test_file"; then
8126 case $deplibs_check_method in
8128 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8130 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8131 $EGREP "$file_magic_regex" > /dev/null; then
8136 *** Warning: the command libtool uses to detect shared libraries,
8137 *** $file_magic_cmd, produces output that libtool cannot recognize.
8138 *** The result is that libtool may fail to recognize shared libraries
8139 *** as such. This will affect the creation of libtool libraries that
8140 *** depend on shared libraries, but programs linked with such libtool
8141 *** libraries will work regardless of this problem. Nevertheless, you
8142 *** may want to report the problem to your system manager and/or to
8143 *** bug-libtool@gnu.org
8153 MAGIC_CMD="$lt_save_MAGIC_CMD"
8158 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159 if test -n "$MAGIC_CMD"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8161 $as_echo "$MAGIC_CMD" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8171 if test -z "$lt_cv_path_MAGIC_CMD"; then
8172 if test -n "$ac_tool_prefix"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8174 $as_echo_n "checking for file... " >&6; }
8175 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8176 $as_echo_n "(cached) " >&6
8180 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8183 lt_save_MAGIC_CMD="$MAGIC_CMD"
8184 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8185 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8186 for ac_dir in $ac_dummy; do
8188 test -z "$ac_dir" && ac_dir=.
8189 if test -f $ac_dir/file; then
8190 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8191 if test -n "$file_magic_test_file"; then
8192 case $deplibs_check_method in
8194 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8195 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8196 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8197 $EGREP "$file_magic_regex" > /dev/null; then
8202 *** Warning: the command libtool uses to detect shared libraries,
8203 *** $file_magic_cmd, produces output that libtool cannot recognize.
8204 *** The result is that libtool may fail to recognize shared libraries
8205 *** as such. This will affect the creation of libtool libraries that
8206 *** depend on shared libraries, but programs linked with such libtool
8207 *** libraries will work regardless of this problem. Nevertheless, you
8208 *** may want to report the problem to your system manager and/or to
8209 *** bug-libtool@gnu.org
8219 MAGIC_CMD="$lt_save_MAGIC_CMD"
8224 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8225 if test -n "$MAGIC_CMD"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8227 $as_echo "$MAGIC_CMD" >&6; }
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8243 # Use C for the default configuration in the libtool script
8247 ac_cpp='$CPP $CPPFLAGS'
8248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8253 # Source file extension for C test sources.
8256 # Object file extension for compiled C test sources.
8260 # Code to be used in simple compile tests
8261 lt_simple_compile_test_code="int some_variable = 0;"
8263 # Code to be used in simple link tests
8264 lt_simple_link_test_code='int main(){return(0);}'
8272 # If no C compiler was specified, use CC.
8275 # If no C compiler flags were specified, use CFLAGS.
8276 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8278 # Allow CC to be a program name with arguments.
8281 # Save the default compiler, since it gets overwritten when the other
8282 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8283 compiler_DEFAULT=$CC
8285 # save warnings/boilerplate of simple test code
8286 ac_outfile=conftest.$ac_objext
8287 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8288 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8289 _lt_compiler_boilerplate=`cat conftest.err`
8292 ac_outfile=conftest.$ac_objext
8293 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8294 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8295 _lt_linker_boilerplate=`cat conftest.err`
8300 ## There is no encapsulation within the following macros, do not change
8301 ## the running order or otherwise move them around unless you know exactly
8302 ## what you are doing...
8303 if test -n "$compiler"; then
8305 lt_prog_compiler_no_builtin_flag=
8307 if test "$GCC" = yes; then
8308 case $cc_basename in
8310 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8312 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8316 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8317 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8318 $as_echo_n "(cached) " >&6
8320 lt_cv_prog_compiler_rtti_exceptions=no
8321 ac_outfile=conftest.$ac_objext
8322 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8323 lt_compiler_flag="-fno-rtti -fno-exceptions"
8324 # Insert the option either (1) after the last *FLAGS variable, or
8325 # (2) before a word containing "conftest.", or (3) at the end.
8326 # Note that $ac_compile itself does not contain backslashes and begins
8327 # with a dollar sign (not a hyphen), so the echo should work correctly.
8328 # The option is referenced via a variable to avoid confusing sed.
8329 lt_compile=`echo "$ac_compile" | $SED \
8330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8332 -e 's:$: $lt_compiler_flag:'`
8333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8334 (eval "$lt_compile" 2>conftest.err)
8336 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 if (exit $ac_status) && test -s "$ac_outfile"; then
8339 # The compiler can only warn and ignore the option if not recognized
8340 # So say no if there are warnings other than the usual output.
8341 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8343 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8344 lt_cv_prog_compiler_rtti_exceptions=yes
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8351 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8353 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8354 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8366 lt_prog_compiler_wl=
8367 lt_prog_compiler_pic=
8368 lt_prog_compiler_static=
8371 if test "$GCC" = yes; then
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_static='-static'
8377 # All AIX code is PIC.
8378 if test "$host_cpu" = ia64; then
8379 # AIX 5 now supports IA64 processor
8380 lt_prog_compiler_static='-Bstatic'
8387 # see comment about AmigaOS4 .so support
8388 lt_prog_compiler_pic='-fPIC'
8391 # FIXME: we need at least 68020 code to build shared libraries, but
8392 # adding the `-m68020' flag to GCC prevents building anything better,
8394 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8399 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8400 # PIC is the default for these OSes.
8403 mingw* | cygwin* | pw32* | os2* | cegcc*)
8404 # This hack is so that the source file can tell whether it is being
8405 # built for inclusion in a dll (and should export symbols for example).
8406 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8407 # (--disable-auto-import) libraries
8408 lt_prog_compiler_pic='-DDLL_EXPORT'
8411 darwin* | rhapsody*)
8412 # PIC is the default on this platform
8413 # Common symbols not allowed in MH_DYLIB files
8414 lt_prog_compiler_pic='-fno-common'
8418 # PIC is the default for Haiku.
8419 # The "-static" flag exists, but is broken.
8420 lt_prog_compiler_static=
8424 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8425 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8426 # sets the default TLS model and affects inlining.
8432 lt_prog_compiler_pic='-fPIC'
8438 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8439 # Instead, we relocate shared libraries at runtime.
8443 # Just because we use GCC doesn't mean we suddenly get shared libraries
8444 # on systems that don't support them.
8445 lt_prog_compiler_can_build_shared=no
8450 # QNX uses GNU C++, but need to define -shared option too, otherwise
8452 lt_prog_compiler_pic='-fPIC -shared'
8456 if test -d /usr/nec; then
8457 lt_prog_compiler_pic=-Kconform_pic
8462 lt_prog_compiler_pic='-fPIC'
8466 case $cc_basename in
8467 nvcc*) # Cuda Compiler Driver 2.2
8468 lt_prog_compiler_wl='-Xlinker '
8469 if test -n "$lt_prog_compiler_pic"; then
8470 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8475 # PORTME Check for flag to pass linker flags through the system compiler.
8478 lt_prog_compiler_wl='-Wl,'
8479 if test "$host_cpu" = ia64; then
8480 # AIX 5 now supports IA64 processor
8481 lt_prog_compiler_static='-Bstatic'
8483 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8487 mingw* | cygwin* | pw32* | os2* | cegcc*)
8488 # This hack is so that the source file can tell whether it is being
8489 # built for inclusion in a dll (and should export symbols for example).
8490 lt_prog_compiler_pic='-DDLL_EXPORT'
8493 hpux9* | hpux10* | hpux11*)
8494 lt_prog_compiler_wl='-Wl,'
8495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8502 lt_prog_compiler_pic='+Z'
8505 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8506 lt_prog_compiler_static='${wl}-a ${wl}archive'
8509 irix5* | irix6* | nonstopux*)
8510 lt_prog_compiler_wl='-Wl,'
8511 # PIC (with -KPIC) is the default.
8512 lt_prog_compiler_static='-non_shared'
8515 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8516 case $cc_basename in
8517 # old Intel for x86_64 which still supported -KPIC.
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_pic='-KPIC'
8521 lt_prog_compiler_static='-static'
8523 # icc used to be incompatible with GCC.
8524 # ICC 10 doesn't accept -KPIC any more.
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_pic='-fPIC'
8528 lt_prog_compiler_static='-static'
8530 # Lahey Fortran 8.1.
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='--shared'
8534 lt_prog_compiler_static='--static'
8537 # NAG Fortran compiler
8538 lt_prog_compiler_wl='-Wl,-Wl,,'
8539 lt_prog_compiler_pic='-PIC'
8540 lt_prog_compiler_static='-Bstatic'
8542 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8543 # Portland Group compilers (*not* the Pentium gcc compiler,
8544 # which looks to be a dead project)
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-fpic'
8547 lt_prog_compiler_static='-Bstatic'
8550 lt_prog_compiler_wl='-Wl,'
8551 # All Alpha code is PIC.
8552 lt_prog_compiler_static='-non_shared'
8554 xl* | bgxl* | bgf* | mpixl*)
8555 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8556 lt_prog_compiler_wl='-Wl,'
8557 lt_prog_compiler_pic='-qpic'
8558 lt_prog_compiler_static='-qstaticlink'
8561 case `$CC -V 2>&1 | sed 5q` in
8562 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8563 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8564 lt_prog_compiler_pic='-KPIC'
8565 lt_prog_compiler_static='-Bstatic'
8566 lt_prog_compiler_wl=''
8568 *Sun\ F* | *Sun*Fortran*)
8569 lt_prog_compiler_pic='-KPIC'
8570 lt_prog_compiler_static='-Bstatic'
8571 lt_prog_compiler_wl='-Qoption ld '
8575 lt_prog_compiler_pic='-KPIC'
8576 lt_prog_compiler_static='-Bstatic'
8577 lt_prog_compiler_wl='-Wl,'
8579 *Intel*\ [CF]*Compiler*)
8580 lt_prog_compiler_wl='-Wl,'
8581 lt_prog_compiler_pic='-fPIC'
8582 lt_prog_compiler_static='-static'
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-fpic'
8587 lt_prog_compiler_static='-Bstatic'
8595 lt_prog_compiler_pic='-KPIC'
8596 lt_prog_compiler_static='-Bstatic'
8600 # QNX uses GNU C++, but need to define -shared option too, otherwise
8602 lt_prog_compiler_pic='-fPIC -shared'
8605 osf3* | osf4* | osf5*)
8606 lt_prog_compiler_wl='-Wl,'
8607 # All OSF/1 code is PIC.
8608 lt_prog_compiler_static='-non_shared'
8612 lt_prog_compiler_static='-non_shared'
8616 lt_prog_compiler_pic='-KPIC'
8617 lt_prog_compiler_static='-Bstatic'
8618 case $cc_basename in
8619 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8620 lt_prog_compiler_wl='-Qoption ld ';;
8622 lt_prog_compiler_wl='-Wl,';;
8627 lt_prog_compiler_wl='-Qoption ld '
8628 lt_prog_compiler_pic='-PIC'
8629 lt_prog_compiler_static='-Bstatic'
8632 sysv4 | sysv4.2uw2* | sysv4.3*)
8633 lt_prog_compiler_wl='-Wl,'
8634 lt_prog_compiler_pic='-KPIC'
8635 lt_prog_compiler_static='-Bstatic'
8639 if test -d /usr/nec ;then
8640 lt_prog_compiler_pic='-Kconform_pic'
8641 lt_prog_compiler_static='-Bstatic'
8645 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-KPIC'
8648 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_can_build_shared=no
8657 lt_prog_compiler_pic='-pic'
8658 lt_prog_compiler_static='-Bstatic'
8662 lt_prog_compiler_can_build_shared=no
8668 # For platforms which do not support PIC, -DPIC is meaningless:
8670 lt_prog_compiler_pic=
8673 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8679 if ${lt_cv_prog_compiler_pic+:} false; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8685 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8686 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8689 # Check to make sure the PIC flag actually works.
8691 if test -n "$lt_prog_compiler_pic"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8693 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8694 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8695 $as_echo_n "(cached) " >&6
8697 lt_cv_prog_compiler_pic_works=no
8698 ac_outfile=conftest.$ac_objext
8699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8700 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8701 # Insert the option either (1) after the last *FLAGS variable, or
8702 # (2) before a word containing "conftest.", or (3) at the end.
8703 # Note that $ac_compile itself does not contain backslashes and begins
8704 # with a dollar sign (not a hyphen), so the echo should work correctly.
8705 # The option is referenced via a variable to avoid confusing sed.
8706 lt_compile=`echo "$ac_compile" | $SED \
8707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8709 -e 's:$: $lt_compiler_flag:'`
8710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8711 (eval "$lt_compile" 2>conftest.err)
8713 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 if (exit $ac_status) && test -s "$ac_outfile"; then
8716 # The compiler can only warn and ignore the option if not recognized
8717 # So say no if there are warnings other than the usual output.
8718 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8720 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8721 lt_cv_prog_compiler_pic_works=yes
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8728 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8730 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8731 case $lt_prog_compiler_pic in
8733 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8736 lt_prog_compiler_pic=
8737 lt_prog_compiler_can_build_shared=no
8753 # Check to make sure the static flag actually works.
8755 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8757 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8758 if ${lt_cv_prog_compiler_static_works+:} false; then :
8759 $as_echo_n "(cached) " >&6
8761 lt_cv_prog_compiler_static_works=no
8762 save_LDFLAGS="$LDFLAGS"
8763 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8764 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8765 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8766 # The linker can only warn and ignore the option if not recognized
8767 # So say no if there are warnings
8768 if test -s conftest.err; then
8769 # Append any errors to the config.log.
8770 cat conftest.err 1>&5
8771 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8773 if diff conftest.exp conftest.er2 >/dev/null; then
8774 lt_cv_prog_compiler_static_works=yes
8777 lt_cv_prog_compiler_static_works=yes
8781 LDFLAGS="$save_LDFLAGS"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8785 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8787 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8790 lt_prog_compiler_static=
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8800 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8801 if ${lt_cv_prog_compiler_c_o+:} false; then :
8802 $as_echo_n "(cached) " >&6
8804 lt_cv_prog_compiler_c_o=no
8805 $RM -r conftest 2>/dev/null
8809 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8811 lt_compiler_flag="-o out/conftest2.$ac_objext"
8812 # Insert the option either (1) after the last *FLAGS variable, or
8813 # (2) before a word containing "conftest.", or (3) at the end.
8814 # Note that $ac_compile itself does not contain backslashes and begins
8815 # with a dollar sign (not a hyphen), so the echo should work correctly.
8816 lt_compile=`echo "$ac_compile" | $SED \
8817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819 -e 's:$: $lt_compiler_flag:'`
8820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821 (eval "$lt_compile" 2>out/conftest.err)
8823 cat out/conftest.err >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8827 # The compiler can only warn and ignore the option if not recognized
8828 # So say no if there are warnings
8829 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8830 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8831 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8832 lt_cv_prog_compiler_c_o=yes
8837 # SGI C++ compiler will create directory out/ii_files/ for
8838 # template instantiation
8839 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8840 $RM out/* && rmdir out
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8847 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8855 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8856 if ${lt_cv_prog_compiler_c_o+:} false; then :
8857 $as_echo_n "(cached) " >&6
8859 lt_cv_prog_compiler_c_o=no
8860 $RM -r conftest 2>/dev/null
8864 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8866 lt_compiler_flag="-o out/conftest2.$ac_objext"
8867 # Insert the option either (1) after the last *FLAGS variable, or
8868 # (2) before a word containing "conftest.", or (3) at the end.
8869 # Note that $ac_compile itself does not contain backslashes and begins
8870 # with a dollar sign (not a hyphen), so the echo should work correctly.
8871 lt_compile=`echo "$ac_compile" | $SED \
8872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8874 -e 's:$: $lt_compiler_flag:'`
8875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8876 (eval "$lt_compile" 2>out/conftest.err)
8878 cat out/conftest.err >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8882 # The compiler can only warn and ignore the option if not recognized
8883 # So say no if there are warnings
8884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8885 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8886 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_c_o=yes
8892 # SGI C++ compiler will create directory out/ii_files/ for
8893 # template instantiation
8894 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8895 $RM out/* && rmdir out
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8902 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8907 hard_links="nottested"
8908 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8909 # do not overwrite the value of need_locks provided by the user
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8911 $as_echo_n "checking if we can lock with hard links... " >&6; }
8914 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916 ln conftest.a conftest.b 2>&5 || hard_links=no
8917 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8919 $as_echo "$hard_links" >&6; }
8920 if test "$hard_links" = no; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8922 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8938 allow_undefined_flag=
8939 always_export_symbols=no
8941 archive_expsym_cmds=
8942 compiler_needs_object=no
8943 enable_shared_with_static_runtimes=no
8944 export_dynamic_flag_spec=
8945 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8946 hardcode_automatic=no
8948 hardcode_direct_absolute=no
8949 hardcode_libdir_flag_spec=
8950 hardcode_libdir_separator=
8952 hardcode_shlibpath_var=unsupported
8954 link_all_deplibs=unknown
8957 old_archive_from_new_cmds=
8958 old_archive_from_expsyms_cmds=
8959 thread_safe_flag_spec=
8960 whole_archive_flag_spec=
8961 # include_expsyms should be a list of space-separated symbols to be *always*
8962 # included in the symbol list
8964 # exclude_expsyms can be an extended regexp of symbols to exclude
8965 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8966 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8967 # as well as any symbol that contains `d'.
8968 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8969 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8970 # platforms (ab)use it in PIC code, but their linkers get confused if
8971 # the symbol is explicitly referenced. Since portable code cannot
8972 # rely on this symbol name, it's probably fine to never include it in
8973 # preloaded symbol tables.
8974 # Exclude shared library initialization/finalization symbols.
8975 extract_expsyms_cmds=
8978 cygwin* | mingw* | pw32* | cegcc*)
8979 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8980 # When not using gcc, we currently assume that we are using
8981 # Microsoft Visual C++.
8982 if test "$GCC" != yes; then
8987 # we just hope/assume this is gcc and not c89 (= MSVC++)
8997 # On some targets, GNU ld is compatible enough with the native linker
8998 # that we're better off using the native interface for both.
8999 lt_use_gnu_ld_interface=no
9000 if test "$with_gnu_ld" = yes; then
9003 # The AIX port of GNU ld has always aspired to compatibility
9004 # with the native linker. However, as the warning in the GNU ld
9005 # block says, versions before 2.19.5* couldn't really create working
9006 # shared libraries, regardless of the interface used.
9007 case `$LD -v 2>&1` in
9008 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9009 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9010 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9012 lt_use_gnu_ld_interface=yes
9017 lt_use_gnu_ld_interface=yes
9022 if test "$lt_use_gnu_ld_interface" = yes; then
9023 # If archive_cmds runs LD, not CC, wlarc should be empty
9026 # Set some defaults for GNU ld with shared library support. These
9027 # are reset later if shared libraries are not supported. Putting them
9028 # here allows them to be overridden if necessary.
9029 runpath_var=LD_RUN_PATH
9030 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9031 export_dynamic_flag_spec='${wl}--export-dynamic'
9032 # ancient GNU ld didn't support --whole-archive et. al.
9033 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9034 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9036 whole_archive_flag_spec=
9038 supports_anon_versioning=no
9039 case `$LD -v 2>&1` in
9040 *GNU\ gold*) supports_anon_versioning=yes ;;
9041 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9042 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9043 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9044 *\ 2.11.*) ;; # other 2.11 versions
9045 *) supports_anon_versioning=yes ;;
9048 # See if GNU ld supports shared libraries.
9051 # On AIX/PPC, the GNU linker is very broken
9052 if test "$host_cpu" != ia64; then
9056 *** Warning: the GNU linker, at least up to release 2.19, is reported
9057 *** to be unable to reliably create shared libraries on AIX.
9058 *** Therefore, libtool is disabling shared libraries support. If you
9059 *** really care for shared libraries, you may want to install binutils
9060 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9061 *** You will then need to restart the configuration process.
9070 # see comment about AmigaOS4 .so support
9071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9072 archive_expsym_cmds=''
9075 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)'
9076 hardcode_libdir_flag_spec='-L$libdir'
9077 hardcode_minus_L=yes
9083 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9084 allow_undefined_flag=unsupported
9085 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9086 # support --undefined. This deserves some investigation. FIXME
9087 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 cygwin* | mingw* | pw32* | cegcc*)
9094 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9095 # as there is no search path for DLLs.
9096 hardcode_libdir_flag_spec='-L$libdir'
9097 export_dynamic_flag_spec='${wl}--export-all-symbols'
9098 allow_undefined_flag=unsupported
9099 always_export_symbols=no
9100 enable_shared_with_static_runtimes=yes
9101 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'
9102 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9104 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9105 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9106 # If the export-symbols file already is a .def file (1st line
9107 # is EXPORTS), use it as is; otherwise, prepend...
9108 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9109 cp $export_symbols $output_objdir/$soname.def;
9111 echo EXPORTS > $output_objdir/$soname.def;
9112 cat $export_symbols >> $output_objdir/$soname.def;
9114 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 link_all_deplibs=yes
9127 hardcode_shlibpath_var=no
9128 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9129 export_dynamic_flag_spec='${wl}-E'
9130 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9131 # Instead, shared libraries are loaded at an image base (0x10000000 by
9132 # default) and relocated if they conflict, which is a slow very memory
9133 # consuming and fragmenting process. To avoid this, we pick a random,
9134 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9135 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9136 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9137 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'
9140 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9142 if test "$host_os" = linux-dietlibc; then
9143 case $cc_basename in
9144 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9147 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9148 && test "$tmp_diet" = no
9150 tmp_addflag=' $pic_flag'
9151 tmp_sharedflag='-shared'
9152 case $cc_basename,$host_cpu in
9153 pgcc*) # Portland Group C compiler
9154 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'
9155 tmp_addflag=' $pic_flag'
9157 pgf77* | pgf90* | pgf95* | pgfortran*)
9158 # Portland Group f77 and f90 compilers
9159 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'
9160 tmp_addflag=' $pic_flag -Mnomain' ;;
9161 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9162 tmp_addflag=' -i_dynamic' ;;
9163 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9164 tmp_addflag=' -i_dynamic -nofor_main' ;;
9165 ifc* | ifort*) # Intel Fortran compiler
9166 tmp_addflag=' -nofor_main' ;;
9167 lf95*) # Lahey Fortran 8.1
9168 whole_archive_flag_spec=
9169 tmp_sharedflag='--shared' ;;
9170 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9171 tmp_sharedflag='-qmkshrobj'
9173 nvcc*) # Cuda Compiler Driver 2.2
9174 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'
9175 compiler_needs_object=yes
9178 case `$CC -V 2>&1 | sed 5q` in
9179 *Sun\ C*) # Sun C 5.9
9180 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'
9181 compiler_needs_object=yes
9182 tmp_sharedflag='-G' ;;
9183 *Sun\ F*) # Sun Fortran 8.3
9184 tmp_sharedflag='-G' ;;
9186 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188 if test "x$supports_anon_versioning" = xyes; then
9189 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9190 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191 echo "local: *; };" >> $output_objdir/$libname.ver~
9192 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9195 case $cc_basename in
9196 xlf* | bgf* | bgxlf* | mpixlf*)
9197 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9198 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9199 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9200 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9201 if test "x$supports_anon_versioning" = xyes; then
9202 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9204 echo "local: *; };" >> $output_objdir/$libname.ver~
9205 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9215 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9216 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9219 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9225 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9229 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9230 *** create shared libraries on Solaris systems. Therefore, libtool
9231 *** is disabling shared libraries support. We urge you to upgrade GNU
9232 *** binutils to release 2.9.1 or newer. Another option is to modify
9233 *** your PATH or compiler configuration so that the native linker is
9234 *** used, and then restart.
9237 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9238 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9239 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9246 case `$LD -v 2>&1` in
9247 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9251 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9252 *** reliably create shared libraries on SCO systems. Therefore, libtool
9253 *** is disabling shared libraries support. We urge you to upgrade GNU
9254 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9255 *** your PATH or compiler configuration so that the native linker is
9256 *** used, and then restart.
9261 # For security reasons, it is highly recommended that you always
9262 # use absolute paths for naming shared libraries, and exclude the
9263 # DT_RUNPATH tag from executables and libraries. But doing so
9264 # requires that you compile everything twice, which is a pain.
9265 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9266 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9280 hardcode_shlibpath_var=no
9284 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9293 if test "$ld_shlibs" = no; then
9295 hardcode_libdir_flag_spec=
9296 export_dynamic_flag_spec=
9297 whole_archive_flag_spec=
9300 # PORTME fill in a description of your system's linker (not GNU ld)
9303 allow_undefined_flag=unsupported
9304 always_export_symbols=yes
9305 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'
9306 # Note: this linker hardcodes the directories in LIBPATH if there
9307 # are no directories specified by -L.
9308 hardcode_minus_L=yes
9309 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9310 # Neither direct hardcoding nor static linking is supported with a
9312 hardcode_direct=unsupported
9317 if test "$host_cpu" = ia64; then
9318 # On IA64, the linker does run time linking by default, so we don't
9319 # have to do anything special.
9320 aix_use_runtimelinking=no
9321 exp_sym_flag='-Bexport'
9324 # If we're using GNU nm, then we don't want the "-C" option.
9325 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9326 # Also, AIX nm treats weak defined symbols like other global
9327 # defined symbols, whereas GNU nm marks them as "W".
9328 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9329 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9331 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9333 aix_use_runtimelinking=no
9335 # Test if we are trying to use run time linking or normal
9336 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9337 # need to do runtime linking.
9338 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9339 for ld_flag in $LDFLAGS; do
9340 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9341 aix_use_runtimelinking=yes
9348 exp_sym_flag='-bexport'
9349 no_entry_flag='-bnoentry'
9352 # When large executables or shared objects are built, AIX ld can
9353 # have problems creating the table of contents. If linking a library
9354 # or program results in "error TOC overflow" add -mminimal-toc to
9355 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9356 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9360 hardcode_direct_absolute=yes
9361 hardcode_libdir_separator=':'
9362 link_all_deplibs=yes
9363 file_list_spec='${wl}-f,'
9365 if test "$GCC" = yes; then
9366 case $host_os in aix4.[012]|aix4.[012].*)
9367 # We only want to do this on AIX 4.2 and lower, the check
9368 # below for broken collect2 doesn't work under 4.3+
9369 collect2name=`${CC} -print-prog-name=collect2`
9370 if test -f "$collect2name" &&
9371 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9373 # We have reworked collect2
9376 # We have old collect2
9377 hardcode_direct=unsupported
9378 # It fails to find uninstalled libraries when the uninstalled
9379 # path is not listed in the libpath. Setting hardcode_minus_L
9380 # to unsupported forces relinking
9381 hardcode_minus_L=yes
9382 hardcode_libdir_flag_spec='-L$libdir'
9383 hardcode_libdir_separator=
9387 shared_flag='-shared'
9388 if test "$aix_use_runtimelinking" = yes; then
9389 shared_flag="$shared_flag "'${wl}-G'
9393 if test "$host_cpu" = ia64; then
9394 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9395 # chokes on -Wl,-G. The following line is correct:
9398 if test "$aix_use_runtimelinking" = yes; then
9399 shared_flag='${wl}-G'
9401 shared_flag='${wl}-bM:SRE'
9406 export_dynamic_flag_spec='${wl}-bexpall'
9407 # It seems that -bexpall does not export symbols beginning with
9408 # underscore (_), so it is better to generate a list of symbols to export.
9409 always_export_symbols=yes
9410 if test "$aix_use_runtimelinking" = yes; then
9411 # Warning - without using the other runtime loading flags (-brtl),
9412 # -berok will link without error, but may produce a broken library.
9413 allow_undefined_flag='-berok'
9414 # Determine the default libpath from the value encoded in an
9416 if test "${lt_cv_aix_libpath+set}" = set; then
9417 aix_libpath=$lt_cv_aix_libpath
9419 if ${lt_cv_aix_libpath_+:} false; then :
9420 $as_echo_n "(cached) " >&6
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9433 if ac_fn_c_try_link "$LINENO"; then :
9435 lt_aix_libpath_sed='
9436 /Import File Strings/,/^$/ {
9438 s/^0 *\([^ ]*\) *$/\1/
9442 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9443 # Check for a 64-bit object if we didn't find anything.
9444 if test -z "$lt_cv_aix_libpath_"; then
9445 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 if test -z "$lt_cv_aix_libpath_"; then
9451 lt_cv_aix_libpath_="/usr/lib:/lib"
9456 aix_libpath=$lt_cv_aix_libpath_
9459 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9460 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9462 if test "$host_cpu" = ia64; then
9463 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9464 allow_undefined_flag="-z nodefs"
9465 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"
9467 # Determine the default libpath from the value encoded in an
9469 if test "${lt_cv_aix_libpath+set}" = set; then
9470 aix_libpath=$lt_cv_aix_libpath
9472 if ${lt_cv_aix_libpath_+:} false; then :
9473 $as_echo_n "(cached) " >&6
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9486 if ac_fn_c_try_link "$LINENO"; then :
9488 lt_aix_libpath_sed='
9489 /Import File Strings/,/^$/ {
9491 s/^0 *\([^ ]*\) *$/\1/
9495 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9496 # Check for a 64-bit object if we didn't find anything.
9497 if test -z "$lt_cv_aix_libpath_"; then
9498 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 if test -z "$lt_cv_aix_libpath_"; then
9504 lt_cv_aix_libpath_="/usr/lib:/lib"
9509 aix_libpath=$lt_cv_aix_libpath_
9512 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9513 # Warning - without using the other run time loading flags,
9514 # -berok will link without error, but may produce a broken library.
9515 no_undefined_flag=' ${wl}-bernotok'
9516 allow_undefined_flag=' ${wl}-berok'
9517 if test "$with_gnu_ld" = yes; then
9518 # We only use this code for GNU lds that support --whole-archive.
9519 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9521 # Exported symbols can be pulled into shared objects from archives
9522 whole_archive_flag_spec='$convenience'
9524 archive_cmds_need_lc=yes
9525 # This is similar to how AIX traditionally builds its shared libraries.
9526 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9534 # see comment about AmigaOS4 .so support
9535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536 archive_expsym_cmds=''
9539 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)'
9540 hardcode_libdir_flag_spec='-L$libdir'
9541 hardcode_minus_L=yes
9547 export_dynamic_flag_spec=-rdynamic
9550 cygwin* | mingw* | pw32* | cegcc*)
9551 # When not using gcc, we currently assume that we are using
9552 # Microsoft Visual C++.
9553 # hardcode_libdir_flag_spec is actually meaningless, as there is
9554 # no search path for DLLs.
9555 case $cc_basename in
9558 hardcode_libdir_flag_spec=' '
9559 allow_undefined_flag=unsupported
9560 always_export_symbols=yes
9562 # Tell ltmain to make .lib files, not .a files.
9564 # Tell ltmain to make .dll files, not .so files.
9566 # FIXME: Setting linknames here is a bad hack.
9567 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9568 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9569 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9571 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9573 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9575 # The linker will not automatically build a static lib if we build a DLL.
9576 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9577 enable_shared_with_static_runtimes=yes
9578 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9579 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9581 old_postinstall_cmds='chmod 644 $oldlib'
9582 postlink_cmds='lt_outputfile="@OUTPUT@"~
9583 lt_tool_outputfile="@TOOL_OUTPUT@"~
9584 case $lt_outputfile in
9587 lt_outputfile="$lt_outputfile.exe"
9588 lt_tool_outputfile="$lt_tool_outputfile.exe"
9591 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9592 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9593 $RM "$lt_outputfile.manifest";
9597 # Assume MSVC wrapper
9598 hardcode_libdir_flag_spec=' '
9599 allow_undefined_flag=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9602 # Tell ltmain to make .dll files, not .so files.
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 enable_shared_with_static_runtimes=yes
9615 darwin* | rhapsody*)
9618 archive_cmds_need_lc=no
9620 hardcode_automatic=yes
9621 hardcode_shlibpath_var=unsupported
9622 if test "$lt_cv_ld_force_load" = "yes"; then
9623 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\"`'
9626 whole_archive_flag_spec=''
9628 link_all_deplibs=yes
9629 allow_undefined_flag="$_lt_dar_allow_undefined"
9630 case $cc_basename in
9631 ifort*) _lt_dar_can_shared=yes ;;
9632 *) _lt_dar_can_shared=$GCC ;;
9634 if test "$_lt_dar_can_shared" = "yes"; then
9635 output_verbose_link_cmd=func_echo_all
9636 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9637 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9638 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}"
9639 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}"
9648 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9649 hardcode_libdir_flag_spec='-L$libdir'
9650 hardcode_shlibpath_var=no
9653 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9654 # support. Future versions do this automatically, but an explicit c++rt0.o
9655 # does not break anything, and helps significantly (at the cost of a little
9658 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9659 hardcode_libdir_flag_spec='-R$libdir'
9661 hardcode_shlibpath_var=no
9664 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9668 hardcode_minus_L=yes
9669 hardcode_shlibpath_var=no
9672 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9673 freebsd* | dragonfly*)
9674 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9675 hardcode_libdir_flag_spec='-R$libdir'
9677 hardcode_shlibpath_var=no
9681 if test "$GCC" = yes; then
9682 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9684 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9686 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9687 hardcode_libdir_separator=:
9690 # hardcode_minus_L: Not really in the search PATH,
9691 # but as the default location of the library.
9692 hardcode_minus_L=yes
9693 export_dynamic_flag_spec='${wl}-E'
9697 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9698 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9702 if test "$with_gnu_ld" = no; then
9703 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704 hardcode_libdir_separator=:
9706 hardcode_direct_absolute=yes
9707 export_dynamic_flag_spec='${wl}-E'
9708 # hardcode_minus_L: Not really in the search PATH,
9709 # but as the default location of the library.
9710 hardcode_minus_L=yes
9715 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9718 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9737 # Older versions of the 11.00 compiler do not understand -b yet
9738 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9740 $as_echo_n "checking if $CC understands -b... " >&6; }
9741 if ${lt_cv_prog_compiler__b+:} false; then :
9742 $as_echo_n "(cached) " >&6
9744 lt_cv_prog_compiler__b=no
9745 save_LDFLAGS="$LDFLAGS"
9746 LDFLAGS="$LDFLAGS -b"
9747 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9748 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9749 # The linker can only warn and ignore the option if not recognized
9750 # So say no if there are warnings
9751 if test -s conftest.err; then
9752 # Append any errors to the config.log.
9753 cat conftest.err 1>&5
9754 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9755 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9756 if diff conftest.exp conftest.er2 >/dev/null; then
9757 lt_cv_prog_compiler__b=yes
9760 lt_cv_prog_compiler__b=yes
9764 LDFLAGS="$save_LDFLAGS"
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9768 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9770 if test x"$lt_cv_prog_compiler__b" = xyes; then
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9773 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9779 if test "$with_gnu_ld" = no; then
9780 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9781 hardcode_libdir_separator=:
9786 hardcode_shlibpath_var=no
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9793 # hardcode_minus_L: Not really in the search PATH,
9794 # but as the default location of the library.
9795 hardcode_minus_L=yes
9801 irix5* | irix6* | nonstopux*)
9802 if test "$GCC" = yes; then
9803 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'
9804 # Try to use the -exported_symbol ld option, if it does not
9805 # work, assume that -exports_file does not work either and
9806 # implicitly export all symbols.
9807 # This should be the same for all languages, so no per-tag cache variable.
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9809 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9810 if ${lt_cv_irix_exported_symbol+:} false; then :
9811 $as_echo_n "(cached) " >&6
9813 save_LDFLAGS="$LDFLAGS"
9814 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int foo (void) { return 0; }
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 lt_cv_irix_exported_symbol=yes
9822 lt_cv_irix_exported_symbol=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LDFLAGS="$save_LDFLAGS"
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9829 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9830 if test "$lt_cv_irix_exported_symbol" = yes; then
9831 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'
9834 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'
9835 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'
9837 archive_cmds_need_lc='no'
9838 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9839 hardcode_libdir_separator=:
9841 link_all_deplibs=yes
9845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9846 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9848 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9850 hardcode_libdir_flag_spec='-R$libdir'
9852 hardcode_shlibpath_var=no
9856 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859 hardcode_libdir_separator=:
9860 hardcode_shlibpath_var=no
9867 if test -f /usr/libexec/ld.so; then
9869 hardcode_shlibpath_var=no
9870 hardcode_direct_absolute=yes
9871 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9872 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9874 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9875 export_dynamic_flag_spec='${wl}-E'
9878 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9879 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec='-R$libdir'
9883 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9884 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894 hardcode_libdir_flag_spec='-L$libdir'
9895 hardcode_minus_L=yes
9896 allow_undefined_flag=unsupported
9897 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9898 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9902 if test "$GCC" = yes; then
9903 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9904 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'
9906 allow_undefined_flag=' -expect_unresolved \*'
9907 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'
9909 archive_cmds_need_lc='no'
9910 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9911 hardcode_libdir_separator=:
9914 osf4* | osf5*) # as osf3* with the addition of -msym flag
9915 if test "$GCC" = yes; then
9916 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9917 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'
9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 allow_undefined_flag=' -expect_unresolved \*'
9921 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'
9922 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~
9923 $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'
9925 # Both c and cxx compiler support -rpath directly
9926 hardcode_libdir_flag_spec='-rpath $libdir'
9928 archive_cmds_need_lc='no'
9929 hardcode_libdir_separator=:
9933 no_undefined_flag=' -z defs'
9934 if test "$GCC" = yes; then
9936 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $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'
9940 case `$CC -V 2>&1` in
9943 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9944 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9945 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9949 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9951 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9955 hardcode_libdir_flag_spec='-R$libdir'
9956 hardcode_shlibpath_var=no
9958 solaris2.[0-5] | solaris2.[0-5].*) ;;
9960 # The compiler driver will combine and reorder linker options,
9961 # but understands `-z linker_flag'. GCC discards it without `$wl',
9962 # but is careful enough not to reorder.
9963 # Supported since Solaris 2.6 (maybe 2.5.1?)
9964 if test "$GCC" = yes; then
9965 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9967 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9971 link_all_deplibs=yes
9975 if test "x$host_vendor" = xsequent; then
9976 # Use $CC to link under sequent, because it throws in some extra .o
9977 # files that make .init and .fini sections work.
9978 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9980 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_libdir_flag_spec='-L$libdir'
9984 hardcode_minus_L=yes
9985 hardcode_shlibpath_var=no
9989 case $host_vendor in
9991 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992 hardcode_direct=yes # is this really true???
9995 ## LD is ld it makes a PLAMLIB
9996 ## CC just makes a GrossModule.
9997 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9998 reload_cmds='$CC -r -o $output$reload_objs'
10002 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10006 runpath_var='LD_RUN_PATH'
10007 hardcode_shlibpath_var=no
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 export_dynamic_flag_spec='-Bexport'
10017 if test -d /usr/nec; then
10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_shlibpath_var=no
10020 runpath_var=LD_RUN_PATH
10021 hardcode_runpath_var=yes
10026 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10027 no_undefined_flag='${wl}-z,text'
10028 archive_cmds_need_lc=no
10029 hardcode_shlibpath_var=no
10030 runpath_var='LD_RUN_PATH'
10032 if test "$GCC" = yes; then
10033 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 sysv5* | sco3.2v5* | sco5v6*)
10042 # Note: We can NOT use -z defs as we might desire, because we do not
10043 # link with -lc, and that would cause any symbols used from libc to
10044 # always be unresolved, which means just about no library would
10045 # ever link correctly. If we're not using GNU ld we use -z text
10046 # though, which does catch some bad symbols but isn't as heavy-handed
10048 no_undefined_flag='${wl}-z,text'
10049 allow_undefined_flag='${wl}-z,nodefs'
10050 archive_cmds_need_lc=no
10051 hardcode_shlibpath_var=no
10052 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10053 hardcode_libdir_separator=':'
10054 link_all_deplibs=yes
10055 export_dynamic_flag_spec='${wl}-Bexport'
10056 runpath_var='LD_RUN_PATH'
10058 if test "$GCC" = yes; then
10059 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_libdir_flag_spec='-L$libdir'
10070 hardcode_shlibpath_var=no
10078 if test x$host_vendor = xsni; then
10080 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10081 export_dynamic_flag_spec='${wl}-Blargedynsym'
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10088 $as_echo "$ld_shlibs" >&6; }
10089 test "$ld_shlibs" = no && can_build_shared=no
10091 with_gnu_ld=$with_gnu_ld
10108 # Do we need to explicitly link libc?
10110 case "x$archive_cmds_need_lc" in
10112 # Assume -lc should be added
10113 archive_cmds_need_lc=yes
10115 if test "$enable_shared" = yes && test "$GCC" = yes; then
10116 case $archive_cmds in
10118 # FIXME: we may have to deal with multi-command sequences.
10121 # Test whether the compiler implicitly links with -lc since on some
10122 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10123 # to ld, don't add -lc before -lgcc.
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10126 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10127 $as_echo_n "(cached) " >&6
10130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10133 (eval $ac_compile) 2>&5
10135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10136 test $ac_status = 0; } 2>conftest.err; then
10139 libobjs=conftest.$ac_objext
10141 wl=$lt_prog_compiler_wl
10142 pic_flag=$lt_prog_compiler_pic
10148 lt_save_allow_undefined_flag=$allow_undefined_flag
10149 allow_undefined_flag=
10150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10151 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10154 test $ac_status = 0; }
10156 lt_cv_archive_cmds_need_lc=no
10158 lt_cv_archive_cmds_need_lc=yes
10160 allow_undefined_flag=$lt_save_allow_undefined_flag
10162 cat conftest.err 1>&5
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10168 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10169 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10328 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10330 if test "$GCC" = yes; then
10332 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10333 *) lt_awk_arg="/^libraries:/" ;;
10336 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10337 *) lt_sed_strip_eq="s,=/,/,g" ;;
10339 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10340 case $lt_search_path_spec in
10342 # if the path contains ";" then we assume it to be the separator
10343 # otherwise default to the standard path separator (i.e. ":") - it is
10344 # assumed that no part of a normal pathname contains ";" but that should
10345 # okay in the real world where ";" in dirpaths is itself problematic.
10346 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10349 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10352 # Ok, now we have the path, separated by spaces, we can step through it
10353 # and add multilib dir if necessary.
10354 lt_tmp_lt_search_path_spec=
10355 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10356 for lt_sys_path in $lt_search_path_spec; do
10357 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10358 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10360 test -d "$lt_sys_path" && \
10361 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10364 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10365 BEGIN {RS=" "; FS="/|\n";} {
10368 for (lt_i = NF; lt_i > 0; lt_i--) {
10369 if ($lt_i != "" && $lt_i != ".") {
10370 if ($lt_i == "..") {
10373 if (lt_count == 0) {
10374 lt_foo="/" $lt_i lt_foo;
10381 if (lt_foo != "") { lt_freq[lt_foo]++; }
10382 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10384 # AWK program above erroneously prepends '/' to C:/dos/paths
10387 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10388 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10390 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10392 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10394 library_names_spec=
10395 libname_spec='lib$name'
10399 postuninstall_cmds=
10403 shlibpath_overrides_runpath=unknown
10405 dynamic_linker="$host_os ld.so"
10406 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10407 need_lib_prefix=unknown
10408 hardcode_into_libs=no
10410 # when you set need_version to no, make sure it does not cause -set_version
10411 # flags to be left without arguments
10412 need_version=unknown
10416 version_type=linux # correct to gnu/linux during the next big refactor
10417 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10418 shlibpath_var=LIBPATH
10420 # AIX 3 has no versioning support, so we append a major version to the name.
10421 soname_spec='${libname}${release}${shared_ext}$major'
10425 version_type=linux # correct to gnu/linux during the next big refactor
10428 hardcode_into_libs=yes
10429 if test "$host_cpu" = ia64; then
10430 # AIX 5 supports IA64
10431 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10432 shlibpath_var=LD_LIBRARY_PATH
10434 # With GCC up to 2.95.x, collect2 would create an import file
10435 # for dependence libraries. The import file would start with
10436 # the line `#! .'. This would cause the generated library to
10437 # depend on `.', always an invalid library. This was fixed in
10438 # development snapshots of GCC prior to 3.0.
10440 aix4 | aix4.[01] | aix4.[01].*)
10441 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10443 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10446 can_build_shared=no
10450 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10451 # soname into executable. Probably we can add versioning support to
10452 # collect2, so additional links can be useful in future.
10453 if test "$aix_use_runtimelinking" = yes; then
10454 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10455 # instead of lib<name>.a to let people know that these are not
10456 # typical AIX shared libraries.
10457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10459 # We preserve .a as extension for shared libraries through AIX4.2
10460 # and later when we are not doing run time linking.
10461 library_names_spec='${libname}${release}.a $libname.a'
10462 soname_spec='${libname}${release}${shared_ext}$major'
10464 shlibpath_var=LIBPATH
10471 # Since July 2007 AmigaOS4 officially supports .so libraries.
10472 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 library_names_spec='$libname.ixlibrary $libname.a'
10477 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10478 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10484 library_names_spec='${libname}${shared_ext}'
10485 dynamic_linker="$host_os ld.so"
10486 shlibpath_var=LIBRARY_PATH
10490 version_type=linux # correct to gnu/linux during the next big refactor
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 soname_spec='${libname}${release}${shared_ext}$major'
10494 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10495 shlibpath_var=LD_LIBRARY_PATH
10496 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10497 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10498 # the default ld.so.conf also contains /usr/contrib/lib and
10499 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10500 # libtool to hard-code these into programs
10503 cygwin* | mingw* | pw32* | cegcc*)
10504 version_type=windows
10509 case $GCC,$cc_basename in
10512 library_names_spec='$libname.dll.a'
10513 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10514 postinstall_cmds='base_file=`basename \${file}`~
10515 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10516 dldir=$destdir/`dirname \$dlpath`~
10517 test -d \$dldir || mkdir -p \$dldir~
10518 $install_prog $dir/$dlname \$dldir/$dlname~
10519 chmod a+x \$dldir/$dlname~
10520 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10521 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10523 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10524 dlpath=$dir/\$dldll~
10526 shlibpath_overrides_runpath=yes
10530 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10531 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10533 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10536 # MinGW DLLs use traditional 'lib' prefix
10537 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10540 # pw32 DLLs use 'pw' prefix rather than 'lib'
10541 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10544 dynamic_linker='Win32 ld.exe'
10549 libname_spec='$name'
10550 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551 library_names_spec='${libname}.dll.lib'
10555 sys_lib_search_path_spec=
10558 for lt_path in $LIB
10561 # Let DOS variable expansion print the short 8.3 style file name.
10562 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10563 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10566 # Convert to MSYS style.
10567 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10570 # Convert to unix form, then to dos form, then back to unix form
10571 # but this time dos style (no spaces!) so that the unix form looks
10572 # like /cygdrive/c/PROGRA~1:/cygdr...
10573 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10574 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10575 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10578 sys_lib_search_path_spec="$LIB"
10579 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10580 # It is most probably a Windows format PATH.
10581 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10583 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10585 # FIXME: find the short name or the path components, as spaces are
10586 # common. (e.g. "Program Files" -> "PROGRA~1")
10590 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10591 postinstall_cmds='base_file=`basename \${file}`~
10592 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10593 dldir=$destdir/`dirname \$dlpath`~
10594 test -d \$dldir || mkdir -p \$dldir~
10595 $install_prog $dir/$dlname \$dldir/$dlname'
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10599 shlibpath_overrides_runpath=yes
10600 dynamic_linker='Win32 link.exe'
10604 # Assume MSVC wrapper
10605 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10606 dynamic_linker='Win32 ld.exe'
10609 # FIXME: first we should search . and the directory the executable is in
10613 darwin* | rhapsody*)
10614 dynamic_linker="$host_os dyld"
10615 version_type=darwin
10618 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10619 soname_spec='${libname}${release}${major}$shared_ext'
10620 shlibpath_overrides_runpath=yes
10621 shlibpath_var=DYLD_LIBRARY_PATH
10622 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10624 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10625 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10629 version_type=linux # correct to gnu/linux during the next big refactor
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10634 shlibpath_var=LD_LIBRARY_PATH
10637 freebsd* | dragonfly*)
10638 # DragonFly does not have aout. When/if they implement a new
10639 # versioning mechanism, adjust this.
10640 if test -x /usr/bin/objformat; then
10641 objformat=`/usr/bin/objformat`
10644 freebsd[23].*) objformat=aout ;;
10645 *) objformat=elf ;;
10648 version_type=freebsd-$objformat
10649 case $version_type in
10651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10660 shlibpath_var=LD_LIBRARY_PATH
10663 shlibpath_overrides_runpath=yes
10665 freebsd3.[01]* | freebsdelf3.[01]*)
10666 shlibpath_overrides_runpath=yes
10667 hardcode_into_libs=yes
10669 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10670 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10671 shlibpath_overrides_runpath=no
10672 hardcode_into_libs=yes
10674 *) # from 4.6 on, and DragonFly
10675 shlibpath_overrides_runpath=yes
10676 hardcode_into_libs=yes
10682 version_type=linux # correct to gnu/linux during the next big refactor
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10687 shlibpath_var=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath=no
10689 hardcode_into_libs=yes
10693 version_type=linux # correct to gnu/linux during the next big refactor
10696 dynamic_linker="$host_os runtime_loader"
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 shlibpath_var=LIBRARY_PATH
10700 shlibpath_overrides_runpath=yes
10701 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10702 hardcode_into_libs=yes
10705 hpux9* | hpux10* | hpux11*)
10706 # Give a soname corresponding to the major version so that dld.sl refuses to
10707 # link against other versions.
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.so"
10716 shlibpath_var=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 if test "X$HPUX_IA64_MODE" = X32; then
10721 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10729 hardcode_into_libs=yes
10730 dynamic_linker="$host_os dld.sl"
10731 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10732 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10736 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 dynamic_linker="$host_os dld.sl"
10741 shlibpath_var=SHLIB_PATH
10742 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10747 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10748 postinstall_cmds='chmod 555 $lib'
10749 # or fails outright, so override atomically:
10750 install_override_mode=555
10754 version_type=linux # correct to gnu/linux during the next big refactor
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10760 shlibpath_var=LD_LIBRARY_PATH
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10765 irix5* | irix6* | nonstopux*)
10767 nonstopux*) version_type=nonstopux ;;
10769 if test "$lt_cv_prog_gnu_ld" = yes; then
10770 version_type=linux # correct to gnu/linux during the next big refactor
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 irix5* | nonstopux*)
10781 libsuff= shlibsuff=
10784 case $LD in # libtool.m4 will add one of these switches to LD
10785 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10786 libsuff= shlibsuff= libmagic=32-bit;;
10787 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10788 libsuff=32 shlibsuff=N32 libmagic=N32;;
10789 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10790 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10791 *) libsuff= shlibsuff= libmagic=never-match;;
10795 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10796 shlibpath_overrides_runpath=no
10797 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10798 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10799 hardcode_into_libs=yes
10802 # No shared lib support for Linux oldld, aout, or coff.
10803 linux*oldld* | linux*aout* | linux*coff*)
10807 # This must be glibc/ELF.
10808 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10809 version_type=linux # correct to gnu/linux during the next big refactor
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10815 shlibpath_var=LD_LIBRARY_PATH
10816 shlibpath_overrides_runpath=no
10818 # Some binutils ld are patched to set DT_RUNPATH
10819 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10820 $as_echo_n "(cached) " >&6
10822 lt_cv_shlibpath_overrides_runpath=no
10823 save_LDFLAGS=$LDFLAGS
10824 save_libdir=$libdir
10825 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10826 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10840 lt_cv_shlibpath_overrides_runpath=yes
10843 rm -f core conftest.err conftest.$ac_objext \
10844 conftest$ac_exeext conftest.$ac_ext
10845 LDFLAGS=$save_LDFLAGS
10846 libdir=$save_libdir
10850 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10852 # This implies no fast_install, which is unacceptable.
10853 # Some rework will be needed to allow for fast_install
10854 # before this can be enabled.
10855 hardcode_into_libs=yes
10857 # Add ABI-specific directories to the system library path.
10858 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10860 # Append ld.so.conf contents to the search path
10861 if test -f /etc/ld.so.conf; then
10862 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' ' '`
10863 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10895 version_type=linux # correct to gnu/linux during the next big refactor
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10935 shlibpath_overrides_runpath=yes
10940 libname_spec='$name'
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10964 version_type=linux # correct to gnu/linux during the next big refactor
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10989 version_type=linux # correct to gnu/linux during the next big refactor
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10995 shlibpath_overrides_runpath=no
10997 runpath_var=LD_RUN_PATH
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11012 if test -d /usr/nec ;then
11013 version_type=linux # correct to gnu/linux during the next big refactor
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux # correct to gnu/linux during the next big refactor
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11054 version_type=linux # correct to gnu/linux during the next big refactor
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11192 # We cannot hardcode anything, or else we can only hardcode existing
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11224 lt_cv_dlopen="load_add_on"
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11235 lt_cv_dlopen="dlopen"
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if ${ac_cv_lib_dl_dlopen+:} false; then :
11244 $as_echo_n "(cached) " >&6
11246 ac_check_lib_save_LIBS=$LIBS
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_dl_dlopen=yes
11269 ac_cv_lib_dl_dlopen=no
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11276 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11277 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11278 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11281 lt_cv_dlopen="dyld"
11283 lt_cv_dlopen_self=yes
11290 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11291 if test "x$ac_cv_func_shl_load" = xyes; then :
11292 lt_cv_dlopen="shl_load"
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11295 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11296 if ${ac_cv_lib_dld_shl_load+:} false; then :
11297 $as_echo_n "(cached) " >&6
11299 ac_check_lib_save_LIBS=$LIBS
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11314 return shl_load ();
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_dld_shl_load=yes
11322 ac_cv_lib_dld_shl_load=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11329 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11330 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11331 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11333 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11334 if test "x$ac_cv_func_dlopen" = xyes; then :
11335 lt_cv_dlopen="dlopen"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11339 if ${ac_cv_lib_dl_dlopen+:} false; then :
11340 $as_echo_n "(cached) " >&6
11342 ac_check_lib_save_LIBS=$LIBS
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_dl_dlopen=yes
11365 ac_cv_lib_dl_dlopen=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11373 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11377 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11378 if ${ac_cv_lib_svld_dlopen+:} false; then :
11379 $as_echo_n "(cached) " >&6
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lsvld $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_svld_dlopen=yes
11404 ac_cv_lib_svld_dlopen=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11411 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11412 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11413 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11416 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11417 if ${ac_cv_lib_dld_dld_link+:} false; then :
11418 $as_echo_n "(cached) " >&6
11420 ac_check_lib_save_LIBS=$LIBS
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11435 return dld_link ();
11440 if ac_fn_c_try_link "$LINENO"; then :
11441 ac_cv_lib_dld_dld_link=yes
11443 ac_cv_lib_dld_dld_link=no
11445 rm -f core conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 LIBS=$ac_check_lib_save_LIBS
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11450 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11451 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11452 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11473 if test "x$lt_cv_dlopen" != xno; then
11479 case $lt_cv_dlopen in
11481 save_CPPFLAGS="$CPPFLAGS"
11482 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11484 save_LDFLAGS="$LDFLAGS"
11485 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11488 LIBS="$lt_cv_dlopen_libs $LIBS"
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11491 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11492 if ${lt_cv_dlopen_self+:} false; then :
11493 $as_echo_n "(cached) " >&6
11495 if test "$cross_compiling" = yes; then :
11496 lt_cv_dlopen_self=cross
11498 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11499 lt_status=$lt_dlunknown
11500 cat > conftest.$ac_ext <<_LT_EOF
11501 #line $LINENO "configure"
11502 #include "confdefs.h"
11511 # define LT_DLGLOBAL RTLD_GLOBAL
11514 # define LT_DLGLOBAL DL_GLOBAL
11516 # define LT_DLGLOBAL 0
11520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11521 find out it does not work in some platform. */
11522 #ifndef LT_DLLAZY_OR_NOW
11524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11527 # define LT_DLLAZY_OR_NOW DL_LAZY
11530 # define LT_DLLAZY_OR_NOW RTLD_NOW
11533 # define LT_DLLAZY_OR_NOW DL_NOW
11535 # define LT_DLLAZY_OR_NOW 0
11542 /* When -fvisbility=hidden is used, assume the code has been annotated
11543 correspondingly for the symbols needed. */
11544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11545 int fnord () __attribute__((visibility("default")));
11548 int fnord () { return 42; }
11551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11552 int status = $lt_dlunknown;
11556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11560 else puts (dlerror ());
11562 /* dlclose (self); */
11570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11571 (eval $ac_link) 2>&5
11573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11574 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11575 (./conftest; exit; ) >&5 2>/dev/null
11577 case x$lt_status in
11578 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11579 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11580 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11583 # compilation failed
11584 lt_cv_dlopen_self=no
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11592 $as_echo "$lt_cv_dlopen_self" >&6; }
11594 if test "x$lt_cv_dlopen_self" = xyes; then
11595 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11597 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11598 if ${lt_cv_dlopen_self_static+:} false; then :
11599 $as_echo_n "(cached) " >&6
11601 if test "$cross_compiling" = yes; then :
11602 lt_cv_dlopen_self_static=cross
11604 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11605 lt_status=$lt_dlunknown
11606 cat > conftest.$ac_ext <<_LT_EOF
11607 #line $LINENO "configure"
11608 #include "confdefs.h"
11617 # define LT_DLGLOBAL RTLD_GLOBAL
11620 # define LT_DLGLOBAL DL_GLOBAL
11622 # define LT_DLGLOBAL 0
11626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11627 find out it does not work in some platform. */
11628 #ifndef LT_DLLAZY_OR_NOW
11630 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW DL_LAZY
11636 # define LT_DLLAZY_OR_NOW RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW DL_NOW
11641 # define LT_DLLAZY_OR_NOW 0
11648 /* When -fvisbility=hidden is used, assume the code has been annotated
11649 correspondingly for the symbols needed. */
11650 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11651 int fnord () __attribute__((visibility("default")));
11654 int fnord () { return 42; }
11657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11658 int status = $lt_dlunknown;
11662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11665 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11666 else puts (dlerror ());
11668 /* dlclose (self); */
11676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11677 (eval $ac_link) 2>&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11680 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11681 (./conftest; exit; ) >&5 2>/dev/null
11683 case x$lt_status in
11684 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11685 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11686 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11689 # compilation failed
11690 lt_cv_dlopen_self_static=no
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11698 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11701 CPPFLAGS="$save_CPPFLAGS"
11702 LDFLAGS="$save_LDFLAGS"
11707 case $lt_cv_dlopen_self in
11708 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11709 *) enable_dlopen_self=unknown ;;
11712 case $lt_cv_dlopen_self_static in
11713 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11714 *) enable_dlopen_self_static=unknown ;;
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11737 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11738 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11739 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11740 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11742 $as_echo "yes" >&6; }
11744 # FIXME - insert some real tests, host_os isn't really good enough
11747 if test -n "$STRIP" ; then
11748 striplib="$STRIP -x"
11749 old_striplib="$STRIP -S"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11751 $as_echo "yes" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11775 # Report which library types will actually be built
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11777 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11779 $as_echo "$can_build_shared" >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11782 $as_echo_n "checking whether to build shared libraries... " >&6; }
11783 test "$can_build_shared" = "no" && enable_shared=no
11785 # On AIX, shared libraries and static libraries use the same namespace, and
11786 # are all built from PIC.
11789 test "$enable_shared" = yes && enable_static=no
11790 if test -n "$RANLIB"; then
11791 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11792 postinstall_cmds='$RANLIB $lib'
11797 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11798 test "$enable_shared" = yes && enable_static=no
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11803 $as_echo "$enable_shared" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11806 $as_echo_n "checking whether to build static libraries... " >&6; }
11807 # Make sure either enable_shared or enable_static is yes.
11808 test "$enable_shared" = yes || enable_static=yes
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11810 $as_echo "$enable_static" >&6; }
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11838 ac_config_commands="$ac_config_commands libtool"
11843 # Only expand once:
11848 GLIB_REQUIRED=2.38.0
11849 # Check whether --enable-glibtest was given.
11850 if test "${enable_glibtest+set}" = set; then :
11851 enableval=$enable_glibtest;
11853 enable_glibtest=yes
11857 pkg_config_args=glib-2.0
11858 for module in . gobject gio
11862 pkg_config_args="$pkg_config_args gmodule-2.0"
11865 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
11868 pkg_config_args="$pkg_config_args gobject-2.0"
11871 pkg_config_args="$pkg_config_args gthread-2.0"
11874 pkg_config_args="$pkg_config_args $module-2.0"
11886 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11887 if test -n "$ac_tool_prefix"; then
11888 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11889 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11891 $as_echo_n "checking for $ac_word... " >&6; }
11892 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11893 $as_echo_n "(cached) " >&6
11895 case $PKG_CONFIG in
11897 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11901 for as_dir in $PATH
11904 test -z "$as_dir" && as_dir=.
11905 for ac_exec_ext in '' $ac_executable_extensions; do
11906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11907 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11918 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11919 if test -n "$PKG_CONFIG"; then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11921 $as_echo "$PKG_CONFIG" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924 $as_echo "no" >&6; }
11929 if test -z "$ac_cv_path_PKG_CONFIG"; then
11930 ac_pt_PKG_CONFIG=$PKG_CONFIG
11931 # Extract the first word of "pkg-config", so it can be a program name with args.
11932 set dummy pkg-config; ac_word=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11934 $as_echo_n "checking for $ac_word... " >&6; }
11935 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11936 $as_echo_n "(cached) " >&6
11938 case $ac_pt_PKG_CONFIG in
11940 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11944 for as_dir in $PATH
11947 test -z "$as_dir" && as_dir=.
11948 for ac_exec_ext in '' $ac_executable_extensions; do
11949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11950 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11962 if test -n "$ac_pt_PKG_CONFIG"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11964 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11970 if test "x$ac_pt_PKG_CONFIG" = x; then
11973 case $cross_compiling:$ac_tool_warned in
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11977 ac_tool_warned=yes ;;
11979 PKG_CONFIG=$ac_pt_PKG_CONFIG
11982 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11986 if test -n "$PKG_CONFIG"; then
11987 _pkg_min_version=0.16
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11989 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11990 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11992 $as_echo "yes" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11995 $as_echo "no" >&6; }
12002 if test "x$PKG_CONFIG" = x ; then
12007 min_glib_version=$GLIB_REQUIRED
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12009 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12011 if test x$PKG_CONFIG != xno ; then
12012 ## don't try to run the test against uninstalled libtool libs
12013 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12014 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12018 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12025 if test x"$no_glib" = x ; then
12026 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12027 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12028 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12029 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12031 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12032 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12033 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12035 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12037 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12039 if test "x$enable_glibtest" = "xyes" ; then
12040 ac_save_CFLAGS="$CFLAGS"
12041 ac_save_LIBS="$LIBS"
12042 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12043 LIBS="$GLIB_LIBS $LIBS"
12044 rm -f conf.glibtest
12045 if test "$cross_compiling" = yes; then :
12046 echo $ac_n "cross compiling; assumed OK... $ac_c"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12053 #include <stdlib.h>
12058 unsigned int major, minor, micro;
12060 fclose (fopen ("conf.glibtest", "w"));
12062 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) {
12063 printf("%s, bad version string\n", "$min_glib_version");
12067 if ((glib_major_version != $glib_config_major_version) ||
12068 (glib_minor_version != $glib_config_minor_version) ||
12069 (glib_micro_version != $glib_config_micro_version))
12071 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12072 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12073 glib_major_version, glib_minor_version, glib_micro_version);
12074 printf ("*** was found! If pkg-config was correct, then it is best\n");
12075 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12076 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12077 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12078 printf("*** required on your system.\n");
12079 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12080 printf("*** to point to the correct configuration files\n");
12082 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12083 (glib_minor_version != GLIB_MINOR_VERSION) ||
12084 (glib_micro_version != GLIB_MICRO_VERSION))
12086 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12087 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12088 printf("*** library (version %d.%d.%d)\n",
12089 glib_major_version, glib_minor_version, glib_micro_version);
12093 if ((glib_major_version > major) ||
12094 ((glib_major_version == major) && (glib_minor_version > minor)) ||
12095 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12101 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12102 glib_major_version, glib_minor_version, glib_micro_version);
12103 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12104 major, minor, micro);
12105 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12107 printf("*** If you have already installed a sufficiently new version, this error\n");
12108 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12109 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12110 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12111 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12112 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12113 printf("*** so that the correct libraries are found at run-time))\n");
12120 if ac_fn_c_try_run "$LINENO"; then :
12125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12126 conftest.$ac_objext conftest.beam conftest.$ac_ext
12129 CFLAGS="$ac_save_CFLAGS"
12130 LIBS="$ac_save_LIBS"
12133 if test "x$no_glib" = x ; then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12135 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 if test "$PKG_CONFIG" = "no" ; then
12141 echo "*** A new enough version of pkg-config was not found."
12142 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12144 if test -f conf.glibtest ; then
12147 echo "*** Could not run GLIB test program, checking why..."
12148 ac_save_CFLAGS="$CFLAGS"
12149 ac_save_LIBS="$LIBS"
12150 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12151 LIBS="$LIBS $GLIB_LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12161 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 echo "*** The test program compiled, but did not run. This usually means"
12168 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12169 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12170 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12171 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12172 echo "*** is required on your system"
12174 echo "*** If you have an old version installed, it is best to remove it, although"
12175 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12177 echo "*** The test program failed to compile or link. See the file config.log for the"
12178 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 CFLAGS="$ac_save_CFLAGS"
12183 LIBS="$ac_save_LIBS"
12191 GLIB_COMPILE_RESOURCES=""
12200 rm -f conf.glibtest
12202 if test "$GLIB_LIBS" = ""; then
12203 as_fn_error $? "GLIB $GLIB_REQUIRED or later is required to build libsoup" "$LINENO" 5
12205 GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38"
12207 GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib'
12211 # Check whether --enable-installed-tests was given.
12212 if test "${enable_installed_tests+set}" = set; then :
12213 enableval=$enable_installed_tests; case ${enableval} in
12214 yes) ENABLE_INSTALLED_TESTS="1" ;;
12215 no) ENABLE_INSTALLED_TESTS="" ;;
12216 *) as_fn_error $? "bad value ${enableval} for --enable-installed-tests" "$LINENO" 5 ;;
12220 if test "$ENABLE_INSTALLED_TESTS" = "1"; then
12221 ENABLE_INSTALLED_TESTS_TRUE=
12222 ENABLE_INSTALLED_TESTS_FALSE='#'
12224 ENABLE_INSTALLED_TESTS_TRUE='#'
12225 ENABLE_INSTALLED_TESTS_FALSE=
12228 # Check whether --enable-always-build-tests was given.
12229 if test "${enable_always_build_tests+set}" = set; then :
12230 enableval=$enable_always_build_tests; case ${enableval} in
12231 yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
12232 no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
12233 *) as_fn_error $? "bad value ${enableval} for --enable-always-build-tests" "$LINENO" 5 ;;
12237 if test "$ENABLE_ALWAYS_BUILD_TESTS" = "1"; then
12238 ENABLE_ALWAYS_BUILD_TESTS_TRUE=
12239 ENABLE_ALWAYS_BUILD_TESTS_FALSE='#'
12241 ENABLE_ALWAYS_BUILD_TESTS_TRUE='#'
12242 ENABLE_ALWAYS_BUILD_TESTS_FALSE=
12245 if test "$ENABLE_INSTALLED_TESTS" = "1"; then
12246 installed_test_metadir=${datadir}/installed-tests/libsoup
12248 installed_testdir=${libexecdir}/installed-tests/libsoup
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
12256 $as_echo_n "checking for XML... " >&6; }
12258 if test -n "$XML_CFLAGS"; then
12259 pkg_cv_XML_CFLAGS="$XML_CFLAGS"
12260 elif test -n "$PKG_CONFIG"; then
12261 if test -n "$PKG_CONFIG" && \
12262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12263 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266 test $ac_status = 0; }; then
12267 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
12268 test "x$?" != "x0" && pkg_failed=yes
12275 if test -n "$XML_LIBS"; then
12276 pkg_cv_XML_LIBS="$XML_LIBS"
12277 elif test -n "$PKG_CONFIG"; then
12278 if test -n "$PKG_CONFIG" && \
12279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12280 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12283 test $ac_status = 0; }; then
12284 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
12285 test "x$?" != "x0" && pkg_failed=yes
12295 if test $pkg_failed = yes; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12300 _pkg_short_errors_supported=yes
12302 _pkg_short_errors_supported=no
12304 if test $_pkg_short_errors_supported = yes; then
12305 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
12307 XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
12309 # Put the nasty error message in config.log where it belongs
12310 echo "$XML_PKG_ERRORS" >&5
12312 as_fn_error $? "Package requirements (libxml-2.0) were not met:
12316 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12317 installed software in a non-standard prefix.
12319 Alternatively, you may set the environment variables XML_CFLAGS
12320 and XML_LIBS to avoid the need to call pkg-config.
12321 See the pkg-config man page for more details." "$LINENO" 5
12322 elif test $pkg_failed = untried; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12327 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12328 is in your PATH or set the PKG_CONFIG environment variable to the full
12329 path to pkg-config.
12331 Alternatively, you may set the environment variables XML_CFLAGS
12332 and XML_LIBS to avoid the need to call pkg-config.
12333 See the pkg-config man page for more details.
12335 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12336 See \`config.log' for more details" "$LINENO" 5; }
12338 XML_CFLAGS=$pkg_cv_XML_CFLAGS
12339 XML_LIBS=$pkg_cv_XML_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341 $as_echo "yes" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
12350 $as_echo_n "checking for SQLITE... " >&6; }
12352 if test -n "$SQLITE_CFLAGS"; then
12353 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
12354 elif test -n "$PKG_CONFIG"; then
12355 if test -n "$PKG_CONFIG" && \
12356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
12357 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
12359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12360 test $ac_status = 0; }; then
12361 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
12362 test "x$?" != "x0" && pkg_failed=yes
12369 if test -n "$SQLITE_LIBS"; then
12370 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
12371 elif test -n "$PKG_CONFIG"; then
12372 if test -n "$PKG_CONFIG" && \
12373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
12374 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
12376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12377 test $ac_status = 0; }; then
12378 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
12379 test "x$?" != "x0" && pkg_failed=yes
12389 if test $pkg_failed = yes; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12394 _pkg_short_errors_supported=yes
12396 _pkg_short_errors_supported=no
12398 if test $_pkg_short_errors_supported = yes; then
12399 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
12401 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
12403 # Put the nasty error message in config.log where it belongs
12404 echo "$SQLITE_PKG_ERRORS" >&5
12406 as_fn_error $? "Package requirements (sqlite3) were not met:
12410 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12411 installed software in a non-standard prefix.
12413 Alternatively, you may set the environment variables SQLITE_CFLAGS
12414 and SQLITE_LIBS to avoid the need to call pkg-config.
12415 See the pkg-config man page for more details." "$LINENO" 5
12416 elif test $pkg_failed = untried; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12418 $as_echo "no" >&6; }
12419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12421 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12422 is in your PATH or set the PKG_CONFIG environment variable to the full
12423 path to pkg-config.
12425 Alternatively, you may set the environment variables SQLITE_CFLAGS
12426 and SQLITE_LIBS to avoid the need to call pkg-config.
12427 See the pkg-config man page for more details.
12429 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12430 See \`config.log' for more details" "$LINENO" 5; }
12432 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
12433 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
12443 $as_echo_n "checking for Win32... " >&6; }
12447 CFLAGS="$CFLAGS -D_REENTRANT"
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12454 $as_echo "$os_win32" >&6; }
12455 if test $os_win32 = yes; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12466 $as_echo_n "checking whether NLS is requested... " >&6; }
12467 # Check whether --enable-nls was given.
12468 if test "${enable_nls+set}" = set; then :
12469 enableval=$enable_nls; USE_NLS=$enableval
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12475 $as_echo "$USE_NLS" >&6; }
12480 case "$am__api_version" in
12482 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12488 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12489 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12490 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12491 if test -n "0.35.0"; then
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12493 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12495 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12496 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12497 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
12500 # Extract the first word of "intltool-update", so it can be a program name with args.
12501 set dummy intltool-update; ac_word=$2
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12503 $as_echo_n "checking for $ac_word... " >&6; }
12504 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12505 $as_echo_n "(cached) " >&6
12507 case $INTLTOOL_UPDATE in
12509 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12513 for as_dir in $PATH
12516 test -z "$as_dir" && as_dir=.
12517 for ac_exec_ext in '' $ac_executable_extensions; do
12518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12519 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12530 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12531 if test -n "$INTLTOOL_UPDATE"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12533 $as_echo "$INTLTOOL_UPDATE" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 $as_echo "no" >&6; }
12540 # Extract the first word of "intltool-merge", so it can be a program name with args.
12541 set dummy intltool-merge; ac_word=$2
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12543 $as_echo_n "checking for $ac_word... " >&6; }
12544 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12545 $as_echo_n "(cached) " >&6
12547 case $INTLTOOL_MERGE in
12549 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12553 for as_dir in $PATH
12556 test -z "$as_dir" && as_dir=.
12557 for ac_exec_ext in '' $ac_executable_extensions; do
12558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12559 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12570 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12571 if test -n "$INTLTOOL_MERGE"; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12573 $as_echo "$INTLTOOL_MERGE" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576 $as_echo "no" >&6; }
12580 # Extract the first word of "intltool-extract", so it can be a program name with args.
12581 set dummy intltool-extract; ac_word=$2
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12583 $as_echo_n "checking for $ac_word... " >&6; }
12584 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12585 $as_echo_n "(cached) " >&6
12587 case $INTLTOOL_EXTRACT in
12589 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12593 for as_dir in $PATH
12596 test -z "$as_dir" && as_dir=.
12597 for ac_exec_ext in '' $ac_executable_extensions; do
12598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12599 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12610 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12611 if test -n "$INTLTOOL_EXTRACT"; then
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12613 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12616 $as_echo "no" >&6; }
12620 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12621 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12624 if test -z "$AM_DEFAULT_VERBOSITY"; then
12625 AM_DEFAULT_VERBOSITY=1
12629 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12630 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12631 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12636 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12637 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12638 intltool__v_merge_options_0='-q'
12643 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 $< $@'
12644 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 $< $@'
12645 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 $< $@'
12646 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 $< $@'
12647 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 $< $@'
12648 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 $< $@'
12649 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 $< $@'
12650 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 $< $@'
12651 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 $< $@'
12652 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 $< $@'
12653 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 $< $@'
12654 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12655 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 $< $@'
12657 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'
12659 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 $< $@'
12660 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 $< $@'
12661 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 $< $@'
12662 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 $< $@'
12663 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 $< $@'
12664 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 $< $@'
12665 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 $< $@'
12763 # Check the gettext tools to make sure they are GNU
12764 # Extract the first word of "xgettext", so it can be a program name with args.
12765 set dummy xgettext; ac_word=$2
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12767 $as_echo_n "checking for $ac_word... " >&6; }
12768 if ${ac_cv_path_XGETTEXT+:} false; then :
12769 $as_echo_n "(cached) " >&6
12773 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12777 for as_dir in $PATH
12780 test -z "$as_dir" && as_dir=.
12781 for ac_exec_ext in '' $ac_executable_extensions; do
12782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12783 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12794 XGETTEXT=$ac_cv_path_XGETTEXT
12795 if test -n "$XGETTEXT"; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12797 $as_echo "$XGETTEXT" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12800 $as_echo "no" >&6; }
12804 # Extract the first word of "msgmerge", so it can be a program name with args.
12805 set dummy msgmerge; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807 $as_echo_n "checking for $ac_word... " >&6; }
12808 if ${ac_cv_path_MSGMERGE+:} false; then :
12809 $as_echo_n "(cached) " >&6
12813 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $PATH
12820 test -z "$as_dir" && as_dir=.
12821 for ac_exec_ext in '' $ac_executable_extensions; do
12822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12823 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12834 MSGMERGE=$ac_cv_path_MSGMERGE
12835 if test -n "$MSGMERGE"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12837 $as_echo "$MSGMERGE" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12844 # Extract the first word of "msgfmt", so it can be a program name with args.
12845 set dummy msgfmt; ac_word=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847 $as_echo_n "checking for $ac_word... " >&6; }
12848 if ${ac_cv_path_MSGFMT+:} false; then :
12849 $as_echo_n "(cached) " >&6
12853 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12863 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 MSGFMT=$ac_cv_path_MSGFMT
12875 if test -n "$MSGFMT"; then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12877 $as_echo "$MSGFMT" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12884 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12885 set dummy gmsgfmt; ac_word=$2
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12887 $as_echo_n "checking for $ac_word... " >&6; }
12888 if ${ac_cv_path_GMSGFMT+:} false; then :
12889 $as_echo_n "(cached) " >&6
12893 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12903 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12911 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12915 GMSGFMT=$ac_cv_path_GMSGFMT
12916 if test -n "$GMSGFMT"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12918 $as_echo "$GMSGFMT" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12925 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12926 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12928 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12929 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12930 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12931 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12932 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12935 # Extract the first word of "perl", so it can be a program name with args.
12936 set dummy perl; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12938 $as_echo_n "checking for $ac_word... " >&6; }
12939 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12940 $as_echo_n "(cached) " >&6
12942 case $INTLTOOL_PERL in
12944 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12954 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12965 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12966 if test -n "$INTLTOOL_PERL"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12968 $as_echo "$INTLTOOL_PERL" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12975 if test -z "$INTLTOOL_PERL"; then
12976 as_fn_error $? "perl not found" "$LINENO" 5
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12979 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12980 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12981 if test $? -ne 0; then
12982 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12984 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12986 $as_echo "$IT_PERL_VERSION" >&6; }
12988 if test "x" != "xno-xml"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12990 $as_echo_n "checking for XML::Parser... " >&6; }
12991 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12993 $as_echo "ok" >&6; }
12995 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12999 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13005 GETTEXT_PACKAGE=libsoup
13008 cat >>confdefs.h <<_ACEOF
13009 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13013 for ac_func in gmtime_r
13015 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
13016 if test "x$ac_cv_func_gmtime_r" = xyes; then :
13017 cat >>confdefs.h <<_ACEOF
13018 #define HAVE_GMTIME_R 1
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libsoup-gnome" >&5
13026 $as_echo_n "checking whether to build libsoup-gnome... " >&6; }
13028 # Check whether --with-gnome was given.
13029 if test "${with_gnome+set}" = set; then :
13030 withval=$with_gnome; :
13032 if test $os_win32 = yes; then with_gnome=no; else with_gnome=yes; fi
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnome" >&5
13036 $as_echo "$with_gnome" >&6; }
13038 if test $with_gnome != no; then
13039 BUILD_LIBSOUP_GNOME_TRUE=
13040 BUILD_LIBSOUP_GNOME_FALSE='#'
13042 BUILD_LIBSOUP_GNOME_TRUE='#'
13043 BUILD_LIBSOUP_GNOME_FALSE=
13047 if test $with_gnome != no; then
13049 $as_echo "#define HAVE_GNOME 1" >>confdefs.h
13058 gtk_doc_requires="gtk-doc >= 1.10"
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
13060 $as_echo_n "checking for gtk-doc... " >&6; }
13061 if test -n "$PKG_CONFIG" && \
13062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
13063 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
13065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13066 test $ac_status = 0; }; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
13072 $as_echo "$have_gtk_doc" >&6; }
13074 if test "$have_gtk_doc" = "no"; then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13076 You will not be able to create source packages with 'make dist'
13077 because $gtk_doc_requires is not found." >&5
13078 $as_echo "$as_me: WARNING:
13079 You will not be able to create source packages with 'make dist'
13080 because $gtk_doc_requires is not found." >&2;}
13083 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13084 set dummy gtkdoc-check; ac_word=$2
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13086 $as_echo_n "checking for $ac_word... " >&6; }
13087 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
13088 $as_echo_n "(cached) " >&6
13090 if test -n "$GTKDOC_CHECK"; then
13091 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
13093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13094 for as_dir in $PATH
13097 test -z "$as_dir" && as_dir=.
13098 for ac_exec_ext in '' $ac_executable_extensions; do
13099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13100 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
13101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
13111 if test -n "$GTKDOC_CHECK"; then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13113 $as_echo "$GTKDOC_CHECK" >&6; }
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13116 $as_echo "no" >&6; }
13120 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13121 set dummy gtkdoc-check; ac_word=$2
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13123 $as_echo_n "checking for $ac_word... " >&6; }
13124 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
13125 $as_echo_n "(cached) " >&6
13127 case $GTKDOC_CHECK_PATH in
13129 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13139 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
13140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
13151 if test -n "$GTKDOC_CHECK_PATH"; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
13153 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13156 $as_echo "no" >&6; }
13160 for ac_prog in gtkdoc-rebase
13162 # Extract the first word of "$ac_prog", so it can be a program name with args.
13163 set dummy $ac_prog; ac_word=$2
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13165 $as_echo_n "checking for $ac_word... " >&6; }
13166 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13167 $as_echo_n "(cached) " >&6
13169 case $GTKDOC_REBASE in
13171 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13175 for as_dir in $PATH
13178 test -z "$as_dir" && as_dir=.
13179 for ac_exec_ext in '' $ac_executable_extensions; do
13180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13181 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13192 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13193 if test -n "$GTKDOC_REBASE"; then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13195 $as_echo "$GTKDOC_REBASE" >&6; }
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13202 test -n "$GTKDOC_REBASE" && break
13204 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13206 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13207 set dummy gtkdoc-mkpdf; ac_word=$2
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13209 $as_echo_n "checking for $ac_word... " >&6; }
13210 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13211 $as_echo_n "(cached) " >&6
13213 case $GTKDOC_MKPDF in
13215 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13219 for as_dir in $PATH
13222 test -z "$as_dir" && as_dir=.
13223 for ac_exec_ext in '' $ac_executable_extensions; do
13224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13225 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13236 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13237 if test -n "$GTKDOC_MKPDF"; then
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13239 $as_echo "$GTKDOC_MKPDF" >&6; }
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13242 $as_echo "no" >&6; }
13248 # Check whether --with-html-dir was given.
13249 if test "${with_html_dir+set}" = set; then :
13250 withval=$with_html_dir;
13252 with_html_dir='${datadir}/gtk-doc/html'
13255 HTML_DIR="$with_html_dir"
13258 # Check whether --enable-gtk-doc was given.
13259 if test "${enable_gtk_doc+set}" = set; then :
13260 enableval=$enable_gtk_doc;
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13267 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13269 $as_echo "$enable_gtk_doc" >&6; }
13271 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
13273 You must have $gtk_doc_requires installed to build documentation for
13274 $PACKAGE_NAME. Please install gtk-doc or disable building the
13275 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
13278 if test "x$PACKAGE_NAME" != "xglib"; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13282 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13284 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13285 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13286 elif test -n "$PKG_CONFIG"; then
13287 if test -n "$PKG_CONFIG" && \
13288 { { $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
13289 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13292 test $ac_status = 0; }; then
13293 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13294 test "x$?" != "x0" && pkg_failed=yes
13301 if test -n "$GTKDOC_DEPS_LIBS"; then
13302 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13303 elif test -n "$PKG_CONFIG"; then
13304 if test -n "$PKG_CONFIG" && \
13305 { { $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
13306 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13309 test $ac_status = 0; }; then
13310 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13311 test "x$?" != "x0" && pkg_failed=yes
13321 if test $pkg_failed = yes; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13325 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13326 _pkg_short_errors_supported=yes
13328 _pkg_short_errors_supported=no
13330 if test $_pkg_short_errors_supported = yes; then
13331 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`
13333 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13335 # Put the nasty error message in config.log where it belongs
13336 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13339 elif test $pkg_failed = untried; then
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13341 $as_echo "no" >&6; }
13344 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13345 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13347 $as_echo "yes" >&6; }
13352 # Check whether --enable-gtk-doc-html was given.
13353 if test "${enable_gtk_doc_html+set}" = set; then :
13354 enableval=$enable_gtk_doc_html;
13356 enable_gtk_doc_html=yes
13359 # Check whether --enable-gtk-doc-pdf was given.
13360 if test "${enable_gtk_doc_pdf+set}" = set; then :
13361 enableval=$enable_gtk_doc_pdf;
13363 enable_gtk_doc_pdf=no
13367 if test -z "$GTKDOC_MKPDF"; then
13368 enable_gtk_doc_pdf=no
13371 if test -z "$AM_DEFAULT_VERBOSITY"; then
13372 AM_DEFAULT_VERBOSITY=1
13376 if test x$have_gtk_doc = xyes; then
13378 HAVE_GTK_DOC_FALSE='#'
13380 HAVE_GTK_DOC_TRUE='#'
13381 HAVE_GTK_DOC_FALSE=
13384 if test x$enable_gtk_doc = xyes; then
13385 ENABLE_GTK_DOC_TRUE=
13386 ENABLE_GTK_DOC_FALSE='#'
13388 ENABLE_GTK_DOC_TRUE='#'
13389 ENABLE_GTK_DOC_FALSE=
13392 if test x$enable_gtk_doc_html = xyes; then
13393 GTK_DOC_BUILD_HTML_TRUE=
13394 GTK_DOC_BUILD_HTML_FALSE='#'
13396 GTK_DOC_BUILD_HTML_TRUE='#'
13397 GTK_DOC_BUILD_HTML_FALSE=
13400 if test x$enable_gtk_doc_pdf = xyes; then
13401 GTK_DOC_BUILD_PDF_TRUE=
13402 GTK_DOC_BUILD_PDF_FALSE='#'
13404 GTK_DOC_BUILD_PDF_TRUE='#'
13405 GTK_DOC_BUILD_PDF_FALSE=
13408 if test -n "$LIBTOOL"; then
13409 GTK_DOC_USE_LIBTOOL_TRUE=
13410 GTK_DOC_USE_LIBTOOL_FALSE='#'
13412 GTK_DOC_USE_LIBTOOL_TRUE='#'
13413 GTK_DOC_USE_LIBTOOL_FALSE=
13416 if test -n "$GTKDOC_REBASE"; then
13417 GTK_DOC_USE_REBASE_TRUE=
13418 GTK_DOC_USE_REBASE_FALSE='#'
13420 GTK_DOC_USE_REBASE_TRUE='#'
13421 GTK_DOC_USE_REBASE_FALSE=
13429 # Check whether --enable-introspection was given.
13430 if test "${enable_introspection+set}" = set; then :
13431 enableval=$enable_introspection;
13433 enable_introspection=auto
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13438 $as_echo_n "checking for gobject-introspection... " >&6; }
13440 case $enable_introspection in #(
13442 found_introspection="no (disabled, use --enable-introspection to enable)"
13445 if test -n "$PKG_CONFIG" && \
13446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13447 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13450 test $ac_status = 0; }; then
13453 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13455 if test -n "$PKG_CONFIG" && \
13456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
13457 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
13459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13460 test $ac_status = 0; }; then
13461 found_introspection=yes
13463 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build libsoup" "$LINENO" 5
13467 if test -n "$PKG_CONFIG" && \
13468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
13469 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
13471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13472 test $ac_status = 0; }; then
13473 found_introspection=yes
13475 found_introspection=no
13479 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13483 $as_echo "$found_introspection" >&6; }
13485 INTROSPECTION_SCANNER=
13486 INTROSPECTION_COMPILER=
13487 INTROSPECTION_GENERATE=
13488 INTROSPECTION_GIRDIR=
13489 INTROSPECTION_TYPELIBDIR=
13490 if test "x$found_introspection" = "xyes"; then
13491 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13492 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13493 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13494 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13495 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13496 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13497 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13498 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13509 if test "x$found_introspection" = "xyes"; then
13510 HAVE_INTROSPECTION_TRUE=
13511 HAVE_INTROSPECTION_FALSE='#'
13513 HAVE_INTROSPECTION_TRUE='#'
13514 HAVE_INTROSPECTION_FALSE=
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-networking (glib TLS implementation)" >&5
13521 $as_echo_n "checking for glib-networking (glib TLS implementation)... " >&6; }
13522 save_CFLAGS="$CFLAGS"
13524 CFLAGS="$CFLAGS $GLIB_CFLAGS"
13525 LIBS="$LIBS $GLIB_LIBS"
13526 if test "$cross_compiling" = yes; then :
13527 have_glib_networking="unknown (cross-compiling)"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 #include <gio/gio.h>
13535 return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
13540 if ac_fn_c_try_run "$LINENO"; then :
13541 have_glib_networking=yes
13543 have_glib_networking=no
13545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13546 conftest.$ac_objext conftest.beam conftest.$ac_ext
13549 CFLAGS="$save_CFLAGS"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glib_networking" >&5
13552 $as_echo "$have_glib_networking" >&6; }
13554 # Check whether --enable-tls-check was given.
13555 if test "${enable_tls_check+set}" = set; then :
13556 enableval=$enable_tls_check;
13559 if test "$enable_tls_check" != "no" -a "$have_glib_networking" = "no"; then
13560 as_fn_error $? "libsoup requires glib-networking for TLS support.
13562 If you are building a package, you can pass --disable-tls-check to
13563 allow building libsoup anyway (since glib-networking is not actually
13564 required at compile time), but you should be sure to add a runtime
13565 dependency on it." "$LINENO" 5
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for programs needed for regression tests" >&5
13569 $as_echo "$as_me: checking for programs needed for regression tests" >&6;}
13572 # Check whether --with-apache-httpd was given.
13573 if test "${with_apache_httpd+set}" = set; then :
13574 withval=$with_apache_httpd; APACHE_HTTPD="$withval"
13576 for ac_prog in httpd2 httpd apache2 apache
13578 # Extract the first word of "$ac_prog", so it can be a program name with args.
13579 set dummy $ac_prog; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_path_APACHE_HTTPD+:} false; then :
13583 $as_echo_n "(cached) " >&6
13585 case $APACHE_HTTPD in
13587 ac_cv_path_APACHE_HTTPD="$APACHE_HTTPD" # Let the user override the test with a path.
13590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13591 as_dummy="${PATH}:/usr/sbin"
13592 for as_dir in $as_dummy
13595 test -z "$as_dir" && as_dir=.
13596 for ac_exec_ext in '' $ac_executable_extensions; do
13597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_path_APACHE_HTTPD="$as_dir/$ac_word$ac_exec_ext"
13599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13609 APACHE_HTTPD=$ac_cv_path_APACHE_HTTPD
13610 if test -n "$APACHE_HTTPD"; then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APACHE_HTTPD" >&5
13612 $as_echo "$APACHE_HTTPD" >&6; }
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13615 $as_echo "no" >&6; }
13619 test -n "$APACHE_HTTPD" && break
13621 test -n "$APACHE_HTTPD" || APACHE_HTTPD="no"
13625 if test "$APACHE_HTTPD" != "no"; then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Apache version" >&5
13627 $as_echo_n "checking Apache version... " >&6; }
13628 apache_version=`$APACHE_HTTPD -v 2>/dev/null | sed -ne 's/Server version: Apache\///p'`
13629 case $apache_version in
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apache_version (ok)" >&5
13632 $as_echo "$apache_version (ok)" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apache_version (ok)" >&5
13637 $as_echo "$apache_version (ok)" >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apache_version (ignoring)" >&5
13642 $as_echo "$apache_version (ignoring)" >&6; }
13649 cat >>confdefs.h <<_ACEOF
13650 #define APACHE_HTTPD "$APACHE_HTTPD"
13654 if test "$APACHE_HTTPD" != "no"; then
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module directory" >&5
13656 $as_echo_n "checking for Apache module directory... " >&6; }
13658 # Check whether --with-apache-module-dir was given.
13659 if test "${with_apache_module_dir+set}" = set; then :
13660 withval=$with_apache_module_dir; apache_module_dirs="$withval"
13662 apache_prefix=`dirname \`dirname $APACHE_HTTPD\``
13663 mpm=`$APACHE_HTTPD -V -C "ServerName localhost" | sed -ne 's/^Server MPM: */-/p' | tr 'A-Z' 'a-z'`
13664 # This only works with bash, but should fail harmlessly in sh
13665 apache_module_dirs=`echo $apache_prefix/lib{64,}/{apache,apache2,http,http2,httpd}{$mpm,}{/modules,}`
13668 for dir in $apache_module_dirs; do
13669 if test -f $dir/mod_auth_digest.so; then
13670 APACHE_MODULE_DIR="$dir"
13672 if test -f $dir/mod_ssl.so; then
13673 APACHE_SSL_MODULE_DIR="$dir"
13674 IF_HAVE_APACHE_SSL=""
13676 if test -f $dir/mod_php5.so; then
13677 APACHE_PHP_MODULE_DIR="$dir"
13678 APACHE_PHP_MODULE=mod_php5.so
13680 if test -f $dir/libphp5.so; then
13681 APACHE_PHP_MODULE_DIR="$dir"
13682 APACHE_PHP_MODULE=libphp5.so
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APACHE_MODULE_DIR" >&5
13686 $as_echo "$APACHE_MODULE_DIR" >&6; }
13693 if test "$APACHE_HTTPD" != "no" -a -n "$APACHE_MODULE_DIR" -a -n "$APACHE_SSL_MODULE_DIR"; then
13695 $as_echo "#define HAVE_APACHE 1" >>confdefs.h
13697 if test $apache_version = 2.2; then
13699 $as_echo "#define HAVE_APACHE_2_2 1" >>confdefs.h
13703 $as_echo "#define HAVE_APACHE_2_4 1" >>confdefs.h
13710 if test "$have_apache" = 1; then
13712 HAVE_APACHE_FALSE='#'
13714 HAVE_APACHE_TRUE='#'
13718 if test "$apache_version" = 2.2; then
13719 HAVE_APACHE_2_2_TRUE=
13720 HAVE_APACHE_2_2_FALSE='#'
13722 HAVE_APACHE_2_2_TRUE='#'
13723 HAVE_APACHE_2_2_FALSE=
13726 if test "$apache_version" = 2.4; then
13727 HAVE_APACHE_2_4_TRUE=
13728 HAVE_APACHE_2_4_FALSE='#'
13730 HAVE_APACHE_2_4_TRUE='#'
13731 HAVE_APACHE_2_4_FALSE=
13735 if test "$have_apache" = 1; then
13736 for ac_prog in php php5
13738 # Extract the first word of "$ac_prog", so it can be a program name with args.
13739 set dummy $ac_prog; ac_word=$2
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13741 $as_echo_n "checking for $ac_word... " >&6; }
13742 if ${ac_cv_prog_PHP+:} false; then :
13743 $as_echo_n "(cached) " >&6
13745 if test -n "$PHP"; then
13746 ac_cv_prog_PHP="$PHP" # Let the user override the test.
13748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13749 for as_dir in $PATH
13752 test -z "$as_dir" && as_dir=.
13753 for ac_exec_ext in '' $ac_executable_extensions; do
13754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13755 ac_cv_prog_PHP="$ac_prog"
13756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13765 PHP=$ac_cv_prog_PHP
13766 if test -n "$PHP"; then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHP" >&5
13768 $as_echo "$PHP" >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13771 $as_echo "no" >&6; }
13775 test -n "$PHP" && break
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache PHP module" >&5
13780 $as_echo_n "checking for Apache PHP module... " >&6; }
13781 if test -f $APACHE_PHP_MODULE_DIR/$APACHE_PHP_MODULE; then
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_php" >&5
13789 $as_echo "$have_php" >&6; }
13792 if test "$have_php" = yes; then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for php-xmlrpc" >&5
13794 $as_echo_n "checking for php-xmlrpc... " >&6; }
13795 if $PHP --rf xmlrpc_server_create | grep -q "does not exist"; then
13798 have_php_xmlrpc=yes
13800 $as_echo "#define HAVE_PHP_XMLRPC 1" >>confdefs.h
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_php_xmlrpc" >&5
13804 $as_echo "$have_php_xmlrpc" >&6; }
13808 # Extract the first word of "curl", so it can be a program name with args.
13809 set dummy curl; ac_word=$2
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13811 $as_echo_n "checking for $ac_word... " >&6; }
13812 if ${ac_cv_path_CURL+:} false; then :
13813 $as_echo_n "(cached) " >&6
13817 ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
13820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13821 for as_dir in $PATH
13824 test -z "$as_dir" && as_dir=.
13825 for ac_exec_ext in '' $ac_executable_extensions; do
13826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13827 ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext"
13828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13835 test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="no"
13839 CURL=$ac_cv_path_CURL
13840 if test -n "$CURL"; then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
13842 $as_echo "$CURL" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13845 $as_echo "no" >&6; }
13849 if test "$CURL" != no; then
13851 $as_echo "#define HAVE_CURL 1" >>confdefs.h
13856 # Check whether --with-ntlm-auth was given.
13857 if test "${with_ntlm_auth+set}" = set; then :
13858 withval=$with_ntlm_auth; ntlm_auth="$withval"
13860 if test $os_win32 = yes; then ntlm_auth="no"; else ntlm_auth="/usr/bin/ntlm_auth"; fi
13863 if test "$ntlm_auth" != "no"; then
13865 $as_echo "#define USE_NTLM_AUTH 1" >>confdefs.h
13867 if test "$ntlm_auth" = "yes"; then
13868 ntlm_auth="/usr/bin/ntlm_auth"
13873 cat >>confdefs.h <<_ACEOF
13874 #define NTLM_AUTH "$ntlm_auth"
13879 # Check whether --enable-more-warnings was given.
13880 if test "${enable_more_warnings+set}" = set; then :
13881 enableval=$enable_more_warnings; set_more_warnings=no
13885 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
13887 -Wall -Wstrict-prototypes -Werror=missing-prototypes \
13888 -Werror=implicit-function-declaration \
13889 -Werror=pointer-arith -Werror=init-self -Werror=format=2 \
13890 -Wno-format-zero-length \
13891 -Werror=missing-include-dirs -Werror=aggregate-return \
13892 -Werror=declaration-after-statement"
13896 ac_config_headers="$ac_config_headers config.h"
13898 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 examples/Makefile docs/Makefile docs/reference/Makefile libsoup/soup-version.h"
13900 cat >confcache <<\_ACEOF
13901 # This file is a shell script that caches the results of configure
13902 # tests run on this system so they can be shared between configure
13903 # scripts and configure runs, see configure's option --config-cache.
13904 # It is not useful on other systems. If it contains results you don't
13905 # want to keep, you may remove or edit it.
13907 # config.status only pays attention to the cache file if you give it
13908 # the --recheck option to rerun configure.
13910 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13911 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13912 # following values.
13916 # The following way of writing the cache mishandles newlines in values,
13917 # but we know of no workaround that is simple, portable, and efficient.
13918 # So, we kill variables containing newlines.
13919 # Ultrix sh set writes to stderr and can't be redirected directly,
13920 # and sets the high bit in the cache file unless we assign to the vars.
13922 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13923 eval ac_val=\$$ac_var
13927 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13928 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13931 _ | IFS | as_nl) ;; #(
13932 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13933 *) { eval $ac_var=; unset $ac_var;} ;;
13939 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13940 *${as_nl}ac_space=\ *)
13941 # `set' does not quote correctly, so add quotes: double-quote
13942 # substitution turns \\\\ into \\, and sed turns \\ into \.
13945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13948 # `set' quotes correctly as required by POSIX, so do not add quotes.
13949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13960 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13962 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13963 if test -w "$cache_file"; then
13964 if test "x$cache_file" != "x/dev/null"; then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13966 $as_echo "$as_me: updating cache $cache_file" >&6;}
13967 if test ! -f "$cache_file" || test -h "$cache_file"; then
13968 cat confcache >"$cache_file"
13970 case $cache_file in #(
13972 mv -f confcache "$cache_file"$$ &&
13973 mv -f "$cache_file"$$ "$cache_file" ;; #(
13975 mv -f confcache "$cache_file" ;;
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13986 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13987 # Let make expand exec_prefix.
13988 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13990 DEFS=-DHAVE_CONFIG_H
13995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13996 # 1. Remove the extension, and $U if already installed.
13997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13998 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14000 # will be set to the directory where LIBOBJS objects are built.
14001 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14002 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14004 LIBOBJS=$ac_libobjs
14006 LTLIBOBJS=$ac_ltlibobjs
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14010 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14011 if test -n "$am_sleep_pid"; then
14012 # Hide warnings about reused PIDs.
14013 wait $am_sleep_pid 2>/dev/null
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14016 $as_echo "done" >&6; }
14017 if test -n "$EXEEXT"; then
14019 am__EXEEXT_FALSE='#'
14021 am__EXEEXT_TRUE='#'
14025 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14026 as_fn_error $? "conditional \"AMDEP\" was never defined.
14027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14029 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14030 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14033 if test -z "${ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${ENABLE_INSTALLED_TESTS_FALSE}"; then
14034 as_fn_error $? "conditional \"ENABLE_INSTALLED_TESTS\" was never defined.
14035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14037 if test -z "${ENABLE_ALWAYS_BUILD_TESTS_TRUE}" && test -z "${ENABLE_ALWAYS_BUILD_TESTS_FALSE}"; then
14038 as_fn_error $? "conditional \"ENABLE_ALWAYS_BUILD_TESTS\" was never defined.
14039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14041 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14042 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14046 ac_config_commands="$ac_config_commands po/stamp-it"
14049 if test -z "${BUILD_LIBSOUP_GNOME_TRUE}" && test -z "${BUILD_LIBSOUP_GNOME_FALSE}"; then
14050 as_fn_error $? "conditional \"BUILD_LIBSOUP_GNOME\" was never defined.
14051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14053 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
14054 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
14055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14057 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14058 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14061 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14062 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14065 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14066 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14069 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14070 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14073 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14074 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14077 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14078 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14081 if test -z "${HAVE_APACHE_TRUE}" && test -z "${HAVE_APACHE_FALSE}"; then
14082 as_fn_error $? "conditional \"HAVE_APACHE\" was never defined.
14083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14085 if test -z "${HAVE_APACHE_2_2_TRUE}" && test -z "${HAVE_APACHE_2_2_FALSE}"; then
14086 as_fn_error $? "conditional \"HAVE_APACHE_2_2\" was never defined.
14087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14089 if test -z "${HAVE_APACHE_2_4_TRUE}" && test -z "${HAVE_APACHE_2_4_FALSE}"; then
14090 as_fn_error $? "conditional \"HAVE_APACHE_2_4\" was never defined.
14091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14094 : "${CONFIG_STATUS=./config.status}"
14096 ac_clean_files_save=$ac_clean_files
14097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14099 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14101 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14103 # Generated by $as_me.
14104 # Run this file to recreate the current configuration.
14105 # Compiler output produced by configure, useful for debugging
14106 # configure, is in config.log if it exists.
14109 ac_cs_recheck=false
14112 SHELL=\${CONFIG_SHELL-$SHELL}
14115 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14116 ## -------------------- ##
14117 ## M4sh Initialization. ##
14118 ## -------------------- ##
14120 # Be more Bourne compatible
14121 DUALCASE=1; export DUALCASE # for MKS sh
14122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14125 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14126 # is contrary to our usage. Disable this feature.
14127 alias -g '${1+"$@"}'='"$@"'
14128 setopt NO_GLOB_SUBST
14130 case `(set -o) 2>/dev/null` in #(
14142 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14143 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14144 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14146 # Prefer a ksh shell builtin over an external printf program on Solaris,
14147 # but without wasting forks for bash or zsh.
14148 if test -z "$BASH_VERSION$ZSH_VERSION" \
14149 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14150 as_echo='print -r --'
14151 as_echo_n='print -rn --'
14152 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14153 as_echo='printf %s\n'
14154 as_echo_n='printf %s'
14156 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14157 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14158 as_echo_n='/usr/ucb/echo -n'
14160 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14161 as_echo_n_body='eval
14165 expr "X$arg" : "X\\(.*\\)$as_nl";
14166 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14168 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14170 export as_echo_n_body
14171 as_echo_n='sh -c $as_echo_n_body as_echo'
14173 export as_echo_body
14174 as_echo='sh -c $as_echo_body as_echo'
14177 # The user is always right.
14178 if test "${PATH_SEPARATOR+set}" != set; then
14180 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14181 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14188 # We need space, tab and new line, in precisely that order. Quoting is
14189 # there to prevent editors from complaining about space-tab.
14190 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14191 # splitting by setting IFS to empty value.)
14194 # Find who we are. Look in the path if we contain no directory separator.
14197 *[\\/]* ) as_myself=$0 ;;
14198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14199 for as_dir in $PATH
14202 test -z "$as_dir" && as_dir=.
14203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14209 # We did not find ourselves, most probably we were run as `sh COMMAND'
14210 # in which case we are not to be found in the path.
14211 if test "x$as_myself" = x; then
14214 if test ! -f "$as_myself"; then
14215 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14219 # Unset variables that we do not need and which cause bugs (e.g. in
14220 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14221 # suppresses any "Segmentation fault" message there. '((' could
14222 # trigger a bug in pdksh 5.2.14.
14223 for as_var in BASH_ENV ENV MAIL MAILPATH
14224 do eval test x\${$as_var+set} = xset \
14225 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14238 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14241 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14242 # ----------------------------------------
14243 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14244 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14245 # script with STATUS, using 1 if that was 0.
14248 as_status=$1; test $as_status -eq 0 && as_status=1
14250 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14251 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14253 $as_echo "$as_me: error: $2" >&2
14254 as_fn_exit $as_status
14258 # as_fn_set_status STATUS
14259 # -----------------------
14260 # Set $? to STATUS, without forking.
14261 as_fn_set_status ()
14264 } # as_fn_set_status
14266 # as_fn_exit STATUS
14267 # -----------------
14268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14272 as_fn_set_status $1
14278 # Portably unset VAR.
14281 { eval $1=; unset $1;}
14283 as_unset=as_fn_unset
14284 # as_fn_append VAR VALUE
14285 # ----------------------
14286 # Append the text in VALUE to the end of the definition contained in VAR. Take
14287 # advantage of any shell optimizations that allow amortized linear growth over
14288 # repeated appends, instead of the typical quadratic growth present in naive
14290 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14291 eval 'as_fn_append ()
14302 # as_fn_arith ARG...
14303 # ------------------
14304 # Perform arithmetic evaluation on the ARGs, and store the result in the
14305 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14306 # must be portable across $(()) and expr.
14307 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14308 eval 'as_fn_arith ()
14315 as_val=`expr "$@" || test $? -eq 1`
14320 if expr a : '\(a\)' >/dev/null 2>&1 &&
14321 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14327 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14328 as_basename=basename
14333 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14339 as_me=`$as_basename -- "$0" ||
14340 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14341 X"$0" : 'X\(//\)$' \| \
14342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14344 sed '/^.*\/\([^/][^/]*\)\/*$/{
14358 # Avoid depending upon Character Ranges.
14359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14362 as_cr_digits='0123456789'
14363 as_cr_alnum=$as_cr_Letters$as_cr_digits
14365 ECHO_C= ECHO_N= ECHO_T=
14366 case `echo -n x` in #(((((
14368 case `echo 'xy\c'` in
14369 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14371 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14378 rm -f conf$$ conf$$.exe conf$$.file
14379 if test -d conf$$.dir; then
14380 rm -f conf$$.dir/conf$$.file
14383 mkdir conf$$.dir 2>/dev/null
14385 if (echo >conf$$.file) 2>/dev/null; then
14386 if ln -s conf$$.file conf$$ 2>/dev/null; then
14388 # ... but there are two gotchas:
14389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14391 # In both cases, we have to default to `cp -pR'.
14392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14394 elif ln conf$$.file conf$$ 2>/dev/null; then
14402 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14403 rmdir conf$$.dir 2>/dev/null
14408 # Create "$as_dir" as a directory, including parents if necessary.
14413 -*) as_dir=./$as_dir;;
14415 test -d "$as_dir" || eval $as_mkdir_p || {
14419 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14420 *) as_qdir=$as_dir;;
14422 as_dirs="'$as_qdir' $as_dirs"
14423 as_dir=`$as_dirname -- "$as_dir" ||
14424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14425 X"$as_dir" : 'X\(//\)[^/]' \| \
14426 X"$as_dir" : 'X\(//\)$' \| \
14427 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14428 $as_echo X"$as_dir" |
14429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14433 /^X\(\/\/\)[^/].*/{
14446 test -d "$as_dir" && break
14448 test -z "$as_dirs" || eval "mkdir $as_dirs"
14449 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14453 if mkdir -p . 2>/dev/null; then
14454 as_mkdir_p='mkdir -p "$as_dir"'
14456 test -d ./-p && rmdir ./-p
14461 # as_fn_executable_p FILE
14462 # -----------------------
14463 # Test if FILE is an executable regular file.
14464 as_fn_executable_p ()
14466 test -f "$1" && test -x "$1"
14467 } # as_fn_executable_p
14468 as_test_x='test -x'
14469 as_executable_p=as_fn_executable_p
14471 # Sed expression to map a string onto a valid CPP name.
14472 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14474 # Sed expression to map a string onto a valid variable name.
14475 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14479 ## ----------------------------------- ##
14480 ## Main body of $CONFIG_STATUS script. ##
14481 ## ----------------------------------- ##
14483 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14486 # Save the log message, to keep $0 and so on meaningful, and to
14487 # report actual input values of CONFIG_FILES etc. instead of their
14488 # values after options handling.
14490 This file was extended by libsoup $as_me 2.46.0, which was
14491 generated by GNU Autoconf 2.69. Invocation command line was
14493 CONFIG_FILES = $CONFIG_FILES
14494 CONFIG_HEADERS = $CONFIG_HEADERS
14495 CONFIG_LINKS = $CONFIG_LINKS
14496 CONFIG_COMMANDS = $CONFIG_COMMANDS
14499 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14504 case $ac_config_files in *"
14505 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14508 case $ac_config_headers in *"
14509 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14514 # Files that config.status was made for.
14515 config_files="$ac_config_files"
14516 config_headers="$ac_config_headers"
14517 config_commands="$ac_config_commands"
14521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14523 \`$as_me' instantiates files and other configuration actions
14524 from templates according to the current configuration. Unless the files
14525 and actions are specified as TAGs, all are instantiated by default.
14527 Usage: $0 [OPTION]... [TAG]...
14529 -h, --help print this help, then exit
14530 -V, --version print version number and configuration settings, then exit
14531 --config print configuration, then exit
14532 -q, --quiet, --silent
14533 do not print progress messages
14534 -d, --debug don't remove temporary files
14535 --recheck update $as_me by reconfiguring in the same conditions
14536 --file=FILE[:TEMPLATE]
14537 instantiate the configuration file FILE
14538 --header=FILE[:TEMPLATE]
14539 instantiate the configuration header FILE
14541 Configuration files:
14544 Configuration headers:
14547 Configuration commands:
14550 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup>."
14553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14554 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14556 libsoup config.status 2.46.0
14557 configured by $0, generated by GNU Autoconf 2.69,
14558 with options \\"\$ac_cs_config\\"
14560 Copyright (C) 2012 Free Software Foundation, Inc.
14561 This config.status script is free software; the Free Software Foundation
14562 gives unlimited permission to copy, distribute and modify it."
14569 test -n "\$AWK" || AWK=awk
14572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14573 # The default lists apply if the user does not specify any file.
14579 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14580 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14584 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14596 # Handling of the options.
14597 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14599 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14600 $as_echo "$ac_cs_version"; exit ;;
14601 --config | --confi | --conf | --con | --co | --c )
14602 $as_echo "$ac_cs_config"; exit ;;
14603 --debug | --debu | --deb | --de | --d | -d )
14605 --file | --fil | --fi | --f )
14608 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14609 '') as_fn_error $? "missing file argument" ;;
14611 as_fn_append CONFIG_FILES " '$ac_optarg'"
14612 ac_need_defaults=false;;
14613 --header | --heade | --head | --hea )
14616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14618 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14619 ac_need_defaults=false;;
14621 # Conflict between --help and --header
14622 as_fn_error $? "ambiguous option: \`$1'
14623 Try \`$0 --help' for more information.";;
14624 --help | --hel | -h )
14625 $as_echo "$ac_cs_usage"; exit ;;
14626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14627 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14630 # This is an error.
14631 -*) as_fn_error $? "unrecognized option: \`$1'
14632 Try \`$0 --help' for more information." ;;
14634 *) as_fn_append ac_config_targets " $1"
14635 ac_need_defaults=false ;;
14641 ac_configure_extra_args=
14643 if $ac_cs_silent; then
14645 ac_configure_extra_args="$ac_configure_extra_args --silent"
14649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14650 if \$ac_cs_recheck; then
14651 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14653 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14654 CONFIG_SHELL='$SHELL'
14655 export CONFIG_SHELL
14660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14664 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14665 ## Running $as_me. ##
14671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14675 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14678 # The HP-UX ksh and POSIX shell print the target directory to stdout
14679 # if CDPATH is set.
14680 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14682 sed_quote_subst='$sed_quote_subst'
14683 double_quote_subst='$double_quote_subst'
14684 delay_variable_subst='$delay_variable_subst'
14685 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14686 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14687 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14688 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14689 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14690 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14691 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14692 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14693 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14696 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14697 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14698 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14699 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14700 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14701 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14702 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14703 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14704 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14705 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14706 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14707 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14708 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14709 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14710 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14711 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14712 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14713 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14714 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14715 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14716 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14717 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14718 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14719 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14720 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14721 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14722 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14723 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14724 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14725 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14726 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14727 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14728 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14729 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14730 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14731 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14732 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14733 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14734 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14735 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14736 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14737 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14738 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14739 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14740 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14741 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14742 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"`'
14743 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14744 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14745 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14746 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14747 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14748 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14749 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14750 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14751 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14752 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14753 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14754 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14755 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14756 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14757 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14758 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14759 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14760 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14761 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14762 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14763 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14764 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14765 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14766 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14767 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14768 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14769 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14770 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14771 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14772 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14773 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14774 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14775 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14776 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14777 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14778 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14779 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14780 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14781 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14782 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14783 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14784 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14785 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14786 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14787 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14788 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14789 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14790 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14791 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14792 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14793 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14794 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14795 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14796 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14797 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14798 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14799 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14800 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14801 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14802 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14803 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14804 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14805 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14806 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14807 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14808 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14809 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14810 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14811 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14812 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14813 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14814 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14815 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14818 LTCFLAGS='$LTCFLAGS'
14819 compiler='$compiler_DEFAULT'
14821 # A function that is used when there is no print builtin or printf.
14822 func_fallback_echo ()
14824 eval 'cat <<_LTECHO_EOF
14829 # Quote evaled strings.
14846 deplibs_check_method \
14850 sharedlib_from_linklib_cmd \
14853 archiver_list_spec \
14859 lt_cv_sys_global_symbol_pipe \
14860 lt_cv_sys_global_symbol_to_cdecl \
14861 lt_cv_sys_global_symbol_to_c_name_address \
14862 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14863 nm_file_list_spec \
14864 lt_prog_compiler_no_builtin_flag \
14865 lt_prog_compiler_pic \
14866 lt_prog_compiler_wl \
14867 lt_prog_compiler_static \
14868 lt_cv_prog_compiler_c_o \
14877 export_dynamic_flag_spec \
14878 whole_archive_flag_spec \
14879 compiler_needs_object \
14881 allow_undefined_flag \
14882 no_undefined_flag \
14883 hardcode_libdir_flag_spec \
14884 hardcode_libdir_separator \
14888 variables_saved_for_relink \
14890 library_names_spec \
14892 install_override_mode \
14896 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14897 *[\\\\\\\`\\"\\\$]*)
14898 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14901 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14906 # Double-quote double-evaled strings.
14907 for var in reload_cmds \
14908 old_postinstall_cmds \
14909 old_postuninstall_cmds \
14911 extract_expsyms_cmds \
14912 old_archive_from_new_cmds \
14913 old_archive_from_expsyms_cmds \
14915 archive_expsym_cmds \
14917 module_expsym_cmds \
14918 export_symbols_cmds \
14922 postuninstall_cmds \
14924 sys_lib_search_path_spec \
14925 sys_lib_dlsearch_path_spec; do
14926 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14927 *[\\\\\\\`\\"\\\$]*)
14928 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14931 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14936 ac_aux_dir='$ac_aux_dir'
14937 xsi_shell='$xsi_shell'
14938 lt_shell_append='$lt_shell_append'
14940 # See if we are running on zsh, and set the options which allow our
14941 # commands through without removal of \ escapes INIT.
14942 if test -n "\${ZSH_VERSION+set}" ; then
14943 setopt NO_GLOB_SUBST
14949 TIMESTAMP='$TIMESTAMP'
14958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14960 # Handling of arguments.
14961 for ac_config_target in $ac_config_targets
14963 case $ac_config_target in
14964 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14965 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14966 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14967 "libsoup-2.4.pc") CONFIG_FILES="$CONFIG_FILES libsoup-2.4.pc" ;;
14968 "libsoup-gnome-2.4.pc") CONFIG_FILES="$CONFIG_FILES libsoup-gnome-2.4.pc" ;;
14969 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14970 "libsoup-zip") CONFIG_FILES="$CONFIG_FILES libsoup-zip" ;;
14971 "libsoup/Makefile") CONFIG_FILES="$CONFIG_FILES libsoup/Makefile" ;;
14972 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14973 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
14974 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14975 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14976 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14977 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14978 "libsoup/soup-version.h") CONFIG_FILES="$CONFIG_FILES libsoup/soup-version.h" ;;
14979 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14981 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14986 # If the user did not use the arguments to specify the items to instantiate,
14987 # then the envvar interface is used. Set only those that are not.
14988 # We use the long form for the default assignment because of an extremely
14989 # bizarre bug on SunOS 4.1.3.
14990 if $ac_need_defaults; then
14991 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14992 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14993 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14996 # Have a temporary directory for convenience. Make it in the build tree
14997 # simply because there is no reason against having it here, and in addition,
14998 # creating and moving files from /tmp can sometimes cause problems.
14999 # Hook for its removal unless debugging.
15000 # Note that there is a small window in which the directory will not be cleaned:
15001 # after its creation but before its name has been assigned to `$tmp'.
15005 trap 'exit_status=$?
15006 : "${ac_tmp:=$tmp}"
15007 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15009 trap 'as_fn_exit 1' 1 2 13 15
15011 # Create a (secure) tmp directory for tmp files.
15014 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15018 tmp=./conf$$-$RANDOM
15019 (umask 077 && mkdir "$tmp")
15020 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15023 # Set up the scripts for CONFIG_FILES section.
15024 # No need to generate them if there are no CONFIG_FILES.
15025 # This happens for instance with `./config.status config.h'.
15026 if test -n "$CONFIG_FILES"; then
15029 ac_cr=`echo X | tr X '\015'`
15030 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15031 # But we know of no other shell where ac_cr would be empty at this
15032 # point, so we can use a bashism as a fallback.
15033 if test "x$ac_cr" = x; then
15034 eval ac_cr=\$\'\\r\'
15036 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15037 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15040 ac_cs_awk_cr=$ac_cr
15043 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15048 echo "cat >conf$$subs.awk <<_ACEOF" &&
15049 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15051 } >conf$$subs.sh ||
15052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15053 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15055 for ac_last_try in false false false false false :; do
15056 . ./conf$$subs.sh ||
15057 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15059 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15060 if test $ac_delim_n = $ac_delim_num; then
15062 elif $ac_last_try; then
15063 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15065 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15068 rm -f conf$$subs.sh
15070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15071 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15075 s/^/S["/; s/!.*/"]=/
15085 s/\(.\{148\}\)..*/\1/
15087 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15092 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15099 s/\(.\{148\}\)..*/\1/
15101 s/["\\]/\\&/g; s/^/"/; s/$/"/
15105 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15110 ' <conf$$subs.awk | sed '
15115 ' >>$CONFIG_STATUS || ac_write_fail=1
15116 rm -f conf$$subs.awk
15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15119 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15120 for (key in S) S_is_set[key] = 1
15126 nfields = split(line, field, "@")
15128 len = length(field[1])
15129 for (i = 2; i < nfields; i++) {
15131 keylen = length(key)
15132 if (S_is_set[key]) {
15134 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15135 len += length(value) + length(field[++i])
15146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15147 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15148 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15151 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15152 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15155 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15156 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15157 # trailing colons and then remove the whole line if VPATH becomes empty
15158 # (actually we leave an empty line to preserve line numbers).
15159 if test "x$srcdir" = x.; then
15160 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15179 fi # test -n "$CONFIG_FILES"
15181 # Set up the scripts for CONFIG_HEADERS section.
15182 # No need to generate them if there are no CONFIG_HEADERS.
15183 # This happens for instance with `./config.status Makefile'.
15184 if test -n "$CONFIG_HEADERS"; then
15185 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15189 # Transform confdefs.h into an awk script `defines.awk', embedded as
15190 # here-document in config.status, that substitutes the proper values into
15191 # config.h.in to produce config.h.
15193 # Create a delimiter string that does not exist in confdefs.h, to ease
15194 # handling of long lines.
15196 for ac_last_try in false false :; do
15197 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15198 if test -z "$ac_tt"; then
15200 elif $ac_last_try; then
15201 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15203 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15207 # For the awk script, D is an array of macro values keyed by name,
15208 # likewise P contains macro parameters if any. Preserve backslash
15209 # newline sequences.
15211 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15213 s/.\{148\}/&'"$ac_delim"'/g
15216 s/^[ ]*#[ ]*define[ ][ ]*/ /
15223 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15225 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15229 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15230 D["\1"]=" \3\\\\\\n"\\/p
15232 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15237 s/.\{148\}/&'"$ac_delim"'/g
15242 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15245 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15247 ' <confdefs.h | sed '
15248 s/'"$ac_delim"'/"\\\
15249 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15252 for (key in D) D_is_set[key] = 1
15255 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15257 split(line, arg, " ")
15258 if (arg[1] == "#") {
15262 defundef = substr(arg[1], 2)
15265 split(mac1, mac2, "(") #)
15267 prefix = substr(line, 1, index(line, defundef) - 1)
15268 if (D_is_set[macro]) {
15269 # Preserve the white space surrounding the "#".
15270 print prefix "define", macro P[macro] D[macro]
15273 # Replace #undef with comments. This is necessary, for example,
15274 # in the case of _POSIX_SOURCE, which is predefined and required
15275 # on some systems where configure will not decide to define it.
15276 if (defundef == "undef") {
15277 print "/*", prefix defundef, macro, "*/"
15285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15286 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15287 fi # test -n "$CONFIG_HEADERS"
15290 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15295 :[FHLC]) ac_mode=$ac_tag; continue;;
15297 case $ac_mode$ac_tag in
15299 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15300 :[FH]-) ac_tag=-:-;;
15301 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15318 -) ac_f="$ac_tmp/stdin";;
15319 *) # Look for the file first in the build tree, then in the source tree
15320 # (if the path is not absolute). The absolute path cannot be DOS-style,
15321 # because $ac_f cannot contain `:'.
15325 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15327 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15329 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15330 as_fn_append ac_file_inputs " '$ac_f'"
15333 # Let's still pretend it is `configure' which instantiates (i.e., don't
15334 # use $as_me), people would be surprised to read:
15335 # /* config.h. Generated by config.status. */
15336 configure_input='Generated from '`
15337 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15339 if test x"$ac_file" != x-; then
15340 configure_input="$ac_file. $configure_input"
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15342 $as_echo "$as_me: creating $ac_file" >&6;}
15344 # Neutralize special characters interpreted by sed in replacement strings.
15345 case $configure_input in #(
15346 *\&* | *\|* | *\\* )
15347 ac_sed_conf_input=`$as_echo "$configure_input" |
15348 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15349 *) ac_sed_conf_input=$configure_input;;
15353 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15354 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15359 ac_dir=`$as_dirname -- "$ac_file" ||
15360 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15361 X"$ac_file" : 'X\(//\)[^/]' \| \
15362 X"$ac_file" : 'X\(//\)$' \| \
15363 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15364 $as_echo X"$ac_file" |
15365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15369 /^X\(\/\/\)[^/].*/{
15382 as_dir="$ac_dir"; as_fn_mkdir_p
15386 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15388 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15389 # A ".." for each directory in $ac_dir_suffix.
15390 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15391 case $ac_top_builddir_sub in
15392 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15393 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15396 ac_abs_top_builddir=$ac_pwd
15397 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15398 # for backward compatibility:
15399 ac_top_builddir=$ac_top_build_prefix
15402 .) # We are building in place.
15404 ac_top_srcdir=$ac_top_builddir_sub
15405 ac_abs_top_srcdir=$ac_pwd ;;
15406 [\\/]* | ?:[\\/]* ) # Absolute name.
15407 ac_srcdir=$srcdir$ac_dir_suffix;
15408 ac_top_srcdir=$srcdir
15409 ac_abs_top_srcdir=$srcdir ;;
15410 *) # Relative name.
15411 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15412 ac_top_srcdir=$ac_top_build_prefix$srcdir
15413 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15415 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15425 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15426 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15428 ac_MKDIR_P=$MKDIR_P
15430 [\\/$]* | ?:[\\/]* ) ;;
15431 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15436 # If the template does not know about datarootdir, expand it.
15437 # FIXME: This hack should be removed a few years after 2.60.
15438 ac_datarootdir_hack=; ac_datarootdir_seen=
15449 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15450 *datarootdir*) ac_datarootdir_seen=yes;;
15451 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15453 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15456 ac_datarootdir_hack='
15457 s&@datadir@&$datadir&g
15458 s&@docdir@&$docdir&g
15459 s&@infodir@&$infodir&g
15460 s&@localedir@&$localedir&g
15461 s&@mandir@&$mandir&g
15462 s&\\\${datarootdir}&$datarootdir&g' ;;
15466 # Neutralize VPATH when `$srcdir' = `.'.
15467 # Shell code in configure.ac might set extrasub.
15468 # FIXME: do we really want to maintain this feature?
15469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15470 ac_sed_extra="$ac_vpsub
15473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15476 s|@configure_input@|$ac_sed_conf_input|;t t
15477 s&@top_builddir@&$ac_top_builddir_sub&;t t
15478 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15479 s&@srcdir@&$ac_srcdir&;t t
15480 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15481 s&@top_srcdir@&$ac_top_srcdir&;t t
15482 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15483 s&@builddir@&$ac_builddir&;t t
15484 s&@abs_builddir@&$ac_abs_builddir&;t t
15485 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15486 s&@INSTALL@&$ac_INSTALL&;t t
15487 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15488 $ac_datarootdir_hack
15490 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15491 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15493 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15494 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15495 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15496 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15498 which seems to be undefined. Please make sure it is defined" >&5
15499 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15500 which seems to be undefined. Please make sure it is defined" >&2;}
15502 rm -f "$ac_tmp/stdin"
15504 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15505 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15513 if test x"$ac_file" != x-; then
15515 $as_echo "/* $configure_input */" \
15516 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15517 } >"$ac_tmp/config.h" \
15518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15519 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15521 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15524 mv "$ac_tmp/config.h" "$ac_file" \
15525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15528 $as_echo "/* $configure_input */" \
15529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15530 || as_fn_error $? "could not create -" "$LINENO" 5
15532 # Compute "$ac_file"'s index in $config_headers.
15535 for _am_header in $config_headers :; do
15536 case $_am_header in
15537 $_am_arg | $_am_arg:* )
15540 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15543 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15544 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15545 X"$_am_arg" : 'X\(//\)[^/]' \| \
15546 X"$_am_arg" : 'X\(//\)$' \| \
15547 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15548 $as_echo X"$_am_arg" |
15549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15553 /^X\(\/\/\)[^/].*/{
15565 s/.*/./; q'`/stamp-h$_am_stamp_count
15568 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15569 $as_echo "$as_me: executing $ac_file commands" >&6;}
15574 case $ac_file$ac_mode in
15575 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15576 # Older Autoconf quotes --file arguments for eval, but not when files
15577 # are listed without --file. Let's play safe and only enable the eval
15578 # if we detect the quoting.
15579 case $CONFIG_FILES in
15580 *\'*) eval set x "$CONFIG_FILES" ;;
15581 *) set x $CONFIG_FILES ;;
15586 # Strip MF so we end up with the name of the file.
15587 mf=`echo "$mf" | sed -e 's/:.*$//'`
15588 # Check whether this is an Automake generated Makefile or not.
15589 # We used to match only the files named 'Makefile.in', but
15590 # some people rename them; so instead we look at the file content.
15591 # Grep'ing the first line is not enough: some people post-process
15592 # each Makefile.in and add a new line on top of each file to say so.
15593 # Grep'ing the whole file is not good either: AIX grep has a line
15594 # limit of 2048, but all sed's we know have understand at least 4000.
15595 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15596 dirpart=`$as_dirname -- "$mf" ||
15597 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15598 X"$mf" : 'X\(//\)[^/]' \| \
15599 X"$mf" : 'X\(//\)$' \| \
15600 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15606 /^X\(\/\/\)[^/].*/{
15622 # Extract the definition of DEPDIR, am__include, and am__quote
15623 # from the Makefile without running 'make'.
15624 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15625 test -z "$DEPDIR" && continue
15626 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15627 test -z "$am__include" && continue
15628 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15629 # Find all dependency output files, they are included files with
15630 # $(DEPDIR) in their names. We invoke sed twice because it is the
15631 # simplest approach to changing $(DEPDIR) to its actual value in the
15633 for file in `sed -n "
15634 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15635 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15636 # Make sure the directory exists.
15637 test -f "$dirpart/$file" && continue
15638 fdir=`$as_dirname -- "$file" ||
15639 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15640 X"$file" : 'X\(//\)[^/]' \| \
15641 X"$file" : 'X\(//\)$' \| \
15642 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15643 $as_echo X"$file" |
15644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15648 /^X\(\/\/\)[^/].*/{
15661 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15662 # echo "creating $dirpart/$file"
15663 echo '# dummy' > "$dirpart/$file"
15670 # See if we are running on zsh, and set the options which allow our
15671 # commands through without removal of \ escapes.
15672 if test -n "${ZSH_VERSION+set}" ; then
15673 setopt NO_GLOB_SUBST
15676 cfgfile="${ofile}T"
15677 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15680 cat <<_LT_EOF >> "$cfgfile"
15683 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15684 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15685 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15686 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15688 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15689 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15691 # Written by Gordon Matzigkeit, 1996
15693 # This file is part of GNU Libtool.
15695 # GNU Libtool is free software; you can redistribute it and/or
15696 # modify it under the terms of the GNU General Public License as
15697 # published by the Free Software Foundation; either version 2 of
15698 # the License, or (at your option) any later version.
15700 # As a special exception to the GNU General Public License,
15701 # if you distribute this file as part of a program or library that
15702 # is built using GNU Libtool, you may include this file under the
15703 # same distribution terms that you use for the rest of that program.
15705 # GNU Libtool is distributed in the hope that it will be useful,
15706 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15707 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15708 # GNU General Public License for more details.
15710 # You should have received a copy of the GNU General Public License
15711 # along with GNU Libtool; see the file COPYING. If not, a copy
15712 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15713 # obtained by writing to the Free Software Foundation, Inc.,
15714 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15717 # The names of the tagged configurations supported by this script.
15720 # ### BEGIN LIBTOOL CONFIG
15722 # Which release of libtool.m4 was used?
15723 macro_version=$macro_version
15724 macro_revision=$macro_revision
15726 # Assembler program.
15729 # DLL creation program.
15730 DLLTOOL=$lt_DLLTOOL
15732 # Object dumper program.
15733 OBJDUMP=$lt_OBJDUMP
15735 # Whether or not to build shared libraries.
15736 build_libtool_libs=$enable_shared
15738 # Whether or not to build static libraries.
15739 build_old_libs=$enable_static
15741 # What type of objects to build.
15744 # Whether or not to optimize for fast installation.
15745 fast_install=$enable_fast_install
15747 # Shell to use when invoking shell scripts.
15750 # An echo program that protects backslashes.
15753 # The PATH separator for the build system.
15754 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15757 host_alias=$host_alias
15761 # The build system.
15762 build_alias=$build_alias
15766 # A sed program that does not truncate output.
15769 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15770 Xsed="\$SED -e 1s/^X//"
15772 # A grep program that handles long lines.
15778 # A literal string matcher.
15781 # A BSD- or MS-compatible name lister.
15784 # Whether we need soft or hard links.
15787 # What is the maximum length of a command?
15788 max_cmd_len=$max_cmd_len
15790 # Object file suffix (normally "o").
15793 # Executable file suffix (normally "").
15796 # whether the shell understands "unset".
15799 # turn spaces into newlines.
15802 # turn newlines into spaces.
15805 # convert \$build file names to \$host format.
15806 to_host_file_cmd=$lt_cv_to_host_file_cmd
15808 # convert \$build files to toolchain format.
15809 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15811 # Method to check whether dependent libraries are shared objects.
15812 deplibs_check_method=$lt_deplibs_check_method
15814 # Command to use when deplibs_check_method = "file_magic".
15815 file_magic_cmd=$lt_file_magic_cmd
15817 # How to find potential files when deplibs_check_method = "file_magic".
15818 file_magic_glob=$lt_file_magic_glob
15820 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15821 want_nocaseglob=$lt_want_nocaseglob
15823 # Command to associate shared and link libraries.
15824 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15829 # Flags to create an archive.
15830 AR_FLAGS=$lt_AR_FLAGS
15832 # How to feed a file listing to the archiver.
15833 archiver_list_spec=$lt_archiver_list_spec
15835 # A symbol stripping program.
15838 # Commands used to install an old-style archive.
15840 old_postinstall_cmds=$lt_old_postinstall_cmds
15841 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15843 # Whether to use a lock for old archive extraction.
15844 lock_old_archive_extraction=$lock_old_archive_extraction
15849 # LTCC compiler flags.
15850 LTCFLAGS=$lt_CFLAGS
15852 # Take the output of nm and produce a listing of raw symbols and C names.
15853 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15855 # Transform the output of nm in a proper C declaration.
15856 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15858 # Transform the output of nm in a C name address pair.
15859 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15861 # Transform the output of nm in a C name address pair when lib prefix is needed.
15862 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15864 # Specify filename containing input files for \$NM.
15865 nm_file_list_spec=$lt_nm_file_list_spec
15867 # The root where to search for dependent libraries,and in which our libraries should be installed.
15868 lt_sysroot=$lt_sysroot
15870 # The name of the directory that contains temporary libtool files.
15873 # Used to examine libraries when file_magic_cmd begins with "file".
15874 MAGIC_CMD=$MAGIC_CMD
15876 # Must we lock files when doing compilation?
15877 need_locks=$lt_need_locks
15880 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15882 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15883 DSYMUTIL=$lt_DSYMUTIL
15885 # Tool to change global to local symbols on Mac OS X.
15888 # Tool to manipulate fat objects and archives on Mac OS X.
15891 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15894 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15895 OTOOL64=$lt_OTOOL64
15897 # Old archive suffix (normally "a").
15900 # Shared library suffix (normally ".so").
15901 shrext_cmds=$lt_shrext_cmds
15903 # The commands to extract the exported symbol list from a shared archive.
15904 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15906 # Variables whose values should be saved in libtool wrapper scripts and
15907 # restored at link time.
15908 variables_saved_for_relink=$lt_variables_saved_for_relink
15910 # Do we need the "lib" prefix for modules?
15911 need_lib_prefix=$need_lib_prefix
15913 # Do we need a version for libraries?
15914 need_version=$need_version
15916 # Library versioning type.
15917 version_type=$version_type
15919 # Shared library runtime path variable.
15920 runpath_var=$runpath_var
15922 # Shared library path variable.
15923 shlibpath_var=$shlibpath_var
15925 # Is shlibpath searched before the hard-coded library search path?
15926 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15928 # Format of library name prefix.
15929 libname_spec=$lt_libname_spec
15931 # List of archive names. First name is the real one, the rest are links.
15932 # The last name is the one that the linker finds with -lNAME
15933 library_names_spec=$lt_library_names_spec
15935 # The coded name of the library, if different from the real name.
15936 soname_spec=$lt_soname_spec
15938 # Permission mode override for installation of shared libraries.
15939 install_override_mode=$lt_install_override_mode
15941 # Command to use after installation of a shared archive.
15942 postinstall_cmds=$lt_postinstall_cmds
15944 # Command to use after uninstallation of a shared archive.
15945 postuninstall_cmds=$lt_postuninstall_cmds
15947 # Commands used to finish a libtool library installation in a directory.
15948 finish_cmds=$lt_finish_cmds
15950 # As "finish_cmds", except a single script fragment to be evaled but
15952 finish_eval=$lt_finish_eval
15954 # Whether we should hardcode library paths into libraries.
15955 hardcode_into_libs=$hardcode_into_libs
15957 # Compile-time system search path for libraries.
15958 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15960 # Run-time system search path for libraries.
15961 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15963 # Whether dlopen is supported.
15964 dlopen_support=$enable_dlopen
15966 # Whether dlopen of programs is supported.
15967 dlopen_self=$enable_dlopen_self
15969 # Whether dlopen of statically linked programs is supported.
15970 dlopen_self_static=$enable_dlopen_self_static
15972 # Commands to strip libraries.
15973 old_striplib=$lt_old_striplib
15974 striplib=$lt_striplib
15977 # The linker used to build libraries.
15980 # How to create reloadable object files.
15981 reload_flag=$lt_reload_flag
15982 reload_cmds=$lt_reload_cmds
15984 # Commands used to build an old-style archive.
15985 old_archive_cmds=$lt_old_archive_cmds
15987 # A language specific compiler.
15990 # Is the compiler the GNU compiler?
15993 # Compiler flag to turn off builtin functions.
15994 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15996 # Additional compiler flags for building library objects.
15997 pic_flag=$lt_lt_prog_compiler_pic
15999 # How to pass a linker flag through the compiler.
16000 wl=$lt_lt_prog_compiler_wl
16002 # Compiler flag to prevent dynamic linking.
16003 link_static_flag=$lt_lt_prog_compiler_static
16005 # Does compiler simultaneously support -c and -o options?
16006 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16008 # Whether or not to add -lc for building shared libraries.
16009 build_libtool_need_lc=$archive_cmds_need_lc
16011 # Whether or not to disallow shared libs when runtime libs are static.
16012 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16014 # Compiler flag to allow reflexive dlopens.
16015 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16017 # Compiler flag to generate shared objects directly from archives.
16018 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16020 # Whether the compiler copes with passing no objects directly.
16021 compiler_needs_object=$lt_compiler_needs_object
16023 # Create an old-style archive from a shared archive.
16024 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16026 # Create a temporary old-style archive to link instead of a shared archive.
16027 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16029 # Commands used to build a shared archive.
16030 archive_cmds=$lt_archive_cmds
16031 archive_expsym_cmds=$lt_archive_expsym_cmds
16033 # Commands used to build a loadable module if different from building
16034 # a shared archive.
16035 module_cmds=$lt_module_cmds
16036 module_expsym_cmds=$lt_module_expsym_cmds
16038 # Whether we are building with GNU ld or not.
16039 with_gnu_ld=$lt_with_gnu_ld
16041 # Flag that allows shared libraries with undefined symbols to be built.
16042 allow_undefined_flag=$lt_allow_undefined_flag
16044 # Flag that enforces no undefined symbols.
16045 no_undefined_flag=$lt_no_undefined_flag
16047 # Flag to hardcode \$libdir into a binary during linking.
16048 # This must work even if \$libdir does not exist
16049 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16051 # Whether we need a single "-rpath" flag with a separated argument.
16052 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16054 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16055 # DIR into the resulting binary.
16056 hardcode_direct=$hardcode_direct
16058 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16059 # DIR into the resulting binary and the resulting library dependency is
16060 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16061 # library is relocated.
16062 hardcode_direct_absolute=$hardcode_direct_absolute
16064 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16065 # into the resulting binary.
16066 hardcode_minus_L=$hardcode_minus_L
16068 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16069 # into the resulting binary.
16070 hardcode_shlibpath_var=$hardcode_shlibpath_var
16072 # Set to "yes" if building a shared library automatically hardcodes DIR
16073 # into the library and all subsequent libraries and executables linked
16075 hardcode_automatic=$hardcode_automatic
16077 # Set to yes if linker adds runtime paths of dependent libraries
16078 # to runtime path list.
16079 inherit_rpath=$inherit_rpath
16081 # Whether libtool must link a program against all its dependency libraries.
16082 link_all_deplibs=$link_all_deplibs
16084 # Set to "yes" if exported symbols are required.
16085 always_export_symbols=$always_export_symbols
16087 # The commands to list exported symbols.
16088 export_symbols_cmds=$lt_export_symbols_cmds
16090 # Symbols that should not be listed in the preloaded symbols.
16091 exclude_expsyms=$lt_exclude_expsyms
16093 # Symbols that must always be exported.
16094 include_expsyms=$lt_include_expsyms
16096 # Commands necessary for linking programs (against libraries) with templates.
16097 prelink_cmds=$lt_prelink_cmds
16099 # Commands necessary for finishing linking programs.
16100 postlink_cmds=$lt_postlink_cmds
16102 # Specify filename containing input files.
16103 file_list_spec=$lt_file_list_spec
16105 # How to hardcode a shared library path into an executable.
16106 hardcode_action=$hardcode_action
16108 # ### END LIBTOOL CONFIG
16114 cat <<\_LT_EOF >> "$cfgfile"
16115 # AIX sometimes has problems with the GCC collect2 program. For some
16116 # reason, if we set the COLLECT_NAMES environment variable, the problems
16117 # vanish in a puff of smoke.
16118 if test "X${COLLECT_NAMES+set}" != Xset; then
16120 export COLLECT_NAMES
16127 ltmain="$ac_aux_dir/ltmain.sh"
16130 # We use sed instead of cat because bash on DJGPP gets confused if
16131 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16132 # text mode, it properly converts lines to CR/LF. This bash problem
16133 # is reportedly fixed, but why not run on old versions too?
16134 sed '$q' "$ltmain" >> "$cfgfile" \
16135 || (rm -f "$cfgfile"; exit 1)
16137 if test x"$xsi_shell" = xyes; then
16138 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16142 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16143 \ * ) func_dirname_result="${3}" ;;\
16145 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16146 && mv -f "$cfgfile.tmp" "$cfgfile" \
16147 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16148 test 0 -eq $? || _lt_function_replace_fail=:
16151 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16154 \ func_basename_result="${1##*/}"\
16155 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16156 && mv -f "$cfgfile.tmp" "$cfgfile" \
16157 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16158 test 0 -eq $? || _lt_function_replace_fail=:
16161 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16162 func_dirname_and_basename ()\
16165 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16166 \ * ) func_dirname_result="${3}" ;;\
16168 \ func_basename_result="${1##*/}"\
16169 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16170 && mv -f "$cfgfile.tmp" "$cfgfile" \
16171 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16172 test 0 -eq $? || _lt_function_replace_fail=:
16175 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16178 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16179 \ # positional parameters, so assign one to ordinary parameter first.\
16180 \ func_stripname_result=${3}\
16181 \ func_stripname_result=${func_stripname_result#"${1}"}\
16182 \ func_stripname_result=${func_stripname_result%"${2}"}\
16183 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16184 && mv -f "$cfgfile.tmp" "$cfgfile" \
16185 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16186 test 0 -eq $? || _lt_function_replace_fail=:
16189 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16190 func_split_long_opt ()\
16192 \ func_split_long_opt_name=${1%%=*}\
16193 \ func_split_long_opt_arg=${1#*=}\
16194 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16195 && mv -f "$cfgfile.tmp" "$cfgfile" \
16196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16197 test 0 -eq $? || _lt_function_replace_fail=:
16200 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16201 func_split_short_opt ()\
16203 \ func_split_short_opt_arg=${1#??}\
16204 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16205 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16206 && mv -f "$cfgfile.tmp" "$cfgfile" \
16207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16208 test 0 -eq $? || _lt_function_replace_fail=:
16211 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16215 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16216 \ *) func_lo2o_result=${1} ;;\
16218 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16219 && mv -f "$cfgfile.tmp" "$cfgfile" \
16220 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16221 test 0 -eq $? || _lt_function_replace_fail=:
16224 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16227 func_xform_result=${1%.*}.lo\
16228 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16229 && mv -f "$cfgfile.tmp" "$cfgfile" \
16230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16231 test 0 -eq $? || _lt_function_replace_fail=:
16234 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16237 func_arith_result=$(( $* ))\
16238 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16239 && mv -f "$cfgfile.tmp" "$cfgfile" \
16240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16241 test 0 -eq $? || _lt_function_replace_fail=:
16244 sed -e '/^func_len ()$/,/^} # func_len /c\
16247 func_len_result=${#1}\
16248 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16249 && mv -f "$cfgfile.tmp" "$cfgfile" \
16250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16251 test 0 -eq $? || _lt_function_replace_fail=:
16255 if test x"$lt_shell_append" = xyes; then
16256 sed -e '/^func_append ()$/,/^} # func_append /c\
16259 eval "${1}+=\\${2}"\
16260 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16261 && mv -f "$cfgfile.tmp" "$cfgfile" \
16262 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16263 test 0 -eq $? || _lt_function_replace_fail=:
16266 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16267 func_append_quoted ()\
16269 \ func_quote_for_eval "${2}"\
16270 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16271 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16272 && mv -f "$cfgfile.tmp" "$cfgfile" \
16273 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16274 test 0 -eq $? || _lt_function_replace_fail=:
16277 # Save a `func_append' function call where possible by direct use of '+='
16278 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16279 && mv -f "$cfgfile.tmp" "$cfgfile" \
16280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16281 test 0 -eq $? || _lt_function_replace_fail=:
16283 # Save a `func_append' function call even when '+=' is not available
16284 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16285 && mv -f "$cfgfile.tmp" "$cfgfile" \
16286 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16287 test 0 -eq $? || _lt_function_replace_fail=:
16290 if test x"$_lt_function_replace_fail" = x":"; then
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16292 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16296 mv -f "$cfgfile" "$ofile" ||
16297 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16302 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16303 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16305 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16310 '"s|^| $ac_top_srcdir/|" \
16311 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16313 sed '/^POTFILES =/,/[^\\]$/ {
16317 ' "po/Makefile.in" >"po/Makefile"
16318 rm -f "po/Makefile.tmp"
16319 mv "po/stamp-it.tmp" "po/stamp-it"
16328 ac_clean_files=$ac_clean_files_save
16330 test $ac_write_fail = 0 ||
16331 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16334 # configure is writing to config.log, and then calls config.status.
16335 # config.status does its own redirection, appending to config.log.
16336 # Unfortunately, on DOS this fails, as config.log is still kept open
16337 # by configure, so config.status won't be able to write to it; its
16338 # output is simply discarded. So we exec the FD to /dev/null,
16339 # effectively closing config.log, so it can be properly (re)opened and
16340 # appended to by config.status. When coming back to configure, we
16341 # need to make the FD available again.
16342 if test "$no_create" != yes; then
16344 ac_config_status_args=
16345 test "$silent" = yes &&
16346 ac_config_status_args="$ac_config_status_args --quiet"
16348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16351 # would make configure fail if this is the last instruction.
16352 $ac_cs_success || as_fn_exit 1
16354 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16356 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}