2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-dlna 0.10.0.
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.0'
655 PACKAGE_STRING='gupnp-dlna 0.10.0'
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
701 GTK_DOC_USE_REBASE_FALSE
702 GTK_DOC_USE_REBASE_TRUE
703 GTK_DOC_USE_LIBTOOL_FALSE
704 GTK_DOC_USE_LIBTOOL_TRUE
705 GTK_DOC_BUILD_PDF_FALSE
706 GTK_DOC_BUILD_PDF_TRUE
707 GTK_DOC_BUILD_HTML_FALSE
708 GTK_DOC_BUILD_HTML_TRUE
720 HAVE_INTROSPECTION_FALSE
721 HAVE_INTROSPECTION_TRUE
722 INTROSPECTION_MAKEFILE
725 INTROSPECTION_TYPELIBDIR
727 INTROSPECTION_GENERATE
728 INTROSPECTION_COMPILER
729 INTROSPECTION_SCANNER
736 GUPNP_DLNA_METADATA_BACKEND_CFLAGS
738 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE
739 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE
740 GST_LEGACY_MAJORMINOR
742 GST_PBU_LEGACY_CFLAGS
745 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE
746 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE
805 GUPNP_DLNA_VERSION_INFO
811 MAINTAINER_MODE_FALSE
821 INSTALL_STRIP_PROGRAM
863 program_transform_name
876 enable_option_checking
877 enable_maintainer_mode
879 enable_dependency_tracking
887 with_default_metadata_backend
888 enable_gstreamer_metadata_backend
889 enable_legacy_gstreamer_metadata_backend
890 with_default_metadata_backend_dir
898 ac_precious_vars='build_alias
918 GST_PBU_LEGACY_CFLAGS
930 # Initialize some variables set by options.
932 ac_init_version=false
933 ac_unrecognized_opts=
935 # The variables have the same names as the options, with
936 # dashes changed to underlines.
944 program_transform_name=s,x,x,
952 # Installation directory options.
953 # These are left unexpanded so users can "make install exec_prefix=/foo"
954 # and all the variables that are supposed to be based on exec_prefix
955 # by default will actually change.
956 # Use braces instead of parens because sh, perl, etc. also accept them.
957 # (The list follows the same order as the GNU Coding Standards.)
958 bindir='${exec_prefix}/bin'
959 sbindir='${exec_prefix}/sbin'
960 libexecdir='${exec_prefix}/libexec'
961 datarootdir='${prefix}/share'
962 datadir='${datarootdir}'
963 sysconfdir='${prefix}/etc'
964 sharedstatedir='${prefix}/com'
965 localstatedir='${prefix}/var'
966 includedir='${prefix}/include'
967 oldincludedir='/usr/include'
968 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
969 infodir='${datarootdir}/info'
974 libdir='${exec_prefix}/lib'
975 localedir='${datarootdir}/locale'
976 mandir='${datarootdir}/man'
982 # If the previous option needs an argument, assign it.
983 if test -n "$ac_prev"; then
984 eval $ac_prev=\$ac_option
990 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
995 # Accept the important Cygnus configure options, so we can diagnose typos.
997 case $ac_dashdash$ac_option in
1001 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1003 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1004 bindir=$ac_optarg ;;
1006 -build | --build | --buil | --bui | --bu)
1007 ac_prev=build_alias ;;
1008 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1009 build_alias=$ac_optarg ;;
1011 -cache-file | --cache-file | --cache-fil | --cache-fi \
1012 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1013 ac_prev=cache_file ;;
1014 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1015 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1016 cache_file=$ac_optarg ;;
1018 --config-cache | -C)
1019 cache_file=config.cache ;;
1021 -datadir | --datadir | --datadi | --datad)
1023 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1024 datadir=$ac_optarg ;;
1026 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1027 | --dataroo | --dataro | --datar)
1028 ac_prev=datarootdir ;;
1029 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1030 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1031 datarootdir=$ac_optarg ;;
1033 -disable-* | --disable-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid feature name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "enable_$ac_useropt"
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1047 eval enable_$ac_useropt=no ;;
1049 -docdir | --docdir | --docdi | --doc | --do)
1051 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1052 docdir=$ac_optarg ;;
1054 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1056 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1057 dvidir=$ac_optarg ;;
1059 -enable-* | --enable-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid feature name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_$ac_useropt"
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval enable_$ac_useropt=\$ac_optarg ;;
1075 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1076 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1077 | --exec | --exe | --ex)
1078 ac_prev=exec_prefix ;;
1079 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1080 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1081 | --exec=* | --exe=* | --ex=*)
1082 exec_prefix=$ac_optarg ;;
1084 -gas | --gas | --ga | --g)
1085 # Obsolete; use --with-gas.
1088 -help | --help | --hel | --he | -h)
1089 ac_init_help=long ;;
1090 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1091 ac_init_help=recursive ;;
1092 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1093 ac_init_help=short ;;
1095 -host | --host | --hos | --ho)
1096 ac_prev=host_alias ;;
1097 -host=* | --host=* | --hos=* | --ho=*)
1098 host_alias=$ac_optarg ;;
1100 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1102 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1104 htmldir=$ac_optarg ;;
1106 -includedir | --includedir | --includedi | --included | --include \
1107 | --includ | --inclu | --incl | --inc)
1108 ac_prev=includedir ;;
1109 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1110 | --includ=* | --inclu=* | --incl=* | --inc=*)
1111 includedir=$ac_optarg ;;
1113 -infodir | --infodir | --infodi | --infod | --info | --inf)
1115 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1116 infodir=$ac_optarg ;;
1118 -libdir | --libdir | --libdi | --libd)
1120 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1121 libdir=$ac_optarg ;;
1123 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1124 | --libexe | --libex | --libe)
1125 ac_prev=libexecdir ;;
1126 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1127 | --libexe=* | --libex=* | --libe=*)
1128 libexecdir=$ac_optarg ;;
1130 -localedir | --localedir | --localedi | --localed | --locale)
1131 ac_prev=localedir ;;
1132 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1133 localedir=$ac_optarg ;;
1135 -localstatedir | --localstatedir | --localstatedi | --localstated \
1136 | --localstate | --localstat | --localsta | --localst | --locals)
1137 ac_prev=localstatedir ;;
1138 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1139 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1140 localstatedir=$ac_optarg ;;
1142 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1144 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1145 mandir=$ac_optarg ;;
1147 -nfp | --nfp | --nf)
1148 # Obsolete; use --without-fp.
1151 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1152 | --no-cr | --no-c | -n)
1155 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1156 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1159 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1160 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1161 | --oldin | --oldi | --old | --ol | --o)
1162 ac_prev=oldincludedir ;;
1163 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1164 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1165 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1166 oldincludedir=$ac_optarg ;;
1168 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1170 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1171 prefix=$ac_optarg ;;
1173 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1174 | --program-pre | --program-pr | --program-p)
1175 ac_prev=program_prefix ;;
1176 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1177 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1178 program_prefix=$ac_optarg ;;
1180 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1181 | --program-suf | --program-su | --program-s)
1182 ac_prev=program_suffix ;;
1183 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1184 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1185 program_suffix=$ac_optarg ;;
1187 -program-transform-name | --program-transform-name \
1188 | --program-transform-nam | --program-transform-na \
1189 | --program-transform-n | --program-transform- \
1190 | --program-transform | --program-transfor \
1191 | --program-transfo | --program-transf \
1192 | --program-trans | --program-tran \
1193 | --progr-tra | --program-tr | --program-t)
1194 ac_prev=program_transform_name ;;
1195 -program-transform-name=* | --program-transform-name=* \
1196 | --program-transform-nam=* | --program-transform-na=* \
1197 | --program-transform-n=* | --program-transform-=* \
1198 | --program-transform=* | --program-transfor=* \
1199 | --program-transfo=* | --program-transf=* \
1200 | --program-trans=* | --program-tran=* \
1201 | --progr-tra=* | --program-tr=* | --program-t=*)
1202 program_transform_name=$ac_optarg ;;
1204 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1206 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1207 pdfdir=$ac_optarg ;;
1209 -psdir | --psdir | --psdi | --psd | --ps)
1211 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1218 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1220 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1222 sbindir=$ac_optarg ;;
1224 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1225 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1226 | --sharedst | --shareds | --shared | --share | --shar \
1228 ac_prev=sharedstatedir ;;
1229 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1230 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1231 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1233 sharedstatedir=$ac_optarg ;;
1235 -site | --site | --sit)
1237 -site=* | --site=* | --sit=*)
1240 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1242 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1243 srcdir=$ac_optarg ;;
1245 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1246 | --syscon | --sysco | --sysc | --sys | --sy)
1247 ac_prev=sysconfdir ;;
1248 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1249 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1250 sysconfdir=$ac_optarg ;;
1252 -target | --target | --targe | --targ | --tar | --ta | --t)
1253 ac_prev=target_alias ;;
1254 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1255 target_alias=$ac_optarg ;;
1257 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1260 -version | --version | --versio | --versi | --vers | -V)
1261 ac_init_version=: ;;
1264 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267 as_fn_error $? "invalid package name: $ac_useropt"
1268 ac_useropt_orig=$ac_useropt
1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep=', ';;
1277 eval with_$ac_useropt=\$ac_optarg ;;
1279 -without-* | --without-*)
1280 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1283 as_fn_error $? "invalid package name: $ac_useropt"
1284 ac_useropt_orig=$ac_useropt
1285 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1286 case $ac_user_opts in
1290 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1291 ac_unrecognized_sep=', ';;
1293 eval with_$ac_useropt=no ;;
1296 # Obsolete; use --with-x.
1299 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1300 | --x-incl | --x-inc | --x-in | --x-i)
1301 ac_prev=x_includes ;;
1302 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1303 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1304 x_includes=$ac_optarg ;;
1306 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1307 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1308 ac_prev=x_libraries ;;
1309 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1310 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1311 x_libraries=$ac_optarg ;;
1313 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1314 Try \`$0 --help' for more information"
1318 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1319 # Reject names that are not valid shell variable names.
1320 case $ac_envvar in #(
1321 '' | [0-9]* | *[!_$as_cr_alnum]* )
1322 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1324 eval $ac_envvar=\$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1331 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1338 if test -n "$ac_prev"; then
1339 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1340 as_fn_error $? "missing argument to $ac_option"
1343 if test -n "$ac_unrecognized_opts"; then
1344 case $enable_option_checking in
1346 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1347 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1351 # Check all directory arguments for consistency.
1352 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1353 datadir sysconfdir sharedstatedir localstatedir includedir \
1354 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1355 libdir localedir mandir
1357 eval ac_val=\$$ac_var
1358 # Remove trailing slashes.
1361 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1362 eval $ac_var=\$ac_val;;
1364 # Be sure to have absolute directory names.
1366 [\\/$]* | ?:[\\/]* ) continue;;
1367 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1369 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1372 # There might be people who depend on the old broken behavior: `$host'
1373 # used to hold the argument of --host etc.
1374 # FIXME: To remove some day.
1377 target=$target_alias
1379 # FIXME: To remove some day.
1380 if test "x$host_alias" != x; then
1381 if test "x$build_alias" = x; then
1382 cross_compiling=maybe
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391 test "$silent" = yes && exec 6>/dev/null
1394 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di=`ls -di .` &&
1396 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error $? "working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error $? "pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var in $ac_precious_vars; do
1455 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_${ac_var}_value=\$${ac_var}
1457 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures gupnp-dlna 0.10.0 to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking ...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp-dlna]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --program-prefix=PREFIX prepend PREFIX to installed program names
1527 --program-suffix=SUFFIX append SUFFIX to installed program names
1528 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1531 --build=BUILD configure for building on BUILD [guessed]
1532 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1536 if test -n "$ac_init_help"; then
1537 case $ac_init_help in
1538 short | recursive ) echo "Configuration of gupnp-dlna 0.10.0:";;
1543 --disable-option-checking ignore unrecognized --enable/--with options
1544 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1545 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1546 --disable-maintainer-mode disable make rules and dependencies not useful
1547 (and sometimes confusing) to the casual installer
1548 --enable-silent-rules less verbose build output (undo: `make V=1')
1549 --disable-silent-rules verbose build output (undo: `make V=0')
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --enable-shared[=PKGS] build shared libraries [default=yes]
1553 --enable-static[=PKGS] build static libraries [default=yes]
1554 --enable-fast-install[=PKGS]
1555 optimize for fast installation [default=yes]
1556 --disable-libtool-lock avoid locking (might break parallel builds)
1557 --enable-gstreamer-metadata-backend
1558 build a GStreamer metadata backend [default=auto]
1559 --enable-legacy-gstreamer-metadata-backend
1560 build a GStreamer 0.10 metadata backend [default=no]
1561 --enable-debug enable debugging [default=no]
1562 --enable-introspection=[no/auto/yes]
1563 Enable introspection for this build
1564 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1565 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1566 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1569 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1570 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1571 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1573 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1574 --with-sysroot=DIR Search for dependent libraries within DIR
1575 (or the compiler's sysroot if not specified).
1576 --with-default-metadata-backend=your_backend
1577 set a default metadata backend [default=gstreamer]
1578 --with-default-metadata-backend-dir=your_directory
1579 set a default metadata backend directory
1580 [default=$libdir/$PACKAGE_NAME]
1581 --with-html-dir=PATH path to installed docs
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1592 PKG_CONFIG path to pkg-config utility
1594 directories to add to pkg-config's search path
1596 path overriding pkg-config's built-in search path
1598 C compiler flags for LIBXML, overriding pkg-config
1599 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1600 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1601 GST_LIBS linker flags for GST, overriding pkg-config
1603 C compiler flags for GST_PBU, overriding pkg-config
1605 linker flags for GST_PBU, overriding pkg-config
1607 C compiler flags for GST_LEGACY, overriding pkg-config
1609 linker flags for GST_LEGACY, overriding pkg-config
1610 GST_PBU_LEGACY_CFLAGS
1611 C compiler flags for GST_PBU_LEGACY, overriding pkg-config
1613 linker flags for GST_PBU_LEGACY, overriding pkg-config
1614 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1615 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1617 C compiler flags for GOBJECT, overriding pkg-config
1619 linker flags for GOBJECT, overriding pkg-config
1621 C compiler flags for GMODULE, overriding pkg-config
1623 linker flags for GMODULE, overriding pkg-config
1625 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1627 linker flags for GTKDOC_DEPS, overriding pkg-config
1629 Use these variables to override the choices made by `configure' or to help
1630 it to find libraries and programs with nonstandard names/locations.
1632 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
1633 gupnp-dlna home page: <http://www.gupnp.org/>.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir=$ac_pwd
1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir=$ac_top_build_prefix
1663 .) # We are building in place.
1665 ac_top_srcdir=$ac_top_builddir_sub
1666 ac_abs_top_srcdir=$ac_pwd ;;
1667 [\\/]* | ?:[\\/]* ) # Absolute name.
1668 ac_srcdir=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir=$srcdir
1670 ac_abs_top_srcdir=$srcdir ;;
1672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" || { ac_status=$?; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" || { ac_status=$?; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1696 gupnp-dlna configure 0.10.0
1697 generated by GNU Autoconf 2.69
1699 Copyright (C) 2012 Free Software Foundation, Inc.
1700 This configure script is free software; the Free Software Foundation
1701 gives unlimited permission to copy, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext
1717 if { { ac_try="$ac_compile"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1746 } # ac_fn_c_try_compile
1748 # ac_fn_c_try_cpp LINENO
1749 # ----------------------
1750 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } > conftest.i && {
1770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status $ac_retval
1785 # ac_fn_c_try_run LINENO
1786 # ----------------------
1787 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1788 # that executables *can* be run.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 if { { ac_try="$ac_link"
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_link") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1803 { { case "(($ac_try" in
1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_try") 2>&5
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; }; }; then :
1815 $as_echo "$as_me: program exited with status $ac_status" >&5
1816 $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.$ac_ext >&5
1819 ac_retval=$ac_status
1821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 as_fn_set_status $ac_retval
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1890 if ac_fn_c_try_compile "$LINENO"; then :
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_check_func LINENO FUNC VAR
1905 # ----------------------------------
1906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1907 ac_fn_c_check_func ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913 $as_echo_n "(cached) " >&6
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1919 #define $2 innocuous_$2
1921 /* System header to define __stub macros and hopefully few prototypes,
1922 which can conflict with char $2 (); below.
1923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1924 <limits.h> exists even on freestanding compilers. */
1927 # include <limits.h>
1929 # include <assert.h>
1934 /* Override any GCC internal prototype to avoid an error.
1935 Use char because int might match the return type of a GCC
1936 builtin and then its argument prototype would still apply. */
1941 /* The GNU C library defines this for functions which it implements
1942 to always fail with ENOSYS. Some functions are actually named
1943 something starting with __ and the normal name is an alias. */
1944 #if defined __stub_$2 || defined __stub___$2
1956 if ac_fn_c_try_link "$LINENO"; then :
1961 rm -f core conftest.err conftest.$ac_objext \
1962 conftest$ac_exeext conftest.$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_func
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1974 It was created by gupnp-dlna $as_me 0.10.0, which was
1975 generated by GNU Autoconf 2.69. Invocation command line was
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2035 ac_must_keep_next=false
2041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2046 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2049 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2051 as_fn_append ac_configure_args1 " '$ac_arg'"
2052 if test $ac_must_keep_next = true; then
2053 ac_must_keep_next=false # Got value, back to normal.
2056 *=* | --config-cache | -C | -disable-* | --disable-* \
2057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059 | -with-* | --with-* | -without-* | --without-* | --x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 -* ) ac_must_keep_next=true ;;
2067 as_fn_append ac_configure_args " '$ac_arg'"
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log. We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2085 $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2089 # The following way of writing the cache mishandles newlines in values,
2091 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092 eval ac_val=\$$ac_var
2096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2100 _ | IFS | as_nl) ;; #(
2101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102 *) { eval $ac_var=; unset $ac_var;} ;;
2107 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108 *${as_nl}ac_space=\ *)
2110 "s/'\''/'\''\\\\'\'''\''/g;
2111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2121 $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2136 $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2140 for ac_var in $ac_subst_files
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2151 if test -s confdefs.h; then
2152 $as_echo "## ----------- ##
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167 for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2175 $as_echo "/* confdefs.h */" > confdefs.h
2177 # Predefined preprocessor variables.
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 # We do not want a PATH search for config.site.
2210 case $CONFIG_SITE in #((
2211 -*) ac_site_file1=./$CONFIG_SITE;;
2212 */*) ac_site_file1=$CONFIG_SITE;;
2213 *) ac_site_file1=./$CONFIG_SITE;;
2215 elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site
2219 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2224 test "x$ac_site_file" = xNONE && continue
2225 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5
2230 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2237 if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special files
2239 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2240 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2244 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245 *) . "./$cache_file";;
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2254 # Check that the precious variables saved in the cache have kept the same
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259 eval ac_new_set=\$ac_env_${ac_var}_set
2260 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261 eval ac_new_val=\$ac_env_${ac_var}_value
2262 case $ac_old_set,$ac_new_set in
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2273 if test "x$ac_old_val" != "x$ac_new_val"; then
2274 # differences in whitespace do not lead to failure.
2275 ac_old_val_w=`echo x $ac_old_val`
2276 ac_new_val_w=`echo x $ac_new_val`
2277 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280 ac_cache_corrupted=:
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284 eval $ac_var=\$ac_old_val
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2287 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2292 # Pass precious variables to config.status.
2293 if test "$ac_new_set" = set; then
2295 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296 *) ac_arg=$ac_var=$ac_new_val ;;
2298 case " $ac_configure_args " in
2299 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2300 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2304 if $ac_cache_corrupted; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 ac_config_headers="$ac_config_headers config.h"
2328 for ac_dir in build-aux "$srcdir"/build-aux; do
2329 if test -f "$ac_dir/install-sh"; then
2331 ac_install_sh="$ac_aux_dir/install-sh -c"
2333 elif test -f "$ac_dir/install.sh"; then
2335 ac_install_sh="$ac_aux_dir/install.sh -c"
2337 elif test -f "$ac_dir/shtool"; then
2339 ac_install_sh="$ac_aux_dir/shtool install -c"
2343 if test -z "$ac_aux_dir"; then
2344 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2347 # These three variables are undocumented and unsupported,
2348 # and are intended to be withdrawn in a future Autoconf release.
2349 # They can cause serious problems if a builder's source tree is in a directory
2350 # whose full name contains unusual characters.
2351 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2352 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2353 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 am__api_version='1.11'
2359 # Find a good install program. We prefer a C program (faster),
2360 # so one script is as good as another. But avoid the broken or
2361 # incompatible versions:
2362 # SysV /etc/install, /usr/sbin/install
2363 # SunOS /usr/etc/install
2364 # IRIX /sbin/install
2366 # AmigaOS /C/install, which installs bootblocks on floppy discs
2367 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2368 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2369 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2370 # OS/2's system install, which has a completely different semantic
2371 # ./install, which can be erroneously created by make from ./install.sh.
2372 # Reject install programs that cannot install multiple files.
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2374 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2375 if test -z "$INSTALL"; then
2376 if ${ac_cv_path_install+:} false; then :
2377 $as_echo_n "(cached) " >&6
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 # Account for people who put trailing slashes in PATH elements.
2385 case $as_dir/ in #((
2386 ./ | .// | /[cC]/* | \
2387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2388 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2391 # OSF1 and SCO ODT 3.0 have their own names for install.
2392 # Don't use installbsd from OSF since it installs stuff as root
2394 for ac_prog in ginstall scoinst install; do
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2397 if test $ac_prog = install &&
2398 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399 # AIX install. It has an incompatible calling convention.
2401 elif test $ac_prog = install &&
2402 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403 # program-specific install script used by HP pwplus--don't use.
2406 rm -rf conftest.one conftest.two conftest.dir
2407 echo one > conftest.one
2408 echo two > conftest.two
2410 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2411 test -s conftest.one && test -s conftest.two &&
2412 test -s conftest.dir/conftest.one &&
2413 test -s conftest.dir/conftest.two
2415 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2428 rm -rf conftest.one conftest.two conftest.dir
2431 if test "${ac_cv_path_install+set}" = set; then
2432 INSTALL=$ac_cv_path_install
2434 # As a last resort, use the slow shell script. Don't cache a
2435 # value for INSTALL within a source directory, because that will
2436 # break other packages using the cache if that directory is
2437 # removed, or if the value is a relative name.
2438 INSTALL=$ac_install_sh
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2442 $as_echo "$INSTALL" >&6; }
2444 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2445 # It thinks the first close brace ends the variable substitution.
2446 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2448 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2450 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2453 $as_echo_n "checking whether build environment is sane... " >&6; }
2456 echo timestamp > conftest.file
2457 # Reject unsafe characters in $srcdir or the absolute working directory
2458 # name. Accept space and tab only in the latter.
2462 *[\\\"\#\$\&\'\`$am_lf]*)
2463 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2466 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2467 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2470 # Do `set' in a subshell so we don't clobber the current shell's
2471 # arguments. Must try -L first in case configure is actually a
2472 # symlink; some systems play weird games with the mod time of symlinks
2473 # (eg FreeBSD returns the mod time of the symlink's containing
2476 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2477 if test "$*" = "X"; then
2479 set X `ls -t "$srcdir/configure" conftest.file`
2482 if test "$*" != "X $srcdir/configure conftest.file" \
2483 && test "$*" != "X conftest.file $srcdir/configure"; then
2485 # If neither matched, then we have a broken ls. This can happen
2486 # if, for instance, CONFIG_SHELL is bash and it inherits a
2487 # broken ls alias from the environment. This has actually
2488 # happened. Such a system could not be considered "sane".
2489 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2490 alias in your environment" "$LINENO" 5
2493 test "$2" = conftest.file
2499 as_fn_error $? "newly created file is older than distributed files!
2500 Check your system clock" "$LINENO" 5
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2503 $as_echo "yes" >&6; }
2504 test "$program_prefix" != NONE &&
2505 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2506 # Use a double $ so make ignores it.
2507 test "$program_suffix" != NONE &&
2508 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2509 # Double any \ or $.
2510 # By default was `s,x,x', remove it if useless.
2511 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2512 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2514 # expand $ac_aux_dir to an absolute path
2515 am_aux_dir=`cd $ac_aux_dir && pwd`
2517 if test x"${MISSING+set}" != xset; then
2520 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2522 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2525 # Use eval to expand $SHELL
2526 if eval "$MISSING --run true"; then
2527 am_missing_run="$MISSING --run "
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2531 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2534 if test x"${install_sh}" != xset; then
2537 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2539 install_sh="\${SHELL} $am_aux_dir/install-sh"
2543 # Installed binaries are usually stripped using `strip' when the user
2544 # run `make install-strip'. However `strip' might not be the right
2545 # tool to use in cross-compilation environments, therefore Automake
2546 # will honor the `STRIP' environment variable to overrule this program.
2547 if test "$cross_compiling" != no; then
2548 if test -n "$ac_tool_prefix"; then
2549 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2550 set dummy ${ac_tool_prefix}strip; ac_word=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if ${ac_cv_prog_STRIP+:} false; then :
2554 $as_echo_n "(cached) " >&6
2556 if test -n "$STRIP"; then
2557 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 STRIP=$ac_cv_prog_STRIP
2577 if test -n "$STRIP"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2579 $as_echo "$STRIP" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 $as_echo "no" >&6; }
2587 if test -z "$ac_cv_prog_STRIP"; then
2589 # Extract the first word of "strip", so it can be a program name with args.
2590 set dummy strip; ac_word=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$ac_ct_STRIP"; then
2597 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2606 ac_cv_prog_ac_ct_STRIP="strip"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2617 if test -n "$ac_ct_STRIP"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2619 $as_echo "$ac_ct_STRIP" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2625 if test "x$ac_ct_STRIP" = x; then
2628 case $cross_compiling:$ac_tool_warned in
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632 ac_tool_warned=yes ;;
2637 STRIP="$ac_cv_prog_STRIP"
2641 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2644 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2645 if test -z "$MKDIR_P"; then
2646 if ${ac_cv_path_mkdir+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2653 test -z "$as_dir" && as_dir=.
2654 for ac_prog in mkdir gmkdir; do
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2657 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2658 'mkdir (GNU coreutils) '* | \
2659 'mkdir (coreutils) '* | \
2660 'mkdir (fileutils) '4.1*)
2661 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2671 test -d ./--version && rmdir ./--version
2672 if test "${ac_cv_path_mkdir+set}" = set; then
2673 MKDIR_P="$ac_cv_path_mkdir -p"
2675 # As a last resort, use the slow shell script. Don't cache a
2676 # value for MKDIR_P within a source directory, because that will
2677 # break other packages using the cache if that directory is
2678 # removed, or if the value is a relative name.
2679 MKDIR_P="$ac_install_sh -d"
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2683 $as_echo "$MKDIR_P" >&6; }
2687 [\\/$]* | ?:[\\/]*) ;;
2688 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2691 for ac_prog in gawk mawk nawk awk
2693 # Extract the first word of "$ac_prog", so it can be a program name with args.
2694 set dummy $ac_prog; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_AWK+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$AWK"; then
2701 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_AWK="$ac_prog"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 if test -n "$AWK"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2723 $as_echo "$AWK" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2730 test -n "$AWK" && break
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2734 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2736 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2737 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2738 $as_echo_n "(cached) " >&6
2740 cat >conftest.make <<\_ACEOF
2743 @echo '@@@%%%=$(MAKE)=@@@%%%'
2745 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2746 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2748 eval ac_cv_prog_make_${ac_make}_set=yes;;
2750 eval ac_cv_prog_make_${ac_make}_set=no;;
2754 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2756 $as_echo "yes" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2761 SET_MAKE="MAKE=${MAKE-make}"
2764 rm -rf .tst 2>/dev/null
2765 mkdir .tst 2>/dev/null
2766 if test -d .tst; then
2771 rmdir .tst 2>/dev/null
2773 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2774 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2775 # is not polluted with repeated "-I."
2776 am__isrc=' -I$(srcdir)'
2777 # test to see if srcdir already configured
2778 if test -f $srcdir/config.status; then
2779 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2783 # test whether we have cygpath
2784 if test -z "$CYGPATH_W"; then
2785 if (cygpath --version) >/dev/null 2>/dev/null; then
2786 CYGPATH_W='cygpath -w'
2793 # Define the identity of the package.
2794 PACKAGE='gupnp-dlna'
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE "$PACKAGE"
2803 cat >>confdefs.h <<_ACEOF
2804 #define VERSION "$VERSION"
2807 # Some tools Automake needs.
2809 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2812 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2815 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2818 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2821 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2823 # We need awk for the "check" target. The system "awk" is bad on
2825 # Always define AMTAR for backward compatibility. Yes, it's still used
2826 # in the wild :-( We should find a proper way to deprecate it ...
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2831 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2832 # Loop over all known methods to create a tar archive until one works.
2833 _am_tools='gnutar plaintar pax cpio none'
2834 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2835 # Do not fold the above two line into one, because Tru64 sh and
2836 # Solaris sh will not grok spaces in the rhs of `-'.
2837 for _am_tool in $_am_tools
2841 for _am_tar in tar gnutar gtar;
2843 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2844 ($_am_tar --version) >&5 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } && break
2849 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2850 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2851 am__untar="$_am_tar -xf -"
2854 # Must skip GNU tar: if it does not support --format= it doesn't create
2855 # ustar tarball either.
2856 (tar --version) >/dev/null 2>&1 && continue
2857 am__tar='tar chf - "$$tardir"'
2858 am__tar_='tar chf - "$tardir"'
2859 am__untar='tar xf -'
2862 am__tar='pax -L -x ustar -w "$$tardir"'
2863 am__tar_='pax -L -x ustar -w "$tardir"'
2867 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2868 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2869 am__untar='cpio -i -H ustar -d'
2878 # If the value was cached, stop now. We just wanted to have am__tar
2879 # and am__untar set.
2880 test -n "${am_cv_prog_tar_ustar}" && break
2882 # tar/untar a dummy directory, and stop if the command works
2885 echo GrepMe > conftest.dir/file
2886 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2887 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2892 if test -s conftest.tar; then
2893 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2894 ($am__untar <conftest.tar) >&5 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }
2898 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2903 if ${am_cv_prog_tar_ustar+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 am_cv_prog_tar_ustar=$_am_tool
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2910 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2918 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2919 # Check whether --enable-maintainer-mode was given.
2920 if test "${enable_maintainer_mode+set}" = set; then :
2921 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2923 USE_MAINTAINER_MODE=yes
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2927 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2928 if test $USE_MAINTAINER_MODE = yes; then
2929 MAINTAINER_MODE_TRUE=
2930 MAINTAINER_MODE_FALSE='#'
2932 MAINTAINER_MODE_TRUE='#'
2933 MAINTAINER_MODE_FALSE=
2936 MAINT=$MAINTAINER_MODE_TRUE
2940 # Check whether --enable-silent-rules was given.
2941 if test "${enable_silent_rules+set}" = set; then :
2942 enableval=$enable_silent_rules;
2945 case $enable_silent_rules in
2946 yes) AM_DEFAULT_VERBOSITY=0;;
2947 no) AM_DEFAULT_VERBOSITY=1;;
2948 *) AM_DEFAULT_VERBOSITY=0;;
2950 am_make=${MAKE-make}
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2952 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2953 if ${am_cv_make_support_nested_variables+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if $as_echo 'TRUE=$(BAR$(V))
2962 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2963 am_cv_make_support_nested_variables=yes
2965 am_cv_make_support_nested_variables=no
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2969 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2970 if test $am_cv_make_support_nested_variables = yes; then
2972 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2974 AM_V=$AM_DEFAULT_VERBOSITY
2975 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2980 GUPNP_DLNA_CURRENT=3
2982 GUPNP_DLNA_REVISION=0
2986 GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE"
2989 # Check for programs
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 if test -n "$ac_tool_prefix"; then
2996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2997 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999 $as_echo_n "checking for $ac_word... " >&6; }
3000 if ${ac_cv_prog_CC+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 if test -n "$CC"; then
3004 ac_cv_prog_CC="$CC" # Let the user override the test.
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir=.
3011 for ac_exec_ext in '' $ac_executable_extensions; do
3012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3034 if test -z "$ac_cv_prog_CC"; then
3036 # Extract the first word of "gcc", so it can be a program name with args.
3037 set dummy gcc; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$ac_ct_CC"; then
3044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_CC="gcc"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3064 if test -n "$ac_ct_CC"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3066 $as_echo "$ac_ct_CC" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3072 if test "x$ac_ct_CC" = x; then
3075 case $cross_compiling:$ac_tool_warned in
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3079 ac_tool_warned=yes ;;
3087 if test -z "$CC"; then
3088 if test -n "$ac_tool_prefix"; then
3089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3090 set dummy ${ac_tool_prefix}cc; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if ${ac_cv_prog_CC+:} false; then :
3094 $as_echo_n "(cached) " >&6
3096 if test -n "$CC"; then
3097 ac_cv_prog_CC="$CC" # Let the user override the test.
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_CC="${ac_tool_prefix}cc"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3128 if test -z "$CC"; then
3129 # Extract the first word of "cc", so it can be a program name with args.
3130 set dummy cc; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC="$CC" # Let the user override the test.
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3147 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3148 ac_prog_rejected=yes
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test $ac_prog_rejected = yes; then
3160 # We found a bogon in the path, so make sure we never use it.
3161 set dummy $ac_cv_prog_CC
3163 if test $# != 0; then
3164 # We chose a different compiler from the bogus one.
3165 # However, it has the same basename, so the bogon will be chosen
3166 # first if we set CC to just the basename; use the full file name.
3168 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3184 if test -z "$CC"; then
3185 if test -n "$ac_tool_prefix"; then
3186 for ac_prog in cl.exe
3188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_CC+:} false; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$CC"; then
3196 ac_cv_prog_CC="$CC" # Let the user override the test.
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 if test -n "$CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3225 test -n "$CC" && break
3228 if test -z "$CC"; then
3230 for ac_prog in cl.exe
3232 # Extract the first word of "$ac_prog", so it can be a program name with args.
3233 set dummy $ac_prog; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$ac_ct_CC"; then
3240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3249 ac_cv_prog_ac_ct_CC="$ac_prog"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3260 if test -n "$ac_ct_CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3262 $as_echo "$ac_ct_CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3269 test -n "$ac_ct_CC" && break
3272 if test "x$ac_ct_CC" = x; then
3275 case $cross_compiling:$ac_tool_warned in
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3279 ac_tool_warned=yes ;;
3288 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3290 as_fn_error $? "no acceptable C compiler found in \$PATH
3291 See \`config.log' for more details" "$LINENO" 5; }
3293 # Provide some information about the compiler.
3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3297 for ac_option in --version -v -V -qversion; do
3298 { { ac_try="$ac_compiler $ac_option >&5"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304 $as_echo "$ac_try_echo"; } >&5
3305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3307 if test -s conftest.err; then
3309 ... rest of stderr output deleted ...
3310 10q' conftest.err >conftest.er1
3311 cat conftest.er1 >&5
3313 rm -f conftest.er1 conftest.err
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 ac_clean_files_save=$ac_clean_files
3330 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3331 # Try to create an executable without -o first, disregard a.out.
3332 # It will help us diagnose broken compilers, and finding out an intuition
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3335 $as_echo_n "checking whether the C compiler works... " >&6; }
3336 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3338 # The possible output files:
3339 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3342 for ac_file in $ac_files
3345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3346 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3351 if { { ac_try="$ac_link_default"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_link_default") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }; then :
3362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3365 # so that the user can short-circuit this test for compilers unknown to
3367 for ac_file in $ac_files ''
3369 test -f "$ac_file" || continue
3371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3374 # We found the default executable, but exeext='' is most
3378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3382 # We set ac_cv_exeext here because the later test for it is not
3383 # safe: cross compilers may not add the suffix if given an `-o'
3384 # argument, so we may need to know it at that point already.
3385 # Even if this section looks crufty: it has the advantage of
3392 test "$ac_cv_exeext" = no && ac_cv_exeext=
3397 if test -z "$ac_file"; then :
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3400 $as_echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.$ac_ext >&5
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error 77 "C compiler cannot create executables
3406 See \`config.log' for more details" "$LINENO" 5; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3409 $as_echo "yes" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3412 $as_echo_n "checking for C compiler default output file name... " >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3414 $as_echo "$ac_file" >&6; }
3415 ac_exeext=$ac_cv_exeext
3417 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3418 ac_clean_files=$ac_clean_files_save
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3420 $as_echo_n "checking for suffix of executables... " >&6; }
3421 if { { ac_try="$ac_link"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3432 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3433 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3434 # work properly (i.e., refer to `conftest.exe'), while it won't with
3436 for ac_file in conftest.exe conftest conftest.*; do
3437 test -f "$ac_file" || continue
3439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3440 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3449 See \`config.log' for more details" "$LINENO" 5; }
3451 rm -f conftest conftest$ac_cv_exeext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3453 $as_echo "$ac_cv_exeext" >&6; }
3455 rm -f conftest.$ac_ext
3456 EXEEXT=$ac_cv_exeext
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3464 FILE *f = fopen ("conftest.out", "w");
3465 return ferror (f) || fclose (f) != 0;
3471 ac_clean_files="$ac_clean_files conftest.out"
3472 # Check that the compiler produces executables we can run. If not, either
3473 # the compiler is broken, or we cross compile.
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3475 $as_echo_n "checking whether we are cross compiling... " >&6; }
3476 if test "$cross_compiling" != yes; then
3477 { { ac_try="$ac_link"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_link") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }
3488 if { ac_try='./conftest$ac_cv_exeext'
3489 { { case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495 (eval "$ac_try") 2>&5
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }; }; then
3501 if test "$cross_compiling" = maybe; then
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 as_fn_error $? "cannot run C compiled programs.
3507 If you meant to cross compile, use \`--host'.
3508 See \`config.log' for more details" "$LINENO" 5; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3513 $as_echo "$cross_compiling" >&6; }
3515 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3516 ac_clean_files=$ac_clean_files_save
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3518 $as_echo_n "checking for suffix of object files... " >&6; }
3519 if ${ac_cv_objext+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3533 rm -f conftest.o conftest.obj
3534 if { { ac_try="$ac_compile"
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540 $as_echo "$ac_try_echo"; } >&5
3541 (eval "$ac_compile") 2>&5
3543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544 test $ac_status = 0; }; then :
3545 for ac_file in conftest.o conftest.obj conftest.*; do
3546 test -f "$ac_file" || continue;
3548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3549 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3554 $as_echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 as_fn_error $? "cannot compute suffix of object files: cannot compile
3560 See \`config.log' for more details" "$LINENO" 5; }
3562 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3565 $as_echo "$ac_cv_objext" >&6; }
3566 OBJEXT=$ac_cv_objext
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3569 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3570 if ${ac_cv_c_compiler_gnu+:} false; then :
3571 $as_echo_n "(cached) " >&6
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3587 if ac_fn_c_try_compile "$LINENO"; then :
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3597 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3598 if test $ac_compiler_gnu = yes; then
3603 ac_test_CFLAGS=${CFLAGS+set}
3604 ac_save_CFLAGS=$CFLAGS
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3606 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3607 if ${ac_cv_prog_cc_g+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 ac_save_c_werror_flag=$ac_c_werror_flag
3611 ac_c_werror_flag=yes
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3640 if ac_fn_c_try_compile "$LINENO"; then :
3643 ac_c_werror_flag=$ac_save_c_werror_flag
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 ac_c_werror_flag=$ac_save_c_werror_flag
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3667 $as_echo "$ac_cv_prog_cc_g" >&6; }
3668 if test "$ac_test_CFLAGS" = set; then
3669 CFLAGS=$ac_save_CFLAGS
3670 elif test $ac_cv_prog_cc_g = yes; then
3671 if test "$GCC" = yes; then
3677 if test "$GCC" = yes; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3684 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3685 if ${ac_cv_prog_cc_c89+:} false; then :
3686 $as_echo_n "(cached) " >&6
3688 ac_cv_prog_cc_c89=no
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3695 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3696 struct buf { int x; };
3697 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3698 static char *e (p, i)
3704 static char *f (char * (*g) (char **, int), char **p, ...)
3709 s = g (p, va_arg (v,int));
3714 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3715 function prototypes and stuff, but not '\xHH' hex character constants.
3716 These don't provoke an error unfortunately, instead are silently treated
3717 as 'x'. The following induces an error, until -std is added to get
3718 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3719 array size at least. It's necessary to write '\x00'==0 to get something
3720 that's true only with -std. */
3721 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3723 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3724 inside strings and character constants. */
3726 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3728 int test (int i, double x);
3729 struct s1 {int (*f) (int a);};
3730 struct s2 {int (*f) (double a);};
3731 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3737 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3742 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3743 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3745 CC="$ac_save_CC $ac_arg"
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747 ac_cv_prog_cc_c89=$ac_arg
3749 rm -f core conftest.err conftest.$ac_objext
3750 test "x$ac_cv_prog_cc_c89" != "xno" && break
3752 rm -f conftest.$ac_ext
3757 case "x$ac_cv_prog_cc_c89" in
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3760 $as_echo "none needed" >&6; } ;;
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3763 $as_echo "unsupported" >&6; } ;;
3765 CC="$CC $ac_cv_prog_cc_c89"
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3767 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3769 if test "x$ac_cv_prog_cc_c89" != xno; then :
3774 ac_cpp='$CPP $CPPFLAGS'
3775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3778 DEPDIR="${am__leading_dot}deps"
3780 ac_config_commands="$ac_config_commands depfiles"
3783 am_make=${MAKE-make}
3784 cat > confinc << 'END'
3786 @echo this is the am__doit target
3789 # If we don't find an include directive, just comment out the code.
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3791 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3795 # First try GNU make style include.
3796 echo "include confinc" > confmf
3797 # Ignore all kinds of additional output from `make'.
3798 case `$am_make -s -f confmf 2> /dev/null` in #(
3799 *the\ am__doit\ target*)
3805 # Now try BSD make style include.
3806 if test "$am__include" = "#"; then
3807 echo '.include "confinc"' > confmf
3808 case `$am_make -s -f confmf 2> /dev/null` in #(
3809 *the\ am__doit\ target*)
3810 am__include=.include
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3819 $as_echo "$_am_result" >&6; }
3820 rm -f confinc confmf
3822 # Check whether --enable-dependency-tracking was given.
3823 if test "${enable_dependency_tracking+set}" = set; then :
3824 enableval=$enable_dependency_tracking;
3827 if test "x$enable_dependency_tracking" != xno; then
3828 am_depcomp="$ac_aux_dir/depcomp"
3832 if test "x$enable_dependency_tracking" != xno; then
3842 depcc="$CC" am_compiler_list=
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3845 $as_echo_n "checking dependency style of $depcc... " >&6; }
3846 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3850 # We make a subdir and do the tests there. Otherwise we can end up
3851 # making bogus files that we don't know about and never remove. For
3852 # instance it was reported that on HP-UX the gcc test will end up
3853 # making a dummy file named `D' -- because `-MD' means `put the output
3857 # Copy depcomp to subdir because otherwise we won't find it if we're
3858 # using a relative directory.
3859 cp "$am_depcomp" conftest.dir
3861 # We will build objects and dependencies in a subdirectory because
3862 # it helps to detect inapplicable dependency modes. For instance
3863 # both Tru64's cc and ICC support -MD to output dependencies as a
3864 # side effect of compilation, but ICC will put the dependencies in
3865 # the current directory while Tru64 will put them in the object
3869 am_cv_CC_dependencies_compiler_type=none
3870 if test "$am_compiler_list" = ""; then
3871 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3874 case " $depcc " in #(
3875 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3878 for depmode in $am_compiler_list; do
3879 # Setup a source with many dependencies, because some compilers
3880 # like to wrap large dependency lists on column 80 (with \), and
3881 # we should not choose a depcomp mode which is confused by this.
3883 # We need to recreate these files for each test, as the compiler may
3884 # overwrite some of them when testing with obscure command lines.
3885 # This happens at least with the AIX C compiler.
3887 for i in 1 2 3 4 5 6; do
3888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3889 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3890 # Solaris 8's {/usr,}/bin/sh.
3891 touch sub/conftst$i.h
3893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3895 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3896 # mode. It turns out that the SunPro C++ compiler does not properly
3897 # handle `-M -o', and we need to detect this. Also, some Intel
3898 # versions had trouble with output in subdirs
3899 am__obj=sub/conftest.${OBJEXT-o}
3900 am__minus_obj="-o $am__obj"
3903 # This depmode causes a compiler race in universal mode.
3904 test "$am__universal" = false || continue
3907 # after this tag, mechanisms are not by side-effect, so they'll
3908 # only be used when explicitly requested
3909 if test "x$enable_dependency_tracking" = xyes; then
3915 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3916 # This compiler won't grok `-c -o', but also, the minuso test has
3917 # not run yet. These depmodes are late enough in the game, and
3918 # so weak that their functioning should not be impacted.
3919 am__obj=conftest.${OBJEXT-o}
3924 if depmode=$depmode \
3925 source=sub/conftest.c object=$am__obj \
3926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3928 >/dev/null 2>conftest.err &&
3929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3933 # icc doesn't choke on unknown options, it will just issue warnings
3934 # or remarks (even with -Werror). So we grep stderr for any message
3935 # that says an option was ignored or not supported.
3936 # When given -MP, icc 7.0 and 7.1 complain thusly:
3937 # icc: Command line warning: ignoring option '-M'; no argument required
3938 # The diagnosis changed in icc 8.0:
3939 # icc: Command line remark: option '-MP' not supported
3940 if (grep 'ignoring option' conftest.err ||
3941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3942 am_cv_CC_dependencies_compiler_type=$depmode
3951 am_cv_CC_dependencies_compiler_type=none
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3960 test "x$enable_dependency_tracking" != xno \
3961 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3963 am__fastdepCC_FALSE='#'
3965 am__fastdepCC_TRUE='#'
3966 am__fastdepCC_FALSE=
3972 ac_cpp='$CPP $CPPFLAGS'
3973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3977 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3978 # On Suns, sometimes $CPP names a directory.
3979 if test -n "$CPP" && test -d "$CPP"; then
3982 if test -z "$CPP"; then
3983 if ${ac_cv_prog_CPP+:} false; then :
3984 $as_echo_n "(cached) " >&6
3986 # Double quotes because CPP needs to be expanded
3987 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3990 for ac_c_preproc_warn_flag in '' yes
3992 # Use a header file that comes with gcc, so configuring glibc
3993 # with a fresh cross-compiler works.
3994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3995 # <limits.h> exists even on freestanding compilers.
3996 # On the NeXT, cc -E runs the code through the compiler's parser,
3997 # not just through cpp. "Syntax error" is here to catch this case.
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4001 # include <limits.h>
4003 # include <assert.h>
4007 if ac_fn_c_try_cpp "$LINENO"; then :
4010 # Broken: fails on valid input.
4013 rm -f conftest.err conftest.i conftest.$ac_ext
4015 # OK, works on sane cases. Now check whether nonexistent headers
4016 # can be detected and how.
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4019 #include <ac_nonexistent.h>
4021 if ac_fn_c_try_cpp "$LINENO"; then :
4022 # Broken: success on invalid input.
4025 # Passes both tests.
4029 rm -f conftest.err conftest.i conftest.$ac_ext
4032 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4033 rm -f conftest.i conftest.err conftest.$ac_ext
4034 if $ac_preproc_ok; then :
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4047 $as_echo "$CPP" >&6; }
4049 for ac_c_preproc_warn_flag in '' yes
4051 # Use a header file that comes with gcc, so configuring glibc
4052 # with a fresh cross-compiler works.
4053 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4054 # <limits.h> exists even on freestanding compilers.
4055 # On the NeXT, cc -E runs the code through the compiler's parser,
4056 # not just through cpp. "Syntax error" is here to catch this case.
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4060 # include <limits.h>
4062 # include <assert.h>
4066 if ac_fn_c_try_cpp "$LINENO"; then :
4069 # Broken: fails on valid input.
4072 rm -f conftest.err conftest.i conftest.$ac_ext
4074 # OK, works on sane cases. Now check whether nonexistent headers
4075 # can be detected and how.
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4078 #include <ac_nonexistent.h>
4080 if ac_fn_c_try_cpp "$LINENO"; then :
4081 # Broken: success on invalid input.
4084 # Passes both tests.
4088 rm -f conftest.err conftest.i conftest.$ac_ext
4091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4092 rm -f conftest.i conftest.err conftest.$ac_ext
4093 if $ac_preproc_ok; then :
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4099 See \`config.log' for more details" "$LINENO" 5; }
4103 ac_cpp='$CPP $CPPFLAGS'
4104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4110 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4111 if ${ac_cv_path_GREP+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -z "$GREP"; then
4115 ac_path_GREP_found=false
4116 # Loop through the user's path and test for each of PROGNAME-LIST
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4121 test -z "$as_dir" && as_dir=.
4122 for ac_prog in grep ggrep; do
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4125 as_fn_executable_p "$ac_path_GREP" || continue
4126 # Check for GNU ac_path_GREP and select it if it is found.
4127 # Check for GNU $ac_path_GREP
4128 case `"$ac_path_GREP" --version 2>&1` in
4130 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4133 $as_echo_n 0123456789 >"conftest.in"
4136 cat "conftest.in" "conftest.in" >"conftest.tmp"
4137 mv "conftest.tmp" "conftest.in"
4138 cp "conftest.in" "conftest.nl"
4139 $as_echo 'GREP' >> "conftest.nl"
4140 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4141 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4142 as_fn_arith $ac_count + 1 && ac_count=$as_val
4143 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4144 # Best one so far, save it but keep looking for a better one
4145 ac_cv_path_GREP="$ac_path_GREP"
4146 ac_path_GREP_max=$ac_count
4148 # 10*(2^10) chars as input seems more than enough
4149 test $ac_count -gt 10 && break
4151 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4154 $ac_path_GREP_found && break 3
4159 if test -z "$ac_cv_path_GREP"; then
4160 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4163 ac_cv_path_GREP=$GREP
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4168 $as_echo "$ac_cv_path_GREP" >&6; }
4169 GREP="$ac_cv_path_GREP"
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4173 $as_echo_n "checking for egrep... " >&6; }
4174 if ${ac_cv_path_EGREP+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4178 then ac_cv_path_EGREP="$GREP -E"
4180 if test -z "$EGREP"; then
4181 ac_path_EGREP_found=false
4182 # Loop through the user's path and test for each of PROGNAME-LIST
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4187 test -z "$as_dir" && as_dir=.
4188 for ac_prog in egrep; do
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4191 as_fn_executable_p "$ac_path_EGREP" || continue
4192 # Check for GNU ac_path_EGREP and select it if it is found.
4193 # Check for GNU $ac_path_EGREP
4194 case `"$ac_path_EGREP" --version 2>&1` in
4196 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4199 $as_echo_n 0123456789 >"conftest.in"
4202 cat "conftest.in" "conftest.in" >"conftest.tmp"
4203 mv "conftest.tmp" "conftest.in"
4204 cp "conftest.in" "conftest.nl"
4205 $as_echo 'EGREP' >> "conftest.nl"
4206 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4208 as_fn_arith $ac_count + 1 && ac_count=$as_val
4209 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4210 # Best one so far, save it but keep looking for a better one
4211 ac_cv_path_EGREP="$ac_path_EGREP"
4212 ac_path_EGREP_max=$ac_count
4214 # 10*(2^10) chars as input seems more than enough
4215 test $ac_count -gt 10 && break
4217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4220 $ac_path_EGREP_found && break 3
4225 if test -z "$ac_cv_path_EGREP"; then
4226 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4229 ac_cv_path_EGREP=$EGREP
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4235 $as_echo "$ac_cv_path_EGREP" >&6; }
4236 EGREP="$ac_cv_path_EGREP"
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4240 $as_echo_n "checking for ANSI C header files... " >&6; }
4241 if ${ac_cv_header_stdc+:} false; then :
4242 $as_echo_n "(cached) " >&6
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4259 if ac_fn_c_try_compile "$LINENO"; then :
4260 ac_cv_header_stdc=yes
4262 ac_cv_header_stdc=no
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 if test $ac_cv_header_stdc = yes; then
4267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4274 $EGREP "memchr" >/dev/null 2>&1; then :
4277 ac_cv_header_stdc=no
4283 if test $ac_cv_header_stdc = yes; then
4284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4291 $EGREP "free" >/dev/null 2>&1; then :
4294 ac_cv_header_stdc=no
4300 if test $ac_cv_header_stdc = yes; then
4301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4302 if test "$cross_compiling" = yes; then :
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4309 #if ((' ' & 0x0FF) == 0x020)
4310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4313 # define ISLOWER(c) \
4314 (('a' <= (c) && (c) <= 'i') \
4315 || ('j' <= (c) && (c) <= 'r') \
4316 || ('s' <= (c) && (c) <= 'z'))
4317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4325 for (i = 0; i < 256; i++)
4326 if (XOR (islower (i), ISLOWER (i))
4327 || toupper (i) != TOUPPER (i))
4332 if ac_fn_c_try_run "$LINENO"; then :
4335 ac_cv_header_stdc=no
4337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4338 conftest.$ac_objext conftest.beam conftest.$ac_ext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4344 $as_echo "$ac_cv_header_stdc" >&6; }
4345 if test $ac_cv_header_stdc = yes; then
4347 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4352 # Initialize libtool
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4357 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4362 macro_version='2.4.2'
4363 macro_revision='1.3337'
4377 ltmain="$ac_aux_dir/ltmain.sh"
4379 # Make sure we can run config.sub.
4380 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4381 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4384 $as_echo_n "checking build system type... " >&6; }
4385 if ${ac_cv_build+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 ac_build_alias=$build_alias
4389 test "x$ac_build_alias" = x &&
4390 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4391 test "x$ac_build_alias" = x &&
4392 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4393 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4394 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4398 $as_echo "$ac_cv_build" >&6; }
4399 case $ac_cv_build in
4401 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4404 ac_save_IFS=$IFS; IFS='-'
4410 # Remember, the first character of IFS is used to create $*,
4411 # except with old shells:
4414 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4418 $as_echo_n "checking host system type... " >&6; }
4419 if ${ac_cv_host+:} false; then :
4420 $as_echo_n "(cached) " >&6
4422 if test "x$host_alias" = x; then
4423 ac_cv_host=$ac_cv_build
4425 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4426 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4431 $as_echo "$ac_cv_host" >&6; }
4434 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4437 ac_save_IFS=$IFS; IFS='-'
4443 # Remember, the first character of IFS is used to create $*,
4444 # except with old shells:
4447 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4450 # Backslashify metacharacters that are still active within
4451 # double-quoted strings.
4452 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4454 # Same as above, but do not quote variable references.
4455 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4457 # Sed substitution to delay expansion of an escaped shell variable in a
4458 # double_quote_subst'ed string.
4459 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4461 # Sed substitution to delay expansion of an escaped single quote.
4462 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4464 # Sed substitution to avoid accidental globbing in evaled expressions
4465 no_glob_subst='s/\*/\\\*/g'
4467 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4468 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4472 $as_echo_n "checking how to print strings... " >&6; }
4473 # Test print first, because it will be a builtin if present.
4474 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4475 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4477 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4480 # Use this function as a fallback that always works.
4481 func_fallback_echo ()
4483 eval 'cat <<_LTECHO_EOF
4487 ECHO='func_fallback_echo'
4490 # func_echo_all arg...
4491 # Invoke $ECHO with all args, space-separated.
4498 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4499 $as_echo "printf" >&6; } ;;
4500 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4501 $as_echo "print -r" >&6; } ;;
4502 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4503 $as_echo "cat" >&6; } ;;
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4520 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4521 if ${ac_cv_path_SED+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4525 for ac_i in 1 2 3 4 5 6 7; do
4526 ac_script="$ac_script$as_nl$ac_script"
4528 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4529 { ac_script=; unset ac_script;}
4530 if test -z "$SED"; then
4531 ac_path_SED_found=false
4532 # Loop through the user's path and test for each of PROGNAME-LIST
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir=.
4538 for ac_prog in sed gsed; do
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4541 as_fn_executable_p "$ac_path_SED" || continue
4542 # Check for GNU ac_path_SED and select it if it is found.
4543 # Check for GNU $ac_path_SED
4544 case `"$ac_path_SED" --version 2>&1` in
4546 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4549 $as_echo_n 0123456789 >"conftest.in"
4552 cat "conftest.in" "conftest.in" >"conftest.tmp"
4553 mv "conftest.tmp" "conftest.in"
4554 cp "conftest.in" "conftest.nl"
4555 $as_echo '' >> "conftest.nl"
4556 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4557 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4558 as_fn_arith $ac_count + 1 && ac_count=$as_val
4559 if test $ac_count -gt ${ac_path_SED_max-0}; then
4560 # Best one so far, save it but keep looking for a better one
4561 ac_cv_path_SED="$ac_path_SED"
4562 ac_path_SED_max=$ac_count
4564 # 10*(2^10) chars as input seems more than enough
4565 test $ac_count -gt 10 && break
4567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4570 $ac_path_SED_found && break 3
4575 if test -z "$ac_cv_path_SED"; then
4576 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4584 $as_echo "$ac_cv_path_SED" >&6; }
4585 SED="$ac_cv_path_SED"
4588 test -z "$SED" && SED=sed
4589 Xsed="$SED -e 1s/^X//"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4602 $as_echo_n "checking for fgrep... " >&6; }
4603 if ${ac_cv_path_FGREP+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4607 then ac_cv_path_FGREP="$GREP -F"
4609 if test -z "$FGREP"; then
4610 ac_path_FGREP_found=false
4611 # Loop through the user's path and test for each of PROGNAME-LIST
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4616 test -z "$as_dir" && as_dir=.
4617 for ac_prog in fgrep; do
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4620 as_fn_executable_p "$ac_path_FGREP" || continue
4621 # Check for GNU ac_path_FGREP and select it if it is found.
4622 # Check for GNU $ac_path_FGREP
4623 case `"$ac_path_FGREP" --version 2>&1` in
4625 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4628 $as_echo_n 0123456789 >"conftest.in"
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo 'FGREP' >> "conftest.nl"
4635 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4637 as_fn_arith $ac_count + 1 && ac_count=$as_val
4638 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_FGREP="$ac_path_FGREP"
4641 ac_path_FGREP_max=$ac_count
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 $ac_path_FGREP_found && break 3
4654 if test -z "$ac_cv_path_FGREP"; then
4655 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658 ac_cv_path_FGREP=$FGREP
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4664 $as_echo "$ac_cv_path_FGREP" >&6; }
4665 FGREP="$ac_cv_path_FGREP"
4668 test -z "$GREP" && GREP=grep
4688 # Check whether --with-gnu-ld was given.
4689 if test "${with_gnu_ld+set}" = set; then :
4690 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4696 if test "$GCC" = yes; then
4697 # Check if gcc -print-prog-name=ld gives a path.
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4699 $as_echo_n "checking for ld used by $CC... " >&6; }
4702 # gcc leaves a trailing carriage return which upsets mingw
4703 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4705 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4708 # Accept absolute paths.
4710 re_direlt='/[^/][^/]*/\.\./'
4711 # Canonicalize the pathname of ld
4712 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4713 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4714 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4716 test -z "$LD" && LD="$ac_prog"
4719 # If it fails, then pretend we aren't using GCC.
4723 # If it is relative, then search for the first ld in PATH.
4727 elif test "$with_gnu_ld" = yes; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4729 $as_echo_n "checking for GNU ld... " >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4732 $as_echo_n "checking for non-GNU ld... " >&6; }
4734 if ${lt_cv_path_LD+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -z "$LD"; then
4738 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4739 for ac_dir in $PATH; do
4741 test -z "$ac_dir" && ac_dir=.
4742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4743 lt_cv_path_LD="$ac_dir/$ac_prog"
4744 # Check to see if the program is GNU ld. I'd rather use --version,
4745 # but apparently some variants of GNU ld only accept -v.
4746 # Break only if it was the GNU/non-GNU ld that we prefer.
4747 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4748 *GNU* | *'with BFD'*)
4749 test "$with_gnu_ld" != no && break
4752 test "$with_gnu_ld" != yes && break
4759 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4764 if test -n "$LD"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4766 $as_echo "$LD" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4771 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4774 if ${lt_cv_prog_gnu_ld+:} false; then :
4775 $as_echo_n "(cached) " >&6
4777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4778 case `$LD -v 2>&1 </dev/null` in
4779 *GNU* | *'with BFD'*)
4780 lt_cv_prog_gnu_ld=yes
4783 lt_cv_prog_gnu_ld=no
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4789 with_gnu_ld=$lt_cv_prog_gnu_ld
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4800 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4801 if ${lt_cv_path_NM+:} false; then :
4802 $as_echo_n "(cached) " >&6
4804 if test -n "$NM"; then
4805 # Let the user override the test.
4808 lt_nm_to_check="${ac_tool_prefix}nm"
4809 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4810 lt_nm_to_check="$lt_nm_to_check nm"
4812 for lt_tmp_nm in $lt_nm_to_check; do
4813 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4814 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4816 test -z "$ac_dir" && ac_dir=.
4817 tmp_nm="$ac_dir/$lt_tmp_nm"
4818 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4819 # Check to see if the nm accepts a BSD-compat flag.
4820 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4821 # nm: unknown option "B" ignored
4822 # Tru64's nm complains that /dev/null is an invalid object file
4823 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4824 */dev/null* | *'Invalid file or object type'*)
4825 lt_cv_path_NM="$tmp_nm -B"
4829 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4831 lt_cv_path_NM="$tmp_nm -p"
4835 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4836 continue # so that we can try to find one that supports BSD flags
4845 : ${lt_cv_path_NM=no}
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4849 $as_echo "$lt_cv_path_NM" >&6; }
4850 if test "$lt_cv_path_NM" != "no"; then
4853 # Didn't find any BSD compatible name lister, look for dumpbin.
4854 if test -n "$DUMPBIN"; then :
4855 # Let the user override the test.
4857 if test -n "$ac_tool_prefix"; then
4858 for ac_prog in dumpbin "link -dump"
4860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_DUMPBIN+:} false; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$DUMPBIN"; then
4868 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 DUMPBIN=$ac_cv_prog_DUMPBIN
4888 if test -n "$DUMPBIN"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4890 $as_echo "$DUMPBIN" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4897 test -n "$DUMPBIN" && break
4900 if test -z "$DUMPBIN"; then
4901 ac_ct_DUMPBIN=$DUMPBIN
4902 for ac_prog in dumpbin "link -dump"
4904 # Extract the first word of "$ac_prog", so it can be a program name with args.
4905 set dummy $ac_prog; ac_word=$2
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 $as_echo_n "checking for $ac_word... " >&6; }
4908 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -n "$ac_ct_DUMPBIN"; then
4912 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir=.
4919 for ac_exec_ext in '' $ac_executable_extensions; do
4920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4921 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4932 if test -n "$ac_ct_DUMPBIN"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4934 $as_echo "$ac_ct_DUMPBIN" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4941 test -n "$ac_ct_DUMPBIN" && break
4944 if test "x$ac_ct_DUMPBIN" = x; then
4947 case $cross_compiling:$ac_tool_warned in
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4951 ac_tool_warned=yes ;;
4953 DUMPBIN=$ac_ct_DUMPBIN
4957 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4959 DUMPBIN="$DUMPBIN -symbols"
4967 if test "$DUMPBIN" != ":"; then
4971 test -z "$NM" && NM=nm
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4979 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4980 if ${lt_cv_nm_interface+:} false; then :
4981 $as_echo_n "(cached) " >&6
4983 lt_cv_nm_interface="BSD nm"
4984 echo "int some_variable = 0;" > conftest.$ac_ext
4985 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4986 (eval "$ac_compile" 2>conftest.err)
4987 cat conftest.err >&5
4988 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4989 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4990 cat conftest.err >&5
4991 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4992 cat conftest.out >&5
4993 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4994 lt_cv_nm_interface="MS dumpbin"
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4999 $as_echo "$lt_cv_nm_interface" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5002 $as_echo_n "checking whether ln -s works... " >&6; }
5004 if test "$LN_S" = "ln -s"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5006 $as_echo "yes" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5009 $as_echo "no, using $LN_S" >&6; }
5012 # find the maximum length of command line arguments
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5014 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5015 if ${lt_cv_sys_max_cmd_len+:} false; then :
5016 $as_echo_n "(cached) " >&6
5023 # On DJGPP, this test can blow up pretty badly due to problems in libc
5024 # (any single argument exceeding 2000 bytes causes a buffer overrun
5025 # during glob expansion). Even if it were fixed, the result of this
5026 # check would be larger than it should be.
5027 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5031 # Under GNU Hurd, this test is not required because there is
5032 # no limit to the length of command line arguments.
5033 # Libtool will interpret -1 as no limit whatsoever
5034 lt_cv_sys_max_cmd_len=-1;
5037 cygwin* | mingw* | cegcc*)
5038 # On Win9x/ME, this test blows up -- it succeeds, but takes
5039 # about 5 minutes as the teststring grows exponentially.
5040 # Worse, since 9x/ME are not pre-emptively multitasking,
5041 # you end up with a "frozen" computer, even though with patience
5042 # the test eventually succeeds (with a max line length of 256k).
5043 # Instead, let's just punt: use the minimum linelength reported by
5044 # all of the supported platforms: 8192 (on NT/2K/XP).
5045 lt_cv_sys_max_cmd_len=8192;
5049 # On MiNT this can take a long time and run out of memory.
5050 lt_cv_sys_max_cmd_len=8192;
5054 # On AmigaOS with pdksh, this test takes hours, literally.
5055 # So we just punt and use a minimum line length of 8192.
5056 lt_cv_sys_max_cmd_len=8192;
5059 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5060 # This has been around since 386BSD, at least. Likely further.
5061 if test -x /sbin/sysctl; then
5062 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5063 elif test -x /usr/sbin/sysctl; then
5064 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5066 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5068 # And add a safety zone
5069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5070 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5074 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5075 lt_cv_sys_max_cmd_len=196608
5079 # The test takes a long time on OS/2.
5080 lt_cv_sys_max_cmd_len=8192
5084 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5085 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5086 # nice to cause kernel panics so lets avoid the loop below.
5087 # First set a reasonable default.
5088 lt_cv_sys_max_cmd_len=16384
5090 if test -x /sbin/sysconfig; then
5091 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5092 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5097 lt_cv_sys_max_cmd_len=102400
5099 sysv5* | sco5v6* | sysv4.2uw2*)
5100 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5101 if test -n "$kargmax"; then
5102 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5104 lt_cv_sys_max_cmd_len=32768
5108 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5109 if test -n "$lt_cv_sys_max_cmd_len"; then
5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5113 # Make teststring a little bigger before we do anything with it.
5114 # a 1K string should be a reasonable start.
5115 for i in 1 2 3 4 5 6 7 8 ; do
5116 teststring=$teststring$teststring
5118 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5119 # If test is not a shell built-in, we'll probably end up computing a
5120 # maximum length that is only half of the actual maximum length, but
5122 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5123 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5124 test $i != 17 # 1/2 MB should be enough
5127 teststring=$teststring$teststring
5129 # Only check the string length outside the loop.
5130 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5132 # Add a significant safety factor because C++ compilers can tack on
5133 # massive amounts of additional arguments before passing them to the
5134 # linker. It appears as though 1/2 is a usable value.
5135 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5142 if test -n $lt_cv_sys_max_cmd_len ; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5144 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5147 $as_echo "none" >&6; }
5149 max_cmd_len=$lt_cv_sys_max_cmd_len
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5161 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5162 # Try some XSI features
5165 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5167 && eval 'test $(( 1 + 1 )) -eq 2 \
5168 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5171 $as_echo "$xsi_shell" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5175 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5177 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5179 && lt_shell_append=yes
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5181 $as_echo "$lt_shell_append" >&6; }
5184 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5194 # test EBCDIC or ASCII
5195 case `echo X|tr X '\101'` in
5196 A) # ASCII based system
5197 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5198 lt_SP2NL='tr \040 \012'
5199 lt_NL2SP='tr \015\012 \040\040'
5201 *) # EBCDIC based system
5202 lt_SP2NL='tr \100 \n'
5203 lt_NL2SP='tr \r\n \100\100'
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5216 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5217 if ${lt_cv_to_host_file_cmd+:} false; then :
5218 $as_echo_n "(cached) " >&6
5223 *-*-mingw* ) # actually msys
5224 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5227 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5229 * ) # otherwise, assume *nix
5230 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5236 *-*-mingw* ) # actually msys
5237 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5240 lt_cv_to_host_file_cmd=func_convert_file_noop
5242 * ) # otherwise, assume *nix
5243 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5247 * ) # unhandled hosts (and "normal" native builds)
5248 lt_cv_to_host_file_cmd=func_convert_file_noop
5254 to_host_file_cmd=$lt_cv_to_host_file_cmd
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5256 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5263 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5264 if ${lt_cv_to_tool_file_cmd+:} false; then :
5265 $as_echo_n "(cached) " >&6
5267 #assume ordinary cross tools, or native build.
5268 lt_cv_to_tool_file_cmd=func_convert_file_noop
5272 *-*-mingw* ) # actually msys
5273 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5281 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5283 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5290 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5291 if ${lt_cv_ld_reload_flag+:} false; then :
5292 $as_echo_n "(cached) " >&6
5294 lt_cv_ld_reload_flag='-r'
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5297 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5298 reload_flag=$lt_cv_ld_reload_flag
5299 case $reload_flag in
5301 *) reload_flag=" $reload_flag" ;;
5303 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5305 cygwin* | mingw* | pw32* | cegcc*)
5306 if test "$GCC" != yes; then
5311 if test "$GCC" = yes; then
5312 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5314 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5327 if test -n "$ac_tool_prefix"; then
5328 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5329 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_OBJDUMP+:} false; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$OBJDUMP"; then
5336 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 OBJDUMP=$ac_cv_prog_OBJDUMP
5356 if test -n "$OBJDUMP"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5358 $as_echo "$OBJDUMP" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5366 if test -z "$ac_cv_prog_OBJDUMP"; then
5367 ac_ct_OBJDUMP=$OBJDUMP
5368 # Extract the first word of "objdump", so it can be a program name with args.
5369 set dummy objdump; ac_word=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -n "$ac_ct_OBJDUMP"; then
5376 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5396 if test -n "$ac_ct_OBJDUMP"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5398 $as_echo "$ac_ct_OBJDUMP" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5404 if test "x$ac_ct_OBJDUMP" = x; then
5407 case $cross_compiling:$ac_tool_warned in
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5411 ac_tool_warned=yes ;;
5413 OBJDUMP=$ac_ct_OBJDUMP
5416 OBJDUMP="$ac_cv_prog_OBJDUMP"
5419 test -z "$OBJDUMP" && OBJDUMP=objdump
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5427 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5428 if ${lt_cv_deplibs_check_method+:} false; then :
5429 $as_echo_n "(cached) " >&6
5431 lt_cv_file_magic_cmd='$MAGIC_CMD'
5432 lt_cv_file_magic_test_file=
5433 lt_cv_deplibs_check_method='unknown'
5434 # Need to set the preceding variable on all platforms that support
5435 # interlibrary dependencies.
5436 # 'none' -- dependencies not supported.
5437 # `unknown' -- same as none, but documents that we really don't know.
5438 # 'pass_all' -- all dependencies passed with no checks.
5439 # 'test_compile' -- check by making test program.
5440 # 'file_magic [[regex]]' -- check by looking for files in library path
5441 # which responds to the $file_magic_cmd with a given extended regex.
5442 # If you have `file' or equivalent on your system and you're not sure
5443 # whether `pass_all' will *always* work, you probably want this one.
5447 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5456 lt_cv_file_magic_cmd='/usr/bin/file -L'
5457 lt_cv_file_magic_test_file=/shlib/libc.so
5461 # func_win32_libid is a shell function defined in ltmain.sh
5462 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5463 lt_cv_file_magic_cmd='func_win32_libid'
5467 # Base MSYS/MinGW do not provide the 'file' command needed by
5468 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5469 # unless we find 'file', for example because we are cross-compiling.
5470 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5471 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5472 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5473 lt_cv_file_magic_cmd='func_win32_libid'
5475 # Keep this pattern in sync with the one in func_win32_libid.
5476 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5477 lt_cv_file_magic_cmd='$OBJDUMP -f'
5482 # use the weaker test based on 'objdump'. See mingw*.
5483 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5484 lt_cv_file_magic_cmd='$OBJDUMP -f'
5487 darwin* | rhapsody*)
5488 lt_cv_deplibs_check_method=pass_all
5491 freebsd* | dragonfly*)
5492 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5495 # Not sure whether the presence of OpenBSD here was a mistake.
5496 # Let's accept both of them until this is cleared up.
5497 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5498 lt_cv_file_magic_cmd=/usr/bin/file
5499 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5503 lt_cv_deplibs_check_method=pass_all
5508 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5515 hpux10.20* | hpux11*)
5516 lt_cv_file_magic_cmd=/usr/bin/file
5519 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5520 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5523 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]'
5524 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5527 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5528 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5534 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5535 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5538 irix5* | irix6* | nonstopux*)
5540 *-32|*"-32 ") libmagic=32-bit;;
5541 *-n32|*"-n32 ") libmagic=N32;;
5542 *-64|*"-64 ") libmagic=64-bit;;
5543 *) libmagic=never-match;;
5545 lt_cv_deplibs_check_method=pass_all
5548 # This must be glibc/ELF.
5549 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5550 lt_cv_deplibs_check_method=pass_all
5553 netbsd* | netbsdelf*-gnu)
5554 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5555 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5563 lt_cv_file_magic_cmd=/usr/bin/file
5564 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5568 lt_cv_deplibs_check_method=pass_all
5572 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5573 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5579 osf3* | osf4* | osf5*)
5580 lt_cv_deplibs_check_method=pass_all
5584 lt_cv_deplibs_check_method=pass_all
5588 lt_cv_deplibs_check_method=pass_all
5591 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5592 lt_cv_deplibs_check_method=pass_all
5596 case $host_vendor in
5598 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]'
5599 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5602 lt_cv_deplibs_check_method=pass_all
5605 lt_cv_file_magic_cmd='/bin/file'
5606 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5609 lt_cv_file_magic_cmd='/bin/file'
5610 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5611 lt_cv_file_magic_test_file=/lib/libc.so
5614 lt_cv_deplibs_check_method=pass_all
5617 lt_cv_deplibs_check_method=pass_all
5623 lt_cv_deplibs_check_method=pass_all
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5629 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5633 if test "$build" = "$host"; then
5636 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5639 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5645 file_magic_cmd=$lt_cv_file_magic_cmd
5646 deplibs_check_method=$lt_cv_deplibs_check_method
5647 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5670 if test -n "$ac_tool_prefix"; then
5671 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5672 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_DLLTOOL+:} false; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$DLLTOOL"; then
5679 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 DLLTOOL=$ac_cv_prog_DLLTOOL
5699 if test -n "$DLLTOOL"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5701 $as_echo "$DLLTOOL" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5709 if test -z "$ac_cv_prog_DLLTOOL"; then
5710 ac_ct_DLLTOOL=$DLLTOOL
5711 # Extract the first word of "dlltool", so it can be a program name with args.
5712 set dummy dlltool; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$ac_ct_DLLTOOL"; then
5719 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5739 if test -n "$ac_ct_DLLTOOL"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5741 $as_echo "$ac_ct_DLLTOOL" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5747 if test "x$ac_ct_DLLTOOL" = x; then
5750 case $cross_compiling:$ac_tool_warned in
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5756 DLLTOOL=$ac_ct_DLLTOOL
5759 DLLTOOL="$ac_cv_prog_DLLTOOL"
5762 test -z "$DLLTOOL" && DLLTOOL=dlltool
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5771 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5772 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5773 $as_echo_n "(cached) " >&6
5775 lt_cv_sharedlib_from_linklib_cmd='unknown'
5778 cygwin* | mingw* | pw32* | cegcc*)
5779 # two different shell functions defined in ltmain.sh
5780 # decide which to use based on capabilities of $DLLTOOL
5781 case `$DLLTOOL --help 2>&1` in
5782 *--identify-strict*)
5783 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5786 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5791 # fallback: assume linklib IS sharedlib
5792 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5798 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5799 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5800 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5808 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_AR+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$AR"; then
5819 ac_cv_prog_AR="$AR" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 if test -n "$AR"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5841 $as_echo "$AR" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 test -n "$AR" && break
5851 if test -z "$AR"; then
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_AR"; then
5863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_ac_ct_AR="$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_AR" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$ac_ct_AR" && break
5895 if test "x$ac_ct_AR" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5922 $as_echo_n "checking for archiver @FILE support... " >&6; }
5923 if ${lt_cv_ar_at_file+:} false; then :
5924 $as_echo_n "(cached) " >&6
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5938 if ac_fn_c_try_compile "$LINENO"; then :
5939 echo conftest.$ac_objext > conftest.lst
5940 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5941 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942 (eval $lt_ar_try) 2>&5
5944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945 test $ac_status = 0; }
5946 if test "$ac_status" -eq 0; then
5947 # Ensure the archiver fails upon bogus file names.
5948 rm -f conftest.$ac_objext libconftest.a
5949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5950 (eval $lt_ar_try) 2>&5
5952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953 test $ac_status = 0; }
5954 if test "$ac_status" -ne 0; then
5958 rm -f conftest.* libconftest.a
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5965 $as_echo "$lt_cv_ar_at_file" >&6; }
5967 if test "x$lt_cv_ar_at_file" = xno; then
5970 archiver_list_spec=$lt_cv_ar_at_file
5979 if test -n "$ac_tool_prefix"; then
5980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}strip; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_STRIP+:} false; then :
5985 $as_echo_n "(cached) " >&6
5987 if test -n "$STRIP"; then
5988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5997 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 STRIP=$ac_cv_prog_STRIP
6008 if test -n "$STRIP"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6010 $as_echo "$STRIP" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6018 if test -z "$ac_cv_prog_STRIP"; then
6020 # Extract the first word of "strip", so it can be a program name with args.
6021 set dummy strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$ac_ct_STRIP"; then
6028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_ac_ct_STRIP="strip"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6048 if test -n "$ac_ct_STRIP"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6050 $as_echo "$ac_ct_STRIP" >&6; }
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6056 if test "x$ac_ct_STRIP" = x; then
6059 case $cross_compiling:$ac_tool_warned in
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6068 STRIP="$ac_cv_prog_STRIP"
6071 test -z "$STRIP" && STRIP=:
6078 if test -n "$ac_tool_prefix"; then
6079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_RANLIB+:} false; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -n "$RANLIB"; then
6087 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118 ac_ct_RANLIB=$RANLIB
6119 # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6124 $as_echo_n "(cached) " >&6
6126 if test -n "$ac_ct_RANLIB"; then
6127 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_ac_ct_RANLIB="ranlib"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6155 if test "x$ac_ct_RANLIB" = x; then
6158 case $cross_compiling:$ac_tool_warned in
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6164 RANLIB=$ac_ct_RANLIB
6167 RANLIB="$ac_cv_prog_RANLIB"
6170 test -z "$RANLIB" && RANLIB=:
6177 # Determine commands to create old-style static archives.
6178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6179 old_postinstall_cmds='chmod 644 $oldlib'
6180 old_postuninstall_cmds=
6182 if test -n "$RANLIB"; then
6185 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6196 lock_old_archive_extraction=yes ;;
6198 lock_old_archive_extraction=no ;;
6239 # If no C compiler was specified, use CC.
6242 # If no C compiler flags were specified, use CFLAGS.
6243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6245 # Allow CC to be a program name with arguments.
6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6252 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6253 $as_echo_n "(cached) " >&6
6256 # These are sane defaults that work on at least a few old systems.
6257 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6259 # Character class describing NM global symbol codes.
6260 symcode='[BCDEGRST]'
6262 # Regexp to match symbols that can be accessed directly from C.
6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6265 # Define system-specific variables.
6270 cygwin* | mingw* | pw32* | cegcc*)
6271 symcode='[ABCDGISTW]'
6274 if test "$host_cpu" = ia64; then
6275 symcode='[ABCDEGRST]'
6279 symcode='[BCDEGRST]'
6282 symcode='[BCDEGQRST]'
6293 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6301 # If we're using GNU nm, then use its standard symbol codes.
6302 case `$NM -V 2>&1` in
6303 *GNU* | *'with BFD'*)
6304 symcode='[ABCDGIRSTW]' ;;
6307 # Transform an extracted symbol line into a proper C declaration.
6308 # Some systems (esp. on ia64) link data and code symbols differently,
6309 # so use this general approach.
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6312 # Transform an extracted symbol line into symbol name and symbol address
6313 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6314 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'"
6316 # Handle CRLF in mingw tool chain
6320 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6324 # Try without a prefix underscore, then with it.
6325 for ac_symprfx in "" "_"; do
6327 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6328 symxfrm="\\1 $ac_symprfx\\2 \\2"
6330 # Write the raw and C identifiers.
6331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6332 # Fake it for dumpbin and say T for any non-static function
6333 # and D for any global variable.
6334 # Also find C++ and __fastcall symbols from MSVC++,
6335 # which start with @ or ?.
6336 lt_cv_sys_global_symbol_pipe="$AWK '"\
6337 " {last_section=section; section=\$ 3};"\
6338 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6339 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6340 " \$ 0!~/External *\|/{next};"\
6341 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6342 " {if(hide[section]) next};"\
6343 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6344 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6345 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6346 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6347 " ' prfx=^$ac_symprfx"
6349 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6351 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6353 # Check to see that the pipe works correctly.
6357 cat > conftest.$ac_ext <<_LT_EOF
6362 void nm_test_func(void);
6363 void nm_test_func(void){}
6367 int main(){nm_test_var='a';nm_test_func();return(0);}
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 # Now try to grab the symbols.
6377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6378 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381 test $ac_status = 0; } && test -s "$nlist"; then
6382 # Try sorting and uniquifying the output.
6383 if sort "$nlist" | uniq > "$nlist"T; then
6384 mv -f "$nlist"T "$nlist"
6389 # Make sure that we snagged all the symbols we need.
6390 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6391 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6392 cat <<_LT_EOF > conftest.$ac_ext
6393 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6394 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6395 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6396 relocations are performed -- see ld's documentation on pseudo-relocs. */
6397 # define LT_DLSYM_CONST
6398 #elif defined(__osf__)
6399 /* This system does not cope well with relocations in const data. */
6400 # define LT_DLSYM_CONST
6402 # define LT_DLSYM_CONST const
6410 # Now generate the symbol file.
6411 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6413 cat <<_LT_EOF >> conftest.$ac_ext
6415 /* The mapping between symbol names and symbols. */
6416 LT_DLSYM_CONST struct {
6420 lt__PROGRAM__LTX_preloaded_symbols[] =
6422 { "@PROGRAM@", (void *) 0 },
6424 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6425 cat <<\_LT_EOF >> conftest.$ac_ext
6429 /* This works around a problem in FreeBSD linker */
6430 #ifdef FREEBSD_WORKAROUND
6431 static const void *lt_preloaded_setup() {
6432 return lt__PROGRAM__LTX_preloaded_symbols;
6440 # Now try linking the two files.
6441 mv conftest.$ac_objext conftstm.$ac_objext
6442 lt_globsym_save_LIBS=$LIBS
6443 lt_globsym_save_CFLAGS=$CFLAGS
6444 LIBS="conftstm.$ac_objext"
6445 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6447 (eval $ac_link) 2>&5
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6453 LIBS=$lt_globsym_save_LIBS
6454 CFLAGS=$lt_globsym_save_CFLAGS
6456 echo "cannot find nm_test_func in $nlist" >&5
6459 echo "cannot find nm_test_var in $nlist" >&5
6462 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6465 echo "$progname: failed program was:" >&5
6466 cat conftest.$ac_ext >&5
6468 rm -rf conftest* conftst*
6470 # Do not use the global_symbol_pipe unless it works.
6471 if test "$pipe_works" = yes; then
6474 lt_cv_sys_global_symbol_pipe=
6480 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6481 lt_cv_sys_global_symbol_to_cdecl=
6483 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6485 $as_echo "failed" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6488 $as_echo "ok" >&6; }
6491 # Response file support.
6492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6493 nm_file_list_spec='@'
6494 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6495 nm_file_list_spec='@'
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6525 $as_echo_n "checking for sysroot... " >&6; }
6527 # Check whether --with-sysroot was given.
6528 if test "${with_sysroot+set}" = set; then :
6529 withval=$with_sysroot;
6536 case ${with_sysroot} in #(
6538 if test "$GCC" = yes; then
6539 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6543 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6549 $as_echo "${with_sysroot}" >&6; }
6550 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6555 $as_echo "${lt_sysroot:-no}" >&6; }
6561 # Check whether --enable-libtool-lock was given.
6562 if test "${enable_libtool_lock+set}" = set; then :
6563 enableval=$enable_libtool_lock;
6566 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6568 # Some flags need to be propagated to the compiler or linker for good
6572 # Find out which ABI we are using.
6573 echo 'int i;' > conftest.$ac_ext
6574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575 (eval $ac_compile) 2>&5
6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578 test $ac_status = 0; }; then
6579 case `/usr/bin/file conftest.$ac_objext` in
6591 # Find out which ABI we are using.
6592 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594 (eval $ac_compile) 2>&5
6596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597 test $ac_status = 0; }; then
6598 if test "$lt_cv_prog_gnu_ld" = yes; then
6599 case `/usr/bin/file conftest.$ac_objext` in
6601 LD="${LD-ld} -melf32bsmip"
6604 LD="${LD-ld} -melf32bmipn32"
6607 LD="${LD-ld} -melf64bmip"
6611 case `/usr/bin/file conftest.$ac_objext` in
6627 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6628 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6629 # Find out which ABI we are using.
6630 echo 'int i;' > conftest.$ac_ext
6631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632 (eval $ac_compile) 2>&5
6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635 test $ac_status = 0; }; then
6636 case `/usr/bin/file conftest.o` in
6639 x86_64-*kfreebsd*-gnu)
6640 LD="${LD-ld} -m elf_i386_fbsd"
6643 LD="${LD-ld} -m elf_i386"
6645 ppc64-*linux*|powerpc64-*linux*)
6646 LD="${LD-ld} -m elf32ppclinux"
6649 LD="${LD-ld} -m elf_s390"
6652 LD="${LD-ld} -m elf32_sparc"
6658 x86_64-*kfreebsd*-gnu)
6659 LD="${LD-ld} -m elf_x86_64_fbsd"
6662 LD="${LD-ld} -m elf_x86_64"
6664 ppc*-*linux*|powerpc*-*linux*)
6665 LD="${LD-ld} -m elf64ppc"
6667 s390*-*linux*|s390*-*tpf*)
6668 LD="${LD-ld} -m elf64_s390"
6671 LD="${LD-ld} -m elf64_sparc"
6681 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6682 SAVE_CFLAGS="$CFLAGS"
6683 CFLAGS="$CFLAGS -belf"
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6685 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6686 if ${lt_cv_cc_needs_belf+:} false; then :
6687 $as_echo_n "(cached) " >&6
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 lt_cv_cc_needs_belf=yes
6709 lt_cv_cc_needs_belf=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6722 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6724 CFLAGS="$SAVE_CFLAGS"
6728 # Find out which ABI we are using.
6729 echo 'int i;' > conftest.$ac_ext
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731 (eval $ac_compile) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; }; then
6735 case `/usr/bin/file conftest.o` in
6737 case $lt_cv_prog_gnu_ld in
6741 LD="${LD-ld} -m elf_x86_64"
6744 LD="${LD-ld} -m elf64_sparc"
6747 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6748 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6753 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6765 need_locks="$enable_libtool_lock"
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}mt; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$MANIFEST_TOOL"; then
6776 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6796 if test -n "$MANIFEST_TOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6798 $as_echo "$MANIFEST_TOOL" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6806 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6807 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6808 # Extract the first word of "mt", so it can be a program name with args.
6809 set dummy mt; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6813 $as_echo_n "(cached) " >&6
6815 if test -n "$ac_ct_MANIFEST_TOOL"; then
6816 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6836 if test -n "$ac_ct_MANIFEST_TOOL"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6838 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6844 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6853 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6856 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6859 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6861 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6862 if ${lt_cv_path_mainfest_tool+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 lt_cv_path_mainfest_tool=no
6866 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6867 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6868 cat conftest.err >&5
6869 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6870 lt_cv_path_mainfest_tool=yes
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6875 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6876 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6886 rhapsody* | darwin*)
6887 if test -n "$ac_tool_prefix"; then
6888 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$DSYMUTIL"; then
6896 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6905 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6916 if test -n "$DSYMUTIL"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6918 $as_echo "$DSYMUTIL" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6926 if test -z "$ac_cv_prog_DSYMUTIL"; then
6927 ac_ct_DSYMUTIL=$DSYMUTIL
6928 # Extract the first word of "dsymutil", so it can be a program name with args.
6929 set dummy dsymutil; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$ac_ct_DSYMUTIL"; then
6936 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6945 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6956 if test -n "$ac_ct_DSYMUTIL"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6958 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6964 if test "x$ac_ct_DSYMUTIL" = x; then
6967 case $cross_compiling:$ac_tool_warned in
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6971 ac_tool_warned=yes ;;
6973 DSYMUTIL=$ac_ct_DSYMUTIL
6976 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_NMEDIT+:} false; then :
6985 $as_echo_n "(cached) " >&6
6987 if test -n "$NMEDIT"; then
6988 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 NMEDIT=$ac_cv_prog_NMEDIT
7008 if test -n "$NMEDIT"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7010 $as_echo "$NMEDIT" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_NMEDIT"; then
7019 ac_ct_NMEDIT=$NMEDIT
7020 # Extract the first word of "nmedit", so it can be a program name with args.
7021 set dummy nmedit; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$ac_ct_NMEDIT"; then
7028 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7048 if test -n "$ac_ct_NMEDIT"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7050 $as_echo "$ac_ct_NMEDIT" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_NMEDIT" = x; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7065 NMEDIT=$ac_ct_NMEDIT
7068 NMEDIT="$ac_cv_prog_NMEDIT"
7071 if test -n "$ac_tool_prefix"; then
7072 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075 $as_echo_n "checking for $ac_word... " >&6; }
7076 if ${ac_cv_prog_LIPO+:} false; then :
7077 $as_echo_n "(cached) " >&6
7079 if test -n "$LIPO"; then
7080 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 test -z "$as_dir" && as_dir=.
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7089 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 LIPO=$ac_cv_prog_LIPO
7100 if test -n "$LIPO"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7102 $as_echo "$LIPO" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7110 if test -z "$ac_cv_prog_LIPO"; then
7112 # Extract the first word of "lipo", so it can be a program name with args.
7113 set dummy lipo; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$ac_ct_LIPO"; then
7120 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129 ac_cv_prog_ac_ct_LIPO="lipo"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7140 if test -n "$ac_ct_LIPO"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7142 $as_echo "$ac_ct_LIPO" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7148 if test "x$ac_ct_LIPO" = x; then
7151 case $cross_compiling:$ac_tool_warned in
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7155 ac_tool_warned=yes ;;
7160 LIPO="$ac_cv_prog_LIPO"
7163 if test -n "$ac_tool_prefix"; then
7164 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}otool; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_prog_OTOOL+:} false; then :
7169 $as_echo_n "(cached) " >&6
7171 if test -n "$OTOOL"; then
7172 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 OTOOL=$ac_cv_prog_OTOOL
7192 if test -n "$OTOOL"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7194 $as_echo "$OTOOL" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
7202 if test -z "$ac_cv_prog_OTOOL"; then
7204 # Extract the first word of "otool", so it can be a program name with args.
7205 set dummy otool; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7209 $as_echo_n "(cached) " >&6
7211 if test -n "$ac_ct_OTOOL"; then
7212 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_ac_ct_OTOOL="otool"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7232 if test -n "$ac_ct_OTOOL"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7234 $as_echo "$ac_ct_OTOOL" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7240 if test "x$ac_ct_OTOOL" = x; then
7243 case $cross_compiling:$ac_tool_warned in
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247 ac_tool_warned=yes ;;
7252 OTOOL="$ac_cv_prog_OTOOL"
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_OTOOL64+:} false; then :
7261 $as_echo_n "(cached) " >&6
7263 if test -n "$OTOOL64"; then
7264 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 OTOOL64=$ac_cv_prog_OTOOL64
7284 if test -n "$OTOOL64"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7286 $as_echo "$OTOOL64" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7294 if test -z "$ac_cv_prog_OTOOL64"; then
7295 ac_ct_OTOOL64=$OTOOL64
7296 # Extract the first word of "otool64", so it can be a program name with args.
7297 set dummy otool64; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7301 $as_echo_n "(cached) " >&6
7303 if test -n "$ac_ct_OTOOL64"; then
7304 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_ac_ct_OTOOL64="otool64"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7324 if test -n "$ac_ct_OTOOL64"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7326 $as_echo "$ac_ct_OTOOL64" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7332 if test "x$ac_ct_OTOOL64" = x; then
7335 case $cross_compiling:$ac_tool_warned in
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7341 OTOOL64=$ac_ct_OTOOL64
7344 OTOOL64="$ac_cv_prog_OTOOL64"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7374 $as_echo_n "checking for -single_module linker flag... " >&6; }
7375 if ${lt_cv_apple_cc_single_mod+:} false; then :
7376 $as_echo_n "(cached) " >&6
7378 lt_cv_apple_cc_single_mod=no
7379 if test -z "${LT_MULTI_MODULE}"; then
7380 # By default we will add the -single_module flag. You can override
7381 # by either setting the environment variable LT_MULTI_MODULE
7382 # non-empty at configure time, or by adding -multi_module to the
7384 rm -rf libconftest.dylib*
7385 echo "int foo(void){return 1;}" > conftest.c
7386 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7387 -dynamiclib -Wl,-single_module conftest.c" >&5
7388 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7391 # If there is a non-empty error log, and "single_module"
7392 # appears in it, assume the flag caused a linker warning
7393 if test -s conftest.err && $GREP single_module conftest.err; then
7394 cat conftest.err >&5
7395 # Otherwise, if the output was created with a 0 exit code from
7396 # the compiler, it worked.
7397 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7398 lt_cv_apple_cc_single_mod=yes
7400 cat conftest.err >&5
7402 rm -rf libconftest.dylib*
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7407 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7410 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7411 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 lt_cv_ld_exported_symbols_list=no
7415 save_LDFLAGS=$LDFLAGS
7416 echo "_main" > conftest.sym
7417 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7429 if ac_fn_c_try_link "$LINENO"; then :
7430 lt_cv_ld_exported_symbols_list=yes
7432 lt_cv_ld_exported_symbols_list=no
7434 rm -f core conftest.err conftest.$ac_objext \
7435 conftest$ac_exeext conftest.$ac_ext
7436 LDFLAGS="$save_LDFLAGS"
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7440 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7443 $as_echo_n "checking for -force_load linker flag... " >&6; }
7444 if ${lt_cv_ld_force_load+:} false; then :
7445 $as_echo_n "(cached) " >&6
7447 lt_cv_ld_force_load=no
7448 cat > conftest.c << _LT_EOF
7449 int forced_loaded() { return 2;}
7451 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7452 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7453 echo "$AR cru libconftest.a conftest.o" >&5
7454 $AR cru libconftest.a conftest.o 2>&5
7455 echo "$RANLIB libconftest.a" >&5
7456 $RANLIB libconftest.a 2>&5
7457 cat > conftest.c << _LT_EOF
7458 int main() { return 0;}
7460 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7461 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7463 if test -s conftest.err && $GREP force_load conftest.err; then
7464 cat conftest.err >&5
7465 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7466 lt_cv_ld_force_load=yes
7468 cat conftest.err >&5
7470 rm -f conftest.err libconftest.a conftest conftest.c
7471 rm -rf conftest.dSYM
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7475 $as_echo "$lt_cv_ld_force_load" >&6; }
7477 rhapsody* | darwin1.[012])
7478 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7480 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7481 darwin*) # darwin 5.x on
7482 # if running on 10.5 or later, the deployment target defaults
7483 # to the OS version, if on x86, and 10.4, the deployment
7484 # target defaults to 10.4. Don't you love it?
7485 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7486 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7487 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7489 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7491 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7496 _lt_dar_single_mod='$single_module'
7498 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7499 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7501 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7503 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7504 _lt_dsymutil='~$DSYMUTIL $lib || :'
7511 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7512 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7513 inttypes.h stdint.h unistd.h
7515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7516 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7519 cat >>confdefs.h <<_ACEOF
7520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7528 for ac_header in dlfcn.h
7530 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7532 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7533 cat >>confdefs.h <<_ACEOF
7534 #define HAVE_DLFCN_H 1
7546 enable_win32_dll=yes
7549 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7552 set dummy ${ac_tool_prefix}as; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_AS+:} false; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$AS"; then
7559 ac_cv_prog_AS="$AS" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_AS="${ac_tool_prefix}as"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 if test -n "$AS"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7581 $as_echo "$AS" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_AS"; then
7591 # Extract the first word of "as", so it can be a program name with args.
7592 set dummy as; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$ac_ct_AS"; then
7599 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_AS="as"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7619 if test -n "$ac_ct_AS"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7621 $as_echo "$ac_ct_AS" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_AS" = x; then
7630 case $cross_compiling:$ac_tool_warned in
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned=yes ;;
7642 if test -n "$ac_tool_prefix"; then
7643 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7644 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_DLLTOOL+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 if test -n "$DLLTOOL"; then
7651 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 DLLTOOL=$ac_cv_prog_DLLTOOL
7671 if test -n "$DLLTOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7673 $as_echo "$DLLTOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7681 if test -z "$ac_cv_prog_DLLTOOL"; then
7682 ac_ct_DLLTOOL=$DLLTOOL
7683 # Extract the first word of "dlltool", so it can be a program name with args.
7684 set dummy dlltool; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686 $as_echo_n "checking for $ac_word... " >&6; }
7687 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7688 $as_echo_n "(cached) " >&6
7690 if test -n "$ac_ct_DLLTOOL"; then
7691 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7711 if test -n "$ac_ct_DLLTOOL"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7713 $as_echo "$ac_ct_DLLTOOL" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7719 if test "x$ac_ct_DLLTOOL" = x; then
7722 case $cross_compiling:$ac_tool_warned in
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7726 ac_tool_warned=yes ;;
7728 DLLTOOL=$ac_ct_DLLTOOL
7731 DLLTOOL="$ac_cv_prog_DLLTOOL"
7734 if test -n "$ac_tool_prefix"; then
7735 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7736 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7738 $as_echo_n "checking for $ac_word... " >&6; }
7739 if ${ac_cv_prog_OBJDUMP+:} false; then :
7740 $as_echo_n "(cached) " >&6
7742 if test -n "$OBJDUMP"; then
7743 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7752 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7762 OBJDUMP=$ac_cv_prog_OBJDUMP
7763 if test -n "$OBJDUMP"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7765 $as_echo "$OBJDUMP" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7768 $as_echo "no" >&6; }
7773 if test -z "$ac_cv_prog_OBJDUMP"; then
7774 ac_ct_OBJDUMP=$OBJDUMP
7775 # Extract the first word of "objdump", so it can be a program name with args.
7776 set dummy objdump; ac_word=$2
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7778 $as_echo_n "checking for $ac_word... " >&6; }
7779 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7780 $as_echo_n "(cached) " >&6
7782 if test -n "$ac_ct_OBJDUMP"; then
7783 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 test -z "$as_dir" && as_dir=.
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7792 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7802 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7803 if test -n "$ac_ct_OBJDUMP"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7805 $as_echo "$ac_ct_OBJDUMP" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7811 if test "x$ac_ct_OBJDUMP" = x; then
7814 case $cross_compiling:$ac_tool_warned in
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7818 ac_tool_warned=yes ;;
7820 OBJDUMP=$ac_ct_OBJDUMP
7823 OBJDUMP="$ac_cv_prog_OBJDUMP"
7829 test -z "$AS" && AS=as
7835 test -z "$DLLTOOL" && DLLTOOL=dlltool
7841 test -z "$OBJDUMP" && OBJDUMP=objdump
7853 # Check whether --enable-shared was given.
7854 if test "${enable_shared+set}" = set; then :
7855 enableval=$enable_shared; p=${PACKAGE-default}
7857 yes) enable_shared=yes ;;
7858 no) enable_shared=no ;;
7861 # Look at the argument we got. We use all the common list separators.
7862 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7863 for pkg in $enableval; do
7865 if test "X$pkg" = "X$p"; then
7884 # Check whether --enable-static was given.
7885 if test "${enable_static+set}" = set; then :
7886 enableval=$enable_static; p=${PACKAGE-default}
7888 yes) enable_static=yes ;;
7889 no) enable_static=no ;;
7892 # Look at the argument we got. We use all the common list separators.
7893 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7894 for pkg in $enableval; do
7896 if test "X$pkg" = "X$p"; then
7916 # Check whether --with-pic was given.
7917 if test "${with_pic+set}" = set; then :
7918 withval=$with_pic; lt_p=${PACKAGE-default}
7920 yes|no) pic_mode=$withval ;;
7923 # Look at the argument we got. We use all the common list separators.
7924 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7925 for lt_pkg in $withval; do
7927 if test "X$lt_pkg" = "X$lt_p"; then
7939 test -z "$pic_mode" && pic_mode=default
7947 # Check whether --enable-fast-install was given.
7948 if test "${enable_fast_install+set}" = set; then :
7949 enableval=$enable_fast_install; p=${PACKAGE-default}
7951 yes) enable_fast_install=yes ;;
7952 no) enable_fast_install=no ;;
7954 enable_fast_install=no
7955 # Look at the argument we got. We use all the common list separators.
7956 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7957 for pkg in $enableval; do
7959 if test "X$pkg" = "X$p"; then
7960 enable_fast_install=yes
7967 enable_fast_install=yes
7980 # This can be used to rebuild libtool when needed
7981 LIBTOOL_DEPS="$ltmain"
7983 # Always use our own libtool.
7984 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8015 test -z "$LN_S" && LN_S="ln -s"
8030 if test -n "${ZSH_VERSION+set}" ; then
8031 setopt NO_GLOB_SUBST
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8035 $as_echo_n "checking for objdir... " >&6; }
8036 if ${lt_cv_objdir+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 rm -f .libs 2>/dev/null
8040 mkdir .libs 2>/dev/null
8041 if test -d .libs; then
8044 # MS-DOS does not allow filenames that begin with a dot.
8047 rmdir .libs 2>/dev/null
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8050 $as_echo "$lt_cv_objdir" >&6; }
8051 objdir=$lt_cv_objdir
8057 cat >>confdefs.h <<_ACEOF
8058 #define LT_OBJDIR "$lt_cv_objdir/"
8066 # AIX sometimes has problems with the GCC collect2 program. For some
8067 # reason, if we set the COLLECT_NAMES environment variable, the problems
8068 # vanish in a puff of smoke.
8069 if test "X${COLLECT_NAMES+set}" != Xset; then
8071 export COLLECT_NAMES
8078 can_build_shared=yes
8080 # All known linkers require a `.a' archive for static linking (except MSVC,
8081 # which needs '.lib').
8084 with_gnu_ld="$lt_cv_prog_gnu_ld"
8087 old_CFLAGS="$CFLAGS"
8089 # Set sane defaults for various variables
8090 test -z "$CC" && CC=cc
8091 test -z "$LTCC" && LTCC=$CC
8092 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8093 test -z "$LD" && LD=ld
8094 test -z "$ac_objext" && ac_objext=o
8096 for cc_temp in $compiler""; do
8098 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8099 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8104 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8107 # Only perform the check for file, if the check method requires it
8108 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8109 case $deplibs_check_method in
8111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8113 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8114 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8115 $as_echo_n "(cached) " >&6
8119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8122 lt_save_MAGIC_CMD="$MAGIC_CMD"
8123 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8124 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8125 for ac_dir in $ac_dummy; do
8127 test -z "$ac_dir" && ac_dir=.
8128 if test -f $ac_dir/${ac_tool_prefix}file; then
8129 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8130 if test -n "$file_magic_test_file"; then
8131 case $deplibs_check_method in
8133 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8135 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8136 $EGREP "$file_magic_regex" > /dev/null; then
8141 *** Warning: the command libtool uses to detect shared libraries,
8142 *** $file_magic_cmd, produces output that libtool cannot recognize.
8143 *** The result is that libtool may fail to recognize shared libraries
8144 *** as such. This will affect the creation of libtool libraries that
8145 *** depend on shared libraries, but programs linked with such libtool
8146 *** libraries will work regardless of this problem. Nevertheless, you
8147 *** may want to report the problem to your system manager and/or to
8148 *** bug-libtool@gnu.org
8158 MAGIC_CMD="$lt_save_MAGIC_CMD"
8163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8164 if test -n "$MAGIC_CMD"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8166 $as_echo "$MAGIC_CMD" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8176 if test -z "$lt_cv_path_MAGIC_CMD"; then
8177 if test -n "$ac_tool_prefix"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8179 $as_echo_n "checking for file... " >&6; }
8180 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8181 $as_echo_n "(cached) " >&6
8185 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8188 lt_save_MAGIC_CMD="$MAGIC_CMD"
8189 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8190 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8191 for ac_dir in $ac_dummy; do
8193 test -z "$ac_dir" && ac_dir=.
8194 if test -f $ac_dir/file; then
8195 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8196 if test -n "$file_magic_test_file"; then
8197 case $deplibs_check_method in
8199 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8202 $EGREP "$file_magic_regex" > /dev/null; then
8207 *** Warning: the command libtool uses to detect shared libraries,
8208 *** $file_magic_cmd, produces output that libtool cannot recognize.
8209 *** The result is that libtool may fail to recognize shared libraries
8210 *** as such. This will affect the creation of libtool libraries that
8211 *** depend on shared libraries, but programs linked with such libtool
8212 *** libraries will work regardless of this problem. Nevertheless, you
8213 *** may want to report the problem to your system manager and/or to
8214 *** bug-libtool@gnu.org
8224 MAGIC_CMD="$lt_save_MAGIC_CMD"
8229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8230 if test -n "$MAGIC_CMD"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8232 $as_echo "$MAGIC_CMD" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8248 # Use C for the default configuration in the libtool script
8252 ac_cpp='$CPP $CPPFLAGS'
8253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8258 # Source file extension for C test sources.
8261 # Object file extension for compiled C test sources.
8265 # Code to be used in simple compile tests
8266 lt_simple_compile_test_code="int some_variable = 0;"
8268 # Code to be used in simple link tests
8269 lt_simple_link_test_code='int main(){return(0);}'
8277 # If no C compiler was specified, use CC.
8280 # If no C compiler flags were specified, use CFLAGS.
8281 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8283 # Allow CC to be a program name with arguments.
8286 # Save the default compiler, since it gets overwritten when the other
8287 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8288 compiler_DEFAULT=$CC
8290 # save warnings/boilerplate of simple test code
8291 ac_outfile=conftest.$ac_objext
8292 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8293 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8294 _lt_compiler_boilerplate=`cat conftest.err`
8297 ac_outfile=conftest.$ac_objext
8298 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8299 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8300 _lt_linker_boilerplate=`cat conftest.err`
8305 ## There is no encapsulation within the following macros, do not change
8306 ## the running order or otherwise move them around unless you know exactly
8307 ## what you are doing...
8308 if test -n "$compiler"; then
8310 lt_prog_compiler_no_builtin_flag=
8312 if test "$GCC" = yes; then
8313 case $cc_basename in
8315 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8317 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8321 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8322 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8323 $as_echo_n "(cached) " >&6
8325 lt_cv_prog_compiler_rtti_exceptions=no
8326 ac_outfile=conftest.$ac_objext
8327 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8328 lt_compiler_flag="-fno-rtti -fno-exceptions"
8329 # Insert the option either (1) after the last *FLAGS variable, or
8330 # (2) before a word containing "conftest.", or (3) at the end.
8331 # Note that $ac_compile itself does not contain backslashes and begins
8332 # with a dollar sign (not a hyphen), so the echo should work correctly.
8333 # The option is referenced via a variable to avoid confusing sed.
8334 lt_compile=`echo "$ac_compile" | $SED \
8335 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8336 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8337 -e 's:$: $lt_compiler_flag:'`
8338 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8339 (eval "$lt_compile" 2>conftest.err)
8341 cat conftest.err >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 if (exit $ac_status) && test -s "$ac_outfile"; then
8344 # The compiler can only warn and ignore the option if not recognized
8345 # So say no if there are warnings other than the usual output.
8346 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8347 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8348 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8349 lt_cv_prog_compiler_rtti_exceptions=yes
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8356 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8358 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8359 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8371 lt_prog_compiler_wl=
8372 lt_prog_compiler_pic=
8373 lt_prog_compiler_static=
8376 if test "$GCC" = yes; then
8377 lt_prog_compiler_wl='-Wl,'
8378 lt_prog_compiler_static='-static'
8382 # All AIX code is PIC.
8383 if test "$host_cpu" = ia64; then
8384 # AIX 5 now supports IA64 processor
8385 lt_prog_compiler_static='-Bstatic'
8392 # see comment about AmigaOS4 .so support
8393 lt_prog_compiler_pic='-fPIC'
8396 # FIXME: we need at least 68020 code to build shared libraries, but
8397 # adding the `-m68020' flag to GCC prevents building anything better,
8399 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8404 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8405 # PIC is the default for these OSes.
8408 mingw* | cygwin* | pw32* | os2* | cegcc*)
8409 # This hack is so that the source file can tell whether it is being
8410 # built for inclusion in a dll (and should export symbols for example).
8411 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8412 # (--disable-auto-import) libraries
8413 lt_prog_compiler_pic='-DDLL_EXPORT'
8416 darwin* | rhapsody*)
8417 # PIC is the default on this platform
8418 # Common symbols not allowed in MH_DYLIB files
8419 lt_prog_compiler_pic='-fno-common'
8423 # PIC is the default for Haiku.
8424 # The "-static" flag exists, but is broken.
8425 lt_prog_compiler_static=
8429 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8430 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8431 # sets the default TLS model and affects inlining.
8437 lt_prog_compiler_pic='-fPIC'
8443 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8444 # Instead, we relocate shared libraries at runtime.
8448 # Just because we use GCC doesn't mean we suddenly get shared libraries
8449 # on systems that don't support them.
8450 lt_prog_compiler_can_build_shared=no
8455 # QNX uses GNU C++, but need to define -shared option too, otherwise
8457 lt_prog_compiler_pic='-fPIC -shared'
8461 if test -d /usr/nec; then
8462 lt_prog_compiler_pic=-Kconform_pic
8467 lt_prog_compiler_pic='-fPIC'
8471 case $cc_basename in
8472 nvcc*) # Cuda Compiler Driver 2.2
8473 lt_prog_compiler_wl='-Xlinker '
8474 if test -n "$lt_prog_compiler_pic"; then
8475 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8480 # PORTME Check for flag to pass linker flags through the system compiler.
8483 lt_prog_compiler_wl='-Wl,'
8484 if test "$host_cpu" = ia64; then
8485 # AIX 5 now supports IA64 processor
8486 lt_prog_compiler_static='-Bstatic'
8488 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8492 mingw* | cygwin* | pw32* | os2* | cegcc*)
8493 # This hack is so that the source file can tell whether it is being
8494 # built for inclusion in a dll (and should export symbols for example).
8495 lt_prog_compiler_pic='-DDLL_EXPORT'
8498 hpux9* | hpux10* | hpux11*)
8499 lt_prog_compiler_wl='-Wl,'
8500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8507 lt_prog_compiler_pic='+Z'
8510 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8511 lt_prog_compiler_static='${wl}-a ${wl}archive'
8514 irix5* | irix6* | nonstopux*)
8515 lt_prog_compiler_wl='-Wl,'
8516 # PIC (with -KPIC) is the default.
8517 lt_prog_compiler_static='-non_shared'
8520 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8521 case $cc_basename in
8522 # old Intel for x86_64 which still supported -KPIC.
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_pic='-KPIC'
8526 lt_prog_compiler_static='-static'
8528 # icc used to be incompatible with GCC.
8529 # ICC 10 doesn't accept -KPIC any more.
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_pic='-fPIC'
8533 lt_prog_compiler_static='-static'
8535 # Lahey Fortran 8.1.
8537 lt_prog_compiler_wl='-Wl,'
8538 lt_prog_compiler_pic='--shared'
8539 lt_prog_compiler_static='--static'
8542 # NAG Fortran compiler
8543 lt_prog_compiler_wl='-Wl,-Wl,,'
8544 lt_prog_compiler_pic='-PIC'
8545 lt_prog_compiler_static='-Bstatic'
8547 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8548 # Portland Group compilers (*not* the Pentium gcc compiler,
8549 # which looks to be a dead project)
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_pic='-fpic'
8552 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_wl='-Wl,'
8556 # All Alpha code is PIC.
8557 lt_prog_compiler_static='-non_shared'
8559 xl* | bgxl* | bgf* | mpixl*)
8560 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_pic='-qpic'
8563 lt_prog_compiler_static='-qstaticlink'
8566 case `$CC -V 2>&1 | sed 5q` in
8567 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8568 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8569 lt_prog_compiler_pic='-KPIC'
8570 lt_prog_compiler_static='-Bstatic'
8571 lt_prog_compiler_wl=''
8573 *Sun\ F* | *Sun*Fortran*)
8574 lt_prog_compiler_pic='-KPIC'
8575 lt_prog_compiler_static='-Bstatic'
8576 lt_prog_compiler_wl='-Qoption ld '
8580 lt_prog_compiler_pic='-KPIC'
8581 lt_prog_compiler_static='-Bstatic'
8582 lt_prog_compiler_wl='-Wl,'
8584 *Intel*\ [CF]*Compiler*)
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-fPIC'
8587 lt_prog_compiler_static='-static'
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-fpic'
8592 lt_prog_compiler_static='-Bstatic'
8600 lt_prog_compiler_pic='-KPIC'
8601 lt_prog_compiler_static='-Bstatic'
8605 # QNX uses GNU C++, but need to define -shared option too, otherwise
8607 lt_prog_compiler_pic='-fPIC -shared'
8610 osf3* | osf4* | osf5*)
8611 lt_prog_compiler_wl='-Wl,'
8612 # All OSF/1 code is PIC.
8613 lt_prog_compiler_static='-non_shared'
8617 lt_prog_compiler_static='-non_shared'
8621 lt_prog_compiler_pic='-KPIC'
8622 lt_prog_compiler_static='-Bstatic'
8623 case $cc_basename in
8624 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8625 lt_prog_compiler_wl='-Qoption ld ';;
8627 lt_prog_compiler_wl='-Wl,';;
8632 lt_prog_compiler_wl='-Qoption ld '
8633 lt_prog_compiler_pic='-PIC'
8634 lt_prog_compiler_static='-Bstatic'
8637 sysv4 | sysv4.2uw2* | sysv4.3*)
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_pic='-KPIC'
8640 lt_prog_compiler_static='-Bstatic'
8644 if test -d /usr/nec ;then
8645 lt_prog_compiler_pic='-Kconform_pic'
8646 lt_prog_compiler_static='-Bstatic'
8650 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_pic='-KPIC'
8653 lt_prog_compiler_static='-Bstatic'
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_can_build_shared=no
8662 lt_prog_compiler_pic='-pic'
8663 lt_prog_compiler_static='-Bstatic'
8667 lt_prog_compiler_can_build_shared=no
8673 # For platforms which do not support PIC, -DPIC is meaningless:
8675 lt_prog_compiler_pic=
8678 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8683 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8684 if ${lt_cv_prog_compiler_pic+:} false; then :
8685 $as_echo_n "(cached) " >&6
8687 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8690 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8691 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8694 # Check to make sure the PIC flag actually works.
8696 if test -n "$lt_prog_compiler_pic"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8698 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8699 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8700 $as_echo_n "(cached) " >&6
8702 lt_cv_prog_compiler_pic_works=no
8703 ac_outfile=conftest.$ac_objext
8704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8705 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8706 # Insert the option either (1) after the last *FLAGS variable, or
8707 # (2) before a word containing "conftest.", or (3) at the end.
8708 # Note that $ac_compile itself does not contain backslashes and begins
8709 # with a dollar sign (not a hyphen), so the echo should work correctly.
8710 # The option is referenced via a variable to avoid confusing sed.
8711 lt_compile=`echo "$ac_compile" | $SED \
8712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8714 -e 's:$: $lt_compiler_flag:'`
8715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8716 (eval "$lt_compile" 2>conftest.err)
8718 cat conftest.err >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 if (exit $ac_status) && test -s "$ac_outfile"; then
8721 # The compiler can only warn and ignore the option if not recognized
8722 # So say no if there are warnings other than the usual output.
8723 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8725 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8726 lt_cv_prog_compiler_pic_works=yes
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8733 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8735 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8736 case $lt_prog_compiler_pic in
8738 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8741 lt_prog_compiler_pic=
8742 lt_prog_compiler_can_build_shared=no
8758 # Check to make sure the static flag actually works.
8760 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8762 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8763 if ${lt_cv_prog_compiler_static_works+:} false; then :
8764 $as_echo_n "(cached) " >&6
8766 lt_cv_prog_compiler_static_works=no
8767 save_LDFLAGS="$LDFLAGS"
8768 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8769 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8770 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8771 # The linker can only warn and ignore the option if not recognized
8772 # So say no if there are warnings
8773 if test -s conftest.err; then
8774 # Append any errors to the config.log.
8775 cat conftest.err 1>&5
8776 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8777 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8778 if diff conftest.exp conftest.er2 >/dev/null; then
8779 lt_cv_prog_compiler_static_works=yes
8782 lt_cv_prog_compiler_static_works=yes
8786 LDFLAGS="$save_LDFLAGS"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8790 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8792 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8795 lt_prog_compiler_static=
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8805 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8806 if ${lt_cv_prog_compiler_c_o+:} false; then :
8807 $as_echo_n "(cached) " >&6
8809 lt_cv_prog_compiler_c_o=no
8810 $RM -r conftest 2>/dev/null
8814 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8816 lt_compiler_flag="-o out/conftest2.$ac_objext"
8817 # Insert the option either (1) after the last *FLAGS variable, or
8818 # (2) before a word containing "conftest.", or (3) at the end.
8819 # Note that $ac_compile itself does not contain backslashes and begins
8820 # with a dollar sign (not a hyphen), so the echo should work correctly.
8821 lt_compile=`echo "$ac_compile" | $SED \
8822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8824 -e 's:$: $lt_compiler_flag:'`
8825 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8826 (eval "$lt_compile" 2>out/conftest.err)
8828 cat out/conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8832 # The compiler can only warn and ignore the option if not recognized
8833 # So say no if there are warnings
8834 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8835 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8836 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8837 lt_cv_prog_compiler_c_o=yes
8842 # SGI C++ compiler will create directory out/ii_files/ for
8843 # template instantiation
8844 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8845 $RM out/* && rmdir out
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8852 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8860 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8861 if ${lt_cv_prog_compiler_c_o+:} false; then :
8862 $as_echo_n "(cached) " >&6
8864 lt_cv_prog_compiler_c_o=no
8865 $RM -r conftest 2>/dev/null
8869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8871 lt_compiler_flag="-o out/conftest2.$ac_objext"
8872 # Insert the option either (1) after the last *FLAGS variable, or
8873 # (2) before a word containing "conftest.", or (3) at the end.
8874 # Note that $ac_compile itself does not contain backslashes and begins
8875 # with a dollar sign (not a hyphen), so the echo should work correctly.
8876 lt_compile=`echo "$ac_compile" | $SED \
8877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8879 -e 's:$: $lt_compiler_flag:'`
8880 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8881 (eval "$lt_compile" 2>out/conftest.err)
8883 cat out/conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8887 # The compiler can only warn and ignore the option if not recognized
8888 # So say no if there are warnings
8889 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8890 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8891 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8892 lt_cv_prog_compiler_c_o=yes
8897 # SGI C++ compiler will create directory out/ii_files/ for
8898 # template instantiation
8899 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8900 $RM out/* && rmdir out
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8907 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8912 hard_links="nottested"
8913 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8914 # do not overwrite the value of need_locks provided by the user
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8916 $as_echo_n "checking if we can lock with hard links... " >&6; }
8919 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8921 ln conftest.a conftest.b 2>&5 || hard_links=no
8922 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8924 $as_echo "$hard_links" >&6; }
8925 if test "$hard_links" = no; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8927 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8940 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8943 allow_undefined_flag=
8944 always_export_symbols=no
8946 archive_expsym_cmds=
8947 compiler_needs_object=no
8948 enable_shared_with_static_runtimes=no
8949 export_dynamic_flag_spec=
8950 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8951 hardcode_automatic=no
8953 hardcode_direct_absolute=no
8954 hardcode_libdir_flag_spec=
8955 hardcode_libdir_separator=
8957 hardcode_shlibpath_var=unsupported
8959 link_all_deplibs=unknown
8962 old_archive_from_new_cmds=
8963 old_archive_from_expsyms_cmds=
8964 thread_safe_flag_spec=
8965 whole_archive_flag_spec=
8966 # include_expsyms should be a list of space-separated symbols to be *always*
8967 # included in the symbol list
8969 # exclude_expsyms can be an extended regexp of symbols to exclude
8970 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8971 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8972 # as well as any symbol that contains `d'.
8973 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8974 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8975 # platforms (ab)use it in PIC code, but their linkers get confused if
8976 # the symbol is explicitly referenced. Since portable code cannot
8977 # rely on this symbol name, it's probably fine to never include it in
8978 # preloaded symbol tables.
8979 # Exclude shared library initialization/finalization symbols.
8980 extract_expsyms_cmds=
8983 cygwin* | mingw* | pw32* | cegcc*)
8984 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8985 # When not using gcc, we currently assume that we are using
8986 # Microsoft Visual C++.
8987 if test "$GCC" != yes; then
8992 # we just hope/assume this is gcc and not c89 (= MSVC++)
8998 linux* | k*bsd*-gnu | gnu*)
9005 # On some targets, GNU ld is compatible enough with the native linker
9006 # that we're better off using the native interface for both.
9007 lt_use_gnu_ld_interface=no
9008 if test "$with_gnu_ld" = yes; then
9011 # The AIX port of GNU ld has always aspired to compatibility
9012 # with the native linker. However, as the warning in the GNU ld
9013 # block says, versions before 2.19.5* couldn't really create working
9014 # shared libraries, regardless of the interface used.
9015 case `$LD -v 2>&1` in
9016 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9017 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9018 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9020 lt_use_gnu_ld_interface=yes
9025 lt_use_gnu_ld_interface=yes
9030 if test "$lt_use_gnu_ld_interface" = yes; then
9031 # If archive_cmds runs LD, not CC, wlarc should be empty
9034 # Set some defaults for GNU ld with shared library support. These
9035 # are reset later if shared libraries are not supported. Putting them
9036 # here allows them to be overridden if necessary.
9037 runpath_var=LD_RUN_PATH
9038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9039 export_dynamic_flag_spec='${wl}--export-dynamic'
9040 # ancient GNU ld didn't support --whole-archive et. al.
9041 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9042 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9044 whole_archive_flag_spec=
9046 supports_anon_versioning=no
9047 case `$LD -v 2>&1` in
9048 *GNU\ gold*) supports_anon_versioning=yes ;;
9049 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9050 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9051 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9052 *\ 2.11.*) ;; # other 2.11 versions
9053 *) supports_anon_versioning=yes ;;
9056 # See if GNU ld supports shared libraries.
9059 # On AIX/PPC, the GNU linker is very broken
9060 if test "$host_cpu" != ia64; then
9064 *** Warning: the GNU linker, at least up to release 2.19, is reported
9065 *** to be unable to reliably create shared libraries on AIX.
9066 *** Therefore, libtool is disabling shared libraries support. If you
9067 *** really care for shared libraries, you may want to install binutils
9068 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9069 *** You will then need to restart the configuration process.
9078 # see comment about AmigaOS4 .so support
9079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080 archive_expsym_cmds=''
9083 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)'
9084 hardcode_libdir_flag_spec='-L$libdir'
9085 hardcode_minus_L=yes
9091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9092 allow_undefined_flag=unsupported
9093 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9094 # support --undefined. This deserves some investigation. FIXME
9095 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101 cygwin* | mingw* | pw32* | cegcc*)
9102 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9103 # as there is no search path for DLLs.
9104 hardcode_libdir_flag_spec='-L$libdir'
9105 export_dynamic_flag_spec='${wl}--export-all-symbols'
9106 allow_undefined_flag=unsupported
9107 always_export_symbols=no
9108 enable_shared_with_static_runtimes=yes
9109 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'
9110 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9112 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9114 # If the export-symbols file already is a .def file (1st line
9115 # is EXPORTS), use it as is; otherwise, prepend...
9116 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9117 cp $export_symbols $output_objdir/$soname.def;
9119 echo EXPORTS > $output_objdir/$soname.def;
9120 cat $export_symbols >> $output_objdir/$soname.def;
9122 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9129 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 link_all_deplibs=yes
9135 hardcode_shlibpath_var=no
9136 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9137 export_dynamic_flag_spec='${wl}-E'
9138 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9139 # Instead, shared libraries are loaded at an image base (0x10000000 by
9140 # default) and relocated if they conflict, which is a slow very memory
9141 # consuming and fragmenting process. To avoid this, we pick a random,
9142 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9143 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9144 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9145 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'
9148 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9150 if test "$host_os" = linux-dietlibc; then
9151 case $cc_basename in
9152 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9155 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9156 && test "$tmp_diet" = no
9158 tmp_addflag=' $pic_flag'
9159 tmp_sharedflag='-shared'
9160 case $cc_basename,$host_cpu in
9161 pgcc*) # Portland Group C compiler
9162 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'
9163 tmp_addflag=' $pic_flag'
9165 pgf77* | pgf90* | pgf95* | pgfortran*)
9166 # Portland Group f77 and f90 compilers
9167 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'
9168 tmp_addflag=' $pic_flag -Mnomain' ;;
9169 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9170 tmp_addflag=' -i_dynamic' ;;
9171 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9172 tmp_addflag=' -i_dynamic -nofor_main' ;;
9173 ifc* | ifort*) # Intel Fortran compiler
9174 tmp_addflag=' -nofor_main' ;;
9175 lf95*) # Lahey Fortran 8.1
9176 whole_archive_flag_spec=
9177 tmp_sharedflag='--shared' ;;
9178 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9179 tmp_sharedflag='-qmkshrobj'
9181 nvcc*) # Cuda Compiler Driver 2.2
9182 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'
9183 compiler_needs_object=yes
9186 case `$CC -V 2>&1 | sed 5q` in
9187 *Sun\ C*) # Sun C 5.9
9188 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'
9189 compiler_needs_object=yes
9190 tmp_sharedflag='-G' ;;
9191 *Sun\ F*) # Sun Fortran 8.3
9192 tmp_sharedflag='-G' ;;
9194 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 if test "x$supports_anon_versioning" = xyes; then
9197 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9198 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9199 echo "local: *; };" >> $output_objdir/$libname.ver~
9200 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9203 case $cc_basename in
9204 xlf* | bgf* | bgxlf* | mpixlf*)
9205 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9206 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9207 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9208 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9209 if test "x$supports_anon_versioning" = xyes; then
9210 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9211 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9212 echo "local: *; };" >> $output_objdir/$libname.ver~
9213 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9222 netbsd* | netbsdelf*-gnu)
9223 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9224 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9227 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9233 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9237 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9238 *** create shared libraries on Solaris systems. Therefore, libtool
9239 *** is disabling shared libraries support. We urge you to upgrade GNU
9240 *** binutils to release 2.9.1 or newer. Another option is to modify
9241 *** your PATH or compiler configuration so that the native linker is
9242 *** used, and then restart.
9245 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9246 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9247 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9253 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9254 case `$LD -v 2>&1` in
9255 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9259 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9260 *** reliably create shared libraries on SCO systems. Therefore, libtool
9261 *** is disabling shared libraries support. We urge you to upgrade GNU
9262 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9263 *** your PATH or compiler configuration so that the native linker is
9264 *** used, and then restart.
9269 # For security reasons, it is highly recommended that you always
9270 # use absolute paths for naming shared libraries, and exclude the
9271 # DT_RUNPATH tag from executables and libraries. But doing so
9272 # requires that you compile everything twice, which is a pain.
9273 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9274 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9275 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9285 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9288 hardcode_shlibpath_var=no
9292 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9293 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9301 if test "$ld_shlibs" = no; then
9303 hardcode_libdir_flag_spec=
9304 export_dynamic_flag_spec=
9305 whole_archive_flag_spec=
9308 # PORTME fill in a description of your system's linker (not GNU ld)
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=yes
9313 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'
9314 # Note: this linker hardcodes the directories in LIBPATH if there
9315 # are no directories specified by -L.
9316 hardcode_minus_L=yes
9317 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9318 # Neither direct hardcoding nor static linking is supported with a
9320 hardcode_direct=unsupported
9325 if test "$host_cpu" = ia64; then
9326 # On IA64, the linker does run time linking by default, so we don't
9327 # have to do anything special.
9328 aix_use_runtimelinking=no
9329 exp_sym_flag='-Bexport'
9332 # If we're using GNU nm, then we don't want the "-C" option.
9333 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9334 # Also, AIX nm treats weak defined symbols like other global
9335 # defined symbols, whereas GNU nm marks them as "W".
9336 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9337 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'
9339 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'
9341 aix_use_runtimelinking=no
9343 # Test if we are trying to use run time linking or normal
9344 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9345 # need to do runtime linking.
9346 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9347 for ld_flag in $LDFLAGS; do
9348 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9349 aix_use_runtimelinking=yes
9356 exp_sym_flag='-bexport'
9357 no_entry_flag='-bnoentry'
9360 # When large executables or shared objects are built, AIX ld can
9361 # have problems creating the table of contents. If linking a library
9362 # or program results in "error TOC overflow" add -mminimal-toc to
9363 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9364 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9368 hardcode_direct_absolute=yes
9369 hardcode_libdir_separator=':'
9370 link_all_deplibs=yes
9371 file_list_spec='${wl}-f,'
9373 if test "$GCC" = yes; then
9374 case $host_os in aix4.[012]|aix4.[012].*)
9375 # We only want to do this on AIX 4.2 and lower, the check
9376 # below for broken collect2 doesn't work under 4.3+
9377 collect2name=`${CC} -print-prog-name=collect2`
9378 if test -f "$collect2name" &&
9379 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9381 # We have reworked collect2
9384 # We have old collect2
9385 hardcode_direct=unsupported
9386 # It fails to find uninstalled libraries when the uninstalled
9387 # path is not listed in the libpath. Setting hardcode_minus_L
9388 # to unsupported forces relinking
9389 hardcode_minus_L=yes
9390 hardcode_libdir_flag_spec='-L$libdir'
9391 hardcode_libdir_separator=
9395 shared_flag='-shared'
9396 if test "$aix_use_runtimelinking" = yes; then
9397 shared_flag="$shared_flag "'${wl}-G'
9402 if test "$host_cpu" = ia64; then
9403 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9404 # chokes on -Wl,-G. The following line is correct:
9407 if test "$aix_use_runtimelinking" = yes; then
9408 shared_flag='${wl}-G'
9410 shared_flag='${wl}-bM:SRE'
9415 export_dynamic_flag_spec='${wl}-bexpall'
9416 # It seems that -bexpall does not export symbols beginning with
9417 # underscore (_), so it is better to generate a list of symbols to export.
9418 always_export_symbols=yes
9419 if test "$aix_use_runtimelinking" = yes; then
9420 # Warning - without using the other runtime loading flags (-brtl),
9421 # -berok will link without error, but may produce a broken library.
9422 allow_undefined_flag='-berok'
9423 # Determine the default libpath from the value encoded in an
9425 if test "${lt_cv_aix_libpath+set}" = set; then
9426 aix_libpath=$lt_cv_aix_libpath
9428 if ${lt_cv_aix_libpath_+:} false; then :
9429 $as_echo_n "(cached) " >&6
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9442 if ac_fn_c_try_link "$LINENO"; then :
9444 lt_aix_libpath_sed='
9445 /Import File Strings/,/^$/ {
9447 s/^0 *\([^ ]*\) *$/\1/
9451 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9452 # Check for a 64-bit object if we didn't find anything.
9453 if test -z "$lt_cv_aix_libpath_"; then
9454 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9459 if test -z "$lt_cv_aix_libpath_"; then
9460 lt_cv_aix_libpath_="/usr/lib:/lib"
9465 aix_libpath=$lt_cv_aix_libpath_
9468 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9469 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"
9471 if test "$host_cpu" = ia64; then
9472 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9473 allow_undefined_flag="-z nodefs"
9474 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"
9476 # Determine the default libpath from the value encoded in an
9478 if test "${lt_cv_aix_libpath+set}" = set; then
9479 aix_libpath=$lt_cv_aix_libpath
9481 if ${lt_cv_aix_libpath_+:} false; then :
9482 $as_echo_n "(cached) " >&6
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9495 if ac_fn_c_try_link "$LINENO"; then :
9497 lt_aix_libpath_sed='
9498 /Import File Strings/,/^$/ {
9500 s/^0 *\([^ ]*\) *$/\1/
9504 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9505 # Check for a 64-bit object if we didn't find anything.
9506 if test -z "$lt_cv_aix_libpath_"; then
9507 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 if test -z "$lt_cv_aix_libpath_"; then
9513 lt_cv_aix_libpath_="/usr/lib:/lib"
9518 aix_libpath=$lt_cv_aix_libpath_
9521 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9522 # Warning - without using the other run time loading flags,
9523 # -berok will link without error, but may produce a broken library.
9524 no_undefined_flag=' ${wl}-bernotok'
9525 allow_undefined_flag=' ${wl}-berok'
9526 if test "$with_gnu_ld" = yes; then
9527 # We only use this code for GNU lds that support --whole-archive.
9528 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9530 # Exported symbols can be pulled into shared objects from archives
9531 whole_archive_flag_spec='$convenience'
9533 archive_cmds_need_lc=yes
9534 # This is similar to how AIX traditionally builds its shared libraries.
9535 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'
9543 # see comment about AmigaOS4 .so support
9544 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9545 archive_expsym_cmds=''
9548 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)'
9549 hardcode_libdir_flag_spec='-L$libdir'
9550 hardcode_minus_L=yes
9556 export_dynamic_flag_spec=-rdynamic
9559 cygwin* | mingw* | pw32* | cegcc*)
9560 # When not using gcc, we currently assume that we are using
9561 # Microsoft Visual C++.
9562 # hardcode_libdir_flag_spec is actually meaningless, as there is
9563 # no search path for DLLs.
9564 case $cc_basename in
9567 hardcode_libdir_flag_spec=' '
9568 allow_undefined_flag=unsupported
9569 always_export_symbols=yes
9571 # Tell ltmain to make .lib files, not .a files.
9573 # Tell ltmain to make .dll files, not .so files.
9575 # FIXME: Setting linknames here is a bad hack.
9576 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9577 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9578 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9580 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9582 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9584 # The linker will not automatically build a static lib if we build a DLL.
9585 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9586 enable_shared_with_static_runtimes=yes
9587 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9588 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9590 old_postinstall_cmds='chmod 644 $oldlib'
9591 postlink_cmds='lt_outputfile="@OUTPUT@"~
9592 lt_tool_outputfile="@TOOL_OUTPUT@"~
9593 case $lt_outputfile in
9596 lt_outputfile="$lt_outputfile.exe"
9597 lt_tool_outputfile="$lt_tool_outputfile.exe"
9600 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9601 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9602 $RM "$lt_outputfile.manifest";
9606 # Assume MSVC wrapper
9607 hardcode_libdir_flag_spec=' '
9608 allow_undefined_flag=unsupported
9609 # Tell ltmain to make .lib files, not .a files.
9611 # Tell ltmain to make .dll files, not .so files.
9613 # FIXME: Setting linknames here is a bad hack.
9614 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9615 # The linker will automatically build a .lib file if we build a DLL.
9616 old_archive_from_new_cmds='true'
9617 # FIXME: Should let the user specify the lib program.
9618 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9619 enable_shared_with_static_runtimes=yes
9624 darwin* | rhapsody*)
9627 archive_cmds_need_lc=no
9629 hardcode_automatic=yes
9630 hardcode_shlibpath_var=unsupported
9631 if test "$lt_cv_ld_force_load" = "yes"; then
9632 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\"`'
9635 whole_archive_flag_spec=''
9637 link_all_deplibs=yes
9638 allow_undefined_flag="$_lt_dar_allow_undefined"
9639 case $cc_basename in
9640 ifort*) _lt_dar_can_shared=yes ;;
9641 *) _lt_dar_can_shared=$GCC ;;
9643 if test "$_lt_dar_can_shared" = "yes"; then
9644 output_verbose_link_cmd=func_echo_all
9645 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9646 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9647 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}"
9648 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}"
9657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_libdir_flag_spec='-L$libdir'
9659 hardcode_shlibpath_var=no
9662 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9663 # support. Future versions do this automatically, but an explicit c++rt0.o
9664 # does not break anything, and helps significantly (at the cost of a little
9667 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9668 hardcode_libdir_flag_spec='-R$libdir'
9670 hardcode_shlibpath_var=no
9673 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_minus_L=yes
9678 hardcode_shlibpath_var=no
9681 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9682 freebsd* | dragonfly*)
9683 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9684 hardcode_libdir_flag_spec='-R$libdir'
9686 hardcode_shlibpath_var=no
9690 if test "$GCC" = yes; then
9691 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'
9693 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'
9695 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9696 hardcode_libdir_separator=:
9699 # hardcode_minus_L: Not really in the search PATH,
9700 # but as the default location of the library.
9701 hardcode_minus_L=yes
9702 export_dynamic_flag_spec='${wl}-E'
9706 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9707 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9711 if test "$with_gnu_ld" = no; then
9712 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9713 hardcode_libdir_separator=:
9715 hardcode_direct_absolute=yes
9716 export_dynamic_flag_spec='${wl}-E'
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9746 # Older versions of the 11.00 compiler do not understand -b yet
9747 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9749 $as_echo_n "checking if $CC understands -b... " >&6; }
9750 if ${lt_cv_prog_compiler__b+:} false; then :
9751 $as_echo_n "(cached) " >&6
9753 lt_cv_prog_compiler__b=no
9754 save_LDFLAGS="$LDFLAGS"
9755 LDFLAGS="$LDFLAGS -b"
9756 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758 # The linker can only warn and ignore the option if not recognized
9759 # So say no if there are warnings
9760 if test -s conftest.err; then
9761 # Append any errors to the config.log.
9762 cat conftest.err 1>&5
9763 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765 if diff conftest.exp conftest.er2 >/dev/null; then
9766 lt_cv_prog_compiler__b=yes
9769 lt_cv_prog_compiler__b=yes
9773 LDFLAGS="$save_LDFLAGS"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9779 if test x"$lt_cv_prog_compiler__b" = xyes; then
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9788 if test "$with_gnu_ld" = no; then
9789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790 hardcode_libdir_separator=:
9795 hardcode_shlibpath_var=no
9799 hardcode_direct_absolute=yes
9800 export_dynamic_flag_spec='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L=yes
9810 irix5* | irix6* | nonstopux*)
9811 if test "$GCC" = yes; then
9812 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'
9813 # Try to use the -exported_symbol ld option, if it does not
9814 # work, assume that -exports_file does not work either and
9815 # implicitly export all symbols.
9816 # This should be the same for all languages, so no per-tag cache variable.
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9818 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9819 if ${lt_cv_irix_exported_symbol+:} false; then :
9820 $as_echo_n "(cached) " >&6
9822 save_LDFLAGS="$LDFLAGS"
9823 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9826 int foo (void) { return 0; }
9828 if ac_fn_c_try_link "$LINENO"; then :
9829 lt_cv_irix_exported_symbol=yes
9831 lt_cv_irix_exported_symbol=no
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LDFLAGS="$save_LDFLAGS"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9838 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9839 if test "$lt_cv_irix_exported_symbol" = yes; then
9840 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'
9843 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'
9844 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'
9846 archive_cmds_need_lc='no'
9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848 hardcode_libdir_separator=:
9850 link_all_deplibs=yes
9853 netbsd* | netbsdelf*-gnu)
9854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9857 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9859 hardcode_libdir_flag_spec='-R$libdir'
9861 hardcode_shlibpath_var=no
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 hardcode_shlibpath_var=no
9876 if test -f /usr/libexec/ld.so; then
9878 hardcode_shlibpath_var=no
9879 hardcode_direct_absolute=yes
9880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9881 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884 export_dynamic_flag_spec='${wl}-E'
9887 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9888 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-R$libdir'
9892 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 hardcode_libdir_flag_spec='-L$libdir'
9904 hardcode_minus_L=yes
9905 allow_undefined_flag=unsupported
9906 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'
9907 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9911 if test "$GCC" = yes; then
9912 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913 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'
9915 allow_undefined_flag=' -expect_unresolved \*'
9916 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'
9918 archive_cmds_need_lc='no'
9919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 hardcode_libdir_separator=:
9923 osf4* | osf5*) # as osf3* with the addition of -msym flag
9924 if test "$GCC" = yes; then
9925 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9926 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'
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9929 allow_undefined_flag=' -expect_unresolved \*'
9930 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'
9931 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~
9932 $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'
9934 # Both c and cxx compiler support -rpath directly
9935 hardcode_libdir_flag_spec='-rpath $libdir'
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_separator=:
9942 no_undefined_flag=' -z defs'
9943 if test "$GCC" = yes; then
9945 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947 $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'
9949 case `$CC -V 2>&1` in
9952 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9958 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9960 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9964 hardcode_libdir_flag_spec='-R$libdir'
9965 hardcode_shlibpath_var=no
9967 solaris2.[0-5] | solaris2.[0-5].*) ;;
9969 # The compiler driver will combine and reorder linker options,
9970 # but understands `-z linker_flag'. GCC discards it without `$wl',
9971 # but is careful enough not to reorder.
9972 # Supported since Solaris 2.6 (maybe 2.5.1?)
9973 if test "$GCC" = yes; then
9974 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9976 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9980 link_all_deplibs=yes
9984 if test "x$host_vendor" = xsequent; then
9985 # Use $CC to link under sequent, because it throws in some extra .o
9986 # files that make .init and .fini sections work.
9987 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9989 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_libdir_flag_spec='-L$libdir'
9993 hardcode_minus_L=yes
9994 hardcode_shlibpath_var=no
9998 case $host_vendor in
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes # is this really true???
10004 ## LD is ld it makes a PLAMLIB
10005 ## CC just makes a GrossModule.
10006 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10007 reload_cmds='$CC -r -o $output$reload_objs'
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10015 runpath_var='LD_RUN_PATH'
10016 hardcode_shlibpath_var=no
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_shlibpath_var=no
10022 export_dynamic_flag_spec='-Bexport'
10026 if test -d /usr/nec; then
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 runpath_var=LD_RUN_PATH
10030 hardcode_runpath_var=yes
10035 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10036 no_undefined_flag='${wl}-z,text'
10037 archive_cmds_need_lc=no
10038 hardcode_shlibpath_var=no
10039 runpath_var='LD_RUN_PATH'
10041 if test "$GCC" = yes; then
10042 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 sysv5* | sco3.2v5* | sco5v6*)
10051 # Note: We can NOT use -z defs as we might desire, because we do not
10052 # link with -lc, and that would cause any symbols used from libc to
10053 # always be unresolved, which means just about no library would
10054 # ever link correctly. If we're not using GNU ld we use -z text
10055 # though, which does catch some bad symbols but isn't as heavy-handed
10057 no_undefined_flag='${wl}-z,text'
10058 allow_undefined_flag='${wl}-z,nodefs'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10062 hardcode_libdir_separator=':'
10063 link_all_deplibs=yes
10064 export_dynamic_flag_spec='${wl}-Bexport'
10065 runpath_var='LD_RUN_PATH'
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-L$libdir'
10079 hardcode_shlibpath_var=no
10087 if test x$host_vendor = xsni; then
10089 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10090 export_dynamic_flag_spec='${wl}-Blargedynsym'
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10097 $as_echo "$ld_shlibs" >&6; }
10098 test "$ld_shlibs" = no && can_build_shared=no
10100 with_gnu_ld=$with_gnu_ld
10117 # Do we need to explicitly link libc?
10119 case "x$archive_cmds_need_lc" in
10121 # Assume -lc should be added
10122 archive_cmds_need_lc=yes
10124 if test "$enable_shared" = yes && test "$GCC" = yes; then
10125 case $archive_cmds in
10127 # FIXME: we may have to deal with multi-command sequences.
10130 # Test whether the compiler implicitly links with -lc since on some
10131 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132 # to ld, don't add -lc before -lgcc.
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10135 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10136 $as_echo_n "(cached) " >&6
10139 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10142 (eval $ac_compile) 2>&5
10144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10145 test $ac_status = 0; } 2>conftest.err; then
10148 libobjs=conftest.$ac_objext
10150 wl=$lt_prog_compiler_wl
10151 pic_flag=$lt_prog_compiler_pic
10157 lt_save_allow_undefined_flag=$allow_undefined_flag
10158 allow_undefined_flag=
10159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10160 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10163 test $ac_status = 0; }
10165 lt_cv_archive_cmds_need_lc=no
10167 lt_cv_archive_cmds_need_lc=yes
10169 allow_undefined_flag=$lt_save_allow_undefined_flag
10171 cat conftest.err 1>&5
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10177 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10178 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10337 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10339 if test "$GCC" = yes; then
10341 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10342 *) lt_awk_arg="/^libraries:/" ;;
10345 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10346 *) lt_sed_strip_eq="s,=/,/,g" ;;
10348 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10349 case $lt_search_path_spec in
10351 # if the path contains ";" then we assume it to be the separator
10352 # otherwise default to the standard path separator (i.e. ":") - it is
10353 # assumed that no part of a normal pathname contains ";" but that should
10354 # okay in the real world where ";" in dirpaths is itself problematic.
10355 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10358 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10361 # Ok, now we have the path, separated by spaces, we can step through it
10362 # and add multilib dir if necessary.
10363 lt_tmp_lt_search_path_spec=
10364 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10365 for lt_sys_path in $lt_search_path_spec; do
10366 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10367 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10369 test -d "$lt_sys_path" && \
10370 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10373 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10374 BEGIN {RS=" "; FS="/|\n";} {
10377 for (lt_i = NF; lt_i > 0; lt_i--) {
10378 if ($lt_i != "" && $lt_i != ".") {
10379 if ($lt_i == "..") {
10382 if (lt_count == 0) {
10383 lt_foo="/" $lt_i lt_foo;
10390 if (lt_foo != "") { lt_freq[lt_foo]++; }
10391 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10393 # AWK program above erroneously prepends '/' to C:/dos/paths
10396 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10397 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10399 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10401 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10403 library_names_spec=
10404 libname_spec='lib$name'
10408 postuninstall_cmds=
10412 shlibpath_overrides_runpath=unknown
10414 dynamic_linker="$host_os ld.so"
10415 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10416 need_lib_prefix=unknown
10417 hardcode_into_libs=no
10419 # when you set need_version to no, make sure it does not cause -set_version
10420 # flags to be left without arguments
10421 need_version=unknown
10425 version_type=linux # correct to gnu/linux during the next big refactor
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10427 shlibpath_var=LIBPATH
10429 # AIX 3 has no versioning support, so we append a major version to the name.
10430 soname_spec='${libname}${release}${shared_ext}$major'
10434 version_type=linux # correct to gnu/linux during the next big refactor
10437 hardcode_into_libs=yes
10438 if test "$host_cpu" = ia64; then
10439 # AIX 5 supports IA64
10440 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10441 shlibpath_var=LD_LIBRARY_PATH
10443 # With GCC up to 2.95.x, collect2 would create an import file
10444 # for dependence libraries. The import file would start with
10445 # the line `#! .'. This would cause the generated library to
10446 # depend on `.', always an invalid library. This was fixed in
10447 # development snapshots of GCC prior to 3.0.
10449 aix4 | aix4.[01] | aix4.[01].*)
10450 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10452 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10455 can_build_shared=no
10459 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10460 # soname into executable. Probably we can add versioning support to
10461 # collect2, so additional links can be useful in future.
10462 if test "$aix_use_runtimelinking" = yes; then
10463 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10464 # instead of lib<name>.a to let people know that these are not
10465 # typical AIX shared libraries.
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10468 # We preserve .a as extension for shared libraries through AIX4.2
10469 # and later when we are not doing run time linking.
10470 library_names_spec='${libname}${release}.a $libname.a'
10471 soname_spec='${libname}${release}${shared_ext}$major'
10473 shlibpath_var=LIBPATH
10480 # Since July 2007 AmigaOS4 officially supports .so libraries.
10481 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10485 library_names_spec='$libname.ixlibrary $libname.a'
10486 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10487 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'
10493 library_names_spec='${libname}${shared_ext}'
10494 dynamic_linker="$host_os ld.so"
10495 shlibpath_var=LIBRARY_PATH
10499 version_type=linux # correct to gnu/linux during the next big refactor
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 soname_spec='${libname}${release}${shared_ext}$major'
10503 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10504 shlibpath_var=LD_LIBRARY_PATH
10505 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10506 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10507 # the default ld.so.conf also contains /usr/contrib/lib and
10508 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10509 # libtool to hard-code these into programs
10512 cygwin* | mingw* | pw32* | cegcc*)
10513 version_type=windows
10518 case $GCC,$cc_basename in
10521 library_names_spec='$libname.dll.a'
10522 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10523 postinstall_cmds='base_file=`basename \${file}`~
10524 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10525 dldir=$destdir/`dirname \$dlpath`~
10526 test -d \$dldir || mkdir -p \$dldir~
10527 $install_prog $dir/$dlname \$dldir/$dlname~
10528 chmod a+x \$dldir/$dlname~
10529 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10530 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10532 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10533 dlpath=$dir/\$dldll~
10535 shlibpath_overrides_runpath=yes
10539 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10540 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10542 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10545 # MinGW DLLs use traditional 'lib' prefix
10546 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10549 # pw32 DLLs use 'pw' prefix rather than 'lib'
10550 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10553 dynamic_linker='Win32 ld.exe'
10558 libname_spec='$name'
10559 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10560 library_names_spec='${libname}.dll.lib'
10564 sys_lib_search_path_spec=
10567 for lt_path in $LIB
10570 # Let DOS variable expansion print the short 8.3 style file name.
10571 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10572 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10575 # Convert to MSYS style.
10576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10579 # Convert to unix form, then to dos form, then back to unix form
10580 # but this time dos style (no spaces!) so that the unix form looks
10581 # like /cygdrive/c/PROGRA~1:/cygdr...
10582 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10583 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10584 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10587 sys_lib_search_path_spec="$LIB"
10588 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10589 # It is most probably a Windows format PATH.
10590 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10592 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10594 # FIXME: find the short name or the path components, as spaces are
10595 # common. (e.g. "Program Files" -> "PROGRA~1")
10599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10600 postinstall_cmds='base_file=`basename \${file}`~
10601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10602 dldir=$destdir/`dirname \$dlpath`~
10603 test -d \$dldir || mkdir -p \$dldir~
10604 $install_prog $dir/$dlname \$dldir/$dlname'
10605 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10606 dlpath=$dir/\$dldll~
10608 shlibpath_overrides_runpath=yes
10609 dynamic_linker='Win32 link.exe'
10613 # Assume MSVC wrapper
10614 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10615 dynamic_linker='Win32 ld.exe'
10618 # FIXME: first we should search . and the directory the executable is in
10622 darwin* | rhapsody*)
10623 dynamic_linker="$host_os dyld"
10624 version_type=darwin
10627 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10628 soname_spec='${libname}${release}${major}$shared_ext'
10629 shlibpath_overrides_runpath=yes
10630 shlibpath_var=DYLD_LIBRARY_PATH
10631 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10633 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10634 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10638 version_type=linux # correct to gnu/linux during the next big refactor
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 shlibpath_var=LD_LIBRARY_PATH
10646 freebsd* | dragonfly*)
10647 # DragonFly does not have aout. When/if they implement a new
10648 # versioning mechanism, adjust this.
10649 if test -x /usr/bin/objformat; then
10650 objformat=`/usr/bin/objformat`
10653 freebsd[23].*) objformat=aout ;;
10654 *) objformat=elf ;;
10657 version_type=freebsd-$objformat
10658 case $version_type in
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10669 shlibpath_var=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath=yes
10674 freebsd3.[01]* | freebsdelf3.[01]*)
10675 shlibpath_overrides_runpath=yes
10676 hardcode_into_libs=yes
10678 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10679 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10680 shlibpath_overrides_runpath=no
10681 hardcode_into_libs=yes
10683 *) # from 4.6 on, and DragonFly
10684 shlibpath_overrides_runpath=yes
10685 hardcode_into_libs=yes
10691 version_type=linux # correct to gnu/linux during the next big refactor
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=no
10698 hardcode_into_libs=yes
10702 version_type=linux # correct to gnu/linux during the next big refactor
10705 dynamic_linker="$host_os runtime_loader"
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 shlibpath_var=LIBRARY_PATH
10709 shlibpath_overrides_runpath=yes
10710 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10711 hardcode_into_libs=yes
10714 hpux9* | hpux10* | hpux11*)
10715 # Give a soname corresponding to the major version so that dld.sl refuses to
10716 # link against other versions.
10723 hardcode_into_libs=yes
10724 dynamic_linker="$host_os dld.so"
10725 shlibpath_var=LD_LIBRARY_PATH
10726 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 if test "X$HPUX_IA64_MODE" = X32; then
10730 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10732 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10734 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 hardcode_into_libs=yes
10739 dynamic_linker="$host_os dld.sl"
10740 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10741 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10745 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10749 dynamic_linker="$host_os dld.sl"
10750 shlibpath_var=SHLIB_PATH
10751 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10756 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10757 postinstall_cmds='chmod 555 $lib'
10758 # or fails outright, so override atomically:
10759 install_override_mode=555
10763 version_type=linux # correct to gnu/linux during the next big refactor
10766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10767 soname_spec='${libname}${release}${shared_ext}$major'
10768 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10769 shlibpath_var=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath=no
10771 hardcode_into_libs=yes
10774 irix5* | irix6* | nonstopux*)
10776 nonstopux*) version_type=nonstopux ;;
10778 if test "$lt_cv_prog_gnu_ld" = yes; then
10779 version_type=linux # correct to gnu/linux during the next big refactor
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10789 irix5* | nonstopux*)
10790 libsuff= shlibsuff=
10793 case $LD in # libtool.m4 will add one of these switches to LD
10794 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10795 libsuff= shlibsuff= libmagic=32-bit;;
10796 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10797 libsuff=32 shlibsuff=N32 libmagic=N32;;
10798 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10799 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10800 *) libsuff= shlibsuff= libmagic=never-match;;
10804 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10805 shlibpath_overrides_runpath=no
10806 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10807 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10808 hardcode_into_libs=yes
10811 # No shared lib support for Linux oldld, aout, or coff.
10812 linux*oldld* | linux*aout* | linux*coff*)
10816 # This must be glibc/ELF.
10817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10818 version_type=linux # correct to gnu/linux during the next big refactor
10821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10822 soname_spec='${libname}${release}${shared_ext}$major'
10823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath=no
10827 # Some binutils ld are patched to set DT_RUNPATH
10828 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10829 $as_echo_n "(cached) " >&6
10831 lt_cv_shlibpath_overrides_runpath=no
10832 save_LDFLAGS=$LDFLAGS
10833 save_libdir=$libdir
10834 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10835 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10849 lt_cv_shlibpath_overrides_runpath=yes
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LDFLAGS=$save_LDFLAGS
10855 libdir=$save_libdir
10859 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10861 # This implies no fast_install, which is unacceptable.
10862 # Some rework will be needed to allow for fast_install
10863 # before this can be enabled.
10864 hardcode_into_libs=yes
10866 # Append ld.so.conf contents to the search path
10867 if test -f /etc/ld.so.conf; then
10868 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' ' '`
10869 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10872 # We used to test for /lib/ld.so.1 and disable shared libraries on
10873 # powerpc, because MkLinux only supported shared libraries with the
10874 # GNU dynamic linker. Since this was broken with cross compilers,
10875 # most powerpc-linux boxes support dynamic linking these days and
10876 # people can always --disable-shared, the test was removed, and we
10877 # assume the GNU/Linux dynamic linker is in use.
10878 dynamic_linker='GNU/Linux ld.so'
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=no
10889 hardcode_into_libs=yes
10890 dynamic_linker='NetBSD ld.elf_so'
10897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10900 dynamic_linker='NetBSD (a.out) ld.so'
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 dynamic_linker='NetBSD ld.elf_so'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath=yes
10908 hardcode_into_libs=yes
10912 version_type=linux # correct to gnu/linux during the next big refactor
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath=yes
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=no
10926 hardcode_into_libs=yes
10927 dynamic_linker='ldqnx.so'
10932 sys_lib_dlsearch_path_spec="/usr/lib"
10934 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10937 *) need_version=no ;;
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 openbsd2.[89] | openbsd2.[89].*)
10945 shlibpath_overrides_runpath=no
10948 shlibpath_overrides_runpath=yes
10952 shlibpath_overrides_runpath=yes
10957 libname_spec='$name'
10960 library_names_spec='$libname${shared_ext} $libname.a'
10961 dynamic_linker='OS/2 ld.exe'
10962 shlibpath_var=LIBPATH
10965 osf3* | osf4* | osf5*)
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10973 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10981 version_type=linux # correct to gnu/linux during the next big refactor
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 soname_spec='${libname}${release}${shared_ext}$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath=yes
10988 hardcode_into_libs=yes
10989 # ldd complains unless libraries are executable
10990 postinstall_cmds='chmod +x $lib'
10995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10996 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10997 shlibpath_var=LD_LIBRARY_PATH
10998 shlibpath_overrides_runpath=yes
10999 if test "$with_gnu_ld" = yes; then
11006 version_type=linux # correct to gnu/linux during the next big refactor
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 soname_spec='${libname}${release}${shared_ext}$major'
11009 shlibpath_var=LD_LIBRARY_PATH
11010 case $host_vendor in
11012 shlibpath_overrides_runpath=no
11014 runpath_var=LD_RUN_PATH
11022 shlibpath_overrides_runpath=no
11023 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11029 if test -d /usr/nec ;then
11030 version_type=linux # correct to gnu/linux during the next big refactor
11031 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11032 soname_spec='$libname${shared_ext}.$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11037 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11038 version_type=freebsd-elf
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11042 soname_spec='${libname}${release}${shared_ext}$major'
11043 shlibpath_var=LD_LIBRARY_PATH
11044 shlibpath_overrides_runpath=yes
11045 hardcode_into_libs=yes
11046 if test "$with_gnu_ld" = yes; then
11047 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11052 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11056 sys_lib_dlsearch_path_spec='/usr/lib'
11060 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11061 version_type=linux # correct to gnu/linux during the next big refactor
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 shlibpath_var=LD_LIBRARY_PATH
11066 shlibpath_overrides_runpath=no
11067 hardcode_into_libs=yes
11071 version_type=linux # correct to gnu/linux during the next big refactor
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 soname_spec='${libname}${release}${shared_ext}$major'
11074 shlibpath_var=LD_LIBRARY_PATH
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11082 $as_echo "$dynamic_linker" >&6; }
11083 test "$dynamic_linker" = no && can_build_shared=no
11085 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11086 if test "$GCC" = yes; then
11087 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11090 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11091 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11093 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11094 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11189 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 if test -n "$hardcode_libdir_flag_spec" ||
11192 test -n "$runpath_var" ||
11193 test "X$hardcode_automatic" = "Xyes" ; then
11195 # We can hardcode non-existent directories.
11196 if test "$hardcode_direct" != no &&
11197 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11198 # have to relink, otherwise we might link with an installed library
11199 # when we should be linking with a yet-to-be-installed one
11200 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11201 test "$hardcode_minus_L" != no; then
11202 # Linking always hardcodes the temporary library directory.
11203 hardcode_action=relink
11205 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11206 hardcode_action=immediate
11209 # We cannot hardcode anything, or else we can only hardcode existing
11211 hardcode_action=unsupported
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11214 $as_echo "$hardcode_action" >&6; }
11216 if test "$hardcode_action" = relink ||
11217 test "$inherit_rpath" = yes; then
11218 # Fast installation is not supported
11219 enable_fast_install=no
11220 elif test "$shlibpath_overrides_runpath" = yes ||
11221 test "$enable_shared" = no; then
11222 # Fast installation is not necessary
11223 enable_fast_install=needless
11231 if test "x$enable_dlopen" != xyes; then
11232 enable_dlopen=unknown
11233 enable_dlopen_self=unknown
11234 enable_dlopen_self_static=unknown
11241 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_self=yes
11246 mingw* | pw32* | cegcc*)
11247 lt_cv_dlopen="LoadLibrary"
11252 lt_cv_dlopen="dlopen"
11257 # if libdl is installed we need to link against it
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11259 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11260 if ${ac_cv_lib_dl_dlopen+:} false; then :
11261 $as_echo_n "(cached) " >&6
11263 ac_check_lib_save_LIBS=$LIBS
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_dl_dlopen=yes
11286 ac_cv_lib_dl_dlopen=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11293 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11294 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11295 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11298 lt_cv_dlopen="dyld"
11300 lt_cv_dlopen_self=yes
11307 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11308 if test "x$ac_cv_func_shl_load" = xyes; then :
11309 lt_cv_dlopen="shl_load"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11312 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11313 if ${ac_cv_lib_dld_shl_load+:} false; then :
11314 $as_echo_n "(cached) " >&6
11316 ac_check_lib_save_LIBS=$LIBS
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11331 return shl_load ();
11336 if ac_fn_c_try_link "$LINENO"; then :
11337 ac_cv_lib_dld_shl_load=yes
11339 ac_cv_lib_dld_shl_load=no
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_lib_save_LIBS
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11346 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11347 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11348 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11350 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11351 if test "x$ac_cv_func_dlopen" = xyes; then :
11352 lt_cv_dlopen="dlopen"
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11355 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11356 if ${ac_cv_lib_dl_dlopen+:} false; then :
11357 $as_echo_n "(cached) " >&6
11359 ac_check_lib_save_LIBS=$LIBS
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 ac_cv_lib_dl_dlopen=yes
11382 ac_cv_lib_dl_dlopen=no
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_lib_save_LIBS
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11389 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11390 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11391 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11394 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11395 if ${ac_cv_lib_svld_dlopen+:} false; then :
11396 $as_echo_n "(cached) " >&6
11398 ac_check_lib_save_LIBS=$LIBS
11399 LIBS="-lsvld $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 ac_cv_lib_svld_dlopen=yes
11421 ac_cv_lib_svld_dlopen=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11428 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11429 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11430 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11433 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11434 if ${ac_cv_lib_dld_dld_link+:} false; then :
11435 $as_echo_n "(cached) " >&6
11437 ac_check_lib_save_LIBS=$LIBS
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11442 /* Override any GCC internal prototype to avoid an error.
11443 Use char because int might match the return type of a GCC
11444 builtin and then its argument prototype would still apply. */
11452 return dld_link ();
11457 if ac_fn_c_try_link "$LINENO"; then :
11458 ac_cv_lib_dld_dld_link=yes
11460 ac_cv_lib_dld_dld_link=no
11462 rm -f core conftest.err conftest.$ac_objext \
11463 conftest$ac_exeext conftest.$ac_ext
11464 LIBS=$ac_check_lib_save_LIBS
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11467 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11468 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11469 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11490 if test "x$lt_cv_dlopen" != xno; then
11496 case $lt_cv_dlopen in
11498 save_CPPFLAGS="$CPPFLAGS"
11499 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11501 save_LDFLAGS="$LDFLAGS"
11502 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11505 LIBS="$lt_cv_dlopen_libs $LIBS"
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11508 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11509 if ${lt_cv_dlopen_self+:} false; then :
11510 $as_echo_n "(cached) " >&6
11512 if test "$cross_compiling" = yes; then :
11513 lt_cv_dlopen_self=cross
11515 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11516 lt_status=$lt_dlunknown
11517 cat > conftest.$ac_ext <<_LT_EOF
11518 #line $LINENO "configure"
11519 #include "confdefs.h"
11528 # define LT_DLGLOBAL RTLD_GLOBAL
11531 # define LT_DLGLOBAL DL_GLOBAL
11533 # define LT_DLGLOBAL 0
11537 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11538 find out it does not work in some platform. */
11539 #ifndef LT_DLLAZY_OR_NOW
11541 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11544 # define LT_DLLAZY_OR_NOW DL_LAZY
11547 # define LT_DLLAZY_OR_NOW RTLD_NOW
11550 # define LT_DLLAZY_OR_NOW DL_NOW
11552 # define LT_DLLAZY_OR_NOW 0
11559 /* When -fvisbility=hidden is used, assume the code has been annotated
11560 correspondingly for the symbols needed. */
11561 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11562 int fnord () __attribute__((visibility("default")));
11565 int fnord () { return 42; }
11568 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11569 int status = $lt_dlunknown;
11573 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11576 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11577 else puts (dlerror ());
11579 /* dlclose (self); */
11587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11588 (eval $ac_link) 2>&5
11590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11591 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11592 (./conftest; exit; ) >&5 2>/dev/null
11594 case x$lt_status in
11595 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11596 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11597 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11600 # compilation failed
11601 lt_cv_dlopen_self=no
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11609 $as_echo "$lt_cv_dlopen_self" >&6; }
11611 if test "x$lt_cv_dlopen_self" = xyes; then
11612 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11614 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11615 if ${lt_cv_dlopen_self_static+:} false; then :
11616 $as_echo_n "(cached) " >&6
11618 if test "$cross_compiling" = yes; then :
11619 lt_cv_dlopen_self_static=cross
11621 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11622 lt_status=$lt_dlunknown
11623 cat > conftest.$ac_ext <<_LT_EOF
11624 #line $LINENO "configure"
11625 #include "confdefs.h"
11634 # define LT_DLGLOBAL RTLD_GLOBAL
11637 # define LT_DLGLOBAL DL_GLOBAL
11639 # define LT_DLGLOBAL 0
11643 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11644 find out it does not work in some platform. */
11645 #ifndef LT_DLLAZY_OR_NOW
11647 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11650 # define LT_DLLAZY_OR_NOW DL_LAZY
11653 # define LT_DLLAZY_OR_NOW RTLD_NOW
11656 # define LT_DLLAZY_OR_NOW DL_NOW
11658 # define LT_DLLAZY_OR_NOW 0
11665 /* When -fvisbility=hidden is used, assume the code has been annotated
11666 correspondingly for the symbols needed. */
11667 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11668 int fnord () __attribute__((visibility("default")));
11671 int fnord () { return 42; }
11674 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11675 int status = $lt_dlunknown;
11679 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11682 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11683 else puts (dlerror ());
11685 /* dlclose (self); */
11693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11694 (eval $ac_link) 2>&5
11696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11697 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11698 (./conftest; exit; ) >&5 2>/dev/null
11700 case x$lt_status in
11701 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11702 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11703 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11706 # compilation failed
11707 lt_cv_dlopen_self_static=no
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11715 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11718 CPPFLAGS="$save_CPPFLAGS"
11719 LDFLAGS="$save_LDFLAGS"
11724 case $lt_cv_dlopen_self in
11725 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11726 *) enable_dlopen_self=unknown ;;
11729 case $lt_cv_dlopen_self_static in
11730 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11731 *) enable_dlopen_self_static=unknown ;;
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11754 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11755 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11756 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11757 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11759 $as_echo "yes" >&6; }
11761 # FIXME - insert some real tests, host_os isn't really good enough
11764 if test -n "$STRIP" ; then
11765 striplib="$STRIP -x"
11766 old_striplib="$STRIP -S"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11768 $as_echo "yes" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11771 $as_echo "no" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11792 # Report which library types will actually be built
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11794 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11796 $as_echo "$can_build_shared" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11799 $as_echo_n "checking whether to build shared libraries... " >&6; }
11800 test "$can_build_shared" = "no" && enable_shared=no
11802 # On AIX, shared libraries and static libraries use the same namespace, and
11803 # are all built from PIC.
11806 test "$enable_shared" = yes && enable_static=no
11807 if test -n "$RANLIB"; then
11808 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11809 postinstall_cmds='$RANLIB $lib'
11814 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11815 test "$enable_shared" = yes && enable_static=no
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11820 $as_echo "$enable_shared" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11823 $as_echo_n "checking whether to build static libraries... " >&6; }
11824 # Make sure either enable_shared or enable_static is yes.
11825 test "$enable_shared" = yes || enable_static=yes
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11827 $as_echo "$enable_static" >&6; }
11834 ac_cpp='$CPP $CPPFLAGS'
11835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855 ac_config_commands="$ac_config_commands libtool"
11860 # Only expand once:
11871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11872 if test -n "$ac_tool_prefix"; then
11873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11876 $as_echo_n "checking for $ac_word... " >&6; }
11877 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11878 $as_echo_n "(cached) " >&6
11880 case $PKG_CONFIG in
11882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11886 for as_dir in $PATH
11889 test -z "$as_dir" && as_dir=.
11890 for ac_exec_ext in '' $ac_executable_extensions; do
11891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11904 if test -n "$PKG_CONFIG"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11906 $as_echo "$PKG_CONFIG" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11909 $as_echo "no" >&6; }
11914 if test -z "$ac_cv_path_PKG_CONFIG"; then
11915 ac_pt_PKG_CONFIG=$PKG_CONFIG
11916 # Extract the first word of "pkg-config", so it can be a program name with args.
11917 set dummy pkg-config; ac_word=$2
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11919 $as_echo_n "checking for $ac_word... " >&6; }
11920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11921 $as_echo_n "(cached) " >&6
11923 case $ac_pt_PKG_CONFIG in
11925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11929 for as_dir in $PATH
11932 test -z "$as_dir" && as_dir=.
11933 for ac_exec_ext in '' $ac_executable_extensions; do
11934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11947 if test -n "$ac_pt_PKG_CONFIG"; then
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11955 if test "x$ac_pt_PKG_CONFIG" = x; then
11958 case $cross_compiling:$ac_tool_warned in
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11962 ac_tool_warned=yes ;;
11964 PKG_CONFIG=$ac_pt_PKG_CONFIG
11967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11971 if test -n "$PKG_CONFIG"; then
11972 _pkg_min_version=0.9.0
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11977 $as_echo "yes" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11980 $as_echo "no" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
11987 $as_echo_n "checking for LIBXML... " >&6; }
11989 if test -n "$LIBXML_CFLAGS"; then
11990 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
11991 elif test -n "$PKG_CONFIG"; then
11992 if test -n "$PKG_CONFIG" && \
11993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11994 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997 test $ac_status = 0; }; then
11998 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5.0" 2>/dev/null`
11999 test "x$?" != "x0" && pkg_failed=yes
12006 if test -n "$LIBXML_LIBS"; then
12007 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
12008 elif test -n "$PKG_CONFIG"; then
12009 if test -n "$PKG_CONFIG" && \
12010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
12011 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
12013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12014 test $ac_status = 0; }; then
12015 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5.0" 2>/dev/null`
12016 test "x$?" != "x0" && pkg_failed=yes
12026 if test $pkg_failed = yes; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12031 _pkg_short_errors_supported=yes
12033 _pkg_short_errors_supported=no
12035 if test $_pkg_short_errors_supported = yes; then
12036 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
12038 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
12040 # Put the nasty error message in config.log where it belongs
12041 echo "$LIBXML_PKG_ERRORS" >&5
12043 as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met:
12047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12048 installed software in a non-standard prefix.
12050 Alternatively, you may set the environment variables LIBXML_CFLAGS
12051 and LIBXML_LIBS to avoid the need to call pkg-config.
12052 See the pkg-config man page for more details." "$LINENO" 5
12053 elif test $pkg_failed = untried; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12058 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12059 is in your PATH or set the PKG_CONFIG environment variable to the full
12060 path to pkg-config.
12062 Alternatively, you may set the environment variables LIBXML_CFLAGS
12063 and LIBXML_LIBS to avoid the need to call pkg-config.
12064 See the pkg-config man page for more details.
12066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12067 See \`config.log' for more details" "$LINENO" 5; }
12069 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
12070 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12072 $as_echo "yes" >&6; }
12076 if test "x$CC" != xcc; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12078 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12081 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12083 set dummy $CC; ac_cc=`$as_echo "$2" |
12084 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12085 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12086 $as_echo_n "(cached) " >&6
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12099 # Make sure it works both with $CC and with simple cc.
12100 # We do the test twice because some compilers refuse to overwrite an
12101 # existing .o file with -o, though they will create one.
12102 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12104 if { { case "(($ac_try" in
12105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12106 *) ac_try_echo=$ac_try;;
12108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12109 $as_echo "$ac_try_echo"; } >&5
12110 (eval "$ac_try") 2>&5
12112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12113 test $ac_status = 0; } &&
12114 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12116 *) ac_try_echo=$ac_try;;
12118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12119 $as_echo "$ac_try_echo"; } >&5
12120 (eval "$ac_try") 2>&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12123 test $ac_status = 0; };
12125 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12126 if test "x$CC" != xcc; then
12127 # Test first that cc exists at all.
12128 if { ac_try='cc -c conftest.$ac_ext >&5'
12129 { { case "(($ac_try" in
12130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12131 *) ac_try_echo=$ac_try;;
12133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12134 $as_echo "$ac_try_echo"; } >&5
12135 (eval "$ac_try") 2>&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138 test $ac_status = 0; }; }; then
12139 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12141 if { { case "(($ac_try" in
12142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12143 *) ac_try_echo=$ac_try;;
12145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12146 $as_echo "$ac_try_echo"; } >&5
12147 (eval "$ac_try") 2>&5
12149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12150 test $ac_status = 0; } &&
12151 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12153 *) ac_try_echo=$ac_try;;
12155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12156 $as_echo "$ac_try_echo"; } >&5
12157 (eval "$ac_try") 2>&5
12159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12160 test $ac_status = 0; };
12165 # cc exists but doesn't like -o.
12166 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12171 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12173 rm -f core conftest*
12176 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12178 $as_echo "yes" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181 $as_echo "no" >&6; }
12183 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12187 # FIXME: we rely on the cache variable name because
12188 # there is no other way.
12190 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12191 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12192 if test "$am_t" != yes; then
12193 # Losing compiler, so override with the script.
12194 # FIXME: It is wrong to rewrite CC.
12195 # But if we don't then we get into trouble of one sort or another.
12196 # A longer-term fix would be to have automake use am__CC in this case,
12197 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12198 CC="$am_aux_dir/compile $CC"
12204 # Check whether --with-default-metadata-backend was given.
12205 if test "${with_default_metadata_backend+set}" = set; then :
12206 withval=$with_default_metadata_backend;
12210 if test "x$with_default_metadata_backend" = 'x'
12212 with_default_metadata_backend='gstreamer'
12215 if test "x$with_default_metadata_backend" = 'xyes' || test "x$with_default_metadata_backend" = 'xno'
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dubious default metadata backend name: $with_default_metadata_backend" >&5
12218 $as_echo "$as_me: WARNING: Dubious default metadata backend name: $with_default_metadata_backend" >&2;}
12221 GUPNP_DLNA_METADATA_BACKEND_CFLAGS="$GUPNP_DLNA_METADATA_BACKEND_CFLAGS -DGUPNP_DLNA_DEFAULT_METADATA_BACKEND=\\\"$with_default_metadata_backend\\\""
12223 # Check whether --enable-gstreamer-metadata-backend was given.
12224 if test "${enable_gstreamer_metadata_backend+set}" = set; then :
12225 enableval=$enable_gstreamer_metadata_backend;
12227 enable_gstreamer_metadata_backend=auto
12231 if test "x$enable_gstreamer_metadata_backend" != 'xno'
12233 gstreamer_found='yes'
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
12241 $as_echo_n "checking for GST... " >&6; }
12243 if test -n "$GST_CFLAGS"; then
12244 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
12245 elif test -n "$PKG_CONFIG"; then
12246 if test -n "$PKG_CONFIG" && \
12247 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
12248 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12251 test $ac_status = 0; }; then
12252 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
12253 test "x$?" != "x0" && pkg_failed=yes
12260 if test -n "$GST_LIBS"; then
12261 pkg_cv_GST_LIBS="$GST_LIBS"
12262 elif test -n "$PKG_CONFIG"; then
12263 if test -n "$PKG_CONFIG" && \
12264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
12265 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
12267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12268 test $ac_status = 0; }; then
12269 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
12270 test "x$?" != "x0" && pkg_failed=yes
12280 if test $pkg_failed = yes; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12285 _pkg_short_errors_supported=yes
12287 _pkg_short_errors_supported=no
12289 if test $_pkg_short_errors_supported = yes; then
12290 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
12292 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
12294 # Put the nasty error message in config.log where it belongs
12295 echo "$GST_PKG_ERRORS" >&5
12297 gstreamer_found='no'
12298 elif test $pkg_failed = untried; then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12301 gstreamer_found='no'
12303 GST_CFLAGS=$pkg_cv_GST_CFLAGS
12304 GST_LIBS=$pkg_cv_GST_LIBS
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12306 $as_echo "yes" >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU" >&5
12312 $as_echo_n "checking for GST_PBU... " >&6; }
12314 if test -n "$GST_PBU_CFLAGS"; then
12315 pkg_cv_GST_PBU_CFLAGS="$GST_PBU_CFLAGS"
12316 elif test -n "$PKG_CONFIG"; then
12317 if test -n "$PKG_CONFIG" && \
12318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12319 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12322 test $ac_status = 0; }; then
12323 pkg_cv_GST_PBU_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12324 test "x$?" != "x0" && pkg_failed=yes
12331 if test -n "$GST_PBU_LIBS"; then
12332 pkg_cv_GST_PBU_LIBS="$GST_PBU_LIBS"
12333 elif test -n "$PKG_CONFIG"; then
12334 if test -n "$PKG_CONFIG" && \
12335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12336 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12339 test $ac_status = 0; }; then
12340 pkg_cv_GST_PBU_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12341 test "x$?" != "x0" && pkg_failed=yes
12351 if test $pkg_failed = yes; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; }
12355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12356 _pkg_short_errors_supported=yes
12358 _pkg_short_errors_supported=no
12360 if test $_pkg_short_errors_supported = yes; then
12361 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12363 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12365 # Put the nasty error message in config.log where it belongs
12366 echo "$GST_PBU_PKG_ERRORS" >&5
12368 gstreamer_found='no'
12369 elif test $pkg_failed = untried; then
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371 $as_echo "no" >&6; }
12372 gstreamer_found='no'
12374 GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
12375 GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12377 $as_echo "yes" >&6; }
12381 if test "x$gstreamer_found" = 'xyes'
12385 GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
12387 enable_gstreamer_metadata_backend='yes'
12388 elif test "x$enable_gstreamer_metadata_backend" = 'xyes'
12390 as_fn_error $? "GStreamer $GST_MAJORMINOR not found." "$LINENO" 5
12392 enable_gstreamer_metadata_backend='no'
12396 if test "x$enable_gstreamer_metadata_backend" = 'xyes'
12399 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE=
12400 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE='#'
12402 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE='#'
12403 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE=
12408 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE=
12409 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE='#'
12411 GSTREAMER_METADATA_BACKEND_ENABLED_TRUE='#'
12412 GSTREAMER_METADATA_BACKEND_ENABLED_FALSE=
12417 # Check whether --enable-legacy-gstreamer-metadata-backend was given.
12418 if test "${enable_legacy_gstreamer_metadata_backend+set}" = set; then :
12419 enableval=$enable_legacy_gstreamer_metadata_backend;
12421 enable_legacy_gstreamer_metadata_backend=no
12425 if test "x$enable_legacy_gstreamer_metadata_backend" != 'xno'
12427 gstreamer_found='yes'
12428 GST_LEGACY_MAJORMINOR=0.10
12429 GST_LEGACY_REQ=0.10.36
12430 GSTPBU_LEGACY_REQ=0.10.36
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_LEGACY" >&5
12435 $as_echo_n "checking for GST_LEGACY... " >&6; }
12437 if test -n "$GST_LEGACY_CFLAGS"; then
12438 pkg_cv_GST_LEGACY_CFLAGS="$GST_LEGACY_CFLAGS"
12439 elif test -n "$PKG_CONFIG"; then
12440 if test -n "$PKG_CONFIG" && \
12441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_LEGACY_MAJORMINOR >= \$GST_LEGACY_REQ\""; } >&5
12442 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ") 2>&5
12444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12445 test $ac_status = 0; }; then
12446 pkg_cv_GST_LEGACY_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>/dev/null`
12447 test "x$?" != "x0" && pkg_failed=yes
12454 if test -n "$GST_LEGACY_LIBS"; then
12455 pkg_cv_GST_LEGACY_LIBS="$GST_LEGACY_LIBS"
12456 elif test -n "$PKG_CONFIG"; then
12457 if test -n "$PKG_CONFIG" && \
12458 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_LEGACY_MAJORMINOR >= \$GST_LEGACY_REQ\""; } >&5
12459 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ") 2>&5
12461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12462 test $ac_status = 0; }; then
12463 pkg_cv_GST_LEGACY_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>/dev/null`
12464 test "x$?" != "x0" && pkg_failed=yes
12474 if test $pkg_failed = yes; then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12476 $as_echo "no" >&6; }
12478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12479 _pkg_short_errors_supported=yes
12481 _pkg_short_errors_supported=no
12483 if test $_pkg_short_errors_supported = yes; then
12484 GST_LEGACY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>&1`
12486 GST_LEGACY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ" 2>&1`
12488 # Put the nasty error message in config.log where it belongs
12489 echo "$GST_LEGACY_PKG_ERRORS" >&5
12491 gstreamer_found='no'
12492 elif test $pkg_failed = untried; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12495 gstreamer_found='no'
12497 GST_LEGACY_CFLAGS=$pkg_cv_GST_LEGACY_CFLAGS
12498 GST_LEGACY_LIBS=$pkg_cv_GST_LEGACY_LIBS
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12500 $as_echo "yes" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU_LEGACY" >&5
12506 $as_echo_n "checking for GST_PBU_LEGACY... " >&6; }
12508 if test -n "$GST_PBU_LEGACY_CFLAGS"; then
12509 pkg_cv_GST_PBU_LEGACY_CFLAGS="$GST_PBU_LEGACY_CFLAGS"
12510 elif test -n "$PKG_CONFIG"; then
12511 if test -n "$PKG_CONFIG" && \
12512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_LEGACY_MAJORMINOR >= \$GSTPBU_LEGACY_REQ\""; } >&5
12513 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ") 2>&5
12515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12516 test $ac_status = 0; }; then
12517 pkg_cv_GST_PBU_LEGACY_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>/dev/null`
12518 test "x$?" != "x0" && pkg_failed=yes
12525 if test -n "$GST_PBU_LEGACY_LIBS"; then
12526 pkg_cv_GST_PBU_LEGACY_LIBS="$GST_PBU_LEGACY_LIBS"
12527 elif test -n "$PKG_CONFIG"; then
12528 if test -n "$PKG_CONFIG" && \
12529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_LEGACY_MAJORMINOR >= \$GSTPBU_LEGACY_REQ\""; } >&5
12530 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ") 2>&5
12532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12533 test $ac_status = 0; }; then
12534 pkg_cv_GST_PBU_LEGACY_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>/dev/null`
12535 test "x$?" != "x0" && pkg_failed=yes
12545 if test $pkg_failed = yes; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12547 $as_echo "no" >&6; }
12549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12550 _pkg_short_errors_supported=yes
12552 _pkg_short_errors_supported=no
12554 if test $_pkg_short_errors_supported = yes; then
12555 GST_PBU_LEGACY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>&1`
12557 GST_PBU_LEGACY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ" 2>&1`
12559 # Put the nasty error message in config.log where it belongs
12560 echo "$GST_PBU_LEGACY_PKG_ERRORS" >&5
12562 gstreamer_found='no'
12563 elif test $pkg_failed = untried; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12565 $as_echo "no" >&6; }
12566 gstreamer_found='no'
12568 GST_PBU_LEGACY_CFLAGS=$pkg_cv_GST_PBU_LEGACY_CFLAGS
12569 GST_PBU_LEGACY_LIBS=$pkg_cv_GST_PBU_LEGACY_LIBS
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12571 $as_echo "yes" >&6; }
12575 if test "x$gstreamer_found" = 'xyes'
12578 enable_legacy_gstreamer_metadata_backend='yes'
12579 elif test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes'
12581 as_fn_error $? "GStreamer $GST_LEGACY_MAJORMINOR not found." "$LINENO" 5
12583 enable_legacy_gstreamer_metadata_backend='no'
12587 if test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes'
12590 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE=
12591 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE='#'
12593 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE='#'
12594 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE=
12599 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE=
12600 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE='#'
12602 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE='#'
12603 GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE=
12609 # Check whether --with-default-metadata-backend-dir was given.
12610 if test "${with_default_metadata_backend_dir+set}" = set; then :
12611 withval=$with_default_metadata_backend_dir;
12615 if test "x$with_default_metadata_backend_dir" = 'x'
12617 with_default_metadata_backend_dir="$libdir/$PACKAGE_NAME"
12620 if test "x$with_default_metadata_backend_dir" = 'xyes' || test "x$with_default_metadata_backend_dir" = 'xno'
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dubious default metadata backend directory: $with_default_metadata_backend_dir" >&5
12623 $as_echo "$as_me: WARNING: Dubious default metadata backend directory: $with_default_metadata_backend_dir" >&2;}
12626 METADATA_DIRECTORY=$with_default_metadata_backend_dir
12629 GUPNP_DLNA_METADATA_BACKEND_CFLAGS="$GUPNP_DLNA_METADATA_BACKEND_CFLAGS -DGUPNP_DLNA_DEFAULT_METADATA_BACKEND_DIR=\\\"$with_default_metadata_backend_dir\\\""
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12636 $as_echo_n "checking for GLIB... " >&6; }
12638 if test -n "$GLIB_CFLAGS"; then
12639 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12640 elif test -n "$PKG_CONFIG"; then
12641 if test -n "$PKG_CONFIG" && \
12642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32\""; } >&5
12643 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32") 2>&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646 test $ac_status = 0; }; then
12647 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32" 2>/dev/null`
12648 test "x$?" != "x0" && pkg_failed=yes
12655 if test -n "$GLIB_LIBS"; then
12656 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12657 elif test -n "$PKG_CONFIG"; then
12658 if test -n "$PKG_CONFIG" && \
12659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32\""; } >&5
12660 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32") 2>&5
12662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12663 test $ac_status = 0; }; then
12664 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32" 2>/dev/null`
12665 test "x$?" != "x0" && pkg_failed=yes
12675 if test $pkg_failed = yes; then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12680 _pkg_short_errors_supported=yes
12682 _pkg_short_errors_supported=no
12684 if test $_pkg_short_errors_supported = yes; then
12685 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32" 2>&1`
12687 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32" 2>&1`
12689 # Put the nasty error message in config.log where it belongs
12690 echo "$GLIB_PKG_ERRORS" >&5
12692 as_fn_error $? "Package requirements (glib-2.0 >= 2.32) were not met:
12696 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12697 installed software in a non-standard prefix.
12699 Alternatively, you may set the environment variables GLIB_CFLAGS
12700 and GLIB_LIBS to avoid the need to call pkg-config.
12701 See the pkg-config man page for more details." "$LINENO" 5
12702 elif test $pkg_failed = untried; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12707 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12708 is in your PATH or set the PKG_CONFIG environment variable to the full
12709 path to pkg-config.
12711 Alternatively, you may set the environment variables GLIB_CFLAGS
12712 and GLIB_LIBS to avoid the need to call pkg-config.
12713 See the pkg-config man page for more details.
12715 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12716 See \`config.log' for more details" "$LINENO" 5; }
12718 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12719 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12721 $as_echo "yes" >&6; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12727 $as_echo_n "checking for GOBJECT... " >&6; }
12729 if test -n "$GOBJECT_CFLAGS"; then
12730 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12731 elif test -n "$PKG_CONFIG"; then
12732 if test -n "$PKG_CONFIG" && \
12733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12734 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12737 test $ac_status = 0; }; then
12738 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12739 test "x$?" != "x0" && pkg_failed=yes
12746 if test -n "$GOBJECT_LIBS"; then
12747 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12748 elif test -n "$PKG_CONFIG"; then
12749 if test -n "$PKG_CONFIG" && \
12750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12751 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12754 test $ac_status = 0; }; then
12755 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12756 test "x$?" != "x0" && pkg_failed=yes
12766 if test $pkg_failed = yes; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12768 $as_echo "no" >&6; }
12770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12771 _pkg_short_errors_supported=yes
12773 _pkg_short_errors_supported=no
12775 if test $_pkg_short_errors_supported = yes; then
12776 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12778 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12780 # Put the nasty error message in config.log where it belongs
12781 echo "$GOBJECT_PKG_ERRORS" >&5
12783 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12785 $GOBJECT_PKG_ERRORS
12787 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12788 installed software in a non-standard prefix.
12790 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12791 and GOBJECT_LIBS to avoid the need to call pkg-config.
12792 See the pkg-config man page for more details." "$LINENO" 5
12793 elif test $pkg_failed = untried; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12798 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12799 is in your PATH or set the PKG_CONFIG environment variable to the full
12800 path to pkg-config.
12802 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12803 and GOBJECT_LIBS to avoid the need to call pkg-config.
12804 See the pkg-config man page for more details.
12806 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12807 See \`config.log' for more details" "$LINENO" 5; }
12809 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12810 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12812 $as_echo "yes" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12818 $as_echo_n "checking for GMODULE... " >&6; }
12820 if test -n "$GMODULE_CFLAGS"; then
12821 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12822 elif test -n "$PKG_CONFIG"; then
12823 if test -n "$PKG_CONFIG" && \
12824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12825 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12828 test $ac_status = 0; }; then
12829 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12830 test "x$?" != "x0" && pkg_failed=yes
12837 if test -n "$GMODULE_LIBS"; then
12838 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12839 elif test -n "$PKG_CONFIG"; then
12840 if test -n "$PKG_CONFIG" && \
12841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12842 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12845 test $ac_status = 0; }; then
12846 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12847 test "x$?" != "x0" && pkg_failed=yes
12857 if test $pkg_failed = yes; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12862 _pkg_short_errors_supported=yes
12864 _pkg_short_errors_supported=no
12866 if test $_pkg_short_errors_supported = yes; then
12867 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12869 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12871 # Put the nasty error message in config.log where it belongs
12872 echo "$GMODULE_PKG_ERRORS" >&5
12874 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12876 $GMODULE_PKG_ERRORS
12878 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12879 installed software in a non-standard prefix.
12881 Alternatively, you may set the environment variables GMODULE_CFLAGS
12882 and GMODULE_LIBS to avoid the need to call pkg-config.
12883 See the pkg-config man page for more details." "$LINENO" 5
12884 elif test $pkg_failed = untried; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12886 $as_echo "no" >&6; }
12887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12889 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12890 is in your PATH or set the PKG_CONFIG environment variable to the full
12891 path to pkg-config.
12893 Alternatively, you may set the environment variables GMODULE_CFLAGS
12894 and GMODULE_LIBS to avoid the need to call pkg-config.
12895 See the pkg-config man page for more details.
12897 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12898 See \`config.log' for more details" "$LINENO" 5; }
12900 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12901 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12903 $as_echo "yes" >&6; }
12914 # Check for g_clear_pointer
12915 have_g_clear_pointer='no'
12916 if test -n "$PKG_CONFIG" && \
12917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12918 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921 test $ac_status = 0; }; then
12922 have_g_clear_pointer='yes'
12924 if test "x$have_g_clear_pointer" = xno; then :
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_clear_pointer" >&5
12926 $as_echo_n "checking for g_clear_pointer... " >&6; }
12927 GUPNP_DLNA_TEMP_CFLAGS="$CFLAGS"
12928 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12929 GUPNP_DLNA_TEMP_LIBS="$LIBS"
12930 LIBS="$LIBS $GLIB_LIBS"
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12946 gchar *test = g_malloc (2);
12947 g_clear_pointer (&test, g_free);
12948 return (test == NULL)
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 have_g_clear_pointer='yes'
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS="$GUPNP_DLNA_TEMP_LIBS"
12960 CFLAGS="$GUPNP_DLNA_TEMP_CFLAGS"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_g_clear_pointer" >&5
12962 $as_echo "$have_g_clear_pointer" >&6; }
12965 if test "x$have_g_clear_pointer" = xno; then :
12967 $as_echo "#define g_clear_pointer(ptr, func) \\
12969 if (ptr != NULL && func != NULL) { \\
12970 gpointer g_clear_pointer_tmp_var = *ptr; \\
12972 func (g_clear_pointer_tmp_var); \\
12974 } G_STMT_END" >>confdefs.h
12979 # Check whether --enable-debug was given.
12980 if test "${enable_debug+set}" = set; then :
12981 enableval=$enable_debug;
12986 if test "x$enable_debug" = "xyes"; then
12987 CFLAGS="$CFLAGS -g -Wall"
12993 # Check whether --enable-introspection was given.
12994 if test "${enable_introspection+set}" = set; then :
12995 enableval=$enable_introspection;
12997 enable_introspection=auto
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13002 $as_echo_n "checking for gobject-introspection... " >&6; }
13004 case $enable_introspection in #(
13006 found_introspection="no (disabled, use --enable-introspection to enable)"
13009 if test -n "$PKG_CONFIG" && \
13010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13011 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13014 test $ac_status = 0; }; then
13017 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13019 if test -n "$PKG_CONFIG" && \
13020 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
13021 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
13023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13024 test $ac_status = 0; }; then
13025 found_introspection=yes
13027 as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp-dlna" "$LINENO" 5
13031 if test -n "$PKG_CONFIG" && \
13032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
13033 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036 test $ac_status = 0; }; then
13037 found_introspection=yes
13039 found_introspection=no
13043 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13047 $as_echo "$found_introspection" >&6; }
13049 INTROSPECTION_SCANNER=
13050 INTROSPECTION_COMPILER=
13051 INTROSPECTION_GENERATE=
13052 INTROSPECTION_GIRDIR=
13053 INTROSPECTION_TYPELIBDIR=
13054 if test "x$found_introspection" = "xyes"; then
13055 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13056 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13057 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13058 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13059 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13060 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13061 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13062 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13073 if test "x$found_introspection" = "xyes"; then
13074 HAVE_INTROSPECTION_TRUE=
13075 HAVE_INTROSPECTION_FALSE='#'
13077 HAVE_INTROSPECTION_TRUE='#'
13078 HAVE_INTROSPECTION_FALSE=
13085 if test "x$found_introspection" = "xyes"; then :
13087 # Extract the first word of "vapigen", so it can be a program name with args.
13088 set dummy vapigen; ac_word=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13090 $as_echo_n "checking for $ac_word... " >&6; }
13091 if ${ac_cv_path_VAPIGEN+:} false; then :
13092 $as_echo_n "(cached) " >&6
13096 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
13107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13117 VAPIGEN=$ac_cv_path_VAPIGEN
13118 if test -n "$VAPIGEN"; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
13120 $as_echo "$VAPIGEN" >&6; }
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123 $as_echo "no" >&6; }
13127 if test -z "$VAPIGEN"; then :
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
13129 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
13131 if test -n "0.18"; then :
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version 0.18" >&5
13133 $as_echo_n "checking $VAPIGEN is at least version 0.18... " >&6; }
13134 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
13136 as_arg_v2="$am__vapigen_version"
13137 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13141 $as_echo "yes" >&6; } ;; #(
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13144 $as_echo "yes" >&6; } ;; #(
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13147 $as_echo "no" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator 0.18 not found." >&5
13149 $as_echo "$as_me: WARNING: Vala API Generator 0.18 not found." >&2;} ;; #(
13159 if test "x$VAPIGEN" != "x"; then
13161 HAVE_VAPIGEN_FALSE='#'
13163 HAVE_VAPIGEN_TRUE='#'
13164 HAVE_VAPIGEN_FALSE=
13171 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13172 set dummy gtkdoc-check; ac_word=$2
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13174 $as_echo_n "checking for $ac_word... " >&6; }
13175 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13176 $as_echo_n "(cached) " >&6
13178 case $GTKDOC_CHECK in
13180 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13201 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13202 if test -n "$GTKDOC_CHECK"; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13204 $as_echo "$GTKDOC_CHECK" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13211 for ac_prog in gtkdoc-rebase
13213 # Extract the first word of "$ac_prog", so it can be a program name with args.
13214 set dummy $ac_prog; ac_word=$2
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13216 $as_echo_n "checking for $ac_word... " >&6; }
13217 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13218 $as_echo_n "(cached) " >&6
13220 case $GTKDOC_REBASE in
13222 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13226 for as_dir in $PATH
13229 test -z "$as_dir" && as_dir=.
13230 for ac_exec_ext in '' $ac_executable_extensions; do
13231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13232 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13243 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13244 if test -n "$GTKDOC_REBASE"; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13246 $as_echo "$GTKDOC_REBASE" >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13249 $as_echo "no" >&6; }
13253 test -n "$GTKDOC_REBASE" && break
13255 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13257 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13258 set dummy gtkdoc-mkpdf; ac_word=$2
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13260 $as_echo_n "checking for $ac_word... " >&6; }
13261 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13262 $as_echo_n "(cached) " >&6
13264 case $GTKDOC_MKPDF in
13266 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13270 for as_dir in $PATH
13273 test -z "$as_dir" && as_dir=.
13274 for ac_exec_ext in '' $ac_executable_extensions; do
13275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13276 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13287 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13288 if test -n "$GTKDOC_MKPDF"; then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13290 $as_echo "$GTKDOC_MKPDF" >&6; }
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13293 $as_echo "no" >&6; }
13299 # Check whether --with-html-dir was given.
13300 if test "${with_html_dir+set}" = set; then :
13301 withval=$with_html_dir;
13303 with_html_dir='${datadir}/gtk-doc/html'
13306 HTML_DIR="$with_html_dir"
13309 # Check whether --enable-gtk-doc was given.
13310 if test "${enable_gtk_doc+set}" = set; then :
13311 enableval=$enable_gtk_doc;
13317 if test x$enable_gtk_doc = xyes; then
13318 if test -n "$PKG_CONFIG" && \
13319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
13320 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13326 as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
13328 if test "x$PACKAGE_NAME" != "xglib"; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13332 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13334 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13335 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13336 elif test -n "$PKG_CONFIG"; then
13337 if test -n "$PKG_CONFIG" && \
13338 { { $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
13339 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13342 test $ac_status = 0; }; then
13343 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13344 test "x$?" != "x0" && pkg_failed=yes
13351 if test -n "$GTKDOC_DEPS_LIBS"; then
13352 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13353 elif test -n "$PKG_CONFIG"; then
13354 if test -n "$PKG_CONFIG" && \
13355 { { $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
13356 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13359 test $ac_status = 0; }; then
13360 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13361 test "x$?" != "x0" && pkg_failed=yes
13371 if test $pkg_failed = yes; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13376 _pkg_short_errors_supported=yes
13378 _pkg_short_errors_supported=no
13380 if test $_pkg_short_errors_supported = yes; then
13381 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`
13383 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13385 # Put the nasty error message in config.log where it belongs
13386 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13388 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13390 $GTKDOC_DEPS_PKG_ERRORS
13392 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13393 installed software in a non-standard prefix.
13395 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13396 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13397 See the pkg-config man page for more details." "$LINENO" 5
13398 elif test $pkg_failed = untried; then
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400 $as_echo "no" >&6; }
13401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13403 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13404 is in your PATH or set the PKG_CONFIG environment variable to the full
13405 path to pkg-config.
13407 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13408 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13409 See the pkg-config man page for more details.
13411 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13412 See \`config.log' for more details" "$LINENO" 5; }
13414 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13415 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13417 $as_echo "yes" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13424 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13426 $as_echo "$enable_gtk_doc" >&6; }
13428 # Check whether --enable-gtk-doc-html was given.
13429 if test "${enable_gtk_doc_html+set}" = set; then :
13430 enableval=$enable_gtk_doc_html;
13432 enable_gtk_doc_html=yes
13435 # Check whether --enable-gtk-doc-pdf was given.
13436 if test "${enable_gtk_doc_pdf+set}" = set; then :
13437 enableval=$enable_gtk_doc_pdf;
13439 enable_gtk_doc_pdf=no
13443 if test -z "$GTKDOC_MKPDF"; then
13444 enable_gtk_doc_pdf=no
13448 if test x$enable_gtk_doc = xyes; then
13449 ENABLE_GTK_DOC_TRUE=
13450 ENABLE_GTK_DOC_FALSE='#'
13452 ENABLE_GTK_DOC_TRUE='#'
13453 ENABLE_GTK_DOC_FALSE=
13456 if test x$enable_gtk_doc_html = xyes; then
13457 GTK_DOC_BUILD_HTML_TRUE=
13458 GTK_DOC_BUILD_HTML_FALSE='#'
13460 GTK_DOC_BUILD_HTML_TRUE='#'
13461 GTK_DOC_BUILD_HTML_FALSE=
13464 if test x$enable_gtk_doc_pdf = xyes; then
13465 GTK_DOC_BUILD_PDF_TRUE=
13466 GTK_DOC_BUILD_PDF_FALSE='#'
13468 GTK_DOC_BUILD_PDF_TRUE='#'
13469 GTK_DOC_BUILD_PDF_FALSE=
13472 if test -n "$LIBTOOL"; then
13473 GTK_DOC_USE_LIBTOOL_TRUE=
13474 GTK_DOC_USE_LIBTOOL_FALSE='#'
13476 GTK_DOC_USE_LIBTOOL_TRUE='#'
13477 GTK_DOC_USE_LIBTOOL_FALSE=
13480 if test -n "$GTKDOC_REBASE"; then
13481 GTK_DOC_USE_REBASE_TRUE=
13482 GTK_DOC_USE_REBASE_FALSE='#'
13484 GTK_DOC_USE_REBASE_TRUE='#'
13485 GTK_DOC_USE_REBASE_FALSE=
13490 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
13493 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"
13495 ac_config_files="$ac_config_files tests/test-discoverer.sh"
13497 cat >confcache <<\_ACEOF
13498 # This file is a shell script that caches the results of configure
13499 # tests run on this system so they can be shared between configure
13500 # scripts and configure runs, see configure's option --config-cache.
13501 # It is not useful on other systems. If it contains results you don't
13502 # want to keep, you may remove or edit it.
13504 # config.status only pays attention to the cache file if you give it
13505 # the --recheck option to rerun configure.
13507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13509 # following values.
13513 # The following way of writing the cache mishandles newlines in values,
13514 # but we know of no workaround that is simple, portable, and efficient.
13515 # So, we kill variables containing newlines.
13516 # Ultrix sh set writes to stderr and can't be redirected directly,
13517 # and sets the high bit in the cache file unless we assign to the vars.
13519 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13520 eval ac_val=\$$ac_var
13524 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13528 _ | IFS | as_nl) ;; #(
13529 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13530 *) { eval $ac_var=; unset $ac_var;} ;;
13536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13537 *${as_nl}ac_space=\ *)
13538 # `set' does not quote correctly, so add quotes: double-quote
13539 # substitution turns \\\\ into \\, and sed turns \\ into \.
13542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13545 # `set' quotes correctly as required by POSIX, so do not add quotes.
13546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13559 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13560 if test -w "$cache_file"; then
13561 if test "x$cache_file" != "x/dev/null"; then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13563 $as_echo "$as_me: updating cache $cache_file" >&6;}
13564 if test ! -f "$cache_file" || test -h "$cache_file"; then
13565 cat confcache >"$cache_file"
13567 case $cache_file in #(
13569 mv -f confcache "$cache_file"$$ &&
13570 mv -f "$cache_file"$$ "$cache_file" ;; #(
13572 mv -f confcache "$cache_file" ;;
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13583 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13584 # Let make expand exec_prefix.
13585 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13587 DEFS=-DHAVE_CONFIG_H
13592 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13593 # 1. Remove the extension, and $U if already installed.
13594 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13595 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13596 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13597 # will be set to the directory where LIBOBJS objects are built.
13598 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13599 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13601 LIBOBJS=$ac_libobjs
13603 LTLIBOBJS=$ac_ltlibobjs
13606 if test -n "$EXEEXT"; then
13608 am__EXEEXT_FALSE='#'
13610 am__EXEEXT_TRUE='#'
13614 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13615 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13618 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13619 as_fn_error $? "conditional \"AMDEP\" was never defined.
13620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13622 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13623 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13626 if test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_FALSE}"; then
13627 as_fn_error $? "conditional \"GSTREAMER_METADATA_BACKEND_ENABLED\" was never defined.
13628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13630 if test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_METADATA_BACKEND_ENABLED_FALSE}"; then
13631 as_fn_error $? "conditional \"GSTREAMER_METADATA_BACKEND_ENABLED\" was never defined.
13632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13634 if test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE}"; then
13635 as_fn_error $? "conditional \"GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED\" was never defined.
13636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13638 if test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_TRUE}" && test -z "${GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED_FALSE}"; then
13639 as_fn_error $? "conditional \"GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED\" was never defined.
13640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13642 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13643 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13646 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13647 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13650 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13651 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13654 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13655 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13658 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13659 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13662 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13663 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13666 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13667 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13671 : "${CONFIG_STATUS=./config.status}"
13673 ac_clean_files_save=$ac_clean_files
13674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13676 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13678 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13680 # Generated by $as_me.
13681 # Run this file to recreate the current configuration.
13682 # Compiler output produced by configure, useful for debugging
13683 # configure, is in config.log if it exists.
13686 ac_cs_recheck=false
13689 SHELL=\${CONFIG_SHELL-$SHELL}
13692 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13693 ## -------------------- ##
13694 ## M4sh Initialization. ##
13695 ## -------------------- ##
13697 # Be more Bourne compatible
13698 DUALCASE=1; export DUALCASE # for MKS sh
13699 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13702 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13703 # is contrary to our usage. Disable this feature.
13704 alias -g '${1+"$@"}'='"$@"'
13705 setopt NO_GLOB_SUBST
13707 case `(set -o) 2>/dev/null` in #(
13719 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13720 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13723 # Prefer a ksh shell builtin over an external printf program on Solaris,
13724 # but without wasting forks for bash or zsh.
13725 if test -z "$BASH_VERSION$ZSH_VERSION" \
13726 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13727 as_echo='print -r --'
13728 as_echo_n='print -rn --'
13729 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13730 as_echo='printf %s\n'
13731 as_echo_n='printf %s'
13733 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13734 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13735 as_echo_n='/usr/ucb/echo -n'
13737 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13738 as_echo_n_body='eval
13742 expr "X$arg" : "X\\(.*\\)$as_nl";
13743 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13745 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13747 export as_echo_n_body
13748 as_echo_n='sh -c $as_echo_n_body as_echo'
13750 export as_echo_body
13751 as_echo='sh -c $as_echo_body as_echo'
13754 # The user is always right.
13755 if test "${PATH_SEPARATOR+set}" != set; then
13757 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13758 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13765 # We need space, tab and new line, in precisely that order. Quoting is
13766 # there to prevent editors from complaining about space-tab.
13767 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13768 # splitting by setting IFS to empty value.)
13771 # Find who we are. Look in the path if we contain no directory separator.
13774 *[\\/]* ) as_myself=$0 ;;
13775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13779 test -z "$as_dir" && as_dir=.
13780 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13786 # We did not find ourselves, most probably we were run as `sh COMMAND'
13787 # in which case we are not to be found in the path.
13788 if test "x$as_myself" = x; then
13791 if test ! -f "$as_myself"; then
13792 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13796 # Unset variables that we do not need and which cause bugs (e.g. in
13797 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13798 # suppresses any "Segmentation fault" message there. '((' could
13799 # trigger a bug in pdksh 5.2.14.
13800 for as_var in BASH_ENV ENV MAIL MAILPATH
13801 do eval test x\${$as_var+set} = xset \
13802 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13818 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13819 # ----------------------------------------
13820 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13821 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13822 # script with STATUS, using 1 if that was 0.
13825 as_status=$1; test $as_status -eq 0 && as_status=1
13827 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13828 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13830 $as_echo "$as_me: error: $2" >&2
13831 as_fn_exit $as_status
13835 # as_fn_set_status STATUS
13836 # -----------------------
13837 # Set $? to STATUS, without forking.
13838 as_fn_set_status ()
13841 } # as_fn_set_status
13843 # as_fn_exit STATUS
13844 # -----------------
13845 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13849 as_fn_set_status $1
13855 # Portably unset VAR.
13858 { eval $1=; unset $1;}
13860 as_unset=as_fn_unset
13861 # as_fn_append VAR VALUE
13862 # ----------------------
13863 # Append the text in VALUE to the end of the definition contained in VAR. Take
13864 # advantage of any shell optimizations that allow amortized linear growth over
13865 # repeated appends, instead of the typical quadratic growth present in naive
13867 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13868 eval 'as_fn_append ()
13879 # as_fn_arith ARG...
13880 # ------------------
13881 # Perform arithmetic evaluation on the ARGs, and store the result in the
13882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13883 # must be portable across $(()) and expr.
13884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13885 eval 'as_fn_arith ()
13892 as_val=`expr "$@" || test $? -eq 1`
13897 if expr a : '\(a\)' >/dev/null 2>&1 &&
13898 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13904 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13905 as_basename=basename
13910 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13916 as_me=`$as_basename -- "$0" ||
13917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13918 X"$0" : 'X\(//\)$' \| \
13919 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13921 sed '/^.*\/\([^/][^/]*\)\/*$/{
13935 # Avoid depending upon Character Ranges.
13936 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13937 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13938 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13939 as_cr_digits='0123456789'
13940 as_cr_alnum=$as_cr_Letters$as_cr_digits
13942 ECHO_C= ECHO_N= ECHO_T=
13943 case `echo -n x` in #(((((
13945 case `echo 'xy\c'` in
13946 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13948 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13955 rm -f conf$$ conf$$.exe conf$$.file
13956 if test -d conf$$.dir; then
13957 rm -f conf$$.dir/conf$$.file
13960 mkdir conf$$.dir 2>/dev/null
13962 if (echo >conf$$.file) 2>/dev/null; then
13963 if ln -s conf$$.file conf$$ 2>/dev/null; then
13965 # ... but there are two gotchas:
13966 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13967 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13968 # In both cases, we have to default to `cp -pR'.
13969 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13971 elif ln conf$$.file conf$$ 2>/dev/null; then
13979 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13980 rmdir conf$$.dir 2>/dev/null
13985 # Create "$as_dir" as a directory, including parents if necessary.
13990 -*) as_dir=./$as_dir;;
13992 test -d "$as_dir" || eval $as_mkdir_p || {
13996 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13997 *) as_qdir=$as_dir;;
13999 as_dirs="'$as_qdir' $as_dirs"
14000 as_dir=`$as_dirname -- "$as_dir" ||
14001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14002 X"$as_dir" : 'X\(//\)[^/]' \| \
14003 X"$as_dir" : 'X\(//\)$' \| \
14004 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14005 $as_echo X"$as_dir" |
14006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14010 /^X\(\/\/\)[^/].*/{
14023 test -d "$as_dir" && break
14025 test -z "$as_dirs" || eval "mkdir $as_dirs"
14026 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14030 if mkdir -p . 2>/dev/null; then
14031 as_mkdir_p='mkdir -p "$as_dir"'
14033 test -d ./-p && rmdir ./-p
14038 # as_fn_executable_p FILE
14039 # -----------------------
14040 # Test if FILE is an executable regular file.
14041 as_fn_executable_p ()
14043 test -f "$1" && test -x "$1"
14044 } # as_fn_executable_p
14045 as_test_x='test -x'
14046 as_executable_p=as_fn_executable_p
14048 # Sed expression to map a string onto a valid CPP name.
14049 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14051 # Sed expression to map a string onto a valid variable name.
14052 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14056 ## ----------------------------------- ##
14057 ## Main body of $CONFIG_STATUS script. ##
14058 ## ----------------------------------- ##
14060 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14063 # Save the log message, to keep $0 and so on meaningful, and to
14064 # report actual input values of CONFIG_FILES etc. instead of their
14065 # values after options handling.
14067 This file was extended by gupnp-dlna $as_me 0.10.0, which was
14068 generated by GNU Autoconf 2.69. Invocation command line was
14070 CONFIG_FILES = $CONFIG_FILES
14071 CONFIG_HEADERS = $CONFIG_HEADERS
14072 CONFIG_LINKS = $CONFIG_LINKS
14073 CONFIG_COMMANDS = $CONFIG_COMMANDS
14076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14081 case $ac_config_files in *"
14082 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14085 case $ac_config_headers in *"
14086 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14091 # Files that config.status was made for.
14092 config_files="$ac_config_files"
14093 config_headers="$ac_config_headers"
14094 config_commands="$ac_config_commands"
14098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14100 \`$as_me' instantiates files and other configuration actions
14101 from templates according to the current configuration. Unless the files
14102 and actions are specified as TAGs, all are instantiated by default.
14104 Usage: $0 [OPTION]... [TAG]...
14106 -h, --help print this help, then exit
14107 -V, --version print version number and configuration settings, then exit
14108 --config print configuration, then exit
14109 -q, --quiet, --silent
14110 do not print progress messages
14111 -d, --debug don't remove temporary files
14112 --recheck update $as_me by reconfiguring in the same conditions
14113 --file=FILE[:TEMPLATE]
14114 instantiate the configuration file FILE
14115 --header=FILE[:TEMPLATE]
14116 instantiate the configuration header FILE
14118 Configuration files:
14121 Configuration headers:
14124 Configuration commands:
14127 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
14128 gupnp-dlna home page: <http://www.gupnp.org/>."
14131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14134 gupnp-dlna config.status 0.10.0
14135 configured by $0, generated by GNU Autoconf 2.69,
14136 with options \\"\$ac_cs_config\\"
14138 Copyright (C) 2012 Free Software Foundation, Inc.
14139 This config.status script is free software; the Free Software Foundation
14140 gives unlimited permission to copy, distribute and modify it."
14147 test -n "\$AWK" || AWK=awk
14150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14151 # The default lists apply if the user does not specify any file.
14157 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14158 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14174 # Handling of the options.
14175 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14177 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14178 $as_echo "$ac_cs_version"; exit ;;
14179 --config | --confi | --conf | --con | --co | --c )
14180 $as_echo "$ac_cs_config"; exit ;;
14181 --debug | --debu | --deb | --de | --d | -d )
14183 --file | --fil | --fi | --f )
14186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14187 '') as_fn_error $? "missing file argument" ;;
14189 as_fn_append CONFIG_FILES " '$ac_optarg'"
14190 ac_need_defaults=false;;
14191 --header | --heade | --head | --hea )
14194 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14196 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14197 ac_need_defaults=false;;
14199 # Conflict between --help and --header
14200 as_fn_error $? "ambiguous option: \`$1'
14201 Try \`$0 --help' for more information.";;
14202 --help | --hel | -h )
14203 $as_echo "$ac_cs_usage"; exit ;;
14204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14205 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14208 # This is an error.
14209 -*) as_fn_error $? "unrecognized option: \`$1'
14210 Try \`$0 --help' for more information." ;;
14212 *) as_fn_append ac_config_targets " $1"
14213 ac_need_defaults=false ;;
14219 ac_configure_extra_args=
14221 if $ac_cs_silent; then
14223 ac_configure_extra_args="$ac_configure_extra_args --silent"
14227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14228 if \$ac_cs_recheck; then
14229 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14231 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14232 CONFIG_SHELL='$SHELL'
14233 export CONFIG_SHELL
14238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14243 ## Running $as_me. ##
14249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14253 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14256 # The HP-UX ksh and POSIX shell print the target directory to stdout
14257 # if CDPATH is set.
14258 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14260 sed_quote_subst='$sed_quote_subst'
14261 double_quote_subst='$double_quote_subst'
14262 delay_variable_subst='$delay_variable_subst'
14263 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14264 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14265 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14266 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14267 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14268 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14269 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14270 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14271 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14272 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14273 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14274 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14275 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14276 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14277 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14278 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14279 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14280 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14281 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14282 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14283 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14284 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14285 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14286 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14287 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14288 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14289 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14290 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14291 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14292 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14293 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14294 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14295 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14296 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14297 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14298 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14299 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14300 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14301 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14302 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14303 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14304 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14305 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14306 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14307 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14308 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14309 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14310 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14311 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14312 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14313 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14314 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14315 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14316 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14317 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14318 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14319 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14320 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"`'
14321 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14322 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14323 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14324 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14325 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14326 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14327 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14328 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14329 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14330 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14331 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14332 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14333 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14334 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14335 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14336 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14337 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14338 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14339 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14340 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14341 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14342 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14343 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14344 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14345 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14346 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14347 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14348 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14349 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14350 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14351 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14352 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14353 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14354 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14355 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14356 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14357 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14358 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14359 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14360 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14361 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14362 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14363 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14364 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14365 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14366 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14367 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14368 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14369 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14370 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14371 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14372 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14373 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14374 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14375 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14376 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14377 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14378 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14379 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14380 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14381 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14382 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14383 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14384 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14385 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14386 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14387 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14388 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14389 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14390 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14391 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14392 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14393 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14396 LTCFLAGS='$LTCFLAGS'
14397 compiler='$compiler_DEFAULT'
14399 # A function that is used when there is no print builtin or printf.
14400 func_fallback_echo ()
14402 eval 'cat <<_LTECHO_EOF
14407 # Quote evaled strings.
14424 deplibs_check_method \
14428 sharedlib_from_linklib_cmd \
14431 archiver_list_spec \
14437 lt_cv_sys_global_symbol_pipe \
14438 lt_cv_sys_global_symbol_to_cdecl \
14439 lt_cv_sys_global_symbol_to_c_name_address \
14440 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14441 nm_file_list_spec \
14442 lt_prog_compiler_no_builtin_flag \
14443 lt_prog_compiler_pic \
14444 lt_prog_compiler_wl \
14445 lt_prog_compiler_static \
14446 lt_cv_prog_compiler_c_o \
14455 export_dynamic_flag_spec \
14456 whole_archive_flag_spec \
14457 compiler_needs_object \
14459 allow_undefined_flag \
14460 no_undefined_flag \
14461 hardcode_libdir_flag_spec \
14462 hardcode_libdir_separator \
14466 variables_saved_for_relink \
14468 library_names_spec \
14470 install_override_mode \
14474 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14475 *[\\\\\\\`\\"\\\$]*)
14476 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14479 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14484 # Double-quote double-evaled strings.
14485 for var in reload_cmds \
14486 old_postinstall_cmds \
14487 old_postuninstall_cmds \
14489 extract_expsyms_cmds \
14490 old_archive_from_new_cmds \
14491 old_archive_from_expsyms_cmds \
14493 archive_expsym_cmds \
14495 module_expsym_cmds \
14496 export_symbols_cmds \
14500 postuninstall_cmds \
14502 sys_lib_search_path_spec \
14503 sys_lib_dlsearch_path_spec; do
14504 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14505 *[\\\\\\\`\\"\\\$]*)
14506 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14509 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14514 ac_aux_dir='$ac_aux_dir'
14515 xsi_shell='$xsi_shell'
14516 lt_shell_append='$lt_shell_append'
14518 # See if we are running on zsh, and set the options which allow our
14519 # commands through without removal of \ escapes INIT.
14520 if test -n "\${ZSH_VERSION+set}" ; then
14521 setopt NO_GLOB_SUBST
14527 TIMESTAMP='$TIMESTAMP'
14536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14538 # Handling of arguments.
14539 for ac_config_target in $ac_config_targets
14541 case $ac_config_target in
14542 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14543 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14544 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14545 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14546 "libgupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-dlna/Makefile" ;;
14547 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14548 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14549 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14550 "gupnp-dlna-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-2.0.pc" ;;
14551 "gupnp-dlna-metadata-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-metadata-2.0.pc" ;;
14552 "gupnp-dlna-gst-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-gst-2.0.pc" ;;
14553 "gupnp-dlna-gst-legacy-2.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-gst-legacy-2.0.pc" ;;
14554 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14555 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14556 "doc/gupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna/Makefile" ;;
14557 "doc/gupnp-dlna-metadata/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna-metadata/Makefile" ;;
14558 "doc/gupnp-dlna-gst/Makefile") CONFIG_FILES="$CONFIG_FILES doc/gupnp-dlna-gst/Makefile" ;;
14559 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14560 "tests/test-discoverer.sh") CONFIG_FILES="$CONFIG_FILES tests/test-discoverer.sh" ;;
14562 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14567 # If the user did not use the arguments to specify the items to instantiate,
14568 # then the envvar interface is used. Set only those that are not.
14569 # We use the long form for the default assignment because of an extremely
14570 # bizarre bug on SunOS 4.1.3.
14571 if $ac_need_defaults; then
14572 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14573 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14574 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14577 # Have a temporary directory for convenience. Make it in the build tree
14578 # simply because there is no reason against having it here, and in addition,
14579 # creating and moving files from /tmp can sometimes cause problems.
14580 # Hook for its removal unless debugging.
14581 # Note that there is a small window in which the directory will not be cleaned:
14582 # after its creation but before its name has been assigned to `$tmp'.
14586 trap 'exit_status=$?
14587 : "${ac_tmp:=$tmp}"
14588 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14590 trap 'as_fn_exit 1' 1 2 13 15
14592 # Create a (secure) tmp directory for tmp files.
14595 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14599 tmp=./conf$$-$RANDOM
14600 (umask 077 && mkdir "$tmp")
14601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14604 # Set up the scripts for CONFIG_FILES section.
14605 # No need to generate them if there are no CONFIG_FILES.
14606 # This happens for instance with `./config.status config.h'.
14607 if test -n "$CONFIG_FILES"; then
14610 ac_cr=`echo X | tr X '\015'`
14611 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14612 # But we know of no other shell where ac_cr would be empty at this
14613 # point, so we can use a bashism as a fallback.
14614 if test "x$ac_cr" = x; then
14615 eval ac_cr=\$\'\\r\'
14617 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14618 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14621 ac_cs_awk_cr=$ac_cr
14624 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14629 echo "cat >conf$$subs.awk <<_ACEOF" &&
14630 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14632 } >conf$$subs.sh ||
14633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14634 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14636 for ac_last_try in false false false false false :; do
14637 . ./conf$$subs.sh ||
14638 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14640 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14641 if test $ac_delim_n = $ac_delim_num; then
14643 elif $ac_last_try; then
14644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14649 rm -f conf$$subs.sh
14651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14652 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14656 s/^/S["/; s/!.*/"]=/
14666 s/\(.\{148\}\)..*/\1/
14668 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14673 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14680 s/\(.\{148\}\)..*/\1/
14682 s/["\\]/\\&/g; s/^/"/; s/$/"/
14686 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14691 ' <conf$$subs.awk | sed '
14696 ' >>$CONFIG_STATUS || ac_write_fail=1
14697 rm -f conf$$subs.awk
14698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14700 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14701 for (key in S) S_is_set[key] = 1
14707 nfields = split(line, field, "@")
14709 len = length(field[1])
14710 for (i = 2; i < nfields; i++) {
14712 keylen = length(key)
14713 if (S_is_set[key]) {
14715 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14716 len += length(value) + length(field[++i])
14727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14728 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14729 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14732 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14733 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14736 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14737 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14738 # trailing colons and then remove the whole line if VPATH becomes empty
14739 # (actually we leave an empty line to preserve line numbers).
14740 if test "x$srcdir" = x.; then
14741 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14760 fi # test -n "$CONFIG_FILES"
14762 # Set up the scripts for CONFIG_HEADERS section.
14763 # No need to generate them if there are no CONFIG_HEADERS.
14764 # This happens for instance with `./config.status Makefile'.
14765 if test -n "$CONFIG_HEADERS"; then
14766 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14770 # Transform confdefs.h into an awk script `defines.awk', embedded as
14771 # here-document in config.status, that substitutes the proper values into
14772 # config.h.in to produce config.h.
14774 # Create a delimiter string that does not exist in confdefs.h, to ease
14775 # handling of long lines.
14777 for ac_last_try in false false :; do
14778 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14779 if test -z "$ac_tt"; then
14781 elif $ac_last_try; then
14782 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14784 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14788 # For the awk script, D is an array of macro values keyed by name,
14789 # likewise P contains macro parameters if any. Preserve backslash
14790 # newline sequences.
14792 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14794 s/.\{148\}/&'"$ac_delim"'/g
14797 s/^[ ]*#[ ]*define[ ][ ]*/ /
14804 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14806 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14810 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14811 D["\1"]=" \3\\\\\\n"\\/p
14813 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14818 s/.\{148\}/&'"$ac_delim"'/g
14823 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14826 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14828 ' <confdefs.h | sed '
14829 s/'"$ac_delim"'/"\\\
14830 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14833 for (key in D) D_is_set[key] = 1
14836 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14838 split(line, arg, " ")
14839 if (arg[1] == "#") {
14843 defundef = substr(arg[1], 2)
14846 split(mac1, mac2, "(") #)
14848 prefix = substr(line, 1, index(line, defundef) - 1)
14849 if (D_is_set[macro]) {
14850 # Preserve the white space surrounding the "#".
14851 print prefix "define", macro P[macro] D[macro]
14854 # Replace #undef with comments. This is necessary, for example,
14855 # in the case of _POSIX_SOURCE, which is predefined and required
14856 # on some systems where configure will not decide to define it.
14857 if (defundef == "undef") {
14858 print "/*", prefix defundef, macro, "*/"
14866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14867 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14868 fi # test -n "$CONFIG_HEADERS"
14871 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14876 :[FHLC]) ac_mode=$ac_tag; continue;;
14878 case $ac_mode$ac_tag in
14880 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14881 :[FH]-) ac_tag=-:-;;
14882 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14899 -) ac_f="$ac_tmp/stdin";;
14900 *) # Look for the file first in the build tree, then in the source tree
14901 # (if the path is not absolute). The absolute path cannot be DOS-style,
14902 # because $ac_f cannot contain `:'.
14906 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14908 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14910 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14911 as_fn_append ac_file_inputs " '$ac_f'"
14914 # Let's still pretend it is `configure' which instantiates (i.e., don't
14915 # use $as_me), people would be surprised to read:
14916 # /* config.h. Generated by config.status. */
14917 configure_input='Generated from '`
14918 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14920 if test x"$ac_file" != x-; then
14921 configure_input="$ac_file. $configure_input"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14923 $as_echo "$as_me: creating $ac_file" >&6;}
14925 # Neutralize special characters interpreted by sed in replacement strings.
14926 case $configure_input in #(
14927 *\&* | *\|* | *\\* )
14928 ac_sed_conf_input=`$as_echo "$configure_input" |
14929 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14930 *) ac_sed_conf_input=$configure_input;;
14934 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14935 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14940 ac_dir=`$as_dirname -- "$ac_file" ||
14941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14942 X"$ac_file" : 'X\(//\)[^/]' \| \
14943 X"$ac_file" : 'X\(//\)$' \| \
14944 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14945 $as_echo X"$ac_file" |
14946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14950 /^X\(\/\/\)[^/].*/{
14963 as_dir="$ac_dir"; as_fn_mkdir_p
14967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14969 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14970 # A ".." for each directory in $ac_dir_suffix.
14971 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14972 case $ac_top_builddir_sub in
14973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14977 ac_abs_top_builddir=$ac_pwd
14978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14979 # for backward compatibility:
14980 ac_top_builddir=$ac_top_build_prefix
14983 .) # We are building in place.
14985 ac_top_srcdir=$ac_top_builddir_sub
14986 ac_abs_top_srcdir=$ac_pwd ;;
14987 [\\/]* | ?:[\\/]* ) # Absolute name.
14988 ac_srcdir=$srcdir$ac_dir_suffix;
14989 ac_top_srcdir=$srcdir
14990 ac_abs_top_srcdir=$srcdir ;;
14991 *) # Relative name.
14992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14993 ac_top_srcdir=$ac_top_build_prefix$srcdir
14994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15006 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15007 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15009 ac_MKDIR_P=$MKDIR_P
15011 [\\/$]* | ?:[\\/]* ) ;;
15012 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15017 # If the template does not know about datarootdir, expand it.
15018 # FIXME: This hack should be removed a few years after 2.60.
15019 ac_datarootdir_hack=; ac_datarootdir_seen=
15030 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15031 *datarootdir*) ac_datarootdir_seen=yes;;
15032 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15034 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15037 ac_datarootdir_hack='
15038 s&@datadir@&$datadir&g
15039 s&@docdir@&$docdir&g
15040 s&@infodir@&$infodir&g
15041 s&@localedir@&$localedir&g
15042 s&@mandir@&$mandir&g
15043 s&\\\${datarootdir}&$datarootdir&g' ;;
15047 # Neutralize VPATH when `$srcdir' = `.'.
15048 # Shell code in configure.ac might set extrasub.
15049 # FIXME: do we really want to maintain this feature?
15050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15051 ac_sed_extra="$ac_vpsub
15054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15056 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15057 s|@configure_input@|$ac_sed_conf_input|;t t
15058 s&@top_builddir@&$ac_top_builddir_sub&;t t
15059 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15060 s&@srcdir@&$ac_srcdir&;t t
15061 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15062 s&@top_srcdir@&$ac_top_srcdir&;t t
15063 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15064 s&@builddir@&$ac_builddir&;t t
15065 s&@abs_builddir@&$ac_abs_builddir&;t t
15066 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15067 s&@INSTALL@&$ac_INSTALL&;t t
15068 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15069 $ac_datarootdir_hack
15071 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15072 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15074 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15075 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15076 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15077 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15079 which seems to be undefined. Please make sure it is defined" >&5
15080 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15081 which seems to be undefined. Please make sure it is defined" >&2;}
15083 rm -f "$ac_tmp/stdin"
15085 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15086 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15094 if test x"$ac_file" != x-; then
15096 $as_echo "/* $configure_input */" \
15097 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15098 } >"$ac_tmp/config.h" \
15099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15100 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15102 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15105 mv "$ac_tmp/config.h" "$ac_file" \
15106 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15109 $as_echo "/* $configure_input */" \
15110 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15111 || as_fn_error $? "could not create -" "$LINENO" 5
15113 # Compute "$ac_file"'s index in $config_headers.
15116 for _am_header in $config_headers :; do
15117 case $_am_header in
15118 $_am_arg | $_am_arg:* )
15121 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15124 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15125 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15126 X"$_am_arg" : 'X\(//\)[^/]' \| \
15127 X"$_am_arg" : 'X\(//\)$' \| \
15128 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15129 $as_echo X"$_am_arg" |
15130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15134 /^X\(\/\/\)[^/].*/{
15146 s/.*/./; q'`/stamp-h$_am_stamp_count
15149 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15150 $as_echo "$as_me: executing $ac_file commands" >&6;}
15155 case $ac_file$ac_mode in
15156 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15157 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15158 # are listed without --file. Let's play safe and only enable the eval
15159 # if we detect the quoting.
15160 case $CONFIG_FILES in
15161 *\'*) eval set x "$CONFIG_FILES" ;;
15162 *) set x $CONFIG_FILES ;;
15167 # Strip MF so we end up with the name of the file.
15168 mf=`echo "$mf" | sed -e 's/:.*$//'`
15169 # Check whether this is an Automake generated Makefile or not.
15170 # We used to match only the files named `Makefile.in', but
15171 # some people rename them; so instead we look at the file content.
15172 # Grep'ing the first line is not enough: some people post-process
15173 # each Makefile.in and add a new line on top of each file to say so.
15174 # Grep'ing the whole file is not good either: AIX grep has a line
15175 # limit of 2048, but all sed's we know have understand at least 4000.
15176 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15177 dirpart=`$as_dirname -- "$mf" ||
15178 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15179 X"$mf" : 'X\(//\)[^/]' \| \
15180 X"$mf" : 'X\(//\)$' \| \
15181 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15187 /^X\(\/\/\)[^/].*/{
15203 # Extract the definition of DEPDIR, am__include, and am__quote
15204 # from the Makefile without running `make'.
15205 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15206 test -z "$DEPDIR" && continue
15207 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15208 test -z "am__include" && continue
15209 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15210 # When using ansi2knr, U may be empty or an underscore; expand it
15211 U=`sed -n 's/^U = //p' < "$mf"`
15212 # Find all dependency output files, they are included files with
15213 # $(DEPDIR) in their names. We invoke sed twice because it is the
15214 # simplest approach to changing $(DEPDIR) to its actual value in the
15216 for file in `sed -n "
15217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15219 # Make sure the directory exists.
15220 test -f "$dirpart/$file" && continue
15221 fdir=`$as_dirname -- "$file" ||
15222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15223 X"$file" : 'X\(//\)[^/]' \| \
15224 X"$file" : 'X\(//\)$' \| \
15225 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15226 $as_echo X"$file" |
15227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15231 /^X\(\/\/\)[^/].*/{
15244 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15245 # echo "creating $dirpart/$file"
15246 echo '# dummy' > "$dirpart/$file"
15253 # See if we are running on zsh, and set the options which allow our
15254 # commands through without removal of \ escapes.
15255 if test -n "${ZSH_VERSION+set}" ; then
15256 setopt NO_GLOB_SUBST
15259 cfgfile="${ofile}T"
15260 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15263 cat <<_LT_EOF >> "$cfgfile"
15266 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15267 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15268 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15269 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15271 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15272 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15274 # Written by Gordon Matzigkeit, 1996
15276 # This file is part of GNU Libtool.
15278 # GNU Libtool is free software; you can redistribute it and/or
15279 # modify it under the terms of the GNU General Public License as
15280 # published by the Free Software Foundation; either version 2 of
15281 # the License, or (at your option) any later version.
15283 # As a special exception to the GNU General Public License,
15284 # if you distribute this file as part of a program or library that
15285 # is built using GNU Libtool, you may include this file under the
15286 # same distribution terms that you use for the rest of that program.
15288 # GNU Libtool is distributed in the hope that it will be useful,
15289 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15290 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15291 # GNU General Public License for more details.
15293 # You should have received a copy of the GNU General Public License
15294 # along with GNU Libtool; see the file COPYING. If not, a copy
15295 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15296 # obtained by writing to the Free Software Foundation, Inc.,
15297 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15300 # The names of the tagged configurations supported by this script.
15303 # ### BEGIN LIBTOOL CONFIG
15305 # Which release of libtool.m4 was used?
15306 macro_version=$macro_version
15307 macro_revision=$macro_revision
15309 # Assembler program.
15312 # DLL creation program.
15313 DLLTOOL=$lt_DLLTOOL
15315 # Object dumper program.
15316 OBJDUMP=$lt_OBJDUMP
15318 # Whether or not to build shared libraries.
15319 build_libtool_libs=$enable_shared
15321 # Whether or not to build static libraries.
15322 build_old_libs=$enable_static
15324 # What type of objects to build.
15327 # Whether or not to optimize for fast installation.
15328 fast_install=$enable_fast_install
15330 # Shell to use when invoking shell scripts.
15333 # An echo program that protects backslashes.
15336 # The PATH separator for the build system.
15337 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15340 host_alias=$host_alias
15344 # The build system.
15345 build_alias=$build_alias
15349 # A sed program that does not truncate output.
15352 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15353 Xsed="\$SED -e 1s/^X//"
15355 # A grep program that handles long lines.
15361 # A literal string matcher.
15364 # A BSD- or MS-compatible name lister.
15367 # Whether we need soft or hard links.
15370 # What is the maximum length of a command?
15371 max_cmd_len=$max_cmd_len
15373 # Object file suffix (normally "o").
15376 # Executable file suffix (normally "").
15379 # whether the shell understands "unset".
15382 # turn spaces into newlines.
15385 # turn newlines into spaces.
15388 # convert \$build file names to \$host format.
15389 to_host_file_cmd=$lt_cv_to_host_file_cmd
15391 # convert \$build files to toolchain format.
15392 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15394 # Method to check whether dependent libraries are shared objects.
15395 deplibs_check_method=$lt_deplibs_check_method
15397 # Command to use when deplibs_check_method = "file_magic".
15398 file_magic_cmd=$lt_file_magic_cmd
15400 # How to find potential files when deplibs_check_method = "file_magic".
15401 file_magic_glob=$lt_file_magic_glob
15403 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15404 want_nocaseglob=$lt_want_nocaseglob
15406 # Command to associate shared and link libraries.
15407 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15412 # Flags to create an archive.
15413 AR_FLAGS=$lt_AR_FLAGS
15415 # How to feed a file listing to the archiver.
15416 archiver_list_spec=$lt_archiver_list_spec
15418 # A symbol stripping program.
15421 # Commands used to install an old-style archive.
15423 old_postinstall_cmds=$lt_old_postinstall_cmds
15424 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15426 # Whether to use a lock for old archive extraction.
15427 lock_old_archive_extraction=$lock_old_archive_extraction
15432 # LTCC compiler flags.
15433 LTCFLAGS=$lt_CFLAGS
15435 # Take the output of nm and produce a listing of raw symbols and C names.
15436 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15438 # Transform the output of nm in a proper C declaration.
15439 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15441 # Transform the output of nm in a C name address pair.
15442 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15444 # Transform the output of nm in a C name address pair when lib prefix is needed.
15445 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15447 # Specify filename containing input files for \$NM.
15448 nm_file_list_spec=$lt_nm_file_list_spec
15450 # The root where to search for dependent libraries,and in which our libraries should be installed.
15451 lt_sysroot=$lt_sysroot
15453 # The name of the directory that contains temporary libtool files.
15456 # Used to examine libraries when file_magic_cmd begins with "file".
15457 MAGIC_CMD=$MAGIC_CMD
15459 # Must we lock files when doing compilation?
15460 need_locks=$lt_need_locks
15463 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15465 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15466 DSYMUTIL=$lt_DSYMUTIL
15468 # Tool to change global to local symbols on Mac OS X.
15471 # Tool to manipulate fat objects and archives on Mac OS X.
15474 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15477 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15478 OTOOL64=$lt_OTOOL64
15480 # Old archive suffix (normally "a").
15483 # Shared library suffix (normally ".so").
15484 shrext_cmds=$lt_shrext_cmds
15486 # The commands to extract the exported symbol list from a shared archive.
15487 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15489 # Variables whose values should be saved in libtool wrapper scripts and
15490 # restored at link time.
15491 variables_saved_for_relink=$lt_variables_saved_for_relink
15493 # Do we need the "lib" prefix for modules?
15494 need_lib_prefix=$need_lib_prefix
15496 # Do we need a version for libraries?
15497 need_version=$need_version
15499 # Library versioning type.
15500 version_type=$version_type
15502 # Shared library runtime path variable.
15503 runpath_var=$runpath_var
15505 # Shared library path variable.
15506 shlibpath_var=$shlibpath_var
15508 # Is shlibpath searched before the hard-coded library search path?
15509 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15511 # Format of library name prefix.
15512 libname_spec=$lt_libname_spec
15514 # List of archive names. First name is the real one, the rest are links.
15515 # The last name is the one that the linker finds with -lNAME
15516 library_names_spec=$lt_library_names_spec
15518 # The coded name of the library, if different from the real name.
15519 soname_spec=$lt_soname_spec
15521 # Permission mode override for installation of shared libraries.
15522 install_override_mode=$lt_install_override_mode
15524 # Command to use after installation of a shared archive.
15525 postinstall_cmds=$lt_postinstall_cmds
15527 # Command to use after uninstallation of a shared archive.
15528 postuninstall_cmds=$lt_postuninstall_cmds
15530 # Commands used to finish a libtool library installation in a directory.
15531 finish_cmds=$lt_finish_cmds
15533 # As "finish_cmds", except a single script fragment to be evaled but
15535 finish_eval=$lt_finish_eval
15537 # Whether we should hardcode library paths into libraries.
15538 hardcode_into_libs=$hardcode_into_libs
15540 # Compile-time system search path for libraries.
15541 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15543 # Run-time system search path for libraries.
15544 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15546 # Whether dlopen is supported.
15547 dlopen_support=$enable_dlopen
15549 # Whether dlopen of programs is supported.
15550 dlopen_self=$enable_dlopen_self
15552 # Whether dlopen of statically linked programs is supported.
15553 dlopen_self_static=$enable_dlopen_self_static
15555 # Commands to strip libraries.
15556 old_striplib=$lt_old_striplib
15557 striplib=$lt_striplib
15560 # The linker used to build libraries.
15563 # How to create reloadable object files.
15564 reload_flag=$lt_reload_flag
15565 reload_cmds=$lt_reload_cmds
15567 # Commands used to build an old-style archive.
15568 old_archive_cmds=$lt_old_archive_cmds
15570 # A language specific compiler.
15573 # Is the compiler the GNU compiler?
15576 # Compiler flag to turn off builtin functions.
15577 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15579 # Additional compiler flags for building library objects.
15580 pic_flag=$lt_lt_prog_compiler_pic
15582 # How to pass a linker flag through the compiler.
15583 wl=$lt_lt_prog_compiler_wl
15585 # Compiler flag to prevent dynamic linking.
15586 link_static_flag=$lt_lt_prog_compiler_static
15588 # Does compiler simultaneously support -c and -o options?
15589 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15591 # Whether or not to add -lc for building shared libraries.
15592 build_libtool_need_lc=$archive_cmds_need_lc
15594 # Whether or not to disallow shared libs when runtime libs are static.
15595 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15597 # Compiler flag to allow reflexive dlopens.
15598 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15600 # Compiler flag to generate shared objects directly from archives.
15601 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15603 # Whether the compiler copes with passing no objects directly.
15604 compiler_needs_object=$lt_compiler_needs_object
15606 # Create an old-style archive from a shared archive.
15607 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15609 # Create a temporary old-style archive to link instead of a shared archive.
15610 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15612 # Commands used to build a shared archive.
15613 archive_cmds=$lt_archive_cmds
15614 archive_expsym_cmds=$lt_archive_expsym_cmds
15616 # Commands used to build a loadable module if different from building
15617 # a shared archive.
15618 module_cmds=$lt_module_cmds
15619 module_expsym_cmds=$lt_module_expsym_cmds
15621 # Whether we are building with GNU ld or not.
15622 with_gnu_ld=$lt_with_gnu_ld
15624 # Flag that allows shared libraries with undefined symbols to be built.
15625 allow_undefined_flag=$lt_allow_undefined_flag
15627 # Flag that enforces no undefined symbols.
15628 no_undefined_flag=$lt_no_undefined_flag
15630 # Flag to hardcode \$libdir into a binary during linking.
15631 # This must work even if \$libdir does not exist
15632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15634 # Whether we need a single "-rpath" flag with a separated argument.
15635 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15638 # DIR into the resulting binary.
15639 hardcode_direct=$hardcode_direct
15641 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15642 # DIR into the resulting binary and the resulting library dependency is
15643 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15644 # library is relocated.
15645 hardcode_direct_absolute=$hardcode_direct_absolute
15647 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15648 # into the resulting binary.
15649 hardcode_minus_L=$hardcode_minus_L
15651 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15652 # into the resulting binary.
15653 hardcode_shlibpath_var=$hardcode_shlibpath_var
15655 # Set to "yes" if building a shared library automatically hardcodes DIR
15656 # into the library and all subsequent libraries and executables linked
15658 hardcode_automatic=$hardcode_automatic
15660 # Set to yes if linker adds runtime paths of dependent libraries
15661 # to runtime path list.
15662 inherit_rpath=$inherit_rpath
15664 # Whether libtool must link a program against all its dependency libraries.
15665 link_all_deplibs=$link_all_deplibs
15667 # Set to "yes" if exported symbols are required.
15668 always_export_symbols=$always_export_symbols
15670 # The commands to list exported symbols.
15671 export_symbols_cmds=$lt_export_symbols_cmds
15673 # Symbols that should not be listed in the preloaded symbols.
15674 exclude_expsyms=$lt_exclude_expsyms
15676 # Symbols that must always be exported.
15677 include_expsyms=$lt_include_expsyms
15679 # Commands necessary for linking programs (against libraries) with templates.
15680 prelink_cmds=$lt_prelink_cmds
15682 # Commands necessary for finishing linking programs.
15683 postlink_cmds=$lt_postlink_cmds
15685 # Specify filename containing input files.
15686 file_list_spec=$lt_file_list_spec
15688 # How to hardcode a shared library path into an executable.
15689 hardcode_action=$hardcode_action
15691 # ### END LIBTOOL CONFIG
15697 cat <<\_LT_EOF >> "$cfgfile"
15698 # AIX sometimes has problems with the GCC collect2 program. For some
15699 # reason, if we set the COLLECT_NAMES environment variable, the problems
15700 # vanish in a puff of smoke.
15701 if test "X${COLLECT_NAMES+set}" != Xset; then
15703 export COLLECT_NAMES
15710 ltmain="$ac_aux_dir/ltmain.sh"
15713 # We use sed instead of cat because bash on DJGPP gets confused if
15714 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15715 # text mode, it properly converts lines to CR/LF. This bash problem
15716 # is reportedly fixed, but why not run on old versions too?
15717 sed '$q' "$ltmain" >> "$cfgfile" \
15718 || (rm -f "$cfgfile"; exit 1)
15720 if test x"$xsi_shell" = xyes; then
15721 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15725 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15726 \ * ) func_dirname_result="${3}" ;;\
15728 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15729 && mv -f "$cfgfile.tmp" "$cfgfile" \
15730 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15731 test 0 -eq $? || _lt_function_replace_fail=:
15734 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15737 \ func_basename_result="${1##*/}"\
15738 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15739 && mv -f "$cfgfile.tmp" "$cfgfile" \
15740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15741 test 0 -eq $? || _lt_function_replace_fail=:
15744 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15745 func_dirname_and_basename ()\
15748 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15749 \ * ) func_dirname_result="${3}" ;;\
15751 \ func_basename_result="${1##*/}"\
15752 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15753 && mv -f "$cfgfile.tmp" "$cfgfile" \
15754 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15755 test 0 -eq $? || _lt_function_replace_fail=:
15758 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15761 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15762 \ # positional parameters, so assign one to ordinary parameter first.\
15763 \ func_stripname_result=${3}\
15764 \ func_stripname_result=${func_stripname_result#"${1}"}\
15765 \ func_stripname_result=${func_stripname_result%"${2}"}\
15766 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15767 && mv -f "$cfgfile.tmp" "$cfgfile" \
15768 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15769 test 0 -eq $? || _lt_function_replace_fail=:
15772 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15773 func_split_long_opt ()\
15775 \ func_split_long_opt_name=${1%%=*}\
15776 \ func_split_long_opt_arg=${1#*=}\
15777 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15778 && mv -f "$cfgfile.tmp" "$cfgfile" \
15779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15780 test 0 -eq $? || _lt_function_replace_fail=:
15783 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15784 func_split_short_opt ()\
15786 \ func_split_short_opt_arg=${1#??}\
15787 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15788 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15789 && mv -f "$cfgfile.tmp" "$cfgfile" \
15790 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15791 test 0 -eq $? || _lt_function_replace_fail=:
15794 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15798 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15799 \ *) func_lo2o_result=${1} ;;\
15801 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15802 && mv -f "$cfgfile.tmp" "$cfgfile" \
15803 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15804 test 0 -eq $? || _lt_function_replace_fail=:
15807 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15810 func_xform_result=${1%.*}.lo\
15811 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15812 && mv -f "$cfgfile.tmp" "$cfgfile" \
15813 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15814 test 0 -eq $? || _lt_function_replace_fail=:
15817 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15820 func_arith_result=$(( $* ))\
15821 } # Extended-shell func_arith 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_len ()$/,/^} # func_len /c\
15830 func_len_result=${#1}\
15831 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15832 && mv -f "$cfgfile.tmp" "$cfgfile" \
15833 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15834 test 0 -eq $? || _lt_function_replace_fail=:
15838 if test x"$lt_shell_append" = xyes; then
15839 sed -e '/^func_append ()$/,/^} # func_append /c\
15842 eval "${1}+=\\${2}"\
15843 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15844 && mv -f "$cfgfile.tmp" "$cfgfile" \
15845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15846 test 0 -eq $? || _lt_function_replace_fail=:
15849 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15850 func_append_quoted ()\
15852 \ func_quote_for_eval "${2}"\
15853 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15854 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15855 && mv -f "$cfgfile.tmp" "$cfgfile" \
15856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15857 test 0 -eq $? || _lt_function_replace_fail=:
15860 # Save a `func_append' function call where possible by direct use of '+='
15861 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15862 && mv -f "$cfgfile.tmp" "$cfgfile" \
15863 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15864 test 0 -eq $? || _lt_function_replace_fail=:
15866 # Save a `func_append' function call even when '+=' is not available
15867 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15868 && mv -f "$cfgfile.tmp" "$cfgfile" \
15869 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15870 test 0 -eq $? || _lt_function_replace_fail=:
15873 if test x"$_lt_function_replace_fail" = x":"; then
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15875 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15879 mv -f "$cfgfile" "$ofile" ||
15880 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15884 "tests/test-discoverer.sh":F) chmod a+x tests/test-discoverer.sh ;;
15892 ac_clean_files=$ac_clean_files_save
15894 test $ac_write_fail = 0 ||
15895 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15898 # configure is writing to config.log, and then calls config.status.
15899 # config.status does its own redirection, appending to config.log.
15900 # Unfortunately, on DOS this fails, as config.log is still kept open
15901 # by configure, so config.status won't be able to write to it; its
15902 # output is simply discarded. So we exec the FD to /dev/null,
15903 # effectively closing config.log, so it can be properly (re)opened and
15904 # appended to by config.status. When coming back to configure, we
15905 # need to make the FD available again.
15906 if test "$no_create" != yes; then
15908 ac_config_status_args=
15909 test "$silent" = yes &&
15910 ac_config_status_args="$ac_config_status_args --quiet"
15912 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15914 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15915 # would make configure fail if this is the last instruction.
15916 $ac_cs_success || as_fn_exit 1
15918 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15920 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15925 echo 'Configuration status:'
15927 echo "Default metadata backend: $with_default_metadata_backend"
15928 echo "Default metadata backend directory: $with_default_metadata_backend_dir"
15929 echo "Build GStreamer metadata backend: $enable_gstreamer_metadata_backend"
15930 echo "Build legacy GStreamer metadata backend: $enable_legacy_gstreamer_metadata_backend"