2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-dlna 0.10.2.
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 # Use only awk features that work with 7th edition Unix awk (1978).
572 # My, what an old awk you have, Mr. Solaris!
574 while (length(v1) && length(v2)) {
575 # Set d1 to be the next thing to compare from v1, and likewise for d2.
576 # Normally this is a single character, but if v1 and v2 contain digits,
577 # compare them as integers and fractions as strverscmp does.
578 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579 # Split v1 and v2 into their leading digit string components d1 and d2,
580 # and advance v1 and v2 past the leading digit strings.
581 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
587 # Compare two fractions.
588 while (d1 ~ /^0/ && d2 ~ /^0/) {
589 d1 = substr(d1, 2); len1--
590 d2 = substr(d2, 2); len2--
592 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593 # The two components differ in length, and the common prefix
594 # contains only leading zeros. Consider the longer to be less.
598 # Otherwise, compare as strings.
603 # A fraction is less than an integer.
608 # An integer is greater than a fraction.
611 # Compare two integers.
617 # The normal case, without worrying about digits.
618 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
624 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625 # which mishandles some comparisons of empty strings to integers.
626 if (length(v2)) exit 1
627 if (length(v1)) exit 2
631 test -n "$DJDIR" || exec 7<&0 </dev/null
635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636 # so uname gets run too.
637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
642 ac_default_prefix=/usr/local
644 ac_config_libobj_dir=.
651 # Identity of this package.
652 PACKAGE_NAME='gupnp-dlna'
653 PACKAGE_TARNAME='gupnp-dlna'
654 PACKAGE_VERSION='0.10.2'
655 PACKAGE_STRING='gupnp-dlna 0.10.2'
656 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna'
657 PACKAGE_URL='http://www.gupnp.org/'
659 ac_unique_file="libgupnp-dlna/gupnp-dlna-profile.h"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
673 # ifdef HAVE_STDLIB_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
696 ac_subst_vars='am__EXEEXT_FALSE
704 GTK_DOC_USE_REBASE_FALSE
705 GTK_DOC_USE_REBASE_TRUE
706 GTK_DOC_USE_LIBTOOL_FALSE
707 GTK_DOC_USE_LIBTOOL_TRUE
708 GTK_DOC_BUILD_PDF_FALSE
709 GTK_DOC_BUILD_PDF_TRUE
710 GTK_DOC_BUILD_HTML_FALSE
711 GTK_DOC_BUILD_HTML_TRUE
723 HAVE_INTROSPECTION_FALSE
724 HAVE_INTROSPECTION_TRUE
725 INTROSPECTION_MAKEFILE
728 INTROSPECTION_TYPELIBDIR
730 INTROSPECTION_GENERATE
731 INTROSPECTION_COMPILER
732 INTROSPECTION_SCANNER
739 GUPNP_DLNA_METADATA_BACKEND_CFLAGS
741 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE
742 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE
743 GST_LEGACY_MAJORMINOR
745 GST_PBU_LEGACY_CFLAGS
748 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE
749 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE
808 GUPNP_DLNA_VERSION_INFO
814 MAINTAINER_MODE_FALSE
824 INSTALL_STRIP_PROGRAM
866 program_transform_name
879 enable_option_checking
880 enable_maintainer_mode
882 enable_dependency_tracking
890 with_default_metadata_backend
891 enable_gstreamer_metadata_backend
892 enable_legacy_gstreamer_metadata_backend
893 with_default_metadata_backend_dir
901 ac_precious_vars='build_alias
921 GST_PBU_LEGACY_CFLAGS
933 # Initialize some variables set by options.
935 ac_init_version=false
936 ac_unrecognized_opts=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name=s,x,x,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir='${exec_prefix}/bin'
962 sbindir='${exec_prefix}/sbin'
963 libexecdir='${exec_prefix}/libexec'
964 datarootdir='${prefix}/share'
965 datadir='${datarootdir}'
966 sysconfdir='${prefix}/etc'
967 sharedstatedir='${prefix}/com'
968 localstatedir='${prefix}/var'
969 includedir='${prefix}/include'
970 oldincludedir='/usr/include'
971 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
972 infodir='${datarootdir}/info'
977 libdir='${exec_prefix}/lib'
978 localedir='${datarootdir}/locale'
979 mandir='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\$ac_option
993 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1004 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1007 bindir=$ac_optarg ;;
1009 -build | --build | --buil | --bui | --bu)
1010 ac_prev=build_alias ;;
1011 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1012 build_alias=$ac_optarg ;;
1014 -cache-file | --cache-file | --cache-fil | --cache-fi \
1015 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1016 ac_prev=cache_file ;;
1017 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1018 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1019 cache_file=$ac_optarg ;;
1021 --config-cache | -C)
1022 cache_file=config.cache ;;
1024 -datadir | --datadir | --datadi | --datad)
1026 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1027 datadir=$ac_optarg ;;
1029 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1030 | --dataroo | --dataro | --datar)
1031 ac_prev=datarootdir ;;
1032 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1033 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1034 datarootdir=$ac_optarg ;;
1036 -disable-* | --disable-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid feature name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_$ac_useropt"
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval enable_$ac_useropt=no ;;
1052 -docdir | --docdir | --docdi | --doc | --do)
1054 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1055 docdir=$ac_optarg ;;
1057 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1059 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1060 dvidir=$ac_optarg ;;
1062 -enable-* | --enable-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error $? "invalid feature name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_$ac_useropt"
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1076 eval enable_$ac_useropt=\$ac_optarg ;;
1078 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1079 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1080 | --exec | --exe | --ex)
1081 ac_prev=exec_prefix ;;
1082 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1083 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1084 | --exec=* | --exe=* | --ex=*)
1085 exec_prefix=$ac_optarg ;;
1087 -gas | --gas | --ga | --g)
1088 # Obsolete; use --with-gas.
1091 -help | --help | --hel | --he | -h)
1092 ac_init_help=long ;;
1093 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1094 ac_init_help=recursive ;;
1095 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1096 ac_init_help=short ;;
1098 -host | --host | --hos | --ho)
1099 ac_prev=host_alias ;;
1100 -host=* | --host=* | --hos=* | --ho=*)
1101 host_alias=$ac_optarg ;;
1103 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107 htmldir=$ac_optarg ;;
1109 -includedir | --includedir | --includedi | --included | --include \
1110 | --includ | --inclu | --incl | --inc)
1111 ac_prev=includedir ;;
1112 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1113 | --includ=* | --inclu=* | --incl=* | --inc=*)
1114 includedir=$ac_optarg ;;
1116 -infodir | --infodir | --infodi | --infod | --info | --inf)
1118 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1119 infodir=$ac_optarg ;;
1121 -libdir | --libdir | --libdi | --libd)
1123 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1124 libdir=$ac_optarg ;;
1126 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1127 | --libexe | --libex | --libe)
1128 ac_prev=libexecdir ;;
1129 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1130 | --libexe=* | --libex=* | --libe=*)
1131 libexecdir=$ac_optarg ;;
1133 -localedir | --localedir | --localedi | --localed | --locale)
1134 ac_prev=localedir ;;
1135 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1136 localedir=$ac_optarg ;;
1138 -localstatedir | --localstatedir | --localstatedi | --localstated \
1139 | --localstate | --localstat | --localsta | --localst | --locals)
1140 ac_prev=localstatedir ;;
1141 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1142 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1143 localstatedir=$ac_optarg ;;
1145 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1148 mandir=$ac_optarg ;;
1150 -nfp | --nfp | --nf)
1151 # Obsolete; use --without-fp.
1154 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1155 | --no-cr | --no-c | -n)
1158 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1159 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1163 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1164 | --oldin | --oldi | --old | --ol | --o)
1165 ac_prev=oldincludedir ;;
1166 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1167 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1168 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1169 oldincludedir=$ac_optarg ;;
1171 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1174 prefix=$ac_optarg ;;
1176 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1177 | --program-pre | --program-pr | --program-p)
1178 ac_prev=program_prefix ;;
1179 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1180 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1181 program_prefix=$ac_optarg ;;
1183 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1184 | --program-suf | --program-su | --program-s)
1185 ac_prev=program_suffix ;;
1186 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1187 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1188 program_suffix=$ac_optarg ;;
1190 -program-transform-name | --program-transform-name \
1191 | --program-transform-nam | --program-transform-na \
1192 | --program-transform-n | --program-transform- \
1193 | --program-transform | --program-transfor \
1194 | --program-transfo | --program-transf \
1195 | --program-trans | --program-tran \
1196 | --progr-tra | --program-tr | --program-t)
1197 ac_prev=program_transform_name ;;
1198 -program-transform-name=* | --program-transform-name=* \
1199 | --program-transform-nam=* | --program-transform-na=* \
1200 | --program-transform-n=* | --program-transform-=* \
1201 | --program-transform=* | --program-transfor=* \
1202 | --program-transfo=* | --program-transf=* \
1203 | --program-trans=* | --program-tran=* \
1204 | --progr-tra=* | --program-tr=* | --program-t=*)
1205 program_transform_name=$ac_optarg ;;
1207 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1210 pdfdir=$ac_optarg ;;
1212 -psdir | --psdir | --psdi | --psd | --ps)
1214 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1221 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225 sbindir=$ac_optarg ;;
1227 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1228 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1229 | --sharedst | --shareds | --shared | --share | --shar \
1231 ac_prev=sharedstatedir ;;
1232 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1233 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1234 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236 sharedstatedir=$ac_optarg ;;
1238 -site | --site | --sit)
1240 -site=* | --site=* | --sit=*)
1243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1246 srcdir=$ac_optarg ;;
1248 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1249 | --syscon | --sysco | --sysc | --sys | --sy)
1250 ac_prev=sysconfdir ;;
1251 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1252 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1253 sysconfdir=$ac_optarg ;;
1255 -target | --target | --targe | --targ | --tar | --ta | --t)
1256 ac_prev=target_alias ;;
1257 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1258 target_alias=$ac_optarg ;;
1260 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263 -version | --version | --versio | --versi | --vers | -V)
1264 ac_init_version=: ;;
1267 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270 as_fn_error $? "invalid package name: $ac_useropt"
1271 ac_useropt_orig=$ac_useropt
1272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1278 ac_unrecognized_sep=', ';;
1280 eval with_$ac_useropt=\$ac_optarg ;;
1282 -without-* | --without-*)
1283 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1286 as_fn_error $? "invalid package name: $ac_useropt"
1287 ac_useropt_orig=$ac_useropt
1288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1294 ac_unrecognized_sep=', ';;
1296 eval with_$ac_useropt=no ;;
1299 # Obsolete; use --with-x.
1302 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1303 | --x-incl | --x-inc | --x-in | --x-i)
1304 ac_prev=x_includes ;;
1305 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1306 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1307 x_includes=$ac_optarg ;;
1309 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1310 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1311 ac_prev=x_libraries ;;
1312 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1313 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1314 x_libraries=$ac_optarg ;;
1316 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1317 Try \`$0 --help' for more information"
1321 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 case $ac_envvar in #(
1324 '' | [0-9]* | *[!_$as_cr_alnum]* )
1325 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1327 eval $ac_envvar=\$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1341 if test -n "$ac_prev"; then
1342 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1343 as_fn_error $? "missing argument to $ac_option"
1346 if test -n "$ac_unrecognized_opts"; then
1347 case $enable_option_checking in
1349 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val=\$$ac_var
1361 # Remove trailing slashes.
1364 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$]* | ?:[\\/]* ) continue;;
1370 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1372 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1375 # There might be people who depend on the old broken behavior: `$host'
1376 # used to hold the argument of --host etc.
1377 # FIXME: To remove some day.
1380 target=$target_alias
1382 # FIXME: To remove some day.
1383 if test "x$host_alias" != x; then
1384 if test "x$build_alias" = x; then
1385 cross_compiling=maybe
1386 elif test "x$build_alias" != "x$host_alias"; then
1392 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1394 test "$silent" = yes && exec 6>/dev/null
1397 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1398 ac_ls_di=`ls -di .` &&
1399 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1400 as_fn_error $? "working directory cannot be determined"
1401 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1402 as_fn_error $? "pwd does not report name of working directory"
1405 # Find the source files, if location was not specified.
1406 if test -z "$srcdir"; then
1407 ac_srcdir_defaulted=yes
1408 # Try the directory containing this script, then the parent directory.
1409 ac_confdir=`$as_dirname -- "$as_myself" ||
1410 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1411 X"$as_myself" : 'X\(//\)[^/]' \| \
1412 X"$as_myself" : 'X\(//\)$' \| \
1413 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1414 $as_echo X"$as_myself" |
1415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1433 if test ! -r "$srcdir/$ac_unique_file"; then
1437 ac_srcdir_defaulted=no
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1440 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1441 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1443 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1447 # When building in place, set srcdir=.
1448 if test "$ac_abs_confdir" = "$ac_pwd"; then
1451 # Remove unnecessary trailing slashes from srcdir.
1452 # Double slashes in file names in object file debugging info
1453 # mess up M-x gdb in Emacs.
1455 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1457 for ac_var in $ac_precious_vars; do
1458 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1459 eval ac_env_${ac_var}_value=\$${ac_var}
1460 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1461 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1465 # Report the --help message.
1467 if test "$ac_init_help" = "long"; then
1468 # Omit some internal or obsolete options to make the list less imposing.
1469 # This message is too long to be a string in the A/UX 3.1 sh.
1471 \`configure' configures gupnp-dlna 0.10.2 to adapt to many kinds of systems.
1473 Usage: $0 [OPTION]... [VAR=VALUE]...
1475 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1476 VAR=VALUE. See below for descriptions of some of the useful variables.
1478 Defaults for the options are specified in brackets.
1481 -h, --help display this help and exit
1482 --help=short display options specific to this package
1483 --help=recursive display the short help of all the included packages
1484 -V, --version display version information and exit
1485 -q, --quiet, --silent do not print \`checking ...' messages
1486 --cache-file=FILE cache test results in FILE [disabled]
1487 -C, --config-cache alias for \`--cache-file=config.cache'
1488 -n, --no-create do not create output files
1489 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1491 Installation directories:
1492 --prefix=PREFIX install architecture-independent files in PREFIX
1493 [$ac_default_prefix]
1494 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1497 By default, \`make install' will install all the files in
1498 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1499 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1500 for instance \`--prefix=\$HOME'.
1502 For better control, use the options below.
1504 Fine tuning of the installation directories:
1505 --bindir=DIR user executables [EPREFIX/bin]
1506 --sbindir=DIR system admin executables [EPREFIX/sbin]
1507 --libexecdir=DIR program executables [EPREFIX/libexec]
1508 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1509 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1510 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1511 --libdir=DIR object code libraries [EPREFIX/lib]
1512 --includedir=DIR C header files [PREFIX/include]
1513 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1514 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1515 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1516 --infodir=DIR info documentation [DATAROOTDIR/info]
1517 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1518 --mandir=DIR man documentation [DATAROOTDIR/man]
1519 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp-dlna]
1520 --htmldir=DIR html documentation [DOCDIR]
1521 --dvidir=DIR dvi documentation [DOCDIR]
1522 --pdfdir=DIR pdf documentation [DOCDIR]
1523 --psdir=DIR ps documentation [DOCDIR]
1529 --program-prefix=PREFIX prepend PREFIX to installed program names
1530 --program-suffix=SUFFIX append SUFFIX to installed program names
1531 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1534 --build=BUILD configure for building on BUILD [guessed]
1535 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1539 if test -n "$ac_init_help"; then
1540 case $ac_init_help in
1541 short | recursive ) echo "Configuration of gupnp-dlna 0.10.2:";;
1546 --disable-option-checking ignore unrecognized --enable/--with options
1547 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1548 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1549 --disable-maintainer-mode disable make rules and dependencies not useful
1550 (and sometimes confusing) to the casual installer
1551 --enable-silent-rules less verbose build output (undo: `make V=1')
1552 --disable-silent-rules verbose build output (undo: `make V=0')
1553 --disable-dependency-tracking speeds up one-time build
1554 --enable-dependency-tracking do not reject slow dependency extractors
1555 --enable-shared[=PKGS] build shared libraries [default=yes]
1556 --enable-static[=PKGS] build static libraries [default=yes]
1557 --enable-fast-install[=PKGS]
1558 optimize for fast installation [default=yes]
1559 --disable-libtool-lock avoid locking (might break parallel builds)
1560 --enable-gstreamer-metadata-backend
1561 build a GStreamer metadata backend [default=auto]
1562 --enable-legacy-gstreamer-metadata-backend
1563 build a GStreamer 0.10 metadata backend [default=no]
1564 --enable-debug enable debugging [default=no]
1565 --enable-introspection=[no/auto/yes]
1566 Enable introspection for this build
1567 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1568 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1569 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1576 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1577 --with-sysroot=DIR Search for dependent libraries within DIR
1578 (or the compiler's sysroot if not specified).
1579 --with-default-metadata-backend=your_backend
1580 set a default metadata backend [default=gstreamer]
1581 --with-default-metadata-backend-dir=your_directory
1582 set a default metadata backend directory
1583 [default=$libdir/$PACKAGE_NAME]
1584 --with-html-dir=PATH path to installed docs
1586 Some influential environment variables:
1587 CC C compiler command
1588 CFLAGS C compiler flags
1589 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1590 nonstandard directory <lib dir>
1591 LIBS libraries to pass to the linker, e.g. -l<library>
1592 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1593 you have headers in a nonstandard directory <include dir>
1595 PKG_CONFIG path to pkg-config utility
1597 directories to add to pkg-config's search path
1599 path overriding pkg-config's built-in search path
1601 C compiler flags for LIBXML, overriding pkg-config
1602 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1603 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1604 GST_LIBS linker flags for GST, overriding pkg-config
1606 C compiler flags for GST_PBU, overriding pkg-config
1608 linker flags for GST_PBU, overriding pkg-config
1610 C compiler flags for GST_LEGACY, overriding pkg-config
1612 linker flags for GST_LEGACY, overriding pkg-config
1613 GST_PBU_LEGACY_CFLAGS
1614 C compiler flags for GST_PBU_LEGACY, overriding pkg-config
1616 linker flags for GST_PBU_LEGACY, overriding pkg-config
1617 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1618 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1620 C compiler flags for GOBJECT, overriding pkg-config
1622 linker flags for GOBJECT, overriding pkg-config
1624 C compiler flags for GMODULE, overriding pkg-config
1626 linker flags for GMODULE, overriding pkg-config
1628 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1630 linker flags for GTKDOC_DEPS, overriding pkg-config
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
1636 gupnp-dlna home page: <http://www.gupnp.org/>.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1666 .) # We are building in place.
1668 ac_top_srcdir=$ac_top_builddir_sub
1669 ac_abs_top_srcdir=$ac_pwd ;;
1670 [\\/]* | ?:[\\/]* ) # Absolute name.
1671 ac_srcdir=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir=$srcdir
1673 ac_abs_top_srcdir=$srcdir ;;
1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" || { ac_status=$?; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" || { ac_status=$?; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1699 gupnp-dlna configure 0.10.2
1700 generated by GNU Autoconf 2.69
1702 Copyright (C) 2012 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_compile
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } > conftest.i && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status $ac_retval
1788 # ac_fn_c_try_run LINENO
1789 # ----------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1791 # that executables *can* be run.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 if { { ac_try="$ac_link"
1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>&5
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1806 { { case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_try") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; }; }; then :
1818 $as_echo "$as_me: program exited with status $ac_status" >&5
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1822 ac_retval=$ac_status
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status $ac_retval
1830 # ac_fn_c_try_link LINENO
1831 # -----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext conftest$ac_exeext
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>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 test -x conftest$ac_exeext
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_c_try_link
1876 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1877 # -------------------------------------------------------
1878 # Tests whether HEADER exists and can be compiled using the include files in
1879 # INCLUDES, setting the cache variable VAR accordingly.
1880 ac_fn_c_check_header_compile ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886 $as_echo_n "(cached) " >&6
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1893 if ac_fn_c_try_compile "$LINENO"; then :
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 } # ac_fn_c_check_header_compile
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_func
1973 cat >config.log <<_ACEOF
1974 This file contains any messages produced by compilers while
1975 running configure, to aid debugging if configure makes a mistake.
1977 It was created by gupnp-dlna $as_me 0.10.2, which was
1978 generated by GNU Autoconf 2.69. Invocation command line was
1990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1997 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1999 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2000 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2002 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2003 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2004 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2005 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 $as_echo "PATH: $as_dir"
2030 # Keep a trace of the command line.
2031 # Strip out --no-create and --no-recursion so they do not pile up.
2032 # Strip out --silent because we don't want to record it for future runs.
2033 # Also quote any args containing shell meta-characters.
2034 # Make two passes to allow for proper duplicate-argument suppression.
2038 ac_must_keep_next=false
2044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2046 | -silent | --silent | --silen | --sile | --sil)
2049 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2052 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2054 as_fn_append ac_configure_args1 " '$ac_arg'"
2055 if test $ac_must_keep_next = true; then
2056 ac_must_keep_next=false # Got value, back to normal.
2059 *=* | --config-cache | -C | -disable-* | --disable-* \
2060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2062 | -with-* | --with-* | -without-* | --without-* | --x)
2063 case "$ac_configure_args0 " in
2064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2067 -* ) ac_must_keep_next=true ;;
2070 as_fn_append ac_configure_args " '$ac_arg'"
2075 { ac_configure_args0=; unset ac_configure_args0;}
2076 { ac_configure_args1=; unset ac_configure_args1;}
2078 # When interrupted or exit'd, cleanup temporary files, and complete
2079 # config.log. We remove comments because anyway the quotes in there
2080 # would cause problems or look ugly.
2081 # WARNING: Use '\'' to represent an apostrophe within the trap.
2082 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2083 trap 'exit_status=$?
2084 # Save into config.log some information that might help in debugging.
2088 $as_echo "## ---------------- ##
2089 ## Cache variables. ##
2090 ## ---------------- ##"
2092 # The following way of writing the cache mishandles newlines in values,
2094 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2095 eval ac_val=\$$ac_var
2099 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2103 _ | IFS | as_nl) ;; #(
2104 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2105 *) { eval $ac_var=; unset $ac_var;} ;;
2110 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2111 *${as_nl}ac_space=\ *)
2113 "s/'\''/'\''\\\\'\'''\''/g;
2114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2124 $as_echo "## ----------------- ##
2125 ## Output variables. ##
2126 ## ----------------- ##"
2128 for ac_var in $ac_subst_vars
2130 eval ac_val=\$$ac_var
2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2138 if test -n "$ac_subst_files"; then
2139 $as_echo "## ------------------- ##
2140 ## File substitutions. ##
2141 ## ------------------- ##"
2143 for ac_var in $ac_subst_files
2145 eval ac_val=\$$ac_var
2147 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149 $as_echo "$ac_var='\''$ac_val'\''"
2154 if test -s confdefs.h; then
2155 $as_echo "## ----------- ##
2162 test "$ac_signal" != 0 &&
2163 $as_echo "$as_me: caught signal $ac_signal"
2164 $as_echo "$as_me: exit $exit_status"
2166 rm -f core *.core core.conftest.* &&
2167 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2170 for ac_signal in 1 2 13 15; do
2171 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2176 rm -f -r conftest* confdefs.h
2178 $as_echo "/* confdefs.h */" > confdefs.h
2180 # Predefined preprocessor variables.
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_NAME "$PACKAGE_NAME"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_STRING "$PACKAGE_STRING"
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_URL "$PACKAGE_URL"
2207 # Let the site file select an alternate cache file if it wants to.
2208 # Prefer an explicitly selected file to automatically selected ones.
2211 if test -n "$CONFIG_SITE"; then
2212 # We do not want a PATH search for config.site.
2213 case $CONFIG_SITE in #((
2214 -*) ac_site_file1=./$CONFIG_SITE;;
2215 */*) ac_site_file1=$CONFIG_SITE;;
2216 *) ac_site_file1=./$CONFIG_SITE;;
2218 elif test "x$prefix" != xNONE; then
2219 ac_site_file1=$prefix/share/config.site
2220 ac_site_file2=$prefix/etc/config.site
2222 ac_site_file1=$ac_default_prefix/share/config.site
2223 ac_site_file2=$ac_default_prefix/etc/config.site
2225 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2227 test "x$ac_site_file" = xNONE && continue
2228 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2230 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2233 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235 as_fn_error $? "failed to load site script $ac_site_file
2236 See \`config.log' for more details" "$LINENO" 5; }
2240 if test -r "$cache_file"; then
2241 # Some versions of bash will fail to source /dev/null (special files
2242 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2243 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2245 $as_echo "$as_me: loading cache $cache_file" >&6;}
2247 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2248 *) . "./$cache_file";;
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2253 $as_echo "$as_me: creating cache $cache_file" >&6;}
2257 # Check that the precious variables saved in the cache have kept the same
2259 ac_cache_corrupted=false
2260 for ac_var in $ac_precious_vars; do
2261 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2262 eval ac_new_set=\$ac_env_${ac_var}_set
2263 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2264 eval ac_new_val=\$ac_env_${ac_var}_value
2265 case $ac_old_set,$ac_new_set in
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2268 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2272 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2273 ac_cache_corrupted=: ;;
2276 if test "x$ac_old_val" != "x$ac_new_val"; then
2277 # differences in whitespace do not lead to failure.
2278 ac_old_val_w=`echo x $ac_old_val`
2279 ac_new_val_w=`echo x $ac_new_val`
2280 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2282 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2283 ac_cache_corrupted=:
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2286 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2287 eval $ac_var=\$ac_old_val
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2290 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2292 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2295 # Pass precious variables to config.status.
2296 if test "$ac_new_set" = set; then
2298 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2299 *) ac_arg=$ac_var=$ac_new_val ;;
2301 case " $ac_configure_args " in
2302 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2303 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2307 if $ac_cache_corrupted; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2311 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2312 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2314 ## -------------------- ##
2315 ## Main body of script. ##
2316 ## -------------------- ##
2319 ac_cpp='$CPP $CPPFLAGS'
2320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2326 ac_config_headers="$ac_config_headers config.h"
2331 for ac_dir in build-aux "$srcdir"/build-aux; do
2332 if test -f "$ac_dir/install-sh"; then
2334 ac_install_sh="$ac_aux_dir/install-sh -c"
2336 elif test -f "$ac_dir/install.sh"; then
2338 ac_install_sh="$ac_aux_dir/install.sh -c"
2340 elif test -f "$ac_dir/shtool"; then
2342 ac_install_sh="$ac_aux_dir/shtool install -c"
2346 if test -z "$ac_aux_dir"; then
2347 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2350 # These three variables are undocumented and unsupported,
2351 # and are intended to be withdrawn in a future Autoconf release.
2352 # They can cause serious problems if a builder's source tree is in a directory
2353 # whose full name contains unusual characters.
2354 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2355 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2356 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 am__api_version='1.11'
2362 # Find a good install program. We prefer a C program (faster),
2363 # so one script is as good as another. But avoid the broken or
2364 # incompatible versions:
2365 # SysV /etc/install, /usr/sbin/install
2366 # SunOS /usr/etc/install
2367 # IRIX /sbin/install
2369 # AmigaOS /C/install, which installs bootblocks on floppy discs
2370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2373 # OS/2's system install, which has a completely different semantic
2374 # ./install, which can be erroneously created by make from ./install.sh.
2375 # Reject install programs that cannot install multiple files.
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2378 if test -z "$INSTALL"; then
2379 if ${ac_cv_path_install+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 # Account for people who put trailing slashes in PATH elements.
2388 case $as_dir/ in #((
2389 ./ | .// | /[cC]/* | \
2390 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2391 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2394 # OSF1 and SCO ODT 3.0 have their own names for install.
2395 # Don't use installbsd from OSF since it installs stuff as root
2397 for ac_prog in ginstall scoinst install; do
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2400 if test $ac_prog = install &&
2401 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402 # AIX install. It has an incompatible calling convention.
2404 elif test $ac_prog = install &&
2405 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2406 # program-specific install script used by HP pwplus--don't use.
2409 rm -rf conftest.one conftest.two conftest.dir
2410 echo one > conftest.one
2411 echo two > conftest.two
2413 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2414 test -s conftest.one && test -s conftest.two &&
2415 test -s conftest.dir/conftest.one &&
2416 test -s conftest.dir/conftest.two
2418 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2431 rm -rf conftest.one conftest.two conftest.dir
2434 if test "${ac_cv_path_install+set}" = set; then
2435 INSTALL=$ac_cv_path_install
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for INSTALL within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 INSTALL=$ac_install_sh
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2445 $as_echo "$INSTALL" >&6; }
2447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2448 # It thinks the first close brace ends the variable substitution.
2449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2456 $as_echo_n "checking whether build environment is sane... " >&6; }
2459 echo timestamp > conftest.file
2460 # Reject unsafe characters in $srcdir or the absolute working directory
2461 # name. Accept space and tab only in the latter.
2465 *[\\\"\#\$\&\'\`$am_lf]*)
2466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2470 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2473 # Do `set' in a subshell so we don't clobber the current shell's
2474 # arguments. Must try -L first in case configure is actually a
2475 # symlink; some systems play weird games with the mod time of symlinks
2476 # (eg FreeBSD returns the mod time of the symlink's containing
2479 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2480 if test "$*" = "X"; then
2482 set X `ls -t "$srcdir/configure" conftest.file`
2485 if test "$*" != "X $srcdir/configure conftest.file" \
2486 && test "$*" != "X conftest.file $srcdir/configure"; then
2488 # If neither matched, then we have a broken ls. This can happen
2489 # if, for instance, CONFIG_SHELL is bash and it inherits a
2490 # broken ls alias from the environment. This has actually
2491 # happened. Such a system could not be considered "sane".
2492 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2493 alias in your environment" "$LINENO" 5
2496 test "$2" = conftest.file
2502 as_fn_error $? "newly created file is older than distributed files!
2503 Check your system clock" "$LINENO" 5
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2506 $as_echo "yes" >&6; }
2507 test "$program_prefix" != NONE &&
2508 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2509 # Use a double $ so make ignores it.
2510 test "$program_suffix" != NONE &&
2511 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2512 # Double any \ or $.
2513 # By default was `s,x,x', remove it if useless.
2514 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2515 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2517 # expand $ac_aux_dir to an absolute path
2518 am_aux_dir=`cd $ac_aux_dir && pwd`
2520 if test x"${MISSING+set}" != xset; then
2523 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2525 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2528 # Use eval to expand $SHELL
2529 if eval "$MISSING --run true"; then
2530 am_missing_run="$MISSING --run "
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2534 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2537 if test x"${install_sh}" != xset; then
2540 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2542 install_sh="\${SHELL} $am_aux_dir/install-sh"
2546 # Installed binaries are usually stripped using `strip' when the user
2547 # run `make install-strip'. However `strip' might not be the right
2548 # tool to use in cross-compilation environments, therefore Automake
2549 # will honor the `STRIP' environment variable to overrule this program.
2550 if test "$cross_compiling" != no; then
2551 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2553 set dummy ${ac_tool_prefix}strip; ac_word=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if ${ac_cv_prog_STRIP+:} false; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$STRIP"; then
2560 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 STRIP=$ac_cv_prog_STRIP
2580 if test -n "$STRIP"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2582 $as_echo "$STRIP" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2590 if test -z "$ac_cv_prog_STRIP"; then
2592 # Extract the first word of "strip", so it can be a program name with args.
2593 set dummy strip; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$ac_ct_STRIP"; then
2600 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_ac_ct_STRIP="strip"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2620 if test -n "$ac_ct_STRIP"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2622 $as_echo "$ac_ct_STRIP" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2628 if test "x$ac_ct_STRIP" = x; then
2631 case $cross_compiling:$ac_tool_warned in
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2635 ac_tool_warned=yes ;;
2640 STRIP="$ac_cv_prog_STRIP"
2644 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2647 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2648 if test -z "$MKDIR_P"; then
2649 if ${ac_cv_path_mkdir+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2656 test -z "$as_dir" && as_dir=.
2657 for ac_prog in mkdir gmkdir; do
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2660 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2661 'mkdir (GNU coreutils) '* | \
2662 'mkdir (coreutils) '* | \
2663 'mkdir (fileutils) '4.1*)
2664 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2674 test -d ./--version && rmdir ./--version
2675 if test "${ac_cv_path_mkdir+set}" = set; then
2676 MKDIR_P="$ac_cv_path_mkdir -p"
2678 # As a last resort, use the slow shell script. Don't cache a
2679 # value for MKDIR_P within a source directory, because that will
2680 # break other packages using the cache if that directory is
2681 # removed, or if the value is a relative name.
2682 MKDIR_P="$ac_install_sh -d"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2686 $as_echo "$MKDIR_P" >&6; }
2690 [\\/$]* | ?:[\\/]*) ;;
2691 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2694 for ac_prog in gawk mawk nawk awk
2696 # Extract the first word of "$ac_prog", so it can be a program name with args.
2697 set dummy $ac_prog; ac_word=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if ${ac_cv_prog_AWK+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$AWK"; then
2704 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2713 ac_cv_prog_AWK="$ac_prog"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test -n "$AWK"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2726 $as_echo "$AWK" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2733 test -n "$AWK" && break
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2737 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2739 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2740 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2741 $as_echo_n "(cached) " >&6
2743 cat >conftest.make <<\_ACEOF
2746 @echo '@@@%%%=$(MAKE)=@@@%%%'
2748 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2749 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2751 eval ac_cv_prog_make_${ac_make}_set=yes;;
2753 eval ac_cv_prog_make_${ac_make}_set=no;;
2757 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759 $as_echo "yes" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 SET_MAKE="MAKE=${MAKE-make}"
2767 rm -rf .tst 2>/dev/null
2768 mkdir .tst 2>/dev/null
2769 if test -d .tst; then
2774 rmdir .tst 2>/dev/null
2776 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2777 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2778 # is not polluted with repeated "-I."
2779 am__isrc=' -I$(srcdir)'
2780 # test to see if srcdir already configured
2781 if test -f $srcdir/config.status; then
2782 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2786 # test whether we have cygpath
2787 if test -z "$CYGPATH_W"; then
2788 if (cygpath --version) >/dev/null 2>/dev/null; then
2789 CYGPATH_W='cygpath -w'
2796 # Define the identity of the package.
2797 PACKAGE='gupnp-dlna'
2801 cat >>confdefs.h <<_ACEOF
2802 #define PACKAGE "$PACKAGE"
2806 cat >>confdefs.h <<_ACEOF
2807 #define VERSION "$VERSION"
2810 # Some tools Automake needs.
2812 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2815 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2818 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2821 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2824 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2826 # We need awk for the "check" target. The system "awk" is bad on
2828 # Always define AMTAR for backward compatibility. Yes, it's still used
2829 # in the wild :-( We should find a proper way to deprecate it ...
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2834 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2835 # Loop over all known methods to create a tar archive until one works.
2836 _am_tools='gnutar plaintar pax cpio none'
2837 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2838 # Do not fold the above two line into one, because Tru64 sh and
2839 # Solaris sh will not grok spaces in the rhs of `-'.
2840 for _am_tool in $_am_tools
2844 for _am_tar in tar gnutar gtar;
2846 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2847 ($_am_tar --version) >&5 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } && break
2852 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2853 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2854 am__untar="$_am_tar -xf -"
2857 # Must skip GNU tar: if it does not support --format= it doesn't create
2858 # ustar tarball either.
2859 (tar --version) >/dev/null 2>&1 && continue
2860 am__tar='tar chf - "$$tardir"'
2861 am__tar_='tar chf - "$tardir"'
2862 am__untar='tar xf -'
2865 am__tar='pax -L -x ustar -w "$$tardir"'
2866 am__tar_='pax -L -x ustar -w "$tardir"'
2870 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2871 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2872 am__untar='cpio -i -H ustar -d'
2881 # If the value was cached, stop now. We just wanted to have am__tar
2882 # and am__untar set.
2883 test -n "${am_cv_prog_tar_ustar}" && break
2885 # tar/untar a dummy directory, and stop if the command works
2888 echo GrepMe > conftest.dir/file
2889 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2890 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2895 if test -s conftest.tar; then
2896 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2897 ($am__untar <conftest.tar) >&5 2>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }
2901 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2906 if ${am_cv_prog_tar_ustar+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 am_cv_prog_tar_ustar=$_am_tool
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2913 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2921 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2922 # Check whether --enable-maintainer-mode was given.
2923 if test "${enable_maintainer_mode+set}" = set; then :
2924 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2926 USE_MAINTAINER_MODE=yes
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2930 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2931 if test $USE_MAINTAINER_MODE = yes; then
2932 MAINTAINER_MODE_TRUE=
2933 MAINTAINER_MODE_FALSE='#'
2935 MAINTAINER_MODE_TRUE='#'
2936 MAINTAINER_MODE_FALSE=
2939 MAINT=$MAINTAINER_MODE_TRUE
2943 # Check whether --enable-silent-rules was given.
2944 if test "${enable_silent_rules+set}" = set; then :
2945 enableval=$enable_silent_rules;
2948 case $enable_silent_rules in
2949 yes) AM_DEFAULT_VERBOSITY=0;;
2950 no) AM_DEFAULT_VERBOSITY=1;;
2951 *) AM_DEFAULT_VERBOSITY=0;;
2953 am_make=${MAKE-make}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2955 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2956 if ${am_cv_make_support_nested_variables+:} false; then :
2957 $as_echo_n "(cached) " >&6
2959 if $as_echo 'TRUE=$(BAR$(V))
2965 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2966 am_cv_make_support_nested_variables=yes
2968 am_cv_make_support_nested_variables=no
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2972 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2973 if test $am_cv_make_support_nested_variables = yes; then
2975 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2977 AM_V=$AM_DEFAULT_VERBOSITY
2978 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2983 GUPNP_DLNA_CURRENT=3
2985 GUPNP_DLNA_REVISION=0
2989 GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE"
2992 # Check for programs
2994 ac_cpp='$CPP $CPPFLAGS'
2995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998 if test -n "$ac_tool_prefix"; then
2999 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if ${ac_cv_prog_CC+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC="$CC" # Let the user override the test.
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3016 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 if test -n "$CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029 $as_echo "$CC" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3037 if test -z "$ac_cv_prog_CC"; then
3039 # Extract the first word of "gcc", so it can be a program name with args.
3040 set dummy gcc; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$ac_ct_CC"; then
3047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_ac_ct_CC="gcc"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3067 if test -n "$ac_ct_CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3069 $as_echo "$ac_ct_CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3075 if test "x$ac_ct_CC" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3082 ac_tool_warned=yes ;;
3090 if test -z "$CC"; then
3091 if test -n "$ac_tool_prefix"; then
3092 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3093 set dummy ${ac_tool_prefix}cc; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_CC+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_CC="${ac_tool_prefix}cc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3131 if test -z "$CC"; then
3132 # Extract the first word of "cc", so it can be a program name with args.
3133 set dummy cc; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CC+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3151 ac_prog_rejected=yes
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test $ac_prog_rejected = yes; then
3163 # We found a bogon in the path, so make sure we never use it.
3164 set dummy $ac_cv_prog_CC
3166 if test $# != 0; then
3167 # We chose a different compiler from the bogus one.
3168 # However, it has the same basename, so the bogon will be chosen
3169 # first if we set CC to just the basename; use the full file name.
3171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3177 if test -n "$CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 $as_echo "$CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3187 if test -z "$CC"; then
3188 if test -n "$ac_tool_prefix"; then
3189 for ac_prog in cl.exe
3191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_CC+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$CC"; then
3199 ac_cv_prog_CC="$CC" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 if test -n "$CC"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3221 $as_echo "$CC" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3228 test -n "$CC" && break
3231 if test -z "$CC"; then
3233 for ac_prog in cl.exe
3235 # Extract the first word of "$ac_prog", so it can be a program name with args.
3236 set dummy $ac_prog; ac_word=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 if test -n "$ac_ct_CC"; then
3243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_ac_ct_CC="$ac_prog"
3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3263 if test -n "$ac_ct_CC"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3265 $as_echo "$ac_ct_CC" >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3272 test -n "$ac_ct_CC" && break
3275 if test "x$ac_ct_CC" = x; then
3278 case $cross_compiling:$ac_tool_warned in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3291 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $? "no acceptable C compiler found in \$PATH
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 # Provide some information about the compiler.
3297 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3300 for ac_option in --version -v -V -qversion; do
3301 { { ac_try="$ac_compiler $ac_option >&5"
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3310 if test -s conftest.err; then
3312 ... rest of stderr output deleted ...
3313 10q' conftest.err >conftest.er1
3314 cat conftest.er1 >&5
3316 rm -f conftest.er1 conftest.err
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 ac_clean_files_save=$ac_clean_files
3333 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3334 # Try to create an executable without -o first, disregard a.out.
3335 # It will help us diagnose broken compilers, and finding out an intuition
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3338 $as_echo_n "checking whether the C compiler works... " >&6; }
3339 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3341 # The possible output files:
3342 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3345 for ac_file in $ac_files
3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3349 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3354 if { { ac_try="$ac_link_default"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_link_default") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3366 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3367 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3368 # so that the user can short-circuit this test for compilers unknown to
3370 for ac_file in $ac_files ''
3372 test -f "$ac_file" || continue
3374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3377 # We found the default executable, but exeext='' is most
3381 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3383 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 # We set ac_cv_exeext here because the later test for it is not
3386 # safe: cross compilers may not add the suffix if given an `-o'
3387 # argument, so we may need to know it at that point already.
3388 # Even if this section looks crufty: it has the advantage of
3395 test "$ac_cv_exeext" = no && ac_cv_exeext=
3400 if test -z "$ac_file"; then :
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error 77 "C compiler cannot create executables
3409 See \`config.log' for more details" "$LINENO" 5; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3412 $as_echo "yes" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3415 $as_echo_n "checking for C compiler default output file name... " >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3417 $as_echo "$ac_file" >&6; }
3418 ac_exeext=$ac_cv_exeext
3420 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3421 ac_clean_files=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3423 $as_echo_n "checking for suffix of executables... " >&6; }
3424 if { { ac_try="$ac_link"
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430 $as_echo "$ac_try_echo"; } >&5
3431 (eval "$ac_link") 2>&5
3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434 test $ac_status = 0; }; then :
3435 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3436 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3437 # work properly (i.e., refer to `conftest.exe'), while it won't with
3439 for ac_file in conftest.exe conftest conftest.*; do
3440 test -f "$ac_file" || continue
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3443 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3452 See \`config.log' for more details" "$LINENO" 5; }
3454 rm -f conftest conftest$ac_cv_exeext
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3456 $as_echo "$ac_cv_exeext" >&6; }
3458 rm -f conftest.$ac_ext
3459 EXEEXT=$ac_cv_exeext
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3467 FILE *f = fopen ("conftest.out", "w");
3468 return ferror (f) || fclose (f) != 0;
3474 ac_clean_files="$ac_clean_files conftest.out"
3475 # Check that the compiler produces executables we can run. If not, either
3476 # the compiler is broken, or we cross compile.
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3478 $as_echo_n "checking whether we are cross compiling... " >&6; }
3479 if test "$cross_compiling" != yes; then
3480 { { ac_try="$ac_link"
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_link") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }
3491 if { ac_try='./conftest$ac_cv_exeext'
3492 { { case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_try") 2>&5
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; }; then
3504 if test "$cross_compiling" = maybe; then
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot run C compiled programs.
3510 If you meant to cross compile, use \`--host'.
3511 See \`config.log' for more details" "$LINENO" 5; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3516 $as_echo "$cross_compiling" >&6; }
3518 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3519 ac_clean_files=$ac_clean_files_save
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3521 $as_echo_n "checking for suffix of object files... " >&6; }
3522 if ${ac_cv_objext+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 rm -f conftest.o conftest.obj
3537 if { { ac_try="$ac_compile"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_compile") 2>&5
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 for ac_file in conftest.o conftest.obj conftest.*; do
3549 test -f "$ac_file" || continue;
3551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error $? "cannot compute suffix of object files: cannot compile
3563 See \`config.log' for more details" "$LINENO" 5; }
3565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3568 $as_echo "$ac_cv_objext" >&6; }
3569 OBJEXT=$ac_cv_objext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3572 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3573 if ${ac_cv_c_compiler_gnu+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3590 if ac_fn_c_try_compile "$LINENO"; then :
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3600 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3601 if test $ac_compiler_gnu = yes; then
3606 ac_test_CFLAGS=${CFLAGS+set}
3607 ac_save_CFLAGS=$CFLAGS
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3609 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3610 if ${ac_cv_prog_cc_g+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 ac_save_c_werror_flag=$ac_c_werror_flag
3614 ac_c_werror_flag=yes
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 if ac_fn_c_try_compile "$LINENO"; then :
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3643 if ac_fn_c_try_compile "$LINENO"; then :
3646 ac_c_werror_flag=$ac_save_c_werror_flag
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 ac_c_werror_flag=$ac_save_c_werror_flag
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3670 $as_echo "$ac_cv_prog_cc_g" >&6; }
3671 if test "$ac_test_CFLAGS" = set; then
3672 CFLAGS=$ac_save_CFLAGS
3673 elif test $ac_cv_prog_cc_g = yes; then
3674 if test "$GCC" = yes; then
3680 if test "$GCC" = yes; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3688 if ${ac_cv_prog_cc_c89+:} false; then :
3689 $as_echo_n "(cached) " >&6
3691 ac_cv_prog_cc_c89=no
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3699 struct buf { int x; };
3700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3701 static char *e (p, i)
3707 static char *f (char * (*g) (char **, int), char **p, ...)
3712 s = g (p, va_arg (v,int));
3717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3718 function prototypes and stuff, but not '\xHH' hex character constants.
3719 These don't provoke an error unfortunately, instead are silently treated
3720 as 'x'. The following induces an error, until -std is added to get
3721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3722 array size at least. It's necessary to write '\x00'==0 to get something
3723 that's true only with -std. */
3724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3727 inside strings and character constants. */
3729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3731 int test (int i, double x);
3732 struct s1 {int (*f) (int a);};
3733 struct s2 {int (*f) (double a);};
3734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3748 CC="$ac_save_CC $ac_arg"
3749 if ac_fn_c_try_compile "$LINENO"; then :
3750 ac_cv_prog_cc_c89=$ac_arg
3752 rm -f core conftest.err conftest.$ac_objext
3753 test "x$ac_cv_prog_cc_c89" != "xno" && break
3755 rm -f conftest.$ac_ext
3760 case "x$ac_cv_prog_cc_c89" in
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3763 $as_echo "none needed" >&6; } ;;
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3766 $as_echo "unsupported" >&6; } ;;
3768 CC="$CC $ac_cv_prog_cc_c89"
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3770 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3772 if test "x$ac_cv_prog_cc_c89" != xno; then :
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 DEPDIR="${am__leading_dot}deps"
3783 ac_config_commands="$ac_config_commands depfiles"
3786 am_make=${MAKE-make}
3787 cat > confinc << 'END'
3789 @echo this is the am__doit target
3792 # If we don't find an include directive, just comment out the code.
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3794 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3798 # First try GNU make style include.
3799 echo "include confinc" > confmf
3800 # Ignore all kinds of additional output from `make'.
3801 case `$am_make -s -f confmf 2> /dev/null` in #(
3802 *the\ am__doit\ target*)
3808 # Now try BSD make style include.
3809 if test "$am__include" = "#"; then
3810 echo '.include "confinc"' > confmf
3811 case `$am_make -s -f confmf 2> /dev/null` in #(
3812 *the\ am__doit\ target*)
3813 am__include=.include
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3822 $as_echo "$_am_result" >&6; }
3823 rm -f confinc confmf
3825 # Check whether --enable-dependency-tracking was given.
3826 if test "${enable_dependency_tracking+set}" = set; then :
3827 enableval=$enable_dependency_tracking;
3830 if test "x$enable_dependency_tracking" != xno; then
3831 am_depcomp="$ac_aux_dir/depcomp"
3835 if test "x$enable_dependency_tracking" != xno; then
3845 depcc="$CC" am_compiler_list=
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3848 $as_echo_n "checking dependency style of $depcc... " >&6; }
3849 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3853 # We make a subdir and do the tests there. Otherwise we can end up
3854 # making bogus files that we don't know about and never remove. For
3855 # instance it was reported that on HP-UX the gcc test will end up
3856 # making a dummy file named `D' -- because `-MD' means `put the output
3860 # Copy depcomp to subdir because otherwise we won't find it if we're
3861 # using a relative directory.
3862 cp "$am_depcomp" conftest.dir
3864 # We will build objects and dependencies in a subdirectory because
3865 # it helps to detect inapplicable dependency modes. For instance
3866 # both Tru64's cc and ICC support -MD to output dependencies as a
3867 # side effect of compilation, but ICC will put the dependencies in
3868 # the current directory while Tru64 will put them in the object
3872 am_cv_CC_dependencies_compiler_type=none
3873 if test "$am_compiler_list" = ""; then
3874 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3877 case " $depcc " in #(
3878 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3881 for depmode in $am_compiler_list; do
3882 # Setup a source with many dependencies, because some compilers
3883 # like to wrap large dependency lists on column 80 (with \), and
3884 # we should not choose a depcomp mode which is confused by this.
3886 # We need to recreate these files for each test, as the compiler may
3887 # overwrite some of them when testing with obscure command lines.
3888 # This happens at least with the AIX C compiler.
3890 for i in 1 2 3 4 5 6; do
3891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3893 # Solaris 8's {/usr,}/bin/sh.
3894 touch sub/conftst$i.h
3896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3898 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3899 # mode. It turns out that the SunPro C++ compiler does not properly
3900 # handle `-M -o', and we need to detect this. Also, some Intel
3901 # versions had trouble with output in subdirs
3902 am__obj=sub/conftest.${OBJEXT-o}
3903 am__minus_obj="-o $am__obj"
3906 # This depmode causes a compiler race in universal mode.
3907 test "$am__universal" = false || continue
3910 # after this tag, mechanisms are not by side-effect, so they'll
3911 # only be used when explicitly requested
3912 if test "x$enable_dependency_tracking" = xyes; then
3918 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3919 # This compiler won't grok `-c -o', but also, the minuso test has
3920 # not run yet. These depmodes are late enough in the game, and
3921 # so weak that their functioning should not be impacted.
3922 am__obj=conftest.${OBJEXT-o}
3927 if depmode=$depmode \
3928 source=sub/conftest.c object=$am__obj \
3929 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3930 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3931 >/dev/null 2>conftest.err &&
3932 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3933 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3934 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3935 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3936 # icc doesn't choke on unknown options, it will just issue warnings
3937 # or remarks (even with -Werror). So we grep stderr for any message
3938 # that says an option was ignored or not supported.
3939 # When given -MP, icc 7.0 and 7.1 complain thusly:
3940 # icc: Command line warning: ignoring option '-M'; no argument required
3941 # The diagnosis changed in icc 8.0:
3942 # icc: Command line remark: option '-MP' not supported
3943 if (grep 'ignoring option' conftest.err ||
3944 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3945 am_cv_CC_dependencies_compiler_type=$depmode
3954 am_cv_CC_dependencies_compiler_type=none
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3959 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3960 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3963 test "x$enable_dependency_tracking" != xno \
3964 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3966 am__fastdepCC_FALSE='#'
3968 am__fastdepCC_TRUE='#'
3969 am__fastdepCC_FALSE=
3975 ac_cpp='$CPP $CPPFLAGS'
3976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3980 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3981 # On Suns, sometimes $CPP names a directory.
3982 if test -n "$CPP" && test -d "$CPP"; then
3985 if test -z "$CPP"; then
3986 if ${ac_cv_prog_CPP+:} false; then :
3987 $as_echo_n "(cached) " >&6
3989 # Double quotes because CPP needs to be expanded
3990 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3993 for ac_c_preproc_warn_flag in '' yes
3995 # Use a header file that comes with gcc, so configuring glibc
3996 # with a fresh cross-compiler works.
3997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998 # <limits.h> exists even on freestanding compilers.
3999 # On the NeXT, cc -E runs the code through the compiler's parser,
4000 # not just through cpp. "Syntax error" is here to catch this case.
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 # include <limits.h>
4006 # include <assert.h>
4010 if ac_fn_c_try_cpp "$LINENO"; then :
4013 # Broken: fails on valid input.
4016 rm -f conftest.err conftest.i conftest.$ac_ext
4018 # OK, works on sane cases. Now check whether nonexistent headers
4019 # can be detected and how.
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <ac_nonexistent.h>
4024 if ac_fn_c_try_cpp "$LINENO"; then :
4025 # Broken: success on invalid input.
4028 # Passes both tests.
4032 rm -f conftest.err conftest.i conftest.$ac_ext
4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036 rm -f conftest.i conftest.err conftest.$ac_ext
4037 if $ac_preproc_ok; then :
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4050 $as_echo "$CPP" >&6; }
4052 for ac_c_preproc_warn_flag in '' yes
4054 # Use a header file that comes with gcc, so configuring glibc
4055 # with a fresh cross-compiler works.
4056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4057 # <limits.h> exists even on freestanding compilers.
4058 # On the NeXT, cc -E runs the code through the compiler's parser,
4059 # not just through cpp. "Syntax error" is here to catch this case.
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4063 # include <limits.h>
4065 # include <assert.h>
4069 if ac_fn_c_try_cpp "$LINENO"; then :
4072 # Broken: fails on valid input.
4075 rm -f conftest.err conftest.i conftest.$ac_ext
4077 # OK, works on sane cases. Now check whether nonexistent headers
4078 # can be detected and how.
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <ac_nonexistent.h>
4083 if ac_fn_c_try_cpp "$LINENO"; then :
4084 # Broken: success on invalid input.
4087 # Passes both tests.
4091 rm -f conftest.err conftest.i conftest.$ac_ext
4094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4095 rm -f conftest.i conftest.err conftest.$ac_ext
4096 if $ac_preproc_ok; then :
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4102 See \`config.log' for more details" "$LINENO" 5; }
4106 ac_cpp='$CPP $CPPFLAGS'
4107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4114 if ${ac_cv_path_GREP+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -z "$GREP"; then
4118 ac_path_GREP_found=false
4119 # Loop through the user's path and test for each of PROGNAME-LIST
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4124 test -z "$as_dir" && as_dir=.
4125 for ac_prog in grep ggrep; do
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4128 as_fn_executable_p "$ac_path_GREP" || continue
4129 # Check for GNU ac_path_GREP and select it if it is found.
4130 # Check for GNU $ac_path_GREP
4131 case `"$ac_path_GREP" --version 2>&1` in
4133 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4136 $as_echo_n 0123456789 >"conftest.in"
4139 cat "conftest.in" "conftest.in" >"conftest.tmp"
4140 mv "conftest.tmp" "conftest.in"
4141 cp "conftest.in" "conftest.nl"
4142 $as_echo 'GREP' >> "conftest.nl"
4143 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4144 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4145 as_fn_arith $ac_count + 1 && ac_count=$as_val
4146 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4147 # Best one so far, save it but keep looking for a better one
4148 ac_cv_path_GREP="$ac_path_GREP"
4149 ac_path_GREP_max=$ac_count
4151 # 10*(2^10) chars as input seems more than enough
4152 test $ac_count -gt 10 && break
4154 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4157 $ac_path_GREP_found && break 3
4162 if test -z "$ac_cv_path_GREP"; then
4163 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4166 ac_cv_path_GREP=$GREP
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4171 $as_echo "$ac_cv_path_GREP" >&6; }
4172 GREP="$ac_cv_path_GREP"
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4176 $as_echo_n "checking for egrep... " >&6; }
4177 if ${ac_cv_path_EGREP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4181 then ac_cv_path_EGREP="$GREP -E"
4183 if test -z "$EGREP"; then
4184 ac_path_EGREP_found=false
4185 # Loop through the user's path and test for each of PROGNAME-LIST
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4190 test -z "$as_dir" && as_dir=.
4191 for ac_prog in egrep; do
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4194 as_fn_executable_p "$ac_path_EGREP" || continue
4195 # Check for GNU ac_path_EGREP and select it if it is found.
4196 # Check for GNU $ac_path_EGREP
4197 case `"$ac_path_EGREP" --version 2>&1` in
4199 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4202 $as_echo_n 0123456789 >"conftest.in"
4205 cat "conftest.in" "conftest.in" >"conftest.tmp"
4206 mv "conftest.tmp" "conftest.in"
4207 cp "conftest.in" "conftest.nl"
4208 $as_echo 'EGREP' >> "conftest.nl"
4209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4211 as_fn_arith $ac_count + 1 && ac_count=$as_val
4212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4213 # Best one so far, save it but keep looking for a better one
4214 ac_cv_path_EGREP="$ac_path_EGREP"
4215 ac_path_EGREP_max=$ac_count
4217 # 10*(2^10) chars as input seems more than enough
4218 test $ac_count -gt 10 && break
4220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4223 $ac_path_EGREP_found && break 3
4228 if test -z "$ac_cv_path_EGREP"; then
4229 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4232 ac_cv_path_EGREP=$EGREP
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4238 $as_echo "$ac_cv_path_EGREP" >&6; }
4239 EGREP="$ac_cv_path_EGREP"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4243 $as_echo_n "checking for ANSI C header files... " >&6; }
4244 if ${ac_cv_header_stdc+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_header_stdc=yes
4265 ac_cv_header_stdc=no
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 if test $ac_cv_header_stdc = yes; then
4270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4277 $EGREP "memchr" >/dev/null 2>&1; then :
4280 ac_cv_header_stdc=no
4286 if test $ac_cv_header_stdc = yes; then
4287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4294 $EGREP "free" >/dev/null 2>&1; then :
4297 ac_cv_header_stdc=no
4303 if test $ac_cv_header_stdc = yes; then
4304 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4305 if test "$cross_compiling" = yes; then :
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4312 #if ((' ' & 0x0FF) == 0x020)
4313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4316 # define ISLOWER(c) \
4317 (('a' <= (c) && (c) <= 'i') \
4318 || ('j' <= (c) && (c) <= 'r') \
4319 || ('s' <= (c) && (c) <= 'z'))
4320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4328 for (i = 0; i < 256; i++)
4329 if (XOR (islower (i), ISLOWER (i))
4330 || toupper (i) != TOUPPER (i))
4335 if ac_fn_c_try_run "$LINENO"; then :
4338 ac_cv_header_stdc=no
4340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4341 conftest.$ac_objext conftest.beam conftest.$ac_ext
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4347 $as_echo "$ac_cv_header_stdc" >&6; }
4348 if test $ac_cv_header_stdc = yes; then
4350 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4355 # Initialize libtool
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4360 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4365 macro_version='2.4.2'
4366 macro_revision='1.3337'
4380 ltmain="$ac_aux_dir/ltmain.sh"
4382 # Make sure we can run config.sub.
4383 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4384 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4387 $as_echo_n "checking build system type... " >&6; }
4388 if ${ac_cv_build+:} false; then :
4389 $as_echo_n "(cached) " >&6
4391 ac_build_alias=$build_alias
4392 test "x$ac_build_alias" = x &&
4393 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4394 test "x$ac_build_alias" = x &&
4395 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4396 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4397 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4401 $as_echo "$ac_cv_build" >&6; }
4402 case $ac_cv_build in
4404 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4407 ac_save_IFS=$IFS; IFS='-'
4413 # Remember, the first character of IFS is used to create $*,
4414 # except with old shells:
4417 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4421 $as_echo_n "checking host system type... " >&6; }
4422 if ${ac_cv_host+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test "x$host_alias" = x; then
4426 ac_cv_host=$ac_cv_build
4428 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4429 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4434 $as_echo "$ac_cv_host" >&6; }
4437 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4440 ac_save_IFS=$IFS; IFS='-'
4446 # Remember, the first character of IFS is used to create $*,
4447 # except with old shells:
4450 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4453 # Backslashify metacharacters that are still active within
4454 # double-quoted strings.
4455 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4457 # Same as above, but do not quote variable references.
4458 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4460 # Sed substitution to delay expansion of an escaped shell variable in a
4461 # double_quote_subst'ed string.
4462 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4464 # Sed substitution to delay expansion of an escaped single quote.
4465 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4467 # Sed substitution to avoid accidental globbing in evaled expressions
4468 no_glob_subst='s/\*/\\\*/g'
4470 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4472 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4475 $as_echo_n "checking how to print strings... " >&6; }
4476 # Test print first, because it will be a builtin if present.
4477 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4478 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4480 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4483 # Use this function as a fallback that always works.
4484 func_fallback_echo ()
4486 eval 'cat <<_LTECHO_EOF
4490 ECHO='func_fallback_echo'
4493 # func_echo_all arg...
4494 # Invoke $ECHO with all args, space-separated.
4501 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4502 $as_echo "printf" >&6; } ;;
4503 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4504 $as_echo "print -r" >&6; } ;;
4505 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4506 $as_echo "cat" >&6; } ;;
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4523 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4524 if ${ac_cv_path_SED+:} false; then :
4525 $as_echo_n "(cached) " >&6
4527 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4528 for ac_i in 1 2 3 4 5 6 7; do
4529 ac_script="$ac_script$as_nl$ac_script"
4531 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4532 { ac_script=; unset ac_script;}
4533 if test -z "$SED"; then
4534 ac_path_SED_found=false
4535 # Loop through the user's path and test for each of PROGNAME-LIST
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir=.
4541 for ac_prog in sed gsed; do
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4544 as_fn_executable_p "$ac_path_SED" || continue
4545 # Check for GNU ac_path_SED and select it if it is found.
4546 # Check for GNU $ac_path_SED
4547 case `"$ac_path_SED" --version 2>&1` in
4549 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4552 $as_echo_n 0123456789 >"conftest.in"
4555 cat "conftest.in" "conftest.in" >"conftest.tmp"
4556 mv "conftest.tmp" "conftest.in"
4557 cp "conftest.in" "conftest.nl"
4558 $as_echo '' >> "conftest.nl"
4559 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4561 as_fn_arith $ac_count + 1 && ac_count=$as_val
4562 if test $ac_count -gt ${ac_path_SED_max-0}; then
4563 # Best one so far, save it but keep looking for a better one
4564 ac_cv_path_SED="$ac_path_SED"
4565 ac_path_SED_max=$ac_count
4567 # 10*(2^10) chars as input seems more than enough
4568 test $ac_count -gt 10 && break
4570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4573 $ac_path_SED_found && break 3
4578 if test -z "$ac_cv_path_SED"; then
4579 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4587 $as_echo "$ac_cv_path_SED" >&6; }
4588 SED="$ac_cv_path_SED"
4591 test -z "$SED" && SED=sed
4592 Xsed="$SED -e 1s/^X//"
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4605 $as_echo_n "checking for fgrep... " >&6; }
4606 if ${ac_cv_path_FGREP+:} false; then :
4607 $as_echo_n "(cached) " >&6
4609 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4610 then ac_cv_path_FGREP="$GREP -F"
4612 if test -z "$FGREP"; then
4613 ac_path_FGREP_found=false
4614 # Loop through the user's path and test for each of PROGNAME-LIST
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4619 test -z "$as_dir" && as_dir=.
4620 for ac_prog in fgrep; do
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4623 as_fn_executable_p "$ac_path_FGREP" || continue
4624 # Check for GNU ac_path_FGREP and select it if it is found.
4625 # Check for GNU $ac_path_FGREP
4626 case `"$ac_path_FGREP" --version 2>&1` in
4628 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4631 $as_echo_n 0123456789 >"conftest.in"
4634 cat "conftest.in" "conftest.in" >"conftest.tmp"
4635 mv "conftest.tmp" "conftest.in"
4636 cp "conftest.in" "conftest.nl"
4637 $as_echo 'FGREP' >> "conftest.nl"
4638 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4640 as_fn_arith $ac_count + 1 && ac_count=$as_val
4641 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4642 # Best one so far, save it but keep looking for a better one
4643 ac_cv_path_FGREP="$ac_path_FGREP"
4644 ac_path_FGREP_max=$ac_count
4646 # 10*(2^10) chars as input seems more than enough
4647 test $ac_count -gt 10 && break
4649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4652 $ac_path_FGREP_found && break 3
4657 if test -z "$ac_cv_path_FGREP"; then
4658 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4661 ac_cv_path_FGREP=$FGREP
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4667 $as_echo "$ac_cv_path_FGREP" >&6; }
4668 FGREP="$ac_cv_path_FGREP"
4671 test -z "$GREP" && GREP=grep
4691 # Check whether --with-gnu-ld was given.
4692 if test "${with_gnu_ld+set}" = set; then :
4693 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4699 if test "$GCC" = yes; then
4700 # Check if gcc -print-prog-name=ld gives a path.
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4702 $as_echo_n "checking for ld used by $CC... " >&6; }
4705 # gcc leaves a trailing carriage return which upsets mingw
4706 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4708 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4711 # Accept absolute paths.
4713 re_direlt='/[^/][^/]*/\.\./'
4714 # Canonicalize the pathname of ld
4715 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4716 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4717 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4719 test -z "$LD" && LD="$ac_prog"
4722 # If it fails, then pretend we aren't using GCC.
4726 # If it is relative, then search for the first ld in PATH.
4730 elif test "$with_gnu_ld" = yes; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4732 $as_echo_n "checking for GNU ld... " >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4735 $as_echo_n "checking for non-GNU ld... " >&6; }
4737 if ${lt_cv_path_LD+:} false; then :
4738 $as_echo_n "(cached) " >&6
4740 if test -z "$LD"; then
4741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4742 for ac_dir in $PATH; do
4744 test -z "$ac_dir" && ac_dir=.
4745 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4746 lt_cv_path_LD="$ac_dir/$ac_prog"
4747 # Check to see if the program is GNU ld. I'd rather use --version,
4748 # but apparently some variants of GNU ld only accept -v.
4749 # Break only if it was the GNU/non-GNU ld that we prefer.
4750 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4751 *GNU* | *'with BFD'*)
4752 test "$with_gnu_ld" != no && break
4755 test "$with_gnu_ld" != yes && break
4762 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4767 if test -n "$LD"; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4769 $as_echo "$LD" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4774 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4776 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4777 if ${lt_cv_prog_gnu_ld+:} false; then :
4778 $as_echo_n "(cached) " >&6
4780 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4781 case `$LD -v 2>&1 </dev/null` in
4782 *GNU* | *'with BFD'*)
4783 lt_cv_prog_gnu_ld=yes
4786 lt_cv_prog_gnu_ld=no
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4791 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4792 with_gnu_ld=$lt_cv_prog_gnu_ld
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4803 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4804 if ${lt_cv_path_NM+:} false; then :
4805 $as_echo_n "(cached) " >&6
4807 if test -n "$NM"; then
4808 # Let the user override the test.
4811 lt_nm_to_check="${ac_tool_prefix}nm"
4812 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4813 lt_nm_to_check="$lt_nm_to_check nm"
4815 for lt_tmp_nm in $lt_nm_to_check; do
4816 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4817 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4819 test -z "$ac_dir" && ac_dir=.
4820 tmp_nm="$ac_dir/$lt_tmp_nm"
4821 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4822 # Check to see if the nm accepts a BSD-compat flag.
4823 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4824 # nm: unknown option "B" ignored
4825 # Tru64's nm complains that /dev/null is an invalid object file
4826 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4827 */dev/null* | *'Invalid file or object type'*)
4828 lt_cv_path_NM="$tmp_nm -B"
4832 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4834 lt_cv_path_NM="$tmp_nm -p"
4838 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4839 continue # so that we can try to find one that supports BSD flags
4848 : ${lt_cv_path_NM=no}
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4852 $as_echo "$lt_cv_path_NM" >&6; }
4853 if test "$lt_cv_path_NM" != "no"; then
4856 # Didn't find any BSD compatible name lister, look for dumpbin.
4857 if test -n "$DUMPBIN"; then :
4858 # Let the user override the test.
4860 if test -n "$ac_tool_prefix"; then
4861 for ac_prog in dumpbin "link -dump"
4863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_prog_DUMPBIN+:} false; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$DUMPBIN"; then
4871 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 DUMPBIN=$ac_cv_prog_DUMPBIN
4891 if test -n "$DUMPBIN"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4893 $as_echo "$DUMPBIN" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4900 test -n "$DUMPBIN" && break
4903 if test -z "$DUMPBIN"; then
4904 ac_ct_DUMPBIN=$DUMPBIN
4905 for ac_prog in dumpbin "link -dump"
4907 # Extract the first word of "$ac_prog", so it can be a program name with args.
4908 set dummy $ac_prog; ac_word=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 $as_echo_n "checking for $ac_word... " >&6; }
4911 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4912 $as_echo_n "(cached) " >&6
4914 if test -n "$ac_ct_DUMPBIN"; then
4915 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir=.
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4935 if test -n "$ac_ct_DUMPBIN"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4937 $as_echo "$ac_ct_DUMPBIN" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4944 test -n "$ac_ct_DUMPBIN" && break
4947 if test "x$ac_ct_DUMPBIN" = x; then
4950 case $cross_compiling:$ac_tool_warned in
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4954 ac_tool_warned=yes ;;
4956 DUMPBIN=$ac_ct_DUMPBIN
4960 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4962 DUMPBIN="$DUMPBIN -symbols"
4970 if test "$DUMPBIN" != ":"; then
4974 test -z "$NM" && NM=nm
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4982 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4983 if ${lt_cv_nm_interface+:} false; then :
4984 $as_echo_n "(cached) " >&6
4986 lt_cv_nm_interface="BSD nm"
4987 echo "int some_variable = 0;" > conftest.$ac_ext
4988 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4989 (eval "$ac_compile" 2>conftest.err)
4990 cat conftest.err >&5
4991 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4992 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4993 cat conftest.err >&5
4994 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4995 cat conftest.out >&5
4996 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4997 lt_cv_nm_interface="MS dumpbin"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5002 $as_echo "$lt_cv_nm_interface" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5005 $as_echo_n "checking whether ln -s works... " >&6; }
5007 if test "$LN_S" = "ln -s"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5009 $as_echo "yes" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5012 $as_echo "no, using $LN_S" >&6; }
5015 # find the maximum length of command line arguments
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5017 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5018 if ${lt_cv_sys_max_cmd_len+:} false; then :
5019 $as_echo_n "(cached) " >&6
5026 # On DJGPP, this test can blow up pretty badly due to problems in libc
5027 # (any single argument exceeding 2000 bytes causes a buffer overrun
5028 # during glob expansion). Even if it were fixed, the result of this
5029 # check would be larger than it should be.
5030 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5034 # Under GNU Hurd, this test is not required because there is
5035 # no limit to the length of command line arguments.
5036 # Libtool will interpret -1 as no limit whatsoever
5037 lt_cv_sys_max_cmd_len=-1;
5040 cygwin* | mingw* | cegcc*)
5041 # On Win9x/ME, this test blows up -- it succeeds, but takes
5042 # about 5 minutes as the teststring grows exponentially.
5043 # Worse, since 9x/ME are not pre-emptively multitasking,
5044 # you end up with a "frozen" computer, even though with patience
5045 # the test eventually succeeds (with a max line length of 256k).
5046 # Instead, let's just punt: use the minimum linelength reported by
5047 # all of the supported platforms: 8192 (on NT/2K/XP).
5048 lt_cv_sys_max_cmd_len=8192;
5052 # On MiNT this can take a long time and run out of memory.
5053 lt_cv_sys_max_cmd_len=8192;
5057 # On AmigaOS with pdksh, this test takes hours, literally.
5058 # So we just punt and use a minimum line length of 8192.
5059 lt_cv_sys_max_cmd_len=8192;
5062 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5063 # This has been around since 386BSD, at least. Likely further.
5064 if test -x /sbin/sysctl; then
5065 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5066 elif test -x /usr/sbin/sysctl; then
5067 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5069 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5071 # And add a safety zone
5072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5077 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5078 lt_cv_sys_max_cmd_len=196608
5082 # The test takes a long time on OS/2.
5083 lt_cv_sys_max_cmd_len=8192
5087 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5088 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5089 # nice to cause kernel panics so lets avoid the loop below.
5090 # First set a reasonable default.
5091 lt_cv_sys_max_cmd_len=16384
5093 if test -x /sbin/sysconfig; then
5094 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5095 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5100 lt_cv_sys_max_cmd_len=102400
5102 sysv5* | sco5v6* | sysv4.2uw2*)
5103 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5104 if test -n "$kargmax"; then
5105 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5107 lt_cv_sys_max_cmd_len=32768
5111 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5112 if test -n "$lt_cv_sys_max_cmd_len"; then
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5114 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5116 # Make teststring a little bigger before we do anything with it.
5117 # a 1K string should be a reasonable start.
5118 for i in 1 2 3 4 5 6 7 8 ; do
5119 teststring=$teststring$teststring
5121 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5122 # If test is not a shell built-in, we'll probably end up computing a
5123 # maximum length that is only half of the actual maximum length, but
5125 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5126 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5127 test $i != 17 # 1/2 MB should be enough
5130 teststring=$teststring$teststring
5132 # Only check the string length outside the loop.
5133 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5135 # Add a significant safety factor because C++ compilers can tack on
5136 # massive amounts of additional arguments before passing them to the
5137 # linker. It appears as though 1/2 is a usable value.
5138 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5145 if test -n $lt_cv_sys_max_cmd_len ; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5147 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5150 $as_echo "none" >&6; }
5152 max_cmd_len=$lt_cv_sys_max_cmd_len
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5164 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5165 # Try some XSI features
5168 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5170 && eval 'test $(( 1 + 1 )) -eq 2 \
5171 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5174 $as_echo "$xsi_shell" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5178 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5180 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5182 && lt_shell_append=yes
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5184 $as_echo "$lt_shell_append" >&6; }
5187 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5197 # test EBCDIC or ASCII
5198 case `echo X|tr X '\101'` in
5199 A) # ASCII based system
5200 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5201 lt_SP2NL='tr \040 \012'
5202 lt_NL2SP='tr \015\012 \040\040'
5204 *) # EBCDIC based system
5205 lt_SP2NL='tr \100 \n'
5206 lt_NL2SP='tr \r\n \100\100'
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5219 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5220 if ${lt_cv_to_host_file_cmd+:} false; then :
5221 $as_echo_n "(cached) " >&6
5226 *-*-mingw* ) # actually msys
5227 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5230 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5232 * ) # otherwise, assume *nix
5233 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5239 *-*-mingw* ) # actually msys
5240 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5243 lt_cv_to_host_file_cmd=func_convert_file_noop
5245 * ) # otherwise, assume *nix
5246 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5250 * ) # unhandled hosts (and "normal" native builds)
5251 lt_cv_to_host_file_cmd=func_convert_file_noop
5257 to_host_file_cmd=$lt_cv_to_host_file_cmd
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5259 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5266 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5267 if ${lt_cv_to_tool_file_cmd+:} false; then :
5268 $as_echo_n "(cached) " >&6
5270 #assume ordinary cross tools, or native build.
5271 lt_cv_to_tool_file_cmd=func_convert_file_noop
5275 *-*-mingw* ) # actually msys
5276 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5284 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5286 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5293 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5294 if ${lt_cv_ld_reload_flag+:} false; then :
5295 $as_echo_n "(cached) " >&6
5297 lt_cv_ld_reload_flag='-r'
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5300 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5301 reload_flag=$lt_cv_ld_reload_flag
5302 case $reload_flag in
5304 *) reload_flag=" $reload_flag" ;;
5306 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5308 cygwin* | mingw* | pw32* | cegcc*)
5309 if test "$GCC" != yes; then
5314 if test "$GCC" = yes; then
5315 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5317 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5330 if test -n "$ac_tool_prefix"; then
5331 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5332 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_OBJDUMP+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$OBJDUMP"; then
5339 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 OBJDUMP=$ac_cv_prog_OBJDUMP
5359 if test -n "$OBJDUMP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5361 $as_echo "$OBJDUMP" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5369 if test -z "$ac_cv_prog_OBJDUMP"; then
5370 ac_ct_OBJDUMP=$OBJDUMP
5371 # Extract the first word of "objdump", so it can be a program name with args.
5372 set dummy objdump; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$ac_ct_OBJDUMP"; then
5379 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5399 if test -n "$ac_ct_OBJDUMP"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5401 $as_echo "$ac_ct_OBJDUMP" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5407 if test "x$ac_ct_OBJDUMP" = x; then
5410 case $cross_compiling:$ac_tool_warned in
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5414 ac_tool_warned=yes ;;
5416 OBJDUMP=$ac_ct_OBJDUMP
5419 OBJDUMP="$ac_cv_prog_OBJDUMP"
5422 test -z "$OBJDUMP" && OBJDUMP=objdump
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5430 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5431 if ${lt_cv_deplibs_check_method+:} false; then :
5432 $as_echo_n "(cached) " >&6
5434 lt_cv_file_magic_cmd='$MAGIC_CMD'
5435 lt_cv_file_magic_test_file=
5436 lt_cv_deplibs_check_method='unknown'
5437 # Need to set the preceding variable on all platforms that support
5438 # interlibrary dependencies.
5439 # 'none' -- dependencies not supported.
5440 # `unknown' -- same as none, but documents that we really don't know.
5441 # 'pass_all' -- all dependencies passed with no checks.
5442 # 'test_compile' -- check by making test program.
5443 # 'file_magic [[regex]]' -- check by looking for files in library path
5444 # which responds to the $file_magic_cmd with a given extended regex.
5445 # If you have `file' or equivalent on your system and you're not sure
5446 # whether `pass_all' will *always* work, you probably want this one.
5450 lt_cv_deplibs_check_method=pass_all
5454 lt_cv_deplibs_check_method=pass_all
5458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5459 lt_cv_file_magic_cmd='/usr/bin/file -L'
5460 lt_cv_file_magic_test_file=/shlib/libc.so
5464 # func_win32_libid is a shell function defined in ltmain.sh
5465 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5466 lt_cv_file_magic_cmd='func_win32_libid'
5470 # Base MSYS/MinGW do not provide the 'file' command needed by
5471 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5472 # unless we find 'file', for example because we are cross-compiling.
5473 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5474 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5476 lt_cv_file_magic_cmd='func_win32_libid'
5478 # Keep this pattern in sync with the one in func_win32_libid.
5479 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5480 lt_cv_file_magic_cmd='$OBJDUMP -f'
5485 # use the weaker test based on 'objdump'. See mingw*.
5486 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5487 lt_cv_file_magic_cmd='$OBJDUMP -f'
5490 darwin* | rhapsody*)
5491 lt_cv_deplibs_check_method=pass_all
5494 freebsd* | dragonfly*)
5495 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5498 # Not sure whether the presence of OpenBSD here was a mistake.
5499 # Let's accept both of them until this is cleared up.
5500 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5501 lt_cv_file_magic_cmd=/usr/bin/file
5502 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5506 lt_cv_deplibs_check_method=pass_all
5511 lt_cv_deplibs_check_method=pass_all
5515 lt_cv_deplibs_check_method=pass_all
5518 hpux10.20* | hpux11*)
5519 lt_cv_file_magic_cmd=/usr/bin/file
5522 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5523 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5526 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]'
5527 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5530 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5531 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5537 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5541 irix5* | irix6* | nonstopux*)
5543 *-32|*"-32 ") libmagic=32-bit;;
5544 *-n32|*"-n32 ") libmagic=N32;;
5545 *-64|*"-64 ") libmagic=64-bit;;
5546 *) libmagic=never-match;;
5548 lt_cv_deplibs_check_method=pass_all
5551 # This must be glibc/ELF.
5552 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5553 lt_cv_deplibs_check_method=pass_all
5556 netbsd* | netbsdelf*-gnu)
5557 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5558 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5560 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5565 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5566 lt_cv_file_magic_cmd=/usr/bin/file
5567 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5571 lt_cv_deplibs_check_method=pass_all
5575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5576 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5578 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5582 osf3* | osf4* | osf5*)
5583 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5594 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5595 lt_cv_deplibs_check_method=pass_all
5599 case $host_vendor in
5601 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]'
5602 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5605 lt_cv_deplibs_check_method=pass_all
5608 lt_cv_file_magic_cmd='/bin/file'
5609 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5612 lt_cv_file_magic_cmd='/bin/file'
5613 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5614 lt_cv_file_magic_test_file=/lib/libc.so
5617 lt_cv_deplibs_check_method=pass_all
5620 lt_cv_deplibs_check_method=pass_all
5626 lt_cv_deplibs_check_method=pass_all
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5632 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5636 if test "$build" = "$host"; then
5639 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5642 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5648 file_magic_cmd=$lt_cv_file_magic_cmd
5649 deplibs_check_method=$lt_cv_deplibs_check_method
5650 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_DLLTOOL+:} false; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$DLLTOOL"; then
5682 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 DLLTOOL=$ac_cv_prog_DLLTOOL
5702 if test -n "$DLLTOOL"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5704 $as_echo "$DLLTOOL" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_DLLTOOL"; then
5713 ac_ct_DLLTOOL=$DLLTOOL
5714 # Extract the first word of "dlltool", so it can be a program name with args.
5715 set dummy dlltool; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -n "$ac_ct_DLLTOOL"; then
5722 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5742 if test -n "$ac_ct_DLLTOOL"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5744 $as_echo "$ac_ct_DLLTOOL" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_DLLTOOL" = x; then
5753 case $cross_compiling:$ac_tool_warned in
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5759 DLLTOOL=$ac_ct_DLLTOOL
5762 DLLTOOL="$ac_cv_prog_DLLTOOL"
5765 test -z "$DLLTOOL" && DLLTOOL=dlltool
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5774 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5775 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5776 $as_echo_n "(cached) " >&6
5778 lt_cv_sharedlib_from_linklib_cmd='unknown'
5781 cygwin* | mingw* | pw32* | cegcc*)
5782 # two different shell functions defined in ltmain.sh
5783 # decide which to use based on capabilities of $DLLTOOL
5784 case `$DLLTOOL --help 2>&1` in
5785 *--identify-strict*)
5786 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5789 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5794 # fallback: assume linklib IS sharedlib
5795 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5801 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5802 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5803 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5811 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_AR+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$AR"; then
5822 ac_cv_prog_AR="$AR" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 if test -n "$AR"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5844 $as_echo "$AR" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$AR" && break
5854 if test -z "$AR"; then
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; 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_AR+:} false; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_AR"; then
5866 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5886 if test -n "$ac_ct_AR"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5888 $as_echo "$ac_ct_AR" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$ac_ct_AR" && break
5898 if test "x$ac_ct_AR" = x; then
5901 case $cross_compiling:$ac_tool_warned in
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5925 $as_echo_n "checking for archiver @FILE support... " >&6; }
5926 if ${lt_cv_ar_at_file+:} false; then :
5927 $as_echo_n "(cached) " >&6
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5941 if ac_fn_c_try_compile "$LINENO"; then :
5942 echo conftest.$ac_objext > conftest.lst
5943 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5945 (eval $lt_ar_try) 2>&5
5947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5948 test $ac_status = 0; }
5949 if test "$ac_status" -eq 0; then
5950 # Ensure the archiver fails upon bogus file names.
5951 rm -f conftest.$ac_objext libconftest.a
5952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5953 (eval $lt_ar_try) 2>&5
5955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956 test $ac_status = 0; }
5957 if test "$ac_status" -ne 0; then
5961 rm -f conftest.* libconftest.a
5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5968 $as_echo "$lt_cv_ar_at_file" >&6; }
5970 if test "x$lt_cv_ar_at_file" = xno; then
5973 archiver_list_spec=$lt_cv_ar_at_file
5982 if test -n "$ac_tool_prefix"; then
5983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5984 set dummy ${ac_tool_prefix}strip; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_STRIP+:} false; then :
5988 $as_echo_n "(cached) " >&6
5990 if test -n "$STRIP"; then
5991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 STRIP=$ac_cv_prog_STRIP
6011 if test -n "$STRIP"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6013 $as_echo "$STRIP" >&6; }
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6021 if test -z "$ac_cv_prog_STRIP"; then
6023 # Extract the first word of "strip", so it can be a program name with args.
6024 set dummy strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$ac_ct_STRIP"; then
6031 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_STRIP="strip"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6051 if test -n "$ac_ct_STRIP"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6053 $as_echo "$ac_ct_STRIP" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6059 if test "x$ac_ct_STRIP" = x; then
6062 case $cross_compiling:$ac_tool_warned in
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6071 STRIP="$ac_cv_prog_STRIP"
6074 test -z "$STRIP" && STRIP=:
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_RANLIB+:} false; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$RANLIB"; then
6090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 RANLIB=$ac_cv_prog_RANLIB
6110 if test -n "$RANLIB"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6112 $as_echo "$RANLIB" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_RANLIB"; then
6121 ac_ct_RANLIB=$RANLIB
6122 # Extract the first word of "ranlib", so it can be a program name with args.
6123 set dummy ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$ac_ct_RANLIB"; then
6130 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ac_ct_RANLIB="ranlib"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6150 if test -n "$ac_ct_RANLIB"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6152 $as_echo "$ac_ct_RANLIB" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_RANLIB" = x; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6167 RANLIB=$ac_ct_RANLIB
6170 RANLIB="$ac_cv_prog_RANLIB"
6173 test -z "$RANLIB" && RANLIB=:
6180 # Determine commands to create old-style static archives.
6181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6182 old_postinstall_cmds='chmod 644 $oldlib'
6183 old_postuninstall_cmds=
6185 if test -n "$RANLIB"; then
6188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6194 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6199 lock_old_archive_extraction=yes ;;
6201 lock_old_archive_extraction=no ;;
6242 # If no C compiler was specified, use CC.
6245 # If no C compiler flags were specified, use CFLAGS.
6246 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6248 # Allow CC to be a program name with arguments.
6252 # Check for command to grab the raw symbol name followed by C symbol from nm.
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6254 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6255 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6256 $as_echo_n "(cached) " >&6
6259 # These are sane defaults that work on at least a few old systems.
6260 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6262 # Character class describing NM global symbol codes.
6263 symcode='[BCDEGRST]'
6265 # Regexp to match symbols that can be accessed directly from C.
6266 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6268 # Define system-specific variables.
6273 cygwin* | mingw* | pw32* | cegcc*)
6274 symcode='[ABCDGISTW]'
6277 if test "$host_cpu" = ia64; then
6278 symcode='[ABCDEGRST]'
6282 symcode='[BCDEGRST]'
6285 symcode='[BCDEGQRST]'
6296 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6304 # If we're using GNU nm, then use its standard symbol codes.
6305 case `$NM -V 2>&1` in
6306 *GNU* | *'with BFD'*)
6307 symcode='[ABCDGIRSTW]' ;;
6310 # Transform an extracted symbol line into a proper C declaration.
6311 # Some systems (esp. on ia64) link data and code symbols differently,
6312 # so use this general approach.
6313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6315 # Transform an extracted symbol line into symbol name and symbol address
6316 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6317 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'"
6319 # Handle CRLF in mingw tool chain
6323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6327 # Try without a prefix underscore, then with it.
6328 for ac_symprfx in "" "_"; do
6330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6331 symxfrm="\\1 $ac_symprfx\\2 \\2"
6333 # Write the raw and C identifiers.
6334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6335 # Fake it for dumpbin and say T for any non-static function
6336 # and D for any global variable.
6337 # Also find C++ and __fastcall symbols from MSVC++,
6338 # which start with @ or ?.
6339 lt_cv_sys_global_symbol_pipe="$AWK '"\
6340 " {last_section=section; section=\$ 3};"\
6341 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6342 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6343 " \$ 0!~/External *\|/{next};"\
6344 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6345 " {if(hide[section]) next};"\
6346 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6347 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6348 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6349 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6350 " ' prfx=^$ac_symprfx"
6352 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6354 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6356 # Check to see that the pipe works correctly.
6360 cat > conftest.$ac_ext <<_LT_EOF
6365 void nm_test_func(void);
6366 void nm_test_func(void){}
6370 int main(){nm_test_var='a';nm_test_func();return(0);}
6373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6374 (eval $ac_compile) 2>&5
6376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377 test $ac_status = 0; }; then
6378 # Now try to grab the symbols.
6380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6381 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; } && test -s "$nlist"; then
6385 # Try sorting and uniquifying the output.
6386 if sort "$nlist" | uniq > "$nlist"T; then
6387 mv -f "$nlist"T "$nlist"
6392 # Make sure that we snagged all the symbols we need.
6393 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6394 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6395 cat <<_LT_EOF > conftest.$ac_ext
6396 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6397 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6398 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6399 relocations are performed -- see ld's documentation on pseudo-relocs. */
6400 # define LT_DLSYM_CONST
6401 #elif defined(__osf__)
6402 /* This system does not cope well with relocations in const data. */
6403 # define LT_DLSYM_CONST
6405 # define LT_DLSYM_CONST const
6413 # Now generate the symbol file.
6414 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6416 cat <<_LT_EOF >> conftest.$ac_ext
6418 /* The mapping between symbol names and symbols. */
6419 LT_DLSYM_CONST struct {
6423 lt__PROGRAM__LTX_preloaded_symbols[] =
6425 { "@PROGRAM@", (void *) 0 },
6427 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6428 cat <<\_LT_EOF >> conftest.$ac_ext
6432 /* This works around a problem in FreeBSD linker */
6433 #ifdef FREEBSD_WORKAROUND
6434 static const void *lt_preloaded_setup() {
6435 return lt__PROGRAM__LTX_preloaded_symbols;
6443 # Now try linking the two files.
6444 mv conftest.$ac_objext conftstm.$ac_objext
6445 lt_globsym_save_LIBS=$LIBS
6446 lt_globsym_save_CFLAGS=$CFLAGS
6447 LIBS="conftstm.$ac_objext"
6448 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6450 (eval $ac_link) 2>&5
6452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6456 LIBS=$lt_globsym_save_LIBS
6457 CFLAGS=$lt_globsym_save_CFLAGS
6459 echo "cannot find nm_test_func in $nlist" >&5
6462 echo "cannot find nm_test_var in $nlist" >&5
6465 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6468 echo "$progname: failed program was:" >&5
6469 cat conftest.$ac_ext >&5
6471 rm -rf conftest* conftst*
6473 # Do not use the global_symbol_pipe unless it works.
6474 if test "$pipe_works" = yes; then
6477 lt_cv_sys_global_symbol_pipe=
6483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6484 lt_cv_sys_global_symbol_to_cdecl=
6486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6488 $as_echo "failed" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6491 $as_echo "ok" >&6; }
6494 # Response file support.
6495 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6496 nm_file_list_spec='@'
6497 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6498 nm_file_list_spec='@'
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6528 $as_echo_n "checking for sysroot... " >&6; }
6530 # Check whether --with-sysroot was given.
6531 if test "${with_sysroot+set}" = set; then :
6532 withval=$with_sysroot;
6539 case ${with_sysroot} in #(
6541 if test "$GCC" = yes; then
6542 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6546 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6552 $as_echo "${with_sysroot}" >&6; }
6553 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6558 $as_echo "${lt_sysroot:-no}" >&6; }
6564 # Check whether --enable-libtool-lock was given.
6565 if test "${enable_libtool_lock+set}" = set; then :
6566 enableval=$enable_libtool_lock;
6569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6571 # Some flags need to be propagated to the compiler or linker for good
6575 # Find out which ABI we are using.
6576 echo 'int i;' > conftest.$ac_ext
6577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6578 (eval $ac_compile) 2>&5
6580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581 test $ac_status = 0; }; then
6582 case `/usr/bin/file conftest.$ac_objext` in
6594 # Find out which ABI we are using.
6595 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6597 (eval $ac_compile) 2>&5
6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6600 test $ac_status = 0; }; then
6601 if test "$lt_cv_prog_gnu_ld" = yes; then
6602 case `/usr/bin/file conftest.$ac_objext` in
6604 LD="${LD-ld} -melf32bsmip"
6607 LD="${LD-ld} -melf32bmipn32"
6610 LD="${LD-ld} -melf64bmip"
6614 case `/usr/bin/file conftest.$ac_objext` in
6630 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6631 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6632 # Find out which ABI we are using.
6633 echo 'int i;' > conftest.$ac_ext
6634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6635 (eval $ac_compile) 2>&5
6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6638 test $ac_status = 0; }; then
6639 case `/usr/bin/file conftest.o` in
6642 x86_64-*kfreebsd*-gnu)
6643 LD="${LD-ld} -m elf_i386_fbsd"
6646 LD="${LD-ld} -m elf_i386"
6648 ppc64-*linux*|powerpc64-*linux*)
6649 LD="${LD-ld} -m elf32ppclinux"
6652 LD="${LD-ld} -m elf_s390"
6655 LD="${LD-ld} -m elf32_sparc"
6661 x86_64-*kfreebsd*-gnu)
6662 LD="${LD-ld} -m elf_x86_64_fbsd"
6665 LD="${LD-ld} -m elf_x86_64"
6667 ppc*-*linux*|powerpc*-*linux*)
6668 LD="${LD-ld} -m elf64ppc"
6670 s390*-*linux*|s390*-*tpf*)
6671 LD="${LD-ld} -m elf64_s390"
6674 LD="${LD-ld} -m elf64_sparc"
6684 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6685 SAVE_CFLAGS="$CFLAGS"
6686 CFLAGS="$CFLAGS -belf"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6688 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6689 if ${lt_cv_cc_needs_belf+:} false; then :
6690 $as_echo_n "(cached) " >&6
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6709 if ac_fn_c_try_link "$LINENO"; then :
6710 lt_cv_cc_needs_belf=yes
6712 lt_cv_cc_needs_belf=no
6714 rm -f core conftest.err conftest.$ac_objext \
6715 conftest$ac_exeext conftest.$ac_ext
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6724 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6725 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6726 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6727 CFLAGS="$SAVE_CFLAGS"
6731 # Find out which ABI we are using.
6732 echo 'int i;' > conftest.$ac_ext
6733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6734 (eval $ac_compile) 2>&5
6736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6737 test $ac_status = 0; }; then
6738 case `/usr/bin/file conftest.o` in
6740 case $lt_cv_prog_gnu_ld in
6744 LD="${LD-ld} -m elf_x86_64"
6747 LD="${LD-ld} -m elf64_sparc"
6750 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6751 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6756 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6768 need_locks="$enable_libtool_lock"
6770 if test -n "$ac_tool_prefix"; then
6771 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6772 set dummy ${ac_tool_prefix}mt; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$MANIFEST_TOOL"; then
6779 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6799 if test -n "$MANIFEST_TOOL"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6801 $as_echo "$MANIFEST_TOOL" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6809 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6810 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6811 # Extract the first word of "mt", so it can be a program name with args.
6812 set dummy mt; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6816 $as_echo_n "(cached) " >&6
6818 if test -n "$ac_ct_MANIFEST_TOOL"; then
6819 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6839 if test -n "$ac_ct_MANIFEST_TOOL"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6841 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6847 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6850 case $cross_compiling:$ac_tool_warned in
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854 ac_tool_warned=yes ;;
6856 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6859 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6862 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6864 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6865 if ${lt_cv_path_mainfest_tool+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 lt_cv_path_mainfest_tool=no
6869 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6870 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6871 cat conftest.err >&5
6872 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6873 lt_cv_path_mainfest_tool=yes
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6878 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6879 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6889 rhapsody* | darwin*)
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$DSYMUTIL"; then
6899 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6919 if test -n "$DSYMUTIL"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6921 $as_echo "$DSYMUTIL" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_DSYMUTIL"; then
6930 ac_ct_DSYMUTIL=$DSYMUTIL
6931 # Extract the first word of "dsymutil", so it can be a program name with args.
6932 set dummy dsymutil; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_DSYMUTIL"; then
6939 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6959 if test -n "$ac_ct_DSYMUTIL"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6961 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_DSYMUTIL" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6976 DSYMUTIL=$ac_ct_DSYMUTIL
6979 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_NMEDIT+:} false; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$NMEDIT"; then
6991 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 NMEDIT=$ac_cv_prog_NMEDIT
7011 if test -n "$NMEDIT"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7013 $as_echo "$NMEDIT" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_NMEDIT"; then
7022 ac_ct_NMEDIT=$NMEDIT
7023 # Extract the first word of "nmedit", so it can be a program name with args.
7024 set dummy nmedit; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_NMEDIT"; then
7031 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7051 if test -n "$ac_ct_NMEDIT"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7053 $as_echo "$ac_ct_NMEDIT" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_NMEDIT" = x; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7068 NMEDIT=$ac_ct_NMEDIT
7071 NMEDIT="$ac_cv_prog_NMEDIT"
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_LIPO+:} false; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$LIPO"; then
7083 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 LIPO=$ac_cv_prog_LIPO
7103 if test -n "$LIPO"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7105 $as_echo "$LIPO" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7113 if test -z "$ac_cv_prog_LIPO"; then
7115 # Extract the first word of "lipo", so it can be a program name with args.
7116 set dummy lipo; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$ac_ct_LIPO"; then
7123 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_ac_ct_LIPO="lipo"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7143 if test -n "$ac_ct_LIPO"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7145 $as_echo "$ac_ct_LIPO" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7151 if test "x$ac_ct_LIPO" = x; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7163 LIPO="$ac_cv_prog_LIPO"
7166 if test -n "$ac_tool_prefix"; then
7167 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7168 set dummy ${ac_tool_prefix}otool; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_OTOOL+:} false; then :
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$OTOOL"; then
7175 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 OTOOL=$ac_cv_prog_OTOOL
7195 if test -n "$OTOOL"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7197 $as_echo "$OTOOL" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7205 if test -z "$ac_cv_prog_OTOOL"; then
7207 # Extract the first word of "otool", so it can be a program name with args.
7208 set dummy otool; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_OTOOL"; then
7215 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_ac_ct_OTOOL="otool"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7235 if test -n "$ac_ct_OTOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7237 $as_echo "$ac_ct_OTOOL" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7243 if test "x$ac_ct_OTOOL" = x; then
7246 case $cross_compiling:$ac_tool_warned in
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned=yes ;;
7255 OTOOL="$ac_cv_prog_OTOOL"
7258 if test -n "$ac_tool_prefix"; then
7259 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7260 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if ${ac_cv_prog_OTOOL64+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$OTOOL64"; then
7267 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7276 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 OTOOL64=$ac_cv_prog_OTOOL64
7287 if test -n "$OTOOL64"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7289 $as_echo "$OTOOL64" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7297 if test -z "$ac_cv_prog_OTOOL64"; then
7298 ac_ct_OTOOL64=$OTOOL64
7299 # Extract the first word of "otool64", so it can be a program name with args.
7300 set dummy otool64; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7304 $as_echo_n "(cached) " >&6
7306 if test -n "$ac_ct_OTOOL64"; then
7307 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir=.
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_ac_ct_OTOOL64="otool64"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7327 if test -n "$ac_ct_OTOOL64"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7329 $as_echo "$ac_ct_OTOOL64" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7335 if test "x$ac_ct_OTOOL64" = x; then
7338 case $cross_compiling:$ac_tool_warned in
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7342 ac_tool_warned=yes ;;
7344 OTOOL64=$ac_ct_OTOOL64
7347 OTOOL64="$ac_cv_prog_OTOOL64"
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7377 $as_echo_n "checking for -single_module linker flag... " >&6; }
7378 if ${lt_cv_apple_cc_single_mod+:} false; then :
7379 $as_echo_n "(cached) " >&6
7381 lt_cv_apple_cc_single_mod=no
7382 if test -z "${LT_MULTI_MODULE}"; then
7383 # By default we will add the -single_module flag. You can override
7384 # by either setting the environment variable LT_MULTI_MODULE
7385 # non-empty at configure time, or by adding -multi_module to the
7387 rm -rf libconftest.dylib*
7388 echo "int foo(void){return 1;}" > conftest.c
7389 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7390 -dynamiclib -Wl,-single_module conftest.c" >&5
7391 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7392 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7394 # If there is a non-empty error log, and "single_module"
7395 # appears in it, assume the flag caused a linker warning
7396 if test -s conftest.err && $GREP single_module conftest.err; then
7397 cat conftest.err >&5
7398 # Otherwise, if the output was created with a 0 exit code from
7399 # the compiler, it worked.
7400 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7401 lt_cv_apple_cc_single_mod=yes
7403 cat conftest.err >&5
7405 rm -rf libconftest.dylib*
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7410 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7413 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7414 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 lt_cv_ld_exported_symbols_list=no
7418 save_LDFLAGS=$LDFLAGS
7419 echo "_main" > conftest.sym
7420 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7432 if ac_fn_c_try_link "$LINENO"; then :
7433 lt_cv_ld_exported_symbols_list=yes
7435 lt_cv_ld_exported_symbols_list=no
7437 rm -f core conftest.err conftest.$ac_objext \
7438 conftest$ac_exeext conftest.$ac_ext
7439 LDFLAGS="$save_LDFLAGS"
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7446 $as_echo_n "checking for -force_load linker flag... " >&6; }
7447 if ${lt_cv_ld_force_load+:} false; then :
7448 $as_echo_n "(cached) " >&6
7450 lt_cv_ld_force_load=no
7451 cat > conftest.c << _LT_EOF
7452 int forced_loaded() { return 2;}
7454 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7455 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7456 echo "$AR cru libconftest.a conftest.o" >&5
7457 $AR cru libconftest.a conftest.o 2>&5
7458 echo "$RANLIB libconftest.a" >&5
7459 $RANLIB libconftest.a 2>&5
7460 cat > conftest.c << _LT_EOF
7461 int main() { return 0;}
7463 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7464 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7466 if test -s conftest.err && $GREP force_load conftest.err; then
7467 cat conftest.err >&5
7468 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7469 lt_cv_ld_force_load=yes
7471 cat conftest.err >&5
7473 rm -f conftest.err libconftest.a conftest conftest.c
7474 rm -rf conftest.dSYM
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7478 $as_echo "$lt_cv_ld_force_load" >&6; }
7480 rhapsody* | darwin1.[012])
7481 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7483 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7484 darwin*) # darwin 5.x on
7485 # if running on 10.5 or later, the deployment target defaults
7486 # to the OS version, if on x86, and 10.4, the deployment
7487 # target defaults to 10.4. Don't you love it?
7488 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7489 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7490 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7492 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7498 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7499 _lt_dar_single_mod='$single_module'
7501 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7502 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7504 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7506 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7507 _lt_dsymutil='~$DSYMUTIL $lib || :'
7514 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7515 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7516 inttypes.h stdint.h unistd.h
7518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7519 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7522 cat >>confdefs.h <<_ACEOF
7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7531 for ac_header in dlfcn.h
7533 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7535 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7536 cat >>confdefs.h <<_ACEOF
7537 #define HAVE_DLFCN_H 1
7549 enable_win32_dll=yes
7552 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7553 if test -n "$ac_tool_prefix"; then
7554 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7555 set dummy ${ac_tool_prefix}as; ac_word=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557 $as_echo_n "checking for $ac_word... " >&6; }
7558 if ${ac_cv_prog_AS+:} false; then :
7559 $as_echo_n "(cached) " >&6
7561 if test -n "$AS"; then
7562 ac_cv_prog_AS="$AS" # Let the user override the test.
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7571 ac_cv_prog_AS="${ac_tool_prefix}as"
7572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 if test -n "$AS"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7584 $as_echo "$AS" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587 $as_echo "no" >&6; }
7592 if test -z "$ac_cv_prog_AS"; then
7594 # Extract the first word of "as", so it can be a program name with args.
7595 set dummy as; ac_word=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 $as_echo_n "checking for $ac_word... " >&6; }
7598 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7599 $as_echo_n "(cached) " >&6
7601 if test -n "$ac_ct_AS"; then
7602 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir=.
7609 for ac_exec_ext in '' $ac_executable_extensions; do
7610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611 ac_cv_prog_ac_ct_AS="as"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7622 if test -n "$ac_ct_AS"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7624 $as_echo "$ac_ct_AS" >&6; }
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627 $as_echo "no" >&6; }
7630 if test "x$ac_ct_AS" = x; then
7633 case $cross_compiling:$ac_tool_warned in
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637 ac_tool_warned=yes ;;
7645 if test -n "$ac_tool_prefix"; then
7646 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7647 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649 $as_echo_n "checking for $ac_word... " >&6; }
7650 if ${ac_cv_prog_DLLTOOL+:} false; then :
7651 $as_echo_n "(cached) " >&6
7653 if test -n "$DLLTOOL"; then
7654 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 DLLTOOL=$ac_cv_prog_DLLTOOL
7674 if test -n "$DLLTOOL"; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7676 $as_echo "$DLLTOOL" >&6; }
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679 $as_echo "no" >&6; }
7684 if test -z "$ac_cv_prog_DLLTOOL"; then
7685 ac_ct_DLLTOOL=$DLLTOOL
7686 # Extract the first word of "dlltool", so it can be a program name with args.
7687 set dummy dlltool; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$ac_ct_DLLTOOL"; then
7694 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7714 if test -n "$ac_ct_DLLTOOL"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7716 $as_echo "$ac_ct_DLLTOOL" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7722 if test "x$ac_ct_DLLTOOL" = x; then
7725 case $cross_compiling:$ac_tool_warned in
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7729 ac_tool_warned=yes ;;
7731 DLLTOOL=$ac_ct_DLLTOOL
7734 DLLTOOL="$ac_cv_prog_DLLTOOL"
7737 if test -n "$ac_tool_prefix"; then
7738 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7739 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if ${ac_cv_prog_OBJDUMP+:} false; then :
7743 $as_echo_n "(cached) " >&6
7745 if test -n "$OBJDUMP"; then
7746 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7755 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 OBJDUMP=$ac_cv_prog_OBJDUMP
7766 if test -n "$OBJDUMP"; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7768 $as_echo "$OBJDUMP" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771 $as_echo "no" >&6; }
7776 if test -z "$ac_cv_prog_OBJDUMP"; then
7777 ac_ct_OBJDUMP=$OBJDUMP
7778 # Extract the first word of "objdump", so it can be a program name with args.
7779 set dummy objdump; ac_word=$2
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781 $as_echo_n "checking for $ac_word... " >&6; }
7782 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7783 $as_echo_n "(cached) " >&6
7785 if test -n "$ac_ct_OBJDUMP"; then
7786 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7806 if test -n "$ac_ct_OBJDUMP"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7808 $as_echo "$ac_ct_OBJDUMP" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7814 if test "x$ac_ct_OBJDUMP" = x; then
7817 case $cross_compiling:$ac_tool_warned in
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7821 ac_tool_warned=yes ;;
7823 OBJDUMP=$ac_ct_OBJDUMP
7826 OBJDUMP="$ac_cv_prog_OBJDUMP"
7832 test -z "$AS" && AS=as
7838 test -z "$DLLTOOL" && DLLTOOL=dlltool
7844 test -z "$OBJDUMP" && OBJDUMP=objdump
7856 # Check whether --enable-shared was given.
7857 if test "${enable_shared+set}" = set; then :
7858 enableval=$enable_shared; p=${PACKAGE-default}
7860 yes) enable_shared=yes ;;
7861 no) enable_shared=no ;;
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866 for pkg in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7887 # Check whether --enable-static was given.
7888 if test "${enable_static+set}" = set; then :
7889 enableval=$enable_static; p=${PACKAGE-default}
7891 yes) enable_static=yes ;;
7892 no) enable_static=no ;;
7895 # Look at the argument we got. We use all the common list separators.
7896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7897 for pkg in $enableval; do
7899 if test "X$pkg" = "X$p"; then
7919 # Check whether --with-pic was given.
7920 if test "${with_pic+set}" = set; then :
7921 withval=$with_pic; lt_p=${PACKAGE-default}
7923 yes|no) pic_mode=$withval ;;
7926 # Look at the argument we got. We use all the common list separators.
7927 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7928 for lt_pkg in $withval; do
7930 if test "X$lt_pkg" = "X$lt_p"; then
7942 test -z "$pic_mode" && pic_mode=default
7950 # Check whether --enable-fast-install was given.
7951 if test "${enable_fast_install+set}" = set; then :
7952 enableval=$enable_fast_install; p=${PACKAGE-default}
7954 yes) enable_fast_install=yes ;;
7955 no) enable_fast_install=no ;;
7957 enable_fast_install=no
7958 # Look at the argument we got. We use all the common list separators.
7959 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7960 for pkg in $enableval; do
7962 if test "X$pkg" = "X$p"; then
7963 enable_fast_install=yes
7970 enable_fast_install=yes
7983 # This can be used to rebuild libtool when needed
7984 LIBTOOL_DEPS="$ltmain"
7986 # Always use our own libtool.
7987 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8018 test -z "$LN_S" && LN_S="ln -s"
8033 if test -n "${ZSH_VERSION+set}" ; then
8034 setopt NO_GLOB_SUBST
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8038 $as_echo_n "checking for objdir... " >&6; }
8039 if ${lt_cv_objdir+:} false; then :
8040 $as_echo_n "(cached) " >&6
8042 rm -f .libs 2>/dev/null
8043 mkdir .libs 2>/dev/null
8044 if test -d .libs; then
8047 # MS-DOS does not allow filenames that begin with a dot.
8050 rmdir .libs 2>/dev/null
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8053 $as_echo "$lt_cv_objdir" >&6; }
8054 objdir=$lt_cv_objdir
8060 cat >>confdefs.h <<_ACEOF
8061 #define LT_OBJDIR "$lt_cv_objdir/"
8069 # AIX sometimes has problems with the GCC collect2 program. For some
8070 # reason, if we set the COLLECT_NAMES environment variable, the problems
8071 # vanish in a puff of smoke.
8072 if test "X${COLLECT_NAMES+set}" != Xset; then
8074 export COLLECT_NAMES
8081 can_build_shared=yes
8083 # All known linkers require a `.a' archive for static linking (except MSVC,
8084 # which needs '.lib').
8087 with_gnu_ld="$lt_cv_prog_gnu_ld"
8090 old_CFLAGS="$CFLAGS"
8092 # Set sane defaults for various variables
8093 test -z "$CC" && CC=cc
8094 test -z "$LTCC" && LTCC=$CC
8095 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8096 test -z "$LD" && LD=ld
8097 test -z "$ac_objext" && ac_objext=o
8099 for cc_temp in $compiler""; do
8101 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8102 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8107 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8110 # Only perform the check for file, if the check method requires it
8111 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8112 case $deplibs_check_method in
8114 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8116 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8117 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8118 $as_echo_n "(cached) " >&6
8122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8125 lt_save_MAGIC_CMD="$MAGIC_CMD"
8126 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8127 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8128 for ac_dir in $ac_dummy; do
8130 test -z "$ac_dir" && ac_dir=.
8131 if test -f $ac_dir/${ac_tool_prefix}file; then
8132 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8133 if test -n "$file_magic_test_file"; then
8134 case $deplibs_check_method in
8136 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8137 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8138 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8139 $EGREP "$file_magic_regex" > /dev/null; then
8144 *** Warning: the command libtool uses to detect shared libraries,
8145 *** $file_magic_cmd, produces output that libtool cannot recognize.
8146 *** The result is that libtool may fail to recognize shared libraries
8147 *** as such. This will affect the creation of libtool libraries that
8148 *** depend on shared libraries, but programs linked with such libtool
8149 *** libraries will work regardless of this problem. Nevertheless, you
8150 *** may want to report the problem to your system manager and/or to
8151 *** bug-libtool@gnu.org
8161 MAGIC_CMD="$lt_save_MAGIC_CMD"
8166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8167 if test -n "$MAGIC_CMD"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8169 $as_echo "$MAGIC_CMD" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8179 if test -z "$lt_cv_path_MAGIC_CMD"; then
8180 if test -n "$ac_tool_prefix"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8182 $as_echo_n "checking for file... " >&6; }
8183 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8184 $as_echo_n "(cached) " >&6
8188 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8191 lt_save_MAGIC_CMD="$MAGIC_CMD"
8192 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8193 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8194 for ac_dir in $ac_dummy; do
8196 test -z "$ac_dir" && ac_dir=.
8197 if test -f $ac_dir/file; then
8198 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8199 if test -n "$file_magic_test_file"; then
8200 case $deplibs_check_method in
8202 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8203 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8204 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8205 $EGREP "$file_magic_regex" > /dev/null; then
8210 *** Warning: the command libtool uses to detect shared libraries,
8211 *** $file_magic_cmd, produces output that libtool cannot recognize.
8212 *** The result is that libtool may fail to recognize shared libraries
8213 *** as such. This will affect the creation of libtool libraries that
8214 *** depend on shared libraries, but programs linked with such libtool
8215 *** libraries will work regardless of this problem. Nevertheless, you
8216 *** may want to report the problem to your system manager and/or to
8217 *** bug-libtool@gnu.org
8227 MAGIC_CMD="$lt_save_MAGIC_CMD"
8232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8233 if test -n "$MAGIC_CMD"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8235 $as_echo "$MAGIC_CMD" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8251 # Use C for the default configuration in the libtool script
8255 ac_cpp='$CPP $CPPFLAGS'
8256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8261 # Source file extension for C test sources.
8264 # Object file extension for compiled C test sources.
8268 # Code to be used in simple compile tests
8269 lt_simple_compile_test_code="int some_variable = 0;"
8271 # Code to be used in simple link tests
8272 lt_simple_link_test_code='int main(){return(0);}'
8280 # If no C compiler was specified, use CC.
8283 # If no C compiler flags were specified, use CFLAGS.
8284 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8286 # Allow CC to be a program name with arguments.
8289 # Save the default compiler, since it gets overwritten when the other
8290 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8291 compiler_DEFAULT=$CC
8293 # save warnings/boilerplate of simple test code
8294 ac_outfile=conftest.$ac_objext
8295 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8296 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8297 _lt_compiler_boilerplate=`cat conftest.err`
8300 ac_outfile=conftest.$ac_objext
8301 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8302 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8303 _lt_linker_boilerplate=`cat conftest.err`
8308 ## There is no encapsulation within the following macros, do not change
8309 ## the running order or otherwise move them around unless you know exactly
8310 ## what you are doing...
8311 if test -n "$compiler"; then
8313 lt_prog_compiler_no_builtin_flag=
8315 if test "$GCC" = yes; then
8316 case $cc_basename in
8318 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8320 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8324 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8325 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8326 $as_echo_n "(cached) " >&6
8328 lt_cv_prog_compiler_rtti_exceptions=no
8329 ac_outfile=conftest.$ac_objext
8330 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8331 lt_compiler_flag="-fno-rtti -fno-exceptions"
8332 # Insert the option either (1) after the last *FLAGS variable, or
8333 # (2) before a word containing "conftest.", or (3) at the end.
8334 # Note that $ac_compile itself does not contain backslashes and begins
8335 # with a dollar sign (not a hyphen), so the echo should work correctly.
8336 # The option is referenced via a variable to avoid confusing sed.
8337 lt_compile=`echo "$ac_compile" | $SED \
8338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8340 -e 's:$: $lt_compiler_flag:'`
8341 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8342 (eval "$lt_compile" 2>conftest.err)
8344 cat conftest.err >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 if (exit $ac_status) && test -s "$ac_outfile"; then
8347 # The compiler can only warn and ignore the option if not recognized
8348 # So say no if there are warnings other than the usual output.
8349 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8351 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8352 lt_cv_prog_compiler_rtti_exceptions=yes
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8359 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8361 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8362 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8374 lt_prog_compiler_wl=
8375 lt_prog_compiler_pic=
8376 lt_prog_compiler_static=
8379 if test "$GCC" = yes; then
8380 lt_prog_compiler_wl='-Wl,'
8381 lt_prog_compiler_static='-static'
8385 # All AIX code is PIC.
8386 if test "$host_cpu" = ia64; then
8387 # AIX 5 now supports IA64 processor
8388 lt_prog_compiler_static='-Bstatic'
8395 # see comment about AmigaOS4 .so support
8396 lt_prog_compiler_pic='-fPIC'
8399 # FIXME: we need at least 68020 code to build shared libraries, but
8400 # adding the `-m68020' flag to GCC prevents building anything better,
8402 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8407 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8408 # PIC is the default for these OSes.
8411 mingw* | cygwin* | pw32* | os2* | cegcc*)
8412 # This hack is so that the source file can tell whether it is being
8413 # built for inclusion in a dll (and should export symbols for example).
8414 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8415 # (--disable-auto-import) libraries
8416 lt_prog_compiler_pic='-DDLL_EXPORT'
8419 darwin* | rhapsody*)
8420 # PIC is the default on this platform
8421 # Common symbols not allowed in MH_DYLIB files
8422 lt_prog_compiler_pic='-fno-common'
8426 # PIC is the default for Haiku.
8427 # The "-static" flag exists, but is broken.
8428 lt_prog_compiler_static=
8432 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8433 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8434 # sets the default TLS model and affects inlining.
8440 lt_prog_compiler_pic='-fPIC'
8446 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8447 # Instead, we relocate shared libraries at runtime.
8451 # Just because we use GCC doesn't mean we suddenly get shared libraries
8452 # on systems that don't support them.
8453 lt_prog_compiler_can_build_shared=no
8458 # QNX uses GNU C++, but need to define -shared option too, otherwise
8460 lt_prog_compiler_pic='-fPIC -shared'
8464 if test -d /usr/nec; then
8465 lt_prog_compiler_pic=-Kconform_pic
8470 lt_prog_compiler_pic='-fPIC'
8474 case $cc_basename in
8475 nvcc*) # Cuda Compiler Driver 2.2
8476 lt_prog_compiler_wl='-Xlinker '
8477 if test -n "$lt_prog_compiler_pic"; then
8478 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8483 # PORTME Check for flag to pass linker flags through the system compiler.
8486 lt_prog_compiler_wl='-Wl,'
8487 if test "$host_cpu" = ia64; then
8488 # AIX 5 now supports IA64 processor
8489 lt_prog_compiler_static='-Bstatic'
8491 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8495 mingw* | cygwin* | pw32* | os2* | cegcc*)
8496 # This hack is so that the source file can tell whether it is being
8497 # built for inclusion in a dll (and should export symbols for example).
8498 lt_prog_compiler_pic='-DDLL_EXPORT'
8501 hpux9* | hpux10* | hpux11*)
8502 lt_prog_compiler_wl='-Wl,'
8503 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8510 lt_prog_compiler_pic='+Z'
8513 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8514 lt_prog_compiler_static='${wl}-a ${wl}archive'
8517 irix5* | irix6* | nonstopux*)
8518 lt_prog_compiler_wl='-Wl,'
8519 # PIC (with -KPIC) is the default.
8520 lt_prog_compiler_static='-non_shared'
8523 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8524 case $cc_basename in
8525 # old Intel for x86_64 which still supported -KPIC.
8527 lt_prog_compiler_wl='-Wl,'
8528 lt_prog_compiler_pic='-KPIC'
8529 lt_prog_compiler_static='-static'
8531 # icc used to be incompatible with GCC.
8532 # ICC 10 doesn't accept -KPIC any more.
8534 lt_prog_compiler_wl='-Wl,'
8535 lt_prog_compiler_pic='-fPIC'
8536 lt_prog_compiler_static='-static'
8538 # Lahey Fortran 8.1.
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_pic='--shared'
8542 lt_prog_compiler_static='--static'
8545 # NAG Fortran compiler
8546 lt_prog_compiler_wl='-Wl,-Wl,,'
8547 lt_prog_compiler_pic='-PIC'
8548 lt_prog_compiler_static='-Bstatic'
8550 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8551 # Portland Group compilers (*not* the Pentium gcc compiler,
8552 # which looks to be a dead project)
8553 lt_prog_compiler_wl='-Wl,'
8554 lt_prog_compiler_pic='-fpic'
8555 lt_prog_compiler_static='-Bstatic'
8558 lt_prog_compiler_wl='-Wl,'
8559 # All Alpha code is PIC.
8560 lt_prog_compiler_static='-non_shared'
8562 xl* | bgxl* | bgf* | mpixl*)
8563 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8564 lt_prog_compiler_wl='-Wl,'
8565 lt_prog_compiler_pic='-qpic'
8566 lt_prog_compiler_static='-qstaticlink'
8569 case `$CC -V 2>&1 | sed 5q` in
8570 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8571 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8572 lt_prog_compiler_pic='-KPIC'
8573 lt_prog_compiler_static='-Bstatic'
8574 lt_prog_compiler_wl=''
8576 *Sun\ F* | *Sun*Fortran*)
8577 lt_prog_compiler_pic='-KPIC'
8578 lt_prog_compiler_static='-Bstatic'
8579 lt_prog_compiler_wl='-Qoption ld '
8583 lt_prog_compiler_pic='-KPIC'
8584 lt_prog_compiler_static='-Bstatic'
8585 lt_prog_compiler_wl='-Wl,'
8587 *Intel*\ [CF]*Compiler*)
8588 lt_prog_compiler_wl='-Wl,'
8589 lt_prog_compiler_pic='-fPIC'
8590 lt_prog_compiler_static='-static'
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-fpic'
8595 lt_prog_compiler_static='-Bstatic'
8603 lt_prog_compiler_pic='-KPIC'
8604 lt_prog_compiler_static='-Bstatic'
8608 # QNX uses GNU C++, but need to define -shared option too, otherwise
8610 lt_prog_compiler_pic='-fPIC -shared'
8613 osf3* | osf4* | osf5*)
8614 lt_prog_compiler_wl='-Wl,'
8615 # All OSF/1 code is PIC.
8616 lt_prog_compiler_static='-non_shared'
8620 lt_prog_compiler_static='-non_shared'
8624 lt_prog_compiler_pic='-KPIC'
8625 lt_prog_compiler_static='-Bstatic'
8626 case $cc_basename in
8627 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8628 lt_prog_compiler_wl='-Qoption ld ';;
8630 lt_prog_compiler_wl='-Wl,';;
8635 lt_prog_compiler_wl='-Qoption ld '
8636 lt_prog_compiler_pic='-PIC'
8637 lt_prog_compiler_static='-Bstatic'
8640 sysv4 | sysv4.2uw2* | sysv4.3*)
8641 lt_prog_compiler_wl='-Wl,'
8642 lt_prog_compiler_pic='-KPIC'
8643 lt_prog_compiler_static='-Bstatic'
8647 if test -d /usr/nec ;then
8648 lt_prog_compiler_pic='-Kconform_pic'
8649 lt_prog_compiler_static='-Bstatic'
8653 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-KPIC'
8656 lt_prog_compiler_static='-Bstatic'
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_can_build_shared=no
8665 lt_prog_compiler_pic='-pic'
8666 lt_prog_compiler_static='-Bstatic'
8670 lt_prog_compiler_can_build_shared=no
8676 # For platforms which do not support PIC, -DPIC is meaningless:
8678 lt_prog_compiler_pic=
8681 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8686 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8687 if ${lt_cv_prog_compiler_pic+:} false; then :
8688 $as_echo_n "(cached) " >&6
8690 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8693 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8694 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8697 # Check to make sure the PIC flag actually works.
8699 if test -n "$lt_prog_compiler_pic"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8701 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8702 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_prog_compiler_pic_works=no
8706 ac_outfile=conftest.$ac_objext
8707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8708 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8709 # Insert the option either (1) after the last *FLAGS variable, or
8710 # (2) before a word containing "conftest.", or (3) at the end.
8711 # Note that $ac_compile itself does not contain backslashes and begins
8712 # with a dollar sign (not a hyphen), so the echo should work correctly.
8713 # The option is referenced via a variable to avoid confusing sed.
8714 lt_compile=`echo "$ac_compile" | $SED \
8715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8717 -e 's:$: $lt_compiler_flag:'`
8718 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8719 (eval "$lt_compile" 2>conftest.err)
8721 cat conftest.err >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 if (exit $ac_status) && test -s "$ac_outfile"; then
8724 # The compiler can only warn and ignore the option if not recognized
8725 # So say no if there are warnings other than the usual output.
8726 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8729 lt_cv_prog_compiler_pic_works=yes
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8736 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8738 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8739 case $lt_prog_compiler_pic in
8741 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8744 lt_prog_compiler_pic=
8745 lt_prog_compiler_can_build_shared=no
8761 # Check to make sure the static flag actually works.
8763 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8765 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8766 if ${lt_cv_prog_compiler_static_works+:} false; then :
8767 $as_echo_n "(cached) " >&6
8769 lt_cv_prog_compiler_static_works=no
8770 save_LDFLAGS="$LDFLAGS"
8771 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8772 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8773 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8774 # The linker can only warn and ignore the option if not recognized
8775 # So say no if there are warnings
8776 if test -s conftest.err; then
8777 # Append any errors to the config.log.
8778 cat conftest.err 1>&5
8779 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8780 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8781 if diff conftest.exp conftest.er2 >/dev/null; then
8782 lt_cv_prog_compiler_static_works=yes
8785 lt_cv_prog_compiler_static_works=yes
8789 LDFLAGS="$save_LDFLAGS"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8793 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8795 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8798 lt_prog_compiler_static=
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8809 if ${lt_cv_prog_compiler_c_o+:} false; then :
8810 $as_echo_n "(cached) " >&6
8812 lt_cv_prog_compiler_c_o=no
8813 $RM -r conftest 2>/dev/null
8817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8819 lt_compiler_flag="-o out/conftest2.$ac_objext"
8820 # Insert the option either (1) after the last *FLAGS variable, or
8821 # (2) before a word containing "conftest.", or (3) at the end.
8822 # Note that $ac_compile itself does not contain backslashes and begins
8823 # with a dollar sign (not a hyphen), so the echo should work correctly.
8824 lt_compile=`echo "$ac_compile" | $SED \
8825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8827 -e 's:$: $lt_compiler_flag:'`
8828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8829 (eval "$lt_compile" 2>out/conftest.err)
8831 cat out/conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8835 # The compiler can only warn and ignore the option if not recognized
8836 # So say no if there are warnings
8837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8838 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8839 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8840 lt_cv_prog_compiler_c_o=yes
8845 # SGI C++ compiler will create directory out/ii_files/ for
8846 # template instantiation
8847 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8848 $RM out/* && rmdir out
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8855 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8864 if ${lt_cv_prog_compiler_c_o+:} false; then :
8865 $as_echo_n "(cached) " >&6
8867 lt_cv_prog_compiler_c_o=no
8868 $RM -r conftest 2>/dev/null
8872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8874 lt_compiler_flag="-o out/conftest2.$ac_objext"
8875 # Insert the option either (1) after the last *FLAGS variable, or
8876 # (2) before a word containing "conftest.", or (3) at the end.
8877 # Note that $ac_compile itself does not contain backslashes and begins
8878 # with a dollar sign (not a hyphen), so the echo should work correctly.
8879 lt_compile=`echo "$ac_compile" | $SED \
8880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8882 -e 's:$: $lt_compiler_flag:'`
8883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8884 (eval "$lt_compile" 2>out/conftest.err)
8886 cat out/conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8890 # The compiler can only warn and ignore the option if not recognized
8891 # So say no if there are warnings
8892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8895 lt_cv_prog_compiler_c_o=yes
8900 # SGI C++ compiler will create directory out/ii_files/ for
8901 # template instantiation
8902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8903 $RM out/* && rmdir out
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8910 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8915 hard_links="nottested"
8916 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8917 # do not overwrite the value of need_locks provided by the user
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8919 $as_echo_n "checking if we can lock with hard links... " >&6; }
8922 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8924 ln conftest.a conftest.b 2>&5 || hard_links=no
8925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8927 $as_echo "$hard_links" >&6; }
8928 if test "$hard_links" = no; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8930 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8943 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8946 allow_undefined_flag=
8947 always_export_symbols=no
8949 archive_expsym_cmds=
8950 compiler_needs_object=no
8951 enable_shared_with_static_runtimes=no
8952 export_dynamic_flag_spec=
8953 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8954 hardcode_automatic=no
8956 hardcode_direct_absolute=no
8957 hardcode_libdir_flag_spec=
8958 hardcode_libdir_separator=
8960 hardcode_shlibpath_var=unsupported
8962 link_all_deplibs=unknown
8965 old_archive_from_new_cmds=
8966 old_archive_from_expsyms_cmds=
8967 thread_safe_flag_spec=
8968 whole_archive_flag_spec=
8969 # include_expsyms should be a list of space-separated symbols to be *always*
8970 # included in the symbol list
8972 # exclude_expsyms can be an extended regexp of symbols to exclude
8973 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8974 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8975 # as well as any symbol that contains `d'.
8976 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8977 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8978 # platforms (ab)use it in PIC code, but their linkers get confused if
8979 # the symbol is explicitly referenced. Since portable code cannot
8980 # rely on this symbol name, it's probably fine to never include it in
8981 # preloaded symbol tables.
8982 # Exclude shared library initialization/finalization symbols.
8983 extract_expsyms_cmds=
8986 cygwin* | mingw* | pw32* | cegcc*)
8987 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8988 # When not using gcc, we currently assume that we are using
8989 # Microsoft Visual C++.
8990 if test "$GCC" != yes; then
8995 # we just hope/assume this is gcc and not c89 (= MSVC++)
9001 linux* | k*bsd*-gnu | gnu*)
9008 # On some targets, GNU ld is compatible enough with the native linker
9009 # that we're better off using the native interface for both.
9010 lt_use_gnu_ld_interface=no
9011 if test "$with_gnu_ld" = yes; then
9014 # The AIX port of GNU ld has always aspired to compatibility
9015 # with the native linker. However, as the warning in the GNU ld
9016 # block says, versions before 2.19.5* couldn't really create working
9017 # shared libraries, regardless of the interface used.
9018 case `$LD -v 2>&1` in
9019 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9020 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9021 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9023 lt_use_gnu_ld_interface=yes
9028 lt_use_gnu_ld_interface=yes
9033 if test "$lt_use_gnu_ld_interface" = yes; then
9034 # If archive_cmds runs LD, not CC, wlarc should be empty
9037 # Set some defaults for GNU ld with shared library support. These
9038 # are reset later if shared libraries are not supported. Putting them
9039 # here allows them to be overridden if necessary.
9040 runpath_var=LD_RUN_PATH
9041 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9042 export_dynamic_flag_spec='${wl}--export-dynamic'
9043 # ancient GNU ld didn't support --whole-archive et. al.
9044 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9045 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9047 whole_archive_flag_spec=
9049 supports_anon_versioning=no
9050 case `$LD -v 2>&1` in
9051 *GNU\ gold*) supports_anon_versioning=yes ;;
9052 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9053 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9054 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9055 *\ 2.11.*) ;; # other 2.11 versions
9056 *) supports_anon_versioning=yes ;;
9059 # See if GNU ld supports shared libraries.
9062 # On AIX/PPC, the GNU linker is very broken
9063 if test "$host_cpu" != ia64; then
9067 *** Warning: the GNU linker, at least up to release 2.19, is reported
9068 *** to be unable to reliably create shared libraries on AIX.
9069 *** Therefore, libtool is disabling shared libraries support. If you
9070 *** really care for shared libraries, you may want to install binutils
9071 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9072 *** You will then need to restart the configuration process.
9081 # see comment about AmigaOS4 .so support
9082 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083 archive_expsym_cmds=''
9086 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)'
9087 hardcode_libdir_flag_spec='-L$libdir'
9088 hardcode_minus_L=yes
9094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095 allow_undefined_flag=unsupported
9096 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9097 # support --undefined. This deserves some investigation. FIXME
9098 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9104 cygwin* | mingw* | pw32* | cegcc*)
9105 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9106 # as there is no search path for DLLs.
9107 hardcode_libdir_flag_spec='-L$libdir'
9108 export_dynamic_flag_spec='${wl}--export-all-symbols'
9109 allow_undefined_flag=unsupported
9110 always_export_symbols=no
9111 enable_shared_with_static_runtimes=yes
9112 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'
9113 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9115 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9116 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9117 # If the export-symbols file already is a .def file (1st line
9118 # is EXPORTS), use it as is; otherwise, prepend...
9119 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9120 cp $export_symbols $output_objdir/$soname.def;
9122 echo EXPORTS > $output_objdir/$soname.def;
9123 cat $export_symbols >> $output_objdir/$soname.def;
9125 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9133 link_all_deplibs=yes
9138 hardcode_shlibpath_var=no
9139 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9140 export_dynamic_flag_spec='${wl}-E'
9141 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9142 # Instead, shared libraries are loaded at an image base (0x10000000 by
9143 # default) and relocated if they conflict, which is a slow very memory
9144 # consuming and fragmenting process. To avoid this, we pick a random,
9145 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9146 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9147 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9148 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'
9151 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9153 if test "$host_os" = linux-dietlibc; then
9154 case $cc_basename in
9155 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9158 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9159 && test "$tmp_diet" = no
9161 tmp_addflag=' $pic_flag'
9162 tmp_sharedflag='-shared'
9163 case $cc_basename,$host_cpu in
9164 pgcc*) # Portland Group C compiler
9165 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'
9166 tmp_addflag=' $pic_flag'
9168 pgf77* | pgf90* | pgf95* | pgfortran*)
9169 # Portland Group f77 and f90 compilers
9170 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'
9171 tmp_addflag=' $pic_flag -Mnomain' ;;
9172 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9173 tmp_addflag=' -i_dynamic' ;;
9174 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9175 tmp_addflag=' -i_dynamic -nofor_main' ;;
9176 ifc* | ifort*) # Intel Fortran compiler
9177 tmp_addflag=' -nofor_main' ;;
9178 lf95*) # Lahey Fortran 8.1
9179 whole_archive_flag_spec=
9180 tmp_sharedflag='--shared' ;;
9181 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9182 tmp_sharedflag='-qmkshrobj'
9184 nvcc*) # Cuda Compiler Driver 2.2
9185 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'
9186 compiler_needs_object=yes
9189 case `$CC -V 2>&1 | sed 5q` in
9190 *Sun\ C*) # Sun C 5.9
9191 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'
9192 compiler_needs_object=yes
9193 tmp_sharedflag='-G' ;;
9194 *Sun\ F*) # Sun Fortran 8.3
9195 tmp_sharedflag='-G' ;;
9197 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199 if test "x$supports_anon_versioning" = xyes; then
9200 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9201 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9202 echo "local: *; };" >> $output_objdir/$libname.ver~
9203 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9206 case $cc_basename in
9207 xlf* | bgf* | bgxlf* | mpixlf*)
9208 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9209 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9210 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9211 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9212 if test "x$supports_anon_versioning" = xyes; then
9213 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9214 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9215 echo "local: *; };" >> $output_objdir/$libname.ver~
9216 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9225 netbsd* | netbsdelf*-gnu)
9226 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9227 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9240 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9241 *** create shared libraries on Solaris systems. Therefore, libtool
9242 *** is disabling shared libraries support. We urge you to upgrade GNU
9243 *** binutils to release 2.9.1 or newer. Another option is to modify
9244 *** your PATH or compiler configuration so that the native linker is
9245 *** used, and then restart.
9248 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9257 case `$LD -v 2>&1` in
9258 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9262 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9263 *** reliably create shared libraries on SCO systems. Therefore, libtool
9264 *** is disabling shared libraries support. We urge you to upgrade GNU
9265 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9266 *** your PATH or compiler configuration so that the native linker is
9267 *** used, and then restart.
9272 # For security reasons, it is highly recommended that you always
9273 # use absolute paths for naming shared libraries, and exclude the
9274 # DT_RUNPATH tag from executables and libraries. But doing so
9275 # requires that you compile everything twice, which is a pain.
9276 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9277 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9278 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9288 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9291 hardcode_shlibpath_var=no
9295 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9296 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9304 if test "$ld_shlibs" = no; then
9306 hardcode_libdir_flag_spec=
9307 export_dynamic_flag_spec=
9308 whole_archive_flag_spec=
9311 # PORTME fill in a description of your system's linker (not GNU ld)
9314 allow_undefined_flag=unsupported
9315 always_export_symbols=yes
9316 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'
9317 # Note: this linker hardcodes the directories in LIBPATH if there
9318 # are no directories specified by -L.
9319 hardcode_minus_L=yes
9320 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9321 # Neither direct hardcoding nor static linking is supported with a
9323 hardcode_direct=unsupported
9328 if test "$host_cpu" = ia64; then
9329 # On IA64, the linker does run time linking by default, so we don't
9330 # have to do anything special.
9331 aix_use_runtimelinking=no
9332 exp_sym_flag='-Bexport'
9335 # If we're using GNU nm, then we don't want the "-C" option.
9336 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9337 # Also, AIX nm treats weak defined symbols like other global
9338 # defined symbols, whereas GNU nm marks them as "W".
9339 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9340 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'
9342 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'
9344 aix_use_runtimelinking=no
9346 # Test if we are trying to use run time linking or normal
9347 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9348 # need to do runtime linking.
9349 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9350 for ld_flag in $LDFLAGS; do
9351 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9352 aix_use_runtimelinking=yes
9359 exp_sym_flag='-bexport'
9360 no_entry_flag='-bnoentry'
9363 # When large executables or shared objects are built, AIX ld can
9364 # have problems creating the table of contents. If linking a library
9365 # or program results in "error TOC overflow" add -mminimal-toc to
9366 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9367 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9371 hardcode_direct_absolute=yes
9372 hardcode_libdir_separator=':'
9373 link_all_deplibs=yes
9374 file_list_spec='${wl}-f,'
9376 if test "$GCC" = yes; then
9377 case $host_os in aix4.[012]|aix4.[012].*)
9378 # We only want to do this on AIX 4.2 and lower, the check
9379 # below for broken collect2 doesn't work under 4.3+
9380 collect2name=`${CC} -print-prog-name=collect2`
9381 if test -f "$collect2name" &&
9382 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9384 # We have reworked collect2
9387 # We have old collect2
9388 hardcode_direct=unsupported
9389 # It fails to find uninstalled libraries when the uninstalled
9390 # path is not listed in the libpath. Setting hardcode_minus_L
9391 # to unsupported forces relinking
9392 hardcode_minus_L=yes
9393 hardcode_libdir_flag_spec='-L$libdir'
9394 hardcode_libdir_separator=
9398 shared_flag='-shared'
9399 if test "$aix_use_runtimelinking" = yes; then
9400 shared_flag="$shared_flag "'${wl}-G'
9405 if test "$host_cpu" = ia64; then
9406 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9407 # chokes on -Wl,-G. The following line is correct:
9410 if test "$aix_use_runtimelinking" = yes; then
9411 shared_flag='${wl}-G'
9413 shared_flag='${wl}-bM:SRE'
9418 export_dynamic_flag_spec='${wl}-bexpall'
9419 # It seems that -bexpall does not export symbols beginning with
9420 # underscore (_), so it is better to generate a list of symbols to export.
9421 always_export_symbols=yes
9422 if test "$aix_use_runtimelinking" = yes; then
9423 # Warning - without using the other runtime loading flags (-brtl),
9424 # -berok will link without error, but may produce a broken library.
9425 allow_undefined_flag='-berok'
9426 # Determine the default libpath from the value encoded in an
9428 if test "${lt_cv_aix_libpath+set}" = set; then
9429 aix_libpath=$lt_cv_aix_libpath
9431 if ${lt_cv_aix_libpath_+:} false; then :
9432 $as_echo_n "(cached) " >&6
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9445 if ac_fn_c_try_link "$LINENO"; then :
9447 lt_aix_libpath_sed='
9448 /Import File Strings/,/^$/ {
9450 s/^0 *\([^ ]*\) *$/\1/
9454 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9455 # Check for a 64-bit object if we didn't find anything.
9456 if test -z "$lt_cv_aix_libpath_"; then
9457 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 if test -z "$lt_cv_aix_libpath_"; then
9463 lt_cv_aix_libpath_="/usr/lib:/lib"
9468 aix_libpath=$lt_cv_aix_libpath_
9471 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9472 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"
9474 if test "$host_cpu" = ia64; then
9475 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9476 allow_undefined_flag="-z nodefs"
9477 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"
9479 # Determine the default libpath from the value encoded in an
9481 if test "${lt_cv_aix_libpath+set}" = set; then
9482 aix_libpath=$lt_cv_aix_libpath
9484 if ${lt_cv_aix_libpath_+:} false; then :
9485 $as_echo_n "(cached) " >&6
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9498 if ac_fn_c_try_link "$LINENO"; then :
9500 lt_aix_libpath_sed='
9501 /Import File Strings/,/^$/ {
9503 s/^0 *\([^ ]*\) *$/\1/
9507 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9508 # Check for a 64-bit object if we didn't find anything.
9509 if test -z "$lt_cv_aix_libpath_"; then
9510 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 if test -z "$lt_cv_aix_libpath_"; then
9516 lt_cv_aix_libpath_="/usr/lib:/lib"
9521 aix_libpath=$lt_cv_aix_libpath_
9524 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9525 # Warning - without using the other run time loading flags,
9526 # -berok will link without error, but may produce a broken library.
9527 no_undefined_flag=' ${wl}-bernotok'
9528 allow_undefined_flag=' ${wl}-berok'
9529 if test "$with_gnu_ld" = yes; then
9530 # We only use this code for GNU lds that support --whole-archive.
9531 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9533 # Exported symbols can be pulled into shared objects from archives
9534 whole_archive_flag_spec='$convenience'
9536 archive_cmds_need_lc=yes
9537 # This is similar to how AIX traditionally builds its shared libraries.
9538 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'
9546 # see comment about AmigaOS4 .so support
9547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 archive_expsym_cmds=''
9551 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)'
9552 hardcode_libdir_flag_spec='-L$libdir'
9553 hardcode_minus_L=yes
9559 export_dynamic_flag_spec=-rdynamic
9562 cygwin* | mingw* | pw32* | cegcc*)
9563 # When not using gcc, we currently assume that we are using
9564 # Microsoft Visual C++.
9565 # hardcode_libdir_flag_spec is actually meaningless, as there is
9566 # no search path for DLLs.
9567 case $cc_basename in
9570 hardcode_libdir_flag_spec=' '
9571 allow_undefined_flag=unsupported
9572 always_export_symbols=yes
9574 # Tell ltmain to make .lib files, not .a files.
9576 # Tell ltmain to make .dll files, not .so files.
9578 # FIXME: Setting linknames here is a bad hack.
9579 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9580 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9581 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9583 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9585 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9587 # The linker will not automatically build a static lib if we build a DLL.
9588 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9589 enable_shared_with_static_runtimes=yes
9590 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9591 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9593 old_postinstall_cmds='chmod 644 $oldlib'
9594 postlink_cmds='lt_outputfile="@OUTPUT@"~
9595 lt_tool_outputfile="@TOOL_OUTPUT@"~
9596 case $lt_outputfile in
9599 lt_outputfile="$lt_outputfile.exe"
9600 lt_tool_outputfile="$lt_tool_outputfile.exe"
9603 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9604 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9605 $RM "$lt_outputfile.manifest";
9609 # Assume MSVC wrapper
9610 hardcode_libdir_flag_spec=' '
9611 allow_undefined_flag=unsupported
9612 # Tell ltmain to make .lib files, not .a files.
9614 # Tell ltmain to make .dll files, not .so files.
9616 # FIXME: Setting linknames here is a bad hack.
9617 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9618 # The linker will automatically build a .lib file if we build a DLL.
9619 old_archive_from_new_cmds='true'
9620 # FIXME: Should let the user specify the lib program.
9621 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9622 enable_shared_with_static_runtimes=yes
9627 darwin* | rhapsody*)
9630 archive_cmds_need_lc=no
9632 hardcode_automatic=yes
9633 hardcode_shlibpath_var=unsupported
9634 if test "$lt_cv_ld_force_load" = "yes"; then
9635 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\"`'
9638 whole_archive_flag_spec=''
9640 link_all_deplibs=yes
9641 allow_undefined_flag="$_lt_dar_allow_undefined"
9642 case $cc_basename in
9643 ifort*) _lt_dar_can_shared=yes ;;
9644 *) _lt_dar_can_shared=$GCC ;;
9646 if test "$_lt_dar_can_shared" = "yes"; then
9647 output_verbose_link_cmd=func_echo_all
9648 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9649 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9650 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}"
9651 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}"
9660 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_libdir_flag_spec='-L$libdir'
9662 hardcode_shlibpath_var=no
9665 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9666 # support. Future versions do this automatically, but an explicit c++rt0.o
9667 # does not break anything, and helps significantly (at the cost of a little
9670 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9671 hardcode_libdir_flag_spec='-R$libdir'
9673 hardcode_shlibpath_var=no
9676 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9678 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9680 hardcode_minus_L=yes
9681 hardcode_shlibpath_var=no
9684 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9685 freebsd* | dragonfly*)
9686 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9687 hardcode_libdir_flag_spec='-R$libdir'
9689 hardcode_shlibpath_var=no
9693 if test "$GCC" = yes; then
9694 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'
9696 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'
9698 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9699 hardcode_libdir_separator=:
9702 # hardcode_minus_L: Not really in the search PATH,
9703 # but as the default location of the library.
9704 hardcode_minus_L=yes
9705 export_dynamic_flag_spec='${wl}-E'
9709 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9710 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9712 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9714 if test "$with_gnu_ld" = no; then
9715 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9716 hardcode_libdir_separator=:
9718 hardcode_direct_absolute=yes
9719 export_dynamic_flag_spec='${wl}-E'
9720 # hardcode_minus_L: Not really in the search PATH,
9721 # but as the default location of the library.
9722 hardcode_minus_L=yes
9727 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9730 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9749 # Older versions of the 11.00 compiler do not understand -b yet
9750 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9752 $as_echo_n "checking if $CC understands -b... " >&6; }
9753 if ${lt_cv_prog_compiler__b+:} false; then :
9754 $as_echo_n "(cached) " >&6
9756 lt_cv_prog_compiler__b=no
9757 save_LDFLAGS="$LDFLAGS"
9758 LDFLAGS="$LDFLAGS -b"
9759 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9760 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9761 # The linker can only warn and ignore the option if not recognized
9762 # So say no if there are warnings
9763 if test -s conftest.err; then
9764 # Append any errors to the config.log.
9765 cat conftest.err 1>&5
9766 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9767 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9768 if diff conftest.exp conftest.er2 >/dev/null; then
9769 lt_cv_prog_compiler__b=yes
9772 lt_cv_prog_compiler__b=yes
9776 LDFLAGS="$save_LDFLAGS"
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9780 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9782 if test x"$lt_cv_prog_compiler__b" = xyes; then
9783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791 if test "$with_gnu_ld" = no; then
9792 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9793 hardcode_libdir_separator=:
9798 hardcode_shlibpath_var=no
9802 hardcode_direct_absolute=yes
9803 export_dynamic_flag_spec='${wl}-E'
9805 # hardcode_minus_L: Not really in the search PATH,
9806 # but as the default location of the library.
9807 hardcode_minus_L=yes
9813 irix5* | irix6* | nonstopux*)
9814 if test "$GCC" = yes; then
9815 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'
9816 # Try to use the -exported_symbol ld option, if it does not
9817 # work, assume that -exports_file does not work either and
9818 # implicitly export all symbols.
9819 # This should be the same for all languages, so no per-tag cache variable.
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9821 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9822 if ${lt_cv_irix_exported_symbol+:} false; then :
9823 $as_echo_n "(cached) " >&6
9825 save_LDFLAGS="$LDFLAGS"
9826 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9829 int foo (void) { return 0; }
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 lt_cv_irix_exported_symbol=yes
9834 lt_cv_irix_exported_symbol=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 LDFLAGS="$save_LDFLAGS"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9841 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9842 if test "$lt_cv_irix_exported_symbol" = yes; then
9843 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'
9846 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'
9847 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'
9849 archive_cmds_need_lc='no'
9850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9851 hardcode_libdir_separator=:
9853 link_all_deplibs=yes
9856 netbsd* | netbsdelf*-gnu)
9857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9858 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9860 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9862 hardcode_libdir_flag_spec='-R$libdir'
9864 hardcode_shlibpath_var=no
9868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871 hardcode_libdir_separator=:
9872 hardcode_shlibpath_var=no
9879 if test -f /usr/libexec/ld.so; then
9881 hardcode_shlibpath_var=no
9882 hardcode_direct_absolute=yes
9883 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9884 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9886 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9887 export_dynamic_flag_spec='${wl}-E'
9890 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9891 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9892 hardcode_libdir_flag_spec='-R$libdir'
9895 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9896 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 hardcode_libdir_flag_spec='-L$libdir'
9907 hardcode_minus_L=yes
9908 allow_undefined_flag=unsupported
9909 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'
9910 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9914 if test "$GCC" = yes; then
9915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9916 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'
9918 allow_undefined_flag=' -expect_unresolved \*'
9919 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'
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9923 hardcode_libdir_separator=:
9926 osf4* | osf5*) # as osf3* with the addition of -msym flag
9927 if test "$GCC" = yes; then
9928 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9929 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'
9930 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9932 allow_undefined_flag=' -expect_unresolved \*'
9933 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'
9934 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~
9935 $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'
9937 # Both c and cxx compiler support -rpath directly
9938 hardcode_libdir_flag_spec='-rpath $libdir'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_separator=:
9945 no_undefined_flag=' -z defs'
9946 if test "$GCC" = yes; then
9948 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9950 $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'
9952 case `$CC -V 2>&1` in
9955 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9956 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9957 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9961 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9963 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9967 hardcode_libdir_flag_spec='-R$libdir'
9968 hardcode_shlibpath_var=no
9970 solaris2.[0-5] | solaris2.[0-5].*) ;;
9972 # The compiler driver will combine and reorder linker options,
9973 # but understands `-z linker_flag'. GCC discards it without `$wl',
9974 # but is careful enough not to reorder.
9975 # Supported since Solaris 2.6 (maybe 2.5.1?)
9976 if test "$GCC" = yes; then
9977 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9979 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9983 link_all_deplibs=yes
9987 if test "x$host_vendor" = xsequent; then
9988 # Use $CC to link under sequent, because it throws in some extra .o
9989 # files that make .init and .fini sections work.
9990 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_libdir_flag_spec='-L$libdir'
9996 hardcode_minus_L=yes
9997 hardcode_shlibpath_var=no
10001 case $host_vendor in
10003 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10004 hardcode_direct=yes # is this really true???
10007 ## LD is ld it makes a PLAMLIB
10008 ## CC just makes a GrossModule.
10009 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10010 reload_cmds='$CC -r -o $output$reload_objs'
10014 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10015 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10018 runpath_var='LD_RUN_PATH'
10019 hardcode_shlibpath_var=no
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_shlibpath_var=no
10025 export_dynamic_flag_spec='-Bexport'
10029 if test -d /usr/nec; then
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_shlibpath_var=no
10032 runpath_var=LD_RUN_PATH
10033 hardcode_runpath_var=yes
10038 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10039 no_undefined_flag='${wl}-z,text'
10040 archive_cmds_need_lc=no
10041 hardcode_shlibpath_var=no
10042 runpath_var='LD_RUN_PATH'
10044 if test "$GCC" = yes; then
10045 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 sysv5* | sco3.2v5* | sco5v6*)
10054 # Note: We can NOT use -z defs as we might desire, because we do not
10055 # link with -lc, and that would cause any symbols used from libc to
10056 # always be unresolved, which means just about no library would
10057 # ever link correctly. If we're not using GNU ld we use -z text
10058 # though, which does catch some bad symbols but isn't as heavy-handed
10060 no_undefined_flag='${wl}-z,text'
10061 allow_undefined_flag='${wl}-z,nodefs'
10062 archive_cmds_need_lc=no
10063 hardcode_shlibpath_var=no
10064 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10065 hardcode_libdir_separator=':'
10066 link_all_deplibs=yes
10067 export_dynamic_flag_spec='${wl}-Bexport'
10068 runpath_var='LD_RUN_PATH'
10070 if test "$GCC" = yes; then
10071 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_libdir_flag_spec='-L$libdir'
10082 hardcode_shlibpath_var=no
10090 if test x$host_vendor = xsni; then
10092 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10093 export_dynamic_flag_spec='${wl}-Blargedynsym'
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10100 $as_echo "$ld_shlibs" >&6; }
10101 test "$ld_shlibs" = no && can_build_shared=no
10103 with_gnu_ld=$with_gnu_ld
10120 # Do we need to explicitly link libc?
10122 case "x$archive_cmds_need_lc" in
10124 # Assume -lc should be added
10125 archive_cmds_need_lc=yes
10127 if test "$enable_shared" = yes && test "$GCC" = yes; then
10128 case $archive_cmds in
10130 # FIXME: we may have to deal with multi-command sequences.
10133 # Test whether the compiler implicitly links with -lc since on some
10134 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10135 # to ld, don't add -lc before -lgcc.
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10137 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10138 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10139 $as_echo_n "(cached) " >&6
10142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10145 (eval $ac_compile) 2>&5
10147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10148 test $ac_status = 0; } 2>conftest.err; then
10151 libobjs=conftest.$ac_objext
10153 wl=$lt_prog_compiler_wl
10154 pic_flag=$lt_prog_compiler_pic
10160 lt_save_allow_undefined_flag=$allow_undefined_flag
10161 allow_undefined_flag=
10162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10163 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10166 test $ac_status = 0; }
10168 lt_cv_archive_cmds_need_lc=no
10170 lt_cv_archive_cmds_need_lc=yes
10172 allow_undefined_flag=$lt_save_allow_undefined_flag
10174 cat conftest.err 1>&5
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10180 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10181 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10342 if test "$GCC" = yes; then
10344 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10345 *) lt_awk_arg="/^libraries:/" ;;
10348 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10349 *) lt_sed_strip_eq="s,=/,/,g" ;;
10351 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10352 case $lt_search_path_spec in
10354 # if the path contains ";" then we assume it to be the separator
10355 # otherwise default to the standard path separator (i.e. ":") - it is
10356 # assumed that no part of a normal pathname contains ";" but that should
10357 # okay in the real world where ";" in dirpaths is itself problematic.
10358 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10361 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10364 # Ok, now we have the path, separated by spaces, we can step through it
10365 # and add multilib dir if necessary.
10366 lt_tmp_lt_search_path_spec=
10367 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10368 for lt_sys_path in $lt_search_path_spec; do
10369 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10370 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10372 test -d "$lt_sys_path" && \
10373 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10376 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10377 BEGIN {RS=" "; FS="/|\n";} {
10380 for (lt_i = NF; lt_i > 0; lt_i--) {
10381 if ($lt_i != "" && $lt_i != ".") {
10382 if ($lt_i == "..") {
10385 if (lt_count == 0) {
10386 lt_foo="/" $lt_i lt_foo;
10393 if (lt_foo != "") { lt_freq[lt_foo]++; }
10394 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10396 # AWK program above erroneously prepends '/' to C:/dos/paths
10399 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10400 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10402 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10404 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10406 library_names_spec=
10407 libname_spec='lib$name'
10411 postuninstall_cmds=
10415 shlibpath_overrides_runpath=unknown
10417 dynamic_linker="$host_os ld.so"
10418 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10419 need_lib_prefix=unknown
10420 hardcode_into_libs=no
10422 # when you set need_version to no, make sure it does not cause -set_version
10423 # flags to be left without arguments
10424 need_version=unknown
10428 version_type=linux # correct to gnu/linux during the next big refactor
10429 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10430 shlibpath_var=LIBPATH
10432 # AIX 3 has no versioning support, so we append a major version to the name.
10433 soname_spec='${libname}${release}${shared_ext}$major'
10437 version_type=linux # correct to gnu/linux during the next big refactor
10440 hardcode_into_libs=yes
10441 if test "$host_cpu" = ia64; then
10442 # AIX 5 supports IA64
10443 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10444 shlibpath_var=LD_LIBRARY_PATH
10446 # With GCC up to 2.95.x, collect2 would create an import file
10447 # for dependence libraries. The import file would start with
10448 # the line `#! .'. This would cause the generated library to
10449 # depend on `.', always an invalid library. This was fixed in
10450 # development snapshots of GCC prior to 3.0.
10452 aix4 | aix4.[01] | aix4.[01].*)
10453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10455 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10458 can_build_shared=no
10462 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10463 # soname into executable. Probably we can add versioning support to
10464 # collect2, so additional links can be useful in future.
10465 if test "$aix_use_runtimelinking" = yes; then
10466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467 # instead of lib<name>.a to let people know that these are not
10468 # typical AIX shared libraries.
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471 # We preserve .a as extension for shared libraries through AIX4.2
10472 # and later when we are not doing run time linking.
10473 library_names_spec='${libname}${release}.a $libname.a'
10474 soname_spec='${libname}${release}${shared_ext}$major'
10476 shlibpath_var=LIBPATH
10483 # Since July 2007 AmigaOS4 officially supports .so libraries.
10484 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 library_names_spec='$libname.ixlibrary $libname.a'
10489 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10490 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'
10496 library_names_spec='${libname}${shared_ext}'
10497 dynamic_linker="$host_os ld.so"
10498 shlibpath_var=LIBRARY_PATH
10502 version_type=linux # correct to gnu/linux during the next big refactor
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10507 shlibpath_var=LD_LIBRARY_PATH
10508 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10509 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10510 # the default ld.so.conf also contains /usr/contrib/lib and
10511 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10512 # libtool to hard-code these into programs
10515 cygwin* | mingw* | pw32* | cegcc*)
10516 version_type=windows
10521 case $GCC,$cc_basename in
10524 library_names_spec='$libname.dll.a'
10525 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10526 postinstall_cmds='base_file=`basename \${file}`~
10527 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10528 dldir=$destdir/`dirname \$dlpath`~
10529 test -d \$dldir || mkdir -p \$dldir~
10530 $install_prog $dir/$dlname \$dldir/$dlname~
10531 chmod a+x \$dldir/$dlname~
10532 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10533 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10535 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10536 dlpath=$dir/\$dldll~
10538 shlibpath_overrides_runpath=yes
10542 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10543 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10545 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10548 # MinGW DLLs use traditional 'lib' prefix
10549 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10552 # pw32 DLLs use 'pw' prefix rather than 'lib'
10553 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10556 dynamic_linker='Win32 ld.exe'
10561 libname_spec='$name'
10562 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10563 library_names_spec='${libname}.dll.lib'
10567 sys_lib_search_path_spec=
10570 for lt_path in $LIB
10573 # Let DOS variable expansion print the short 8.3 style file name.
10574 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10575 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10578 # Convert to MSYS style.
10579 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10582 # Convert to unix form, then to dos form, then back to unix form
10583 # but this time dos style (no spaces!) so that the unix form looks
10584 # like /cygdrive/c/PROGRA~1:/cygdr...
10585 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10586 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10587 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10590 sys_lib_search_path_spec="$LIB"
10591 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10592 # It is most probably a Windows format PATH.
10593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10595 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10597 # FIXME: find the short name or the path components, as spaces are
10598 # common. (e.g. "Program Files" -> "PROGRA~1")
10602 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10603 postinstall_cmds='base_file=`basename \${file}`~
10604 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10605 dldir=$destdir/`dirname \$dlpath`~
10606 test -d \$dldir || mkdir -p \$dldir~
10607 $install_prog $dir/$dlname \$dldir/$dlname'
10608 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10609 dlpath=$dir/\$dldll~
10611 shlibpath_overrides_runpath=yes
10612 dynamic_linker='Win32 link.exe'
10616 # Assume MSVC wrapper
10617 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10618 dynamic_linker='Win32 ld.exe'
10621 # FIXME: first we should search . and the directory the executable is in
10625 darwin* | rhapsody*)
10626 dynamic_linker="$host_os dyld"
10627 version_type=darwin
10630 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10631 soname_spec='${libname}${release}${major}$shared_ext'
10632 shlibpath_overrides_runpath=yes
10633 shlibpath_var=DYLD_LIBRARY_PATH
10634 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10636 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10637 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10641 version_type=linux # correct to gnu/linux during the next big refactor
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 shlibpath_var=LD_LIBRARY_PATH
10649 freebsd* | dragonfly*)
10650 # DragonFly does not have aout. When/if they implement a new
10651 # versioning mechanism, adjust this.
10652 if test -x /usr/bin/objformat; then
10653 objformat=`/usr/bin/objformat`
10656 freebsd[23].*) objformat=aout ;;
10657 *) objformat=elf ;;
10660 version_type=freebsd-$objformat
10661 case $version_type in
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes
10677 freebsd3.[01]* | freebsdelf3.[01]*)
10678 shlibpath_overrides_runpath=yes
10679 hardcode_into_libs=yes
10681 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10682 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10683 shlibpath_overrides_runpath=no
10684 hardcode_into_libs=yes
10686 *) # from 4.6 on, and DragonFly
10687 shlibpath_overrides_runpath=yes
10688 hardcode_into_libs=yes
10694 version_type=linux # correct to gnu/linux during the next big refactor
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=LD_LIBRARY_PATH
10700 shlibpath_overrides_runpath=no
10701 hardcode_into_libs=yes
10705 version_type=linux # correct to gnu/linux during the next big refactor
10708 dynamic_linker="$host_os runtime_loader"
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 shlibpath_var=LIBRARY_PATH
10712 shlibpath_overrides_runpath=yes
10713 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10714 hardcode_into_libs=yes
10717 hpux9* | hpux10* | hpux11*)
10718 # Give a soname corresponding to the major version so that dld.sl refuses to
10719 # link against other versions.
10726 hardcode_into_libs=yes
10727 dynamic_linker="$host_os dld.so"
10728 shlibpath_var=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 if test "X$HPUX_IA64_MODE" = X32; then
10733 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10735 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hardcode_into_libs=yes
10742 dynamic_linker="$host_os dld.sl"
10743 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10748 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10752 dynamic_linker="$host_os dld.sl"
10753 shlibpath_var=SHLIB_PATH
10754 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10756 soname_spec='${libname}${release}${shared_ext}$major'
10759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10760 postinstall_cmds='chmod 555 $lib'
10761 # or fails outright, so override atomically:
10762 install_override_mode=555
10766 version_type=linux # correct to gnu/linux during the next big refactor
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath=no
10774 hardcode_into_libs=yes
10777 irix5* | irix6* | nonstopux*)
10779 nonstopux*) version_type=nonstopux ;;
10781 if test "$lt_cv_prog_gnu_ld" = yes; then
10782 version_type=linux # correct to gnu/linux during the next big refactor
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10792 irix5* | nonstopux*)
10793 libsuff= shlibsuff=
10796 case $LD in # libtool.m4 will add one of these switches to LD
10797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10798 libsuff= shlibsuff= libmagic=32-bit;;
10799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10800 libsuff=32 shlibsuff=N32 libmagic=N32;;
10801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10803 *) libsuff= shlibsuff= libmagic=never-match;;
10807 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10808 shlibpath_overrides_runpath=no
10809 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10810 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10811 hardcode_into_libs=yes
10814 # No shared lib support for Linux oldld, aout, or coff.
10815 linux*oldld* | linux*aout* | linux*coff*)
10819 # This must be glibc/ELF.
10820 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10821 version_type=linux # correct to gnu/linux during the next big refactor
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 soname_spec='${libname}${release}${shared_ext}$major'
10826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=no
10830 # Some binutils ld are patched to set DT_RUNPATH
10831 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10832 $as_echo_n "(cached) " >&6
10834 lt_cv_shlibpath_overrides_runpath=no
10835 save_LDFLAGS=$LDFLAGS
10836 save_libdir=$libdir
10837 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10838 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10852 lt_cv_shlibpath_overrides_runpath=yes
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LDFLAGS=$save_LDFLAGS
10858 libdir=$save_libdir
10862 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10864 # This implies no fast_install, which is unacceptable.
10865 # Some rework will be needed to allow for fast_install
10866 # before this can be enabled.
10867 hardcode_into_libs=yes
10869 # Append ld.so.conf contents to the search path
10870 if test -f /etc/ld.so.conf; then
10871 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' ' '`
10872 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10875 # We used to test for /lib/ld.so.1 and disable shared libraries on
10876 # powerpc, because MkLinux only supported shared libraries with the
10877 # GNU dynamic linker. Since this was broken with cross compilers,
10878 # most powerpc-linux boxes support dynamic linking these days and
10879 # people can always --disable-shared, the test was removed, and we
10880 # assume the GNU/Linux dynamic linker is in use.
10881 dynamic_linker='GNU/Linux ld.so'
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10889 soname_spec='${libname}${release}${shared_ext}$major'
10890 shlibpath_var=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath=no
10892 hardcode_into_libs=yes
10893 dynamic_linker='NetBSD ld.elf_so'
10900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10903 dynamic_linker='NetBSD (a.out) ld.so'
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 dynamic_linker='NetBSD ld.elf_so'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 hardcode_into_libs=yes
10915 version_type=linux # correct to gnu/linux during the next big refactor
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 shlibpath_var=LD_LIBRARY_PATH
10918 shlibpath_overrides_runpath=yes
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 soname_spec='${libname}${release}${shared_ext}$major'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=no
10929 hardcode_into_libs=yes
10930 dynamic_linker='ldqnx.so'
10935 sys_lib_dlsearch_path_spec="/usr/lib"
10937 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10939 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10940 *) need_version=no ;;
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10947 openbsd2.[89] | openbsd2.[89].*)
10948 shlibpath_overrides_runpath=no
10951 shlibpath_overrides_runpath=yes
10955 shlibpath_overrides_runpath=yes
10960 libname_spec='$name'
10963 library_names_spec='$libname${shared_ext} $libname.a'
10964 dynamic_linker='OS/2 ld.exe'
10965 shlibpath_var=LIBPATH
10968 osf3* | osf4* | osf5*)
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 shlibpath_var=LD_LIBRARY_PATH
10975 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10976 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10984 version_type=linux # correct to gnu/linux during the next big refactor
10987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 soname_spec='${libname}${release}${shared_ext}$major'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=yes
10991 hardcode_into_libs=yes
10992 # ldd complains unless libraries are executable
10993 postinstall_cmds='chmod +x $lib'
10998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10999 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath=yes
11002 if test "$with_gnu_ld" = yes; then
11009 version_type=linux # correct to gnu/linux during the next big refactor
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 case $host_vendor in
11015 shlibpath_overrides_runpath=no
11017 runpath_var=LD_RUN_PATH
11025 shlibpath_overrides_runpath=no
11026 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11032 if test -d /usr/nec ;then
11033 version_type=linux # correct to gnu/linux during the next big refactor
11034 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11035 soname_spec='$libname${shared_ext}.$major'
11036 shlibpath_var=LD_LIBRARY_PATH
11040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11041 version_type=freebsd-elf
11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11045 soname_spec='${libname}${release}${shared_ext}$major'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath=yes
11048 hardcode_into_libs=yes
11049 if test "$with_gnu_ld" = yes; then
11050 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11052 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11055 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11059 sys_lib_dlsearch_path_spec='/usr/lib'
11063 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11064 version_type=linux # correct to gnu/linux during the next big refactor
11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=no
11070 hardcode_into_libs=yes
11074 version_type=linux # correct to gnu/linux during the next big refactor
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec='${libname}${release}${shared_ext}$major'
11077 shlibpath_var=LD_LIBRARY_PATH
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11085 $as_echo "$dynamic_linker" >&6; }
11086 test "$dynamic_linker" = no && can_build_shared=no
11088 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11089 if test "$GCC" = yes; then
11090 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11093 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11094 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11096 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11097 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11192 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11194 if test -n "$hardcode_libdir_flag_spec" ||
11195 test -n "$runpath_var" ||
11196 test "X$hardcode_automatic" = "Xyes" ; then
11198 # We can hardcode non-existent directories.
11199 if test "$hardcode_direct" != no &&
11200 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11201 # have to relink, otherwise we might link with an installed library
11202 # when we should be linking with a yet-to-be-installed one
11203 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11204 test "$hardcode_minus_L" != no; then
11205 # Linking always hardcodes the temporary library directory.
11206 hardcode_action=relink
11208 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11209 hardcode_action=immediate
11212 # We cannot hardcode anything, or else we can only hardcode existing
11214 hardcode_action=unsupported
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11217 $as_echo "$hardcode_action" >&6; }
11219 if test "$hardcode_action" = relink ||
11220 test "$inherit_rpath" = yes; then
11221 # Fast installation is not supported
11222 enable_fast_install=no
11223 elif test "$shlibpath_overrides_runpath" = yes ||
11224 test "$enable_shared" = no; then
11225 # Fast installation is not necessary
11226 enable_fast_install=needless
11234 if test "x$enable_dlopen" != xyes; then
11235 enable_dlopen=unknown
11236 enable_dlopen_self=unknown
11237 enable_dlopen_self_static=unknown
11244 lt_cv_dlopen="load_add_on"
11246 lt_cv_dlopen_self=yes
11249 mingw* | pw32* | cegcc*)
11250 lt_cv_dlopen="LoadLibrary"
11255 lt_cv_dlopen="dlopen"
11260 # if libdl is installed we need to link against it
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11262 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11263 if ${ac_cv_lib_dl_dlopen+:} false; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_dl_dlopen=yes
11289 ac_cv_lib_dl_dlopen=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11296 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11297 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11298 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11301 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_self=yes
11310 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11311 if test "x$ac_cv_func_shl_load" = xyes; then :
11312 lt_cv_dlopen="shl_load"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11315 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11316 if ${ac_cv_lib_dld_shl_load+:} false; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS=$LIBS
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11334 return shl_load ();
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 ac_cv_lib_dld_shl_load=yes
11342 ac_cv_lib_dld_shl_load=no
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11349 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11350 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11351 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11353 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11354 if test "x$ac_cv_func_dlopen" = xyes; then :
11355 lt_cv_dlopen="dlopen"
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11358 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11359 if ${ac_cv_lib_dl_dlopen+:} false; then :
11360 $as_echo_n "(cached) " >&6
11362 ac_check_lib_save_LIBS=$LIBS
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_dl_dlopen=yes
11385 ac_cv_lib_dl_dlopen=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11397 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11398 if ${ac_cv_lib_svld_dlopen+:} false; then :
11399 $as_echo_n "(cached) " >&6
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lsvld $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_svld_dlopen=yes
11424 ac_cv_lib_svld_dlopen=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11431 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11432 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11433 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11436 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11437 if ${ac_cv_lib_dld_dld_link+:} false; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_lib_save_LIBS=$LIBS
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11455 return dld_link ();
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_dld_dld_link=yes
11463 ac_cv_lib_dld_dld_link=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11470 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11471 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11472 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11493 if test "x$lt_cv_dlopen" != xno; then
11499 case $lt_cv_dlopen in
11501 save_CPPFLAGS="$CPPFLAGS"
11502 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11504 save_LDFLAGS="$LDFLAGS"
11505 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11508 LIBS="$lt_cv_dlopen_libs $LIBS"
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11511 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11512 if ${lt_cv_dlopen_self+:} false; then :
11513 $as_echo_n "(cached) " >&6
11515 if test "$cross_compiling" = yes; then :
11516 lt_cv_dlopen_self=cross
11518 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11519 lt_status=$lt_dlunknown
11520 cat > conftest.$ac_ext <<_LT_EOF
11521 #line $LINENO "configure"
11522 #include "confdefs.h"
11531 # define LT_DLGLOBAL RTLD_GLOBAL
11534 # define LT_DLGLOBAL DL_GLOBAL
11536 # define LT_DLGLOBAL 0
11540 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11541 find out it does not work in some platform. */
11542 #ifndef LT_DLLAZY_OR_NOW
11544 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11547 # define LT_DLLAZY_OR_NOW DL_LAZY
11550 # define LT_DLLAZY_OR_NOW RTLD_NOW
11553 # define LT_DLLAZY_OR_NOW DL_NOW
11555 # define LT_DLLAZY_OR_NOW 0
11562 /* When -fvisbility=hidden is used, assume the code has been annotated
11563 correspondingly for the symbols needed. */
11564 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11565 int fnord () __attribute__((visibility("default")));
11568 int fnord () { return 42; }
11571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11572 int status = $lt_dlunknown;
11576 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11579 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11580 else puts (dlerror ());
11582 /* dlclose (self); */
11590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11591 (eval $ac_link) 2>&5
11593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11594 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11595 (./conftest; exit; ) >&5 2>/dev/null
11597 case x$lt_status in
11598 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11599 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11600 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11603 # compilation failed
11604 lt_cv_dlopen_self=no
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11612 $as_echo "$lt_cv_dlopen_self" >&6; }
11614 if test "x$lt_cv_dlopen_self" = xyes; then
11615 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11617 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11618 if ${lt_cv_dlopen_self_static+:} false; then :
11619 $as_echo_n "(cached) " >&6
11621 if test "$cross_compiling" = yes; then :
11622 lt_cv_dlopen_self_static=cross
11624 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11625 lt_status=$lt_dlunknown
11626 cat > conftest.$ac_ext <<_LT_EOF
11627 #line $LINENO "configure"
11628 #include "confdefs.h"
11637 # define LT_DLGLOBAL RTLD_GLOBAL
11640 # define LT_DLGLOBAL DL_GLOBAL
11642 # define LT_DLGLOBAL 0
11646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11647 find out it does not work in some platform. */
11648 #ifndef LT_DLLAZY_OR_NOW
11650 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11653 # define LT_DLLAZY_OR_NOW DL_LAZY
11656 # define LT_DLLAZY_OR_NOW RTLD_NOW
11659 # define LT_DLLAZY_OR_NOW DL_NOW
11661 # define LT_DLLAZY_OR_NOW 0
11668 /* When -fvisbility=hidden is used, assume the code has been annotated
11669 correspondingly for the symbols needed. */
11670 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11671 int fnord () __attribute__((visibility("default")));
11674 int fnord () { return 42; }
11677 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11678 int status = $lt_dlunknown;
11682 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11685 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11686 else puts (dlerror ());
11688 /* dlclose (self); */
11696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11697 (eval $ac_link) 2>&5
11699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11700 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11701 (./conftest; exit; ) >&5 2>/dev/null
11703 case x$lt_status in
11704 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11705 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11706 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11709 # compilation failed
11710 lt_cv_dlopen_self_static=no
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11718 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11721 CPPFLAGS="$save_CPPFLAGS"
11722 LDFLAGS="$save_LDFLAGS"
11727 case $lt_cv_dlopen_self in
11728 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11729 *) enable_dlopen_self=unknown ;;
11732 case $lt_cv_dlopen_self_static in
11733 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11734 *) enable_dlopen_self_static=unknown ;;
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11757 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11758 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11759 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11760 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11762 $as_echo "yes" >&6; }
11764 # FIXME - insert some real tests, host_os isn't really good enough
11767 if test -n "$STRIP" ; then
11768 striplib="$STRIP -x"
11769 old_striplib="$STRIP -S"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771 $as_echo "yes" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11795 # Report which library types will actually be built
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11797 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11799 $as_echo "$can_build_shared" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11802 $as_echo_n "checking whether to build shared libraries... " >&6; }
11803 test "$can_build_shared" = "no" && enable_shared=no
11805 # On AIX, shared libraries and static libraries use the same namespace, and
11806 # are all built from PIC.
11809 test "$enable_shared" = yes && enable_static=no
11810 if test -n "$RANLIB"; then
11811 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11812 postinstall_cmds='$RANLIB $lib'
11817 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11818 test "$enable_shared" = yes && enable_static=no
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11823 $as_echo "$enable_shared" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11826 $as_echo_n "checking whether to build static libraries... " >&6; }
11827 # Make sure either enable_shared or enable_static is yes.
11828 test "$enable_shared" = yes || enable_static=yes
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11830 $as_echo "$enable_static" >&6; }
11837 ac_cpp='$CPP $CPPFLAGS'
11838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11858 ac_config_commands="$ac_config_commands libtool"
11863 # Only expand once:
11874 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11875 if test -n "$ac_tool_prefix"; then
11876 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11877 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11879 $as_echo_n "checking for $ac_word... " >&6; }
11880 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11881 $as_echo_n "(cached) " >&6
11883 case $PKG_CONFIG in
11885 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11889 for as_dir in $PATH
11892 test -z "$as_dir" && as_dir=.
11893 for ac_exec_ext in '' $ac_executable_extensions; do
11894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11895 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11906 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11907 if test -n "$PKG_CONFIG"; then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11909 $as_echo "$PKG_CONFIG" >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 $as_echo "no" >&6; }
11917 if test -z "$ac_cv_path_PKG_CONFIG"; then
11918 ac_pt_PKG_CONFIG=$PKG_CONFIG
11919 # Extract the first word of "pkg-config", so it can be a program name with args.
11920 set dummy pkg-config; ac_word=$2
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11922 $as_echo_n "checking for $ac_word... " >&6; }
11923 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11924 $as_echo_n "(cached) " >&6
11926 case $ac_pt_PKG_CONFIG in
11928 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11932 for as_dir in $PATH
11935 test -z "$as_dir" && as_dir=.
11936 for ac_exec_ext in '' $ac_executable_extensions; do
11937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11938 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11949 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11950 if test -n "$ac_pt_PKG_CONFIG"; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11952 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11955 $as_echo "no" >&6; }
11958 if test "x$ac_pt_PKG_CONFIG" = x; then
11961 case $cross_compiling:$ac_tool_warned in
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11965 ac_tool_warned=yes ;;
11967 PKG_CONFIG=$ac_pt_PKG_CONFIG
11970 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11974 if test -n "$PKG_CONFIG"; then
11975 _pkg_min_version=0.9.0
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11977 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11978 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11980 $as_echo "yes" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
11990 $as_echo_n "checking for LIBXML... " >&6; }
11992 if test -n "$LIBXML_CFLAGS"; then
11993 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
11994 elif test -n "$PKG_CONFIG"; then
11995 if test -n "$PKG_CONFIG" && \
11996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11997 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12000 test $ac_status = 0; }; then
12001 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5.0" 2>/dev/null`
12002 test "x$?" != "x0" && pkg_failed=yes
12009 if test -n "$LIBXML_LIBS"; then
12010 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
12011 elif test -n "$PKG_CONFIG"; then
12012 if test -n "$PKG_CONFIG" && \
12013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
12014 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
12016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12017 test $ac_status = 0; }; then
12018 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5.0" 2>/dev/null`
12019 test "x$?" != "x0" && pkg_failed=yes
12029 if test $pkg_failed = yes; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 $as_echo "no" >&6; }
12033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12034 _pkg_short_errors_supported=yes
12036 _pkg_short_errors_supported=no
12038 if test $_pkg_short_errors_supported = yes; then
12039 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
12041 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
12043 # Put the nasty error message in config.log where it belongs
12044 echo "$LIBXML_PKG_ERRORS" >&5
12046 as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met:
12050 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12051 installed software in a non-standard prefix.
12053 Alternatively, you may set the environment variables LIBXML_CFLAGS
12054 and LIBXML_LIBS to avoid the need to call pkg-config.
12055 See the pkg-config man page for more details." "$LINENO" 5
12056 elif test $pkg_failed = untried; then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12061 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12062 is in your PATH or set the PKG_CONFIG environment variable to the full
12063 path to pkg-config.
12065 Alternatively, you may set the environment variables LIBXML_CFLAGS
12066 and LIBXML_LIBS to avoid the need to call pkg-config.
12067 See the pkg-config man page for more details.
12069 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12070 See \`config.log' for more details" "$LINENO" 5; }
12072 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
12073 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12075 $as_echo "yes" >&6; }
12079 if test "x$CC" != xcc; then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12081 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12084 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12086 set dummy $CC; ac_cc=`$as_echo "$2" |
12087 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12088 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12089 $as_echo_n "(cached) " >&6
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12102 # Make sure it works both with $CC and with simple cc.
12103 # We do the test twice because some compilers refuse to overwrite an
12104 # existing .o file with -o, though they will create one.
12105 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12107 if { { case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12112 $as_echo "$ac_try_echo"; } >&5
12113 (eval "$ac_try") 2>&5
12115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12116 test $ac_status = 0; } &&
12117 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12119 *) ac_try_echo=$ac_try;;
12121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12122 $as_echo "$ac_try_echo"; } >&5
12123 (eval "$ac_try") 2>&5
12125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126 test $ac_status = 0; };
12128 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12129 if test "x$CC" != xcc; then
12130 # Test first that cc exists at all.
12131 if { ac_try='cc -c conftest.$ac_ext >&5'
12132 { { case "(($ac_try" in
12133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12134 *) ac_try_echo=$ac_try;;
12136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12137 $as_echo "$ac_try_echo"; } >&5
12138 (eval "$ac_try") 2>&5
12140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12141 test $ac_status = 0; }; }; then
12142 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12144 if { { case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12149 $as_echo "$ac_try_echo"; } >&5
12150 (eval "$ac_try") 2>&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153 test $ac_status = 0; } &&
12154 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156 *) ac_try_echo=$ac_try;;
12158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12159 $as_echo "$ac_try_echo"; } >&5
12160 (eval "$ac_try") 2>&5
12162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12163 test $ac_status = 0; };
12168 # cc exists but doesn't like -o.
12169 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12174 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12176 rm -f core conftest*
12179 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12181 $as_echo "yes" >&6; }
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12184 $as_echo "no" >&6; }
12186 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12190 # FIXME: we rely on the cache variable name because
12191 # there is no other way.
12193 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12194 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12195 if test "$am_t" != yes; then
12196 # Losing compiler, so override with the script.
12197 # FIXME: It is wrong to rewrite CC.
12198 # But if we don't then we get into trouble of one sort or another.
12199 # A longer-term fix would be to have automake use am__CC in this case,
12200 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12201 CC="$am_aux_dir/compile $CC"
12207 # Check whether --with-default-metadata-backend was given.
12208 if test "${with_default_metadata_backend+set}" = set; then :
12209 withval=$with_default_metadata_backend;
12213 if test "x$with_default_metadata_backend" = 'x'
12215 with_default_metadata_backend='gstreamer'
12218 if test "x$with_default_metadata_backend" = 'xyes' || test "x$with_default_metadata_backend" = 'xno'
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dubious default metadata backend name: $with_default_metadata_backend" >&5
12221 $as_echo "$as_me: WARNING: Dubious default metadata backend name: $with_default_metadata_backend" >&2;}
12224 GUPNP_DLNA_METADATA_BACKEND_CFLAGS="$GUPNP_DLNA_METADATA_BACKEND_CFLAGS -DGUPNP_DLNA_DEFAULT_METADATA_BACKEND=\\\"$with_default_metadata_backend\\\""
12226 # Check whether --enable-gstreamer-metadata-backend was given.
12227 if test "${enable_gstreamer_metadata_backend+set}" = set; then :
12228 enableval=$enable_gstreamer_metadata_backend;
12230 enable_gstreamer_metadata_backend=auto
12234 if test "x$enable_gstreamer_metadata_backend" != 'xno'
12236 gstreamer_found='yes'
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
12244 $as_echo_n "checking for GST... " >&6; }
12246 if test -n "$GST_CFLAGS"; then
12247 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
12248 elif test -n "$PKG_CONFIG"; then
12249 if test -n "$PKG_CONFIG" && \
12250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
12251 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
12253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12254 test $ac_status = 0; }; then
12255 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
12256 test "x$?" != "x0" && pkg_failed=yes
12263 if test -n "$GST_LIBS"; then
12264 pkg_cv_GST_LIBS="$GST_LIBS"
12265 elif test -n "$PKG_CONFIG"; then
12266 if test -n "$PKG_CONFIG" && \
12267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
12268 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271 test $ac_status = 0; }; then
12272 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
12273 test "x$?" != "x0" && pkg_failed=yes
12283 if test $pkg_failed = yes; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12285 $as_echo "no" >&6; }
12287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12288 _pkg_short_errors_supported=yes
12290 _pkg_short_errors_supported=no
12292 if test $_pkg_short_errors_supported = yes; then
12293 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
12295 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
12297 # Put the nasty error message in config.log where it belongs
12298 echo "$GST_PKG_ERRORS" >&5
12300 gstreamer_found='no'
12301 elif test $pkg_failed = untried; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12304 gstreamer_found='no'
12306 GST_CFLAGS=$pkg_cv_GST_CFLAGS
12307 GST_LIBS=$pkg_cv_GST_LIBS
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12309 $as_echo "yes" >&6; }
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU" >&5
12315 $as_echo_n "checking for GST_PBU... " >&6; }
12317 if test -n "$GST_PBU_CFLAGS"; then
12318 pkg_cv_GST_PBU_CFLAGS="$GST_PBU_CFLAGS"
12319 elif test -n "$PKG_CONFIG"; then
12320 if test -n "$PKG_CONFIG" && \
12321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12322 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12325 test $ac_status = 0; }; then
12326 pkg_cv_GST_PBU_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12327 test "x$?" != "x0" && pkg_failed=yes
12334 if test -n "$GST_PBU_LIBS"; then
12335 pkg_cv_GST_PBU_LIBS="$GST_PBU_LIBS"
12336 elif test -n "$PKG_CONFIG"; then
12337 if test -n "$PKG_CONFIG" && \
12338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12339 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12342 test $ac_status = 0; }; then
12343 pkg_cv_GST_PBU_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12344 test "x$?" != "x0" && pkg_failed=yes
12354 if test $pkg_failed = yes; then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356 $as_echo "no" >&6; }
12358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12359 _pkg_short_errors_supported=yes
12361 _pkg_short_errors_supported=no
12363 if test $_pkg_short_errors_supported = yes; then
12364 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12366 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12368 # Put the nasty error message in config.log where it belongs
12369 echo "$GST_PBU_PKG_ERRORS" >&5
12371 gstreamer_found='no'
12372 elif test $pkg_failed = untried; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12374 $as_echo "no" >&6; }
12375 gstreamer_found='no'
12377 GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
12378 GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12380 $as_echo "yes" >&6; }
12384 if test "x$gstreamer_found" = 'xyes'
12388 GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
12390 enable_gstreamer_metadata_backend='yes'
12391 elif test "x$enable_gstreamer_metadata_backend" = 'xyes'
12393 as_fn_error $? "GStreamer $GST_MAJORMINOR not found." "$LINENO" 5
12395 enable_gstreamer_metadata_backend='no'
12399 if test "x$enable_gstreamer_metadata_backend" = 'xyes'
12402 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE=
12403 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE='#'
12405 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE='#'
12406 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE=
12411 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE=
12412 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE='#'
12414 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE='#'
12415 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE=
12420 # Check whether --enable-legacy-gstreamer-metadata-backend was given.
12421 if test "${enable_legacy_gstreamer_metadata_backend+set}" = set; then :
12422 enableval=$enable_legacy_gstreamer_metadata_backend;
12424 enable_legacy_gstreamer_metadata_backend=no
12428 if test "x$enable_legacy_gstreamer_metadata_backend" != 'xno'
12430 gstreamer_found='yes'
12431 GST_LEGACY_MAJORMINOR=0.10
12432 GST_LEGACY_REQ=0.10.36
12433 GSTPBU_LEGACY_REQ=0.10.36
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_LEGACY" >&5
12438 $as_echo_n "checking for GST_LEGACY... " >&6; }
12440 if test -n "$GST_LEGACY_CFLAGS"; then
12441 pkg_cv_GST_LEGACY_CFLAGS="$GST_LEGACY_CFLAGS"
12442 elif test -n "$PKG_CONFIG"; then
12443 if test -n "$PKG_CONFIG" && \
12444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_LEGACY_MAJORMINOR >= \$GST_LEGACY_REQ\""; } >&5
12445 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ") 2>&5
12447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12448 test $ac_status = 0; }; then
12449 pkg_cv_GST_LEGACY_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>/dev/null`
12450 test "x$?" != "x0" && pkg_failed=yes
12457 if test -n "$GST_LEGACY_LIBS"; then
12458 pkg_cv_GST_LEGACY_LIBS="$GST_LEGACY_LIBS"
12459 elif test -n "$PKG_CONFIG"; then
12460 if test -n "$PKG_CONFIG" && \
12461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_LEGACY_MAJORMINOR >= \$GST_LEGACY_REQ\""; } >&5
12462 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ") 2>&5
12464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12465 test $ac_status = 0; }; then
12466 pkg_cv_GST_LEGACY_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>/dev/null`
12467 test "x$?" != "x0" && pkg_failed=yes
12477 if test $pkg_failed = yes; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12482 _pkg_short_errors_supported=yes
12484 _pkg_short_errors_supported=no
12486 if test $_pkg_short_errors_supported = yes; then
12487 GST_LEGACY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>&1`
12489 GST_LEGACY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>&1`
12491 # Put the nasty error message in config.log where it belongs
12492 echo "$GST_LEGACY_PKG_ERRORS" >&5
12494 gstreamer_found='no'
12495 elif test $pkg_failed = untried; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12498 gstreamer_found='no'
12500 GST_LEGACY_CFLAGS=$pkg_cv_GST_LEGACY_CFLAGS
12501 GST_LEGACY_LIBS=$pkg_cv_GST_LEGACY_LIBS
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12503 $as_echo "yes" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU_LEGACY" >&5
12509 $as_echo_n "checking for GST_PBU_LEGACY... " >&6; }
12511 if test -n "$GST_PBU_LEGACY_CFLAGS"; then
12512 pkg_cv_GST_PBU_LEGACY_CFLAGS="$GST_PBU_LEGACY_CFLAGS"
12513 elif test -n "$PKG_CONFIG"; then
12514 if test -n "$PKG_CONFIG" && \
12515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_LEGACY_MAJORMINOR >= \$GSTPBU_LEGACY_REQ\""; } >&5
12516 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ") 2>&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12519 test $ac_status = 0; }; then
12520 pkg_cv_GST_PBU_LEGACY_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>/dev/null`
12521 test "x$?" != "x0" && pkg_failed=yes
12528 if test -n "$GST_PBU_LEGACY_LIBS"; then
12529 pkg_cv_GST_PBU_LEGACY_LIBS="$GST_PBU_LEGACY_LIBS"
12530 elif test -n "$PKG_CONFIG"; then
12531 if test -n "$PKG_CONFIG" && \
12532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_LEGACY_MAJORMINOR >= \$GSTPBU_LEGACY_REQ\""; } >&5
12533 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ") 2>&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536 test $ac_status = 0; }; then
12537 pkg_cv_GST_PBU_LEGACY_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>/dev/null`
12538 test "x$?" != "x0" && pkg_failed=yes
12548 if test $pkg_failed = yes; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12553 _pkg_short_errors_supported=yes
12555 _pkg_short_errors_supported=no
12557 if test $_pkg_short_errors_supported = yes; then
12558 GST_PBU_LEGACY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>&1`
12560 GST_PBU_LEGACY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>&1`
12562 # Put the nasty error message in config.log where it belongs
12563 echo "$GST_PBU_LEGACY_PKG_ERRORS" >&5
12565 gstreamer_found='no'
12566 elif test $pkg_failed = untried; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12569 gstreamer_found='no'
12571 GST_PBU_LEGACY_CFLAGS=$pkg_cv_GST_PBU_LEGACY_CFLAGS
12572 GST_PBU_LEGACY_LIBS=$pkg_cv_GST_PBU_LEGACY_LIBS
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12574 $as_echo "yes" >&6; }
12578 if test "x$gstreamer_found" = 'xyes'
12581 enable_legacy_gstreamer_metadata_backend='yes'
12582 elif test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes'
12584 as_fn_error $? "GStreamer $GST_LEGACY_MAJORMINOR not found." "$LINENO" 5
12586 enable_legacy_gstreamer_metadata_backend='no'
12590 if test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes'
12593 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE=
12594 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE='#'
12596 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE='#'
12597 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE=
12602 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE=
12603 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE='#'
12605 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE='#'
12606 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE=
12612 # Check whether --with-default-metadata-backend-dir was given.
12613 if test "${with_default_metadata_backend_dir+set}" = set; then :
12614 withval=$with_default_metadata_backend_dir;
12618 if test "x$with_default_metadata_backend_dir" = 'x'
12620 with_default_metadata_backend_dir="$libdir/$PACKAGE_NAME"
12623 if test "x$with_default_metadata_backend_dir" = 'xyes' || test "x$with_default_metadata_backend_dir" = 'xno'
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dubious default metadata backend directory: $with_default_metadata_backend_dir" >&5
12626 $as_echo "$as_me: WARNING: Dubious default metadata backend directory: $with_default_metadata_backend_dir" >&2;}
12629 METADATA_DIRECTORY=$with_default_metadata_backend_dir
12632 GUPNP_DLNA_METADATA_BACKEND_CFLAGS="$GUPNP_DLNA_METADATA_BACKEND_CFLAGS -DGUPNP_DLNA_DEFAULT_METADATA_BACKEND_DIR=\\\"$with_default_metadata_backend_dir\\\""
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12639 $as_echo_n "checking for GLIB... " >&6; }
12641 if test -n "$GLIB_CFLAGS"; then
12642 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12643 elif test -n "$PKG_CONFIG"; then
12644 if test -n "$PKG_CONFIG" && \
12645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32\""; } >&5
12646 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32") 2>&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12649 test $ac_status = 0; }; then
12650 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32" 2>/dev/null`
12651 test "x$?" != "x0" && pkg_failed=yes
12658 if test -n "$GLIB_LIBS"; then
12659 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12660 elif test -n "$PKG_CONFIG"; then
12661 if test -n "$PKG_CONFIG" && \
12662 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32\""; } >&5
12663 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32") 2>&5
12665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12666 test $ac_status = 0; }; then
12667 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32" 2>/dev/null`
12668 test "x$?" != "x0" && pkg_failed=yes
12678 if test $pkg_failed = yes; then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12680 $as_echo "no" >&6; }
12682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12683 _pkg_short_errors_supported=yes
12685 _pkg_short_errors_supported=no
12687 if test $_pkg_short_errors_supported = yes; then
12688 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32" 2>&1`
12690 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32" 2>&1`
12692 # Put the nasty error message in config.log where it belongs
12693 echo "$GLIB_PKG_ERRORS" >&5
12695 as_fn_error $? "Package requirements (glib-2.0 >= 2.32) were not met:
12699 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12700 installed software in a non-standard prefix.
12702 Alternatively, you may set the environment variables GLIB_CFLAGS
12703 and GLIB_LIBS to avoid the need to call pkg-config.
12704 See the pkg-config man page for more details." "$LINENO" 5
12705 elif test $pkg_failed = untried; then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12707 $as_echo "no" >&6; }
12708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12710 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12711 is in your PATH or set the PKG_CONFIG environment variable to the full
12712 path to pkg-config.
12714 Alternatively, you may set the environment variables GLIB_CFLAGS
12715 and GLIB_LIBS to avoid the need to call pkg-config.
12716 See the pkg-config man page for more details.
12718 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12719 See \`config.log' for more details" "$LINENO" 5; }
12721 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12722 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12724 $as_echo "yes" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12730 $as_echo_n "checking for GOBJECT... " >&6; }
12732 if test -n "$GOBJECT_CFLAGS"; then
12733 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12734 elif test -n "$PKG_CONFIG"; then
12735 if test -n "$PKG_CONFIG" && \
12736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12737 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12740 test $ac_status = 0; }; then
12741 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12742 test "x$?" != "x0" && pkg_failed=yes
12749 if test -n "$GOBJECT_LIBS"; then
12750 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12751 elif test -n "$PKG_CONFIG"; then
12752 if test -n "$PKG_CONFIG" && \
12753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12754 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12757 test $ac_status = 0; }; then
12758 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12759 test "x$?" != "x0" && pkg_failed=yes
12769 if test $pkg_failed = yes; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12774 _pkg_short_errors_supported=yes
12776 _pkg_short_errors_supported=no
12778 if test $_pkg_short_errors_supported = yes; then
12779 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12781 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12783 # Put the nasty error message in config.log where it belongs
12784 echo "$GOBJECT_PKG_ERRORS" >&5
12786 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12788 $GOBJECT_PKG_ERRORS
12790 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12791 installed software in a non-standard prefix.
12793 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12794 and GOBJECT_LIBS to avoid the need to call pkg-config.
12795 See the pkg-config man page for more details." "$LINENO" 5
12796 elif test $pkg_failed = untried; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12798 $as_echo "no" >&6; }
12799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12801 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12802 is in your PATH or set the PKG_CONFIG environment variable to the full
12803 path to pkg-config.
12805 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12806 and GOBJECT_LIBS to avoid the need to call pkg-config.
12807 See the pkg-config man page for more details.
12809 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12810 See \`config.log' for more details" "$LINENO" 5; }
12812 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12813 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12815 $as_echo "yes" >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12821 $as_echo_n "checking for GMODULE... " >&6; }
12823 if test -n "$GMODULE_CFLAGS"; then
12824 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12825 elif test -n "$PKG_CONFIG"; then
12826 if test -n "$PKG_CONFIG" && \
12827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12828 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12831 test $ac_status = 0; }; then
12832 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12833 test "x$?" != "x0" && pkg_failed=yes
12840 if test -n "$GMODULE_LIBS"; then
12841 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12842 elif test -n "$PKG_CONFIG"; then
12843 if test -n "$PKG_CONFIG" && \
12844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12845 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12848 test $ac_status = 0; }; then
12849 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12850 test "x$?" != "x0" && pkg_failed=yes
12860 if test $pkg_failed = yes; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12865 _pkg_short_errors_supported=yes
12867 _pkg_short_errors_supported=no
12869 if test $_pkg_short_errors_supported = yes; then
12870 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12872 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12874 # Put the nasty error message in config.log where it belongs
12875 echo "$GMODULE_PKG_ERRORS" >&5
12877 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12879 $GMODULE_PKG_ERRORS
12881 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12882 installed software in a non-standard prefix.
12884 Alternatively, you may set the environment variables GMODULE_CFLAGS
12885 and GMODULE_LIBS to avoid the need to call pkg-config.
12886 See the pkg-config man page for more details." "$LINENO" 5
12887 elif test $pkg_failed = untried; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12889 $as_echo "no" >&6; }
12890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12892 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12893 is in your PATH or set the PKG_CONFIG environment variable to the full
12894 path to pkg-config.
12896 Alternatively, you may set the environment variables GMODULE_CFLAGS
12897 and GMODULE_LIBS to avoid the need to call pkg-config.
12898 See the pkg-config man page for more details.
12900 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12901 See \`config.log' for more details" "$LINENO" 5; }
12903 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12904 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12906 $as_echo "yes" >&6; }
12910 # Check for g_clear_pointer
12911 have_g_clear_pointer='no'
12912 if test -n "$PKG_CONFIG" && \
12913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12914 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12917 test $ac_status = 0; }; then
12918 have_g_clear_pointer='yes'
12920 if test "x$have_g_clear_pointer" = xno; then :
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_clear_pointer" >&5
12922 $as_echo_n "checking for g_clear_pointer... " >&6; }
12923 GUPNP_DLNA_TEMP_CFLAGS="$CFLAGS"
12924 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12925 GUPNP_DLNA_TEMP_LIBS="$LIBS"
12926 LIBS="$LIBS $GLIB_LIBS"
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12942 gchar *test = g_malloc (2);
12943 g_clear_pointer (&test, g_free);
12944 return (test == NULL)
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 have_g_clear_pointer='yes'
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS="$GUPNP_DLNA_TEMP_LIBS"
12956 CFLAGS="$GUPNP_DLNA_TEMP_CFLAGS"
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_g_clear_pointer" >&5
12958 $as_echo "$have_g_clear_pointer" >&6; }
12961 if test "x$have_g_clear_pointer" = xno; then :
12963 $as_echo "#define g_clear_pointer(ptr, func) \\
12965 if (ptr != NULL && func != NULL) { \\
12966 gpointer g_clear_pointer_tmp_var = *ptr; \\
12968 func (g_clear_pointer_tmp_var); \\
12970 } G_STMT_END" >>confdefs.h
12975 # Check whether --enable-debug was given.
12976 if test "${enable_debug+set}" = set; then :
12977 enableval=$enable_debug;
12982 if test "x$enable_debug" = "xyes"; then
12983 CFLAGS="$CFLAGS -g -Wall"
12989 # Check whether --enable-introspection was given.
12990 if test "${enable_introspection+set}" = set; then :
12991 enableval=$enable_introspection;
12993 enable_introspection=auto
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12998 $as_echo_n "checking for gobject-introspection... " >&6; }
13000 case $enable_introspection in #(
13002 found_introspection="no (disabled, use --enable-introspection to enable)"
13005 if test -n "$PKG_CONFIG" && \
13006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13007 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13010 test $ac_status = 0; }; then
13013 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13015 if test -n "$PKG_CONFIG" && \
13016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
13017 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13020 test $ac_status = 0; }; then
13021 found_introspection=yes
13023 as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp-dlna" "$LINENO" 5
13027 if test -n "$PKG_CONFIG" && \
13028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
13029 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
13031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13032 test $ac_status = 0; }; then
13033 found_introspection=yes
13035 found_introspection=no
13039 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13043 $as_echo "$found_introspection" >&6; }
13045 INTROSPECTION_SCANNER=
13046 INTROSPECTION_COMPILER=
13047 INTROSPECTION_GENERATE=
13048 INTROSPECTION_GIRDIR=
13049 INTROSPECTION_TYPELIBDIR=
13050 if test "x$found_introspection" = "xyes"; then
13051 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13052 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13053 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13054 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13055 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13056 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13057 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13058 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13069 if test "x$found_introspection" = "xyes"; then
13070 HAVE_INTROSPECTION_TRUE=
13071 HAVE_INTROSPECTION_FALSE='#'
13073 HAVE_INTROSPECTION_TRUE='#'
13074 HAVE_INTROSPECTION_FALSE=
13082 if test "x$found_introspection" = "xyes"; then :
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
13085 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
13086 VAPIGEN_MIN_VERSION=0.18
13087 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13090 $as_echo "yes" >&6; }
13091 VAPIGEN_MIN_VERSION=0.20
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13098 # Extract the first word of "vapigen", so it can be a program name with args.
13099 set dummy vapigen; ac_word=$2
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13101 $as_echo_n "checking for $ac_word... " >&6; }
13102 if ${ac_cv_path_VAPIGEN+:} false; then :
13103 $as_echo_n "(cached) " >&6
13107 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13114 test -z "$as_dir" && as_dir=.
13115 for ac_exec_ext in '' $ac_executable_extensions; do
13116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13117 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13128 VAPIGEN=$ac_cv_path_VAPIGEN
13129 if test -n "$VAPIGEN"; then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
13131 $as_echo "$VAPIGEN" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13134 $as_echo "no" >&6; }
13138 if test -z "$VAPIGEN"; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
13140 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
13142 if test -n "$VAPIGEN_MIN_VERSION"; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
13144 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
13145 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
13146 as_arg_v1=$VAPIGEN_MIN_VERSION
13147 as_arg_v2="$am__vapigen_version"
13148 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13152 $as_echo "yes" >&6; } ;; #(
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13155 $as_echo "yes" >&6; } ;; #(
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13158 $as_echo "no" >&6; }
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
13160 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
13172 if test "x$VAPIGEN" != "x"; then :
13175 if test "x$VAPIGEN" != "x"; then
13177 HAVE_VAPIGEN_FALSE='#'
13179 HAVE_VAPIGEN_TRUE='#'
13180 HAVE_VAPIGEN_FALSE=
13187 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13188 set dummy gtkdoc-check; ac_word=$2
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13190 $as_echo_n "checking for $ac_word... " >&6; }
13191 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13192 $as_echo_n "(cached) " >&6
13194 case $GTKDOC_CHECK in
13196 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13200 for as_dir in $PATH
13203 test -z "$as_dir" && as_dir=.
13204 for ac_exec_ext in '' $ac_executable_extensions; do
13205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13206 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13217 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13218 if test -n "$GTKDOC_CHECK"; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13220 $as_echo "$GTKDOC_CHECK" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223 $as_echo "no" >&6; }
13227 for ac_prog in gtkdoc-rebase
13229 # Extract the first word of "$ac_prog", so it can be a program name with args.
13230 set dummy $ac_prog; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13232 $as_echo_n "checking for $ac_word... " >&6; }
13233 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13234 $as_echo_n "(cached) " >&6
13236 case $GTKDOC_REBASE in
13238 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13242 for as_dir in $PATH
13245 test -z "$as_dir" && as_dir=.
13246 for ac_exec_ext in '' $ac_executable_extensions; do
13247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13248 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13259 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13260 if test -n "$GTKDOC_REBASE"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13262 $as_echo "$GTKDOC_REBASE" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13265 $as_echo "no" >&6; }
13269 test -n "$GTKDOC_REBASE" && break
13271 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13273 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13274 set dummy gtkdoc-mkpdf; ac_word=$2
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13276 $as_echo_n "checking for $ac_word... " >&6; }
13277 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13278 $as_echo_n "(cached) " >&6
13280 case $GTKDOC_MKPDF in
13282 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13292 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13304 if test -n "$GTKDOC_MKPDF"; then
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13306 $as_echo "$GTKDOC_MKPDF" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13309 $as_echo "no" >&6; }
13315 # Check whether --with-html-dir was given.
13316 if test "${with_html_dir+set}" = set; then :
13317 withval=$with_html_dir;
13319 with_html_dir='${datadir}/gtk-doc/html'
13322 HTML_DIR="$with_html_dir"
13325 # Check whether --enable-gtk-doc was given.
13326 if test "${enable_gtk_doc+set}" = set; then :
13327 enableval=$enable_gtk_doc;
13333 if test x$enable_gtk_doc = xyes; then
13334 if test -n "$PKG_CONFIG" && \
13335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
13336 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
13338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13339 test $ac_status = 0; }; then
13342 as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
13344 if test "x$PACKAGE_NAME" != "xglib"; then
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13348 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13350 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13351 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13352 elif test -n "$PKG_CONFIG"; then
13353 if test -n "$PKG_CONFIG" && \
13354 { { $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
13355 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13358 test $ac_status = 0; }; then
13359 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13360 test "x$?" != "x0" && pkg_failed=yes
13367 if test -n "$GTKDOC_DEPS_LIBS"; then
13368 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13369 elif test -n "$PKG_CONFIG"; then
13370 if test -n "$PKG_CONFIG" && \
13371 { { $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
13372 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375 test $ac_status = 0; }; then
13376 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13377 test "x$?" != "x0" && pkg_failed=yes
13387 if test $pkg_failed = yes; then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13389 $as_echo "no" >&6; }
13391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13392 _pkg_short_errors_supported=yes
13394 _pkg_short_errors_supported=no
13396 if test $_pkg_short_errors_supported = yes; then
13397 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`
13399 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13401 # Put the nasty error message in config.log where it belongs
13402 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13404 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13406 $GTKDOC_DEPS_PKG_ERRORS
13408 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13409 installed software in a non-standard prefix.
13411 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13412 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13413 See the pkg-config man page for more details." "$LINENO" 5
13414 elif test $pkg_failed = untried; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13419 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13420 is in your PATH or set the PKG_CONFIG environment variable to the full
13421 path to pkg-config.
13423 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13424 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13425 See the pkg-config man page for more details.
13427 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13428 See \`config.log' for more details" "$LINENO" 5; }
13430 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13431 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13433 $as_echo "yes" >&6; }
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13440 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13442 $as_echo "$enable_gtk_doc" >&6; }
13444 # Check whether --enable-gtk-doc-html was given.
13445 if test "${enable_gtk_doc_html+set}" = set; then :
13446 enableval=$enable_gtk_doc_html;
13448 enable_gtk_doc_html=yes
13451 # Check whether --enable-gtk-doc-pdf was given.
13452 if test "${enable_gtk_doc_pdf+set}" = set; then :
13453 enableval=$enable_gtk_doc_pdf;
13455 enable_gtk_doc_pdf=no
13459 if test -z "$GTKDOC_MKPDF"; then
13460 enable_gtk_doc_pdf=no
13464 if test x$enable_gtk_doc = xyes; then
13465 ENABLE_GTK_DOC_TRUE=
13466 ENABLE_GTK_DOC_FALSE='#'
13468 ENABLE_GTK_DOC_TRUE='#'
13469 ENABLE_GTK_DOC_FALSE=
13472 if test x$enable_gtk_doc_html = xyes; then
13473 GTK_DOC_BUILD_HTML_TRUE=
13474 GTK_DOC_BUILD_HTML_FALSE='#'
13476 GTK_DOC_BUILD_HTML_TRUE='#'
13477 GTK_DOC_BUILD_HTML_FALSE=
13480 if test x$enable_gtk_doc_pdf = xyes; then
13481 GTK_DOC_BUILD_PDF_TRUE=
13482 GTK_DOC_BUILD_PDF_FALSE='#'
13484 GTK_DOC_BUILD_PDF_TRUE='#'
13485 GTK_DOC_BUILD_PDF_FALSE=
13488 if test -n "$LIBTOOL"; then
13489 GTK_DOC_USE_LIBTOOL_TRUE=
13490 GTK_DOC_USE_LIBTOOL_FALSE='#'
13492 GTK_DOC_USE_LIBTOOL_TRUE='#'
13493 GTK_DOC_USE_LIBTOOL_FALSE=
13496 if test -n "$GTKDOC_REBASE"; then
13497 GTK_DOC_USE_REBASE_TRUE=
13498 GTK_DOC_USE_REBASE_FALSE='#'
13500 GTK_DOC_USE_REBASE_TRUE='#'
13501 GTK_DOC_USE_REBASE_FALSE=
13506 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
13509 # Extract the first word of "xmllint", so it can be a program name with args.
13510 set dummy xmllint; ac_word=$2
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13512 $as_echo_n "checking for $ac_word... " >&6; }
13513 if ${ac_cv_path_XMLLINT+:} false; then :
13514 $as_echo_n "(cached) " >&6
13518 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
13521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522 for as_dir in $PATH
13525 test -z "$as_dir" && as_dir=.
13526 for ac_exec_ext in '' $ac_executable_extensions; do
13527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13528 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
13529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13539 XMLLINT=$ac_cv_path_XMLLINT
13540 if test -n "$XMLLINT"; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
13542 $as_echo "$XMLLINT" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13549 if test "x$XMLLINT" != "x"; then
13551 HAVE_XMLLINT_FALSE='#'
13553 HAVE_XMLLINT_TRUE='#'
13554 HAVE_XMLLINT_FALSE=
13558 ac_config_files="$ac_config_files Makefile libgupnp-dlna/Makefile tools/Makefile tests/Makefile data/Makefile gupnp-dlna-2.0.pc gupnp-dlna-metadata-2.0.pc gupnp-dlna-gst-2.0.pc gupnp-dlna-gst-legacy-2.0.pc doc/Makefile doc/version.xml doc/gupnp-dlna/Makefile doc/gupnp-dlna-metadata/Makefile doc/gupnp-dlna-gst/Makefile vala/Makefile"
13560 ac_config_files="$ac_config_files tests/test-discoverer.sh"
13562 cat >confcache <<\_ACEOF
13563 # This file is a shell script that caches the results of configure
13564 # tests run on this system so they can be shared between configure
13565 # scripts and configure runs, see configure's option --config-cache.
13566 # It is not useful on other systems. If it contains results you don't
13567 # want to keep, you may remove or edit it.
13569 # config.status only pays attention to the cache file if you give it
13570 # the --recheck option to rerun configure.
13572 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13573 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13574 # following values.
13578 # The following way of writing the cache mishandles newlines in values,
13579 # but we know of no workaround that is simple, portable, and efficient.
13580 # So, we kill variables containing newlines.
13581 # Ultrix sh set writes to stderr and can't be redirected directly,
13582 # and sets the high bit in the cache file unless we assign to the vars.
13584 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13585 eval ac_val=\$$ac_var
13589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13593 _ | IFS | as_nl) ;; #(
13594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13595 *) { eval $ac_var=; unset $ac_var;} ;;
13601 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13602 *${as_nl}ac_space=\ *)
13603 # `set' does not quote correctly, so add quotes: double-quote
13604 # substitution turns \\\\ into \\, and sed turns \\ into \.
13607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13610 # `set' quotes correctly as required by POSIX, so do not add quotes.
13611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13620 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13622 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13624 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13625 if test -w "$cache_file"; then
13626 if test "x$cache_file" != "x/dev/null"; then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13628 $as_echo "$as_me: updating cache $cache_file" >&6;}
13629 if test ! -f "$cache_file" || test -h "$cache_file"; then
13630 cat confcache >"$cache_file"
13632 case $cache_file in #(
13634 mv -f confcache "$cache_file"$$ &&
13635 mv -f "$cache_file"$$ "$cache_file" ;; #(
13637 mv -f confcache "$cache_file" ;;
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13643 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13648 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13649 # Let make expand exec_prefix.
13650 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13652 DEFS=-DHAVE_CONFIG_H
13657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13658 # 1. Remove the extension, and $U if already installed.
13659 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13660 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13662 # will be set to the directory where LIBOBJS objects are built.
13663 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13664 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13666 LIBOBJS=$ac_libobjs
13668 LTLIBOBJS=$ac_ltlibobjs
13671 if test -n "$EXEEXT"; then
13673 am__EXEEXT_FALSE='#'
13675 am__EXEEXT_TRUE='#'
13679 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13680 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13683 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13684 as_fn_error $? "conditional \"AMDEP\" was never defined.
13685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13687 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13688 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13691 if test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_FALSE}"; then
13692 as_fn_error $? "conditional \"GSTREAMER_METADATA_BACKEND_ENABLED\" was never defined.
13693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13695 if test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_FALSE}"; then
13696 as_fn_error $? "conditional \"GSTREAMER_METADATA_BACKEND_ENABLED\" was never defined.
13697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13699 if test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE}"; then
13700 as_fn_error $? "conditional \"GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED\" was never defined.
13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13703 if test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE}"; then
13704 as_fn_error $? "conditional \"GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED\" was never defined.
13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13707 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13708 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13711 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13712 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13715 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13716 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13719 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13720 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13723 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13724 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13727 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13728 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13731 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13732 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13735 if test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
13736 as_fn_error $? "conditional \"HAVE_XMLLINT\" was never defined.
13737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13740 : "${CONFIG_STATUS=./config.status}"
13742 ac_clean_files_save=$ac_clean_files
13743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13749 # Generated by $as_me.
13750 # Run this file to recreate the current configuration.
13751 # Compiler output produced by configure, useful for debugging
13752 # configure, is in config.log if it exists.
13755 ac_cs_recheck=false
13758 SHELL=\${CONFIG_SHELL-$SHELL}
13761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13762 ## -------------------- ##
13763 ## M4sh Initialization. ##
13764 ## -------------------- ##
13766 # Be more Bourne compatible
13767 DUALCASE=1; export DUALCASE # for MKS sh
13768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13772 # is contrary to our usage. Disable this feature.
13773 alias -g '${1+"$@"}'='"$@"'
13774 setopt NO_GLOB_SUBST
13776 case `(set -o) 2>/dev/null` in #(
13788 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13789 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13792 # Prefer a ksh shell builtin over an external printf program on Solaris,
13793 # but without wasting forks for bash or zsh.
13794 if test -z "$BASH_VERSION$ZSH_VERSION" \
13795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13796 as_echo='print -r --'
13797 as_echo_n='print -rn --'
13798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13799 as_echo='printf %s\n'
13800 as_echo_n='printf %s'
13802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13803 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13804 as_echo_n='/usr/ucb/echo -n'
13806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13807 as_echo_n_body='eval
13811 expr "X$arg" : "X\\(.*\\)$as_nl";
13812 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13814 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13816 export as_echo_n_body
13817 as_echo_n='sh -c $as_echo_n_body as_echo'
13819 export as_echo_body
13820 as_echo='sh -c $as_echo_body as_echo'
13823 # The user is always right.
13824 if test "${PATH_SEPARATOR+set}" != set; then
13826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13834 # We need space, tab and new line, in precisely that order. Quoting is
13835 # there to prevent editors from complaining about space-tab.
13836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13837 # splitting by setting IFS to empty value.)
13840 # Find who we are. Look in the path if we contain no directory separator.
13843 *[\\/]* ) as_myself=$0 ;;
13844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13845 for as_dir in $PATH
13848 test -z "$as_dir" && as_dir=.
13849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13855 # We did not find ourselves, most probably we were run as `sh COMMAND'
13856 # in which case we are not to be found in the path.
13857 if test "x$as_myself" = x; then
13860 if test ! -f "$as_myself"; then
13861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13865 # Unset variables that we do not need and which cause bugs (e.g. in
13866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13867 # suppresses any "Segmentation fault" message there. '((' could
13868 # trigger a bug in pdksh 5.2.14.
13869 for as_var in BASH_ENV ENV MAIL MAILPATH
13870 do eval test x\${$as_var+set} = xset \
13871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13887 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13888 # ----------------------------------------
13889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13891 # script with STATUS, using 1 if that was 0.
13894 as_status=$1; test $as_status -eq 0 && as_status=1
13896 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13899 $as_echo "$as_me: error: $2" >&2
13900 as_fn_exit $as_status
13904 # as_fn_set_status STATUS
13905 # -----------------------
13906 # Set $? to STATUS, without forking.
13907 as_fn_set_status ()
13910 } # as_fn_set_status
13912 # as_fn_exit STATUS
13913 # -----------------
13914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13918 as_fn_set_status $1
13924 # Portably unset VAR.
13927 { eval $1=; unset $1;}
13929 as_unset=as_fn_unset
13930 # as_fn_append VAR VALUE
13931 # ----------------------
13932 # Append the text in VALUE to the end of the definition contained in VAR. Take
13933 # advantage of any shell optimizations that allow amortized linear growth over
13934 # repeated appends, instead of the typical quadratic growth present in naive
13936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13937 eval 'as_fn_append ()
13948 # as_fn_arith ARG...
13949 # ------------------
13950 # Perform arithmetic evaluation on the ARGs, and store the result in the
13951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13952 # must be portable across $(()) and expr.
13953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13954 eval 'as_fn_arith ()
13961 as_val=`expr "$@" || test $? -eq 1`
13966 if expr a : '\(a\)' >/dev/null 2>&1 &&
13967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13974 as_basename=basename
13979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13985 as_me=`$as_basename -- "$0" ||
13986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13987 X"$0" : 'X\(//\)$' \| \
13988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13990 sed '/^.*\/\([^/][^/]*\)\/*$/{
14004 # Avoid depending upon Character Ranges.
14005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14008 as_cr_digits='0123456789'
14009 as_cr_alnum=$as_cr_Letters$as_cr_digits
14011 ECHO_C= ECHO_N= ECHO_T=
14012 case `echo -n x` in #(((((
14014 case `echo 'xy\c'` in
14015 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14024 rm -f conf$$ conf$$.exe conf$$.file
14025 if test -d conf$$.dir; then
14026 rm -f conf$$.dir/conf$$.file
14029 mkdir conf$$.dir 2>/dev/null
14031 if (echo >conf$$.file) 2>/dev/null; then
14032 if ln -s conf$$.file conf$$ 2>/dev/null; then
14034 # ... but there are two gotchas:
14035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14037 # In both cases, we have to default to `cp -pR'.
14038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14040 elif ln conf$$.file conf$$ 2>/dev/null; then
14048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14049 rmdir conf$$.dir 2>/dev/null
14054 # Create "$as_dir" as a directory, including parents if necessary.
14059 -*) as_dir=./$as_dir;;
14061 test -d "$as_dir" || eval $as_mkdir_p || {
14065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14066 *) as_qdir=$as_dir;;
14068 as_dirs="'$as_qdir' $as_dirs"
14069 as_dir=`$as_dirname -- "$as_dir" ||
14070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14071 X"$as_dir" : 'X\(//\)[^/]' \| \
14072 X"$as_dir" : 'X\(//\)$' \| \
14073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14074 $as_echo X"$as_dir" |
14075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14079 /^X\(\/\/\)[^/].*/{
14092 test -d "$as_dir" && break
14094 test -z "$as_dirs" || eval "mkdir $as_dirs"
14095 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14099 if mkdir -p . 2>/dev/null; then
14100 as_mkdir_p='mkdir -p "$as_dir"'
14102 test -d ./-p && rmdir ./-p
14107 # as_fn_executable_p FILE
14108 # -----------------------
14109 # Test if FILE is an executable regular file.
14110 as_fn_executable_p ()
14112 test -f "$1" && test -x "$1"
14113 } # as_fn_executable_p
14114 as_test_x='test -x'
14115 as_executable_p=as_fn_executable_p
14117 # Sed expression to map a string onto a valid CPP name.
14118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14120 # Sed expression to map a string onto a valid variable name.
14121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14125 ## ----------------------------------- ##
14126 ## Main body of $CONFIG_STATUS script. ##
14127 ## ----------------------------------- ##
14129 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14132 # Save the log message, to keep $0 and so on meaningful, and to
14133 # report actual input values of CONFIG_FILES etc. instead of their
14134 # values after options handling.
14136 This file was extended by gupnp-dlna $as_me 0.10.2, which was
14137 generated by GNU Autoconf 2.69. Invocation command line was
14139 CONFIG_FILES = $CONFIG_FILES
14140 CONFIG_HEADERS = $CONFIG_HEADERS
14141 CONFIG_LINKS = $CONFIG_LINKS
14142 CONFIG_COMMANDS = $CONFIG_COMMANDS
14145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14150 case $ac_config_files in *"
14151 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14154 case $ac_config_headers in *"
14155 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14160 # Files that config.status was made for.
14161 config_files="$ac_config_files"
14162 config_headers="$ac_config_headers"
14163 config_commands="$ac_config_commands"
14167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14169 \`$as_me' instantiates files and other configuration actions
14170 from templates according to the current configuration. Unless the files
14171 and actions are specified as TAGs, all are instantiated by default.
14173 Usage: $0 [OPTION]... [TAG]...
14175 -h, --help print this help, then exit
14176 -V, --version print version number and configuration settings, then exit
14177 --config print configuration, then exit
14178 -q, --quiet, --silent
14179 do not print progress messages
14180 -d, --debug don't remove temporary files
14181 --recheck update $as_me by reconfiguring in the same conditions
14182 --file=FILE[:TEMPLATE]
14183 instantiate the configuration file FILE
14184 --header=FILE[:TEMPLATE]
14185 instantiate the configuration header FILE
14187 Configuration files:
14190 Configuration headers:
14193 Configuration commands:
14196 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
14197 gupnp-dlna home page: <http://www.gupnp.org/>."
14200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14201 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14203 gupnp-dlna config.status 0.10.2
14204 configured by $0, generated by GNU Autoconf 2.69,
14205 with options \\"\$ac_cs_config\\"
14207 Copyright (C) 2012 Free Software Foundation, Inc.
14208 This config.status script is free software; the Free Software Foundation
14209 gives unlimited permission to copy, distribute and modify it."
14216 test -n "\$AWK" || AWK=awk
14219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14220 # The default lists apply if the user does not specify any file.
14226 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14227 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14243 # Handling of the options.
14244 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14246 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14247 $as_echo "$ac_cs_version"; exit ;;
14248 --config | --confi | --conf | --con | --co | --c )
14249 $as_echo "$ac_cs_config"; exit ;;
14250 --debug | --debu | --deb | --de | --d | -d )
14252 --file | --fil | --fi | --f )
14255 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14256 '') as_fn_error $? "missing file argument" ;;
14258 as_fn_append CONFIG_FILES " '$ac_optarg'"
14259 ac_need_defaults=false;;
14260 --header | --heade | --head | --hea )
14263 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14265 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14266 ac_need_defaults=false;;
14268 # Conflict between --help and --header
14269 as_fn_error $? "ambiguous option: \`$1'
14270 Try \`$0 --help' for more information.";;
14271 --help | --hel | -h )
14272 $as_echo "$ac_cs_usage"; exit ;;
14273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14274 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14277 # This is an error.
14278 -*) as_fn_error $? "unrecognized option: \`$1'
14279 Try \`$0 --help' for more information." ;;
14281 *) as_fn_append ac_config_targets " $1"
14282 ac_need_defaults=false ;;
14288 ac_configure_extra_args=
14290 if $ac_cs_silent; then
14292 ac_configure_extra_args="$ac_configure_extra_args --silent"
14296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14297 if \$ac_cs_recheck; then
14298 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14300 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14301 CONFIG_SHELL='$SHELL'
14302 export CONFIG_SHELL
14307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14311 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14312 ## Running $as_me. ##
14318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14322 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14325 # The HP-UX ksh and POSIX shell print the target directory to stdout
14326 # if CDPATH is set.
14327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14329 sed_quote_subst='$sed_quote_subst'
14330 double_quote_subst='$double_quote_subst'
14331 delay_variable_subst='$delay_variable_subst'
14332 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14333 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14334 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14335 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14336 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14337 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14338 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14339 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14340 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14341 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14342 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14343 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14344 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14345 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14346 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14347 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14348 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14349 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14350 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14351 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14352 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14353 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14354 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14355 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14356 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14357 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14358 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14359 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14360 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14361 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14362 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14363 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14364 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14365 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14366 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14367 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14368 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14369 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14370 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14371 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14372 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14373 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14374 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14375 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14376 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14377 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14378 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14379 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14380 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14381 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14382 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14383 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14384 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14385 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14386 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14387 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14388 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14389 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"`'
14390 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14391 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14392 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14393 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14394 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14395 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14396 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14397 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14398 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14399 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14400 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14401 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14402 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14403 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14404 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14405 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14406 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14407 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14408 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14409 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14410 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14411 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14412 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14413 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14414 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14415 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14416 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14417 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14418 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14419 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14420 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14421 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14422 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14423 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14424 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14425 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14426 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14427 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14428 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14429 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14430 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14431 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14432 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14433 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14434 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14435 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14436 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14437 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14438 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14439 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14440 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14441 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14442 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14443 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14444 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14445 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14446 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14447 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14448 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14449 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14450 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14451 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14452 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14453 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14454 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14455 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14456 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14457 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14458 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14459 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14460 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14461 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14462 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14465 LTCFLAGS='$LTCFLAGS'
14466 compiler='$compiler_DEFAULT'
14468 # A function that is used when there is no print builtin or printf.
14469 func_fallback_echo ()
14471 eval 'cat <<_LTECHO_EOF
14476 # Quote evaled strings.
14493 deplibs_check_method \
14497 sharedlib_from_linklib_cmd \
14500 archiver_list_spec \
14506 lt_cv_sys_global_symbol_pipe \
14507 lt_cv_sys_global_symbol_to_cdecl \
14508 lt_cv_sys_global_symbol_to_c_name_address \
14509 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14510 nm_file_list_spec \
14511 lt_prog_compiler_no_builtin_flag \
14512 lt_prog_compiler_pic \
14513 lt_prog_compiler_wl \
14514 lt_prog_compiler_static \
14515 lt_cv_prog_compiler_c_o \
14524 export_dynamic_flag_spec \
14525 whole_archive_flag_spec \
14526 compiler_needs_object \
14528 allow_undefined_flag \
14529 no_undefined_flag \
14530 hardcode_libdir_flag_spec \
14531 hardcode_libdir_separator \
14535 variables_saved_for_relink \
14537 library_names_spec \
14539 install_override_mode \
14543 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14544 *[\\\\\\\`\\"\\\$]*)
14545 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14548 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14553 # Double-quote double-evaled strings.
14554 for var in reload_cmds \
14555 old_postinstall_cmds \
14556 old_postuninstall_cmds \
14558 extract_expsyms_cmds \
14559 old_archive_from_new_cmds \
14560 old_archive_from_expsyms_cmds \
14562 archive_expsym_cmds \
14564 module_expsym_cmds \
14565 export_symbols_cmds \
14569 postuninstall_cmds \
14571 sys_lib_search_path_spec \
14572 sys_lib_dlsearch_path_spec; do
14573 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14574 *[\\\\\\\`\\"\\\$]*)
14575 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14578 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14583 ac_aux_dir='$ac_aux_dir'
14584 xsi_shell='$xsi_shell'
14585 lt_shell_append='$lt_shell_append'
14587 # See if we are running on zsh, and set the options which allow our
14588 # commands through without removal of \ escapes INIT.
14589 if test -n "\${ZSH_VERSION+set}" ; then
14590 setopt NO_GLOB_SUBST
14596 TIMESTAMP='$TIMESTAMP'
14605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14607 # Handling of arguments.
14608 for ac_config_target in $ac_config_targets
14610 case $ac_config_target in
14611 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14612 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14613 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14614 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14615 "libgupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-dlna/Makefile" ;;
14616 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14617 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14618 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14619 "gupnp-dlna-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-2.0.pc" ;;
14620 "gupnp-dlna-metadata-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-metadata-2.0.pc" ;;
14621 "gupnp-dlna-gst-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-gst-2.0.pc" ;;
14622 "gupnp-dlna-gst-legacy-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-gst-legacy-2.0.pc" ;;
14623 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14624 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14625 "doc/gupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna/Makefile" ;;
14626 "doc/gupnp-dlna-metadata/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna-metadata/Makefile" ;;
14627 "doc/gupnp-dlna-gst/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna-gst/Makefile" ;;
14628 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14629 "tests/test-discoverer.sh") CONFIG_FILES="$CONFIG_FILES tests/test-discoverer.sh" ;;
14631 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14636 # If the user did not use the arguments to specify the items to instantiate,
14637 # then the envvar interface is used. Set only those that are not.
14638 # We use the long form for the default assignment because of an extremely
14639 # bizarre bug on SunOS 4.1.3.
14640 if $ac_need_defaults; then
14641 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14642 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14643 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14646 # Have a temporary directory for convenience. Make it in the build tree
14647 # simply because there is no reason against having it here, and in addition,
14648 # creating and moving files from /tmp can sometimes cause problems.
14649 # Hook for its removal unless debugging.
14650 # Note that there is a small window in which the directory will not be cleaned:
14651 # after its creation but before its name has been assigned to `$tmp'.
14655 trap 'exit_status=$?
14656 : "${ac_tmp:=$tmp}"
14657 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14659 trap 'as_fn_exit 1' 1 2 13 15
14661 # Create a (secure) tmp directory for tmp files.
14664 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14668 tmp=./conf$$-$RANDOM
14669 (umask 077 && mkdir "$tmp")
14670 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14673 # Set up the scripts for CONFIG_FILES section.
14674 # No need to generate them if there are no CONFIG_FILES.
14675 # This happens for instance with `./config.status config.h'.
14676 if test -n "$CONFIG_FILES"; then
14679 ac_cr=`echo X | tr X '\015'`
14680 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14681 # But we know of no other shell where ac_cr would be empty at this
14682 # point, so we can use a bashism as a fallback.
14683 if test "x$ac_cr" = x; then
14684 eval ac_cr=\$\'\\r\'
14686 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14687 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14690 ac_cs_awk_cr=$ac_cr
14693 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14698 echo "cat >conf$$subs.awk <<_ACEOF" &&
14699 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14701 } >conf$$subs.sh ||
14702 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14703 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14705 for ac_last_try in false false false false false :; do
14706 . ./conf$$subs.sh ||
14707 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14709 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14710 if test $ac_delim_n = $ac_delim_num; then
14712 elif $ac_last_try; then
14713 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14715 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14718 rm -f conf$$subs.sh
14720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14721 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14725 s/^/S["/; s/!.*/"]=/
14735 s/\(.\{148\}\)..*/\1/
14737 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14742 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14749 s/\(.\{148\}\)..*/\1/
14751 s/["\\]/\\&/g; s/^/"/; s/$/"/
14755 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14760 ' <conf$$subs.awk | sed '
14765 ' >>$CONFIG_STATUS || ac_write_fail=1
14766 rm -f conf$$subs.awk
14767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14769 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14770 for (key in S) S_is_set[key] = 1
14776 nfields = split(line, field, "@")
14778 len = length(field[1])
14779 for (i = 2; i < nfields; i++) {
14781 keylen = length(key)
14782 if (S_is_set[key]) {
14784 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14785 len += length(value) + length(field[++i])
14796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14797 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14798 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14801 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14802 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14805 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14806 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14807 # trailing colons and then remove the whole line if VPATH becomes empty
14808 # (actually we leave an empty line to preserve line numbers).
14809 if test "x$srcdir" = x.; then
14810 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14829 fi # test -n "$CONFIG_FILES"
14831 # Set up the scripts for CONFIG_HEADERS section.
14832 # No need to generate them if there are no CONFIG_HEADERS.
14833 # This happens for instance with `./config.status Makefile'.
14834 if test -n "$CONFIG_HEADERS"; then
14835 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14839 # Transform confdefs.h into an awk script `defines.awk', embedded as
14840 # here-document in config.status, that substitutes the proper values into
14841 # config.h.in to produce config.h.
14843 # Create a delimiter string that does not exist in confdefs.h, to ease
14844 # handling of long lines.
14846 for ac_last_try in false false :; do
14847 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14848 if test -z "$ac_tt"; then
14850 elif $ac_last_try; then
14851 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14853 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14857 # For the awk script, D is an array of macro values keyed by name,
14858 # likewise P contains macro parameters if any. Preserve backslash
14859 # newline sequences.
14861 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14863 s/.\{148\}/&'"$ac_delim"'/g
14866 s/^[ ]*#[ ]*define[ ][ ]*/ /
14873 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14875 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14879 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14880 D["\1"]=" \3\\\\\\n"\\/p
14882 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14887 s/.\{148\}/&'"$ac_delim"'/g
14892 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14895 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14897 ' <confdefs.h | sed '
14898 s/'"$ac_delim"'/"\\\
14899 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14902 for (key in D) D_is_set[key] = 1
14905 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14907 split(line, arg, " ")
14908 if (arg[1] == "#") {
14912 defundef = substr(arg[1], 2)
14915 split(mac1, mac2, "(") #)
14917 prefix = substr(line, 1, index(line, defundef) - 1)
14918 if (D_is_set[macro]) {
14919 # Preserve the white space surrounding the "#".
14920 print prefix "define", macro P[macro] D[macro]
14923 # Replace #undef with comments. This is necessary, for example,
14924 # in the case of _POSIX_SOURCE, which is predefined and required
14925 # on some systems where configure will not decide to define it.
14926 if (defundef == "undef") {
14927 print "/*", prefix defundef, macro, "*/"
14935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14936 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14937 fi # test -n "$CONFIG_HEADERS"
14940 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14945 :[FHLC]) ac_mode=$ac_tag; continue;;
14947 case $ac_mode$ac_tag in
14949 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14950 :[FH]-) ac_tag=-:-;;
14951 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14968 -) ac_f="$ac_tmp/stdin";;
14969 *) # Look for the file first in the build tree, then in the source tree
14970 # (if the path is not absolute). The absolute path cannot be DOS-style,
14971 # because $ac_f cannot contain `:'.
14975 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14977 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14979 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14980 as_fn_append ac_file_inputs " '$ac_f'"
14983 # Let's still pretend it is `configure' which instantiates (i.e., don't
14984 # use $as_me), people would be surprised to read:
14985 # /* config.h. Generated by config.status. */
14986 configure_input='Generated from '`
14987 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14989 if test x"$ac_file" != x-; then
14990 configure_input="$ac_file. $configure_input"
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14992 $as_echo "$as_me: creating $ac_file" >&6;}
14994 # Neutralize special characters interpreted by sed in replacement strings.
14995 case $configure_input in #(
14996 *\&* | *\|* | *\\* )
14997 ac_sed_conf_input=`$as_echo "$configure_input" |
14998 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14999 *) ac_sed_conf_input=$configure_input;;
15003 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15009 ac_dir=`$as_dirname -- "$ac_file" ||
15010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15011 X"$ac_file" : 'X\(//\)[^/]' \| \
15012 X"$ac_file" : 'X\(//\)$' \| \
15013 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15014 $as_echo X"$ac_file" |
15015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15019 /^X\(\/\/\)[^/].*/{
15032 as_dir="$ac_dir"; as_fn_mkdir_p
15036 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15038 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15039 # A ".." for each directory in $ac_dir_suffix.
15040 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15041 case $ac_top_builddir_sub in
15042 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15043 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15046 ac_abs_top_builddir=$ac_pwd
15047 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15048 # for backward compatibility:
15049 ac_top_builddir=$ac_top_build_prefix
15052 .) # We are building in place.
15054 ac_top_srcdir=$ac_top_builddir_sub
15055 ac_abs_top_srcdir=$ac_pwd ;;
15056 [\\/]* | ?:[\\/]* ) # Absolute name.
15057 ac_srcdir=$srcdir$ac_dir_suffix;
15058 ac_top_srcdir=$srcdir
15059 ac_abs_top_srcdir=$srcdir ;;
15060 *) # Relative name.
15061 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15062 ac_top_srcdir=$ac_top_build_prefix$srcdir
15063 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15065 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15075 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15076 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15078 ac_MKDIR_P=$MKDIR_P
15080 [\\/$]* | ?:[\\/]* ) ;;
15081 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15086 # If the template does not know about datarootdir, expand it.
15087 # FIXME: This hack should be removed a few years after 2.60.
15088 ac_datarootdir_hack=; ac_datarootdir_seen=
15099 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15100 *datarootdir*) ac_datarootdir_seen=yes;;
15101 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15103 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15106 ac_datarootdir_hack='
15107 s&@datadir@&$datadir&g
15108 s&@docdir@&$docdir&g
15109 s&@infodir@&$infodir&g
15110 s&@localedir@&$localedir&g
15111 s&@mandir@&$mandir&g
15112 s&\\\${datarootdir}&$datarootdir&g' ;;
15116 # Neutralize VPATH when `$srcdir' = `.'.
15117 # Shell code in configure.ac might set extrasub.
15118 # FIXME: do we really want to maintain this feature?
15119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15120 ac_sed_extra="$ac_vpsub
15123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15125 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15126 s|@configure_input@|$ac_sed_conf_input|;t t
15127 s&@top_builddir@&$ac_top_builddir_sub&;t t
15128 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15129 s&@srcdir@&$ac_srcdir&;t t
15130 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15131 s&@top_srcdir@&$ac_top_srcdir&;t t
15132 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15133 s&@builddir@&$ac_builddir&;t t
15134 s&@abs_builddir@&$ac_abs_builddir&;t t
15135 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15136 s&@INSTALL@&$ac_INSTALL&;t t
15137 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15138 $ac_datarootdir_hack
15140 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15141 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15143 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15144 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15145 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15146 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15148 which seems to be undefined. Please make sure it is defined" >&5
15149 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15150 which seems to be undefined. Please make sure it is defined" >&2;}
15152 rm -f "$ac_tmp/stdin"
15154 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15155 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15157 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15163 if test x"$ac_file" != x-; then
15165 $as_echo "/* $configure_input */" \
15166 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15167 } >"$ac_tmp/config.h" \
15168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15169 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15171 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15174 mv "$ac_tmp/config.h" "$ac_file" \
15175 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15178 $as_echo "/* $configure_input */" \
15179 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15180 || as_fn_error $? "could not create -" "$LINENO" 5
15182 # Compute "$ac_file"'s index in $config_headers.
15185 for _am_header in $config_headers :; do
15186 case $_am_header in
15187 $_am_arg | $_am_arg:* )
15190 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15193 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15194 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15195 X"$_am_arg" : 'X\(//\)[^/]' \| \
15196 X"$_am_arg" : 'X\(//\)$' \| \
15197 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15198 $as_echo X"$_am_arg" |
15199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15203 /^X\(\/\/\)[^/].*/{
15215 s/.*/./; q'`/stamp-h$_am_stamp_count
15218 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15219 $as_echo "$as_me: executing $ac_file commands" >&6;}
15224 case $ac_file$ac_mode in
15225 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15226 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15227 # are listed without --file. Let's play safe and only enable the eval
15228 # if we detect the quoting.
15229 case $CONFIG_FILES in
15230 *\'*) eval set x "$CONFIG_FILES" ;;
15231 *) set x $CONFIG_FILES ;;
15236 # Strip MF so we end up with the name of the file.
15237 mf=`echo "$mf" | sed -e 's/:.*$//'`
15238 # Check whether this is an Automake generated Makefile or not.
15239 # We used to match only the files named `Makefile.in', but
15240 # some people rename them; so instead we look at the file content.
15241 # Grep'ing the first line is not enough: some people post-process
15242 # each Makefile.in and add a new line on top of each file to say so.
15243 # Grep'ing the whole file is not good either: AIX grep has a line
15244 # limit of 2048, but all sed's we know have understand at least 4000.
15245 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15246 dirpart=`$as_dirname -- "$mf" ||
15247 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15248 X"$mf" : 'X\(//\)[^/]' \| \
15249 X"$mf" : 'X\(//\)$' \| \
15250 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15256 /^X\(\/\/\)[^/].*/{
15272 # Extract the definition of DEPDIR, am__include, and am__quote
15273 # from the Makefile without running `make'.
15274 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15275 test -z "$DEPDIR" && continue
15276 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15277 test -z "am__include" && continue
15278 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15279 # When using ansi2knr, U may be empty or an underscore; expand it
15280 U=`sed -n 's/^U = //p' < "$mf"`
15281 # Find all dependency output files, they are included files with
15282 # $(DEPDIR) in their names. We invoke sed twice because it is the
15283 # simplest approach to changing $(DEPDIR) to its actual value in the
15285 for file in `sed -n "
15286 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15287 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15288 # Make sure the directory exists.
15289 test -f "$dirpart/$file" && continue
15290 fdir=`$as_dirname -- "$file" ||
15291 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15292 X"$file" : 'X\(//\)[^/]' \| \
15293 X"$file" : 'X\(//\)$' \| \
15294 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15295 $as_echo X"$file" |
15296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15300 /^X\(\/\/\)[^/].*/{
15313 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15314 # echo "creating $dirpart/$file"
15315 echo '# dummy' > "$dirpart/$file"
15322 # See if we are running on zsh, and set the options which allow our
15323 # commands through without removal of \ escapes.
15324 if test -n "${ZSH_VERSION+set}" ; then
15325 setopt NO_GLOB_SUBST
15328 cfgfile="${ofile}T"
15329 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15332 cat <<_LT_EOF >> "$cfgfile"
15335 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15336 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15337 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15338 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15340 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15341 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15343 # Written by Gordon Matzigkeit, 1996
15345 # This file is part of GNU Libtool.
15347 # GNU Libtool is free software; you can redistribute it and/or
15348 # modify it under the terms of the GNU General Public License as
15349 # published by the Free Software Foundation; either version 2 of
15350 # the License, or (at your option) any later version.
15352 # As a special exception to the GNU General Public License,
15353 # if you distribute this file as part of a program or library that
15354 # is built using GNU Libtool, you may include this file under the
15355 # same distribution terms that you use for the rest of that program.
15357 # GNU Libtool is distributed in the hope that it will be useful,
15358 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15360 # GNU General Public License for more details.
15362 # You should have received a copy of the GNU General Public License
15363 # along with GNU Libtool; see the file COPYING. If not, a copy
15364 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15365 # obtained by writing to the Free Software Foundation, Inc.,
15366 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15369 # The names of the tagged configurations supported by this script.
15372 # ### BEGIN LIBTOOL CONFIG
15374 # Which release of libtool.m4 was used?
15375 macro_version=$macro_version
15376 macro_revision=$macro_revision
15378 # Assembler program.
15381 # DLL creation program.
15382 DLLTOOL=$lt_DLLTOOL
15384 # Object dumper program.
15385 OBJDUMP=$lt_OBJDUMP
15387 # Whether or not to build shared libraries.
15388 build_libtool_libs=$enable_shared
15390 # Whether or not to build static libraries.
15391 build_old_libs=$enable_static
15393 # What type of objects to build.
15396 # Whether or not to optimize for fast installation.
15397 fast_install=$enable_fast_install
15399 # Shell to use when invoking shell scripts.
15402 # An echo program that protects backslashes.
15405 # The PATH separator for the build system.
15406 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15409 host_alias=$host_alias
15413 # The build system.
15414 build_alias=$build_alias
15418 # A sed program that does not truncate output.
15421 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15422 Xsed="\$SED -e 1s/^X//"
15424 # A grep program that handles long lines.
15430 # A literal string matcher.
15433 # A BSD- or MS-compatible name lister.
15436 # Whether we need soft or hard links.
15439 # What is the maximum length of a command?
15440 max_cmd_len=$max_cmd_len
15442 # Object file suffix (normally "o").
15445 # Executable file suffix (normally "").
15448 # whether the shell understands "unset".
15451 # turn spaces into newlines.
15454 # turn newlines into spaces.
15457 # convert \$build file names to \$host format.
15458 to_host_file_cmd=$lt_cv_to_host_file_cmd
15460 # convert \$build files to toolchain format.
15461 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15463 # Method to check whether dependent libraries are shared objects.
15464 deplibs_check_method=$lt_deplibs_check_method
15466 # Command to use when deplibs_check_method = "file_magic".
15467 file_magic_cmd=$lt_file_magic_cmd
15469 # How to find potential files when deplibs_check_method = "file_magic".
15470 file_magic_glob=$lt_file_magic_glob
15472 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15473 want_nocaseglob=$lt_want_nocaseglob
15475 # Command to associate shared and link libraries.
15476 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15481 # Flags to create an archive.
15482 AR_FLAGS=$lt_AR_FLAGS
15484 # How to feed a file listing to the archiver.
15485 archiver_list_spec=$lt_archiver_list_spec
15487 # A symbol stripping program.
15490 # Commands used to install an old-style archive.
15492 old_postinstall_cmds=$lt_old_postinstall_cmds
15493 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15495 # Whether to use a lock for old archive extraction.
15496 lock_old_archive_extraction=$lock_old_archive_extraction
15501 # LTCC compiler flags.
15502 LTCFLAGS=$lt_CFLAGS
15504 # Take the output of nm and produce a listing of raw symbols and C names.
15505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15507 # Transform the output of nm in a proper C declaration.
15508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15510 # Transform the output of nm in a C name address pair.
15511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15513 # Transform the output of nm in a C name address pair when lib prefix is needed.
15514 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15516 # Specify filename containing input files for \$NM.
15517 nm_file_list_spec=$lt_nm_file_list_spec
15519 # The root where to search for dependent libraries,and in which our libraries should be installed.
15520 lt_sysroot=$lt_sysroot
15522 # The name of the directory that contains temporary libtool files.
15525 # Used to examine libraries when file_magic_cmd begins with "file".
15526 MAGIC_CMD=$MAGIC_CMD
15528 # Must we lock files when doing compilation?
15529 need_locks=$lt_need_locks
15532 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15534 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15535 DSYMUTIL=$lt_DSYMUTIL
15537 # Tool to change global to local symbols on Mac OS X.
15540 # Tool to manipulate fat objects and archives on Mac OS X.
15543 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15546 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15547 OTOOL64=$lt_OTOOL64
15549 # Old archive suffix (normally "a").
15552 # Shared library suffix (normally ".so").
15553 shrext_cmds=$lt_shrext_cmds
15555 # The commands to extract the exported symbol list from a shared archive.
15556 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15558 # Variables whose values should be saved in libtool wrapper scripts and
15559 # restored at link time.
15560 variables_saved_for_relink=$lt_variables_saved_for_relink
15562 # Do we need the "lib" prefix for modules?
15563 need_lib_prefix=$need_lib_prefix
15565 # Do we need a version for libraries?
15566 need_version=$need_version
15568 # Library versioning type.
15569 version_type=$version_type
15571 # Shared library runtime path variable.
15572 runpath_var=$runpath_var
15574 # Shared library path variable.
15575 shlibpath_var=$shlibpath_var
15577 # Is shlibpath searched before the hard-coded library search path?
15578 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15580 # Format of library name prefix.
15581 libname_spec=$lt_libname_spec
15583 # List of archive names. First name is the real one, the rest are links.
15584 # The last name is the one that the linker finds with -lNAME
15585 library_names_spec=$lt_library_names_spec
15587 # The coded name of the library, if different from the real name.
15588 soname_spec=$lt_soname_spec
15590 # Permission mode override for installation of shared libraries.
15591 install_override_mode=$lt_install_override_mode
15593 # Command to use after installation of a shared archive.
15594 postinstall_cmds=$lt_postinstall_cmds
15596 # Command to use after uninstallation of a shared archive.
15597 postuninstall_cmds=$lt_postuninstall_cmds
15599 # Commands used to finish a libtool library installation in a directory.
15600 finish_cmds=$lt_finish_cmds
15602 # As "finish_cmds", except a single script fragment to be evaled but
15604 finish_eval=$lt_finish_eval
15606 # Whether we should hardcode library paths into libraries.
15607 hardcode_into_libs=$hardcode_into_libs
15609 # Compile-time system search path for libraries.
15610 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15612 # Run-time system search path for libraries.
15613 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15615 # Whether dlopen is supported.
15616 dlopen_support=$enable_dlopen
15618 # Whether dlopen of programs is supported.
15619 dlopen_self=$enable_dlopen_self
15621 # Whether dlopen of statically linked programs is supported.
15622 dlopen_self_static=$enable_dlopen_self_static
15624 # Commands to strip libraries.
15625 old_striplib=$lt_old_striplib
15626 striplib=$lt_striplib
15629 # The linker used to build libraries.
15632 # How to create reloadable object files.
15633 reload_flag=$lt_reload_flag
15634 reload_cmds=$lt_reload_cmds
15636 # Commands used to build an old-style archive.
15637 old_archive_cmds=$lt_old_archive_cmds
15639 # A language specific compiler.
15642 # Is the compiler the GNU compiler?
15645 # Compiler flag to turn off builtin functions.
15646 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15648 # Additional compiler flags for building library objects.
15649 pic_flag=$lt_lt_prog_compiler_pic
15651 # How to pass a linker flag through the compiler.
15652 wl=$lt_lt_prog_compiler_wl
15654 # Compiler flag to prevent dynamic linking.
15655 link_static_flag=$lt_lt_prog_compiler_static
15657 # Does compiler simultaneously support -c and -o options?
15658 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15660 # Whether or not to add -lc for building shared libraries.
15661 build_libtool_need_lc=$archive_cmds_need_lc
15663 # Whether or not to disallow shared libs when runtime libs are static.
15664 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15666 # Compiler flag to allow reflexive dlopens.
15667 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15669 # Compiler flag to generate shared objects directly from archives.
15670 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15672 # Whether the compiler copes with passing no objects directly.
15673 compiler_needs_object=$lt_compiler_needs_object
15675 # Create an old-style archive from a shared archive.
15676 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15678 # Create a temporary old-style archive to link instead of a shared archive.
15679 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15681 # Commands used to build a shared archive.
15682 archive_cmds=$lt_archive_cmds
15683 archive_expsym_cmds=$lt_archive_expsym_cmds
15685 # Commands used to build a loadable module if different from building
15686 # a shared archive.
15687 module_cmds=$lt_module_cmds
15688 module_expsym_cmds=$lt_module_expsym_cmds
15690 # Whether we are building with GNU ld or not.
15691 with_gnu_ld=$lt_with_gnu_ld
15693 # Flag that allows shared libraries with undefined symbols to be built.
15694 allow_undefined_flag=$lt_allow_undefined_flag
15696 # Flag that enforces no undefined symbols.
15697 no_undefined_flag=$lt_no_undefined_flag
15699 # Flag to hardcode \$libdir into a binary during linking.
15700 # This must work even if \$libdir does not exist
15701 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15703 # Whether we need a single "-rpath" flag with a separated argument.
15704 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15707 # DIR into the resulting binary.
15708 hardcode_direct=$hardcode_direct
15710 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15711 # DIR into the resulting binary and the resulting library dependency is
15712 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15713 # library is relocated.
15714 hardcode_direct_absolute=$hardcode_direct_absolute
15716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15717 # into the resulting binary.
15718 hardcode_minus_L=$hardcode_minus_L
15720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15721 # into the resulting binary.
15722 hardcode_shlibpath_var=$hardcode_shlibpath_var
15724 # Set to "yes" if building a shared library automatically hardcodes DIR
15725 # into the library and all subsequent libraries and executables linked
15727 hardcode_automatic=$hardcode_automatic
15729 # Set to yes if linker adds runtime paths of dependent libraries
15730 # to runtime path list.
15731 inherit_rpath=$inherit_rpath
15733 # Whether libtool must link a program against all its dependency libraries.
15734 link_all_deplibs=$link_all_deplibs
15736 # Set to "yes" if exported symbols are required.
15737 always_export_symbols=$always_export_symbols
15739 # The commands to list exported symbols.
15740 export_symbols_cmds=$lt_export_symbols_cmds
15742 # Symbols that should not be listed in the preloaded symbols.
15743 exclude_expsyms=$lt_exclude_expsyms
15745 # Symbols that must always be exported.
15746 include_expsyms=$lt_include_expsyms
15748 # Commands necessary for linking programs (against libraries) with templates.
15749 prelink_cmds=$lt_prelink_cmds
15751 # Commands necessary for finishing linking programs.
15752 postlink_cmds=$lt_postlink_cmds
15754 # Specify filename containing input files.
15755 file_list_spec=$lt_file_list_spec
15757 # How to hardcode a shared library path into an executable.
15758 hardcode_action=$hardcode_action
15760 # ### END LIBTOOL CONFIG
15766 cat <<\_LT_EOF >> "$cfgfile"
15767 # AIX sometimes has problems with the GCC collect2 program. For some
15768 # reason, if we set the COLLECT_NAMES environment variable, the problems
15769 # vanish in a puff of smoke.
15770 if test "X${COLLECT_NAMES+set}" != Xset; then
15772 export COLLECT_NAMES
15779 ltmain="$ac_aux_dir/ltmain.sh"
15782 # We use sed instead of cat because bash on DJGPP gets confused if
15783 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15784 # text mode, it properly converts lines to CR/LF. This bash problem
15785 # is reportedly fixed, but why not run on old versions too?
15786 sed '$q' "$ltmain" >> "$cfgfile" \
15787 || (rm -f "$cfgfile"; exit 1)
15789 if test x"$xsi_shell" = xyes; then
15790 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15794 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15795 \ * ) func_dirname_result="${3}" ;;\
15797 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15798 && mv -f "$cfgfile.tmp" "$cfgfile" \
15799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15800 test 0 -eq $? || _lt_function_replace_fail=:
15803 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15806 \ func_basename_result="${1##*/}"\
15807 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15808 && mv -f "$cfgfile.tmp" "$cfgfile" \
15809 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15810 test 0 -eq $? || _lt_function_replace_fail=:
15813 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15814 func_dirname_and_basename ()\
15817 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15818 \ * ) func_dirname_result="${3}" ;;\
15820 \ func_basename_result="${1##*/}"\
15821 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15822 && mv -f "$cfgfile.tmp" "$cfgfile" \
15823 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15824 test 0 -eq $? || _lt_function_replace_fail=:
15827 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15830 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15831 \ # positional parameters, so assign one to ordinary parameter first.\
15832 \ func_stripname_result=${3}\
15833 \ func_stripname_result=${func_stripname_result#"${1}"}\
15834 \ func_stripname_result=${func_stripname_result%"${2}"}\
15835 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15836 && mv -f "$cfgfile.tmp" "$cfgfile" \
15837 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15838 test 0 -eq $? || _lt_function_replace_fail=:
15841 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15842 func_split_long_opt ()\
15844 \ func_split_long_opt_name=${1%%=*}\
15845 \ func_split_long_opt_arg=${1#*=}\
15846 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15847 && mv -f "$cfgfile.tmp" "$cfgfile" \
15848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15849 test 0 -eq $? || _lt_function_replace_fail=:
15852 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15853 func_split_short_opt ()\
15855 \ func_split_short_opt_arg=${1#??}\
15856 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15857 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15858 && mv -f "$cfgfile.tmp" "$cfgfile" \
15859 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15860 test 0 -eq $? || _lt_function_replace_fail=:
15863 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15867 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15868 \ *) func_lo2o_result=${1} ;;\
15870 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15871 && mv -f "$cfgfile.tmp" "$cfgfile" \
15872 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15873 test 0 -eq $? || _lt_function_replace_fail=:
15876 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15879 func_xform_result=${1%.*}.lo\
15880 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15881 && mv -f "$cfgfile.tmp" "$cfgfile" \
15882 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15883 test 0 -eq $? || _lt_function_replace_fail=:
15886 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15889 func_arith_result=$(( $* ))\
15890 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15891 && mv -f "$cfgfile.tmp" "$cfgfile" \
15892 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15893 test 0 -eq $? || _lt_function_replace_fail=:
15896 sed -e '/^func_len ()$/,/^} # func_len /c\
15899 func_len_result=${#1}\
15900 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15901 && mv -f "$cfgfile.tmp" "$cfgfile" \
15902 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15903 test 0 -eq $? || _lt_function_replace_fail=:
15907 if test x"$lt_shell_append" = xyes; then
15908 sed -e '/^func_append ()$/,/^} # func_append /c\
15911 eval "${1}+=\\${2}"\
15912 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15913 && mv -f "$cfgfile.tmp" "$cfgfile" \
15914 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15915 test 0 -eq $? || _lt_function_replace_fail=:
15918 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15919 func_append_quoted ()\
15921 \ func_quote_for_eval "${2}"\
15922 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15923 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15924 && mv -f "$cfgfile.tmp" "$cfgfile" \
15925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15926 test 0 -eq $? || _lt_function_replace_fail=:
15929 # Save a `func_append' function call where possible by direct use of '+='
15930 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15931 && mv -f "$cfgfile.tmp" "$cfgfile" \
15932 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15933 test 0 -eq $? || _lt_function_replace_fail=:
15935 # Save a `func_append' function call even when '+=' is not available
15936 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15937 && mv -f "$cfgfile.tmp" "$cfgfile" \
15938 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15939 test 0 -eq $? || _lt_function_replace_fail=:
15942 if test x"$_lt_function_replace_fail" = x":"; then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15944 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15948 mv -f "$cfgfile" "$ofile" ||
15949 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15953 "tests/test-discoverer.sh":F) chmod a+x tests/test-discoverer.sh ;;
15961 ac_clean_files=$ac_clean_files_save
15963 test $ac_write_fail = 0 ||
15964 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15967 # configure is writing to config.log, and then calls config.status.
15968 # config.status does its own redirection, appending to config.log.
15969 # Unfortunately, on DOS this fails, as config.log is still kept open
15970 # by configure, so config.status won't be able to write to it; its
15971 # output is simply discarded. So we exec the FD to /dev/null,
15972 # effectively closing config.log, so it can be properly (re)opened and
15973 # appended to by config.status. When coming back to configure, we
15974 # need to make the FD available again.
15975 if test "$no_create" != yes; then
15977 ac_config_status_args=
15978 test "$silent" = yes &&
15979 ac_config_status_args="$ac_config_status_args --quiet"
15981 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15983 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15984 # would make configure fail if this is the last instruction.
15985 $ac_cs_success || as_fn_exit 1
15987 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15989 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15994 echo 'Configuration status:'
15996 echo "GObject-Introspection: $found_introspection"
15997 echo "VALA bindings: $have_vapigen"
15998 echo "Default metadata backend: $with_default_metadata_backend"
15999 echo "Default metadata backend directory: $with_default_metadata_backend_dir"
16000 echo "Build GStreamer metadata backend: $enable_gstreamer_metadata_backend"
16001 echo "Build legacy GStreamer metadata backend: $enable_legacy_gstreamer_metadata_backend"