2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-av 0.12.4.
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
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
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-av'
653 PACKAGE_TARNAME='gupnp-av'
654 PACKAGE_VERSION='0.12.4'
655 PACKAGE_STRING='gupnp-av 0.12.4'
656 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP'
657 PACKAGE_URL='http://www.gupnp.org/'
659 ac_unique_file="libgupnp-av/gupnp-av.h"
661 # Factoring default headers for most tests.
662 ac_includes_default="\
664 #ifdef HAVE_SYS_TYPES_H
665 # include <sys/types.h>
667 #ifdef HAVE_SYS_STAT_H
668 # include <sys/stat.h>
674 # ifdef HAVE_STDLIB_H
679 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
684 #ifdef HAVE_STRINGS_H
685 # include <strings.h>
687 #ifdef HAVE_INTTYPES_H
688 # include <inttypes.h>
697 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
785 MAINTAINER_MODE_FALSE
799 INSTALL_STRIP_PROGRAM
841 program_transform_name
854 enable_option_checking
856 enable_maintainer_mode
857 enable_dependency_tracking
872 ac_precious_vars='build_alias
890 # Initialize some variables set by options.
892 ac_init_version=false
893 ac_unrecognized_opts=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name=s,x,x,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\$ac_option
950 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966 -build | --build | --buil | --bui | --bu)
967 ac_prev=build_alias ;;
968 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969 build_alias=$ac_optarg ;;
971 -cache-file | --cache-file | --cache-fil | --cache-fi \
972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973 ac_prev=cache_file ;;
974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976 cache_file=$ac_optarg ;;
979 cache_file=config.cache ;;
981 -datadir | --datadir | --datadi | --datad)
983 -datadir=* | --datadir=* | --datadi=* | --datad=*)
984 datadir=$ac_optarg ;;
986 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987 | --dataroo | --dataro | --datar)
988 ac_prev=datarootdir ;;
989 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991 datarootdir=$ac_optarg ;;
993 -disable-* | --disable-*)
994 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997 as_fn_error $? "invalid feature name: $ac_useropt"
998 ac_useropt_orig=$ac_useropt
999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_$ac_useropt"
1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep=', ';;
1007 eval enable_$ac_useropt=no ;;
1009 -docdir | --docdir | --docdi | --doc | --do)
1011 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012 docdir=$ac_optarg ;;
1014 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017 dvidir=$ac_optarg ;;
1019 -enable-* | --enable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval enable_$ac_useropt=\$ac_optarg ;;
1035 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037 | --exec | --exe | --ex)
1038 ac_prev=exec_prefix ;;
1039 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041 | --exec=* | --exe=* | --ex=*)
1042 exec_prefix=$ac_optarg ;;
1044 -gas | --gas | --ga | --g)
1045 # Obsolete; use --with-gas.
1048 -help | --help | --hel | --he | -h)
1049 ac_init_help=long ;;
1050 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1051 ac_init_help=recursive ;;
1052 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1053 ac_init_help=short ;;
1055 -host | --host | --hos | --ho)
1056 ac_prev=host_alias ;;
1057 -host=* | --host=* | --hos=* | --ho=*)
1058 host_alias=$ac_optarg ;;
1060 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 htmldir=$ac_optarg ;;
1066 -includedir | --includedir | --includedi | --included | --include \
1067 | --includ | --inclu | --incl | --inc)
1068 ac_prev=includedir ;;
1069 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070 | --includ=* | --inclu=* | --incl=* | --inc=*)
1071 includedir=$ac_optarg ;;
1073 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076 infodir=$ac_optarg ;;
1078 -libdir | --libdir | --libdi | --libd)
1080 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081 libdir=$ac_optarg ;;
1083 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084 | --libexe | --libex | --libe)
1085 ac_prev=libexecdir ;;
1086 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087 | --libexe=* | --libex=* | --libe=*)
1088 libexecdir=$ac_optarg ;;
1090 -localedir | --localedir | --localedi | --localed | --locale)
1091 ac_prev=localedir ;;
1092 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093 localedir=$ac_optarg ;;
1095 -localstatedir | --localstatedir | --localstatedi | --localstated \
1096 | --localstate | --localstat | --localsta | --localst | --locals)
1097 ac_prev=localstatedir ;;
1098 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100 localstatedir=$ac_optarg ;;
1102 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105 mandir=$ac_optarg ;;
1107 -nfp | --nfp | --nf)
1108 # Obsolete; use --without-fp.
1111 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112 | --no-cr | --no-c | -n)
1115 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121 | --oldin | --oldi | --old | --ol | --o)
1122 ac_prev=oldincludedir ;;
1123 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126 oldincludedir=$ac_optarg ;;
1128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131 prefix=$ac_optarg ;;
1133 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134 | --program-pre | --program-pr | --program-p)
1135 ac_prev=program_prefix ;;
1136 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138 program_prefix=$ac_optarg ;;
1140 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141 | --program-suf | --program-su | --program-s)
1142 ac_prev=program_suffix ;;
1143 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145 program_suffix=$ac_optarg ;;
1147 -program-transform-name | --program-transform-name \
1148 | --program-transform-nam | --program-transform-na \
1149 | --program-transform-n | --program-transform- \
1150 | --program-transform | --program-transfor \
1151 | --program-transfo | --program-transf \
1152 | --program-trans | --program-tran \
1153 | --progr-tra | --program-tr | --program-t)
1154 ac_prev=program_transform_name ;;
1155 -program-transform-name=* | --program-transform-name=* \
1156 | --program-transform-nam=* | --program-transform-na=* \
1157 | --program-transform-n=* | --program-transform-=* \
1158 | --program-transform=* | --program-transfor=* \
1159 | --program-transfo=* | --program-transf=* \
1160 | --program-trans=* | --program-tran=* \
1161 | --progr-tra=* | --program-tr=* | --program-t=*)
1162 program_transform_name=$ac_optarg ;;
1164 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167 pdfdir=$ac_optarg ;;
1169 -psdir | --psdir | --psdi | --psd | --ps)
1171 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175 | -silent | --silent | --silen | --sile | --sil)
1178 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 sbindir=$ac_optarg ;;
1184 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186 | --sharedst | --shareds | --shared | --share | --shar \
1188 ac_prev=sharedstatedir ;;
1189 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 sharedstatedir=$ac_optarg ;;
1195 -site | --site | --sit)
1197 -site=* | --site=* | --sit=*)
1200 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203 srcdir=$ac_optarg ;;
1205 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206 | --syscon | --sysco | --sysc | --sys | --sy)
1207 ac_prev=sysconfdir ;;
1208 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210 sysconfdir=$ac_optarg ;;
1212 -target | --target | --targe | --targ | --tar | --ta | --t)
1213 ac_prev=target_alias ;;
1214 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215 target_alias=$ac_optarg ;;
1217 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1220 -version | --version | --versio | --versi | --vers | -V)
1221 ac_init_version=: ;;
1224 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227 as_fn_error $? "invalid package name: $ac_useropt"
1228 ac_useropt_orig=$ac_useropt
1229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep=', ';;
1237 eval with_$ac_useropt=\$ac_optarg ;;
1239 -without-* | --without-*)
1240 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243 as_fn_error $? "invalid package name: $ac_useropt"
1244 ac_useropt_orig=$ac_useropt
1245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep=', ';;
1253 eval with_$ac_useropt=no ;;
1256 # Obsolete; use --with-x.
1259 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260 | --x-incl | --x-inc | --x-in | --x-i)
1261 ac_prev=x_includes ;;
1262 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264 x_includes=$ac_optarg ;;
1266 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268 ac_prev=x_libraries ;;
1269 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271 x_libraries=$ac_optarg ;;
1273 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' | [0-9]* | *[!_$as_cr_alnum]* )
1282 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $? "missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val=\$$ac_var
1318 # Remove trailing slashes.
1321 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$]* | ?:[\\/]* ) continue;;
1327 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x; then
1341 if test "x$build_alias" = x; then
1342 cross_compiling=maybe
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1351 test "$silent" = yes && exec 6>/dev/null
1354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di=`ls -di .` &&
1356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357 as_fn_error $? "working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359 as_fn_error $? "pwd does not report name of working directory"
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$as_myself" : 'X\(//\)[^/]' \| \
1369 X"$as_myself" : 'X\(//\)$' \| \
1370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1400 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var in $ac_precious_vars; do
1415 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_${ac_var}_value=\$${ac_var}
1417 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures gupnp-av 0.12.4 to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking ...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp-av]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --program-prefix=PREFIX prepend PREFIX to installed program names
1487 --program-suffix=SUFFIX append SUFFIX to installed program names
1488 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1491 --build=BUILD configure for building on BUILD [guessed]
1492 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of gupnp-av 0.12.4:";;
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-silent-rules less verbose build output (undo: "make V=1")
1507 --disable-silent-rules verbose build output (undo: "make V=0")
1508 --disable-maintainer-mode
1509 disable make rules and dependencies not useful (and
1510 sometimes confusing) to the casual installer
1511 --enable-dependency-tracking
1512 do not reject slow dependency extractors
1513 --disable-dependency-tracking
1514 speeds up one-time build
1515 --enable-shared[=PKGS] build shared libraries [default=yes]
1516 --enable-static[=PKGS] build static libraries [default=yes]
1517 --enable-fast-install[=PKGS]
1518 optimize for fast installation [default=yes]
1519 --disable-libtool-lock avoid locking (might break parallel builds)
1520 --enable-debug enable debugging
1521 --enable-introspection=[no/auto/yes]
1522 Enable introspection for this build
1523 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1524 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1525 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1532 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1533 --with-sysroot=DIR Search for dependent libraries within DIR
1534 (or the compiler's sysroot if not specified).
1535 --with-html-dir=PATH path to installed docs
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1546 PKG_CONFIG path to pkg-config utility
1548 directories to add to pkg-config's search path
1550 path overriding pkg-config's built-in search path
1552 C compiler flags for LIBGUPNP, overriding pkg-config
1554 linker flags for LIBGUPNP, overriding pkg-config
1556 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1558 linker flags for GTKDOC_DEPS, overriding pkg-config
1560 Use these variables to override the choices made by `configure' or to help
1561 it to find libraries and programs with nonstandard names/locations.
1563 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
1564 gupnp-av home page: <http://www.gupnp.org/>.
1569 if test "$ac_init_help" = "recursive"; then
1570 # If there are subdirs, report their specific --help.
1571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1572 test -d "$ac_dir" ||
1573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1581 # A ".." for each directory in $ac_dir_suffix.
1582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1583 case $ac_top_builddir_sub in
1584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1588 ac_abs_top_builddir=$ac_pwd
1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1590 # for backward compatibility:
1591 ac_top_builddir=$ac_top_build_prefix
1594 .) # We are building in place.
1596 ac_top_srcdir=$ac_top_builddir_sub
1597 ac_abs_top_srcdir=$ac_pwd ;;
1598 [\\/]* | ?:[\\/]* ) # Absolute name.
1599 ac_srcdir=$srcdir$ac_dir_suffix;
1600 ac_top_srcdir=$srcdir
1601 ac_abs_top_srcdir=$srcdir ;;
1603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1604 ac_top_srcdir=$ac_top_build_prefix$srcdir
1605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1609 cd "$ac_dir" || { ac_status=$?; continue; }
1610 # Check for guested configure.
1611 if test -f "$ac_srcdir/configure.gnu"; then
1613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1614 elif test -f "$ac_srcdir/configure"; then
1616 $SHELL "$ac_srcdir/configure" --help=recursive
1618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1620 cd "$ac_pwd" || { ac_status=$?; break; }
1624 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then
1627 gupnp-av configure 0.12.4
1628 generated by GNU Autoconf 2.69
1630 Copyright (C) 2012 Free Software Foundation, Inc.
1631 This configure script is free software; the Free Software Foundation
1632 gives unlimited permission to copy, distribute and modify it.
1637 ## ------------------------ ##
1638 ## Autoconf initialization. ##
1639 ## ------------------------ ##
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval
1677 } # ac_fn_c_try_compile
1679 # ac_fn_c_try_cpp LINENO
1680 # ----------------------
1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { { ac_try="$ac_cpp conftest.$ac_ext"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } > conftest.i && {
1701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1734 { { case "(($ac_try" in
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_try") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; }; }; then :
1746 $as_echo "$as_me: program exited with status $ac_status" >&5
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=$ac_status
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists and can be compiled using the include files in
1761 # INCLUDES, setting the cache variable VAR accordingly.
1762 ac_fn_c_check_header_compile ()
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1775 if ac_fn_c_try_compile "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_header_compile
1789 # ac_fn_c_try_link LINENO
1790 # -----------------------
1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 rm -f conftest.$ac_objext conftest$ac_exeext
1796 if { { ac_try="$ac_link"
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 test -x conftest$ac_exeext
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status $ac_retval
1833 } # ac_fn_c_try_link
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \${$3+:} false; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1850 #define $2 innocuous_$2
1852 /* System header to define __stub macros and hopefully few prototypes,
1853 which can conflict with char $2 (); below.
1854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1855 <limits.h> exists even on freestanding compilers. */
1858 # include <limits.h>
1860 # include <assert.h>
1865 /* Override any GCC internal prototype to avoid an error.
1866 Use char because int might match the return type of a GCC
1867 builtin and then its argument prototype would still apply. */
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined __stub_$2 || defined __stub___$2
1887 if ac_fn_c_try_link "$LINENO"; then :
1892 rm -f core conftest.err conftest.$ac_objext \
1893 conftest$ac_exeext conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 } # ac_fn_c_check_func
1901 cat >config.log <<_ACEOF
1902 This file contains any messages produced by compilers while
1903 running configure, to aid debugging if configure makes a mistake.
1905 It was created by gupnp-av $as_me 0.12.4, which was
1906 generated by GNU Autoconf 2.69. Invocation command line was
1918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1925 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1927 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1928 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1930 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1931 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1932 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1933 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 $as_echo "PATH: $as_dir"
1958 # Keep a trace of the command line.
1959 # Strip out --no-create and --no-recursion so they do not pile up.
1960 # Strip out --silent because we don't want to record it for future runs.
1961 # Also quote any args containing shell meta-characters.
1962 # Make two passes to allow for proper duplicate-argument suppression.
1966 ac_must_keep_next=false
1972 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1974 | -silent | --silent | --silen | --sile | --sil)
1977 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1980 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1982 as_fn_append ac_configure_args1 " '$ac_arg'"
1983 if test $ac_must_keep_next = true; then
1984 ac_must_keep_next=false # Got value, back to normal.
1987 *=* | --config-cache | -C | -disable-* | --disable-* \
1988 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1989 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1990 | -with-* | --with-* | -without-* | --without-* | --x)
1991 case "$ac_configure_args0 " in
1992 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1995 -* ) ac_must_keep_next=true ;;
1998 as_fn_append ac_configure_args " '$ac_arg'"
2003 { ac_configure_args0=; unset ac_configure_args0;}
2004 { ac_configure_args1=; unset ac_configure_args1;}
2006 # When interrupted or exit'd, cleanup temporary files, and complete
2007 # config.log. We remove comments because anyway the quotes in there
2008 # would cause problems or look ugly.
2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2011 trap 'exit_status=$?
2012 # Save into config.log some information that might help in debugging.
2016 $as_echo "## ---------------- ##
2017 ## Cache variables. ##
2018 ## ---------------- ##"
2020 # The following way of writing the cache mishandles newlines in values,
2022 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2023 eval ac_val=\$$ac_var
2027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2031 _ | IFS | as_nl) ;; #(
2032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2033 *) { eval $ac_var=; unset $ac_var;} ;;
2038 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2039 *${as_nl}ac_space=\ *)
2041 "s/'\''/'\''\\\\'\'''\''/g;
2042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2052 $as_echo "## ----------------- ##
2053 ## Output variables. ##
2054 ## ----------------- ##"
2056 for ac_var in $ac_subst_vars
2058 eval ac_val=\$$ac_var
2060 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -n "$ac_subst_files"; then
2067 $as_echo "## ------------------- ##
2068 ## File substitutions. ##
2069 ## ------------------- ##"
2071 for ac_var in $ac_subst_files
2073 eval ac_val=\$$ac_var
2075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2077 $as_echo "$ac_var='\''$ac_val'\''"
2082 if test -s confdefs.h; then
2083 $as_echo "## ----------- ##
2090 test "$ac_signal" != 0 &&
2091 $as_echo "$as_me: caught signal $ac_signal"
2092 $as_echo "$as_me: exit $exit_status"
2094 rm -f core *.core core.conftest.* &&
2095 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2098 for ac_signal in 1 2 13 15; do
2099 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2103 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2104 rm -f -r conftest* confdefs.h
2106 $as_echo "/* confdefs.h */" > confdefs.h
2108 # Predefined preprocessor variables.
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_NAME "$PACKAGE_NAME"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_STRING "$PACKAGE_STRING"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_URL "$PACKAGE_URL"
2135 # Let the site file select an alternate cache file if it wants to.
2136 # Prefer an explicitly selected file to automatically selected ones.
2139 if test -n "$CONFIG_SITE"; then
2140 # We do not want a PATH search for config.site.
2141 case $CONFIG_SITE in #((
2142 -*) ac_site_file1=./$CONFIG_SITE;;
2143 */*) ac_site_file1=$CONFIG_SITE;;
2144 *) ac_site_file1=./$CONFIG_SITE;;
2146 elif test "x$prefix" != xNONE; then
2147 ac_site_file1=$prefix/share/config.site
2148 ac_site_file2=$prefix/etc/config.site
2150 ac_site_file1=$ac_default_prefix/share/config.site
2151 ac_site_file2=$ac_default_prefix/etc/config.site
2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2155 test "x$ac_site_file" = xNONE && continue
2156 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2159 sed 's/^/| /' "$ac_site_file" >&5
2161 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2163 as_fn_error $? "failed to load site script $ac_site_file
2164 See \`config.log' for more details" "$LINENO" 5; }
2168 if test -r "$cache_file"; then
2169 # Some versions of bash will fail to source /dev/null (special files
2170 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2171 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2173 $as_echo "$as_me: loading cache $cache_file" >&6;}
2175 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2176 *) . "./$cache_file";;
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2181 $as_echo "$as_me: creating cache $cache_file" >&6;}
2185 as_fn_append ac_header_list " stdlib.h"
2186 as_fn_append ac_header_list " unistd.h"
2187 as_fn_append ac_header_list " sys/param.h"
2188 # Check that the precious variables saved in the cache have kept the same
2190 ac_cache_corrupted=false
2191 for ac_var in $ac_precious_vars; do
2192 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2193 eval ac_new_set=\$ac_env_${ac_var}_set
2194 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2195 eval ac_new_val=\$ac_env_${ac_var}_value
2196 case $ac_old_set,$ac_new_set in
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2199 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2200 ac_cache_corrupted=: ;;
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2203 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2207 if test "x$ac_old_val" != "x$ac_new_val"; then
2208 # differences in whitespace do not lead to failure.
2209 ac_old_val_w=`echo x $ac_old_val`
2210 ac_new_val_w=`echo x $ac_new_val`
2211 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2213 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2214 ac_cache_corrupted=:
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2217 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2218 eval $ac_var=\$ac_old_val
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2221 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2223 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2226 # Pass precious variables to config.status.
2227 if test "$ac_new_set" = set; then
2229 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2230 *) ac_arg=$ac_var=$ac_new_val ;;
2232 case " $ac_configure_args " in
2233 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2234 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2238 if $ac_cache_corrupted; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2242 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2243 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2245 ## -------------------- ##
2246 ## Main body of script. ##
2247 ## -------------------- ##
2250 ac_cpp='$CPP $CPPFLAGS'
2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257 ac_config_headers="$ac_config_headers config.h"
2262 for ac_dir in build-aux "$srcdir"/build-aux; do
2263 if test -f "$ac_dir/install-sh"; then
2265 ac_install_sh="$ac_aux_dir/install-sh -c"
2267 elif test -f "$ac_dir/install.sh"; then
2269 ac_install_sh="$ac_aux_dir/install.sh -c"
2271 elif test -f "$ac_dir/shtool"; then
2273 ac_install_sh="$ac_aux_dir/shtool install -c"
2277 if test -z "$ac_aux_dir"; then
2278 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2281 # These three variables are undocumented and unsupported,
2282 # and are intended to be withdrawn in a future Autoconf release.
2283 # They can cause serious problems if a builder's source tree is in a directory
2284 # whose full name contains unusual characters.
2285 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2286 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2287 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2291 am__api_version='1.13'
2293 # Find a good install program. We prefer a C program (faster),
2294 # so one script is as good as another. But avoid the broken or
2295 # incompatible versions:
2296 # SysV /etc/install, /usr/sbin/install
2297 # SunOS /usr/etc/install
2298 # IRIX /sbin/install
2300 # AmigaOS /C/install, which installs bootblocks on floppy discs
2301 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2302 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2303 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2304 # OS/2's system install, which has a completely different semantic
2305 # ./install, which can be erroneously created by make from ./install.sh.
2306 # Reject install programs that cannot install multiple files.
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2308 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2309 if test -z "$INSTALL"; then
2310 if ${ac_cv_path_install+:} false; then :
2311 $as_echo_n "(cached) " >&6
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 # Account for people who put trailing slashes in PATH elements.
2319 case $as_dir/ in #((
2320 ./ | .// | /[cC]/* | \
2321 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2322 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2325 # OSF1 and SCO ODT 3.0 have their own names for install.
2326 # Don't use installbsd from OSF since it installs stuff as root
2328 for ac_prog in ginstall scoinst install; do
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2331 if test $ac_prog = install &&
2332 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2333 # AIX install. It has an incompatible calling convention.
2335 elif test $ac_prog = install &&
2336 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2337 # program-specific install script used by HP pwplus--don't use.
2340 rm -rf conftest.one conftest.two conftest.dir
2341 echo one > conftest.one
2342 echo two > conftest.two
2344 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2345 test -s conftest.one && test -s conftest.two &&
2346 test -s conftest.dir/conftest.one &&
2347 test -s conftest.dir/conftest.two
2349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2362 rm -rf conftest.one conftest.two conftest.dir
2365 if test "${ac_cv_path_install+set}" = set; then
2366 INSTALL=$ac_cv_path_install
2368 # As a last resort, use the slow shell script. Don't cache a
2369 # value for INSTALL within a source directory, because that will
2370 # break other packages using the cache if that directory is
2371 # removed, or if the value is a relative name.
2372 INSTALL=$ac_install_sh
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2376 $as_echo "$INSTALL" >&6; }
2378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2379 # It thinks the first close brace ends the variable substitution.
2380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2387 $as_echo_n "checking whether build environment is sane... " >&6; }
2388 # Reject unsafe characters in $srcdir or the absolute working directory
2389 # name. Accept space and tab only in the latter.
2393 *[\\\"\#\$\&\'\`$am_lf]*)
2394 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2397 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2398 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2401 # Do 'set' in a subshell so we don't clobber the current shell's
2402 # arguments. Must try -L first in case configure is actually a
2403 # symlink; some systems play weird games with the mod time of symlinks
2404 # (eg FreeBSD returns the mod time of the symlink's containing
2408 for am_try in 1 2; do
2409 echo "timestamp, slept: $am_has_slept" > conftest.file
2410 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2411 if test "$*" = "X"; then
2413 set X `ls -t "$srcdir/configure" conftest.file`
2415 if test "$*" != "X $srcdir/configure conftest.file" \
2416 && test "$*" != "X conftest.file $srcdir/configure"; then
2418 # If neither matched, then we have a broken ls. This can happen
2419 # if, for instance, CONFIG_SHELL is bash and it inherits a
2420 # broken ls alias from the environment. This has actually
2421 # happened. Such a system could not be considered "sane".
2422 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2423 alias in your environment" "$LINENO" 5
2425 if test "$2" = conftest.file || test $am_try -eq 2; then
2432 test "$2" = conftest.file
2438 as_fn_error $? "newly created file is older than distributed files!
2439 Check your system clock" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2443 # If we didn't sleep, we still need to ensure time stamps of config.status and
2444 # generated files are strictly newer.
2446 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2453 test "$program_prefix" != NONE &&
2454 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2455 # Use a double $ so make ignores it.
2456 test "$program_suffix" != NONE &&
2457 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2458 # Double any \ or $.
2459 # By default was `s,x,x', remove it if useless.
2460 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2461 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2463 # expand $ac_aux_dir to an absolute path
2464 am_aux_dir=`cd $ac_aux_dir && pwd`
2466 if test x"${MISSING+set}" != xset; then
2469 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2471 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2474 # Use eval to expand $SHELL
2475 if eval "$MISSING --is-lightweight"; then
2476 am_missing_run="$MISSING "
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2480 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2483 if test x"${install_sh}" != xset; then
2486 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2488 install_sh="\${SHELL} $am_aux_dir/install-sh"
2492 # Installed binaries are usually stripped using 'strip' when the user
2493 # run "make install-strip". However 'strip' might not be the right
2494 # tool to use in cross-compilation environments, therefore Automake
2495 # will honor the 'STRIP' environment variable to overrule this program.
2496 if test "$cross_compiling" != no; then
2497 if test -n "$ac_tool_prefix"; then
2498 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2499 set dummy ${ac_tool_prefix}strip; ac_word=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_STRIP+:} false; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$STRIP"; then
2506 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 STRIP=$ac_cv_prog_STRIP
2526 if test -n "$STRIP"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2528 $as_echo "$STRIP" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2536 if test -z "$ac_cv_prog_STRIP"; then
2538 # Extract the first word of "strip", so it can be a program name with args.
2539 set dummy strip; ac_word=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$ac_ct_STRIP"; then
2546 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_ac_ct_STRIP="strip"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2566 if test -n "$ac_ct_STRIP"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2568 $as_echo "$ac_ct_STRIP" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2574 if test "x$ac_ct_STRIP" = x; then
2577 case $cross_compiling:$ac_tool_warned in
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2581 ac_tool_warned=yes ;;
2586 STRIP="$ac_cv_prog_STRIP"
2590 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2593 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2594 if test -z "$MKDIR_P"; then
2595 if ${ac_cv_path_mkdir+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2602 test -z "$as_dir" && as_dir=.
2603 for ac_prog in mkdir gmkdir; do
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2606 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2607 'mkdir (GNU coreutils) '* | \
2608 'mkdir (coreutils) '* | \
2609 'mkdir (fileutils) '4.1*)
2610 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2620 test -d ./--version && rmdir ./--version
2621 if test "${ac_cv_path_mkdir+set}" = set; then
2622 MKDIR_P="$ac_cv_path_mkdir -p"
2624 # As a last resort, use the slow shell script. Don't cache a
2625 # value for MKDIR_P within a source directory, because that will
2626 # break other packages using the cache if that directory is
2627 # removed, or if the value is a relative name.
2628 MKDIR_P="$ac_install_sh -d"
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2632 $as_echo "$MKDIR_P" >&6; }
2634 for ac_prog in gawk mawk nawk awk
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637 set dummy $ac_prog; ac_word=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if ${ac_cv_prog_AWK+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$AWK"; then
2644 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2653 ac_cv_prog_AWK="$ac_prog"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$AWK"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2666 $as_echo "$AWK" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2673 test -n "$AWK" && break
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2677 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2679 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2680 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 cat >conftest.make <<\_ACEOF
2686 @echo '@@@%%%=$(MAKE)=@@@%%%'
2688 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2689 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2691 eval ac_cv_prog_make_${ac_make}_set=yes;;
2693 eval ac_cv_prog_make_${ac_make}_set=no;;
2697 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2699 $as_echo "yes" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2704 SET_MAKE="MAKE=${MAKE-make}"
2707 rm -rf .tst 2>/dev/null
2708 mkdir .tst 2>/dev/null
2709 if test -d .tst; then
2714 rmdir .tst 2>/dev/null
2716 # Check whether --enable-silent-rules was given.
2717 if test "${enable_silent_rules+set}" = set; then :
2718 enableval=$enable_silent_rules;
2721 case $enable_silent_rules in # (((
2722 yes) AM_DEFAULT_VERBOSITY=0;;
2723 no) AM_DEFAULT_VERBOSITY=1;;
2724 *) AM_DEFAULT_VERBOSITY=1;;
2726 am_make=${MAKE-make}
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2728 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2729 if ${am_cv_make_support_nested_variables+:} false; then :
2730 $as_echo_n "(cached) " >&6
2732 if $as_echo 'TRUE=$(BAR$(V))
2738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2739 am_cv_make_support_nested_variables=yes
2741 am_cv_make_support_nested_variables=no
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2745 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2746 if test $am_cv_make_support_nested_variables = yes; then
2748 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2750 AM_V=$AM_DEFAULT_VERBOSITY
2751 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2755 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2756 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2757 # is not polluted with repeated "-I."
2758 am__isrc=' -I$(srcdir)'
2759 # test to see if srcdir already configured
2760 if test -f $srcdir/config.status; then
2761 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2765 # test whether we have cygpath
2766 if test -z "$CYGPATH_W"; then
2767 if (cygpath --version) >/dev/null 2>/dev/null; then
2768 CYGPATH_W='cygpath -w'
2775 # Define the identity of the package.
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE "$PACKAGE"
2785 cat >>confdefs.h <<_ACEOF
2786 #define VERSION "$VERSION"
2789 # Some tools Automake needs.
2791 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2794 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2797 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2800 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2803 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2805 # For better backward compatibility. To be removed once Automake 1.9.x
2806 # dies out for good. For more background, see:
2807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2808 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2809 mkdir_p='$(MKDIR_P)'
2811 # We need awk for the "check" target. The system "awk" is bad on
2813 # Always define AMTAR for backward compatibility. Yes, it's still used
2814 # in the wild :-( We should find a proper way to deprecate it ...
2818 # We'll loop over all known methods to create a tar archive until one works.
2819 _am_tools='gnutar plaintar pax cpio none'
2821 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2822 # There is notably a 21 bits limit for the UID and the GID. In fact,
2823 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2825 am_max_uid=2097151 # 2^21 - 1
2826 am_max_gid=$am_max_uid
2827 # The $UID and $GID variables are not portable, so we need to resort
2828 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2829 # below are definitely unexpected, so allow the users to see them
2830 # (that is, avoid stderr redirection).
2831 am_uid=`id -u || echo unknown`
2832 am_gid=`id -g || echo unknown`
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2834 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2835 if test $am_uid -le $am_max_uid; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2844 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2845 if test $am_gid -le $am_max_gid; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2847 $as_echo "yes" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2855 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2857 # Go ahead even if we have the value already cached. We do so because we
2858 # need to set the values for the 'am__tar' and 'am__untar' variables.
2859 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2861 for _am_tool in $_am_tools; do
2864 for _am_tar in tar gnutar gtar; do
2865 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2866 ($_am_tar --version) >&5 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } && break
2871 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2872 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2873 am__untar="$_am_tar -xf -"
2876 # Must skip GNU tar: if it does not support --format= it doesn't create
2877 # ustar tarball either.
2878 (tar --version) >/dev/null 2>&1 && continue
2879 am__tar='tar chf - "$$tardir"'
2880 am__tar_='tar chf - "$tardir"'
2881 am__untar='tar xf -'
2884 am__tar='pax -L -x ustar -w "$$tardir"'
2885 am__tar_='pax -L -x ustar -w "$tardir"'
2889 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2890 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2891 am__untar='cpio -i -H ustar -d'
2900 # If the value was cached, stop now. We just wanted to have am__tar
2901 # and am__untar set.
2902 test -n "${am_cv_prog_tar_ustar}" && break
2904 # tar/untar a dummy directory, and stop if the command works.
2907 echo GrepMe > conftest.dir/file
2908 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2909 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2914 if test -s conftest.tar; then
2915 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2916 ($am__untar <conftest.tar) >&5 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }
2920 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2921 (cat conftest.dir/file) >&5 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }
2925 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2930 if ${am_cv_prog_tar_ustar+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 am_cv_prog_tar_ustar=$_am_tool
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2937 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2946 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2947 # Check whether --enable-maintainer-mode was given.
2948 if test "${enable_maintainer_mode+set}" = set; then :
2949 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2951 USE_MAINTAINER_MODE=yes
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2955 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2956 if test $USE_MAINTAINER_MODE = yes; then
2957 MAINTAINER_MODE_TRUE=
2958 MAINTAINER_MODE_FALSE='#'
2960 MAINTAINER_MODE_TRUE='#'
2961 MAINTAINER_MODE_FALSE=
2964 MAINT=$MAINTAINER_MODE_TRUE
2968 # Check whether --enable-silent-rules was given.
2969 if test "${enable_silent_rules+set}" = set; then :
2970 enableval=$enable_silent_rules;
2973 case $enable_silent_rules in # (((
2974 yes) AM_DEFAULT_VERBOSITY=0;;
2975 no) AM_DEFAULT_VERBOSITY=1;;
2976 *) AM_DEFAULT_VERBOSITY=0;;
2978 am_make=${MAKE-make}
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2980 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2981 if ${am_cv_make_support_nested_variables+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if $as_echo 'TRUE=$(BAR$(V))
2990 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2991 am_cv_make_support_nested_variables=yes
2993 am_cv_make_support_nested_variables=no
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2997 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2998 if test $am_cv_make_support_nested_variables = yes; then
3000 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3002 AM_V=$AM_DEFAULT_VERBOSITY
3003 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3008 # Check for programs
3010 ac_cpp='$CPP $CPPFLAGS'
3011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3014 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_CC+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$CC"; then
3023 ac_cv_prog_CC="$CC" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test -n "$CC"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3045 $as_echo "$CC" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3053 if test -z "$ac_cv_prog_CC"; then
3055 # Extract the first word of "gcc", so it can be a program name with args.
3056 set dummy gcc; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$ac_ct_CC"; then
3063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_ac_ct_CC="gcc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3083 if test -n "$ac_ct_CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3085 $as_echo "$ac_ct_CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3091 if test "x$ac_ct_CC" = x; then
3094 case $cross_compiling:$ac_tool_warned in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned=yes ;;
3106 if test -z "$CC"; then
3107 if test -n "$ac_tool_prefix"; then
3108 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3109 set dummy ${ac_tool_prefix}cc; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_CC+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$CC"; then
3116 ac_cv_prog_CC="$CC" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_CC="${ac_tool_prefix}cc"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 if test -n "$CC"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3138 $as_echo "$CC" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3147 if test -z "$CC"; then
3148 # Extract the first word of "cc", so it can be a program name with args.
3149 set dummy cc; ac_word=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_CC+:} false; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$CC"; then
3156 ac_cv_prog_CC="$CC" # Let the user override the test.
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3167 ac_prog_rejected=yes
3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test $ac_prog_rejected = yes; then
3179 # We found a bogon in the path, so make sure we never use it.
3180 set dummy $ac_cv_prog_CC
3182 if test $# != 0; then
3183 # We chose a different compiler from the bogus one.
3184 # However, it has the same basename, so the bogon will be chosen
3185 # first if we set CC to just the basename; use the full file name.
3187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3193 if test -n "$CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3195 $as_echo "$CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3203 if test -z "$CC"; then
3204 if test -n "$ac_tool_prefix"; then
3205 for ac_prog in cl.exe
3207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if ${ac_cv_prog_CC+:} false; then :
3212 $as_echo_n "(cached) " >&6
3214 if test -n "$CC"; then
3215 ac_cv_prog_CC="$CC" # Let the user override the test.
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 if test -n "$CC"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237 $as_echo "$CC" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3244 test -n "$CC" && break
3247 if test -z "$CC"; then
3249 for ac_prog in cl.exe
3251 # Extract the first word of "$ac_prog", so it can be a program name with args.
3252 set dummy $ac_prog; ac_word=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$ac_ct_CC"; then
3259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_ac_ct_CC="$ac_prog"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3279 if test -n "$ac_ct_CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3281 $as_echo "$ac_ct_CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3288 test -n "$ac_ct_CC" && break
3291 if test "x$ac_ct_CC" = x; then
3294 case $cross_compiling:$ac_tool_warned in
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3298 ac_tool_warned=yes ;;
3307 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $? "no acceptable C compiler found in \$PATH
3310 See \`config.log' for more details" "$LINENO" 5; }
3312 # Provide some information about the compiler.
3313 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3316 for ac_option in --version -v -V -qversion; do
3317 { { ac_try="$ac_compiler $ac_option >&5"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3326 if test -s conftest.err; then
3328 ... rest of stderr output deleted ...
3329 10q' conftest.err >conftest.er1
3330 cat conftest.er1 >&5
3332 rm -f conftest.er1 conftest.err
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; }
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 ac_clean_files_save=$ac_clean_files
3349 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3350 # Try to create an executable without -o first, disregard a.out.
3351 # It will help us diagnose broken compilers, and finding out an intuition
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3354 $as_echo_n "checking whether the C compiler works... " >&6; }
3355 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3357 # The possible output files:
3358 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3361 for ac_file in $ac_files
3364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3365 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3370 if { { ac_try="$ac_link_default"
3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377 (eval "$ac_link_default") 2>&5
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }; then :
3381 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3382 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3383 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3384 # so that the user can short-circuit this test for compilers unknown to
3386 for ac_file in $ac_files ''
3388 test -f "$ac_file" || continue
3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3393 # We found the default executable, but exeext='' is most
3397 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3399 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3401 # We set ac_cv_exeext here because the later test for it is not
3402 # safe: cross compilers may not add the suffix if given an `-o'
3403 # argument, so we may need to know it at that point already.
3404 # Even if this section looks crufty: it has the advantage of
3411 test "$ac_cv_exeext" = no && ac_cv_exeext=
3416 if test -z "$ac_file"; then :
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418 $as_echo "no" >&6; }
3419 $as_echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3424 as_fn_error 77 "C compiler cannot create executables
3425 See \`config.log' for more details" "$LINENO" 5; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3428 $as_echo "yes" >&6; }
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3431 $as_echo_n "checking for C compiler default output file name... " >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3433 $as_echo "$ac_file" >&6; }
3434 ac_exeext=$ac_cv_exeext
3436 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3437 ac_clean_files=$ac_clean_files_save
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3439 $as_echo_n "checking for suffix of executables... " >&6; }
3440 if { { ac_try="$ac_link"
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_link") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; then :
3451 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3452 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3453 # work properly (i.e., refer to `conftest.exe'), while it won't with
3455 for ac_file in conftest.exe conftest conftest.*; do
3456 test -f "$ac_file" || continue
3458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3459 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3468 See \`config.log' for more details" "$LINENO" 5; }
3470 rm -f conftest conftest$ac_cv_exeext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3472 $as_echo "$ac_cv_exeext" >&6; }
3474 rm -f conftest.$ac_ext
3475 EXEEXT=$ac_cv_exeext
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3483 FILE *f = fopen ("conftest.out", "w");
3484 return ferror (f) || fclose (f) != 0;
3490 ac_clean_files="$ac_clean_files conftest.out"
3491 # Check that the compiler produces executables we can run. If not, either
3492 # the compiler is broken, or we cross compile.
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3494 $as_echo_n "checking whether we are cross compiling... " >&6; }
3495 if test "$cross_compiling" != yes; then
3496 { { ac_try="$ac_link"
3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502 $as_echo "$ac_try_echo"; } >&5
3503 (eval "$ac_link") 2>&5
3505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506 test $ac_status = 0; }
3507 if { ac_try='./conftest$ac_cv_exeext'
3508 { { case "(($ac_try" in
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513 $as_echo "$ac_try_echo"; } >&5
3514 (eval "$ac_try") 2>&5
3516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517 test $ac_status = 0; }; }; then
3520 if test "$cross_compiling" = maybe; then
3523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error $? "cannot run C compiled programs.
3526 If you meant to cross compile, use \`--host'.
3527 See \`config.log' for more details" "$LINENO" 5; }
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3532 $as_echo "$cross_compiling" >&6; }
3534 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3535 ac_clean_files=$ac_clean_files_save
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3537 $as_echo_n "checking for suffix of object files... " >&6; }
3538 if ${ac_cv_objext+:} false; then :
3539 $as_echo_n "(cached) " >&6
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 rm -f conftest.o conftest.obj
3553 if { { ac_try="$ac_compile"
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_compile") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 for ac_file in conftest.o conftest.obj conftest.*; do
3565 test -f "$ac_file" || continue;
3567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3568 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error $? "cannot compute suffix of object files: cannot compile
3579 See \`config.log' for more details" "$LINENO" 5; }
3581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3584 $as_echo "$ac_cv_objext" >&6; }
3585 OBJEXT=$ac_cv_objext
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3588 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3589 if ${ac_cv_c_compiler_gnu+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3606 if ac_fn_c_try_compile "$LINENO"; then :
3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3616 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3617 if test $ac_compiler_gnu = yes; then
3622 ac_test_CFLAGS=${CFLAGS+set}
3623 ac_save_CFLAGS=$CFLAGS
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3625 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3626 if ${ac_cv_prog_cc_g+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_save_c_werror_flag=$ac_c_werror_flag
3630 ac_c_werror_flag=yes
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3644 if ac_fn_c_try_compile "$LINENO"; then :
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3662 ac_c_werror_flag=$ac_save_c_werror_flag
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3675 if ac_fn_c_try_compile "$LINENO"; then :
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683 ac_c_werror_flag=$ac_save_c_werror_flag
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3686 $as_echo "$ac_cv_prog_cc_g" >&6; }
3687 if test "$ac_test_CFLAGS" = set; then
3688 CFLAGS=$ac_save_CFLAGS
3689 elif test $ac_cv_prog_cc_g = yes; then
3690 if test "$GCC" = yes; then
3696 if test "$GCC" = yes; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3703 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3704 if ${ac_cv_prog_cc_c89+:} false; then :
3705 $as_echo_n "(cached) " >&6
3707 ac_cv_prog_cc_c89=no
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3714 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3715 struct buf { int x; };
3716 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3717 static char *e (p, i)
3723 static char *f (char * (*g) (char **, int), char **p, ...)
3728 s = g (p, va_arg (v,int));
3733 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3734 function prototypes and stuff, but not '\xHH' hex character constants.
3735 These don't provoke an error unfortunately, instead are silently treated
3736 as 'x'. The following induces an error, until -std is added to get
3737 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3738 array size at least. It's necessary to write '\x00'==0 to get something
3739 that's true only with -std. */
3740 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3742 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3743 inside strings and character constants. */
3745 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3747 int test (int i, double x);
3748 struct s1 {int (*f) (int a);};
3749 struct s2 {int (*f) (double a);};
3750 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3756 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3761 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3762 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3764 CC="$ac_save_CC $ac_arg"
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766 ac_cv_prog_cc_c89=$ac_arg
3768 rm -f core conftest.err conftest.$ac_objext
3769 test "x$ac_cv_prog_cc_c89" != "xno" && break
3771 rm -f conftest.$ac_ext
3776 case "x$ac_cv_prog_cc_c89" in
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3779 $as_echo "none needed" >&6; } ;;
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3782 $as_echo "unsupported" >&6; } ;;
3784 CC="$CC $ac_cv_prog_cc_c89"
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3786 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3788 if test "x$ac_cv_prog_cc_c89" != xno; then :
3793 ac_cpp='$CPP $CPPFLAGS'
3794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3797 DEPDIR="${am__leading_dot}deps"
3799 ac_config_commands="$ac_config_commands depfiles"
3802 am_make=${MAKE-make}
3803 cat > confinc << 'END'
3805 @echo this is the am__doit target
3808 # If we don't find an include directive, just comment out the code.
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3810 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3814 # First try GNU make style include.
3815 echo "include confinc" > confmf
3816 # Ignore all kinds of additional output from 'make'.
3817 case `$am_make -s -f confmf 2> /dev/null` in #(
3818 *the\ am__doit\ target*)
3824 # Now try BSD make style include.
3825 if test "$am__include" = "#"; then
3826 echo '.include "confinc"' > confmf
3827 case `$am_make -s -f confmf 2> /dev/null` in #(
3828 *the\ am__doit\ target*)
3829 am__include=.include
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3838 $as_echo "$_am_result" >&6; }
3839 rm -f confinc confmf
3841 # Check whether --enable-dependency-tracking was given.
3842 if test "${enable_dependency_tracking+set}" = set; then :
3843 enableval=$enable_dependency_tracking;
3846 if test "x$enable_dependency_tracking" != xno; then
3847 am_depcomp="$ac_aux_dir/depcomp"
3851 if test "x$enable_dependency_tracking" != xno; then
3861 depcc="$CC" am_compiler_list=
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3864 $as_echo_n "checking dependency style of $depcc... " >&6; }
3865 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3866 $as_echo_n "(cached) " >&6
3868 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3869 # We make a subdir and do the tests there. Otherwise we can end up
3870 # making bogus files that we don't know about and never remove. For
3871 # instance it was reported that on HP-UX the gcc test will end up
3872 # making a dummy file named 'D' -- because '-MD' means "put the output
3876 # Copy depcomp to subdir because otherwise we won't find it if we're
3877 # using a relative directory.
3878 cp "$am_depcomp" conftest.dir
3880 # We will build objects and dependencies in a subdirectory because
3881 # it helps to detect inapplicable dependency modes. For instance
3882 # both Tru64's cc and ICC support -MD to output dependencies as a
3883 # side effect of compilation, but ICC will put the dependencies in
3884 # the current directory while Tru64 will put them in the object
3888 am_cv_CC_dependencies_compiler_type=none
3889 if test "$am_compiler_list" = ""; then
3890 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3893 case " $depcc " in #(
3894 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3897 for depmode in $am_compiler_list; do
3898 # Setup a source with many dependencies, because some compilers
3899 # like to wrap large dependency lists on column 80 (with \), and
3900 # we should not choose a depcomp mode which is confused by this.
3902 # We need to recreate these files for each test, as the compiler may
3903 # overwrite some of them when testing with obscure command lines.
3904 # This happens at least with the AIX C compiler.
3906 for i in 1 2 3 4 5 6; do
3907 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3908 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3909 # Solaris 10 /bin/sh.
3910 echo '/* dummy */' > sub/conftst$i.h
3912 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3914 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3915 # mode. It turns out that the SunPro C++ compiler does not properly
3916 # handle '-M -o', and we need to detect this. Also, some Intel
3917 # versions had trouble with output in subdirs.
3918 am__obj=sub/conftest.${OBJEXT-o}
3919 am__minus_obj="-o $am__obj"
3922 # This depmode causes a compiler race in universal mode.
3923 test "$am__universal" = false || continue
3926 # After this tag, mechanisms are not by side-effect, so they'll
3927 # only be used when explicitly requested.
3928 if test "x$enable_dependency_tracking" = xyes; then
3934 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3935 # This compiler won't grok '-c -o', but also, the minuso test has
3936 # not run yet. These depmodes are late enough in the game, and
3937 # so weak that their functioning should not be impacted.
3938 am__obj=conftest.${OBJEXT-o}
3943 if depmode=$depmode \
3944 source=sub/conftest.c object=$am__obj \
3945 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3946 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3947 >/dev/null 2>conftest.err &&
3948 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3949 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3950 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3951 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3952 # icc doesn't choke on unknown options, it will just issue warnings
3953 # or remarks (even with -Werror). So we grep stderr for any message
3954 # that says an option was ignored or not supported.
3955 # When given -MP, icc 7.0 and 7.1 complain thusly:
3956 # icc: Command line warning: ignoring option '-M'; no argument required
3957 # The diagnosis changed in icc 8.0:
3958 # icc: Command line remark: option '-MP' not supported
3959 if (grep 'ignoring option' conftest.err ||
3960 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3961 am_cv_CC_dependencies_compiler_type=$depmode
3970 am_cv_CC_dependencies_compiler_type=none
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3975 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3976 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3979 test "x$enable_dependency_tracking" != xno \
3980 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3982 am__fastdepCC_FALSE='#'
3984 am__fastdepCC_TRUE='#'
3985 am__fastdepCC_FALSE=
3989 if test "x$CC" != xcc; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3991 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3994 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3996 set dummy $CC; ac_cc=`$as_echo "$2" |
3997 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3998 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3999 $as_echo_n "(cached) " >&6
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4012 # Make sure it works both with $CC and with simple cc.
4013 # We do the test twice because some compilers refuse to overwrite an
4014 # existing .o file with -o, though they will create one.
4015 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4017 if { { case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_try") 2>&5
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; } &&
4027 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; };
4038 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4039 if test "x$CC" != xcc; then
4040 # Test first that cc exists at all.
4041 if { ac_try='cc -c conftest.$ac_ext >&5'
4042 { { case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_try") 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; }; then
4052 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4054 if { { case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; } &&
4064 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_try") 2>&5
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; };
4078 # cc exists but doesn't like -o.
4079 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4084 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4086 rm -f core conftest*
4089 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4091 $as_echo "yes" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4096 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4100 # FIXME: we rely on the cache variable name because
4101 # there is no other way.
4103 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4104 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4105 if test "$am_t" != yes; then
4106 # Losing compiler, so override with the script.
4107 # FIXME: It is wrong to rewrite CC.
4108 # But if we don't then we get into trouble of one sort or another.
4109 # A longer-term fix would be to have automake use am__CC in this case,
4110 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4111 CC="$am_aux_dir/compile $CC"
4117 ac_cpp='$CPP $CPPFLAGS'
4118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4122 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4123 # On Suns, sometimes $CPP names a directory.
4124 if test -n "$CPP" && test -d "$CPP"; then
4127 if test -z "$CPP"; then
4128 if ${ac_cv_prog_CPP+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 # Double quotes because CPP needs to be expanded
4132 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4135 for ac_c_preproc_warn_flag in '' yes
4137 # Use a header file that comes with gcc, so configuring glibc
4138 # with a fresh cross-compiler works.
4139 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 # <limits.h> exists even on freestanding compilers.
4141 # On the NeXT, cc -E runs the code through the compiler's parser,
4142 # not just through cpp. "Syntax error" is here to catch this case.
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4146 # include <limits.h>
4148 # include <assert.h>
4152 if ac_fn_c_try_cpp "$LINENO"; then :
4155 # Broken: fails on valid input.
4158 rm -f conftest.err conftest.i conftest.$ac_ext
4160 # OK, works on sane cases. Now check whether nonexistent headers
4161 # can be detected and how.
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164 #include <ac_nonexistent.h>
4166 if ac_fn_c_try_cpp "$LINENO"; then :
4167 # Broken: success on invalid input.
4170 # Passes both tests.
4174 rm -f conftest.err conftest.i conftest.$ac_ext
4177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4178 rm -f conftest.i conftest.err conftest.$ac_ext
4179 if $ac_preproc_ok; then :
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4192 $as_echo "$CPP" >&6; }
4194 for ac_c_preproc_warn_flag in '' yes
4196 # Use a header file that comes with gcc, so configuring glibc
4197 # with a fresh cross-compiler works.
4198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4199 # <limits.h> exists even on freestanding compilers.
4200 # On the NeXT, cc -E runs the code through the compiler's parser,
4201 # not just through cpp. "Syntax error" is here to catch this case.
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4205 # include <limits.h>
4207 # include <assert.h>
4211 if ac_fn_c_try_cpp "$LINENO"; then :
4214 # Broken: fails on valid input.
4217 rm -f conftest.err conftest.i conftest.$ac_ext
4219 # OK, works on sane cases. Now check whether nonexistent headers
4220 # can be detected and how.
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4223 #include <ac_nonexistent.h>
4225 if ac_fn_c_try_cpp "$LINENO"; then :
4226 # Broken: success on invalid input.
4229 # Passes both tests.
4233 rm -f conftest.err conftest.i conftest.$ac_ext
4236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4237 rm -f conftest.i conftest.err conftest.$ac_ext
4238 if $ac_preproc_ok; then :
4241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4243 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4244 See \`config.log' for more details" "$LINENO" 5; }
4248 ac_cpp='$CPP $CPPFLAGS'
4249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4255 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4256 if ${ac_cv_path_GREP+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -z "$GREP"; then
4260 ac_path_GREP_found=false
4261 # Loop through the user's path and test for each of PROGNAME-LIST
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4266 test -z "$as_dir" && as_dir=.
4267 for ac_prog in grep ggrep; do
4268 for ac_exec_ext in '' $ac_executable_extensions; do
4269 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4270 as_fn_executable_p "$ac_path_GREP" || continue
4271 # Check for GNU ac_path_GREP and select it if it is found.
4272 # Check for GNU $ac_path_GREP
4273 case `"$ac_path_GREP" --version 2>&1` in
4275 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4278 $as_echo_n 0123456789 >"conftest.in"
4281 cat "conftest.in" "conftest.in" >"conftest.tmp"
4282 mv "conftest.tmp" "conftest.in"
4283 cp "conftest.in" "conftest.nl"
4284 $as_echo 'GREP' >> "conftest.nl"
4285 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4286 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4287 as_fn_arith $ac_count + 1 && ac_count=$as_val
4288 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4289 # Best one so far, save it but keep looking for a better one
4290 ac_cv_path_GREP="$ac_path_GREP"
4291 ac_path_GREP_max=$ac_count
4293 # 10*(2^10) chars as input seems more than enough
4294 test $ac_count -gt 10 && break
4296 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4299 $ac_path_GREP_found && break 3
4304 if test -z "$ac_cv_path_GREP"; then
4305 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4308 ac_cv_path_GREP=$GREP
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4313 $as_echo "$ac_cv_path_GREP" >&6; }
4314 GREP="$ac_cv_path_GREP"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4318 $as_echo_n "checking for egrep... " >&6; }
4319 if ${ac_cv_path_EGREP+:} false; then :
4320 $as_echo_n "(cached) " >&6
4322 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4323 then ac_cv_path_EGREP="$GREP -E"
4325 if test -z "$EGREP"; then
4326 ac_path_EGREP_found=false
4327 # Loop through the user's path and test for each of PROGNAME-LIST
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4332 test -z "$as_dir" && as_dir=.
4333 for ac_prog in egrep; do
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4336 as_fn_executable_p "$ac_path_EGREP" || continue
4337 # Check for GNU ac_path_EGREP and select it if it is found.
4338 # Check for GNU $ac_path_EGREP
4339 case `"$ac_path_EGREP" --version 2>&1` in
4341 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4344 $as_echo_n 0123456789 >"conftest.in"
4347 cat "conftest.in" "conftest.in" >"conftest.tmp"
4348 mv "conftest.tmp" "conftest.in"
4349 cp "conftest.in" "conftest.nl"
4350 $as_echo 'EGREP' >> "conftest.nl"
4351 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4352 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4353 as_fn_arith $ac_count + 1 && ac_count=$as_val
4354 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4355 # Best one so far, save it but keep looking for a better one
4356 ac_cv_path_EGREP="$ac_path_EGREP"
4357 ac_path_EGREP_max=$ac_count
4359 # 10*(2^10) chars as input seems more than enough
4360 test $ac_count -gt 10 && break
4362 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4365 $ac_path_EGREP_found && break 3
4370 if test -z "$ac_cv_path_EGREP"; then
4371 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4374 ac_cv_path_EGREP=$EGREP
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4380 $as_echo "$ac_cv_path_EGREP" >&6; }
4381 EGREP="$ac_cv_path_EGREP"
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4385 $as_echo_n "checking for ANSI C header files... " >&6; }
4386 if ${ac_cv_header_stdc+:} false; then :
4387 $as_echo_n "(cached) " >&6
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4404 if ac_fn_c_try_compile "$LINENO"; then :
4405 ac_cv_header_stdc=yes
4407 ac_cv_header_stdc=no
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 if test $ac_cv_header_stdc = yes; then
4412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4419 $EGREP "memchr" >/dev/null 2>&1; then :
4422 ac_cv_header_stdc=no
4428 if test $ac_cv_header_stdc = yes; then
4429 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4436 $EGREP "free" >/dev/null 2>&1; then :
4439 ac_cv_header_stdc=no
4445 if test $ac_cv_header_stdc = yes; then
4446 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4447 if test "$cross_compiling" = yes; then :
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4454 #if ((' ' & 0x0FF) == 0x020)
4455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4458 # define ISLOWER(c) \
4459 (('a' <= (c) && (c) <= 'i') \
4460 || ('j' <= (c) && (c) <= 'r') \
4461 || ('s' <= (c) && (c) <= 'z'))
4462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4470 for (i = 0; i < 256; i++)
4471 if (XOR (islower (i), ISLOWER (i))
4472 || toupper (i) != TOUPPER (i))
4477 if ac_fn_c_try_run "$LINENO"; then :
4480 ac_cv_header_stdc=no
4482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4483 conftest.$ac_objext conftest.beam conftest.$ac_ext
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4489 $as_echo "$ac_cv_header_stdc" >&6; }
4490 if test $ac_cv_header_stdc = yes; then
4492 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4496 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4497 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4498 inttypes.h stdint.h unistd.h
4500 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4501 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4503 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4504 cat >>confdefs.h <<_ACEOF
4505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4516 for ac_header in $ac_header_list
4518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4519 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4522 cat >>confdefs.h <<_ACEOF
4523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4537 for ac_func in getpagesize
4539 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4540 if test "x$ac_cv_func_getpagesize" = xyes; then :
4541 cat >>confdefs.h <<_ACEOF
4542 #define HAVE_GETPAGESIZE 1
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4549 $as_echo_n "checking for working mmap... " >&6; }
4550 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4551 $as_echo_n "(cached) " >&6
4553 if test "$cross_compiling" = yes; then :
4554 ac_cv_func_mmap_fixed_mapped=no
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4558 $ac_includes_default
4559 /* malloc might have been renamed as rpl_malloc. */
4562 /* Thanks to Mike Haertel and Jim Avera for this test.
4563 Here is a matrix of mmap possibilities:
4564 mmap private not fixed
4565 mmap private fixed at somewhere currently unmapped
4566 mmap private fixed at somewhere already mapped
4567 mmap shared not fixed
4568 mmap shared fixed at somewhere currently unmapped
4569 mmap shared fixed at somewhere already mapped
4570 For private mappings, we should verify that changes cannot be read()
4571 back from the file, nor mmap's back from the file at a different
4572 address. (There have been systems where private was not correctly
4573 implemented like the infamous i386 svr4.0, and systems where the
4574 VM page cache was not coherent with the file system buffer cache
4575 like early versions of FreeBSD and possibly contemporary NetBSD.)
4576 For shared mappings, we should conversely verify that changes get
4577 propagated back to all the places they're supposed to be.
4579 Grep wants private fixed already mapped.
4580 The main things grep needs to know about mmap are:
4581 * does it exist and is it safe to write into the mmap'd area
4582 * how to use it (BSD variants) */
4585 #include <sys/mman.h>
4587 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4591 /* This mess was copied from the GNU getpagesize.h. */
4592 #ifndef HAVE_GETPAGESIZE
4593 # ifdef _SC_PAGESIZE
4594 # define getpagesize() sysconf(_SC_PAGESIZE)
4595 # else /* no _SC_PAGESIZE */
4596 # ifdef HAVE_SYS_PARAM_H
4597 # include <sys/param.h>
4598 # ifdef EXEC_PAGESIZE
4599 # define getpagesize() EXEC_PAGESIZE
4600 # else /* no EXEC_PAGESIZE */
4602 # define getpagesize() NBPG * CLSIZE
4605 # endif /* no CLSIZE */
4606 # else /* no NBPG */
4608 # define getpagesize() NBPC
4609 # else /* no NBPC */
4611 # define getpagesize() PAGESIZE
4612 # endif /* PAGESIZE */
4613 # endif /* no NBPC */
4614 # endif /* no NBPG */
4615 # endif /* no EXEC_PAGESIZE */
4616 # else /* no HAVE_SYS_PARAM_H */
4617 # define getpagesize() 8192 /* punt totally */
4618 # endif /* no HAVE_SYS_PARAM_H */
4619 # endif /* no _SC_PAGESIZE */
4621 #endif /* no HAVE_GETPAGESIZE */
4626 char *data, *data2, *data3;
4631 pagesize = getpagesize ();
4633 /* First, make a file with some known garbage in it. */
4634 data = (char *) malloc (pagesize);
4637 for (i = 0; i < pagesize; ++i)
4638 *(data + i) = rand ();
4640 fd = creat ("conftest.mmap", 0600);
4643 if (write (fd, data, pagesize) != pagesize)
4647 /* Next, check that the tail of a page is zero-filled. File must have
4648 non-zero length, otherwise we risk SIGBUS for entire page. */
4649 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4653 if (write (fd2, cdata2, 1) != 1)
4655 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4656 if (data2 == MAP_FAILED)
4658 for (i = 0; i < pagesize; ++i)
4662 if (munmap (data2, pagesize))
4665 /* Next, try to mmap the file at a fixed address which already has
4666 something else allocated at it. If we can, also make sure that
4667 we see the same garbage. */
4668 fd = open ("conftest.mmap", O_RDWR);
4671 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4672 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4674 for (i = 0; i < pagesize; ++i)
4675 if (*(data + i) != *(data2 + i))
4678 /* Finally, make sure that changes to the mapped area do not
4679 percolate back to the file as seen by read(). (This is a bug on
4680 some variants of i386 svr4.0.) */
4681 for (i = 0; i < pagesize; ++i)
4682 *(data2 + i) = *(data2 + i) + 1;
4683 data3 = (char *) malloc (pagesize);
4686 if (read (fd, data3, pagesize) != pagesize)
4688 for (i = 0; i < pagesize; ++i)
4689 if (*(data + i) != *(data3 + i))
4695 if ac_fn_c_try_run "$LINENO"; then :
4696 ac_cv_func_mmap_fixed_mapped=yes
4698 ac_cv_func_mmap_fixed_mapped=no
4700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4701 conftest.$ac_objext conftest.beam conftest.$ac_ext
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4706 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4707 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4709 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4712 rm -f conftest.mmap conftest.txt
4715 # Initialize libtool
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4720 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4725 macro_version='2.4.2'
4726 macro_revision='1.3337'
4740 ltmain="$ac_aux_dir/ltmain.sh"
4742 # Make sure we can run config.sub.
4743 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4744 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4747 $as_echo_n "checking build system type... " >&6; }
4748 if ${ac_cv_build+:} false; then :
4749 $as_echo_n "(cached) " >&6
4751 ac_build_alias=$build_alias
4752 test "x$ac_build_alias" = x &&
4753 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4754 test "x$ac_build_alias" = x &&
4755 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4756 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4757 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4761 $as_echo "$ac_cv_build" >&6; }
4762 case $ac_cv_build in
4764 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4767 ac_save_IFS=$IFS; IFS='-'
4773 # Remember, the first character of IFS is used to create $*,
4774 # except with old shells:
4777 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4781 $as_echo_n "checking host system type... " >&6; }
4782 if ${ac_cv_host+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if test "x$host_alias" = x; then
4786 ac_cv_host=$ac_cv_build
4788 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4789 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4794 $as_echo "$ac_cv_host" >&6; }
4797 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4800 ac_save_IFS=$IFS; IFS='-'
4806 # Remember, the first character of IFS is used to create $*,
4807 # except with old shells:
4810 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4813 # Backslashify metacharacters that are still active within
4814 # double-quoted strings.
4815 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4817 # Same as above, but do not quote variable references.
4818 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4820 # Sed substitution to delay expansion of an escaped shell variable in a
4821 # double_quote_subst'ed string.
4822 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4824 # Sed substitution to delay expansion of an escaped single quote.
4825 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4827 # Sed substitution to avoid accidental globbing in evaled expressions
4828 no_glob_subst='s/\*/\\\*/g'
4830 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4831 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4832 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4835 $as_echo_n "checking how to print strings... " >&6; }
4836 # Test print first, because it will be a builtin if present.
4837 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4838 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4840 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4843 # Use this function as a fallback that always works.
4844 func_fallback_echo ()
4846 eval 'cat <<_LTECHO_EOF
4850 ECHO='func_fallback_echo'
4853 # func_echo_all arg...
4854 # Invoke $ECHO with all args, space-separated.
4861 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4862 $as_echo "printf" >&6; } ;;
4863 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4864 $as_echo "print -r" >&6; } ;;
4865 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4866 $as_echo "cat" >&6; } ;;
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4883 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4884 if ${ac_cv_path_SED+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4888 for ac_i in 1 2 3 4 5 6 7; do
4889 ac_script="$ac_script$as_nl$ac_script"
4891 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4892 { ac_script=; unset ac_script;}
4893 if test -z "$SED"; then
4894 ac_path_SED_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in sed gsed; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4904 as_fn_executable_p "$ac_path_SED" || continue
4905 # Check for GNU ac_path_SED and select it if it is found.
4906 # Check for GNU $ac_path_SED
4907 case `"$ac_path_SED" --version 2>&1` in
4909 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4912 $as_echo_n 0123456789 >"conftest.in"
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo '' >> "conftest.nl"
4919 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_SED_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_SED="$ac_path_SED"
4925 ac_path_SED_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4933 $ac_path_SED_found && break 3
4938 if test -z "$ac_cv_path_SED"; then
4939 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4947 $as_echo "$ac_cv_path_SED" >&6; }
4948 SED="$ac_cv_path_SED"
4951 test -z "$SED" && SED=sed
4952 Xsed="$SED -e 1s/^X//"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4965 $as_echo_n "checking for fgrep... " >&6; }
4966 if ${ac_cv_path_FGREP+:} false; then :
4967 $as_echo_n "(cached) " >&6
4969 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4970 then ac_cv_path_FGREP="$GREP -F"
4972 if test -z "$FGREP"; then
4973 ac_path_FGREP_found=false
4974 # Loop through the user's path and test for each of PROGNAME-LIST
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4979 test -z "$as_dir" && as_dir=.
4980 for ac_prog in fgrep; do
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4983 as_fn_executable_p "$ac_path_FGREP" || continue
4984 # Check for GNU ac_path_FGREP and select it if it is found.
4985 # Check for GNU $ac_path_FGREP
4986 case `"$ac_path_FGREP" --version 2>&1` in
4988 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4991 $as_echo_n 0123456789 >"conftest.in"
4994 cat "conftest.in" "conftest.in" >"conftest.tmp"
4995 mv "conftest.tmp" "conftest.in"
4996 cp "conftest.in" "conftest.nl"
4997 $as_echo 'FGREP' >> "conftest.nl"
4998 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5000 as_fn_arith $ac_count + 1 && ac_count=$as_val
5001 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5002 # Best one so far, save it but keep looking for a better one
5003 ac_cv_path_FGREP="$ac_path_FGREP"
5004 ac_path_FGREP_max=$ac_count
5006 # 10*(2^10) chars as input seems more than enough
5007 test $ac_count -gt 10 && break
5009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5012 $ac_path_FGREP_found && break 3
5017 if test -z "$ac_cv_path_FGREP"; then
5018 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5021 ac_cv_path_FGREP=$FGREP
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5027 $as_echo "$ac_cv_path_FGREP" >&6; }
5028 FGREP="$ac_cv_path_FGREP"
5031 test -z "$GREP" && GREP=grep
5051 # Check whether --with-gnu-ld was given.
5052 if test "${with_gnu_ld+set}" = set; then :
5053 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5059 if test "$GCC" = yes; then
5060 # Check if gcc -print-prog-name=ld gives a path.
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5062 $as_echo_n "checking for ld used by $CC... " >&6; }
5065 # gcc leaves a trailing carriage return which upsets mingw
5066 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5068 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5071 # Accept absolute paths.
5073 re_direlt='/[^/][^/]*/\.\./'
5074 # Canonicalize the pathname of ld
5075 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5076 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5077 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5079 test -z "$LD" && LD="$ac_prog"
5082 # If it fails, then pretend we aren't using GCC.
5086 # If it is relative, then search for the first ld in PATH.
5090 elif test "$with_gnu_ld" = yes; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5092 $as_echo_n "checking for GNU ld... " >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5095 $as_echo_n "checking for non-GNU ld... " >&6; }
5097 if ${lt_cv_path_LD+:} false; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -z "$LD"; then
5101 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5102 for ac_dir in $PATH; do
5104 test -z "$ac_dir" && ac_dir=.
5105 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5106 lt_cv_path_LD="$ac_dir/$ac_prog"
5107 # Check to see if the program is GNU ld. I'd rather use --version,
5108 # but apparently some variants of GNU ld only accept -v.
5109 # Break only if it was the GNU/non-GNU ld that we prefer.
5110 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5111 *GNU* | *'with BFD'*)
5112 test "$with_gnu_ld" != no && break
5115 test "$with_gnu_ld" != yes && break
5122 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5127 if test -n "$LD"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5129 $as_echo "$LD" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5134 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5136 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5137 if ${lt_cv_prog_gnu_ld+:} false; then :
5138 $as_echo_n "(cached) " >&6
5140 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5141 case `$LD -v 2>&1 </dev/null` in
5142 *GNU* | *'with BFD'*)
5143 lt_cv_prog_gnu_ld=yes
5146 lt_cv_prog_gnu_ld=no
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5151 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5152 with_gnu_ld=$lt_cv_prog_gnu_ld
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5163 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5164 if ${lt_cv_path_NM+:} false; then :
5165 $as_echo_n "(cached) " >&6
5167 if test -n "$NM"; then
5168 # Let the user override the test.
5171 lt_nm_to_check="${ac_tool_prefix}nm"
5172 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5173 lt_nm_to_check="$lt_nm_to_check nm"
5175 for lt_tmp_nm in $lt_nm_to_check; do
5176 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5177 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5179 test -z "$ac_dir" && ac_dir=.
5180 tmp_nm="$ac_dir/$lt_tmp_nm"
5181 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5182 # Check to see if the nm accepts a BSD-compat flag.
5183 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5184 # nm: unknown option "B" ignored
5185 # Tru64's nm complains that /dev/null is an invalid object file
5186 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5187 */dev/null* | *'Invalid file or object type'*)
5188 lt_cv_path_NM="$tmp_nm -B"
5192 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5194 lt_cv_path_NM="$tmp_nm -p"
5198 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5199 continue # so that we can try to find one that supports BSD flags
5208 : ${lt_cv_path_NM=no}
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5212 $as_echo "$lt_cv_path_NM" >&6; }
5213 if test "$lt_cv_path_NM" != "no"; then
5216 # Didn't find any BSD compatible name lister, look for dumpbin.
5217 if test -n "$DUMPBIN"; then :
5218 # Let the user override the test.
5220 if test -n "$ac_tool_prefix"; then
5221 for ac_prog in dumpbin "link -dump"
5223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_DUMPBIN+:} false; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$DUMPBIN"; then
5231 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 DUMPBIN=$ac_cv_prog_DUMPBIN
5251 if test -n "$DUMPBIN"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5253 $as_echo "$DUMPBIN" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5260 test -n "$DUMPBIN" && break
5263 if test -z "$DUMPBIN"; then
5264 ac_ct_DUMPBIN=$DUMPBIN
5265 for ac_prog in dumpbin "link -dump"
5267 # Extract the first word of "$ac_prog", so it can be a program name with args.
5268 set dummy $ac_prog; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_DUMPBIN"; then
5275 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5295 if test -n "$ac_ct_DUMPBIN"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5297 $as_echo "$ac_ct_DUMPBIN" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5304 test -n "$ac_ct_DUMPBIN" && break
5307 if test "x$ac_ct_DUMPBIN" = x; then
5310 case $cross_compiling:$ac_tool_warned in
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5314 ac_tool_warned=yes ;;
5316 DUMPBIN=$ac_ct_DUMPBIN
5320 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5322 DUMPBIN="$DUMPBIN -symbols"
5330 if test "$DUMPBIN" != ":"; then
5334 test -z "$NM" && NM=nm
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5342 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5343 if ${lt_cv_nm_interface+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 lt_cv_nm_interface="BSD nm"
5347 echo "int some_variable = 0;" > conftest.$ac_ext
5348 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5349 (eval "$ac_compile" 2>conftest.err)
5350 cat conftest.err >&5
5351 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5352 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5353 cat conftest.err >&5
5354 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5355 cat conftest.out >&5
5356 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5357 lt_cv_nm_interface="MS dumpbin"
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5362 $as_echo "$lt_cv_nm_interface" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5365 $as_echo_n "checking whether ln -s works... " >&6; }
5367 if test "$LN_S" = "ln -s"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5369 $as_echo "yes" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5372 $as_echo "no, using $LN_S" >&6; }
5375 # find the maximum length of command line arguments
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5377 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5378 if ${lt_cv_sys_max_cmd_len+:} false; then :
5379 $as_echo_n "(cached) " >&6
5386 # On DJGPP, this test can blow up pretty badly due to problems in libc
5387 # (any single argument exceeding 2000 bytes causes a buffer overrun
5388 # during glob expansion). Even if it were fixed, the result of this
5389 # check would be larger than it should be.
5390 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5394 # Under GNU Hurd, this test is not required because there is
5395 # no limit to the length of command line arguments.
5396 # Libtool will interpret -1 as no limit whatsoever
5397 lt_cv_sys_max_cmd_len=-1;
5400 cygwin* | mingw* | cegcc*)
5401 # On Win9x/ME, this test blows up -- it succeeds, but takes
5402 # about 5 minutes as the teststring grows exponentially.
5403 # Worse, since 9x/ME are not pre-emptively multitasking,
5404 # you end up with a "frozen" computer, even though with patience
5405 # the test eventually succeeds (with a max line length of 256k).
5406 # Instead, let's just punt: use the minimum linelength reported by
5407 # all of the supported platforms: 8192 (on NT/2K/XP).
5408 lt_cv_sys_max_cmd_len=8192;
5412 # On MiNT this can take a long time and run out of memory.
5413 lt_cv_sys_max_cmd_len=8192;
5417 # On AmigaOS with pdksh, this test takes hours, literally.
5418 # So we just punt and use a minimum line length of 8192.
5419 lt_cv_sys_max_cmd_len=8192;
5422 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5423 # This has been around since 386BSD, at least. Likely further.
5424 if test -x /sbin/sysctl; then
5425 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5426 elif test -x /usr/sbin/sysctl; then
5427 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5429 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5431 # And add a safety zone
5432 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5433 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5437 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5438 lt_cv_sys_max_cmd_len=196608
5442 # The test takes a long time on OS/2.
5443 lt_cv_sys_max_cmd_len=8192
5447 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5448 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5449 # nice to cause kernel panics so lets avoid the loop below.
5450 # First set a reasonable default.
5451 lt_cv_sys_max_cmd_len=16384
5453 if test -x /sbin/sysconfig; then
5454 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5455 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5460 lt_cv_sys_max_cmd_len=102400
5462 sysv5* | sco5v6* | sysv4.2uw2*)
5463 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5464 if test -n "$kargmax"; then
5465 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5467 lt_cv_sys_max_cmd_len=32768
5471 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5472 if test -n "$lt_cv_sys_max_cmd_len" && \
5473 test undefined != "$lt_cv_sys_max_cmd_len"; then
5474 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5475 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5477 # Make teststring a little bigger before we do anything with it.
5478 # a 1K string should be a reasonable start.
5479 for i in 1 2 3 4 5 6 7 8 ; do
5480 teststring=$teststring$teststring
5482 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5483 # If test is not a shell built-in, we'll probably end up computing a
5484 # maximum length that is only half of the actual maximum length, but
5486 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5487 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5488 test $i != 17 # 1/2 MB should be enough
5491 teststring=$teststring$teststring
5493 # Only check the string length outside the loop.
5494 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5496 # Add a significant safety factor because C++ compilers can tack on
5497 # massive amounts of additional arguments before passing them to the
5498 # linker. It appears as though 1/2 is a usable value.
5499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5506 if test -n $lt_cv_sys_max_cmd_len ; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5508 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5511 $as_echo "none" >&6; }
5513 max_cmd_len=$lt_cv_sys_max_cmd_len
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5525 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5526 # Try some XSI features
5529 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5531 && eval 'test $(( 1 + 1 )) -eq 2 \
5532 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5535 $as_echo "$xsi_shell" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5539 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5541 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5543 && lt_shell_append=yes
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5545 $as_echo "$lt_shell_append" >&6; }
5548 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5558 # test EBCDIC or ASCII
5559 case `echo X|tr X '\101'` in
5560 A) # ASCII based system
5561 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5562 lt_SP2NL='tr \040 \012'
5563 lt_NL2SP='tr \015\012 \040\040'
5565 *) # EBCDIC based system
5566 lt_SP2NL='tr \100 \n'
5567 lt_NL2SP='tr \r\n \100\100'
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5580 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5581 if ${lt_cv_to_host_file_cmd+:} false; then :
5582 $as_echo_n "(cached) " >&6
5587 *-*-mingw* ) # actually msys
5588 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5591 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5593 * ) # otherwise, assume *nix
5594 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5600 *-*-mingw* ) # actually msys
5601 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5604 lt_cv_to_host_file_cmd=func_convert_file_noop
5606 * ) # otherwise, assume *nix
5607 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5611 * ) # unhandled hosts (and "normal" native builds)
5612 lt_cv_to_host_file_cmd=func_convert_file_noop
5618 to_host_file_cmd=$lt_cv_to_host_file_cmd
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5620 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5627 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5628 if ${lt_cv_to_tool_file_cmd+:} false; then :
5629 $as_echo_n "(cached) " >&6
5631 #assume ordinary cross tools, or native build.
5632 lt_cv_to_tool_file_cmd=func_convert_file_noop
5636 *-*-mingw* ) # actually msys
5637 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5645 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5647 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5654 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5655 if ${lt_cv_ld_reload_flag+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 lt_cv_ld_reload_flag='-r'
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5661 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5662 reload_flag=$lt_cv_ld_reload_flag
5663 case $reload_flag in
5665 *) reload_flag=" $reload_flag" ;;
5667 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5669 cygwin* | mingw* | pw32* | cegcc*)
5670 if test "$GCC" != yes; then
5675 if test "$GCC" = yes; then
5676 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5678 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5691 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5693 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_OBJDUMP+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$OBJDUMP"; then
5700 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 OBJDUMP=$ac_cv_prog_OBJDUMP
5720 if test -n "$OBJDUMP"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5722 $as_echo "$OBJDUMP" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5730 if test -z "$ac_cv_prog_OBJDUMP"; then
5731 ac_ct_OBJDUMP=$OBJDUMP
5732 # Extract the first word of "objdump", so it can be a program name with args.
5733 set dummy objdump; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$ac_ct_OBJDUMP"; then
5740 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5760 if test -n "$ac_ct_OBJDUMP"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5762 $as_echo "$ac_ct_OBJDUMP" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5768 if test "x$ac_ct_OBJDUMP" = x; then
5771 case $cross_compiling:$ac_tool_warned in
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5775 ac_tool_warned=yes ;;
5777 OBJDUMP=$ac_ct_OBJDUMP
5780 OBJDUMP="$ac_cv_prog_OBJDUMP"
5783 test -z "$OBJDUMP" && OBJDUMP=objdump
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5791 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5792 if ${lt_cv_deplibs_check_method+:} false; then :
5793 $as_echo_n "(cached) " >&6
5795 lt_cv_file_magic_cmd='$MAGIC_CMD'
5796 lt_cv_file_magic_test_file=
5797 lt_cv_deplibs_check_method='unknown'
5798 # Need to set the preceding variable on all platforms that support
5799 # interlibrary dependencies.
5800 # 'none' -- dependencies not supported.
5801 # `unknown' -- same as none, but documents that we really don't know.
5802 # 'pass_all' -- all dependencies passed with no checks.
5803 # 'test_compile' -- check by making test program.
5804 # 'file_magic [[regex]]' -- check by looking for files in library path
5805 # which responds to the $file_magic_cmd with a given extended regex.
5806 # If you have `file' or equivalent on your system and you're not sure
5807 # whether `pass_all' will *always* work, you probably want this one.
5811 lt_cv_deplibs_check_method=pass_all
5815 lt_cv_deplibs_check_method=pass_all
5819 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5820 lt_cv_file_magic_cmd='/usr/bin/file -L'
5821 lt_cv_file_magic_test_file=/shlib/libc.so
5825 # func_win32_libid is a shell function defined in ltmain.sh
5826 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5827 lt_cv_file_magic_cmd='func_win32_libid'
5831 # Base MSYS/MinGW do not provide the 'file' command needed by
5832 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5833 # unless we find 'file', for example because we are cross-compiling.
5834 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5835 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5836 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5837 lt_cv_file_magic_cmd='func_win32_libid'
5839 # Keep this pattern in sync with the one in func_win32_libid.
5840 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5841 lt_cv_file_magic_cmd='$OBJDUMP -f'
5846 # use the weaker test based on 'objdump'. See mingw*.
5847 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5848 lt_cv_file_magic_cmd='$OBJDUMP -f'
5851 darwin* | rhapsody*)
5852 lt_cv_deplibs_check_method=pass_all
5855 freebsd* | dragonfly*)
5856 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5859 # Not sure whether the presence of OpenBSD here was a mistake.
5860 # Let's accept both of them until this is cleared up.
5861 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5862 lt_cv_file_magic_cmd=/usr/bin/file
5863 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5867 lt_cv_deplibs_check_method=pass_all
5872 lt_cv_deplibs_check_method=pass_all
5875 hpux10.20* | hpux11*)
5876 lt_cv_file_magic_cmd=/usr/bin/file
5879 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5880 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5883 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]'
5884 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5887 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5888 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5894 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5895 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5898 irix5* | irix6* | nonstopux*)
5900 *-32|*"-32 ") libmagic=32-bit;;
5901 *-n32|*"-n32 ") libmagic=N32;;
5902 *-64|*"-64 ") libmagic=64-bit;;
5903 *) libmagic=never-match;;
5905 lt_cv_deplibs_check_method=pass_all
5908 # This must be glibc/ELF.
5909 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5910 lt_cv_deplibs_check_method=pass_all
5913 netbsd* | netbsdelf*-gnu)
5914 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5915 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5917 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5923 lt_cv_file_magic_cmd=/usr/bin/file
5924 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5928 lt_cv_deplibs_check_method=pass_all
5932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5933 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5935 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5939 osf3* | osf4* | osf5*)
5940 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method=pass_all
5951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5952 lt_cv_deplibs_check_method=pass_all
5956 case $host_vendor in
5958 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]'
5959 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5962 lt_cv_deplibs_check_method=pass_all
5965 lt_cv_file_magic_cmd='/bin/file'
5966 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5969 lt_cv_file_magic_cmd='/bin/file'
5970 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5971 lt_cv_file_magic_test_file=/lib/libc.so
5974 lt_cv_deplibs_check_method=pass_all
5977 lt_cv_deplibs_check_method=pass_all
5983 lt_cv_deplibs_check_method=pass_all
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5989 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5993 if test "$build" = "$host"; then
5996 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5999 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6005 file_magic_cmd=$lt_cv_file_magic_cmd
6006 deplibs_check_method=$lt_cv_deplibs_check_method
6007 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6030 if test -n "$ac_tool_prefix"; then
6031 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6032 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_DLLTOOL+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$DLLTOOL"; then
6039 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 DLLTOOL=$ac_cv_prog_DLLTOOL
6059 if test -n "$DLLTOOL"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6061 $as_echo "$DLLTOOL" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6069 if test -z "$ac_cv_prog_DLLTOOL"; then
6070 ac_ct_DLLTOOL=$DLLTOOL
6071 # Extract the first word of "dlltool", so it can be a program name with args.
6072 set dummy dlltool; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6076 $as_echo_n "(cached) " >&6
6078 if test -n "$ac_ct_DLLTOOL"; then
6079 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6099 if test -n "$ac_ct_DLLTOOL"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6101 $as_echo "$ac_ct_DLLTOOL" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6107 if test "x$ac_ct_DLLTOOL" = x; then
6110 case $cross_compiling:$ac_tool_warned in
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned=yes ;;
6116 DLLTOOL=$ac_ct_DLLTOOL
6119 DLLTOOL="$ac_cv_prog_DLLTOOL"
6122 test -z "$DLLTOOL" && DLLTOOL=dlltool
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6131 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6132 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6133 $as_echo_n "(cached) " >&6
6135 lt_cv_sharedlib_from_linklib_cmd='unknown'
6138 cygwin* | mingw* | pw32* | cegcc*)
6139 # two different shell functions defined in ltmain.sh
6140 # decide which to use based on capabilities of $DLLTOOL
6141 case `$DLLTOOL --help 2>&1` in
6142 *--identify-strict*)
6143 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6146 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6151 # fallback: assume linklib IS sharedlib
6152 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6158 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6159 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6160 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6168 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_AR+:} false; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$AR"; then
6179 ac_cv_prog_AR="$AR" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 if test -n "$AR"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6201 $as_echo "$AR" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6208 test -n "$AR" && break
6211 if test -z "$AR"; then
6215 # Extract the first word of "$ac_prog", so it can be a program name with args.
6216 set dummy $ac_prog; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -n "$ac_ct_AR"; then
6223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_ac_ct_AR="$ac_prog"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6243 if test -n "$ac_ct_AR"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6245 $as_echo "$ac_ct_AR" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6252 test -n "$ac_ct_AR" && break
6255 if test "x$ac_ct_AR" = x; then
6258 case $cross_compiling:$ac_tool_warned in
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6262 ac_tool_warned=yes ;;
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6282 $as_echo_n "checking for archiver @FILE support... " >&6; }
6283 if ${lt_cv_ar_at_file+:} false; then :
6284 $as_echo_n "(cached) " >&6
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6298 if ac_fn_c_try_compile "$LINENO"; then :
6299 echo conftest.$ac_objext > conftest.lst
6300 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6301 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6302 (eval $lt_ar_try) 2>&5
6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6305 test $ac_status = 0; }
6306 if test "$ac_status" -eq 0; then
6307 # Ensure the archiver fails upon bogus file names.
6308 rm -f conftest.$ac_objext libconftest.a
6309 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6310 (eval $lt_ar_try) 2>&5
6312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313 test $ac_status = 0; }
6314 if test "$ac_status" -ne 0; then
6318 rm -f conftest.* libconftest.a
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6325 $as_echo "$lt_cv_ar_at_file" >&6; }
6327 if test "x$lt_cv_ar_at_file" = xno; then
6330 archiver_list_spec=$lt_cv_ar_at_file
6339 if test -n "$ac_tool_prefix"; then
6340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6341 set dummy ${ac_tool_prefix}strip; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if ${ac_cv_prog_STRIP+:} false; then :
6345 $as_echo_n "(cached) " >&6
6347 if test -n "$STRIP"; then
6348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 STRIP=$ac_cv_prog_STRIP
6368 if test -n "$STRIP"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6370 $as_echo "$STRIP" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6378 if test -z "$ac_cv_prog_STRIP"; then
6380 # Extract the first word of "strip", so it can be a program name with args.
6381 set dummy strip; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6385 $as_echo_n "(cached) " >&6
6387 if test -n "$ac_ct_STRIP"; then
6388 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_ac_ct_STRIP="strip"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6408 if test -n "$ac_ct_STRIP"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6410 $as_echo "$ac_ct_STRIP" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6416 if test "x$ac_ct_STRIP" = x; then
6419 case $cross_compiling:$ac_tool_warned in
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6423 ac_tool_warned=yes ;;
6428 STRIP="$ac_cv_prog_STRIP"
6431 test -z "$STRIP" && STRIP=:
6438 if test -n "$ac_tool_prefix"; then
6439 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6440 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_RANLIB+:} false; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -n "$RANLIB"; then
6447 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 RANLIB=$ac_cv_prog_RANLIB
6467 if test -n "$RANLIB"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6469 $as_echo "$RANLIB" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6477 if test -z "$ac_cv_prog_RANLIB"; then
6478 ac_ct_RANLIB=$RANLIB
6479 # Extract the first word of "ranlib", so it can be a program name with args.
6480 set dummy ranlib; ac_word=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6484 $as_echo_n "(cached) " >&6
6486 if test -n "$ac_ct_RANLIB"; then
6487 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_ac_ct_RANLIB="ranlib"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6507 if test -n "$ac_ct_RANLIB"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6509 $as_echo "$ac_ct_RANLIB" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6515 if test "x$ac_ct_RANLIB" = x; then
6518 case $cross_compiling:$ac_tool_warned in
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned=yes ;;
6524 RANLIB=$ac_ct_RANLIB
6527 RANLIB="$ac_cv_prog_RANLIB"
6530 test -z "$RANLIB" && RANLIB=:
6537 # Determine commands to create old-style static archives.
6538 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6539 old_postinstall_cmds='chmod 644 $oldlib'
6540 old_postuninstall_cmds=
6542 if test -n "$RANLIB"; then
6545 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6548 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6551 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6556 lock_old_archive_extraction=yes ;;
6558 lock_old_archive_extraction=no ;;
6599 # If no C compiler was specified, use CC.
6602 # If no C compiler flags were specified, use CFLAGS.
6603 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6605 # Allow CC to be a program name with arguments.
6609 # Check for command to grab the raw symbol name followed by C symbol from nm.
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6611 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6612 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6613 $as_echo_n "(cached) " >&6
6616 # These are sane defaults that work on at least a few old systems.
6617 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6619 # Character class describing NM global symbol codes.
6620 symcode='[BCDEGRST]'
6622 # Regexp to match symbols that can be accessed directly from C.
6623 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6625 # Define system-specific variables.
6630 cygwin* | mingw* | pw32* | cegcc*)
6631 symcode='[ABCDGISTW]'
6634 if test "$host_cpu" = ia64; then
6635 symcode='[ABCDEGRST]'
6639 symcode='[BCDEGRST]'
6642 symcode='[BCDEGQRST]'
6653 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6661 # If we're using GNU nm, then use its standard symbol codes.
6662 case `$NM -V 2>&1` in
6663 *GNU* | *'with BFD'*)
6664 symcode='[ABCDGIRSTW]' ;;
6667 # Transform an extracted symbol line into a proper C declaration.
6668 # Some systems (esp. on ia64) link data and code symbols differently,
6669 # so use this general approach.
6670 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6672 # Transform an extracted symbol line into symbol name and symbol address
6673 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6674 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'"
6676 # Handle CRLF in mingw tool chain
6680 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6684 # Try without a prefix underscore, then with it.
6685 for ac_symprfx in "" "_"; do
6687 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6688 symxfrm="\\1 $ac_symprfx\\2 \\2"
6690 # Write the raw and C identifiers.
6691 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6692 # Fake it for dumpbin and say T for any non-static function
6693 # and D for any global variable.
6694 # Also find C++ and __fastcall symbols from MSVC++,
6695 # which start with @ or ?.
6696 lt_cv_sys_global_symbol_pipe="$AWK '"\
6697 " {last_section=section; section=\$ 3};"\
6698 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6699 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6700 " \$ 0!~/External *\|/{next};"\
6701 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6702 " {if(hide[section]) next};"\
6703 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6704 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6705 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6706 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6707 " ' prfx=^$ac_symprfx"
6709 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6711 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6713 # Check to see that the pipe works correctly.
6717 cat > conftest.$ac_ext <<_LT_EOF
6722 void nm_test_func(void);
6723 void nm_test_func(void){}
6727 int main(){nm_test_var='a';nm_test_func();return(0);}
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 # Now try to grab the symbols.
6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6738 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; } && test -s "$nlist"; then
6742 # Try sorting and uniquifying the output.
6743 if sort "$nlist" | uniq > "$nlist"T; then
6744 mv -f "$nlist"T "$nlist"
6749 # Make sure that we snagged all the symbols we need.
6750 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6751 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6752 cat <<_LT_EOF > conftest.$ac_ext
6753 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6754 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6755 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6756 relocations are performed -- see ld's documentation on pseudo-relocs. */
6757 # define LT_DLSYM_CONST
6758 #elif defined(__osf__)
6759 /* This system does not cope well with relocations in const data. */
6760 # define LT_DLSYM_CONST
6762 # define LT_DLSYM_CONST const
6770 # Now generate the symbol file.
6771 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6773 cat <<_LT_EOF >> conftest.$ac_ext
6775 /* The mapping between symbol names and symbols. */
6776 LT_DLSYM_CONST struct {
6780 lt__PROGRAM__LTX_preloaded_symbols[] =
6782 { "@PROGRAM@", (void *) 0 },
6784 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6785 cat <<\_LT_EOF >> conftest.$ac_ext
6789 /* This works around a problem in FreeBSD linker */
6790 #ifdef FREEBSD_WORKAROUND
6791 static const void *lt_preloaded_setup() {
6792 return lt__PROGRAM__LTX_preloaded_symbols;
6800 # Now try linking the two files.
6801 mv conftest.$ac_objext conftstm.$ac_objext
6802 lt_globsym_save_LIBS=$LIBS
6803 lt_globsym_save_CFLAGS=$CFLAGS
6804 LIBS="conftstm.$ac_objext"
6805 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6807 (eval $ac_link) 2>&5
6809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6810 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6813 LIBS=$lt_globsym_save_LIBS
6814 CFLAGS=$lt_globsym_save_CFLAGS
6816 echo "cannot find nm_test_func in $nlist" >&5
6819 echo "cannot find nm_test_var in $nlist" >&5
6822 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6825 echo "$progname: failed program was:" >&5
6826 cat conftest.$ac_ext >&5
6828 rm -rf conftest* conftst*
6830 # Do not use the global_symbol_pipe unless it works.
6831 if test "$pipe_works" = yes; then
6834 lt_cv_sys_global_symbol_pipe=
6840 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6841 lt_cv_sys_global_symbol_to_cdecl=
6843 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6845 $as_echo "failed" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6848 $as_echo "ok" >&6; }
6851 # Response file support.
6852 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6853 nm_file_list_spec='@'
6854 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6855 nm_file_list_spec='@'
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6885 $as_echo_n "checking for sysroot... " >&6; }
6887 # Check whether --with-sysroot was given.
6888 if test "${with_sysroot+set}" = set; then :
6889 withval=$with_sysroot;
6896 case ${with_sysroot} in #(
6898 if test "$GCC" = yes; then
6899 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6903 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6909 $as_echo "${with_sysroot}" >&6; }
6910 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6915 $as_echo "${lt_sysroot:-no}" >&6; }
6921 # Check whether --enable-libtool-lock was given.
6922 if test "${enable_libtool_lock+set}" = set; then :
6923 enableval=$enable_libtool_lock;
6926 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6928 # Some flags need to be propagated to the compiler or linker for good
6932 # Find out which ABI we are using.
6933 echo 'int i;' > conftest.$ac_ext
6934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6935 (eval $ac_compile) 2>&5
6937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6938 test $ac_status = 0; }; then
6939 case `/usr/bin/file conftest.$ac_objext` in
6951 # Find out which ABI we are using.
6952 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6954 (eval $ac_compile) 2>&5
6956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6957 test $ac_status = 0; }; then
6958 if test "$lt_cv_prog_gnu_ld" = yes; then
6959 case `/usr/bin/file conftest.$ac_objext` in
6961 LD="${LD-ld} -melf32bsmip"
6964 LD="${LD-ld} -melf32bmipn32"
6967 LD="${LD-ld} -melf64bmip"
6971 case `/usr/bin/file conftest.$ac_objext` in
6987 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6988 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6989 # Find out which ABI we are using.
6990 echo 'int i;' > conftest.$ac_ext
6991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6992 (eval $ac_compile) 2>&5
6994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995 test $ac_status = 0; }; then
6996 case `/usr/bin/file conftest.o` in
6999 x86_64-*kfreebsd*-gnu)
7000 LD="${LD-ld} -m elf_i386_fbsd"
7003 case `/usr/bin/file conftest.o` in
7005 LD="${LD-ld} -m elf32_x86_64"
7008 LD="${LD-ld} -m elf_i386"
7012 ppc64-*linux*|powerpc64-*linux*)
7013 LD="${LD-ld} -m elf32ppclinux"
7016 LD="${LD-ld} -m elf_s390"
7019 LD="${LD-ld} -m elf32_sparc"
7025 x86_64-*kfreebsd*-gnu)
7026 LD="${LD-ld} -m elf_x86_64_fbsd"
7029 LD="${LD-ld} -m elf_x86_64"
7031 ppc*-*linux*|powerpc*-*linux*)
7032 LD="${LD-ld} -m elf64ppc"
7034 s390*-*linux*|s390*-*tpf*)
7035 LD="${LD-ld} -m elf64_s390"
7038 LD="${LD-ld} -m elf64_sparc"
7048 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7049 SAVE_CFLAGS="$CFLAGS"
7050 CFLAGS="$CFLAGS -belf"
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7052 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7053 if ${lt_cv_cc_needs_belf+:} false; then :
7054 $as_echo_n "(cached) " >&6
7057 ac_cpp='$CPP $CPPFLAGS'
7058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7073 if ac_fn_c_try_link "$LINENO"; then :
7074 lt_cv_cc_needs_belf=yes
7076 lt_cv_cc_needs_belf=no
7078 rm -f core conftest.err conftest.$ac_objext \
7079 conftest$ac_exeext conftest.$ac_ext
7081 ac_cpp='$CPP $CPPFLAGS'
7082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7088 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7089 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7090 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7091 CFLAGS="$SAVE_CFLAGS"
7095 # Find out which ABI we are using.
7096 echo 'int i;' > conftest.$ac_ext
7097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7098 (eval $ac_compile) 2>&5
7100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7101 test $ac_status = 0; }; then
7102 case `/usr/bin/file conftest.o` in
7104 case $lt_cv_prog_gnu_ld in
7108 LD="${LD-ld} -m elf_x86_64"
7111 LD="${LD-ld} -m elf64_sparc"
7114 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7115 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7120 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7132 need_locks="$enable_libtool_lock"
7134 if test -n "$ac_tool_prefix"; then
7135 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7136 set dummy ${ac_tool_prefix}mt; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$MANIFEST_TOOL"; then
7143 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7163 if test -n "$MANIFEST_TOOL"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7165 $as_echo "$MANIFEST_TOOL" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7173 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7174 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7175 # Extract the first word of "mt", so it can be a program name with args.
7176 set dummy mt; ac_word=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7180 $as_echo_n "(cached) " >&6
7182 if test -n "$ac_ct_MANIFEST_TOOL"; then
7183 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7203 if test -n "$ac_ct_MANIFEST_TOOL"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7205 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7211 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7214 case $cross_compiling:$ac_tool_warned in
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7218 ac_tool_warned=yes ;;
7220 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7223 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7226 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7228 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7229 if ${lt_cv_path_mainfest_tool+:} false; then :
7230 $as_echo_n "(cached) " >&6
7232 lt_cv_path_mainfest_tool=no
7233 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7234 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7235 cat conftest.err >&5
7236 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7237 lt_cv_path_mainfest_tool=yes
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7242 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7243 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7260 $as_echo_n "(cached) " >&6
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7300 $as_echo_n "(cached) " >&6
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7334 case $cross_compiling:$ac_tool_warned in
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_NMEDIT+:} false; then :
7352 $as_echo_n "(cached) " >&6
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7426 case $cross_compiling:$ac_tool_warned in
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7432 NMEDIT=$ac_ct_NMEDIT
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_LIPO+:} false; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7484 $as_echo_n "(cached) " >&6
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7518 case $cross_compiling:$ac_tool_warned in
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_OTOOL+:} false; then :
7536 $as_echo_n "(cached) " >&6
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7576 $as_echo_n "(cached) " >&6
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7610 case $cross_compiling:$ac_tool_warned in
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if ${ac_cv_prog_OTOOL64+:} false; then :
7628 $as_echo_n "(cached) " >&6
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7668 $as_echo_n "(cached) " >&6
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7702 case $cross_compiling:$ac_tool_warned in
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7708 OTOOL64=$ac_ct_OTOOL64
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if ${lt_cv_apple_cc_single_mod+:} false; then :
7743 $as_echo_n "(cached) " >&6
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7758 # If there is a non-empty error log, and "single_module"
7759 # appears in it, assume the flag caused a linker warning
7760 if test -s conftest.err && $GREP single_module conftest.err; then
7761 cat conftest.err >&5
7762 # Otherwise, if the output was created with a 0 exit code from
7763 # the compiler, it worked.
7764 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7765 lt_cv_apple_cc_single_mod=yes
7767 cat conftest.err >&5
7769 rm -rf libconftest.dylib*
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7774 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7777 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7778 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7779 $as_echo_n "(cached) " >&6
7781 lt_cv_ld_exported_symbols_list=no
7782 save_LDFLAGS=$LDFLAGS
7783 echo "_main" > conftest.sym
7784 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7786 /* end confdefs.h. */
7796 if ac_fn_c_try_link "$LINENO"; then :
7797 lt_cv_ld_exported_symbols_list=yes
7799 lt_cv_ld_exported_symbols_list=no
7801 rm -f core conftest.err conftest.$ac_objext \
7802 conftest$ac_exeext conftest.$ac_ext
7803 LDFLAGS="$save_LDFLAGS"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7807 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7810 $as_echo_n "checking for -force_load linker flag... " >&6; }
7811 if ${lt_cv_ld_force_load+:} false; then :
7812 $as_echo_n "(cached) " >&6
7814 lt_cv_ld_force_load=no
7815 cat > conftest.c << _LT_EOF
7816 int forced_loaded() { return 2;}
7818 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7819 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7820 echo "$AR cru libconftest.a conftest.o" >&5
7821 $AR cru libconftest.a conftest.o 2>&5
7822 echo "$RANLIB libconftest.a" >&5
7823 $RANLIB libconftest.a 2>&5
7824 cat > conftest.c << _LT_EOF
7825 int main() { return 0;}
7827 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7828 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7830 if test -s conftest.err && $GREP force_load conftest.err; then
7831 cat conftest.err >&5
7832 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7833 lt_cv_ld_force_load=yes
7835 cat conftest.err >&5
7837 rm -f conftest.err libconftest.a conftest conftest.c
7838 rm -rf conftest.dSYM
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7842 $as_echo "$lt_cv_ld_force_load" >&6; }
7844 rhapsody* | darwin1.[012])
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 darwin*) # darwin 5.x on
7849 # if running on 10.5 or later, the deployment target defaults
7850 # to the OS version, if on x86, and 10.4, the deployment
7851 # target defaults to 10.4. Don't you love it?
7852 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7853 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7854 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7856 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7862 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7863 _lt_dar_single_mod='$single_module'
7865 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7866 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7868 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7870 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7871 _lt_dsymutil='~$DSYMUTIL $lib || :'
7878 for ac_header in dlfcn.h
7880 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7882 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7883 cat >>confdefs.h <<_ACEOF
7884 #define HAVE_DLFCN_H 1
7896 enable_win32_dll=yes
7899 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}as; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_AS+:} false; then :
7906 $as_echo_n "(cached) " >&6
7908 if test -n "$AS"; then
7909 ac_cv_prog_AS="$AS" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_AS="${ac_tool_prefix}as"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 if test -n "$AS"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7931 $as_echo "$AS" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7939 if test -z "$ac_cv_prog_AS"; then
7941 # Extract the first word of "as", so it can be a program name with args.
7942 set dummy as; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$ac_ct_AS"; then
7949 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_AS="as"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7969 if test -n "$ac_ct_AS"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7971 $as_echo "$ac_ct_AS" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7977 if test "x$ac_ct_AS" = x; then
7980 case $cross_compiling:$ac_tool_warned in
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_DLLTOOL+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 if test -n "$DLLTOOL"; then
8001 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 DLLTOOL=$ac_cv_prog_DLLTOOL
8021 if test -n "$DLLTOOL"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8023 $as_echo "$DLLTOOL" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8031 if test -z "$ac_cv_prog_DLLTOOL"; then
8032 ac_ct_DLLTOOL=$DLLTOOL
8033 # Extract the first word of "dlltool", so it can be a program name with args.
8034 set dummy dlltool; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8038 $as_echo_n "(cached) " >&6
8040 if test -n "$ac_ct_DLLTOOL"; then
8041 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8061 if test -n "$ac_ct_DLLTOOL"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8063 $as_echo "$ac_ct_DLLTOOL" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8069 if test "x$ac_ct_DLLTOOL" = x; then
8072 case $cross_compiling:$ac_tool_warned in
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8078 DLLTOOL=$ac_ct_DLLTOOL
8081 DLLTOOL="$ac_cv_prog_DLLTOOL"
8084 if test -n "$ac_tool_prefix"; then
8085 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8086 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_OBJDUMP+:} false; then :
8090 $as_echo_n "(cached) " >&6
8092 if test -n "$OBJDUMP"; then
8093 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 OBJDUMP=$ac_cv_prog_OBJDUMP
8113 if test -n "$OBJDUMP"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8115 $as_echo "$OBJDUMP" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8123 if test -z "$ac_cv_prog_OBJDUMP"; then
8124 ac_ct_OBJDUMP=$OBJDUMP
8125 # Extract the first word of "objdump", so it can be a program name with args.
8126 set dummy objdump; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8128 $as_echo_n "checking for $ac_word... " >&6; }
8129 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8130 $as_echo_n "(cached) " >&6
8132 if test -n "$ac_ct_OBJDUMP"; then
8133 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8153 if test -n "$ac_ct_OBJDUMP"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8155 $as_echo "$ac_ct_OBJDUMP" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8161 if test "x$ac_ct_OBJDUMP" = x; then
8164 case $cross_compiling:$ac_tool_warned in
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168 ac_tool_warned=yes ;;
8170 OBJDUMP=$ac_ct_OBJDUMP
8173 OBJDUMP="$ac_cv_prog_OBJDUMP"
8179 test -z "$AS" && AS=as
8185 test -z "$DLLTOOL" && DLLTOOL=dlltool
8191 test -z "$OBJDUMP" && OBJDUMP=objdump
8203 # Check whether --enable-shared was given.
8204 if test "${enable_shared+set}" = set; then :
8205 enableval=$enable_shared; p=${PACKAGE-default}
8207 yes) enable_shared=yes ;;
8208 no) enable_shared=no ;;
8211 # Look at the argument we got. We use all the common list separators.
8212 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8213 for pkg in $enableval; do
8215 if test "X$pkg" = "X$p"; then
8234 # Check whether --enable-static was given.
8235 if test "${enable_static+set}" = set; then :
8236 enableval=$enable_static; p=${PACKAGE-default}
8238 yes) enable_static=yes ;;
8239 no) enable_static=no ;;
8242 # Look at the argument we got. We use all the common list separators.
8243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8244 for pkg in $enableval; do
8246 if test "X$pkg" = "X$p"; then
8266 # Check whether --with-pic was given.
8267 if test "${with_pic+set}" = set; then :
8268 withval=$with_pic; lt_p=${PACKAGE-default}
8270 yes|no) pic_mode=$withval ;;
8273 # Look at the argument we got. We use all the common list separators.
8274 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8275 for lt_pkg in $withval; do
8277 if test "X$lt_pkg" = "X$lt_p"; then
8289 test -z "$pic_mode" && pic_mode=default
8297 # Check whether --enable-fast-install was given.
8298 if test "${enable_fast_install+set}" = set; then :
8299 enableval=$enable_fast_install; p=${PACKAGE-default}
8301 yes) enable_fast_install=yes ;;
8302 no) enable_fast_install=no ;;
8304 enable_fast_install=no
8305 # Look at the argument we got. We use all the common list separators.
8306 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8307 for pkg in $enableval; do
8309 if test "X$pkg" = "X$p"; then
8310 enable_fast_install=yes
8317 enable_fast_install=yes
8330 # This can be used to rebuild libtool when needed
8331 LIBTOOL_DEPS="$ltmain"
8333 # Always use our own libtool.
8334 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8365 test -z "$LN_S" && LN_S="ln -s"
8380 if test -n "${ZSH_VERSION+set}" ; then
8381 setopt NO_GLOB_SUBST
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8385 $as_echo_n "checking for objdir... " >&6; }
8386 if ${lt_cv_objdir+:} false; then :
8387 $as_echo_n "(cached) " >&6
8389 rm -f .libs 2>/dev/null
8390 mkdir .libs 2>/dev/null
8391 if test -d .libs; then
8394 # MS-DOS does not allow filenames that begin with a dot.
8397 rmdir .libs 2>/dev/null
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8400 $as_echo "$lt_cv_objdir" >&6; }
8401 objdir=$lt_cv_objdir
8407 cat >>confdefs.h <<_ACEOF
8408 #define LT_OBJDIR "$lt_cv_objdir/"
8416 # AIX sometimes has problems with the GCC collect2 program. For some
8417 # reason, if we set the COLLECT_NAMES environment variable, the problems
8418 # vanish in a puff of smoke.
8419 if test "X${COLLECT_NAMES+set}" != Xset; then
8421 export COLLECT_NAMES
8428 can_build_shared=yes
8430 # All known linkers require a `.a' archive for static linking (except MSVC,
8431 # which needs '.lib').
8434 with_gnu_ld="$lt_cv_prog_gnu_ld"
8437 old_CFLAGS="$CFLAGS"
8439 # Set sane defaults for various variables
8440 test -z "$CC" && CC=cc
8441 test -z "$LTCC" && LTCC=$CC
8442 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8443 test -z "$LD" && LD=ld
8444 test -z "$ac_objext" && ac_objext=o
8446 for cc_temp in $compiler""; do
8448 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8449 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8454 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8457 # Only perform the check for file, if the check method requires it
8458 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8459 case $deplibs_check_method in
8461 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8463 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8464 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8465 $as_echo_n "(cached) " >&6
8469 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8472 lt_save_MAGIC_CMD="$MAGIC_CMD"
8473 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8474 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8475 for ac_dir in $ac_dummy; do
8477 test -z "$ac_dir" && ac_dir=.
8478 if test -f $ac_dir/${ac_tool_prefix}file; then
8479 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8480 if test -n "$file_magic_test_file"; then
8481 case $deplibs_check_method in
8483 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8485 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8486 $EGREP "$file_magic_regex" > /dev/null; then
8491 *** Warning: the command libtool uses to detect shared libraries,
8492 *** $file_magic_cmd, produces output that libtool cannot recognize.
8493 *** The result is that libtool may fail to recognize shared libraries
8494 *** as such. This will affect the creation of libtool libraries that
8495 *** depend on shared libraries, but programs linked with such libtool
8496 *** libraries will work regardless of this problem. Nevertheless, you
8497 *** may want to report the problem to your system manager and/or to
8498 *** bug-libtool@gnu.org
8508 MAGIC_CMD="$lt_save_MAGIC_CMD"
8513 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8514 if test -n "$MAGIC_CMD"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8516 $as_echo "$MAGIC_CMD" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8526 if test -z "$lt_cv_path_MAGIC_CMD"; then
8527 if test -n "$ac_tool_prefix"; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8529 $as_echo_n "checking for file... " >&6; }
8530 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8531 $as_echo_n "(cached) " >&6
8535 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8538 lt_save_MAGIC_CMD="$MAGIC_CMD"
8539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8540 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8541 for ac_dir in $ac_dummy; do
8543 test -z "$ac_dir" && ac_dir=.
8544 if test -f $ac_dir/file; then
8545 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8546 if test -n "$file_magic_test_file"; then
8547 case $deplibs_check_method in
8549 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8551 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8552 $EGREP "$file_magic_regex" > /dev/null; then
8557 *** Warning: the command libtool uses to detect shared libraries,
8558 *** $file_magic_cmd, produces output that libtool cannot recognize.
8559 *** The result is that libtool may fail to recognize shared libraries
8560 *** as such. This will affect the creation of libtool libraries that
8561 *** depend on shared libraries, but programs linked with such libtool
8562 *** libraries will work regardless of this problem. Nevertheless, you
8563 *** may want to report the problem to your system manager and/or to
8564 *** bug-libtool@gnu.org
8574 MAGIC_CMD="$lt_save_MAGIC_CMD"
8579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8580 if test -n "$MAGIC_CMD"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8582 $as_echo "$MAGIC_CMD" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8585 $as_echo "no" >&6; }
8598 # Use C for the default configuration in the libtool script
8602 ac_cpp='$CPP $CPPFLAGS'
8603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8608 # Source file extension for C test sources.
8611 # Object file extension for compiled C test sources.
8615 # Code to be used in simple compile tests
8616 lt_simple_compile_test_code="int some_variable = 0;"
8618 # Code to be used in simple link tests
8619 lt_simple_link_test_code='int main(){return(0);}'
8627 # If no C compiler was specified, use CC.
8630 # If no C compiler flags were specified, use CFLAGS.
8631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8633 # Allow CC to be a program name with arguments.
8636 # Save the default compiler, since it gets overwritten when the other
8637 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8638 compiler_DEFAULT=$CC
8640 # save warnings/boilerplate of simple test code
8641 ac_outfile=conftest.$ac_objext
8642 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8643 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8644 _lt_compiler_boilerplate=`cat conftest.err`
8647 ac_outfile=conftest.$ac_objext
8648 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8649 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8650 _lt_linker_boilerplate=`cat conftest.err`
8655 ## There is no encapsulation within the following macros, do not change
8656 ## the running order or otherwise move them around unless you know exactly
8657 ## what you are doing...
8658 if test -n "$compiler"; then
8660 lt_prog_compiler_no_builtin_flag=
8662 if test "$GCC" = yes; then
8663 case $cc_basename in
8665 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8667 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8671 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8672 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8673 $as_echo_n "(cached) " >&6
8675 lt_cv_prog_compiler_rtti_exceptions=no
8676 ac_outfile=conftest.$ac_objext
8677 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8678 lt_compiler_flag="-fno-rtti -fno-exceptions"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 # The option is referenced via a variable to avoid confusing sed.
8684 lt_compile=`echo "$ac_compile" | $SED \
8685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8687 -e 's:$: $lt_compiler_flag:'`
8688 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8689 (eval "$lt_compile" 2>conftest.err)
8691 cat conftest.err >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 if (exit $ac_status) && test -s "$ac_outfile"; then
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings other than the usual output.
8696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8698 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8699 lt_cv_prog_compiler_rtti_exceptions=yes
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8706 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8708 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8709 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8721 lt_prog_compiler_wl=
8722 lt_prog_compiler_pic=
8723 lt_prog_compiler_static=
8726 if test "$GCC" = yes; then
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_static='-static'
8732 # All AIX code is PIC.
8733 if test "$host_cpu" = ia64; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static='-Bstatic'
8742 # see comment about AmigaOS4 .so support
8743 lt_prog_compiler_pic='-fPIC'
8746 # FIXME: we need at least 68020 code to build shared libraries, but
8747 # adding the `-m68020' flag to GCC prevents building anything better,
8749 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8754 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8755 # PIC is the default for these OSes.
8758 mingw* | cygwin* | pw32* | os2* | cegcc*)
8759 # This hack is so that the source file can tell whether it is being
8760 # built for inclusion in a dll (and should export symbols for example).
8761 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8762 # (--disable-auto-import) libraries
8763 lt_prog_compiler_pic='-DDLL_EXPORT'
8766 darwin* | rhapsody*)
8767 # PIC is the default on this platform
8768 # Common symbols not allowed in MH_DYLIB files
8769 lt_prog_compiler_pic='-fno-common'
8773 # PIC is the default for Haiku.
8774 # The "-static" flag exists, but is broken.
8775 lt_prog_compiler_static=
8779 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8780 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8781 # sets the default TLS model and affects inlining.
8787 lt_prog_compiler_pic='-fPIC'
8793 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8794 # Instead, we relocate shared libraries at runtime.
8798 # Just because we use GCC doesn't mean we suddenly get shared libraries
8799 # on systems that don't support them.
8800 lt_prog_compiler_can_build_shared=no
8805 # QNX uses GNU C++, but need to define -shared option too, otherwise
8807 lt_prog_compiler_pic='-fPIC -shared'
8811 if test -d /usr/nec; then
8812 lt_prog_compiler_pic=-Kconform_pic
8817 lt_prog_compiler_pic='-fPIC'
8821 case $cc_basename in
8822 nvcc*) # Cuda Compiler Driver 2.2
8823 lt_prog_compiler_wl='-Xlinker '
8824 if test -n "$lt_prog_compiler_pic"; then
8825 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8830 # PORTME Check for flag to pass linker flags through the system compiler.
8833 lt_prog_compiler_wl='-Wl,'
8834 if test "$host_cpu" = ia64; then
8835 # AIX 5 now supports IA64 processor
8836 lt_prog_compiler_static='-Bstatic'
8838 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8842 mingw* | cygwin* | pw32* | os2* | cegcc*)
8843 # This hack is so that the source file can tell whether it is being
8844 # built for inclusion in a dll (and should export symbols for example).
8845 lt_prog_compiler_pic='-DDLL_EXPORT'
8848 hpux9* | hpux10* | hpux11*)
8849 lt_prog_compiler_wl='-Wl,'
8850 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8857 lt_prog_compiler_pic='+Z'
8860 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8861 lt_prog_compiler_static='${wl}-a ${wl}archive'
8864 irix5* | irix6* | nonstopux*)
8865 lt_prog_compiler_wl='-Wl,'
8866 # PIC (with -KPIC) is the default.
8867 lt_prog_compiler_static='-non_shared'
8870 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8871 case $cc_basename in
8872 # old Intel for x86_64 which still supported -KPIC.
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-static'
8878 # icc used to be incompatible with GCC.
8879 # ICC 10 doesn't accept -KPIC any more.
8881 lt_prog_compiler_wl='-Wl,'
8882 lt_prog_compiler_pic='-fPIC'
8883 lt_prog_compiler_static='-static'
8885 # Lahey Fortran 8.1.
8887 lt_prog_compiler_wl='-Wl,'
8888 lt_prog_compiler_pic='--shared'
8889 lt_prog_compiler_static='--static'
8892 # NAG Fortran compiler
8893 lt_prog_compiler_wl='-Wl,-Wl,,'
8894 lt_prog_compiler_pic='-PIC'
8895 lt_prog_compiler_static='-Bstatic'
8897 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8898 # Portland Group compilers (*not* the Pentium gcc compiler,
8899 # which looks to be a dead project)
8900 lt_prog_compiler_wl='-Wl,'
8901 lt_prog_compiler_pic='-fpic'
8902 lt_prog_compiler_static='-Bstatic'
8905 lt_prog_compiler_wl='-Wl,'
8906 # All Alpha code is PIC.
8907 lt_prog_compiler_static='-non_shared'
8909 xl* | bgxl* | bgf* | mpixl*)
8910 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8911 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_pic='-qpic'
8913 lt_prog_compiler_static='-qstaticlink'
8916 case `$CC -V 2>&1 | sed 5q` in
8917 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8918 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8919 lt_prog_compiler_pic='-KPIC'
8920 lt_prog_compiler_static='-Bstatic'
8921 lt_prog_compiler_wl=''
8923 *Sun\ F* | *Sun*Fortran*)
8924 lt_prog_compiler_pic='-KPIC'
8925 lt_prog_compiler_static='-Bstatic'
8926 lt_prog_compiler_wl='-Qoption ld '
8930 lt_prog_compiler_pic='-KPIC'
8931 lt_prog_compiler_static='-Bstatic'
8932 lt_prog_compiler_wl='-Wl,'
8934 *Intel*\ [CF]*Compiler*)
8935 lt_prog_compiler_wl='-Wl,'
8936 lt_prog_compiler_pic='-fPIC'
8937 lt_prog_compiler_static='-static'
8940 lt_prog_compiler_wl='-Wl,'
8941 lt_prog_compiler_pic='-fpic'
8942 lt_prog_compiler_static='-Bstatic'
8950 lt_prog_compiler_pic='-KPIC'
8951 lt_prog_compiler_static='-Bstatic'
8955 # QNX uses GNU C++, but need to define -shared option too, otherwise
8957 lt_prog_compiler_pic='-fPIC -shared'
8960 osf3* | osf4* | osf5*)
8961 lt_prog_compiler_wl='-Wl,'
8962 # All OSF/1 code is PIC.
8963 lt_prog_compiler_static='-non_shared'
8967 lt_prog_compiler_static='-non_shared'
8971 lt_prog_compiler_pic='-KPIC'
8972 lt_prog_compiler_static='-Bstatic'
8973 case $cc_basename in
8974 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8975 lt_prog_compiler_wl='-Qoption ld ';;
8977 lt_prog_compiler_wl='-Wl,';;
8982 lt_prog_compiler_wl='-Qoption ld '
8983 lt_prog_compiler_pic='-PIC'
8984 lt_prog_compiler_static='-Bstatic'
8987 sysv4 | sysv4.2uw2* | sysv4.3*)
8988 lt_prog_compiler_wl='-Wl,'
8989 lt_prog_compiler_pic='-KPIC'
8990 lt_prog_compiler_static='-Bstatic'
8994 if test -d /usr/nec ;then
8995 lt_prog_compiler_pic='-Kconform_pic'
8996 lt_prog_compiler_static='-Bstatic'
9000 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9001 lt_prog_compiler_wl='-Wl,'
9002 lt_prog_compiler_pic='-KPIC'
9003 lt_prog_compiler_static='-Bstatic'
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_can_build_shared=no
9012 lt_prog_compiler_pic='-pic'
9013 lt_prog_compiler_static='-Bstatic'
9017 lt_prog_compiler_can_build_shared=no
9023 # For platforms which do not support PIC, -DPIC is meaningless:
9025 lt_prog_compiler_pic=
9028 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9033 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9034 if ${lt_cv_prog_compiler_pic+:} false; then :
9035 $as_echo_n "(cached) " >&6
9037 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9040 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9041 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9044 # Check to make sure the PIC flag actually works.
9046 if test -n "$lt_prog_compiler_pic"; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9048 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9049 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9050 $as_echo_n "(cached) " >&6
9052 lt_cv_prog_compiler_pic_works=no
9053 ac_outfile=conftest.$ac_objext
9054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9056 # Insert the option either (1) after the last *FLAGS variable, or
9057 # (2) before a word containing "conftest.", or (3) at the end.
9058 # Note that $ac_compile itself does not contain backslashes and begins
9059 # with a dollar sign (not a hyphen), so the echo should work correctly.
9060 # The option is referenced via a variable to avoid confusing sed.
9061 lt_compile=`echo "$ac_compile" | $SED \
9062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064 -e 's:$: $lt_compiler_flag:'`
9065 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9066 (eval "$lt_compile" 2>conftest.err)
9068 cat conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 if (exit $ac_status) && test -s "$ac_outfile"; then
9071 # The compiler can only warn and ignore the option if not recognized
9072 # So say no if there are warnings other than the usual output.
9073 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9074 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9075 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9076 lt_cv_prog_compiler_pic_works=yes
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9083 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9085 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9086 case $lt_prog_compiler_pic in
9088 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9091 lt_prog_compiler_pic=
9092 lt_prog_compiler_can_build_shared=no
9108 # Check to make sure the static flag actually works.
9110 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9112 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9113 if ${lt_cv_prog_compiler_static_works+:} false; then :
9114 $as_echo_n "(cached) " >&6
9116 lt_cv_prog_compiler_static_works=no
9117 save_LDFLAGS="$LDFLAGS"
9118 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9119 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9120 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9121 # The linker can only warn and ignore the option if not recognized
9122 # So say no if there are warnings
9123 if test -s conftest.err; then
9124 # Append any errors to the config.log.
9125 cat conftest.err 1>&5
9126 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9128 if diff conftest.exp conftest.er2 >/dev/null; then
9129 lt_cv_prog_compiler_static_works=yes
9132 lt_cv_prog_compiler_static_works=yes
9136 LDFLAGS="$save_LDFLAGS"
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9140 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9142 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9145 lt_prog_compiler_static=
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9155 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9156 if ${lt_cv_prog_compiler_c_o+:} false; then :
9157 $as_echo_n "(cached) " >&6
9159 lt_cv_prog_compiler_c_o=no
9160 $RM -r conftest 2>/dev/null
9164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9166 lt_compiler_flag="-o out/conftest2.$ac_objext"
9167 # Insert the option either (1) after the last *FLAGS variable, or
9168 # (2) before a word containing "conftest.", or (3) at the end.
9169 # Note that $ac_compile itself does not contain backslashes and begins
9170 # with a dollar sign (not a hyphen), so the echo should work correctly.
9171 lt_compile=`echo "$ac_compile" | $SED \
9172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9174 -e 's:$: $lt_compiler_flag:'`
9175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9176 (eval "$lt_compile" 2>out/conftest.err)
9178 cat out/conftest.err >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9182 # The compiler can only warn and ignore the option if not recognized
9183 # So say no if there are warnings
9184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9185 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9186 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9187 lt_cv_prog_compiler_c_o=yes
9192 # SGI C++ compiler will create directory out/ii_files/ for
9193 # template instantiation
9194 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9195 $RM out/* && rmdir out
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9202 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9210 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9211 if ${lt_cv_prog_compiler_c_o+:} false; then :
9212 $as_echo_n "(cached) " >&6
9214 lt_cv_prog_compiler_c_o=no
9215 $RM -r conftest 2>/dev/null
9219 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9221 lt_compiler_flag="-o out/conftest2.$ac_objext"
9222 # Insert the option either (1) after the last *FLAGS variable, or
9223 # (2) before a word containing "conftest.", or (3) at the end.
9224 # Note that $ac_compile itself does not contain backslashes and begins
9225 # with a dollar sign (not a hyphen), so the echo should work correctly.
9226 lt_compile=`echo "$ac_compile" | $SED \
9227 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9229 -e 's:$: $lt_compiler_flag:'`
9230 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9231 (eval "$lt_compile" 2>out/conftest.err)
9233 cat out/conftest.err >&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9237 # The compiler can only warn and ignore the option if not recognized
9238 # So say no if there are warnings
9239 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9240 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9241 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9242 lt_cv_prog_compiler_c_o=yes
9247 # SGI C++ compiler will create directory out/ii_files/ for
9248 # template instantiation
9249 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9250 $RM out/* && rmdir out
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9257 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9262 hard_links="nottested"
9263 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9264 # do not overwrite the value of need_locks provided by the user
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9266 $as_echo_n "checking if we can lock with hard links... " >&6; }
9269 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9271 ln conftest.a conftest.b 2>&5 || hard_links=no
9272 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9274 $as_echo "$hard_links" >&6; }
9275 if test "$hard_links" = no; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9277 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9290 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9293 allow_undefined_flag=
9294 always_export_symbols=no
9296 archive_expsym_cmds=
9297 compiler_needs_object=no
9298 enable_shared_with_static_runtimes=no
9299 export_dynamic_flag_spec=
9300 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9301 hardcode_automatic=no
9303 hardcode_direct_absolute=no
9304 hardcode_libdir_flag_spec=
9305 hardcode_libdir_separator=
9307 hardcode_shlibpath_var=unsupported
9309 link_all_deplibs=unknown
9312 old_archive_from_new_cmds=
9313 old_archive_from_expsyms_cmds=
9314 thread_safe_flag_spec=
9315 whole_archive_flag_spec=
9316 # include_expsyms should be a list of space-separated symbols to be *always*
9317 # included in the symbol list
9319 # exclude_expsyms can be an extended regexp of symbols to exclude
9320 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9321 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9322 # as well as any symbol that contains `d'.
9323 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9324 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9325 # platforms (ab)use it in PIC code, but their linkers get confused if
9326 # the symbol is explicitly referenced. Since portable code cannot
9327 # rely on this symbol name, it's probably fine to never include it in
9328 # preloaded symbol tables.
9329 # Exclude shared library initialization/finalization symbols.
9330 extract_expsyms_cmds=
9333 cygwin* | mingw* | pw32* | cegcc*)
9334 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9335 # When not using gcc, we currently assume that we are using
9336 # Microsoft Visual C++.
9337 if test "$GCC" != yes; then
9342 # we just hope/assume this is gcc and not c89 (= MSVC++)
9348 linux* | k*bsd*-gnu | gnu*)
9355 # On some targets, GNU ld is compatible enough with the native linker
9356 # that we're better off using the native interface for both.
9357 lt_use_gnu_ld_interface=no
9358 if test "$with_gnu_ld" = yes; then
9361 # The AIX port of GNU ld has always aspired to compatibility
9362 # with the native linker. However, as the warning in the GNU ld
9363 # block says, versions before 2.19.5* couldn't really create working
9364 # shared libraries, regardless of the interface used.
9365 case `$LD -v 2>&1` in
9366 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9367 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9368 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9370 lt_use_gnu_ld_interface=yes
9375 lt_use_gnu_ld_interface=yes
9380 if test "$lt_use_gnu_ld_interface" = yes; then
9381 # If archive_cmds runs LD, not CC, wlarc should be empty
9384 # Set some defaults for GNU ld with shared library support. These
9385 # are reset later if shared libraries are not supported. Putting them
9386 # here allows them to be overridden if necessary.
9387 runpath_var=LD_RUN_PATH
9388 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9389 export_dynamic_flag_spec='${wl}--export-dynamic'
9390 # ancient GNU ld didn't support --whole-archive et. al.
9391 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9392 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9394 whole_archive_flag_spec=
9396 supports_anon_versioning=no
9397 case `$LD -v 2>&1` in
9398 *GNU\ gold*) supports_anon_versioning=yes ;;
9399 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9400 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9401 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9402 *\ 2.11.*) ;; # other 2.11 versions
9403 *) supports_anon_versioning=yes ;;
9406 # See if GNU ld supports shared libraries.
9409 # On AIX/PPC, the GNU linker is very broken
9410 if test "$host_cpu" != ia64; then
9414 *** Warning: the GNU linker, at least up to release 2.19, is reported
9415 *** to be unable to reliably create shared libraries on AIX.
9416 *** Therefore, libtool is disabling shared libraries support. If you
9417 *** really care for shared libraries, you may want to install binutils
9418 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9419 *** You will then need to restart the configuration process.
9428 # see comment about AmigaOS4 .so support
9429 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430 archive_expsym_cmds=''
9433 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)'
9434 hardcode_libdir_flag_spec='-L$libdir'
9435 hardcode_minus_L=yes
9441 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9442 allow_undefined_flag=unsupported
9443 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9444 # support --undefined. This deserves some investigation. FIXME
9445 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 cygwin* | mingw* | pw32* | cegcc*)
9452 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9453 # as there is no search path for DLLs.
9454 hardcode_libdir_flag_spec='-L$libdir'
9455 export_dynamic_flag_spec='${wl}--export-all-symbols'
9456 allow_undefined_flag=unsupported
9457 always_export_symbols=no
9458 enable_shared_with_static_runtimes=yes
9459 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'
9460 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9464 # If the export-symbols file already is a .def file (1st line
9465 # is EXPORTS), use it as is; otherwise, prepend...
9466 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9467 cp $export_symbols $output_objdir/$soname.def;
9469 echo EXPORTS > $output_objdir/$soname.def;
9470 cat $export_symbols >> $output_objdir/$soname.def;
9472 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 link_all_deplibs=yes
9485 hardcode_shlibpath_var=no
9486 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9487 export_dynamic_flag_spec='${wl}-E'
9488 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9489 # Instead, shared libraries are loaded at an image base (0x10000000 by
9490 # default) and relocated if they conflict, which is a slow very memory
9491 # consuming and fragmenting process. To avoid this, we pick a random,
9492 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9493 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9494 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9495 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'
9498 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9500 if test "$host_os" = linux-dietlibc; then
9501 case $cc_basename in
9502 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9505 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9506 && test "$tmp_diet" = no
9508 tmp_addflag=' $pic_flag'
9509 tmp_sharedflag='-shared'
9510 case $cc_basename,$host_cpu in
9511 pgcc*) # Portland Group C compiler
9512 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'
9513 tmp_addflag=' $pic_flag'
9515 pgf77* | pgf90* | pgf95* | pgfortran*)
9516 # Portland Group f77 and f90 compilers
9517 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'
9518 tmp_addflag=' $pic_flag -Mnomain' ;;
9519 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9520 tmp_addflag=' -i_dynamic' ;;
9521 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9522 tmp_addflag=' -i_dynamic -nofor_main' ;;
9523 ifc* | ifort*) # Intel Fortran compiler
9524 tmp_addflag=' -nofor_main' ;;
9525 lf95*) # Lahey Fortran 8.1
9526 whole_archive_flag_spec=
9527 tmp_sharedflag='--shared' ;;
9528 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9529 tmp_sharedflag='-qmkshrobj'
9531 nvcc*) # Cuda Compiler Driver 2.2
9532 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'
9533 compiler_needs_object=yes
9536 case `$CC -V 2>&1 | sed 5q` in
9537 *Sun\ C*) # Sun C 5.9
9538 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'
9539 compiler_needs_object=yes
9540 tmp_sharedflag='-G' ;;
9541 *Sun\ F*) # Sun Fortran 8.3
9542 tmp_sharedflag='-G' ;;
9544 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 if test "x$supports_anon_versioning" = xyes; then
9547 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9549 echo "local: *; };" >> $output_objdir/$libname.ver~
9550 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9553 case $cc_basename in
9554 xlf* | bgf* | bgxlf* | mpixlf*)
9555 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9556 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9558 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9559 if test "x$supports_anon_versioning" = xyes; then
9560 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9561 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9562 echo "local: *; };" >> $output_objdir/$libname.ver~
9563 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9572 netbsd* | netbsdelf*-gnu)
9573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9574 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9577 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9583 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9587 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9588 *** create shared libraries on Solaris systems. Therefore, libtool
9589 *** is disabling shared libraries support. We urge you to upgrade GNU
9590 *** binutils to release 2.9.1 or newer. Another option is to modify
9591 *** your PATH or compiler configuration so that the native linker is
9592 *** used, and then restart.
9595 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9596 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9597 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9604 case `$LD -v 2>&1` in
9605 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9609 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9610 *** reliably create shared libraries on SCO systems. Therefore, libtool
9611 *** is disabling shared libraries support. We urge you to upgrade GNU
9612 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9613 *** your PATH or compiler configuration so that the native linker is
9614 *** used, and then restart.
9619 # For security reasons, it is highly recommended that you always
9620 # use absolute paths for naming shared libraries, and exclude the
9621 # DT_RUNPATH tag from executables and libraries. But doing so
9622 # requires that you compile everything twice, which is a pain.
9623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9624 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9635 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9638 hardcode_shlibpath_var=no
9642 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9643 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9644 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9651 if test "$ld_shlibs" = no; then
9653 hardcode_libdir_flag_spec=
9654 export_dynamic_flag_spec=
9655 whole_archive_flag_spec=
9658 # PORTME fill in a description of your system's linker (not GNU ld)
9661 allow_undefined_flag=unsupported
9662 always_export_symbols=yes
9663 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'
9664 # Note: this linker hardcodes the directories in LIBPATH if there
9665 # are no directories specified by -L.
9666 hardcode_minus_L=yes
9667 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9668 # Neither direct hardcoding nor static linking is supported with a
9670 hardcode_direct=unsupported
9675 if test "$host_cpu" = ia64; then
9676 # On IA64, the linker does run time linking by default, so we don't
9677 # have to do anything special.
9678 aix_use_runtimelinking=no
9679 exp_sym_flag='-Bexport'
9682 # If we're using GNU nm, then we don't want the "-C" option.
9683 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9684 # Also, AIX nm treats weak defined symbols like other global
9685 # defined symbols, whereas GNU nm marks them as "W".
9686 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9687 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'
9689 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'
9691 aix_use_runtimelinking=no
9693 # Test if we are trying to use run time linking or normal
9694 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9695 # need to do runtime linking.
9696 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9697 for ld_flag in $LDFLAGS; do
9698 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9699 aix_use_runtimelinking=yes
9706 exp_sym_flag='-bexport'
9707 no_entry_flag='-bnoentry'
9710 # When large executables or shared objects are built, AIX ld can
9711 # have problems creating the table of contents. If linking a library
9712 # or program results in "error TOC overflow" add -mminimal-toc to
9713 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9714 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9718 hardcode_direct_absolute=yes
9719 hardcode_libdir_separator=':'
9720 link_all_deplibs=yes
9721 file_list_spec='${wl}-f,'
9723 if test "$GCC" = yes; then
9724 case $host_os in aix4.[012]|aix4.[012].*)
9725 # We only want to do this on AIX 4.2 and lower, the check
9726 # below for broken collect2 doesn't work under 4.3+
9727 collect2name=`${CC} -print-prog-name=collect2`
9728 if test -f "$collect2name" &&
9729 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9731 # We have reworked collect2
9734 # We have old collect2
9735 hardcode_direct=unsupported
9736 # It fails to find uninstalled libraries when the uninstalled
9737 # path is not listed in the libpath. Setting hardcode_minus_L
9738 # to unsupported forces relinking
9739 hardcode_minus_L=yes
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_libdir_separator=
9745 shared_flag='-shared'
9746 if test "$aix_use_runtimelinking" = yes; then
9747 shared_flag="$shared_flag "'${wl}-G'
9752 if test "$host_cpu" = ia64; then
9753 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9754 # chokes on -Wl,-G. The following line is correct:
9757 if test "$aix_use_runtimelinking" = yes; then
9758 shared_flag='${wl}-G'
9760 shared_flag='${wl}-bM:SRE'
9765 export_dynamic_flag_spec='${wl}-bexpall'
9766 # It seems that -bexpall does not export symbols beginning with
9767 # underscore (_), so it is better to generate a list of symbols to export.
9768 always_export_symbols=yes
9769 if test "$aix_use_runtimelinking" = yes; then
9770 # Warning - without using the other runtime loading flags (-brtl),
9771 # -berok will link without error, but may produce a broken library.
9772 allow_undefined_flag='-berok'
9773 # Determine the default libpath from the value encoded in an
9775 if test "${lt_cv_aix_libpath+set}" = set; then
9776 aix_libpath=$lt_cv_aix_libpath
9778 if ${lt_cv_aix_libpath_+:} false; then :
9779 $as_echo_n "(cached) " >&6
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9792 if ac_fn_c_try_link "$LINENO"; then :
9794 lt_aix_libpath_sed='
9795 /Import File Strings/,/^$/ {
9797 s/^0 *\([^ ]*\) *$/\1/
9801 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9802 # Check for a 64-bit object if we didn't find anything.
9803 if test -z "$lt_cv_aix_libpath_"; then
9804 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 if test -z "$lt_cv_aix_libpath_"; then
9810 lt_cv_aix_libpath_="/usr/lib:/lib"
9815 aix_libpath=$lt_cv_aix_libpath_
9818 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9819 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"
9821 if test "$host_cpu" = ia64; then
9822 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9823 allow_undefined_flag="-z nodefs"
9824 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"
9826 # Determine the default libpath from the value encoded in an
9828 if test "${lt_cv_aix_libpath+set}" = set; then
9829 aix_libpath=$lt_cv_aix_libpath
9831 if ${lt_cv_aix_libpath_+:} false; then :
9832 $as_echo_n "(cached) " >&6
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9845 if ac_fn_c_try_link "$LINENO"; then :
9847 lt_aix_libpath_sed='
9848 /Import File Strings/,/^$/ {
9850 s/^0 *\([^ ]*\) *$/\1/
9854 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9855 # Check for a 64-bit object if we didn't find anything.
9856 if test -z "$lt_cv_aix_libpath_"; then
9857 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 if test -z "$lt_cv_aix_libpath_"; then
9863 lt_cv_aix_libpath_="/usr/lib:/lib"
9868 aix_libpath=$lt_cv_aix_libpath_
9871 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9872 # Warning - without using the other run time loading flags,
9873 # -berok will link without error, but may produce a broken library.
9874 no_undefined_flag=' ${wl}-bernotok'
9875 allow_undefined_flag=' ${wl}-berok'
9876 if test "$with_gnu_ld" = yes; then
9877 # We only use this code for GNU lds that support --whole-archive.
9878 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9880 # Exported symbols can be pulled into shared objects from archives
9881 whole_archive_flag_spec='$convenience'
9883 archive_cmds_need_lc=yes
9884 # This is similar to how AIX traditionally builds its shared libraries.
9885 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'
9893 # see comment about AmigaOS4 .so support
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9895 archive_expsym_cmds=''
9898 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)'
9899 hardcode_libdir_flag_spec='-L$libdir'
9900 hardcode_minus_L=yes
9906 export_dynamic_flag_spec=-rdynamic
9909 cygwin* | mingw* | pw32* | cegcc*)
9910 # When not using gcc, we currently assume that we are using
9911 # Microsoft Visual C++.
9912 # hardcode_libdir_flag_spec is actually meaningless, as there is
9913 # no search path for DLLs.
9914 case $cc_basename in
9917 hardcode_libdir_flag_spec=' '
9918 allow_undefined_flag=unsupported
9919 always_export_symbols=yes
9921 # Tell ltmain to make .lib files, not .a files.
9923 # Tell ltmain to make .dll files, not .so files.
9925 # FIXME: Setting linknames here is a bad hack.
9926 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9927 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9928 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9930 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9932 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9934 # The linker will not automatically build a static lib if we build a DLL.
9935 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9936 enable_shared_with_static_runtimes=yes
9937 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9938 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9940 old_postinstall_cmds='chmod 644 $oldlib'
9941 postlink_cmds='lt_outputfile="@OUTPUT@"~
9942 lt_tool_outputfile="@TOOL_OUTPUT@"~
9943 case $lt_outputfile in
9946 lt_outputfile="$lt_outputfile.exe"
9947 lt_tool_outputfile="$lt_tool_outputfile.exe"
9950 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9951 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9952 $RM "$lt_outputfile.manifest";
9956 # Assume MSVC wrapper
9957 hardcode_libdir_flag_spec=' '
9958 allow_undefined_flag=unsupported
9959 # Tell ltmain to make .lib files, not .a files.
9961 # Tell ltmain to make .dll files, not .so files.
9963 # FIXME: Setting linknames here is a bad hack.
9964 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9965 # The linker will automatically build a .lib file if we build a DLL.
9966 old_archive_from_new_cmds='true'
9967 # FIXME: Should let the user specify the lib program.
9968 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9969 enable_shared_with_static_runtimes=yes
9974 darwin* | rhapsody*)
9977 archive_cmds_need_lc=no
9979 hardcode_automatic=yes
9980 hardcode_shlibpath_var=unsupported
9981 if test "$lt_cv_ld_force_load" = "yes"; then
9982 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\"`'
9985 whole_archive_flag_spec=''
9987 link_all_deplibs=yes
9988 allow_undefined_flag="$_lt_dar_allow_undefined"
9989 case $cc_basename in
9990 ifort*) _lt_dar_can_shared=yes ;;
9991 *) _lt_dar_can_shared=$GCC ;;
9993 if test "$_lt_dar_can_shared" = "yes"; then
9994 output_verbose_link_cmd=func_echo_all
9995 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9996 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9997 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}"
9998 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}"
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_libdir_flag_spec='-L$libdir'
10009 hardcode_shlibpath_var=no
10012 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10013 # support. Future versions do this automatically, but an explicit c++rt0.o
10014 # does not break anything, and helps significantly (at the cost of a little
10017 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10018 hardcode_libdir_flag_spec='-R$libdir'
10019 hardcode_direct=yes
10020 hardcode_shlibpath_var=no
10023 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10025 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_direct=yes
10027 hardcode_minus_L=yes
10028 hardcode_shlibpath_var=no
10031 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10032 freebsd* | dragonfly*)
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='-R$libdir'
10035 hardcode_direct=yes
10036 hardcode_shlibpath_var=no
10040 if test "$GCC" = yes; then
10041 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'
10043 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'
10045 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10046 hardcode_libdir_separator=:
10047 hardcode_direct=yes
10049 # hardcode_minus_L: Not really in the search PATH,
10050 # but as the default location of the library.
10051 hardcode_minus_L=yes
10052 export_dynamic_flag_spec='${wl}-E'
10056 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10057 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10059 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10061 if test "$with_gnu_ld" = no; then
10062 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10063 hardcode_libdir_separator=:
10064 hardcode_direct=yes
10065 hardcode_direct_absolute=yes
10066 export_dynamic_flag_spec='${wl}-E'
10067 # hardcode_minus_L: Not really in the search PATH,
10068 # but as the default location of the library.
10069 hardcode_minus_L=yes
10074 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10077 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10096 # Older versions of the 11.00 compiler do not understand -b yet
10097 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10099 $as_echo_n "checking if $CC understands -b... " >&6; }
10100 if ${lt_cv_prog_compiler__b+:} false; then :
10101 $as_echo_n "(cached) " >&6
10103 lt_cv_prog_compiler__b=no
10104 save_LDFLAGS="$LDFLAGS"
10105 LDFLAGS="$LDFLAGS -b"
10106 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10107 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10108 # The linker can only warn and ignore the option if not recognized
10109 # So say no if there are warnings
10110 if test -s conftest.err; then
10111 # Append any errors to the config.log.
10112 cat conftest.err 1>&5
10113 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10115 if diff conftest.exp conftest.er2 >/dev/null; then
10116 lt_cv_prog_compiler__b=yes
10119 lt_cv_prog_compiler__b=yes
10123 LDFLAGS="$save_LDFLAGS"
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10127 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10129 if test x"$lt_cv_prog_compiler__b" = xyes; then
10130 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10138 if test "$with_gnu_ld" = no; then
10139 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10140 hardcode_libdir_separator=:
10145 hardcode_shlibpath_var=no
10148 hardcode_direct=yes
10149 hardcode_direct_absolute=yes
10150 export_dynamic_flag_spec='${wl}-E'
10152 # hardcode_minus_L: Not really in the search PATH,
10153 # but as the default location of the library.
10154 hardcode_minus_L=yes
10160 irix5* | irix6* | nonstopux*)
10161 if test "$GCC" = yes; then
10162 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'
10163 # Try to use the -exported_symbol ld option, if it does not
10164 # work, assume that -exports_file does not work either and
10165 # implicitly export all symbols.
10166 # This should be the same for all languages, so no per-tag cache variable.
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10168 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10169 if ${lt_cv_irix_exported_symbol+:} false; then :
10170 $as_echo_n "(cached) " >&6
10172 save_LDFLAGS="$LDFLAGS"
10173 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10176 int foo (void) { return 0; }
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 lt_cv_irix_exported_symbol=yes
10181 lt_cv_irix_exported_symbol=no
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 LDFLAGS="$save_LDFLAGS"
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10188 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10189 if test "$lt_cv_irix_exported_symbol" = yes; then
10190 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'
10193 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'
10194 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'
10196 archive_cmds_need_lc='no'
10197 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10198 hardcode_libdir_separator=:
10200 link_all_deplibs=yes
10203 netbsd* | netbsdelf*-gnu)
10204 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10205 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10207 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10209 hardcode_libdir_flag_spec='-R$libdir'
10210 hardcode_direct=yes
10211 hardcode_shlibpath_var=no
10215 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216 hardcode_direct=yes
10217 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10218 hardcode_libdir_separator=:
10219 hardcode_shlibpath_var=no
10226 if test -f /usr/libexec/ld.so; then
10227 hardcode_direct=yes
10228 hardcode_shlibpath_var=no
10229 hardcode_direct_absolute=yes
10230 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10231 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10233 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10234 export_dynamic_flag_spec='${wl}-E'
10237 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10238 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10239 hardcode_libdir_flag_spec='-R$libdir'
10242 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10243 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10253 hardcode_libdir_flag_spec='-L$libdir'
10254 hardcode_minus_L=yes
10255 allow_undefined_flag=unsupported
10256 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'
10257 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10261 if test "$GCC" = yes; then
10262 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10263 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'
10265 allow_undefined_flag=' -expect_unresolved \*'
10266 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'
10268 archive_cmds_need_lc='no'
10269 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10270 hardcode_libdir_separator=:
10273 osf4* | osf5*) # as osf3* with the addition of -msym flag
10274 if test "$GCC" = yes; then
10275 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10276 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'
10277 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10279 allow_undefined_flag=' -expect_unresolved \*'
10280 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'
10281 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~
10282 $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'
10284 # Both c and cxx compiler support -rpath directly
10285 hardcode_libdir_flag_spec='-rpath $libdir'
10287 archive_cmds_need_lc='no'
10288 hardcode_libdir_separator=:
10292 no_undefined_flag=' -z defs'
10293 if test "$GCC" = yes; then
10295 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10296 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10297 $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'
10299 case `$CC -V 2>&1` in
10302 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10303 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10304 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10308 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10309 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10310 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10314 hardcode_libdir_flag_spec='-R$libdir'
10315 hardcode_shlibpath_var=no
10317 solaris2.[0-5] | solaris2.[0-5].*) ;;
10319 # The compiler driver will combine and reorder linker options,
10320 # but understands `-z linker_flag'. GCC discards it without `$wl',
10321 # but is careful enough not to reorder.
10322 # Supported since Solaris 2.6 (maybe 2.5.1?)
10323 if test "$GCC" = yes; then
10324 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10326 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10330 link_all_deplibs=yes
10334 if test "x$host_vendor" = xsequent; then
10335 # Use $CC to link under sequent, because it throws in some extra .o
10336 # files that make .init and .fini sections work.
10337 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10341 hardcode_libdir_flag_spec='-L$libdir'
10342 hardcode_direct=yes
10343 hardcode_minus_L=yes
10344 hardcode_shlibpath_var=no
10348 case $host_vendor in
10350 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_direct=yes # is this really true???
10354 ## LD is ld it makes a PLAMLIB
10355 ## CC just makes a GrossModule.
10356 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10357 reload_cmds='$CC -r -o $output$reload_objs'
10361 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10362 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10365 runpath_var='LD_RUN_PATH'
10366 hardcode_shlibpath_var=no
10370 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10371 hardcode_shlibpath_var=no
10372 export_dynamic_flag_spec='-Bexport'
10376 if test -d /usr/nec; then
10377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10378 hardcode_shlibpath_var=no
10379 runpath_var=LD_RUN_PATH
10380 hardcode_runpath_var=yes
10385 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10386 no_undefined_flag='${wl}-z,text'
10387 archive_cmds_need_lc=no
10388 hardcode_shlibpath_var=no
10389 runpath_var='LD_RUN_PATH'
10391 if test "$GCC" = yes; then
10392 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10400 sysv5* | sco3.2v5* | sco5v6*)
10401 # Note: We can NOT use -z defs as we might desire, because we do not
10402 # link with -lc, and that would cause any symbols used from libc to
10403 # always be unresolved, which means just about no library would
10404 # ever link correctly. If we're not using GNU ld we use -z text
10405 # though, which does catch some bad symbols but isn't as heavy-handed
10407 no_undefined_flag='${wl}-z,text'
10408 allow_undefined_flag='${wl}-z,nodefs'
10409 archive_cmds_need_lc=no
10410 hardcode_shlibpath_var=no
10411 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10412 hardcode_libdir_separator=':'
10413 link_all_deplibs=yes
10414 export_dynamic_flag_spec='${wl}-Bexport'
10415 runpath_var='LD_RUN_PATH'
10417 if test "$GCC" = yes; then
10418 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428 hardcode_libdir_flag_spec='-L$libdir'
10429 hardcode_shlibpath_var=no
10437 if test x$host_vendor = xsni; then
10439 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10440 export_dynamic_flag_spec='${wl}-Blargedynsym'
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10447 $as_echo "$ld_shlibs" >&6; }
10448 test "$ld_shlibs" = no && can_build_shared=no
10450 with_gnu_ld=$with_gnu_ld
10467 # Do we need to explicitly link libc?
10469 case "x$archive_cmds_need_lc" in
10471 # Assume -lc should be added
10472 archive_cmds_need_lc=yes
10474 if test "$enable_shared" = yes && test "$GCC" = yes; then
10475 case $archive_cmds in
10477 # FIXME: we may have to deal with multi-command sequences.
10480 # Test whether the compiler implicitly links with -lc since on some
10481 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10482 # to ld, don't add -lc before -lgcc.
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10484 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10485 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10486 $as_echo_n "(cached) " >&6
10489 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10492 (eval $ac_compile) 2>&5
10494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10495 test $ac_status = 0; } 2>conftest.err; then
10498 libobjs=conftest.$ac_objext
10500 wl=$lt_prog_compiler_wl
10501 pic_flag=$lt_prog_compiler_pic
10507 lt_save_allow_undefined_flag=$allow_undefined_flag
10508 allow_undefined_flag=
10509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10510 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10513 test $ac_status = 0; }
10515 lt_cv_archive_cmds_need_lc=no
10517 lt_cv_archive_cmds_need_lc=yes
10519 allow_undefined_flag=$lt_save_allow_undefined_flag
10521 cat conftest.err 1>&5
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10527 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10528 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10687 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10689 if test "$GCC" = yes; then
10691 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10692 *) lt_awk_arg="/^libraries:/" ;;
10695 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10696 *) lt_sed_strip_eq="s,=/,/,g" ;;
10698 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10699 case $lt_search_path_spec in
10701 # if the path contains ";" then we assume it to be the separator
10702 # otherwise default to the standard path separator (i.e. ":") - it is
10703 # assumed that no part of a normal pathname contains ";" but that should
10704 # okay in the real world where ";" in dirpaths is itself problematic.
10705 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10708 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10711 # Ok, now we have the path, separated by spaces, we can step through it
10712 # and add multilib dir if necessary.
10713 lt_tmp_lt_search_path_spec=
10714 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10715 for lt_sys_path in $lt_search_path_spec; do
10716 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10717 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10719 test -d "$lt_sys_path" && \
10720 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10723 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10724 BEGIN {RS=" "; FS="/|\n";} {
10727 for (lt_i = NF; lt_i > 0; lt_i--) {
10728 if ($lt_i != "" && $lt_i != ".") {
10729 if ($lt_i == "..") {
10732 if (lt_count == 0) {
10733 lt_foo="/" $lt_i lt_foo;
10740 if (lt_foo != "") { lt_freq[lt_foo]++; }
10741 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10743 # AWK program above erroneously prepends '/' to C:/dos/paths
10746 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10747 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10749 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10751 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10753 library_names_spec=
10754 libname_spec='lib$name'
10758 postuninstall_cmds=
10762 shlibpath_overrides_runpath=unknown
10764 dynamic_linker="$host_os ld.so"
10765 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10766 need_lib_prefix=unknown
10767 hardcode_into_libs=no
10769 # when you set need_version to no, make sure it does not cause -set_version
10770 # flags to be left without arguments
10771 need_version=unknown
10775 version_type=linux # correct to gnu/linux during the next big refactor
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10777 shlibpath_var=LIBPATH
10779 # AIX 3 has no versioning support, so we append a major version to the name.
10780 soname_spec='${libname}${release}${shared_ext}$major'
10784 version_type=linux # correct to gnu/linux during the next big refactor
10787 hardcode_into_libs=yes
10788 if test "$host_cpu" = ia64; then
10789 # AIX 5 supports IA64
10790 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10791 shlibpath_var=LD_LIBRARY_PATH
10793 # With GCC up to 2.95.x, collect2 would create an import file
10794 # for dependence libraries. The import file would start with
10795 # the line `#! .'. This would cause the generated library to
10796 # depend on `.', always an invalid library. This was fixed in
10797 # development snapshots of GCC prior to 3.0.
10799 aix4 | aix4.[01] | aix4.[01].*)
10800 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10802 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10805 can_build_shared=no
10809 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10810 # soname into executable. Probably we can add versioning support to
10811 # collect2, so additional links can be useful in future.
10812 if test "$aix_use_runtimelinking" = yes; then
10813 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10814 # instead of lib<name>.a to let people know that these are not
10815 # typical AIX shared libraries.
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 # We preserve .a as extension for shared libraries through AIX4.2
10819 # and later when we are not doing run time linking.
10820 library_names_spec='${libname}${release}.a $libname.a'
10821 soname_spec='${libname}${release}${shared_ext}$major'
10823 shlibpath_var=LIBPATH
10830 # Since July 2007 AmigaOS4 officially supports .so libraries.
10831 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 library_names_spec='$libname.ixlibrary $libname.a'
10836 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10837 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'
10843 library_names_spec='${libname}${shared_ext}'
10844 dynamic_linker="$host_os ld.so"
10845 shlibpath_var=LIBRARY_PATH
10849 version_type=linux # correct to gnu/linux during the next big refactor
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10856 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10857 # the default ld.so.conf also contains /usr/contrib/lib and
10858 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10859 # libtool to hard-code these into programs
10862 cygwin* | mingw* | pw32* | cegcc*)
10863 version_type=windows
10868 case $GCC,$cc_basename in
10871 library_names_spec='$libname.dll.a'
10872 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10873 postinstall_cmds='base_file=`basename \${file}`~
10874 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10875 dldir=$destdir/`dirname \$dlpath`~
10876 test -d \$dldir || mkdir -p \$dldir~
10877 $install_prog $dir/$dlname \$dldir/$dlname~
10878 chmod a+x \$dldir/$dlname~
10879 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10880 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10882 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10883 dlpath=$dir/\$dldll~
10885 shlibpath_overrides_runpath=yes
10889 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10890 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10892 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10895 # MinGW DLLs use traditional 'lib' prefix
10896 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899 # pw32 DLLs use 'pw' prefix rather than 'lib'
10900 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10903 dynamic_linker='Win32 ld.exe'
10908 libname_spec='$name'
10909 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10910 library_names_spec='${libname}.dll.lib'
10914 sys_lib_search_path_spec=
10917 for lt_path in $LIB
10920 # Let DOS variable expansion print the short 8.3 style file name.
10921 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10922 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10925 # Convert to MSYS style.
10926 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10929 # Convert to unix form, then to dos form, then back to unix form
10930 # but this time dos style (no spaces!) so that the unix form looks
10931 # like /cygdrive/c/PROGRA~1:/cygdr...
10932 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10933 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10934 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10937 sys_lib_search_path_spec="$LIB"
10938 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10939 # It is most probably a Windows format PATH.
10940 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10942 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10944 # FIXME: find the short name or the path components, as spaces are
10945 # common. (e.g. "Program Files" -> "PROGRA~1")
10949 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10950 postinstall_cmds='base_file=`basename \${file}`~
10951 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10952 dldir=$destdir/`dirname \$dlpath`~
10953 test -d \$dldir || mkdir -p \$dldir~
10954 $install_prog $dir/$dlname \$dldir/$dlname'
10955 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10956 dlpath=$dir/\$dldll~
10958 shlibpath_overrides_runpath=yes
10959 dynamic_linker='Win32 link.exe'
10963 # Assume MSVC wrapper
10964 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10965 dynamic_linker='Win32 ld.exe'
10968 # FIXME: first we should search . and the directory the executable is in
10972 darwin* | rhapsody*)
10973 dynamic_linker="$host_os dyld"
10974 version_type=darwin
10977 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10978 soname_spec='${libname}${release}${major}$shared_ext'
10979 shlibpath_overrides_runpath=yes
10980 shlibpath_var=DYLD_LIBRARY_PATH
10981 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10983 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10984 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10988 version_type=linux # correct to gnu/linux during the next big refactor
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10996 freebsd* | dragonfly*)
10997 # DragonFly does not have aout. When/if they implement a new
10998 # versioning mechanism, adjust this.
10999 if test -x /usr/bin/objformat; then
11000 objformat=`/usr/bin/objformat`
11003 freebsd[23].*) objformat=aout ;;
11004 *) objformat=elf ;;
11007 version_type=freebsd-$objformat
11008 case $version_type in
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11019 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=yes
11024 freebsd3.[01]* | freebsdelf3.[01]*)
11025 shlibpath_overrides_runpath=yes
11026 hardcode_into_libs=yes
11028 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11029 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11030 shlibpath_overrides_runpath=no
11031 hardcode_into_libs=yes
11033 *) # from 4.6 on, and DragonFly
11034 shlibpath_overrides_runpath=yes
11035 hardcode_into_libs=yes
11041 version_type=linux # correct to gnu/linux during the next big refactor
11044 dynamic_linker="$host_os runtime_loader"
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 shlibpath_var=LIBRARY_PATH
11048 shlibpath_overrides_runpath=yes
11049 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11050 hardcode_into_libs=yes
11053 hpux9* | hpux10* | hpux11*)
11054 # Give a soname corresponding to the major version so that dld.sl refuses to
11055 # link against other versions.
11062 hardcode_into_libs=yes
11063 dynamic_linker="$host_os dld.so"
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 if test "X$HPUX_IA64_MODE" = X32; then
11069 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11071 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11073 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11077 hardcode_into_libs=yes
11078 dynamic_linker="$host_os dld.sl"
11079 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11080 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11084 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11088 dynamic_linker="$host_os dld.sl"
11089 shlibpath_var=SHLIB_PATH
11090 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 soname_spec='${libname}${release}${shared_ext}$major'
11095 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11096 postinstall_cmds='chmod 555 $lib'
11097 # or fails outright, so override atomically:
11098 install_override_mode=555
11102 version_type=linux # correct to gnu/linux during the next big refactor
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11108 shlibpath_var=LD_LIBRARY_PATH
11109 shlibpath_overrides_runpath=no
11110 hardcode_into_libs=yes
11113 irix5* | irix6* | nonstopux*)
11115 nonstopux*) version_type=nonstopux ;;
11117 if test "$lt_cv_prog_gnu_ld" = yes; then
11118 version_type=linux # correct to gnu/linux during the next big refactor
11125 soname_spec='${libname}${release}${shared_ext}$major'
11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11128 irix5* | nonstopux*)
11129 libsuff= shlibsuff=
11132 case $LD in # libtool.m4 will add one of these switches to LD
11133 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11134 libsuff= shlibsuff= libmagic=32-bit;;
11135 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11136 libsuff=32 shlibsuff=N32 libmagic=N32;;
11137 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11138 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11139 *) libsuff= shlibsuff= libmagic=never-match;;
11143 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11144 shlibpath_overrides_runpath=no
11145 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11146 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11147 hardcode_into_libs=yes
11150 # No shared lib support for Linux oldld, aout, or coff.
11151 linux*oldld* | linux*aout* | linux*coff*)
11155 # This must be glibc/ELF.
11156 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11157 version_type=linux # correct to gnu/linux during the next big refactor
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec='${libname}${release}${shared_ext}$major'
11162 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11163 shlibpath_var=LD_LIBRARY_PATH
11164 shlibpath_overrides_runpath=no
11166 # Some binutils ld are patched to set DT_RUNPATH
11167 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11168 $as_echo_n "(cached) " >&6
11170 lt_cv_shlibpath_overrides_runpath=no
11171 save_LDFLAGS=$LDFLAGS
11172 save_libdir=$libdir
11173 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11174 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11188 lt_cv_shlibpath_overrides_runpath=yes
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LDFLAGS=$save_LDFLAGS
11194 libdir=$save_libdir
11198 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11200 # This implies no fast_install, which is unacceptable.
11201 # Some rework will be needed to allow for fast_install
11202 # before this can be enabled.
11203 hardcode_into_libs=yes
11205 # Append ld.so.conf contents to the search path
11206 if test -f /etc/ld.so.conf; then
11207 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' ' '`
11208 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11211 # We used to test for /lib/ld.so.1 and disable shared libraries on
11212 # powerpc, because MkLinux only supported shared libraries with the
11213 # GNU dynamic linker. Since this was broken with cross compilers,
11214 # most powerpc-linux boxes support dynamic linking these days and
11215 # people can always --disable-shared, the test was removed, and we
11216 # assume the GNU/Linux dynamic linker is in use.
11217 dynamic_linker='GNU/Linux ld.so'
11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11225 soname_spec='${libname}${release}${shared_ext}$major'
11226 shlibpath_var=LD_LIBRARY_PATH
11227 shlibpath_overrides_runpath=no
11228 hardcode_into_libs=yes
11229 dynamic_linker='NetBSD ld.elf_so'
11236 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11238 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11239 dynamic_linker='NetBSD (a.out) ld.so'
11241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11242 soname_spec='${libname}${release}${shared_ext}$major'
11243 dynamic_linker='NetBSD ld.elf_so'
11245 shlibpath_var=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath=yes
11247 hardcode_into_libs=yes
11251 version_type=linux # correct to gnu/linux during the next big refactor
11252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 shlibpath_var=LD_LIBRARY_PATH
11254 shlibpath_overrides_runpath=yes
11261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 soname_spec='${libname}${release}${shared_ext}$major'
11263 shlibpath_var=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath=no
11265 hardcode_into_libs=yes
11266 dynamic_linker='ldqnx.so'
11271 sys_lib_dlsearch_path_spec="/usr/lib"
11273 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11275 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11276 *) need_version=no ;;
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11279 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11280 shlibpath_var=LD_LIBRARY_PATH
11281 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11283 openbsd2.[89] | openbsd2.[89].*)
11284 shlibpath_overrides_runpath=no
11287 shlibpath_overrides_runpath=yes
11291 shlibpath_overrides_runpath=yes
11296 libname_spec='$name'
11299 library_names_spec='$libname${shared_ext} $libname.a'
11300 dynamic_linker='OS/2 ld.exe'
11301 shlibpath_var=LIBPATH
11304 osf3* | osf4* | osf5*)
11308 soname_spec='${libname}${release}${shared_ext}$major'
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 shlibpath_var=LD_LIBRARY_PATH
11311 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11312 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11320 version_type=linux # correct to gnu/linux during the next big refactor
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324 soname_spec='${libname}${release}${shared_ext}$major'
11325 shlibpath_var=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath=yes
11327 hardcode_into_libs=yes
11328 # ldd complains unless libraries are executable
11329 postinstall_cmds='chmod +x $lib'
11334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11335 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11336 shlibpath_var=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath=yes
11338 if test "$with_gnu_ld" = yes; then
11345 version_type=linux # correct to gnu/linux during the next big refactor
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 case $host_vendor in
11351 shlibpath_overrides_runpath=no
11353 runpath_var=LD_RUN_PATH
11361 shlibpath_overrides_runpath=no
11362 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11368 if test -d /usr/nec ;then
11369 version_type=linux # correct to gnu/linux during the next big refactor
11370 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11371 soname_spec='$libname${shared_ext}.$major'
11372 shlibpath_var=LD_LIBRARY_PATH
11376 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11377 version_type=freebsd-elf
11380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11381 soname_spec='${libname}${release}${shared_ext}$major'
11382 shlibpath_var=LD_LIBRARY_PATH
11383 shlibpath_overrides_runpath=yes
11384 hardcode_into_libs=yes
11385 if test "$with_gnu_ld" = yes; then
11386 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11388 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11391 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11395 sys_lib_dlsearch_path_spec='/usr/lib'
11399 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11400 version_type=linux # correct to gnu/linux during the next big refactor
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 shlibpath_var=LD_LIBRARY_PATH
11405 shlibpath_overrides_runpath=no
11406 hardcode_into_libs=yes
11410 version_type=linux # correct to gnu/linux during the next big refactor
11411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11412 soname_spec='${libname}${release}${shared_ext}$major'
11413 shlibpath_var=LD_LIBRARY_PATH
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11421 $as_echo "$dynamic_linker" >&6; }
11422 test "$dynamic_linker" = no && can_build_shared=no
11424 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11425 if test "$GCC" = yes; then
11426 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11429 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11430 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11432 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11433 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11528 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11530 if test -n "$hardcode_libdir_flag_spec" ||
11531 test -n "$runpath_var" ||
11532 test "X$hardcode_automatic" = "Xyes" ; then
11534 # We can hardcode non-existent directories.
11535 if test "$hardcode_direct" != no &&
11536 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11537 # have to relink, otherwise we might link with an installed library
11538 # when we should be linking with a yet-to-be-installed one
11539 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11540 test "$hardcode_minus_L" != no; then
11541 # Linking always hardcodes the temporary library directory.
11542 hardcode_action=relink
11544 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11545 hardcode_action=immediate
11548 # We cannot hardcode anything, or else we can only hardcode existing
11550 hardcode_action=unsupported
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11553 $as_echo "$hardcode_action" >&6; }
11555 if test "$hardcode_action" = relink ||
11556 test "$inherit_rpath" = yes; then
11557 # Fast installation is not supported
11558 enable_fast_install=no
11559 elif test "$shlibpath_overrides_runpath" = yes ||
11560 test "$enable_shared" = no; then
11561 # Fast installation is not necessary
11562 enable_fast_install=needless
11570 if test "x$enable_dlopen" != xyes; then
11571 enable_dlopen=unknown
11572 enable_dlopen_self=unknown
11573 enable_dlopen_self_static=unknown
11580 lt_cv_dlopen="load_add_on"
11582 lt_cv_dlopen_self=yes
11585 mingw* | pw32* | cegcc*)
11586 lt_cv_dlopen="LoadLibrary"
11591 lt_cv_dlopen="dlopen"
11596 # if libdl is installed we need to link against it
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11599 if ${ac_cv_lib_dl_dlopen+:} false; then :
11600 $as_echo_n "(cached) " >&6
11602 ac_check_lib_save_LIBS=$LIBS
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 ac_cv_lib_dl_dlopen=yes
11625 ac_cv_lib_dl_dlopen=no
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11633 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11634 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11637 lt_cv_dlopen="dyld"
11639 lt_cv_dlopen_self=yes
11646 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11647 if test "x$ac_cv_func_shl_load" = xyes; then :
11648 lt_cv_dlopen="shl_load"
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11651 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11652 if ${ac_cv_lib_dld_shl_load+:} false; then :
11653 $as_echo_n "(cached) " >&6
11655 ac_check_lib_save_LIBS=$LIBS
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11670 return shl_load ();
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 ac_cv_lib_dld_shl_load=yes
11678 ac_cv_lib_dld_shl_load=no
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_lib_save_LIBS
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11685 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11686 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11687 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11689 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11690 if test "x$ac_cv_func_dlopen" = xyes; then :
11691 lt_cv_dlopen="dlopen"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11694 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11695 if ${ac_cv_lib_dl_dlopen+:} false; then :
11696 $as_echo_n "(cached) " >&6
11698 ac_check_lib_save_LIBS=$LIBS
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11718 if ac_fn_c_try_link "$LINENO"; then :
11719 ac_cv_lib_dl_dlopen=yes
11721 ac_cv_lib_dl_dlopen=no
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_lib_save_LIBS
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11728 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11729 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11730 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11733 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11734 if ${ac_cv_lib_svld_dlopen+:} false; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_check_lib_save_LIBS=$LIBS
11738 LIBS="-lsvld $LIBS"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11757 if ac_fn_c_try_link "$LINENO"; then :
11758 ac_cv_lib_svld_dlopen=yes
11760 ac_cv_lib_svld_dlopen=no
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11767 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11768 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11769 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11772 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11773 if ${ac_cv_lib_dld_dld_link+:} false; then :
11774 $as_echo_n "(cached) " >&6
11776 ac_check_lib_save_LIBS=$LIBS
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11791 return dld_link ();
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 ac_cv_lib_dld_dld_link=yes
11799 ac_cv_lib_dld_dld_link=no
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11806 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11807 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11808 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11829 if test "x$lt_cv_dlopen" != xno; then
11835 case $lt_cv_dlopen in
11837 save_CPPFLAGS="$CPPFLAGS"
11838 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11840 save_LDFLAGS="$LDFLAGS"
11841 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11844 LIBS="$lt_cv_dlopen_libs $LIBS"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11847 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11848 if ${lt_cv_dlopen_self+:} false; then :
11849 $as_echo_n "(cached) " >&6
11851 if test "$cross_compiling" = yes; then :
11852 lt_cv_dlopen_self=cross
11854 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11855 lt_status=$lt_dlunknown
11856 cat > conftest.$ac_ext <<_LT_EOF
11857 #line $LINENO "configure"
11858 #include "confdefs.h"
11867 # define LT_DLGLOBAL RTLD_GLOBAL
11870 # define LT_DLGLOBAL DL_GLOBAL
11872 # define LT_DLGLOBAL 0
11876 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11877 find out it does not work in some platform. */
11878 #ifndef LT_DLLAZY_OR_NOW
11880 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11883 # define LT_DLLAZY_OR_NOW DL_LAZY
11886 # define LT_DLLAZY_OR_NOW RTLD_NOW
11889 # define LT_DLLAZY_OR_NOW DL_NOW
11891 # define LT_DLLAZY_OR_NOW 0
11898 /* When -fvisbility=hidden is used, assume the code has been annotated
11899 correspondingly for the symbols needed. */
11900 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11901 int fnord () __attribute__((visibility("default")));
11904 int fnord () { return 42; }
11907 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11908 int status = $lt_dlunknown;
11912 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11915 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11916 else puts (dlerror ());
11918 /* dlclose (self); */
11926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11927 (eval $ac_link) 2>&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11930 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11931 (./conftest; exit; ) >&5 2>/dev/null
11933 case x$lt_status in
11934 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11935 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11936 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11939 # compilation failed
11940 lt_cv_dlopen_self=no
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11948 $as_echo "$lt_cv_dlopen_self" >&6; }
11950 if test "x$lt_cv_dlopen_self" = xyes; then
11951 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11953 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11954 if ${lt_cv_dlopen_self_static+:} false; then :
11955 $as_echo_n "(cached) " >&6
11957 if test "$cross_compiling" = yes; then :
11958 lt_cv_dlopen_self_static=cross
11960 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11961 lt_status=$lt_dlunknown
11962 cat > conftest.$ac_ext <<_LT_EOF
11963 #line $LINENO "configure"
11964 #include "confdefs.h"
11973 # define LT_DLGLOBAL RTLD_GLOBAL
11976 # define LT_DLGLOBAL DL_GLOBAL
11978 # define LT_DLGLOBAL 0
11982 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11983 find out it does not work in some platform. */
11984 #ifndef LT_DLLAZY_OR_NOW
11986 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11989 # define LT_DLLAZY_OR_NOW DL_LAZY
11992 # define LT_DLLAZY_OR_NOW RTLD_NOW
11995 # define LT_DLLAZY_OR_NOW DL_NOW
11997 # define LT_DLLAZY_OR_NOW 0
12004 /* When -fvisbility=hidden is used, assume the code has been annotated
12005 correspondingly for the symbols needed. */
12006 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12007 int fnord () __attribute__((visibility("default")));
12010 int fnord () { return 42; }
12013 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12014 int status = $lt_dlunknown;
12018 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12021 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12022 else puts (dlerror ());
12024 /* dlclose (self); */
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12033 (eval $ac_link) 2>&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12037 (./conftest; exit; ) >&5 2>/dev/null
12039 case x$lt_status in
12040 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12041 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12042 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12045 # compilation failed
12046 lt_cv_dlopen_self_static=no
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12054 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12057 CPPFLAGS="$save_CPPFLAGS"
12058 LDFLAGS="$save_LDFLAGS"
12063 case $lt_cv_dlopen_self in
12064 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12065 *) enable_dlopen_self=unknown ;;
12068 case $lt_cv_dlopen_self_static in
12069 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12070 *) enable_dlopen_self_static=unknown ;;
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12093 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12094 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12095 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12096 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12100 # FIXME - insert some real tests, host_os isn't really good enough
12103 if test -n "$STRIP" ; then
12104 striplib="$STRIP -x"
12105 old_striplib="$STRIP -S"
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12107 $as_echo "yes" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12131 # Report which library types will actually be built
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12133 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12135 $as_echo "$can_build_shared" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12138 $as_echo_n "checking whether to build shared libraries... " >&6; }
12139 test "$can_build_shared" = "no" && enable_shared=no
12141 # On AIX, shared libraries and static libraries use the same namespace, and
12142 # are all built from PIC.
12145 test "$enable_shared" = yes && enable_static=no
12146 if test -n "$RANLIB"; then
12147 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12148 postinstall_cmds='$RANLIB $lib'
12153 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12154 test "$enable_shared" = yes && enable_static=no
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12159 $as_echo "$enable_shared" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12162 $as_echo_n "checking whether to build static libraries... " >&6; }
12163 # Make sure either enable_shared or enable_static is yes.
12164 test "$enable_shared" = yes || enable_static=yes
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12166 $as_echo "$enable_static" >&6; }
12173 ac_cpp='$CPP $CPPFLAGS'
12174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12194 ac_config_commands="$ac_config_commands libtool"
12199 # Only expand once:
12210 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12211 if test -n "$ac_tool_prefix"; then
12212 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12213 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12215 $as_echo_n "checking for $ac_word... " >&6; }
12216 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12217 $as_echo_n "(cached) " >&6
12219 case $PKG_CONFIG in
12221 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12225 for as_dir in $PATH
12228 test -z "$as_dir" && as_dir=.
12229 for ac_exec_ext in '' $ac_executable_extensions; do
12230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12231 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12243 if test -n "$PKG_CONFIG"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12245 $as_echo "$PKG_CONFIG" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248 $as_echo "no" >&6; }
12253 if test -z "$ac_cv_path_PKG_CONFIG"; then
12254 ac_pt_PKG_CONFIG=$PKG_CONFIG
12255 # Extract the first word of "pkg-config", so it can be a program name with args.
12256 set dummy pkg-config; ac_word=$2
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12258 $as_echo_n "checking for $ac_word... " >&6; }
12259 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12260 $as_echo_n "(cached) " >&6
12262 case $ac_pt_PKG_CONFIG in
12264 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12268 for as_dir in $PATH
12271 test -z "$as_dir" && as_dir=.
12272 for ac_exec_ext in '' $ac_executable_extensions; do
12273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12274 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12285 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12286 if test -n "$ac_pt_PKG_CONFIG"; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12288 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12291 $as_echo "no" >&6; }
12294 if test "x$ac_pt_PKG_CONFIG" = x; then
12297 case $cross_compiling:$ac_tool_warned in
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12301 ac_tool_warned=yes ;;
12303 PKG_CONFIG=$ac_pt_PKG_CONFIG
12306 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12310 if test -n "$PKG_CONFIG"; then
12311 _pkg_min_version=0.9.0
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12313 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12314 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12316 $as_echo "yes" >&6; }
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
12326 $as_echo_n "checking for LIBGUPNP... " >&6; }
12328 if test -n "$LIBGUPNP_CFLAGS"; then
12329 pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
12330 elif test -n "$PKG_CONFIG"; then
12331 if test -n "$PKG_CONFIG" && \
12332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0 \\
12334 libxml-2.0\""; } >&5
12335 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0 \
12339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12340 test $ac_status = 0; }; then
12341 pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.0 \
12343 libxml-2.0" 2>/dev/null`
12344 test "x$?" != "x0" && pkg_failed=yes
12351 if test -n "$LIBGUPNP_LIBS"; then
12352 pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
12353 elif test -n "$PKG_CONFIG"; then
12354 if test -n "$PKG_CONFIG" && \
12355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0 \\
12357 libxml-2.0\""; } >&5
12358 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0 \
12362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12363 test $ac_status = 0; }; then
12364 pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.0 \
12366 libxml-2.0" 2>/dev/null`
12367 test "x$?" != "x0" && pkg_failed=yes
12377 if test $pkg_failed = yes; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12379 $as_echo "no" >&6; }
12381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12382 _pkg_short_errors_supported=yes
12384 _pkg_short_errors_supported=no
12386 if test $_pkg_short_errors_supported = yes; then
12387 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0 \
12391 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0 \
12395 # Put the nasty error message in config.log where it belongs
12396 echo "$LIBGUPNP_PKG_ERRORS" >&5
12398 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.0 \
12400 libxml-2.0) were not met:
12402 $LIBGUPNP_PKG_ERRORS
12404 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12405 installed software in a non-standard prefix.
12407 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12408 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12409 See the pkg-config man page for more details." "$LINENO" 5
12410 elif test $pkg_failed = untried; then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12415 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12416 is in your PATH or set the PKG_CONFIG environment variable to the full
12417 path to pkg-config.
12419 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12420 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12421 See the pkg-config man page for more details.
12423 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12424 See \`config.log' for more details" "$LINENO" 5; }
12426 LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
12427 LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12429 $as_echo "yes" >&6; }
12434 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12438 # Check whether --enable-debug was given.
12439 if test "${enable_debug+set}" = set; then :
12440 enableval=$enable_debug;
12445 if test "x$enable_debug" = "xyes"; then
12446 CFLAGS="$CFLAGS -g -Wall"
12452 # Check whether --enable-introspection was given.
12453 if test "${enable_introspection+set}" = set; then :
12454 enableval=$enable_introspection;
12456 enable_introspection=auto
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12461 $as_echo_n "checking for gobject-introspection... " >&6; }
12463 case $enable_introspection in #(
12465 found_introspection="no (disabled, use --enable-introspection to enable)"
12468 if test -n "$PKG_CONFIG" && \
12469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12470 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12473 test $ac_status = 0; }; then
12476 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12478 if test -n "$PKG_CONFIG" && \
12479 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
12480 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
12482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12483 test $ac_status = 0; }; then
12484 found_introspection=yes
12486 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build gupnp-av" "$LINENO" 5
12490 if test -n "$PKG_CONFIG" && \
12491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
12492 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
12494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12495 test $ac_status = 0; }; then
12496 found_introspection=yes
12498 found_introspection=no
12502 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12506 $as_echo "$found_introspection" >&6; }
12508 INTROSPECTION_SCANNER=
12509 INTROSPECTION_COMPILER=
12510 INTROSPECTION_GENERATE=
12511 INTROSPECTION_GIRDIR=
12512 INTROSPECTION_TYPELIBDIR=
12513 if test "x$found_introspection" = "xyes"; then
12514 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12515 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12516 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12517 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12518 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12519 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12520 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12521 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12532 if test "x$found_introspection" = "xyes"; then
12533 HAVE_INTROSPECTION_TRUE=
12534 HAVE_INTROSPECTION_FALSE='#'
12536 HAVE_INTROSPECTION_TRUE='#'
12537 HAVE_INTROSPECTION_FALSE=
12545 if test "x$found_introspection" = "xyes"; then :
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12548 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12549 VAPIGEN_MIN_VERSION=0.14
12550 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12553 $as_echo "yes" >&6; }
12554 VAPIGEN_MIN_VERSION=0.20
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558 $as_echo "no" >&6; }
12561 # Extract the first word of "vapigen", so it can be a program name with args.
12562 set dummy vapigen; ac_word=$2
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12564 $as_echo_n "checking for $ac_word... " >&6; }
12565 if ${ac_cv_path_VAPIGEN+:} false; then :
12566 $as_echo_n "(cached) " >&6
12570 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12574 for as_dir in $PATH
12577 test -z "$as_dir" && as_dir=.
12578 for ac_exec_ext in '' $ac_executable_extensions; do
12579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12580 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12591 VAPIGEN=$ac_cv_path_VAPIGEN
12592 if test -n "$VAPIGEN"; then
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12594 $as_echo "$VAPIGEN" >&6; }
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12597 $as_echo "no" >&6; }
12601 if test -z "$VAPIGEN"; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12603 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12605 if test -n "$VAPIGEN_MIN_VERSION"; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12607 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12608 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12609 as_arg_v1=$VAPIGEN_MIN_VERSION
12610 as_arg_v2="$am__vapigen_version"
12611 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12615 $as_echo "yes" >&6; } ;; #(
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12618 $as_echo "yes" >&6; } ;; #(
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12621 $as_echo "no" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12623 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12635 if test "x$VAPIGEN" != "x"; then :
12638 if test "x$VAPIGEN" != "x"; then
12640 HAVE_VAPIGEN_FALSE='#'
12642 HAVE_VAPIGEN_TRUE='#'
12643 HAVE_VAPIGEN_FALSE=
12650 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12651 set dummy gtkdoc-check; ac_word=$2
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12653 $as_echo_n "checking for $ac_word... " >&6; }
12654 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12655 $as_echo_n "(cached) " >&6
12657 case $GTKDOC_CHECK in
12659 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12663 for as_dir in $PATH
12666 test -z "$as_dir" && as_dir=.
12667 for ac_exec_ext in '' $ac_executable_extensions; do
12668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12669 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12680 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12681 if test -n "$GTKDOC_CHECK"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12683 $as_echo "$GTKDOC_CHECK" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686 $as_echo "no" >&6; }
12690 for ac_prog in gtkdoc-rebase
12692 # Extract the first word of "$ac_prog", so it can be a program name with args.
12693 set dummy $ac_prog; ac_word=$2
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12695 $as_echo_n "checking for $ac_word... " >&6; }
12696 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12697 $as_echo_n "(cached) " >&6
12699 case $GTKDOC_REBASE in
12701 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12705 for as_dir in $PATH
12708 test -z "$as_dir" && as_dir=.
12709 for ac_exec_ext in '' $ac_executable_extensions; do
12710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12711 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12722 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12723 if test -n "$GTKDOC_REBASE"; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12725 $as_echo "$GTKDOC_REBASE" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12728 $as_echo "no" >&6; }
12732 test -n "$GTKDOC_REBASE" && break
12734 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12736 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12737 set dummy gtkdoc-mkpdf; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12739 $as_echo_n "checking for $ac_word... " >&6; }
12740 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12741 $as_echo_n "(cached) " >&6
12743 case $GTKDOC_MKPDF in
12745 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12755 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12766 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12767 if test -n "$GTKDOC_MKPDF"; then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12769 $as_echo "$GTKDOC_MKPDF" >&6; }
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12772 $as_echo "no" >&6; }
12778 # Check whether --with-html-dir was given.
12779 if test "${with_html_dir+set}" = set; then :
12780 withval=$with_html_dir;
12782 with_html_dir='${datadir}/gtk-doc/html'
12785 HTML_DIR="$with_html_dir"
12788 # Check whether --enable-gtk-doc was given.
12789 if test "${enable_gtk_doc+set}" = set; then :
12790 enableval=$enable_gtk_doc;
12796 if test x$enable_gtk_doc = xyes; then
12797 if test -n "$PKG_CONFIG" && \
12798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.10\""; } >&5
12799 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.10") 2>&5
12801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12802 test $ac_status = 0; }; then
12805 as_fn_error $? "You need to have gtk-doc >= 1.10 installed to build $PACKAGE_NAME" "$LINENO" 5
12807 if test "x$PACKAGE_NAME" != "xglib"; then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12811 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12813 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12814 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12815 elif test -n "$PKG_CONFIG"; then
12816 if test -n "$PKG_CONFIG" && \
12817 { { $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
12818 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12821 test $ac_status = 0; }; then
12822 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12823 test "x$?" != "x0" && pkg_failed=yes
12830 if test -n "$GTKDOC_DEPS_LIBS"; then
12831 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12832 elif test -n "$PKG_CONFIG"; then
12833 if test -n "$PKG_CONFIG" && \
12834 { { $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
12835 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12838 test $ac_status = 0; }; then
12839 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12840 test "x$?" != "x0" && pkg_failed=yes
12850 if test $pkg_failed = yes; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12852 $as_echo "no" >&6; }
12854 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12855 _pkg_short_errors_supported=yes
12857 _pkg_short_errors_supported=no
12859 if test $_pkg_short_errors_supported = yes; then
12860 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`
12862 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12864 # Put the nasty error message in config.log where it belongs
12865 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12868 elif test $pkg_failed = untried; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12873 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12874 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12876 $as_echo "yes" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12883 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12885 $as_echo "$enable_gtk_doc" >&6; }
12887 # Check whether --enable-gtk-doc-html was given.
12888 if test "${enable_gtk_doc_html+set}" = set; then :
12889 enableval=$enable_gtk_doc_html;
12891 enable_gtk_doc_html=yes
12894 # Check whether --enable-gtk-doc-pdf was given.
12895 if test "${enable_gtk_doc_pdf+set}" = set; then :
12896 enableval=$enable_gtk_doc_pdf;
12898 enable_gtk_doc_pdf=no
12902 if test -z "$GTKDOC_MKPDF"; then
12903 enable_gtk_doc_pdf=no
12906 if test -z "$AM_DEFAULT_VERBOSITY"; then
12907 AM_DEFAULT_VERBOSITY=1
12911 if test x$enable_gtk_doc = xyes; then
12912 ENABLE_GTK_DOC_TRUE=
12913 ENABLE_GTK_DOC_FALSE='#'
12915 ENABLE_GTK_DOC_TRUE='#'
12916 ENABLE_GTK_DOC_FALSE=
12919 if test x$enable_gtk_doc_html = xyes; then
12920 GTK_DOC_BUILD_HTML_TRUE=
12921 GTK_DOC_BUILD_HTML_FALSE='#'
12923 GTK_DOC_BUILD_HTML_TRUE='#'
12924 GTK_DOC_BUILD_HTML_FALSE=
12927 if test x$enable_gtk_doc_pdf = xyes; then
12928 GTK_DOC_BUILD_PDF_TRUE=
12929 GTK_DOC_BUILD_PDF_FALSE='#'
12931 GTK_DOC_BUILD_PDF_TRUE='#'
12932 GTK_DOC_BUILD_PDF_FALSE=
12935 if test -n "$LIBTOOL"; then
12936 GTK_DOC_USE_LIBTOOL_TRUE=
12937 GTK_DOC_USE_LIBTOOL_FALSE='#'
12939 GTK_DOC_USE_LIBTOOL_TRUE='#'
12940 GTK_DOC_USE_LIBTOOL_FALSE=
12943 if test -n "$GTKDOC_REBASE"; then
12944 GTK_DOC_USE_REBASE_TRUE=
12945 GTK_DOC_USE_REBASE_FALSE='#'
12947 GTK_DOC_USE_REBASE_TRUE='#'
12948 GTK_DOC_USE_REBASE_FALSE=
12953 ac_config_files="$ac_config_files Makefile libgupnp-av/Makefile tests/Makefile tests/gtest/Makefile doc/Makefile doc/version.xml data/Makefile vala/Makefile gupnp-av-1.0.pc gupnp-av-1.0-uninstalled.pc"
12955 cat >confcache <<\_ACEOF
12956 # This file is a shell script that caches the results of configure
12957 # tests run on this system so they can be shared between configure
12958 # scripts and configure runs, see configure's option --config-cache.
12959 # It is not useful on other systems. If it contains results you don't
12960 # want to keep, you may remove or edit it.
12962 # config.status only pays attention to the cache file if you give it
12963 # the --recheck option to rerun configure.
12965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12967 # following values.
12971 # The following way of writing the cache mishandles newlines in values,
12972 # but we know of no workaround that is simple, portable, and efficient.
12973 # So, we kill variables containing newlines.
12974 # Ultrix sh set writes to stderr and can't be redirected directly,
12975 # and sets the high bit in the cache file unless we assign to the vars.
12977 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12978 eval ac_val=\$$ac_var
12982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12986 _ | IFS | as_nl) ;; #(
12987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12988 *) { eval $ac_var=; unset $ac_var;} ;;
12994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12995 *${as_nl}ac_space=\ *)
12996 # `set' does not quote correctly, so add quotes: double-quote
12997 # substitution turns \\\\ into \\, and sed turns \\ into \.
13000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13003 # `set' quotes correctly as required by POSIX, so do not add quotes.
13004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13017 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13018 if test -w "$cache_file"; then
13019 if test "x$cache_file" != "x/dev/null"; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13021 $as_echo "$as_me: updating cache $cache_file" >&6;}
13022 if test ! -f "$cache_file" || test -h "$cache_file"; then
13023 cat confcache >"$cache_file"
13025 case $cache_file in #(
13027 mv -f confcache "$cache_file"$$ &&
13028 mv -f "$cache_file"$$ "$cache_file" ;; #(
13030 mv -f confcache "$cache_file" ;;
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13036 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13041 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13042 # Let make expand exec_prefix.
13043 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13045 DEFS=-DHAVE_CONFIG_H
13050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13051 # 1. Remove the extension, and $U if already installed.
13052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13055 # will be set to the directory where LIBOBJS objects are built.
13056 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13057 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13059 LIBOBJS=$ac_libobjs
13061 LTLIBOBJS=$ac_ltlibobjs
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13065 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13066 if test -n "$am_sleep_pid"; then
13067 # Hide warnings about reused PIDs.
13068 wait $am_sleep_pid 2>/dev/null
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13071 $as_echo "done" >&6; }
13072 if test -n "$EXEEXT"; then
13074 am__EXEEXT_FALSE='#'
13076 am__EXEEXT_TRUE='#'
13080 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13081 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13084 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13085 as_fn_error $? "conditional \"AMDEP\" was never defined.
13086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13088 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13089 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13092 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13093 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13096 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13097 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13100 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13101 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13104 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13105 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13108 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13109 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13112 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13113 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13116 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13117 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13121 : "${CONFIG_STATUS=./config.status}"
13123 ac_clean_files_save=$ac_clean_files
13124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13128 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13130 # Generated by $as_me.
13131 # Run this file to recreate the current configuration.
13132 # Compiler output produced by configure, useful for debugging
13133 # configure, is in config.log if it exists.
13136 ac_cs_recheck=false
13139 SHELL=\${CONFIG_SHELL-$SHELL}
13142 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13143 ## -------------------- ##
13144 ## M4sh Initialization. ##
13145 ## -------------------- ##
13147 # Be more Bourne compatible
13148 DUALCASE=1; export DUALCASE # for MKS sh
13149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13153 # is contrary to our usage. Disable this feature.
13154 alias -g '${1+"$@"}'='"$@"'
13155 setopt NO_GLOB_SUBST
13157 case `(set -o) 2>/dev/null` in #(
13169 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13170 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13171 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13173 # Prefer a ksh shell builtin over an external printf program on Solaris,
13174 # but without wasting forks for bash or zsh.
13175 if test -z "$BASH_VERSION$ZSH_VERSION" \
13176 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13177 as_echo='print -r --'
13178 as_echo_n='print -rn --'
13179 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13180 as_echo='printf %s\n'
13181 as_echo_n='printf %s'
13183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13185 as_echo_n='/usr/ucb/echo -n'
13187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13188 as_echo_n_body='eval
13192 expr "X$arg" : "X\\(.*\\)$as_nl";
13193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13197 export as_echo_n_body
13198 as_echo_n='sh -c $as_echo_n_body as_echo'
13200 export as_echo_body
13201 as_echo='sh -c $as_echo_body as_echo'
13204 # The user is always right.
13205 if test "${PATH_SEPARATOR+set}" != set; then
13207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13215 # We need space, tab and new line, in precisely that order. Quoting is
13216 # there to prevent editors from complaining about space-tab.
13217 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13218 # splitting by setting IFS to empty value.)
13221 # Find who we are. Look in the path if we contain no directory separator.
13224 *[\\/]* ) as_myself=$0 ;;
13225 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13226 for as_dir in $PATH
13229 test -z "$as_dir" && as_dir=.
13230 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13236 # We did not find ourselves, most probably we were run as `sh COMMAND'
13237 # in which case we are not to be found in the path.
13238 if test "x$as_myself" = x; then
13241 if test ! -f "$as_myself"; then
13242 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13246 # Unset variables that we do not need and which cause bugs (e.g. in
13247 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13248 # suppresses any "Segmentation fault" message there. '((' could
13249 # trigger a bug in pdksh 5.2.14.
13250 for as_var in BASH_ENV ENV MAIL MAILPATH
13251 do eval test x\${$as_var+set} = xset \
13252 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13265 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13268 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13269 # ----------------------------------------
13270 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13271 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13272 # script with STATUS, using 1 if that was 0.
13275 as_status=$1; test $as_status -eq 0 && as_status=1
13277 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13278 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13280 $as_echo "$as_me: error: $2" >&2
13281 as_fn_exit $as_status
13285 # as_fn_set_status STATUS
13286 # -----------------------
13287 # Set $? to STATUS, without forking.
13288 as_fn_set_status ()
13291 } # as_fn_set_status
13293 # as_fn_exit STATUS
13294 # -----------------
13295 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13299 as_fn_set_status $1
13305 # Portably unset VAR.
13308 { eval $1=; unset $1;}
13310 as_unset=as_fn_unset
13311 # as_fn_append VAR VALUE
13312 # ----------------------
13313 # Append the text in VALUE to the end of the definition contained in VAR. Take
13314 # advantage of any shell optimizations that allow amortized linear growth over
13315 # repeated appends, instead of the typical quadratic growth present in naive
13317 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13318 eval 'as_fn_append ()
13329 # as_fn_arith ARG...
13330 # ------------------
13331 # Perform arithmetic evaluation on the ARGs, and store the result in the
13332 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13333 # must be portable across $(()) and expr.
13334 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13335 eval 'as_fn_arith ()
13342 as_val=`expr "$@" || test $? -eq 1`
13347 if expr a : '\(a\)' >/dev/null 2>&1 &&
13348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13355 as_basename=basename
13360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13366 as_me=`$as_basename -- "$0" ||
13367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13368 X"$0" : 'X\(//\)$' \| \
13369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13371 sed '/^.*\/\([^/][^/]*\)\/*$/{
13385 # Avoid depending upon Character Ranges.
13386 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13387 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13388 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13389 as_cr_digits='0123456789'
13390 as_cr_alnum=$as_cr_Letters$as_cr_digits
13392 ECHO_C= ECHO_N= ECHO_T=
13393 case `echo -n x` in #(((((
13395 case `echo 'xy\c'` in
13396 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13398 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13405 rm -f conf$$ conf$$.exe conf$$.file
13406 if test -d conf$$.dir; then
13407 rm -f conf$$.dir/conf$$.file
13410 mkdir conf$$.dir 2>/dev/null
13412 if (echo >conf$$.file) 2>/dev/null; then
13413 if ln -s conf$$.file conf$$ 2>/dev/null; then
13415 # ... but there are two gotchas:
13416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13418 # In both cases, we have to default to `cp -pR'.
13419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13421 elif ln conf$$.file conf$$ 2>/dev/null; then
13429 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13430 rmdir conf$$.dir 2>/dev/null
13435 # Create "$as_dir" as a directory, including parents if necessary.
13440 -*) as_dir=./$as_dir;;
13442 test -d "$as_dir" || eval $as_mkdir_p || {
13446 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13447 *) as_qdir=$as_dir;;
13449 as_dirs="'$as_qdir' $as_dirs"
13450 as_dir=`$as_dirname -- "$as_dir" ||
13451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13452 X"$as_dir" : 'X\(//\)[^/]' \| \
13453 X"$as_dir" : 'X\(//\)$' \| \
13454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13455 $as_echo X"$as_dir" |
13456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13460 /^X\(\/\/\)[^/].*/{
13473 test -d "$as_dir" && break
13475 test -z "$as_dirs" || eval "mkdir $as_dirs"
13476 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13480 if mkdir -p . 2>/dev/null; then
13481 as_mkdir_p='mkdir -p "$as_dir"'
13483 test -d ./-p && rmdir ./-p
13488 # as_fn_executable_p FILE
13489 # -----------------------
13490 # Test if FILE is an executable regular file.
13491 as_fn_executable_p ()
13493 test -f "$1" && test -x "$1"
13494 } # as_fn_executable_p
13495 as_test_x='test -x'
13496 as_executable_p=as_fn_executable_p
13498 # Sed expression to map a string onto a valid CPP name.
13499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13501 # Sed expression to map a string onto a valid variable name.
13502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13506 ## ----------------------------------- ##
13507 ## Main body of $CONFIG_STATUS script. ##
13508 ## ----------------------------------- ##
13510 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13513 # Save the log message, to keep $0 and so on meaningful, and to
13514 # report actual input values of CONFIG_FILES etc. instead of their
13515 # values after options handling.
13517 This file was extended by gupnp-av $as_me 0.12.4, which was
13518 generated by GNU Autoconf 2.69. Invocation command line was
13520 CONFIG_FILES = $CONFIG_FILES
13521 CONFIG_HEADERS = $CONFIG_HEADERS
13522 CONFIG_LINKS = $CONFIG_LINKS
13523 CONFIG_COMMANDS = $CONFIG_COMMANDS
13526 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13531 case $ac_config_files in *"
13532 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13535 case $ac_config_headers in *"
13536 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13541 # Files that config.status was made for.
13542 config_files="$ac_config_files"
13543 config_headers="$ac_config_headers"
13544 config_commands="$ac_config_commands"
13548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13550 \`$as_me' instantiates files and other configuration actions
13551 from templates according to the current configuration. Unless the files
13552 and actions are specified as TAGs, all are instantiated by default.
13554 Usage: $0 [OPTION]... [TAG]...
13556 -h, --help print this help, then exit
13557 -V, --version print version number and configuration settings, then exit
13558 --config print configuration, then exit
13559 -q, --quiet, --silent
13560 do not print progress messages
13561 -d, --debug don't remove temporary files
13562 --recheck update $as_me by reconfiguring in the same conditions
13563 --file=FILE[:TEMPLATE]
13564 instantiate the configuration file FILE
13565 --header=FILE[:TEMPLATE]
13566 instantiate the configuration header FILE
13568 Configuration files:
13571 Configuration headers:
13574 Configuration commands:
13577 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
13578 gupnp-av home page: <http://www.gupnp.org/>."
13581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13582 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13584 gupnp-av config.status 0.12.4
13585 configured by $0, generated by GNU Autoconf 2.69,
13586 with options \\"\$ac_cs_config\\"
13588 Copyright (C) 2012 Free Software Foundation, Inc.
13589 This config.status script is free software; the Free Software Foundation
13590 gives unlimited permission to copy, distribute and modify it."
13597 test -n "\$AWK" || AWK=awk
13600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13601 # The default lists apply if the user does not specify any file.
13607 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13608 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13612 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13624 # Handling of the options.
13625 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13627 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13628 $as_echo "$ac_cs_version"; exit ;;
13629 --config | --confi | --conf | --con | --co | --c )
13630 $as_echo "$ac_cs_config"; exit ;;
13631 --debug | --debu | --deb | --de | --d | -d )
13633 --file | --fil | --fi | --f )
13636 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13637 '') as_fn_error $? "missing file argument" ;;
13639 as_fn_append CONFIG_FILES " '$ac_optarg'"
13640 ac_need_defaults=false;;
13641 --header | --heade | --head | --hea )
13644 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13646 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13647 ac_need_defaults=false;;
13649 # Conflict between --help and --header
13650 as_fn_error $? "ambiguous option: \`$1'
13651 Try \`$0 --help' for more information.";;
13652 --help | --hel | -h )
13653 $as_echo "$ac_cs_usage"; exit ;;
13654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13655 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13658 # This is an error.
13659 -*) as_fn_error $? "unrecognized option: \`$1'
13660 Try \`$0 --help' for more information." ;;
13662 *) as_fn_append ac_config_targets " $1"
13663 ac_need_defaults=false ;;
13669 ac_configure_extra_args=
13671 if $ac_cs_silent; then
13673 ac_configure_extra_args="$ac_configure_extra_args --silent"
13677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13678 if \$ac_cs_recheck; then
13679 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13681 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13682 CONFIG_SHELL='$SHELL'
13683 export CONFIG_SHELL
13688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13692 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13693 ## Running $as_me. ##
13699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13703 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13706 # The HP-UX ksh and POSIX shell print the target directory to stdout
13707 # if CDPATH is set.
13708 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13710 sed_quote_subst='$sed_quote_subst'
13711 double_quote_subst='$double_quote_subst'
13712 delay_variable_subst='$delay_variable_subst'
13713 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13714 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13715 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13716 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13717 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13718 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13719 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13720 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13721 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13722 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13723 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13724 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13725 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13726 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13727 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13728 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13729 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13730 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13731 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13732 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13733 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13734 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13735 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13736 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13737 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13738 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13739 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13740 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13741 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13742 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13743 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13744 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13745 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13746 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13749 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13750 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13751 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13752 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13753 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13754 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13755 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13756 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13770 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"`'
13771 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13772 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13777 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13781 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13782 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13783 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13784 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13785 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13786 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13787 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13788 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13789 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13790 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13791 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13792 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13793 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13794 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13795 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13796 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13797 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13798 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13799 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13800 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13801 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13802 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13803 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13804 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13818 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13846 LTCFLAGS='$LTCFLAGS'
13847 compiler='$compiler_DEFAULT'
13849 # A function that is used when there is no print builtin or printf.
13850 func_fallback_echo ()
13852 eval 'cat <<_LTECHO_EOF
13857 # Quote evaled strings.
13874 deplibs_check_method \
13878 sharedlib_from_linklib_cmd \
13881 archiver_list_spec \
13887 lt_cv_sys_global_symbol_pipe \
13888 lt_cv_sys_global_symbol_to_cdecl \
13889 lt_cv_sys_global_symbol_to_c_name_address \
13890 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13891 nm_file_list_spec \
13892 lt_prog_compiler_no_builtin_flag \
13893 lt_prog_compiler_pic \
13894 lt_prog_compiler_wl \
13895 lt_prog_compiler_static \
13896 lt_cv_prog_compiler_c_o \
13905 export_dynamic_flag_spec \
13906 whole_archive_flag_spec \
13907 compiler_needs_object \
13909 allow_undefined_flag \
13910 no_undefined_flag \
13911 hardcode_libdir_flag_spec \
13912 hardcode_libdir_separator \
13916 variables_saved_for_relink \
13918 library_names_spec \
13920 install_override_mode \
13924 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13925 *[\\\\\\\`\\"\\\$]*)
13926 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13929 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13934 # Double-quote double-evaled strings.
13935 for var in reload_cmds \
13936 old_postinstall_cmds \
13937 old_postuninstall_cmds \
13939 extract_expsyms_cmds \
13940 old_archive_from_new_cmds \
13941 old_archive_from_expsyms_cmds \
13943 archive_expsym_cmds \
13945 module_expsym_cmds \
13946 export_symbols_cmds \
13950 postuninstall_cmds \
13952 sys_lib_search_path_spec \
13953 sys_lib_dlsearch_path_spec; do
13954 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13955 *[\\\\\\\`\\"\\\$]*)
13956 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13959 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13964 ac_aux_dir='$ac_aux_dir'
13965 xsi_shell='$xsi_shell'
13966 lt_shell_append='$lt_shell_append'
13968 # See if we are running on zsh, and set the options which allow our
13969 # commands through without removal of \ escapes INIT.
13970 if test -n "\${ZSH_VERSION+set}" ; then
13971 setopt NO_GLOB_SUBST
13977 TIMESTAMP='$TIMESTAMP'
13986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13988 # Handling of arguments.
13989 for ac_config_target in $ac_config_targets
13991 case $ac_config_target in
13992 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13993 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13994 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13995 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13996 "libgupnp-av/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-av/Makefile" ;;
13997 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13998 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
13999 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14000 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14001 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14002 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14003 "gupnp-av-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-av-1.0.pc" ;;
14004 "gupnp-av-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-av-1.0-uninstalled.pc" ;;
14006 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14011 # If the user did not use the arguments to specify the items to instantiate,
14012 # then the envvar interface is used. Set only those that are not.
14013 # We use the long form for the default assignment because of an extremely
14014 # bizarre bug on SunOS 4.1.3.
14015 if $ac_need_defaults; then
14016 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14017 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14018 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14021 # Have a temporary directory for convenience. Make it in the build tree
14022 # simply because there is no reason against having it here, and in addition,
14023 # creating and moving files from /tmp can sometimes cause problems.
14024 # Hook for its removal unless debugging.
14025 # Note that there is a small window in which the directory will not be cleaned:
14026 # after its creation but before its name has been assigned to `$tmp'.
14030 trap 'exit_status=$?
14031 : "${ac_tmp:=$tmp}"
14032 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14034 trap 'as_fn_exit 1' 1 2 13 15
14036 # Create a (secure) tmp directory for tmp files.
14039 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14043 tmp=./conf$$-$RANDOM
14044 (umask 077 && mkdir "$tmp")
14045 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14048 # Set up the scripts for CONFIG_FILES section.
14049 # No need to generate them if there are no CONFIG_FILES.
14050 # This happens for instance with `./config.status config.h'.
14051 if test -n "$CONFIG_FILES"; then
14054 ac_cr=`echo X | tr X '\015'`
14055 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14056 # But we know of no other shell where ac_cr would be empty at this
14057 # point, so we can use a bashism as a fallback.
14058 if test "x$ac_cr" = x; then
14059 eval ac_cr=\$\'\\r\'
14061 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14062 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14065 ac_cs_awk_cr=$ac_cr
14068 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14073 echo "cat >conf$$subs.awk <<_ACEOF" &&
14074 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14076 } >conf$$subs.sh ||
14077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14078 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14080 for ac_last_try in false false false false false :; do
14081 . ./conf$$subs.sh ||
14082 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14084 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14085 if test $ac_delim_n = $ac_delim_num; then
14087 elif $ac_last_try; then
14088 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14093 rm -f conf$$subs.sh
14095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14096 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14100 s/^/S["/; s/!.*/"]=/
14110 s/\(.\{148\}\)..*/\1/
14112 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14117 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14124 s/\(.\{148\}\)..*/\1/
14126 s/["\\]/\\&/g; s/^/"/; s/$/"/
14130 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14135 ' <conf$$subs.awk | sed '
14140 ' >>$CONFIG_STATUS || ac_write_fail=1
14141 rm -f conf$$subs.awk
14142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14144 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14145 for (key in S) S_is_set[key] = 1
14151 nfields = split(line, field, "@")
14153 len = length(field[1])
14154 for (i = 2; i < nfields; i++) {
14156 keylen = length(key)
14157 if (S_is_set[key]) {
14159 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14160 len += length(value) + length(field[++i])
14171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14172 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14173 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14176 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14177 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14180 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14181 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14182 # trailing colons and then remove the whole line if VPATH becomes empty
14183 # (actually we leave an empty line to preserve line numbers).
14184 if test "x$srcdir" = x.; then
14185 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14204 fi # test -n "$CONFIG_FILES"
14206 # Set up the scripts for CONFIG_HEADERS section.
14207 # No need to generate them if there are no CONFIG_HEADERS.
14208 # This happens for instance with `./config.status Makefile'.
14209 if test -n "$CONFIG_HEADERS"; then
14210 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14214 # Transform confdefs.h into an awk script `defines.awk', embedded as
14215 # here-document in config.status, that substitutes the proper values into
14216 # config.h.in to produce config.h.
14218 # Create a delimiter string that does not exist in confdefs.h, to ease
14219 # handling of long lines.
14221 for ac_last_try in false false :; do
14222 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14223 if test -z "$ac_tt"; then
14225 elif $ac_last_try; then
14226 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14232 # For the awk script, D is an array of macro values keyed by name,
14233 # likewise P contains macro parameters if any. Preserve backslash
14234 # newline sequences.
14236 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14238 s/.\{148\}/&'"$ac_delim"'/g
14241 s/^[ ]*#[ ]*define[ ][ ]*/ /
14248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14250 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14254 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14255 D["\1"]=" \3\\\\\\n"\\/p
14257 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14262 s/.\{148\}/&'"$ac_delim"'/g
14267 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14270 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14272 ' <confdefs.h | sed '
14273 s/'"$ac_delim"'/"\\\
14274 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14277 for (key in D) D_is_set[key] = 1
14280 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14282 split(line, arg, " ")
14283 if (arg[1] == "#") {
14287 defundef = substr(arg[1], 2)
14290 split(mac1, mac2, "(") #)
14292 prefix = substr(line, 1, index(line, defundef) - 1)
14293 if (D_is_set[macro]) {
14294 # Preserve the white space surrounding the "#".
14295 print prefix "define", macro P[macro] D[macro]
14298 # Replace #undef with comments. This is necessary, for example,
14299 # in the case of _POSIX_SOURCE, which is predefined and required
14300 # on some systems where configure will not decide to define it.
14301 if (defundef == "undef") {
14302 print "/*", prefix defundef, macro, "*/"
14310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14311 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14312 fi # test -n "$CONFIG_HEADERS"
14315 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14320 :[FHLC]) ac_mode=$ac_tag; continue;;
14322 case $ac_mode$ac_tag in
14324 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14325 :[FH]-) ac_tag=-:-;;
14326 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14343 -) ac_f="$ac_tmp/stdin";;
14344 *) # Look for the file first in the build tree, then in the source tree
14345 # (if the path is not absolute). The absolute path cannot be DOS-style,
14346 # because $ac_f cannot contain `:'.
14350 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14352 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14354 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14355 as_fn_append ac_file_inputs " '$ac_f'"
14358 # Let's still pretend it is `configure' which instantiates (i.e., don't
14359 # use $as_me), people would be surprised to read:
14360 # /* config.h. Generated by config.status. */
14361 configure_input='Generated from '`
14362 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14364 if test x"$ac_file" != x-; then
14365 configure_input="$ac_file. $configure_input"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14367 $as_echo "$as_me: creating $ac_file" >&6;}
14369 # Neutralize special characters interpreted by sed in replacement strings.
14370 case $configure_input in #(
14371 *\&* | *\|* | *\\* )
14372 ac_sed_conf_input=`$as_echo "$configure_input" |
14373 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14374 *) ac_sed_conf_input=$configure_input;;
14378 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14379 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14384 ac_dir=`$as_dirname -- "$ac_file" ||
14385 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14386 X"$ac_file" : 'X\(//\)[^/]' \| \
14387 X"$ac_file" : 'X\(//\)$' \| \
14388 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14389 $as_echo X"$ac_file" |
14390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14394 /^X\(\/\/\)[^/].*/{
14407 as_dir="$ac_dir"; as_fn_mkdir_p
14411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14414 # A ".." for each directory in $ac_dir_suffix.
14415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14416 case $ac_top_builddir_sub in
14417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14421 ac_abs_top_builddir=$ac_pwd
14422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14423 # for backward compatibility:
14424 ac_top_builddir=$ac_top_build_prefix
14427 .) # We are building in place.
14429 ac_top_srcdir=$ac_top_builddir_sub
14430 ac_abs_top_srcdir=$ac_pwd ;;
14431 [\\/]* | ?:[\\/]* ) # Absolute name.
14432 ac_srcdir=$srcdir$ac_dir_suffix;
14433 ac_top_srcdir=$srcdir
14434 ac_abs_top_srcdir=$srcdir ;;
14435 *) # Relative name.
14436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14437 ac_top_srcdir=$ac_top_build_prefix$srcdir
14438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14453 ac_MKDIR_P=$MKDIR_P
14455 [\\/$]* | ?:[\\/]* ) ;;
14456 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14461 # If the template does not know about datarootdir, expand it.
14462 # FIXME: This hack should be removed a few years after 2.60.
14463 ac_datarootdir_hack=; ac_datarootdir_seen=
14474 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14475 *datarootdir*) ac_datarootdir_seen=yes;;
14476 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14478 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14481 ac_datarootdir_hack='
14482 s&@datadir@&$datadir&g
14483 s&@docdir@&$docdir&g
14484 s&@infodir@&$infodir&g
14485 s&@localedir@&$localedir&g
14486 s&@mandir@&$mandir&g
14487 s&\\\${datarootdir}&$datarootdir&g' ;;
14491 # Neutralize VPATH when `$srcdir' = `.'.
14492 # Shell code in configure.ac might set extrasub.
14493 # FIXME: do we really want to maintain this feature?
14494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14495 ac_sed_extra="$ac_vpsub
14498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14501 s|@configure_input@|$ac_sed_conf_input|;t t
14502 s&@top_builddir@&$ac_top_builddir_sub&;t t
14503 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14504 s&@srcdir@&$ac_srcdir&;t t
14505 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14506 s&@top_srcdir@&$ac_top_srcdir&;t t
14507 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14508 s&@builddir@&$ac_builddir&;t t
14509 s&@abs_builddir@&$ac_abs_builddir&;t t
14510 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14511 s&@INSTALL@&$ac_INSTALL&;t t
14512 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14513 $ac_datarootdir_hack
14515 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14516 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14518 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14519 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14520 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14521 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14523 which seems to be undefined. Please make sure it is defined" >&5
14524 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14525 which seems to be undefined. Please make sure it is defined" >&2;}
14527 rm -f "$ac_tmp/stdin"
14529 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14530 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14538 if test x"$ac_file" != x-; then
14540 $as_echo "/* $configure_input */" \
14541 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14542 } >"$ac_tmp/config.h" \
14543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14544 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14546 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14549 mv "$ac_tmp/config.h" "$ac_file" \
14550 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14553 $as_echo "/* $configure_input */" \
14554 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14555 || as_fn_error $? "could not create -" "$LINENO" 5
14557 # Compute "$ac_file"'s index in $config_headers.
14560 for _am_header in $config_headers :; do
14561 case $_am_header in
14562 $_am_arg | $_am_arg:* )
14565 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14568 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14569 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14570 X"$_am_arg" : 'X\(//\)[^/]' \| \
14571 X"$_am_arg" : 'X\(//\)$' \| \
14572 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14573 $as_echo X"$_am_arg" |
14574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14578 /^X\(\/\/\)[^/].*/{
14590 s/.*/./; q'`/stamp-h$_am_stamp_count
14593 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14594 $as_echo "$as_me: executing $ac_file commands" >&6;}
14599 case $ac_file$ac_mode in
14600 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14601 # Older Autoconf quotes --file arguments for eval, but not when files
14602 # are listed without --file. Let's play safe and only enable the eval
14603 # if we detect the quoting.
14604 case $CONFIG_FILES in
14605 *\'*) eval set x "$CONFIG_FILES" ;;
14606 *) set x $CONFIG_FILES ;;
14611 # Strip MF so we end up with the name of the file.
14612 mf=`echo "$mf" | sed -e 's/:.*$//'`
14613 # Check whether this is an Automake generated Makefile or not.
14614 # We used to match only the files named 'Makefile.in', but
14615 # some people rename them; so instead we look at the file content.
14616 # Grep'ing the first line is not enough: some people post-process
14617 # each Makefile.in and add a new line on top of each file to say so.
14618 # Grep'ing the whole file is not good either: AIX grep has a line
14619 # limit of 2048, but all sed's we know have understand at least 4000.
14620 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14621 dirpart=`$as_dirname -- "$mf" ||
14622 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14623 X"$mf" : 'X\(//\)[^/]' \| \
14624 X"$mf" : 'X\(//\)$' \| \
14625 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14631 /^X\(\/\/\)[^/].*/{
14647 # Extract the definition of DEPDIR, am__include, and am__quote
14648 # from the Makefile without running 'make'.
14649 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14650 test -z "$DEPDIR" && continue
14651 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14652 test -z "$am__include" && continue
14653 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14654 # Find all dependency output files, they are included files with
14655 # $(DEPDIR) in their names. We invoke sed twice because it is the
14656 # simplest approach to changing $(DEPDIR) to its actual value in the
14658 for file in `sed -n "
14659 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14660 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14661 # Make sure the directory exists.
14662 test -f "$dirpart/$file" && continue
14663 fdir=`$as_dirname -- "$file" ||
14664 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14665 X"$file" : 'X\(//\)[^/]' \| \
14666 X"$file" : 'X\(//\)$' \| \
14667 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14668 $as_echo X"$file" |
14669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14673 /^X\(\/\/\)[^/].*/{
14686 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14687 # echo "creating $dirpart/$file"
14688 echo '# dummy' > "$dirpart/$file"
14695 # See if we are running on zsh, and set the options which allow our
14696 # commands through without removal of \ escapes.
14697 if test -n "${ZSH_VERSION+set}" ; then
14698 setopt NO_GLOB_SUBST
14701 cfgfile="${ofile}T"
14702 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14705 cat <<_LT_EOF >> "$cfgfile"
14708 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14709 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14710 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14711 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14713 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14714 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14716 # Written by Gordon Matzigkeit, 1996
14718 # This file is part of GNU Libtool.
14720 # GNU Libtool is free software; you can redistribute it and/or
14721 # modify it under the terms of the GNU General Public License as
14722 # published by the Free Software Foundation; either version 2 of
14723 # the License, or (at your option) any later version.
14725 # As a special exception to the GNU General Public License,
14726 # if you distribute this file as part of a program or library that
14727 # is built using GNU Libtool, you may include this file under the
14728 # same distribution terms that you use for the rest of that program.
14730 # GNU Libtool is distributed in the hope that it will be useful,
14731 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14732 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14733 # GNU General Public License for more details.
14735 # You should have received a copy of the GNU General Public License
14736 # along with GNU Libtool; see the file COPYING. If not, a copy
14737 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14738 # obtained by writing to the Free Software Foundation, Inc.,
14739 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14742 # The names of the tagged configurations supported by this script.
14745 # ### BEGIN LIBTOOL CONFIG
14747 # Which release of libtool.m4 was used?
14748 macro_version=$macro_version
14749 macro_revision=$macro_revision
14751 # Assembler program.
14754 # DLL creation program.
14755 DLLTOOL=$lt_DLLTOOL
14757 # Object dumper program.
14758 OBJDUMP=$lt_OBJDUMP
14760 # Whether or not to build shared libraries.
14761 build_libtool_libs=$enable_shared
14763 # Whether or not to build static libraries.
14764 build_old_libs=$enable_static
14766 # What type of objects to build.
14769 # Whether or not to optimize for fast installation.
14770 fast_install=$enable_fast_install
14772 # Shell to use when invoking shell scripts.
14775 # An echo program that protects backslashes.
14778 # The PATH separator for the build system.
14779 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14782 host_alias=$host_alias
14786 # The build system.
14787 build_alias=$build_alias
14791 # A sed program that does not truncate output.
14794 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14795 Xsed="\$SED -e 1s/^X//"
14797 # A grep program that handles long lines.
14803 # A literal string matcher.
14806 # A BSD- or MS-compatible name lister.
14809 # Whether we need soft or hard links.
14812 # What is the maximum length of a command?
14813 max_cmd_len=$max_cmd_len
14815 # Object file suffix (normally "o").
14818 # Executable file suffix (normally "").
14821 # whether the shell understands "unset".
14824 # turn spaces into newlines.
14827 # turn newlines into spaces.
14830 # convert \$build file names to \$host format.
14831 to_host_file_cmd=$lt_cv_to_host_file_cmd
14833 # convert \$build files to toolchain format.
14834 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14836 # Method to check whether dependent libraries are shared objects.
14837 deplibs_check_method=$lt_deplibs_check_method
14839 # Command to use when deplibs_check_method = "file_magic".
14840 file_magic_cmd=$lt_file_magic_cmd
14842 # How to find potential files when deplibs_check_method = "file_magic".
14843 file_magic_glob=$lt_file_magic_glob
14845 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14846 want_nocaseglob=$lt_want_nocaseglob
14848 # Command to associate shared and link libraries.
14849 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14854 # Flags to create an archive.
14855 AR_FLAGS=$lt_AR_FLAGS
14857 # How to feed a file listing to the archiver.
14858 archiver_list_spec=$lt_archiver_list_spec
14860 # A symbol stripping program.
14863 # Commands used to install an old-style archive.
14865 old_postinstall_cmds=$lt_old_postinstall_cmds
14866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14868 # Whether to use a lock for old archive extraction.
14869 lock_old_archive_extraction=$lock_old_archive_extraction
14874 # LTCC compiler flags.
14875 LTCFLAGS=$lt_CFLAGS
14877 # Take the output of nm and produce a listing of raw symbols and C names.
14878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14880 # Transform the output of nm in a proper C declaration.
14881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14883 # Transform the output of nm in a C name address pair.
14884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14886 # Transform the output of nm in a C name address pair when lib prefix is needed.
14887 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14889 # Specify filename containing input files for \$NM.
14890 nm_file_list_spec=$lt_nm_file_list_spec
14892 # The root where to search for dependent libraries,and in which our libraries should be installed.
14893 lt_sysroot=$lt_sysroot
14895 # The name of the directory that contains temporary libtool files.
14898 # Used to examine libraries when file_magic_cmd begins with "file".
14899 MAGIC_CMD=$MAGIC_CMD
14901 # Must we lock files when doing compilation?
14902 need_locks=$lt_need_locks
14905 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14907 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14908 DSYMUTIL=$lt_DSYMUTIL
14910 # Tool to change global to local symbols on Mac OS X.
14913 # Tool to manipulate fat objects and archives on Mac OS X.
14916 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14919 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14920 OTOOL64=$lt_OTOOL64
14922 # Old archive suffix (normally "a").
14925 # Shared library suffix (normally ".so").
14926 shrext_cmds=$lt_shrext_cmds
14928 # The commands to extract the exported symbol list from a shared archive.
14929 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14931 # Variables whose values should be saved in libtool wrapper scripts and
14932 # restored at link time.
14933 variables_saved_for_relink=$lt_variables_saved_for_relink
14935 # Do we need the "lib" prefix for modules?
14936 need_lib_prefix=$need_lib_prefix
14938 # Do we need a version for libraries?
14939 need_version=$need_version
14941 # Library versioning type.
14942 version_type=$version_type
14944 # Shared library runtime path variable.
14945 runpath_var=$runpath_var
14947 # Shared library path variable.
14948 shlibpath_var=$shlibpath_var
14950 # Is shlibpath searched before the hard-coded library search path?
14951 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14953 # Format of library name prefix.
14954 libname_spec=$lt_libname_spec
14956 # List of archive names. First name is the real one, the rest are links.
14957 # The last name is the one that the linker finds with -lNAME
14958 library_names_spec=$lt_library_names_spec
14960 # The coded name of the library, if different from the real name.
14961 soname_spec=$lt_soname_spec
14963 # Permission mode override for installation of shared libraries.
14964 install_override_mode=$lt_install_override_mode
14966 # Command to use after installation of a shared archive.
14967 postinstall_cmds=$lt_postinstall_cmds
14969 # Command to use after uninstallation of a shared archive.
14970 postuninstall_cmds=$lt_postuninstall_cmds
14972 # Commands used to finish a libtool library installation in a directory.
14973 finish_cmds=$lt_finish_cmds
14975 # As "finish_cmds", except a single script fragment to be evaled but
14977 finish_eval=$lt_finish_eval
14979 # Whether we should hardcode library paths into libraries.
14980 hardcode_into_libs=$hardcode_into_libs
14982 # Compile-time system search path for libraries.
14983 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14985 # Run-time system search path for libraries.
14986 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14988 # Whether dlopen is supported.
14989 dlopen_support=$enable_dlopen
14991 # Whether dlopen of programs is supported.
14992 dlopen_self=$enable_dlopen_self
14994 # Whether dlopen of statically linked programs is supported.
14995 dlopen_self_static=$enable_dlopen_self_static
14997 # Commands to strip libraries.
14998 old_striplib=$lt_old_striplib
14999 striplib=$lt_striplib
15002 # The linker used to build libraries.
15005 # How to create reloadable object files.
15006 reload_flag=$lt_reload_flag
15007 reload_cmds=$lt_reload_cmds
15009 # Commands used to build an old-style archive.
15010 old_archive_cmds=$lt_old_archive_cmds
15012 # A language specific compiler.
15015 # Is the compiler the GNU compiler?
15018 # Compiler flag to turn off builtin functions.
15019 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15021 # Additional compiler flags for building library objects.
15022 pic_flag=$lt_lt_prog_compiler_pic
15024 # How to pass a linker flag through the compiler.
15025 wl=$lt_lt_prog_compiler_wl
15027 # Compiler flag to prevent dynamic linking.
15028 link_static_flag=$lt_lt_prog_compiler_static
15030 # Does compiler simultaneously support -c and -o options?
15031 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15033 # Whether or not to add -lc for building shared libraries.
15034 build_libtool_need_lc=$archive_cmds_need_lc
15036 # Whether or not to disallow shared libs when runtime libs are static.
15037 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15039 # Compiler flag to allow reflexive dlopens.
15040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15042 # Compiler flag to generate shared objects directly from archives.
15043 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15045 # Whether the compiler copes with passing no objects directly.
15046 compiler_needs_object=$lt_compiler_needs_object
15048 # Create an old-style archive from a shared archive.
15049 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15051 # Create a temporary old-style archive to link instead of a shared archive.
15052 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15054 # Commands used to build a shared archive.
15055 archive_cmds=$lt_archive_cmds
15056 archive_expsym_cmds=$lt_archive_expsym_cmds
15058 # Commands used to build a loadable module if different from building
15059 # a shared archive.
15060 module_cmds=$lt_module_cmds
15061 module_expsym_cmds=$lt_module_expsym_cmds
15063 # Whether we are building with GNU ld or not.
15064 with_gnu_ld=$lt_with_gnu_ld
15066 # Flag that allows shared libraries with undefined symbols to be built.
15067 allow_undefined_flag=$lt_allow_undefined_flag
15069 # Flag that enforces no undefined symbols.
15070 no_undefined_flag=$lt_no_undefined_flag
15072 # Flag to hardcode \$libdir into a binary during linking.
15073 # This must work even if \$libdir does not exist
15074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15076 # Whether we need a single "-rpath" flag with a separated argument.
15077 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15080 # DIR into the resulting binary.
15081 hardcode_direct=$hardcode_direct
15083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15084 # DIR into the resulting binary and the resulting library dependency is
15085 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15086 # library is relocated.
15087 hardcode_direct_absolute=$hardcode_direct_absolute
15089 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15090 # into the resulting binary.
15091 hardcode_minus_L=$hardcode_minus_L
15093 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15094 # into the resulting binary.
15095 hardcode_shlibpath_var=$hardcode_shlibpath_var
15097 # Set to "yes" if building a shared library automatically hardcodes DIR
15098 # into the library and all subsequent libraries and executables linked
15100 hardcode_automatic=$hardcode_automatic
15102 # Set to yes if linker adds runtime paths of dependent libraries
15103 # to runtime path list.
15104 inherit_rpath=$inherit_rpath
15106 # Whether libtool must link a program against all its dependency libraries.
15107 link_all_deplibs=$link_all_deplibs
15109 # Set to "yes" if exported symbols are required.
15110 always_export_symbols=$always_export_symbols
15112 # The commands to list exported symbols.
15113 export_symbols_cmds=$lt_export_symbols_cmds
15115 # Symbols that should not be listed in the preloaded symbols.
15116 exclude_expsyms=$lt_exclude_expsyms
15118 # Symbols that must always be exported.
15119 include_expsyms=$lt_include_expsyms
15121 # Commands necessary for linking programs (against libraries) with templates.
15122 prelink_cmds=$lt_prelink_cmds
15124 # Commands necessary for finishing linking programs.
15125 postlink_cmds=$lt_postlink_cmds
15127 # Specify filename containing input files.
15128 file_list_spec=$lt_file_list_spec
15130 # How to hardcode a shared library path into an executable.
15131 hardcode_action=$hardcode_action
15133 # ### END LIBTOOL CONFIG
15139 cat <<\_LT_EOF >> "$cfgfile"
15140 # AIX sometimes has problems with the GCC collect2 program. For some
15141 # reason, if we set the COLLECT_NAMES environment variable, the problems
15142 # vanish in a puff of smoke.
15143 if test "X${COLLECT_NAMES+set}" != Xset; then
15145 export COLLECT_NAMES
15152 ltmain="$ac_aux_dir/ltmain.sh"
15155 # We use sed instead of cat because bash on DJGPP gets confused if
15156 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15157 # text mode, it properly converts lines to CR/LF. This bash problem
15158 # is reportedly fixed, but why not run on old versions too?
15159 sed '$q' "$ltmain" >> "$cfgfile" \
15160 || (rm -f "$cfgfile"; exit 1)
15162 if test x"$xsi_shell" = xyes; then
15163 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15167 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15168 \ * ) func_dirname_result="${3}" ;;\
15170 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15171 && mv -f "$cfgfile.tmp" "$cfgfile" \
15172 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15173 test 0 -eq $? || _lt_function_replace_fail=:
15176 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15179 \ func_basename_result="${1##*/}"\
15180 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15181 && mv -f "$cfgfile.tmp" "$cfgfile" \
15182 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15183 test 0 -eq $? || _lt_function_replace_fail=:
15186 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15187 func_dirname_and_basename ()\
15190 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15191 \ * ) func_dirname_result="${3}" ;;\
15193 \ func_basename_result="${1##*/}"\
15194 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15195 && mv -f "$cfgfile.tmp" "$cfgfile" \
15196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15197 test 0 -eq $? || _lt_function_replace_fail=:
15200 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15203 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15204 \ # positional parameters, so assign one to ordinary parameter first.\
15205 \ func_stripname_result=${3}\
15206 \ func_stripname_result=${func_stripname_result#"${1}"}\
15207 \ func_stripname_result=${func_stripname_result%"${2}"}\
15208 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15209 && mv -f "$cfgfile.tmp" "$cfgfile" \
15210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15211 test 0 -eq $? || _lt_function_replace_fail=:
15214 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15215 func_split_long_opt ()\
15217 \ func_split_long_opt_name=${1%%=*}\
15218 \ func_split_long_opt_arg=${1#*=}\
15219 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15220 && mv -f "$cfgfile.tmp" "$cfgfile" \
15221 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15222 test 0 -eq $? || _lt_function_replace_fail=:
15225 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15226 func_split_short_opt ()\
15228 \ func_split_short_opt_arg=${1#??}\
15229 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15230 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15231 && mv -f "$cfgfile.tmp" "$cfgfile" \
15232 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15233 test 0 -eq $? || _lt_function_replace_fail=:
15236 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15240 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15241 \ *) func_lo2o_result=${1} ;;\
15243 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15244 && mv -f "$cfgfile.tmp" "$cfgfile" \
15245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15246 test 0 -eq $? || _lt_function_replace_fail=:
15249 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15252 func_xform_result=${1%.*}.lo\
15253 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15254 && mv -f "$cfgfile.tmp" "$cfgfile" \
15255 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15256 test 0 -eq $? || _lt_function_replace_fail=:
15259 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15262 func_arith_result=$(( $* ))\
15263 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15264 && mv -f "$cfgfile.tmp" "$cfgfile" \
15265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15266 test 0 -eq $? || _lt_function_replace_fail=:
15269 sed -e '/^func_len ()$/,/^} # func_len /c\
15272 func_len_result=${#1}\
15273 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15274 && mv -f "$cfgfile.tmp" "$cfgfile" \
15275 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15276 test 0 -eq $? || _lt_function_replace_fail=:
15280 if test x"$lt_shell_append" = xyes; then
15281 sed -e '/^func_append ()$/,/^} # func_append /c\
15284 eval "${1}+=\\${2}"\
15285 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15286 && mv -f "$cfgfile.tmp" "$cfgfile" \
15287 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15288 test 0 -eq $? || _lt_function_replace_fail=:
15291 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15292 func_append_quoted ()\
15294 \ func_quote_for_eval "${2}"\
15295 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15296 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15297 && mv -f "$cfgfile.tmp" "$cfgfile" \
15298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15299 test 0 -eq $? || _lt_function_replace_fail=:
15302 # Save a `func_append' function call where possible by direct use of '+='
15303 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15304 && mv -f "$cfgfile.tmp" "$cfgfile" \
15305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15306 test 0 -eq $? || _lt_function_replace_fail=:
15308 # Save a `func_append' function call even when '+=' is not available
15309 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15310 && mv -f "$cfgfile.tmp" "$cfgfile" \
15311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15312 test 0 -eq $? || _lt_function_replace_fail=:
15315 if test x"$_lt_function_replace_fail" = x":"; then
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15317 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15321 mv -f "$cfgfile" "$ofile" ||
15322 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15333 ac_clean_files=$ac_clean_files_save
15335 test $ac_write_fail = 0 ||
15336 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15339 # configure is writing to config.log, and then calls config.status.
15340 # config.status does its own redirection, appending to config.log.
15341 # Unfortunately, on DOS this fails, as config.log is still kept open
15342 # by configure, so config.status won't be able to write to it; its
15343 # output is simply discarded. So we exec the FD to /dev/null,
15344 # effectively closing config.log, so it can be properly (re)opened and
15345 # appended to by config.status. When coming back to configure, we
15346 # need to make the FD available again.
15347 if test "$no_create" != yes; then
15349 ac_config_status_args=
15350 test "$silent" = yes &&
15351 ac_config_status_args="$ac_config_status_args --quiet"
15353 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15355 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15356 # would make configure fail if this is the last instruction.
15357 $ac_cs_success || as_fn_exit 1
15359 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15361 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15366 ${PACKAGE} ${VERSION}
15367 ---------------------
15370 GObject-Introspection: ${found_introspection}
15371 VALA bindings: ${have_vapigen}