2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-av 0.11.2.
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.11.2'
655 PACKAGE_STRING='gupnp-av 0.11.2'
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
796 INSTALL_STRIP_PROGRAM
838 program_transform_name
851 enable_option_checking
853 enable_dependency_tracking
868 ac_precious_vars='build_alias
886 # Initialize some variables set by options.
888 ac_init_version=false
889 ac_unrecognized_opts=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name=s,x,x,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir='${exec_prefix}/bin'
915 sbindir='${exec_prefix}/sbin'
916 libexecdir='${exec_prefix}/libexec'
917 datarootdir='${prefix}/share'
918 datadir='${datarootdir}'
919 sysconfdir='${prefix}/etc'
920 sharedstatedir='${prefix}/com'
921 localstatedir='${prefix}/var'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir='${datarootdir}/info'
930 libdir='${exec_prefix}/lib'
931 localedir='${datarootdir}/locale'
932 mandir='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\$ac_option
946 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
975 cache_file=config.cache ;;
977 -datadir | --datadir | --datadi | --datad)
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
989 -disable-* | --disable-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error $? "invalid feature name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1003 eval enable_$ac_useropt=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error $? "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1029 eval enable_$ac_useropt=\$ac_optarg ;;
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 htmldir=$ac_optarg ;;
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1074 -libdir | --libdir | --libdi | --libd)
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1165 -psdir | --psdir | --psdi | --psd | --ps)
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 sbindir=$ac_optarg ;;
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 sharedstatedir=$ac_optarg ;;
1191 -site | --site | --sit)
1193 -site=* | --site=* | --sit=*)
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1233 eval with_$ac_useropt=\$ac_optarg ;;
1235 -without-* | --without-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error $? "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1249 eval with_$ac_useropt=no ;;
1252 # Obsolete; use --with-x.
1255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256 | --x-incl | --x-inc | --x-in | --x-i)
1257 ac_prev=x_includes ;;
1258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260 x_includes=$ac_optarg ;;
1262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264 ac_prev=x_libraries ;;
1265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267 x_libraries=$ac_optarg ;;
1269 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information"
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' | [0-9]* | *[!_$as_cr_alnum]* )
1278 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1280 eval $ac_envvar=\$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294 if test -n "$ac_prev"; then
1295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error $? "missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1302 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307 # Check all directory arguments for consistency.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val=\$$ac_var
1314 # Remove trailing slashes.
1317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\$ac_val;;
1320 # Be sure to have absolute directory names.
1322 [\\/$]* | ?:[\\/]* ) continue;;
1323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347 test "$silent" = yes && exec 6>/dev/null
1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di=`ls -di .` &&
1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $? "working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $? "pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var in $ac_precious_vars; do
1411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_${ac_var}_value=\$${ac_var}
1413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures gupnp-av 0.11.2 to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking ...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp-av]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1487 --build=BUILD configure for building on BUILD [guessed]
1488 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 if test -n "$ac_init_help"; then
1493 case $ac_init_help in
1494 short | recursive ) echo "Configuration of gupnp-av 0.11.2:";;
1499 --disable-option-checking ignore unrecognized --enable/--with options
1500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502 --enable-silent-rules less verbose build output (undo: `make V=1')
1503 --disable-silent-rules verbose build output (undo: `make V=0')
1504 --disable-dependency-tracking speeds up one-time build
1505 --enable-dependency-tracking do not reject slow dependency extractors
1506 --enable-shared[=PKGS] build shared libraries [default=yes]
1507 --enable-static[=PKGS] build static libraries [default=yes]
1508 --enable-fast-install[=PKGS]
1509 optimize for fast installation [default=yes]
1510 --disable-libtool-lock avoid locking (might break parallel builds)
1511 --enable-debug enable debugging
1512 --enable-introspection=[no/auto/yes]
1513 Enable introspection for this build
1514 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1515 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1516 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1519 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1520 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1521 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1523 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1524 --with-sysroot=DIR Search for dependent libraries within DIR
1525 (or the compiler's sysroot if not specified).
1526 --with-html-dir=PATH path to installed docs
1528 Some influential environment variables:
1529 CC C compiler command
1530 CFLAGS C compiler flags
1531 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1532 nonstandard directory <lib dir>
1533 LIBS libraries to pass to the linker, e.g. -l<library>
1534 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1535 you have headers in a nonstandard directory <include dir>
1537 PKG_CONFIG path to pkg-config utility
1539 directories to add to pkg-config's search path
1541 path overriding pkg-config's built-in search path
1543 C compiler flags for LIBGUPNP, overriding pkg-config
1545 linker flags for LIBGUPNP, overriding pkg-config
1547 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1549 linker flags for GTKDOC_DEPS, overriding pkg-config
1551 Use these variables to override the choices made by `configure' or to help
1552 it to find libraries and programs with nonstandard names/locations.
1554 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
1555 gupnp-av home page: <http://www.gupnp.org/>.
1560 if test "$ac_init_help" = "recursive"; then
1561 # If there are subdirs, report their specific --help.
1562 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1563 test -d "$ac_dir" ||
1564 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1572 # A ".." for each directory in $ac_dir_suffix.
1573 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1574 case $ac_top_builddir_sub in
1575 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579 ac_abs_top_builddir=$ac_pwd
1580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581 # for backward compatibility:
1582 ac_top_builddir=$ac_top_build_prefix
1585 .) # We are building in place.
1587 ac_top_srcdir=$ac_top_builddir_sub
1588 ac_abs_top_srcdir=$ac_pwd ;;
1589 [\\/]* | ?:[\\/]* ) # Absolute name.
1590 ac_srcdir=$srcdir$ac_dir_suffix;
1591 ac_top_srcdir=$srcdir
1592 ac_abs_top_srcdir=$srcdir ;;
1594 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1595 ac_top_srcdir=$ac_top_build_prefix$srcdir
1596 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1600 cd "$ac_dir" || { ac_status=$?; continue; }
1601 # Check for guested configure.
1602 if test -f "$ac_srcdir/configure.gnu"; then
1604 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1605 elif test -f "$ac_srcdir/configure"; then
1607 $SHELL "$ac_srcdir/configure" --help=recursive
1609 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1611 cd "$ac_pwd" || { ac_status=$?; break; }
1615 test -n "$ac_init_help" && exit $ac_status
1616 if $ac_init_version; then
1618 gupnp-av configure 0.11.2
1619 generated by GNU Autoconf 2.69
1621 Copyright (C) 2012 Free Software Foundation, Inc.
1622 This configure script is free software; the Free Software Foundation
1623 gives unlimited permission to copy, distribute and modify it.
1628 ## ------------------------ ##
1629 ## Autoconf initialization. ##
1630 ## ------------------------ ##
1632 # ac_fn_c_try_compile LINENO
1633 # --------------------------
1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1635 ac_fn_c_try_compile ()
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 rm -f conftest.$ac_objext
1639 if { { ac_try="$ac_compile"
1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_compile") 2>conftest.err
1648 if test -s conftest.err; then
1649 grep -v '^ *+' conftest.err >conftest.er1
1650 cat conftest.er1 >&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && {
1655 test -z "$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1657 } && test -s conftest.$ac_objext; then :
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1668 } # ac_fn_c_try_compile
1670 # ac_fn_c_try_cpp LINENO
1671 # ----------------------
1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if { { ac_try="$ac_cpp conftest.$ac_ext"
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } > conftest.i && {
1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1707 # ac_fn_c_try_run LINENO
1708 # ----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725 { { case "(($ac_try" in
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_try") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; }; }; then :
1737 $as_echo "$as_me: program exited with status $ac_status" >&5
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=$ac_status
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1750 # -------------------------------------------------------
1751 # Tests whether HEADER exists and can be compiled using the include files in
1752 # INCLUDES, setting the cache variable VAR accordingly.
1753 ac_fn_c_check_header_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759 $as_echo_n "(cached) " >&6
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1766 if ac_fn_c_try_compile "$LINENO"; then :
1771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_c_check_header_compile
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 test -x conftest$ac_exeext
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status $ac_retval
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_func LINENO FUNC VAR
1827 # ----------------------------------
1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1829 ac_fn_c_check_func ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \${$3+:} false; then :
1835 $as_echo_n "(cached) " >&6
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1841 #define $2 innocuous_$2
1843 /* System header to define __stub macros and hopefully few prototypes,
1844 which can conflict with char $2 (); below.
1845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1846 <limits.h> exists even on freestanding compilers. */
1849 # include <limits.h>
1851 # include <assert.h>
1856 /* Override any GCC internal prototype to avoid an error.
1857 Use char because int might match the return type of a GCC
1858 builtin and then its argument prototype would still apply. */
1863 /* The GNU C library defines this for functions which it implements
1864 to always fail with ENOSYS. Some functions are actually named
1865 something starting with __ and the normal name is an alias. */
1866 #if defined __stub_$2 || defined __stub___$2
1878 if ac_fn_c_try_link "$LINENO"; then :
1883 rm -f core conftest.err conftest.$ac_objext \
1884 conftest$ac_exeext conftest.$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 } # ac_fn_c_check_func
1892 cat >config.log <<_ACEOF
1893 This file contains any messages produced by compilers while
1894 running configure, to aid debugging if configure makes a mistake.
1896 It was created by gupnp-av $as_me 0.11.2, which was
1897 generated by GNU Autoconf 2.69. Invocation command line was
1909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1916 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1918 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1919 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1921 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1922 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1923 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1924 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir=.
1933 $as_echo "PATH: $as_dir"
1949 # Keep a trace of the command line.
1950 # Strip out --no-create and --no-recursion so they do not pile up.
1951 # Strip out --silent because we don't want to record it for future runs.
1952 # Also quote any args containing shell meta-characters.
1953 # Make two passes to allow for proper duplicate-argument suppression.
1957 ac_must_keep_next=false
1963 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1965 | -silent | --silent | --silen | --sile | --sil)
1968 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1971 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1973 as_fn_append ac_configure_args1 " '$ac_arg'"
1974 if test $ac_must_keep_next = true; then
1975 ac_must_keep_next=false # Got value, back to normal.
1978 *=* | --config-cache | -C | -disable-* | --disable-* \
1979 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1980 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1981 | -with-* | --with-* | -without-* | --without-* | --x)
1982 case "$ac_configure_args0 " in
1983 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1986 -* ) ac_must_keep_next=true ;;
1989 as_fn_append ac_configure_args " '$ac_arg'"
1994 { ac_configure_args0=; unset ac_configure_args0;}
1995 { ac_configure_args1=; unset ac_configure_args1;}
1997 # When interrupted or exit'd, cleanup temporary files, and complete
1998 # config.log. We remove comments because anyway the quotes in there
1999 # would cause problems or look ugly.
2000 # WARNING: Use '\'' to represent an apostrophe within the trap.
2001 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2002 trap 'exit_status=$?
2003 # Save into config.log some information that might help in debugging.
2007 $as_echo "## ---------------- ##
2008 ## Cache variables. ##
2009 ## ---------------- ##"
2011 # The following way of writing the cache mishandles newlines in values,
2013 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2014 eval ac_val=\$$ac_var
2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2022 _ | IFS | as_nl) ;; #(
2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2024 *) { eval $ac_var=; unset $ac_var;} ;;
2029 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2030 *${as_nl}ac_space=\ *)
2032 "s/'\''/'\''\\\\'\'''\''/g;
2033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2043 $as_echo "## ----------------- ##
2044 ## Output variables. ##
2045 ## ----------------- ##"
2047 for ac_var in $ac_subst_vars
2049 eval ac_val=\$$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -n "$ac_subst_files"; then
2058 $as_echo "## ------------------- ##
2059 ## File substitutions. ##
2060 ## ------------------- ##"
2062 for ac_var in $ac_subst_files
2064 eval ac_val=\$$ac_var
2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2068 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -s confdefs.h; then
2074 $as_echo "## ----------- ##
2081 test "$ac_signal" != 0 &&
2082 $as_echo "$as_me: caught signal $ac_signal"
2083 $as_echo "$as_me: exit $exit_status"
2085 rm -f core *.core core.conftest.* &&
2086 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2089 for ac_signal in 1 2 13 15; do
2090 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2094 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2095 rm -f -r conftest* confdefs.h
2097 $as_echo "/* confdefs.h */" > confdefs.h
2099 # Predefined preprocessor variables.
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_NAME "$PACKAGE_NAME"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_STRING "$PACKAGE_STRING"
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_URL "$PACKAGE_URL"
2126 # Let the site file select an alternate cache file if it wants to.
2127 # Prefer an explicitly selected file to automatically selected ones.
2130 if test -n "$CONFIG_SITE"; then
2131 # We do not want a PATH search for config.site.
2132 case $CONFIG_SITE in #((
2133 -*) ac_site_file1=./$CONFIG_SITE;;
2134 */*) ac_site_file1=$CONFIG_SITE;;
2135 *) ac_site_file1=./$CONFIG_SITE;;
2137 elif test "x$prefix" != xNONE; then
2138 ac_site_file1=$prefix/share/config.site
2139 ac_site_file2=$prefix/etc/config.site
2141 ac_site_file1=$ac_default_prefix/share/config.site
2142 ac_site_file2=$ac_default_prefix/etc/config.site
2144 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2146 test "x$ac_site_file" = xNONE && continue
2147 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2150 sed 's/^/| /' "$ac_site_file" >&5
2152 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2154 as_fn_error $? "failed to load site script $ac_site_file
2155 See \`config.log' for more details" "$LINENO" 5; }
2159 if test -r "$cache_file"; then
2160 # Some versions of bash will fail to source /dev/null (special files
2161 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2162 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2164 $as_echo "$as_me: loading cache $cache_file" >&6;}
2166 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2167 *) . "./$cache_file";;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2172 $as_echo "$as_me: creating cache $cache_file" >&6;}
2176 as_fn_append ac_header_list " stdlib.h"
2177 as_fn_append ac_header_list " unistd.h"
2178 as_fn_append ac_header_list " sys/param.h"
2179 # Check that the precious variables saved in the cache have kept the same
2181 ac_cache_corrupted=false
2182 for ac_var in $ac_precious_vars; do
2183 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2184 eval ac_new_set=\$ac_env_${ac_var}_set
2185 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2186 eval ac_new_val=\$ac_env_${ac_var}_value
2187 case $ac_old_set,$ac_new_set in
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2190 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2191 ac_cache_corrupted=: ;;
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2194 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2195 ac_cache_corrupted=: ;;
2198 if test "x$ac_old_val" != "x$ac_new_val"; then
2199 # differences in whitespace do not lead to failure.
2200 ac_old_val_w=`echo x $ac_old_val`
2201 ac_new_val_w=`echo x $ac_new_val`
2202 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2204 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2205 ac_cache_corrupted=:
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2208 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2209 eval $ac_var=\$ac_old_val
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2212 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2214 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2217 # Pass precious variables to config.status.
2218 if test "$ac_new_set" = set; then
2220 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2221 *) ac_arg=$ac_var=$ac_new_val ;;
2223 case " $ac_configure_args " in
2224 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2225 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2229 if $ac_cache_corrupted; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2233 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2234 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2236 ## -------------------- ##
2237 ## Main body of script. ##
2238 ## -------------------- ##
2241 ac_cpp='$CPP $CPPFLAGS'
2242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2248 ac_config_headers="$ac_config_headers config.h"
2253 for ac_dir in build-aux "$srcdir"/build-aux; do
2254 if test -f "$ac_dir/install-sh"; then
2256 ac_install_sh="$ac_aux_dir/install-sh -c"
2258 elif test -f "$ac_dir/install.sh"; then
2260 ac_install_sh="$ac_aux_dir/install.sh -c"
2262 elif test -f "$ac_dir/shtool"; then
2264 ac_install_sh="$ac_aux_dir/shtool install -c"
2268 if test -z "$ac_aux_dir"; then
2269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2272 # These three variables are undocumented and unsupported,
2273 # and are intended to be withdrawn in a future Autoconf release.
2274 # They can cause serious problems if a builder's source tree is in a directory
2275 # whose full name contains unusual characters.
2276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2282 am__api_version='1.11'
2284 # Find a good install program. We prefer a C program (faster),
2285 # so one script is as good as another. But avoid the broken or
2286 # incompatible versions:
2287 # SysV /etc/install, /usr/sbin/install
2288 # SunOS /usr/etc/install
2289 # IRIX /sbin/install
2291 # AmigaOS /C/install, which installs bootblocks on floppy discs
2292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2295 # OS/2's system install, which has a completely different semantic
2296 # ./install, which can be erroneously created by make from ./install.sh.
2297 # Reject install programs that cannot install multiple files.
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2299 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2300 if test -z "$INSTALL"; then
2301 if ${ac_cv_path_install+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 # Account for people who put trailing slashes in PATH elements.
2310 case $as_dir/ in #((
2311 ./ | .// | /[cC]/* | \
2312 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2313 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2316 # OSF1 and SCO ODT 3.0 have their own names for install.
2317 # Don't use installbsd from OSF since it installs stuff as root
2319 for ac_prog in ginstall scoinst install; do
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2322 if test $ac_prog = install &&
2323 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2324 # AIX install. It has an incompatible calling convention.
2326 elif test $ac_prog = install &&
2327 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2328 # program-specific install script used by HP pwplus--don't use.
2331 rm -rf conftest.one conftest.two conftest.dir
2332 echo one > conftest.one
2333 echo two > conftest.two
2335 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2336 test -s conftest.one && test -s conftest.two &&
2337 test -s conftest.dir/conftest.one &&
2338 test -s conftest.dir/conftest.two
2340 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2353 rm -rf conftest.one conftest.two conftest.dir
2356 if test "${ac_cv_path_install+set}" = set; then
2357 INSTALL=$ac_cv_path_install
2359 # As a last resort, use the slow shell script. Don't cache a
2360 # value for INSTALL within a source directory, because that will
2361 # break other packages using the cache if that directory is
2362 # removed, or if the value is a relative name.
2363 INSTALL=$ac_install_sh
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2367 $as_echo "$INSTALL" >&6; }
2369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2370 # It thinks the first close brace ends the variable substitution.
2371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2378 $as_echo_n "checking whether build environment is sane... " >&6; }
2381 echo timestamp > conftest.file
2382 # Reject unsafe characters in $srcdir or the absolute working directory
2383 # name. Accept space and tab only in the latter.
2387 *[\\\"\#\$\&\'\`$am_lf]*)
2388 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2391 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2392 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2395 # Do `set' in a subshell so we don't clobber the current shell's
2396 # arguments. Must try -L first in case configure is actually a
2397 # symlink; some systems play weird games with the mod time of symlinks
2398 # (eg FreeBSD returns the mod time of the symlink's containing
2401 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2402 if test "$*" = "X"; then
2404 set X `ls -t "$srcdir/configure" conftest.file`
2407 if test "$*" != "X $srcdir/configure conftest.file" \
2408 && test "$*" != "X conftest.file $srcdir/configure"; then
2410 # If neither matched, then we have a broken ls. This can happen
2411 # if, for instance, CONFIG_SHELL is bash and it inherits a
2412 # broken ls alias from the environment. This has actually
2413 # happened. Such a system could not be considered "sane".
2414 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2415 alias in your environment" "$LINENO" 5
2418 test "$2" = conftest.file
2424 as_fn_error $? "newly created file is older than distributed files!
2425 Check your system clock" "$LINENO" 5
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2428 $as_echo "yes" >&6; }
2429 test "$program_prefix" != NONE &&
2430 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2431 # Use a double $ so make ignores it.
2432 test "$program_suffix" != NONE &&
2433 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2434 # Double any \ or $.
2435 # By default was `s,x,x', remove it if useless.
2436 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2437 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2439 # expand $ac_aux_dir to an absolute path
2440 am_aux_dir=`cd $ac_aux_dir && pwd`
2442 if test x"${MISSING+set}" != xset; then
2445 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2447 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2450 # Use eval to expand $SHELL
2451 if eval "$MISSING --run true"; then
2452 am_missing_run="$MISSING --run "
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2456 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2459 if test x"${install_sh}" != xset; then
2462 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2464 install_sh="\${SHELL} $am_aux_dir/install-sh"
2468 # Installed binaries are usually stripped using `strip' when the user
2469 # run `make install-strip'. However `strip' might not be the right
2470 # tool to use in cross-compilation environments, therefore Automake
2471 # will honor the `STRIP' environment variable to overrule this program.
2472 if test "$cross_compiling" != no; then
2473 if test -n "$ac_tool_prefix"; then
2474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2475 set dummy ${ac_tool_prefix}strip; ac_word=$2
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2477 $as_echo_n "checking for $ac_word... " >&6; }
2478 if ${ac_cv_prog_STRIP+:} false; then :
2479 $as_echo_n "(cached) " >&6
2481 if test -n "$STRIP"; then
2482 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 STRIP=$ac_cv_prog_STRIP
2502 if test -n "$STRIP"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2504 $as_echo "$STRIP" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2512 if test -z "$ac_cv_prog_STRIP"; then
2514 # Extract the first word of "strip", so it can be a program name with args.
2515 set dummy strip; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$ac_ct_STRIP"; then
2522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_ac_ct_STRIP="strip"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2542 if test -n "$ac_ct_STRIP"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2544 $as_echo "$ac_ct_STRIP" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2550 if test "x$ac_ct_STRIP" = x; then
2553 case $cross_compiling:$ac_tool_warned in
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2557 ac_tool_warned=yes ;;
2562 STRIP="$ac_cv_prog_STRIP"
2566 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2569 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2570 if test -z "$MKDIR_P"; then
2571 if ${ac_cv_path_mkdir+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2578 test -z "$as_dir" && as_dir=.
2579 for ac_prog in mkdir gmkdir; do
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2582 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2583 'mkdir (GNU coreutils) '* | \
2584 'mkdir (coreutils) '* | \
2585 'mkdir (fileutils) '4.1*)
2586 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2596 test -d ./--version && rmdir ./--version
2597 if test "${ac_cv_path_mkdir+set}" = set; then
2598 MKDIR_P="$ac_cv_path_mkdir -p"
2600 # As a last resort, use the slow shell script. Don't cache a
2601 # value for MKDIR_P within a source directory, because that will
2602 # break other packages using the cache if that directory is
2603 # removed, or if the value is a relative name.
2604 MKDIR_P="$ac_install_sh -d"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2608 $as_echo "$MKDIR_P" >&6; }
2612 [\\/$]* | ?:[\\/]*) ;;
2613 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2616 for ac_prog in gawk mawk nawk awk
2618 # Extract the first word of "$ac_prog", so it can be a program name with args.
2619 set dummy $ac_prog; ac_word=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_AWK+:} false; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$AWK"; then
2626 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_AWK="$ac_prog"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test -n "$AWK"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2648 $as_echo "$AWK" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2655 test -n "$AWK" && break
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2659 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2661 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2662 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 cat >conftest.make <<\_ACEOF
2668 @echo '@@@%%%=$(MAKE)=@@@%%%'
2670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2671 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2673 eval ac_cv_prog_make_${ac_make}_set=yes;;
2675 eval ac_cv_prog_make_${ac_make}_set=no;;
2679 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2681 $as_echo "yes" >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2686 SET_MAKE="MAKE=${MAKE-make}"
2689 rm -rf .tst 2>/dev/null
2690 mkdir .tst 2>/dev/null
2691 if test -d .tst; then
2696 rmdir .tst 2>/dev/null
2698 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2699 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2700 # is not polluted with repeated "-I."
2701 am__isrc=' -I$(srcdir)'
2702 # test to see if srcdir already configured
2703 if test -f $srcdir/config.status; then
2704 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2708 # test whether we have cygpath
2709 if test -z "$CYGPATH_W"; then
2710 if (cygpath --version) >/dev/null 2>/dev/null; then
2711 CYGPATH_W='cygpath -w'
2718 # Define the identity of the package.
2723 cat >>confdefs.h <<_ACEOF
2724 #define PACKAGE "$PACKAGE"
2728 cat >>confdefs.h <<_ACEOF
2729 #define VERSION "$VERSION"
2732 # Some tools Automake needs.
2734 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2737 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2740 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2743 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2746 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2748 # We need awk for the "check" target. The system "awk" is bad on
2750 # Always define AMTAR for backward compatibility. Yes, it's still used
2751 # in the wild :-( We should find a proper way to deprecate it ...
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2756 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2757 # Loop over all known methods to create a tar archive until one works.
2758 _am_tools='gnutar plaintar pax cpio none'
2759 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2760 # Do not fold the above two line into one, because Tru64 sh and
2761 # Solaris sh will not grok spaces in the rhs of `-'.
2762 for _am_tool in $_am_tools
2766 for _am_tar in tar gnutar gtar;
2768 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2769 ($_am_tar --version) >&5 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } && break
2774 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2775 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2776 am__untar="$_am_tar -xf -"
2779 # Must skip GNU tar: if it does not support --format= it doesn't create
2780 # ustar tarball either.
2781 (tar --version) >/dev/null 2>&1 && continue
2782 am__tar='tar chf - "$$tardir"'
2783 am__tar_='tar chf - "$tardir"'
2784 am__untar='tar xf -'
2787 am__tar='pax -L -x ustar -w "$$tardir"'
2788 am__tar_='pax -L -x ustar -w "$tardir"'
2792 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2793 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2794 am__untar='cpio -i -H ustar -d'
2803 # If the value was cached, stop now. We just wanted to have am__tar
2804 # and am__untar set.
2805 test -n "${am_cv_prog_tar_ustar}" && break
2807 # tar/untar a dummy directory, and stop if the command works
2810 echo GrepMe > conftest.dir/file
2811 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2812 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 if test -s conftest.tar; then
2818 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2819 ($am__untar <conftest.tar) >&5 2>&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }
2823 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2828 if ${am_cv_prog_tar_ustar+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 am_cv_prog_tar_ustar=$_am_tool
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2835 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2842 # Check whether --enable-silent-rules was given.
2843 if test "${enable_silent_rules+set}" = set; then :
2844 enableval=$enable_silent_rules;
2847 case $enable_silent_rules in
2848 yes) AM_DEFAULT_VERBOSITY=0;;
2849 no) AM_DEFAULT_VERBOSITY=1;;
2850 *) AM_DEFAULT_VERBOSITY=0;;
2852 am_make=${MAKE-make}
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2854 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2855 if ${am_cv_make_support_nested_variables+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 if $as_echo 'TRUE=$(BAR$(V))
2864 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2865 am_cv_make_support_nested_variables=yes
2867 am_cv_make_support_nested_variables=no
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2871 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2872 if test $am_cv_make_support_nested_variables = yes; then
2874 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2876 AM_V=$AM_DEFAULT_VERBOSITY
2877 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2882 # Check for programs
2884 ac_cpp='$CPP $CPPFLAGS'
2885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2888 if test -n "$ac_tool_prefix"; then
2889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_CC+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$CC"; then
2897 ac_cv_prog_CC="$CC" # Let the user override the test.
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir=.
2904 for ac_exec_ext in '' $ac_executable_extensions; do
2905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2927 if test -z "$ac_cv_prog_CC"; then
2929 # Extract the first word of "gcc", so it can be a program name with args.
2930 set dummy gcc; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$ac_ct_CC"; then
2937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_ac_ct_CC="gcc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957 if test -n "$ac_ct_CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2959 $as_echo "$ac_ct_CC" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2965 if test "x$ac_ct_CC" = x; then
2968 case $cross_compiling:$ac_tool_warned in
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2980 if test -z "$CC"; then
2981 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2983 set dummy ${ac_tool_prefix}cc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_CC+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC="$CC" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_CC="${ac_tool_prefix}cc"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 if test -n "$CC"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012 $as_echo "$CC" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3021 if test -z "$CC"; then
3022 # Extract the first word of "cc", so it can be a program name with args.
3023 set dummy cc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3041 ac_prog_rejected=yes
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test $ac_prog_rejected = yes; then
3053 # We found a bogon in the path, so make sure we never use it.
3054 set dummy $ac_cv_prog_CC
3056 if test $# != 0; then
3057 # We chose a different compiler from the bogus one.
3058 # However, it has the same basename, so the bogon will be chosen
3059 # first if we set CC to just the basename; use the full file name.
3061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3067 if test -n "$CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$CC"; then
3078 if test -n "$ac_tool_prefix"; then
3079 for ac_prog in cl.exe
3081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC="$CC" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3118 test -n "$CC" && break
3121 if test -z "$CC"; then
3123 for ac_prog in cl.exe
3125 # Extract the first word of "$ac_prog", so it can be a program name with args.
3126 set dummy $ac_prog; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$ac_ct_CC"; then
3133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_ac_ct_CC="$ac_prog"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3153 if test -n "$ac_ct_CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3155 $as_echo "$ac_ct_CC" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3162 test -n "$ac_ct_CC" && break
3165 if test "x$ac_ct_CC" = x; then
3168 case $cross_compiling:$ac_tool_warned in
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3172 ac_tool_warned=yes ;;
3181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183 as_fn_error $? "no acceptable C compiler found in \$PATH
3184 See \`config.log' for more details" "$LINENO" 5; }
3186 # Provide some information about the compiler.
3187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3190 for ac_option in --version -v -V -qversion; do
3191 { { ac_try="$ac_compiler $ac_option >&5"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3200 if test -s conftest.err; then
3202 ... rest of stderr output deleted ...
3203 10q' conftest.err >conftest.er1
3204 cat conftest.er1 >&5
3206 rm -f conftest.er1 conftest.err
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3222 ac_clean_files_save=$ac_clean_files
3223 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3224 # Try to create an executable without -o first, disregard a.out.
3225 # It will help us diagnose broken compilers, and finding out an intuition
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3228 $as_echo_n "checking whether the C compiler works... " >&6; }
3229 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3231 # The possible output files:
3232 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3235 for ac_file in $ac_files
3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3239 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3244 if { { ac_try="$ac_link_default"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_link_default") 2>&5
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }; then :
3255 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3256 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3257 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3258 # so that the user can short-circuit this test for compilers unknown to
3260 for ac_file in $ac_files ''
3262 test -f "$ac_file" || continue
3264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3267 # We found the default executable, but exeext='' is most
3271 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3273 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3275 # We set ac_cv_exeext here because the later test for it is not
3276 # safe: cross compilers may not add the suffix if given an `-o'
3277 # argument, so we may need to know it at that point already.
3278 # Even if this section looks crufty: it has the advantage of
3285 test "$ac_cv_exeext" = no && ac_cv_exeext=
3290 if test -z "$ac_file"; then :
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 $as_echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error 77 "C compiler cannot create executables
3299 See \`config.log' for more details" "$LINENO" 5; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3302 $as_echo "yes" >&6; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3305 $as_echo_n "checking for C compiler default output file name... " >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3307 $as_echo "$ac_file" >&6; }
3308 ac_exeext=$ac_cv_exeext
3310 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3311 ac_clean_files=$ac_clean_files_save
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3313 $as_echo_n "checking for suffix of executables... " >&6; }
3314 if { { ac_try="$ac_link"
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_link") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; then :
3325 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3326 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3327 # work properly (i.e., refer to `conftest.exe'), while it won't with
3329 for ac_file in conftest.exe conftest conftest.*; do
3330 test -f "$ac_file" || continue
3332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3333 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3342 See \`config.log' for more details" "$LINENO" 5; }
3344 rm -f conftest conftest$ac_cv_exeext
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3346 $as_echo "$ac_cv_exeext" >&6; }
3348 rm -f conftest.$ac_ext
3349 EXEEXT=$ac_cv_exeext
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3357 FILE *f = fopen ("conftest.out", "w");
3358 return ferror (f) || fclose (f) != 0;
3364 ac_clean_files="$ac_clean_files conftest.out"
3365 # Check that the compiler produces executables we can run. If not, either
3366 # the compiler is broken, or we cross compile.
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3368 $as_echo_n "checking whether we are cross compiling... " >&6; }
3369 if test "$cross_compiling" != yes; then
3370 { { ac_try="$ac_link"
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") 2>&5
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }
3381 if { ac_try='./conftest$ac_cv_exeext'
3382 { { case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_try") 2>&5
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }; }; then
3394 if test "$cross_compiling" = maybe; then
3397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 as_fn_error $? "cannot run C compiled programs.
3400 If you meant to cross compile, use \`--host'.
3401 See \`config.log' for more details" "$LINENO" 5; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3406 $as_echo "$cross_compiling" >&6; }
3408 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3409 ac_clean_files=$ac_clean_files_save
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3411 $as_echo_n "checking for suffix of object files... " >&6; }
3412 if ${ac_cv_objext+:} false; then :
3413 $as_echo_n "(cached) " >&6
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 rm -f conftest.o conftest.obj
3427 if { { ac_try="$ac_compile"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433 $as_echo "$ac_try_echo"; } >&5
3434 (eval "$ac_compile") 2>&5
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }; then :
3438 for ac_file in conftest.o conftest.obj conftest.*; do
3439 test -f "$ac_file" || continue;
3441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3442 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3447 $as_echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $? "cannot compute suffix of object files: cannot compile
3453 See \`config.log' for more details" "$LINENO" 5; }
3455 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3458 $as_echo "$ac_cv_objext" >&6; }
3459 OBJEXT=$ac_cv_objext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3462 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3463 if ${ac_cv_c_compiler_gnu+:} false; then :
3464 $as_echo_n "(cached) " >&6
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3480 if ac_fn_c_try_compile "$LINENO"; then :
3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3490 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3491 if test $ac_compiler_gnu = yes; then
3496 ac_test_CFLAGS=${CFLAGS+set}
3497 ac_save_CFLAGS=$CFLAGS
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3499 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3500 if ${ac_cv_prog_cc_g+:} false; then :
3501 $as_echo_n "(cached) " >&6
3503 ac_save_c_werror_flag=$ac_c_werror_flag
3504 ac_c_werror_flag=yes
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3518 if ac_fn_c_try_compile "$LINENO"; then :
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3533 if ac_fn_c_try_compile "$LINENO"; then :
3536 ac_c_werror_flag=$ac_save_c_werror_flag
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 if ac_fn_c_try_compile "$LINENO"; then :
3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 ac_c_werror_flag=$ac_save_c_werror_flag
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3560 $as_echo "$ac_cv_prog_cc_g" >&6; }
3561 if test "$ac_test_CFLAGS" = set; then
3562 CFLAGS=$ac_save_CFLAGS
3563 elif test $ac_cv_prog_cc_g = yes; then
3564 if test "$GCC" = yes; then
3570 if test "$GCC" = yes; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3577 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3578 if ${ac_cv_prog_cc_c89+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 ac_cv_prog_cc_c89=no
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3588 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3589 struct buf { int x; };
3590 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3591 static char *e (p, i)
3597 static char *f (char * (*g) (char **, int), char **p, ...)
3602 s = g (p, va_arg (v,int));
3607 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3608 function prototypes and stuff, but not '\xHH' hex character constants.
3609 These don't provoke an error unfortunately, instead are silently treated
3610 as 'x'. The following induces an error, until -std is added to get
3611 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3612 array size at least. It's necessary to write '\x00'==0 to get something
3613 that's true only with -std. */
3614 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3616 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3617 inside strings and character constants. */
3619 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3621 int test (int i, double x);
3622 struct s1 {int (*f) (int a);};
3623 struct s2 {int (*f) (double a);};
3624 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3630 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3635 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3636 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3638 CC="$ac_save_CC $ac_arg"
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 ac_cv_prog_cc_c89=$ac_arg
3642 rm -f core conftest.err conftest.$ac_objext
3643 test "x$ac_cv_prog_cc_c89" != "xno" && break
3645 rm -f conftest.$ac_ext
3650 case "x$ac_cv_prog_cc_c89" in
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3653 $as_echo "none needed" >&6; } ;;
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3656 $as_echo "unsupported" >&6; } ;;
3658 CC="$CC $ac_cv_prog_cc_c89"
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3660 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3662 if test "x$ac_cv_prog_cc_c89" != xno; then :
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3671 DEPDIR="${am__leading_dot}deps"
3673 ac_config_commands="$ac_config_commands depfiles"
3676 am_make=${MAKE-make}
3677 cat > confinc << 'END'
3679 @echo this is the am__doit target
3682 # If we don't find an include directive, just comment out the code.
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3684 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3688 # First try GNU make style include.
3689 echo "include confinc" > confmf
3690 # Ignore all kinds of additional output from `make'.
3691 case `$am_make -s -f confmf 2> /dev/null` in #(
3692 *the\ am__doit\ target*)
3698 # Now try BSD make style include.
3699 if test "$am__include" = "#"; then
3700 echo '.include "confinc"' > confmf
3701 case `$am_make -s -f confmf 2> /dev/null` in #(
3702 *the\ am__doit\ target*)
3703 am__include=.include
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3712 $as_echo "$_am_result" >&6; }
3713 rm -f confinc confmf
3715 # Check whether --enable-dependency-tracking was given.
3716 if test "${enable_dependency_tracking+set}" = set; then :
3717 enableval=$enable_dependency_tracking;
3720 if test "x$enable_dependency_tracking" != xno; then
3721 am_depcomp="$ac_aux_dir/depcomp"
3725 if test "x$enable_dependency_tracking" != xno; then
3735 depcc="$CC" am_compiler_list=
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3738 $as_echo_n "checking dependency style of $depcc... " >&6; }
3739 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743 # We make a subdir and do the tests there. Otherwise we can end up
3744 # making bogus files that we don't know about and never remove. For
3745 # instance it was reported that on HP-UX the gcc test will end up
3746 # making a dummy file named `D' -- because `-MD' means `put the output
3750 # Copy depcomp to subdir because otherwise we won't find it if we're
3751 # using a relative directory.
3752 cp "$am_depcomp" conftest.dir
3754 # We will build objects and dependencies in a subdirectory because
3755 # it helps to detect inapplicable dependency modes. For instance
3756 # both Tru64's cc and ICC support -MD to output dependencies as a
3757 # side effect of compilation, but ICC will put the dependencies in
3758 # the current directory while Tru64 will put them in the object
3762 am_cv_CC_dependencies_compiler_type=none
3763 if test "$am_compiler_list" = ""; then
3764 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3767 case " $depcc " in #(
3768 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3771 for depmode in $am_compiler_list; do
3772 # Setup a source with many dependencies, because some compilers
3773 # like to wrap large dependency lists on column 80 (with \), and
3774 # we should not choose a depcomp mode which is confused by this.
3776 # We need to recreate these files for each test, as the compiler may
3777 # overwrite some of them when testing with obscure command lines.
3778 # This happens at least with the AIX C compiler.
3780 for i in 1 2 3 4 5 6; do
3781 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3782 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3783 # Solaris 8's {/usr,}/bin/sh.
3784 touch sub/conftst$i.h
3786 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3788 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3789 # mode. It turns out that the SunPro C++ compiler does not properly
3790 # handle `-M -o', and we need to detect this. Also, some Intel
3791 # versions had trouble with output in subdirs
3792 am__obj=sub/conftest.${OBJEXT-o}
3793 am__minus_obj="-o $am__obj"
3796 # This depmode causes a compiler race in universal mode.
3797 test "$am__universal" = false || continue
3800 # after this tag, mechanisms are not by side-effect, so they'll
3801 # only be used when explicitly requested
3802 if test "x$enable_dependency_tracking" = xyes; then
3808 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3809 # This compiler won't grok `-c -o', but also, the minuso test has
3810 # not run yet. These depmodes are late enough in the game, and
3811 # so weak that their functioning should not be impacted.
3812 am__obj=conftest.${OBJEXT-o}
3817 if depmode=$depmode \
3818 source=sub/conftest.c object=$am__obj \
3819 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3820 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3821 >/dev/null 2>conftest.err &&
3822 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3823 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3824 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3825 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3826 # icc doesn't choke on unknown options, it will just issue warnings
3827 # or remarks (even with -Werror). So we grep stderr for any message
3828 # that says an option was ignored or not supported.
3829 # When given -MP, icc 7.0 and 7.1 complain thusly:
3830 # icc: Command line warning: ignoring option '-M'; no argument required
3831 # The diagnosis changed in icc 8.0:
3832 # icc: Command line remark: option '-MP' not supported
3833 if (grep 'ignoring option' conftest.err ||
3834 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3835 am_cv_CC_dependencies_compiler_type=$depmode
3844 am_cv_CC_dependencies_compiler_type=none
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3853 test "x$enable_dependency_tracking" != xno \
3854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3856 am__fastdepCC_FALSE='#'
3858 am__fastdepCC_TRUE='#'
3859 am__fastdepCC_FALSE=
3863 if test "x$CC" != xcc; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3865 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3868 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3870 set dummy $CC; ac_cc=`$as_echo "$2" |
3871 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3872 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 # Make sure it works both with $CC and with simple cc.
3887 # We do the test twice because some compilers refuse to overwrite an
3888 # existing .o file with -o, though they will create one.
3889 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3891 if { { case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_try") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; } &&
3901 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_try") 2>&5
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; };
3912 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3913 if test "x$CC" != xcc; then
3914 # Test first that cc exists at all.
3915 if { ac_try='cc -c conftest.$ac_ext >&5'
3916 { { case "(($ac_try" in
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3921 $as_echo "$ac_try_echo"; } >&5
3922 (eval "$ac_try") 2>&5
3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3925 test $ac_status = 0; }; }; then
3926 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3928 if { { case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_try") 2>&5
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; } &&
3938 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_try") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; };
3952 # cc exists but doesn't like -o.
3953 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3958 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3960 rm -f core conftest*
3963 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3965 $as_echo "yes" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3970 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3974 # FIXME: we rely on the cache variable name because
3975 # there is no other way.
3977 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3978 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3979 if test "$am_t" != yes; then
3980 # Losing compiler, so override with the script.
3981 # FIXME: It is wrong to rewrite CC.
3982 # But if we don't then we get into trouble of one sort or another.
3983 # A longer-term fix would be to have automake use am__CC in this case,
3984 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3985 CC="$am_aux_dir/compile $CC"
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3996 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3997 # On Suns, sometimes $CPP names a directory.
3998 if test -n "$CPP" && test -d "$CPP"; then
4001 if test -z "$CPP"; then
4002 if ${ac_cv_prog_CPP+:} false; then :
4003 $as_echo_n "(cached) " >&6
4005 # Double quotes because CPP needs to be expanded
4006 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4009 for ac_c_preproc_warn_flag in '' yes
4011 # Use a header file that comes with gcc, so configuring glibc
4012 # with a fresh cross-compiler works.
4013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4014 # <limits.h> exists even on freestanding compilers.
4015 # On the NeXT, cc -E runs the code through the compiler's parser,
4016 # not just through cpp. "Syntax error" is here to catch this case.
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4020 # include <limits.h>
4022 # include <assert.h>
4026 if ac_fn_c_try_cpp "$LINENO"; then :
4029 # Broken: fails on valid input.
4032 rm -f conftest.err conftest.i conftest.$ac_ext
4034 # OK, works on sane cases. Now check whether nonexistent headers
4035 # can be detected and how.
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4038 #include <ac_nonexistent.h>
4040 if ac_fn_c_try_cpp "$LINENO"; then :
4041 # Broken: success on invalid input.
4044 # Passes both tests.
4048 rm -f conftest.err conftest.i conftest.$ac_ext
4051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4052 rm -f conftest.i conftest.err conftest.$ac_ext
4053 if $ac_preproc_ok; then :
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4066 $as_echo "$CPP" >&6; }
4068 for ac_c_preproc_warn_flag in '' yes
4070 # Use a header file that comes with gcc, so configuring glibc
4071 # with a fresh cross-compiler works.
4072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4073 # <limits.h> exists even on freestanding compilers.
4074 # On the NeXT, cc -E runs the code through the compiler's parser,
4075 # not just through cpp. "Syntax error" is here to catch this case.
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4079 # include <limits.h>
4081 # include <assert.h>
4085 if ac_fn_c_try_cpp "$LINENO"; then :
4088 # Broken: fails on valid input.
4091 rm -f conftest.err conftest.i conftest.$ac_ext
4093 # OK, works on sane cases. Now check whether nonexistent headers
4094 # can be detected and how.
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #include <ac_nonexistent.h>
4099 if ac_fn_c_try_cpp "$LINENO"; then :
4100 # Broken: success on invalid input.
4103 # Passes both tests.
4107 rm -f conftest.err conftest.i conftest.$ac_ext
4110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4111 rm -f conftest.i conftest.err conftest.$ac_ext
4112 if $ac_preproc_ok; then :
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4118 See \`config.log' for more details" "$LINENO" 5; }
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4129 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4130 if ${ac_cv_path_GREP+:} false; then :
4131 $as_echo_n "(cached) " >&6
4133 if test -z "$GREP"; then
4134 ac_path_GREP_found=false
4135 # Loop through the user's path and test for each of PROGNAME-LIST
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4140 test -z "$as_dir" && as_dir=.
4141 for ac_prog in grep ggrep; do
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144 as_fn_executable_p "$ac_path_GREP" || continue
4145 # Check for GNU ac_path_GREP and select it if it is found.
4146 # Check for GNU $ac_path_GREP
4147 case `"$ac_path_GREP" --version 2>&1` in
4149 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4152 $as_echo_n 0123456789 >"conftest.in"
4155 cat "conftest.in" "conftest.in" >"conftest.tmp"
4156 mv "conftest.tmp" "conftest.in"
4157 cp "conftest.in" "conftest.nl"
4158 $as_echo 'GREP' >> "conftest.nl"
4159 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161 as_fn_arith $ac_count + 1 && ac_count=$as_val
4162 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163 # Best one so far, save it but keep looking for a better one
4164 ac_cv_path_GREP="$ac_path_GREP"
4165 ac_path_GREP_max=$ac_count
4167 # 10*(2^10) chars as input seems more than enough
4168 test $ac_count -gt 10 && break
4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4173 $ac_path_GREP_found && break 3
4178 if test -z "$ac_cv_path_GREP"; then
4179 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4182 ac_cv_path_GREP=$GREP
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4187 $as_echo "$ac_cv_path_GREP" >&6; }
4188 GREP="$ac_cv_path_GREP"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4192 $as_echo_n "checking for egrep... " >&6; }
4193 if ${ac_cv_path_EGREP+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4197 then ac_cv_path_EGREP="$GREP -E"
4199 if test -z "$EGREP"; then
4200 ac_path_EGREP_found=false
4201 # Loop through the user's path and test for each of PROGNAME-LIST
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206 test -z "$as_dir" && as_dir=.
4207 for ac_prog in egrep; do
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4210 as_fn_executable_p "$ac_path_EGREP" || continue
4211 # Check for GNU ac_path_EGREP and select it if it is found.
4212 # Check for GNU $ac_path_EGREP
4213 case `"$ac_path_EGREP" --version 2>&1` in
4215 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4218 $as_echo_n 0123456789 >"conftest.in"
4221 cat "conftest.in" "conftest.in" >"conftest.tmp"
4222 mv "conftest.tmp" "conftest.in"
4223 cp "conftest.in" "conftest.nl"
4224 $as_echo 'EGREP' >> "conftest.nl"
4225 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227 as_fn_arith $ac_count + 1 && ac_count=$as_val
4228 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4229 # Best one so far, save it but keep looking for a better one
4230 ac_cv_path_EGREP="$ac_path_EGREP"
4231 ac_path_EGREP_max=$ac_count
4233 # 10*(2^10) chars as input seems more than enough
4234 test $ac_count -gt 10 && break
4236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239 $ac_path_EGREP_found && break 3
4244 if test -z "$ac_cv_path_EGREP"; then
4245 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4248 ac_cv_path_EGREP=$EGREP
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4254 $as_echo "$ac_cv_path_EGREP" >&6; }
4255 EGREP="$ac_cv_path_EGREP"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4259 $as_echo_n "checking for ANSI C header files... " >&6; }
4260 if ${ac_cv_header_stdc+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_header_stdc=yes
4281 ac_cv_header_stdc=no
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 if test $ac_cv_header_stdc = yes; then
4286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4293 $EGREP "memchr" >/dev/null 2>&1; then :
4296 ac_cv_header_stdc=no
4302 if test $ac_cv_header_stdc = yes; then
4303 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4310 $EGREP "free" >/dev/null 2>&1; then :
4313 ac_cv_header_stdc=no
4319 if test $ac_cv_header_stdc = yes; then
4320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4321 if test "$cross_compiling" = yes; then :
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4328 #if ((' ' & 0x0FF) == 0x020)
4329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4332 # define ISLOWER(c) \
4333 (('a' <= (c) && (c) <= 'i') \
4334 || ('j' <= (c) && (c) <= 'r') \
4335 || ('s' <= (c) && (c) <= 'z'))
4336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4344 for (i = 0; i < 256; i++)
4345 if (XOR (islower (i), ISLOWER (i))
4346 || toupper (i) != TOUPPER (i))
4351 if ac_fn_c_try_run "$LINENO"; then :
4354 ac_cv_header_stdc=no
4356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4357 conftest.$ac_objext conftest.beam conftest.$ac_ext
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4363 $as_echo "$ac_cv_header_stdc" >&6; }
4364 if test $ac_cv_header_stdc = yes; then
4366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4371 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4372 inttypes.h stdint.h unistd.h
4374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4378 cat >>confdefs.h <<_ACEOF
4379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4390 for ac_header in $ac_header_list
4392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4396 cat >>confdefs.h <<_ACEOF
4397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4411 for ac_func in getpagesize
4413 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4414 if test "x$ac_cv_func_getpagesize" = xyes; then :
4415 cat >>confdefs.h <<_ACEOF
4416 #define HAVE_GETPAGESIZE 1
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4423 $as_echo_n "checking for working mmap... " >&6; }
4424 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4425 $as_echo_n "(cached) " >&6
4427 if test "$cross_compiling" = yes; then :
4428 ac_cv_func_mmap_fixed_mapped=no
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4432 $ac_includes_default
4433 /* malloc might have been renamed as rpl_malloc. */
4436 /* Thanks to Mike Haertel and Jim Avera for this test.
4437 Here is a matrix of mmap possibilities:
4438 mmap private not fixed
4439 mmap private fixed at somewhere currently unmapped
4440 mmap private fixed at somewhere already mapped
4441 mmap shared not fixed
4442 mmap shared fixed at somewhere currently unmapped
4443 mmap shared fixed at somewhere already mapped
4444 For private mappings, we should verify that changes cannot be read()
4445 back from the file, nor mmap's back from the file at a different
4446 address. (There have been systems where private was not correctly
4447 implemented like the infamous i386 svr4.0, and systems where the
4448 VM page cache was not coherent with the file system buffer cache
4449 like early versions of FreeBSD and possibly contemporary NetBSD.)
4450 For shared mappings, we should conversely verify that changes get
4451 propagated back to all the places they're supposed to be.
4453 Grep wants private fixed already mapped.
4454 The main things grep needs to know about mmap are:
4455 * does it exist and is it safe to write into the mmap'd area
4456 * how to use it (BSD variants) */
4459 #include <sys/mman.h>
4461 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4465 /* This mess was copied from the GNU getpagesize.h. */
4466 #ifndef HAVE_GETPAGESIZE
4467 # ifdef _SC_PAGESIZE
4468 # define getpagesize() sysconf(_SC_PAGESIZE)
4469 # else /* no _SC_PAGESIZE */
4470 # ifdef HAVE_SYS_PARAM_H
4471 # include <sys/param.h>
4472 # ifdef EXEC_PAGESIZE
4473 # define getpagesize() EXEC_PAGESIZE
4474 # else /* no EXEC_PAGESIZE */
4476 # define getpagesize() NBPG * CLSIZE
4479 # endif /* no CLSIZE */
4480 # else /* no NBPG */
4482 # define getpagesize() NBPC
4483 # else /* no NBPC */
4485 # define getpagesize() PAGESIZE
4486 # endif /* PAGESIZE */
4487 # endif /* no NBPC */
4488 # endif /* no NBPG */
4489 # endif /* no EXEC_PAGESIZE */
4490 # else /* no HAVE_SYS_PARAM_H */
4491 # define getpagesize() 8192 /* punt totally */
4492 # endif /* no HAVE_SYS_PARAM_H */
4493 # endif /* no _SC_PAGESIZE */
4495 #endif /* no HAVE_GETPAGESIZE */
4500 char *data, *data2, *data3;
4505 pagesize = getpagesize ();
4507 /* First, make a file with some known garbage in it. */
4508 data = (char *) malloc (pagesize);
4511 for (i = 0; i < pagesize; ++i)
4512 *(data + i) = rand ();
4514 fd = creat ("conftest.mmap", 0600);
4517 if (write (fd, data, pagesize) != pagesize)
4521 /* Next, check that the tail of a page is zero-filled. File must have
4522 non-zero length, otherwise we risk SIGBUS for entire page. */
4523 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4527 if (write (fd2, cdata2, 1) != 1)
4529 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4530 if (data2 == MAP_FAILED)
4532 for (i = 0; i < pagesize; ++i)
4536 if (munmap (data2, pagesize))
4539 /* Next, try to mmap the file at a fixed address which already has
4540 something else allocated at it. If we can, also make sure that
4541 we see the same garbage. */
4542 fd = open ("conftest.mmap", O_RDWR);
4545 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4546 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4548 for (i = 0; i < pagesize; ++i)
4549 if (*(data + i) != *(data2 + i))
4552 /* Finally, make sure that changes to the mapped area do not
4553 percolate back to the file as seen by read(). (This is a bug on
4554 some variants of i386 svr4.0.) */
4555 for (i = 0; i < pagesize; ++i)
4556 *(data2 + i) = *(data2 + i) + 1;
4557 data3 = (char *) malloc (pagesize);
4560 if (read (fd, data3, pagesize) != pagesize)
4562 for (i = 0; i < pagesize; ++i)
4563 if (*(data + i) != *(data3 + i))
4569 if ac_fn_c_try_run "$LINENO"; then :
4570 ac_cv_func_mmap_fixed_mapped=yes
4572 ac_cv_func_mmap_fixed_mapped=no
4574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4575 conftest.$ac_objext conftest.beam conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4580 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4581 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4583 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4586 rm -f conftest.mmap conftest.txt
4589 # Initialize libtool
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4594 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4599 macro_version='2.4.2'
4600 macro_revision='1.3337'
4614 ltmain="$ac_aux_dir/ltmain.sh"
4616 # Make sure we can run config.sub.
4617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4618 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4621 $as_echo_n "checking build system type... " >&6; }
4622 if ${ac_cv_build+:} false; then :
4623 $as_echo_n "(cached) " >&6
4625 ac_build_alias=$build_alias
4626 test "x$ac_build_alias" = x &&
4627 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4628 test "x$ac_build_alias" = x &&
4629 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4631 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4635 $as_echo "$ac_cv_build" >&6; }
4636 case $ac_cv_build in
4638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4641 ac_save_IFS=$IFS; IFS='-'
4647 # Remember, the first character of IFS is used to create $*,
4648 # except with old shells:
4651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4655 $as_echo_n "checking host system type... " >&6; }
4656 if ${ac_cv_host+:} false; then :
4657 $as_echo_n "(cached) " >&6
4659 if test "x$host_alias" = x; then
4660 ac_cv_host=$ac_cv_build
4662 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4668 $as_echo "$ac_cv_host" >&6; }
4671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4674 ac_save_IFS=$IFS; IFS='-'
4680 # Remember, the first character of IFS is used to create $*,
4681 # except with old shells:
4684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4687 # Backslashify metacharacters that are still active within
4688 # double-quoted strings.
4689 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4691 # Same as above, but do not quote variable references.
4692 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4694 # Sed substitution to delay expansion of an escaped shell variable in a
4695 # double_quote_subst'ed string.
4696 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4698 # Sed substitution to delay expansion of an escaped single quote.
4699 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4701 # Sed substitution to avoid accidental globbing in evaled expressions
4702 no_glob_subst='s/\*/\\\*/g'
4704 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4705 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4706 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4709 $as_echo_n "checking how to print strings... " >&6; }
4710 # Test print first, because it will be a builtin if present.
4711 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4712 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4714 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4717 # Use this function as a fallback that always works.
4718 func_fallback_echo ()
4720 eval 'cat <<_LTECHO_EOF
4724 ECHO='func_fallback_echo'
4727 # func_echo_all arg...
4728 # Invoke $ECHO with all args, space-separated.
4735 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4736 $as_echo "printf" >&6; } ;;
4737 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4738 $as_echo "print -r" >&6; } ;;
4739 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4740 $as_echo "cat" >&6; } ;;
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4757 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4758 if ${ac_cv_path_SED+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4762 for ac_i in 1 2 3 4 5 6 7; do
4763 ac_script="$ac_script$as_nl$ac_script"
4765 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4766 { ac_script=; unset ac_script;}
4767 if test -z "$SED"; then
4768 ac_path_SED_found=false
4769 # Loop through the user's path and test for each of PROGNAME-LIST
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir=.
4775 for ac_prog in sed gsed; do
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4778 as_fn_executable_p "$ac_path_SED" || continue
4779 # Check for GNU ac_path_SED and select it if it is found.
4780 # Check for GNU $ac_path_SED
4781 case `"$ac_path_SED" --version 2>&1` in
4783 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4786 $as_echo_n 0123456789 >"conftest.in"
4789 cat "conftest.in" "conftest.in" >"conftest.tmp"
4790 mv "conftest.tmp" "conftest.in"
4791 cp "conftest.in" "conftest.nl"
4792 $as_echo '' >> "conftest.nl"
4793 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4795 as_fn_arith $ac_count + 1 && ac_count=$as_val
4796 if test $ac_count -gt ${ac_path_SED_max-0}; then
4797 # Best one so far, save it but keep looking for a better one
4798 ac_cv_path_SED="$ac_path_SED"
4799 ac_path_SED_max=$ac_count
4801 # 10*(2^10) chars as input seems more than enough
4802 test $ac_count -gt 10 && break
4804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4807 $ac_path_SED_found && break 3
4812 if test -z "$ac_cv_path_SED"; then
4813 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4821 $as_echo "$ac_cv_path_SED" >&6; }
4822 SED="$ac_cv_path_SED"
4825 test -z "$SED" && SED=sed
4826 Xsed="$SED -e 1s/^X//"
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4839 $as_echo_n "checking for fgrep... " >&6; }
4840 if ${ac_cv_path_FGREP+:} false; then :
4841 $as_echo_n "(cached) " >&6
4843 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4844 then ac_cv_path_FGREP="$GREP -F"
4846 if test -z "$FGREP"; then
4847 ac_path_FGREP_found=false
4848 # Loop through the user's path and test for each of PROGNAME-LIST
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4853 test -z "$as_dir" && as_dir=.
4854 for ac_prog in fgrep; do
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4857 as_fn_executable_p "$ac_path_FGREP" || continue
4858 # Check for GNU ac_path_FGREP and select it if it is found.
4859 # Check for GNU $ac_path_FGREP
4860 case `"$ac_path_FGREP" --version 2>&1` in
4862 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4865 $as_echo_n 0123456789 >"conftest.in"
4868 cat "conftest.in" "conftest.in" >"conftest.tmp"
4869 mv "conftest.tmp" "conftest.in"
4870 cp "conftest.in" "conftest.nl"
4871 $as_echo 'FGREP' >> "conftest.nl"
4872 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4873 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4874 as_fn_arith $ac_count + 1 && ac_count=$as_val
4875 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4876 # Best one so far, save it but keep looking for a better one
4877 ac_cv_path_FGREP="$ac_path_FGREP"
4878 ac_path_FGREP_max=$ac_count
4880 # 10*(2^10) chars as input seems more than enough
4881 test $ac_count -gt 10 && break
4883 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4886 $ac_path_FGREP_found && break 3
4891 if test -z "$ac_cv_path_FGREP"; then
4892 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4895 ac_cv_path_FGREP=$FGREP
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4901 $as_echo "$ac_cv_path_FGREP" >&6; }
4902 FGREP="$ac_cv_path_FGREP"
4905 test -z "$GREP" && GREP=grep
4925 # Check whether --with-gnu-ld was given.
4926 if test "${with_gnu_ld+set}" = set; then :
4927 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4933 if test "$GCC" = yes; then
4934 # Check if gcc -print-prog-name=ld gives a path.
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4936 $as_echo_n "checking for ld used by $CC... " >&6; }
4939 # gcc leaves a trailing carriage return which upsets mingw
4940 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4942 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4945 # Accept absolute paths.
4947 re_direlt='/[^/][^/]*/\.\./'
4948 # Canonicalize the pathname of ld
4949 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4950 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4951 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4953 test -z "$LD" && LD="$ac_prog"
4956 # If it fails, then pretend we aren't using GCC.
4960 # If it is relative, then search for the first ld in PATH.
4964 elif test "$with_gnu_ld" = yes; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4966 $as_echo_n "checking for GNU ld... " >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4969 $as_echo_n "checking for non-GNU ld... " >&6; }
4971 if ${lt_cv_path_LD+:} false; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -z "$LD"; then
4975 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4976 for ac_dir in $PATH; do
4978 test -z "$ac_dir" && ac_dir=.
4979 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4980 lt_cv_path_LD="$ac_dir/$ac_prog"
4981 # Check to see if the program is GNU ld. I'd rather use --version,
4982 # but apparently some variants of GNU ld only accept -v.
4983 # Break only if it was the GNU/non-GNU ld that we prefer.
4984 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4985 *GNU* | *'with BFD'*)
4986 test "$with_gnu_ld" != no && break
4989 test "$with_gnu_ld" != yes && break
4996 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5001 if test -n "$LD"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5003 $as_echo "$LD" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5008 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5010 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5011 if ${lt_cv_prog_gnu_ld+:} false; then :
5012 $as_echo_n "(cached) " >&6
5014 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5015 case `$LD -v 2>&1 </dev/null` in
5016 *GNU* | *'with BFD'*)
5017 lt_cv_prog_gnu_ld=yes
5020 lt_cv_prog_gnu_ld=no
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5025 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5026 with_gnu_ld=$lt_cv_prog_gnu_ld
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5037 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5038 if ${lt_cv_path_NM+:} false; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$NM"; then
5042 # Let the user override the test.
5045 lt_nm_to_check="${ac_tool_prefix}nm"
5046 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5047 lt_nm_to_check="$lt_nm_to_check nm"
5049 for lt_tmp_nm in $lt_nm_to_check; do
5050 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5051 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5053 test -z "$ac_dir" && ac_dir=.
5054 tmp_nm="$ac_dir/$lt_tmp_nm"
5055 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5056 # Check to see if the nm accepts a BSD-compat flag.
5057 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5058 # nm: unknown option "B" ignored
5059 # Tru64's nm complains that /dev/null is an invalid object file
5060 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5061 */dev/null* | *'Invalid file or object type'*)
5062 lt_cv_path_NM="$tmp_nm -B"
5066 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5068 lt_cv_path_NM="$tmp_nm -p"
5072 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5073 continue # so that we can try to find one that supports BSD flags
5082 : ${lt_cv_path_NM=no}
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5086 $as_echo "$lt_cv_path_NM" >&6; }
5087 if test "$lt_cv_path_NM" != "no"; then
5090 # Didn't find any BSD compatible name lister, look for dumpbin.
5091 if test -n "$DUMPBIN"; then :
5092 # Let the user override the test.
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in dumpbin "link -dump"
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_DUMPBIN+:} false; then :
5102 $as_echo_n "(cached) " >&6
5104 if test -n "$DUMPBIN"; then
5105 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 DUMPBIN=$ac_cv_prog_DUMPBIN
5125 if test -n "$DUMPBIN"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5127 $as_echo "$DUMPBIN" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5134 test -n "$DUMPBIN" && break
5137 if test -z "$DUMPBIN"; then
5138 ac_ct_DUMPBIN=$DUMPBIN
5139 for ac_prog in dumpbin "link -dump"
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5146 $as_echo_n "(cached) " >&6
5148 if test -n "$ac_ct_DUMPBIN"; then
5149 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5169 if test -n "$ac_ct_DUMPBIN"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5171 $as_echo "$ac_ct_DUMPBIN" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5178 test -n "$ac_ct_DUMPBIN" && break
5181 if test "x$ac_ct_DUMPBIN" = x; then
5184 case $cross_compiling:$ac_tool_warned in
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5190 DUMPBIN=$ac_ct_DUMPBIN
5194 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5196 DUMPBIN="$DUMPBIN -symbols"
5204 if test "$DUMPBIN" != ":"; then
5208 test -z "$NM" && NM=nm
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5216 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5217 if ${lt_cv_nm_interface+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 lt_cv_nm_interface="BSD nm"
5221 echo "int some_variable = 0;" > conftest.$ac_ext
5222 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5223 (eval "$ac_compile" 2>conftest.err)
5224 cat conftest.err >&5
5225 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5226 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5227 cat conftest.err >&5
5228 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5229 cat conftest.out >&5
5230 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5231 lt_cv_nm_interface="MS dumpbin"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5236 $as_echo "$lt_cv_nm_interface" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5239 $as_echo_n "checking whether ln -s works... " >&6; }
5241 if test "$LN_S" = "ln -s"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5243 $as_echo "yes" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5246 $as_echo "no, using $LN_S" >&6; }
5249 # find the maximum length of command line arguments
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5251 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5252 if ${lt_cv_sys_max_cmd_len+:} false; then :
5253 $as_echo_n "(cached) " >&6
5260 # On DJGPP, this test can blow up pretty badly due to problems in libc
5261 # (any single argument exceeding 2000 bytes causes a buffer overrun
5262 # during glob expansion). Even if it were fixed, the result of this
5263 # check would be larger than it should be.
5264 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5268 # Under GNU Hurd, this test is not required because there is
5269 # no limit to the length of command line arguments.
5270 # Libtool will interpret -1 as no limit whatsoever
5271 lt_cv_sys_max_cmd_len=-1;
5274 cygwin* | mingw* | cegcc*)
5275 # On Win9x/ME, this test blows up -- it succeeds, but takes
5276 # about 5 minutes as the teststring grows exponentially.
5277 # Worse, since 9x/ME are not pre-emptively multitasking,
5278 # you end up with a "frozen" computer, even though with patience
5279 # the test eventually succeeds (with a max line length of 256k).
5280 # Instead, let's just punt: use the minimum linelength reported by
5281 # all of the supported platforms: 8192 (on NT/2K/XP).
5282 lt_cv_sys_max_cmd_len=8192;
5286 # On MiNT this can take a long time and run out of memory.
5287 lt_cv_sys_max_cmd_len=8192;
5291 # On AmigaOS with pdksh, this test takes hours, literally.
5292 # So we just punt and use a minimum line length of 8192.
5293 lt_cv_sys_max_cmd_len=8192;
5296 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5297 # This has been around since 386BSD, at least. Likely further.
5298 if test -x /sbin/sysctl; then
5299 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5300 elif test -x /usr/sbin/sysctl; then
5301 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5303 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5305 # And add a safety zone
5306 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5307 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5311 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5312 lt_cv_sys_max_cmd_len=196608
5316 # The test takes a long time on OS/2.
5317 lt_cv_sys_max_cmd_len=8192
5321 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5322 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5323 # nice to cause kernel panics so lets avoid the loop below.
5324 # First set a reasonable default.
5325 lt_cv_sys_max_cmd_len=16384
5327 if test -x /sbin/sysconfig; then
5328 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5329 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5334 lt_cv_sys_max_cmd_len=102400
5336 sysv5* | sco5v6* | sysv4.2uw2*)
5337 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5338 if test -n "$kargmax"; then
5339 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5341 lt_cv_sys_max_cmd_len=32768
5345 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5346 if test -n "$lt_cv_sys_max_cmd_len"; then
5347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5350 # Make teststring a little bigger before we do anything with it.
5351 # a 1K string should be a reasonable start.
5352 for i in 1 2 3 4 5 6 7 8 ; do
5353 teststring=$teststring$teststring
5355 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5356 # If test is not a shell built-in, we'll probably end up computing a
5357 # maximum length that is only half of the actual maximum length, but
5359 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5360 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5361 test $i != 17 # 1/2 MB should be enough
5364 teststring=$teststring$teststring
5366 # Only check the string length outside the loop.
5367 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5369 # Add a significant safety factor because C++ compilers can tack on
5370 # massive amounts of additional arguments before passing them to the
5371 # linker. It appears as though 1/2 is a usable value.
5372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5379 if test -n $lt_cv_sys_max_cmd_len ; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5381 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5384 $as_echo "none" >&6; }
5386 max_cmd_len=$lt_cv_sys_max_cmd_len
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5398 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5399 # Try some XSI features
5402 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5404 && eval 'test $(( 1 + 1 )) -eq 2 \
5405 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5408 $as_echo "$xsi_shell" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5412 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5414 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5416 && lt_shell_append=yes
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5418 $as_echo "$lt_shell_append" >&6; }
5421 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5431 # test EBCDIC or ASCII
5432 case `echo X|tr X '\101'` in
5433 A) # ASCII based system
5434 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5435 lt_SP2NL='tr \040 \012'
5436 lt_NL2SP='tr \015\012 \040\040'
5438 *) # EBCDIC based system
5439 lt_SP2NL='tr \100 \n'
5440 lt_NL2SP='tr \r\n \100\100'
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5453 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5454 if ${lt_cv_to_host_file_cmd+:} false; then :
5455 $as_echo_n "(cached) " >&6
5460 *-*-mingw* ) # actually msys
5461 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5464 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5466 * ) # otherwise, assume *nix
5467 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5473 *-*-mingw* ) # actually msys
5474 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5477 lt_cv_to_host_file_cmd=func_convert_file_noop
5479 * ) # otherwise, assume *nix
5480 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5484 * ) # unhandled hosts (and "normal" native builds)
5485 lt_cv_to_host_file_cmd=func_convert_file_noop
5491 to_host_file_cmd=$lt_cv_to_host_file_cmd
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5493 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5500 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5501 if ${lt_cv_to_tool_file_cmd+:} false; then :
5502 $as_echo_n "(cached) " >&6
5504 #assume ordinary cross tools, or native build.
5505 lt_cv_to_tool_file_cmd=func_convert_file_noop
5509 *-*-mingw* ) # actually msys
5510 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5518 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5520 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5527 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5528 if ${lt_cv_ld_reload_flag+:} false; then :
5529 $as_echo_n "(cached) " >&6
5531 lt_cv_ld_reload_flag='-r'
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5534 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5535 reload_flag=$lt_cv_ld_reload_flag
5536 case $reload_flag in
5538 *) reload_flag=" $reload_flag" ;;
5540 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5542 cygwin* | mingw* | pw32* | cegcc*)
5543 if test "$GCC" != yes; then
5548 if test "$GCC" = yes; then
5549 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5551 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_OBJDUMP+:} false; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$OBJDUMP"; then
5573 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 OBJDUMP=$ac_cv_prog_OBJDUMP
5593 if test -n "$OBJDUMP"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5595 $as_echo "$OBJDUMP" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_OBJDUMP"; then
5604 ac_ct_OBJDUMP=$OBJDUMP
5605 # Extract the first word of "objdump", so it can be a program name with args.
5606 set dummy objdump; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5610 $as_echo_n "(cached) " >&6
5612 if test -n "$ac_ct_OBJDUMP"; then
5613 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5633 if test -n "$ac_ct_OBJDUMP"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5635 $as_echo "$ac_ct_OBJDUMP" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_OBJDUMP" = x; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5650 OBJDUMP=$ac_ct_OBJDUMP
5653 OBJDUMP="$ac_cv_prog_OBJDUMP"
5656 test -z "$OBJDUMP" && OBJDUMP=objdump
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5664 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5665 if ${lt_cv_deplibs_check_method+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 lt_cv_file_magic_cmd='$MAGIC_CMD'
5669 lt_cv_file_magic_test_file=
5670 lt_cv_deplibs_check_method='unknown'
5671 # Need to set the preceding variable on all platforms that support
5672 # interlibrary dependencies.
5673 # 'none' -- dependencies not supported.
5674 # `unknown' -- same as none, but documents that we really don't know.
5675 # 'pass_all' -- all dependencies passed with no checks.
5676 # 'test_compile' -- check by making test program.
5677 # 'file_magic [[regex]]' -- check by looking for files in library path
5678 # which responds to the $file_magic_cmd with a given extended regex.
5679 # If you have `file' or equivalent on your system and you're not sure
5680 # whether `pass_all' will *always* work, you probably want this one.
5684 lt_cv_deplibs_check_method=pass_all
5688 lt_cv_deplibs_check_method=pass_all
5692 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5693 lt_cv_file_magic_cmd='/usr/bin/file -L'
5694 lt_cv_file_magic_test_file=/shlib/libc.so
5698 # func_win32_libid is a shell function defined in ltmain.sh
5699 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5700 lt_cv_file_magic_cmd='func_win32_libid'
5704 # Base MSYS/MinGW do not provide the 'file' command needed by
5705 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5706 # unless we find 'file', for example because we are cross-compiling.
5707 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5708 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5709 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5710 lt_cv_file_magic_cmd='func_win32_libid'
5712 # Keep this pattern in sync with the one in func_win32_libid.
5713 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5714 lt_cv_file_magic_cmd='$OBJDUMP -f'
5719 # use the weaker test based on 'objdump'. See mingw*.
5720 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5721 lt_cv_file_magic_cmd='$OBJDUMP -f'
5724 darwin* | rhapsody*)
5725 lt_cv_deplibs_check_method=pass_all
5728 freebsd* | dragonfly*)
5729 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5732 # Not sure whether the presence of OpenBSD here was a mistake.
5733 # Let's accept both of them until this is cleared up.
5734 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5735 lt_cv_file_magic_cmd=/usr/bin/file
5736 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5740 lt_cv_deplibs_check_method=pass_all
5745 lt_cv_deplibs_check_method=pass_all
5749 lt_cv_deplibs_check_method=pass_all
5752 hpux10.20* | hpux11*)
5753 lt_cv_file_magic_cmd=/usr/bin/file
5756 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5757 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5760 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]'
5761 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5764 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5765 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5771 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5775 irix5* | irix6* | nonstopux*)
5777 *-32|*"-32 ") libmagic=32-bit;;
5778 *-n32|*"-n32 ") libmagic=N32;;
5779 *-64|*"-64 ") libmagic=64-bit;;
5780 *) libmagic=never-match;;
5782 lt_cv_deplibs_check_method=pass_all
5785 # This must be glibc/ELF.
5786 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5787 lt_cv_deplibs_check_method=pass_all
5790 netbsd* | netbsdelf*-gnu)
5791 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5792 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5794 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5799 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5800 lt_cv_file_magic_cmd=/usr/bin/file
5801 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5805 lt_cv_deplibs_check_method=pass_all
5809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5810 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5816 osf3* | osf4* | osf5*)
5817 lt_cv_deplibs_check_method=pass_all
5821 lt_cv_deplibs_check_method=pass_all
5825 lt_cv_deplibs_check_method=pass_all
5828 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5829 lt_cv_deplibs_check_method=pass_all
5833 case $host_vendor in
5835 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]'
5836 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5839 lt_cv_deplibs_check_method=pass_all
5842 lt_cv_file_magic_cmd='/bin/file'
5843 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5846 lt_cv_file_magic_cmd='/bin/file'
5847 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5848 lt_cv_file_magic_test_file=/lib/libc.so
5851 lt_cv_deplibs_check_method=pass_all
5854 lt_cv_deplibs_check_method=pass_all
5860 lt_cv_deplibs_check_method=pass_all
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5866 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5870 if test "$build" = "$host"; then
5873 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5876 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5882 file_magic_cmd=$lt_cv_file_magic_cmd
5883 deplibs_check_method=$lt_cv_deplibs_check_method
5884 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5907 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if ${ac_cv_prog_DLLTOOL+:} false; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$DLLTOOL"; then
5916 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 DLLTOOL=$ac_cv_prog_DLLTOOL
5936 if test -n "$DLLTOOL"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5938 $as_echo "$DLLTOOL" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5946 if test -z "$ac_cv_prog_DLLTOOL"; then
5947 ac_ct_DLLTOOL=$DLLTOOL
5948 # Extract the first word of "dlltool", so it can be a program name with args.
5949 set dummy dlltool; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$ac_ct_DLLTOOL"; then
5956 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5976 if test -n "$ac_ct_DLLTOOL"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5978 $as_echo "$ac_ct_DLLTOOL" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5984 if test "x$ac_ct_DLLTOOL" = x; then
5987 case $cross_compiling:$ac_tool_warned in
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5991 ac_tool_warned=yes ;;
5993 DLLTOOL=$ac_ct_DLLTOOL
5996 DLLTOOL="$ac_cv_prog_DLLTOOL"
5999 test -z "$DLLTOOL" && DLLTOOL=dlltool
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6008 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6009 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6010 $as_echo_n "(cached) " >&6
6012 lt_cv_sharedlib_from_linklib_cmd='unknown'
6015 cygwin* | mingw* | pw32* | cegcc*)
6016 # two different shell functions defined in ltmain.sh
6017 # decide which to use based on capabilities of $DLLTOOL
6018 case `$DLLTOOL --help 2>&1` in
6019 *--identify-strict*)
6020 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6023 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6028 # fallback: assume linklib IS sharedlib
6029 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6035 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6036 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6037 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6045 if test -n "$ac_tool_prefix"; then
6048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_AR+:} false; then :
6053 $as_echo_n "(cached) " >&6
6055 if test -n "$AR"; then
6056 ac_cv_prog_AR="$AR" # Let the user override the test.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 if test -n "$AR"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6078 $as_echo "$AR" >&6; }
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6085 test -n "$AR" && break
6088 if test -z "$AR"; then
6092 # Extract the first word of "$ac_prog", so it can be a program name with args.
6093 set dummy $ac_prog; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6097 $as_echo_n "(cached) " >&6
6099 if test -n "$ac_ct_AR"; then
6100 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ac_ct_AR="$ac_prog"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6120 if test -n "$ac_ct_AR"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6122 $as_echo "$ac_ct_AR" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6129 test -n "$ac_ct_AR" && break
6132 if test "x$ac_ct_AR" = x; then
6135 case $cross_compiling:$ac_tool_warned in
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6139 ac_tool_warned=yes ;;
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6159 $as_echo_n "checking for archiver @FILE support... " >&6; }
6160 if ${lt_cv_ar_at_file+:} false; then :
6161 $as_echo_n "(cached) " >&6
6164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6175 if ac_fn_c_try_compile "$LINENO"; then :
6176 echo conftest.$ac_objext > conftest.lst
6177 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6178 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6179 (eval $lt_ar_try) 2>&5
6181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 test $ac_status = 0; }
6183 if test "$ac_status" -eq 0; then
6184 # Ensure the archiver fails upon bogus file names.
6185 rm -f conftest.$ac_objext libconftest.a
6186 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6187 (eval $lt_ar_try) 2>&5
6189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6190 test $ac_status = 0; }
6191 if test "$ac_status" -ne 0; then
6195 rm -f conftest.* libconftest.a
6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6202 $as_echo "$lt_cv_ar_at_file" >&6; }
6204 if test "x$lt_cv_ar_at_file" = xno; then
6207 archiver_list_spec=$lt_cv_ar_at_file
6216 if test -n "$ac_tool_prefix"; then
6217 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}strip; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if ${ac_cv_prog_STRIP+:} false; then :
6222 $as_echo_n "(cached) " >&6
6224 if test -n "$STRIP"; then
6225 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 STRIP=$ac_cv_prog_STRIP
6245 if test -n "$STRIP"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6247 $as_echo "$STRIP" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6255 if test -z "$ac_cv_prog_STRIP"; then
6257 # Extract the first word of "strip", so it can be a program name with args.
6258 set dummy strip; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$ac_ct_STRIP"; then
6265 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_ac_ct_STRIP="strip"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6285 if test -n "$ac_ct_STRIP"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6287 $as_echo "$ac_ct_STRIP" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_ct_STRIP" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6305 STRIP="$ac_cv_prog_STRIP"
6308 test -z "$STRIP" && STRIP=:
6315 if test -n "$ac_tool_prefix"; then
6316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if ${ac_cv_prog_RANLIB+:} false; then :
6321 $as_echo_n "(cached) " >&6
6323 if test -n "$RANLIB"; then
6324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 RANLIB=$ac_cv_prog_RANLIB
6344 if test -n "$RANLIB"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6346 $as_echo "$RANLIB" >&6; }
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6354 if test -z "$ac_cv_prog_RANLIB"; then
6355 ac_ct_RANLIB=$RANLIB
6356 # Extract the first word of "ranlib", so it can be a program name with args.
6357 set dummy ranlib; ac_word=$2
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359 $as_echo_n "checking for $ac_word... " >&6; }
6360 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6361 $as_echo_n "(cached) " >&6
6363 if test -n "$ac_ct_RANLIB"; then
6364 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir=.
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6373 ac_cv_prog_ac_ct_RANLIB="ranlib"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6384 if test -n "$ac_ct_RANLIB"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6386 $as_echo "$ac_ct_RANLIB" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6392 if test "x$ac_ct_RANLIB" = x; then
6395 case $cross_compiling:$ac_tool_warned in
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399 ac_tool_warned=yes ;;
6401 RANLIB=$ac_ct_RANLIB
6404 RANLIB="$ac_cv_prog_RANLIB"
6407 test -z "$RANLIB" && RANLIB=:
6414 # Determine commands to create old-style static archives.
6415 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6416 old_postinstall_cmds='chmod 644 $oldlib'
6417 old_postuninstall_cmds=
6419 if test -n "$RANLIB"; then
6422 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6425 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6428 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6433 lock_old_archive_extraction=yes ;;
6435 lock_old_archive_extraction=no ;;
6476 # If no C compiler was specified, use CC.
6479 # If no C compiler flags were specified, use CFLAGS.
6480 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6482 # Allow CC to be a program name with arguments.
6486 # Check for command to grab the raw symbol name followed by C symbol from nm.
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6488 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6489 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6490 $as_echo_n "(cached) " >&6
6493 # These are sane defaults that work on at least a few old systems.
6494 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6496 # Character class describing NM global symbol codes.
6497 symcode='[BCDEGRST]'
6499 # Regexp to match symbols that can be accessed directly from C.
6500 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6502 # Define system-specific variables.
6507 cygwin* | mingw* | pw32* | cegcc*)
6508 symcode='[ABCDGISTW]'
6511 if test "$host_cpu" = ia64; then
6512 symcode='[ABCDEGRST]'
6516 symcode='[BCDEGRST]'
6519 symcode='[BCDEGQRST]'
6530 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6538 # If we're using GNU nm, then use its standard symbol codes.
6539 case `$NM -V 2>&1` in
6540 *GNU* | *'with BFD'*)
6541 symcode='[ABCDGIRSTW]' ;;
6544 # Transform an extracted symbol line into a proper C declaration.
6545 # Some systems (esp. on ia64) link data and code symbols differently,
6546 # so use this general approach.
6547 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6549 # Transform an extracted symbol line into symbol name and symbol address
6550 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6551 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'"
6553 # Handle CRLF in mingw tool chain
6557 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6561 # Try without a prefix underscore, then with it.
6562 for ac_symprfx in "" "_"; do
6564 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6565 symxfrm="\\1 $ac_symprfx\\2 \\2"
6567 # Write the raw and C identifiers.
6568 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6569 # Fake it for dumpbin and say T for any non-static function
6570 # and D for any global variable.
6571 # Also find C++ and __fastcall symbols from MSVC++,
6572 # which start with @ or ?.
6573 lt_cv_sys_global_symbol_pipe="$AWK '"\
6574 " {last_section=section; section=\$ 3};"\
6575 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6576 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6577 " \$ 0!~/External *\|/{next};"\
6578 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6579 " {if(hide[section]) next};"\
6580 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6581 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6582 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6583 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6584 " ' prfx=^$ac_symprfx"
6586 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6588 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6590 # Check to see that the pipe works correctly.
6594 cat > conftest.$ac_ext <<_LT_EOF
6599 void nm_test_func(void);
6600 void nm_test_func(void){}
6604 int main(){nm_test_var='a';nm_test_func();return(0);}
6607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6608 (eval $ac_compile) 2>&5
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6611 test $ac_status = 0; }; then
6612 # Now try to grab the symbols.
6614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6615 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6618 test $ac_status = 0; } && test -s "$nlist"; then
6619 # Try sorting and uniquifying the output.
6620 if sort "$nlist" | uniq > "$nlist"T; then
6621 mv -f "$nlist"T "$nlist"
6626 # Make sure that we snagged all the symbols we need.
6627 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6628 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6629 cat <<_LT_EOF > conftest.$ac_ext
6630 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6631 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6632 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6633 relocations are performed -- see ld's documentation on pseudo-relocs. */
6634 # define LT_DLSYM_CONST
6635 #elif defined(__osf__)
6636 /* This system does not cope well with relocations in const data. */
6637 # define LT_DLSYM_CONST
6639 # define LT_DLSYM_CONST const
6647 # Now generate the symbol file.
6648 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6650 cat <<_LT_EOF >> conftest.$ac_ext
6652 /* The mapping between symbol names and symbols. */
6653 LT_DLSYM_CONST struct {
6657 lt__PROGRAM__LTX_preloaded_symbols[] =
6659 { "@PROGRAM@", (void *) 0 },
6661 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6662 cat <<\_LT_EOF >> conftest.$ac_ext
6666 /* This works around a problem in FreeBSD linker */
6667 #ifdef FREEBSD_WORKAROUND
6668 static const void *lt_preloaded_setup() {
6669 return lt__PROGRAM__LTX_preloaded_symbols;
6677 # Now try linking the two files.
6678 mv conftest.$ac_objext conftstm.$ac_objext
6679 lt_globsym_save_LIBS=$LIBS
6680 lt_globsym_save_CFLAGS=$CFLAGS
6681 LIBS="conftstm.$ac_objext"
6682 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6684 (eval $ac_link) 2>&5
6686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6687 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6690 LIBS=$lt_globsym_save_LIBS
6691 CFLAGS=$lt_globsym_save_CFLAGS
6693 echo "cannot find nm_test_func in $nlist" >&5
6696 echo "cannot find nm_test_var in $nlist" >&5
6699 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6702 echo "$progname: failed program was:" >&5
6703 cat conftest.$ac_ext >&5
6705 rm -rf conftest* conftst*
6707 # Do not use the global_symbol_pipe unless it works.
6708 if test "$pipe_works" = yes; then
6711 lt_cv_sys_global_symbol_pipe=
6717 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6718 lt_cv_sys_global_symbol_to_cdecl=
6720 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6722 $as_echo "failed" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6725 $as_echo "ok" >&6; }
6728 # Response file support.
6729 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6730 nm_file_list_spec='@'
6731 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6732 nm_file_list_spec='@'
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6762 $as_echo_n "checking for sysroot... " >&6; }
6764 # Check whether --with-sysroot was given.
6765 if test "${with_sysroot+set}" = set; then :
6766 withval=$with_sysroot;
6773 case ${with_sysroot} in #(
6775 if test "$GCC" = yes; then
6776 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6780 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6786 $as_echo "${with_sysroot}" >&6; }
6787 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6792 $as_echo "${lt_sysroot:-no}" >&6; }
6798 # Check whether --enable-libtool-lock was given.
6799 if test "${enable_libtool_lock+set}" = set; then :
6800 enableval=$enable_libtool_lock;
6803 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6805 # Some flags need to be propagated to the compiler or linker for good
6809 # Find out which ABI we are using.
6810 echo 'int i;' > conftest.$ac_ext
6811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6812 (eval $ac_compile) 2>&5
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6815 test $ac_status = 0; }; then
6816 case `/usr/bin/file conftest.$ac_objext` in
6828 # Find out which ABI we are using.
6829 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831 (eval $ac_compile) 2>&5
6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834 test $ac_status = 0; }; then
6835 if test "$lt_cv_prog_gnu_ld" = yes; then
6836 case `/usr/bin/file conftest.$ac_objext` in
6838 LD="${LD-ld} -melf32bsmip"
6841 LD="${LD-ld} -melf32bmipn32"
6844 LD="${LD-ld} -melf64bmip"
6848 case `/usr/bin/file conftest.$ac_objext` in
6864 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6865 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6866 # Find out which ABI we are using.
6867 echo 'int i;' > conftest.$ac_ext
6868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6869 (eval $ac_compile) 2>&5
6871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6872 test $ac_status = 0; }; then
6873 case `/usr/bin/file conftest.o` in
6876 x86_64-*kfreebsd*-gnu)
6877 LD="${LD-ld} -m elf_i386_fbsd"
6880 LD="${LD-ld} -m elf_i386"
6882 ppc64-*linux*|powerpc64-*linux*)
6883 LD="${LD-ld} -m elf32ppclinux"
6886 LD="${LD-ld} -m elf_s390"
6889 LD="${LD-ld} -m elf32_sparc"
6895 x86_64-*kfreebsd*-gnu)
6896 LD="${LD-ld} -m elf_x86_64_fbsd"
6899 LD="${LD-ld} -m elf_x86_64"
6901 ppc*-*linux*|powerpc*-*linux*)
6902 LD="${LD-ld} -m elf64ppc"
6904 s390*-*linux*|s390*-*tpf*)
6905 LD="${LD-ld} -m elf64_s390"
6908 LD="${LD-ld} -m elf64_sparc"
6918 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6919 SAVE_CFLAGS="$CFLAGS"
6920 CFLAGS="$CFLAGS -belf"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6922 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6923 if ${lt_cv_cc_needs_belf+:} false; then :
6924 $as_echo_n "(cached) " >&6
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6943 if ac_fn_c_try_link "$LINENO"; then :
6944 lt_cv_cc_needs_belf=yes
6946 lt_cv_cc_needs_belf=no
6948 rm -f core conftest.err conftest.$ac_objext \
6949 conftest$ac_exeext conftest.$ac_ext
6951 ac_cpp='$CPP $CPPFLAGS'
6952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6958 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6959 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6960 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6961 CFLAGS="$SAVE_CFLAGS"
6965 # Find out which ABI we are using.
6966 echo 'int i;' > conftest.$ac_ext
6967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6968 (eval $ac_compile) 2>&5
6970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6971 test $ac_status = 0; }; then
6972 case `/usr/bin/file conftest.o` in
6974 case $lt_cv_prog_gnu_ld in
6978 LD="${LD-ld} -m elf_x86_64"
6981 LD="${LD-ld} -m elf64_sparc"
6984 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6985 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6990 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7002 need_locks="$enable_libtool_lock"
7004 if test -n "$ac_tool_prefix"; then
7005 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7006 set dummy ${ac_tool_prefix}mt; ac_word=$2
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7008 $as_echo_n "checking for $ac_word... " >&6; }
7009 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7010 $as_echo_n "(cached) " >&6
7012 if test -n "$MANIFEST_TOOL"; then
7013 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 test -z "$as_dir" && as_dir=.
7020 for ac_exec_ext in '' $ac_executable_extensions; do
7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7022 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7033 if test -n "$MANIFEST_TOOL"; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7035 $as_echo "$MANIFEST_TOOL" >&6; }
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7038 $as_echo "no" >&6; }
7043 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7044 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7045 # Extract the first word of "mt", so it can be a program name with args.
7046 set dummy mt; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$ac_ct_MANIFEST_TOOL"; then
7053 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7073 if test -n "$ac_ct_MANIFEST_TOOL"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7075 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7081 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7084 case $cross_compiling:$ac_tool_warned in
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7088 ac_tool_warned=yes ;;
7090 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7093 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7096 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7098 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7099 if ${lt_cv_path_mainfest_tool+:} false; then :
7100 $as_echo_n "(cached) " >&6
7102 lt_cv_path_mainfest_tool=no
7103 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7104 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7105 cat conftest.err >&5
7106 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7107 lt_cv_path_mainfest_tool=yes
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7112 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7113 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7123 rhapsody* | darwin*)
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$DSYMUTIL"; then
7133 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7153 if test -n "$DSYMUTIL"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7155 $as_echo "$DSYMUTIL" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_DSYMUTIL"; then
7164 ac_ct_DSYMUTIL=$DSYMUTIL
7165 # Extract the first word of "dsymutil", so it can be a program name with args.
7166 set dummy dsymutil; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7170 $as_echo_n "(cached) " >&6
7172 if test -n "$ac_ct_DSYMUTIL"; then
7173 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7193 if test -n "$ac_ct_DSYMUTIL"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7195 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_DSYMUTIL" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned=yes ;;
7210 DSYMUTIL=$ac_ct_DSYMUTIL
7213 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_NMEDIT+:} false; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$NMEDIT"; then
7225 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 NMEDIT=$ac_cv_prog_NMEDIT
7245 if test -n "$NMEDIT"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7247 $as_echo "$NMEDIT" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7255 if test -z "$ac_cv_prog_NMEDIT"; then
7256 ac_ct_NMEDIT=$NMEDIT
7257 # Extract the first word of "nmedit", so it can be a program name with args.
7258 set dummy nmedit; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7262 $as_echo_n "(cached) " >&6
7264 if test -n "$ac_ct_NMEDIT"; then
7265 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7274 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7285 if test -n "$ac_ct_NMEDIT"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7287 $as_echo "$ac_ct_NMEDIT" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7293 if test "x$ac_ct_NMEDIT" = x; then
7296 case $cross_compiling:$ac_tool_warned in
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300 ac_tool_warned=yes ;;
7302 NMEDIT=$ac_ct_NMEDIT
7305 NMEDIT="$ac_cv_prog_NMEDIT"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_LIPO+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$LIPO"; then
7317 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 LIPO=$ac_cv_prog_LIPO
7337 if test -n "$LIPO"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7339 $as_echo "$LIPO" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7347 if test -z "$ac_cv_prog_LIPO"; then
7349 # Extract the first word of "lipo", so it can be a program name with args.
7350 set dummy lipo; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$ac_ct_LIPO"; then
7357 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_ac_ct_LIPO="lipo"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7377 if test -n "$ac_ct_LIPO"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7379 $as_echo "$ac_ct_LIPO" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7385 if test "x$ac_ct_LIPO" = x; then
7388 case $cross_compiling:$ac_tool_warned in
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7392 ac_tool_warned=yes ;;
7397 LIPO="$ac_cv_prog_LIPO"
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}otool; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_OTOOL+:} false; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$OTOOL"; then
7409 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 OTOOL=$ac_cv_prog_OTOOL
7429 if test -n "$OTOOL"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7431 $as_echo "$OTOOL" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7439 if test -z "$ac_cv_prog_OTOOL"; then
7441 # Extract the first word of "otool", so it can be a program name with args.
7442 set dummy otool; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$ac_ct_OTOOL"; then
7449 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_OTOOL="otool"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7469 if test -n "$ac_ct_OTOOL"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7471 $as_echo "$ac_ct_OTOOL" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7477 if test "x$ac_ct_OTOOL" = x; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7489 OTOOL="$ac_cv_prog_OTOOL"
7492 if test -n "$ac_tool_prefix"; then
7493 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7494 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if ${ac_cv_prog_OTOOL64+:} false; then :
7498 $as_echo_n "(cached) " >&6
7500 if test -n "$OTOOL64"; then
7501 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7510 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 OTOOL64=$ac_cv_prog_OTOOL64
7521 if test -n "$OTOOL64"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7523 $as_echo "$OTOOL64" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7531 if test -z "$ac_cv_prog_OTOOL64"; then
7532 ac_ct_OTOOL64=$OTOOL64
7533 # Extract the first word of "otool64", so it can be a program name with args.
7534 set dummy otool64; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7538 $as_echo_n "(cached) " >&6
7540 if test -n "$ac_ct_OTOOL64"; then
7541 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_prog_ac_ct_OTOOL64="otool64"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7561 if test -n "$ac_ct_OTOOL64"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7563 $as_echo "$ac_ct_OTOOL64" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7569 if test "x$ac_ct_OTOOL64" = x; then
7572 case $cross_compiling:$ac_tool_warned in
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7576 ac_tool_warned=yes ;;
7578 OTOOL64=$ac_ct_OTOOL64
7581 OTOOL64="$ac_cv_prog_OTOOL64"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7611 $as_echo_n "checking for -single_module linker flag... " >&6; }
7612 if ${lt_cv_apple_cc_single_mod+:} false; then :
7613 $as_echo_n "(cached) " >&6
7615 lt_cv_apple_cc_single_mod=no
7616 if test -z "${LT_MULTI_MODULE}"; then
7617 # By default we will add the -single_module flag. You can override
7618 # by either setting the environment variable LT_MULTI_MODULE
7619 # non-empty at configure time, or by adding -multi_module to the
7621 rm -rf libconftest.dylib*
7622 echo "int foo(void){return 1;}" > conftest.c
7623 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7624 -dynamiclib -Wl,-single_module conftest.c" >&5
7625 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7626 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7628 # If there is a non-empty error log, and "single_module"
7629 # appears in it, assume the flag caused a linker warning
7630 if test -s conftest.err && $GREP single_module conftest.err; then
7631 cat conftest.err >&5
7632 # Otherwise, if the output was created with a 0 exit code from
7633 # the compiler, it worked.
7634 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7635 lt_cv_apple_cc_single_mod=yes
7637 cat conftest.err >&5
7639 rm -rf libconftest.dylib*
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7644 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7647 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7648 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7649 $as_echo_n "(cached) " >&6
7651 lt_cv_ld_exported_symbols_list=no
7652 save_LDFLAGS=$LDFLAGS
7653 echo "_main" > conftest.sym
7654 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7666 if ac_fn_c_try_link "$LINENO"; then :
7667 lt_cv_ld_exported_symbols_list=yes
7669 lt_cv_ld_exported_symbols_list=no
7671 rm -f core conftest.err conftest.$ac_objext \
7672 conftest$ac_exeext conftest.$ac_ext
7673 LDFLAGS="$save_LDFLAGS"
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7677 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7680 $as_echo_n "checking for -force_load linker flag... " >&6; }
7681 if ${lt_cv_ld_force_load+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 lt_cv_ld_force_load=no
7685 cat > conftest.c << _LT_EOF
7686 int forced_loaded() { return 2;}
7688 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7689 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7690 echo "$AR cru libconftest.a conftest.o" >&5
7691 $AR cru libconftest.a conftest.o 2>&5
7692 echo "$RANLIB libconftest.a" >&5
7693 $RANLIB libconftest.a 2>&5
7694 cat > conftest.c << _LT_EOF
7695 int main() { return 0;}
7697 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7698 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7700 if test -s conftest.err && $GREP force_load conftest.err; then
7701 cat conftest.err >&5
7702 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7703 lt_cv_ld_force_load=yes
7705 cat conftest.err >&5
7707 rm -f conftest.err libconftest.a conftest conftest.c
7708 rm -rf conftest.dSYM
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7712 $as_echo "$lt_cv_ld_force_load" >&6; }
7714 rhapsody* | darwin1.[012])
7715 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7717 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7718 darwin*) # darwin 5.x on
7719 # if running on 10.5 or later, the deployment target defaults
7720 # to the OS version, if on x86, and 10.4, the deployment
7721 # target defaults to 10.4. Don't you love it?
7722 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7723 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7724 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7726 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7728 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7732 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7733 _lt_dar_single_mod='$single_module'
7735 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7736 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7738 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7740 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7741 _lt_dsymutil='~$DSYMUTIL $lib || :'
7748 for ac_header in dlfcn.h
7750 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7752 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define HAVE_DLFCN_H 1
7766 enable_win32_dll=yes
7769 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7770 if test -n "$ac_tool_prefix"; then
7771 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7772 set dummy ${ac_tool_prefix}as; ac_word=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_prog_AS+:} false; then :
7776 $as_echo_n "(cached) " >&6
7778 if test -n "$AS"; then
7779 ac_cv_prog_AS="$AS" # Let the user override the test.
7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7785 test -z "$as_dir" && as_dir=.
7786 for ac_exec_ext in '' $ac_executable_extensions; do
7787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788 ac_cv_prog_AS="${ac_tool_prefix}as"
7789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 if test -n "$AS"; then
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7801 $as_echo "$AS" >&6; }
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804 $as_echo "no" >&6; }
7809 if test -z "$ac_cv_prog_AS"; then
7811 # Extract the first word of "as", so it can be a program name with args.
7812 set dummy as; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7816 $as_echo_n "(cached) " >&6
7818 if test -n "$ac_ct_AS"; then
7819 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_ac_ct_AS="as"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7839 if test -n "$ac_ct_AS"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7841 $as_echo "$ac_ct_AS" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7847 if test "x$ac_ct_AS" = x; then
7850 case $cross_compiling:$ac_tool_warned in
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7854 ac_tool_warned=yes ;;
7862 if test -n "$ac_tool_prefix"; then
7863 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7864 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866 $as_echo_n "checking for $ac_word... " >&6; }
7867 if ${ac_cv_prog_DLLTOOL+:} false; then :
7868 $as_echo_n "(cached) " >&6
7870 if test -n "$DLLTOOL"; then
7871 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890 DLLTOOL=$ac_cv_prog_DLLTOOL
7891 if test -n "$DLLTOOL"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7893 $as_echo "$DLLTOOL" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7901 if test -z "$ac_cv_prog_DLLTOOL"; then
7902 ac_ct_DLLTOOL=$DLLTOOL
7903 # Extract the first word of "dlltool", so it can be a program name with args.
7904 set dummy dlltool; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7908 $as_echo_n "(cached) " >&6
7910 if test -n "$ac_ct_DLLTOOL"; then
7911 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7931 if test -n "$ac_ct_DLLTOOL"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7933 $as_echo "$ac_ct_DLLTOOL" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7939 if test "x$ac_ct_DLLTOOL" = x; then
7942 case $cross_compiling:$ac_tool_warned in
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7946 ac_tool_warned=yes ;;
7948 DLLTOOL=$ac_ct_DLLTOOL
7951 DLLTOOL="$ac_cv_prog_DLLTOOL"
7954 if test -n "$ac_tool_prefix"; then
7955 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7956 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_OBJDUMP+:} false; then :
7960 $as_echo_n "(cached) " >&6
7962 if test -n "$OBJDUMP"; then
7963 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 OBJDUMP=$ac_cv_prog_OBJDUMP
7983 if test -n "$OBJDUMP"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7985 $as_echo "$OBJDUMP" >&6; }
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7993 if test -z "$ac_cv_prog_OBJDUMP"; then
7994 ac_ct_OBJDUMP=$OBJDUMP
7995 # Extract the first word of "objdump", so it can be a program name with args.
7996 set dummy objdump; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8000 $as_echo_n "(cached) " >&6
8002 if test -n "$ac_ct_OBJDUMP"; then
8003 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8023 if test -n "$ac_ct_OBJDUMP"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8025 $as_echo "$ac_ct_OBJDUMP" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8031 if test "x$ac_ct_OBJDUMP" = x; then
8034 case $cross_compiling:$ac_tool_warned in
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8038 ac_tool_warned=yes ;;
8040 OBJDUMP=$ac_ct_OBJDUMP
8043 OBJDUMP="$ac_cv_prog_OBJDUMP"
8049 test -z "$AS" && AS=as
8055 test -z "$DLLTOOL" && DLLTOOL=dlltool
8061 test -z "$OBJDUMP" && OBJDUMP=objdump
8073 # Check whether --enable-shared was given.
8074 if test "${enable_shared+set}" = set; then :
8075 enableval=$enable_shared; p=${PACKAGE-default}
8077 yes) enable_shared=yes ;;
8078 no) enable_shared=no ;;
8081 # Look at the argument we got. We use all the common list separators.
8082 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8083 for pkg in $enableval; do
8085 if test "X$pkg" = "X$p"; then
8104 # Check whether --enable-static was given.
8105 if test "${enable_static+set}" = set; then :
8106 enableval=$enable_static; p=${PACKAGE-default}
8108 yes) enable_static=yes ;;
8109 no) enable_static=no ;;
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8116 if test "X$pkg" = "X$p"; then
8136 # Check whether --with-pic was given.
8137 if test "${with_pic+set}" = set; then :
8138 withval=$with_pic; lt_p=${PACKAGE-default}
8140 yes|no) pic_mode=$withval ;;
8143 # Look at the argument we got. We use all the common list separators.
8144 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8145 for lt_pkg in $withval; do
8147 if test "X$lt_pkg" = "X$lt_p"; then
8159 test -z "$pic_mode" && pic_mode=default
8167 # Check whether --enable-fast-install was given.
8168 if test "${enable_fast_install+set}" = set; then :
8169 enableval=$enable_fast_install; p=${PACKAGE-default}
8171 yes) enable_fast_install=yes ;;
8172 no) enable_fast_install=no ;;
8174 enable_fast_install=no
8175 # Look at the argument we got. We use all the common list separators.
8176 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8177 for pkg in $enableval; do
8179 if test "X$pkg" = "X$p"; then
8180 enable_fast_install=yes
8187 enable_fast_install=yes
8200 # This can be used to rebuild libtool when needed
8201 LIBTOOL_DEPS="$ltmain"
8203 # Always use our own libtool.
8204 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8235 test -z "$LN_S" && LN_S="ln -s"
8250 if test -n "${ZSH_VERSION+set}" ; then
8251 setopt NO_GLOB_SUBST
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8255 $as_echo_n "checking for objdir... " >&6; }
8256 if ${lt_cv_objdir+:} false; then :
8257 $as_echo_n "(cached) " >&6
8259 rm -f .libs 2>/dev/null
8260 mkdir .libs 2>/dev/null
8261 if test -d .libs; then
8264 # MS-DOS does not allow filenames that begin with a dot.
8267 rmdir .libs 2>/dev/null
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8270 $as_echo "$lt_cv_objdir" >&6; }
8271 objdir=$lt_cv_objdir
8277 cat >>confdefs.h <<_ACEOF
8278 #define LT_OBJDIR "$lt_cv_objdir/"
8286 # AIX sometimes has problems with the GCC collect2 program. For some
8287 # reason, if we set the COLLECT_NAMES environment variable, the problems
8288 # vanish in a puff of smoke.
8289 if test "X${COLLECT_NAMES+set}" != Xset; then
8291 export COLLECT_NAMES
8298 can_build_shared=yes
8300 # All known linkers require a `.a' archive for static linking (except MSVC,
8301 # which needs '.lib').
8304 with_gnu_ld="$lt_cv_prog_gnu_ld"
8307 old_CFLAGS="$CFLAGS"
8309 # Set sane defaults for various variables
8310 test -z "$CC" && CC=cc
8311 test -z "$LTCC" && LTCC=$CC
8312 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8313 test -z "$LD" && LD=ld
8314 test -z "$ac_objext" && ac_objext=o
8316 for cc_temp in $compiler""; do
8318 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8319 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8324 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8327 # Only perform the check for file, if the check method requires it
8328 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8329 case $deplibs_check_method in
8331 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8333 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8334 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8335 $as_echo_n "(cached) " >&6
8339 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8342 lt_save_MAGIC_CMD="$MAGIC_CMD"
8343 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8344 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8345 for ac_dir in $ac_dummy; do
8347 test -z "$ac_dir" && ac_dir=.
8348 if test -f $ac_dir/${ac_tool_prefix}file; then
8349 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8350 if test -n "$file_magic_test_file"; then
8351 case $deplibs_check_method in
8353 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8354 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8355 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8356 $EGREP "$file_magic_regex" > /dev/null; then
8361 *** Warning: the command libtool uses to detect shared libraries,
8362 *** $file_magic_cmd, produces output that libtool cannot recognize.
8363 *** The result is that libtool may fail to recognize shared libraries
8364 *** as such. This will affect the creation of libtool libraries that
8365 *** depend on shared libraries, but programs linked with such libtool
8366 *** libraries will work regardless of this problem. Nevertheless, you
8367 *** may want to report the problem to your system manager and/or to
8368 *** bug-libtool@gnu.org
8378 MAGIC_CMD="$lt_save_MAGIC_CMD"
8383 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8384 if test -n "$MAGIC_CMD"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8386 $as_echo "$MAGIC_CMD" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389 $as_echo "no" >&6; }
8396 if test -z "$lt_cv_path_MAGIC_CMD"; then
8397 if test -n "$ac_tool_prefix"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8399 $as_echo_n "checking for file... " >&6; }
8400 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8401 $as_echo_n "(cached) " >&6
8405 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8408 lt_save_MAGIC_CMD="$MAGIC_CMD"
8409 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8410 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8411 for ac_dir in $ac_dummy; do
8413 test -z "$ac_dir" && ac_dir=.
8414 if test -f $ac_dir/file; then
8415 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8416 if test -n "$file_magic_test_file"; then
8417 case $deplibs_check_method in
8419 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8420 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8421 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8422 $EGREP "$file_magic_regex" > /dev/null; then
8427 *** Warning: the command libtool uses to detect shared libraries,
8428 *** $file_magic_cmd, produces output that libtool cannot recognize.
8429 *** The result is that libtool may fail to recognize shared libraries
8430 *** as such. This will affect the creation of libtool libraries that
8431 *** depend on shared libraries, but programs linked with such libtool
8432 *** libraries will work regardless of this problem. Nevertheless, you
8433 *** may want to report the problem to your system manager and/or to
8434 *** bug-libtool@gnu.org
8444 MAGIC_CMD="$lt_save_MAGIC_CMD"
8449 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8450 if test -n "$MAGIC_CMD"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8452 $as_echo "$MAGIC_CMD" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8455 $as_echo "no" >&6; }
8468 # Use C for the default configuration in the libtool script
8472 ac_cpp='$CPP $CPPFLAGS'
8473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8478 # Source file extension for C test sources.
8481 # Object file extension for compiled C test sources.
8485 # Code to be used in simple compile tests
8486 lt_simple_compile_test_code="int some_variable = 0;"
8488 # Code to be used in simple link tests
8489 lt_simple_link_test_code='int main(){return(0);}'
8497 # If no C compiler was specified, use CC.
8500 # If no C compiler flags were specified, use CFLAGS.
8501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8503 # Allow CC to be a program name with arguments.
8506 # Save the default compiler, since it gets overwritten when the other
8507 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8508 compiler_DEFAULT=$CC
8510 # save warnings/boilerplate of simple test code
8511 ac_outfile=conftest.$ac_objext
8512 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8513 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8514 _lt_compiler_boilerplate=`cat conftest.err`
8517 ac_outfile=conftest.$ac_objext
8518 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8519 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8520 _lt_linker_boilerplate=`cat conftest.err`
8525 ## There is no encapsulation within the following macros, do not change
8526 ## the running order or otherwise move them around unless you know exactly
8527 ## what you are doing...
8528 if test -n "$compiler"; then
8530 lt_prog_compiler_no_builtin_flag=
8532 if test "$GCC" = yes; then
8533 case $cc_basename in
8535 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8537 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8541 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8542 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8543 $as_echo_n "(cached) " >&6
8545 lt_cv_prog_compiler_rtti_exceptions=no
8546 ac_outfile=conftest.$ac_objext
8547 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8548 lt_compiler_flag="-fno-rtti -fno-exceptions"
8549 # Insert the option either (1) after the last *FLAGS variable, or
8550 # (2) before a word containing "conftest.", or (3) at the end.
8551 # Note that $ac_compile itself does not contain backslashes and begins
8552 # with a dollar sign (not a hyphen), so the echo should work correctly.
8553 # The option is referenced via a variable to avoid confusing sed.
8554 lt_compile=`echo "$ac_compile" | $SED \
8555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8557 -e 's:$: $lt_compiler_flag:'`
8558 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8559 (eval "$lt_compile" 2>conftest.err)
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 if (exit $ac_status) && test -s "$ac_outfile"; then
8564 # The compiler can only warn and ignore the option if not recognized
8565 # So say no if there are warnings other than the usual output.
8566 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8567 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8568 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8569 lt_cv_prog_compiler_rtti_exceptions=yes
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8576 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8578 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8579 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8591 lt_prog_compiler_wl=
8592 lt_prog_compiler_pic=
8593 lt_prog_compiler_static=
8596 if test "$GCC" = yes; then
8597 lt_prog_compiler_wl='-Wl,'
8598 lt_prog_compiler_static='-static'
8602 # All AIX code is PIC.
8603 if test "$host_cpu" = ia64; then
8604 # AIX 5 now supports IA64 processor
8605 lt_prog_compiler_static='-Bstatic'
8612 # see comment about AmigaOS4 .so support
8613 lt_prog_compiler_pic='-fPIC'
8616 # FIXME: we need at least 68020 code to build shared libraries, but
8617 # adding the `-m68020' flag to GCC prevents building anything better,
8619 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8624 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8625 # PIC is the default for these OSes.
8628 mingw* | cygwin* | pw32* | os2* | cegcc*)
8629 # This hack is so that the source file can tell whether it is being
8630 # built for inclusion in a dll (and should export symbols for example).
8631 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8632 # (--disable-auto-import) libraries
8633 lt_prog_compiler_pic='-DDLL_EXPORT'
8636 darwin* | rhapsody*)
8637 # PIC is the default on this platform
8638 # Common symbols not allowed in MH_DYLIB files
8639 lt_prog_compiler_pic='-fno-common'
8643 # PIC is the default for Haiku.
8644 # The "-static" flag exists, but is broken.
8645 lt_prog_compiler_static=
8649 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8650 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8651 # sets the default TLS model and affects inlining.
8657 lt_prog_compiler_pic='-fPIC'
8663 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8664 # Instead, we relocate shared libraries at runtime.
8668 # Just because we use GCC doesn't mean we suddenly get shared libraries
8669 # on systems that don't support them.
8670 lt_prog_compiler_can_build_shared=no
8675 # QNX uses GNU C++, but need to define -shared option too, otherwise
8677 lt_prog_compiler_pic='-fPIC -shared'
8681 if test -d /usr/nec; then
8682 lt_prog_compiler_pic=-Kconform_pic
8687 lt_prog_compiler_pic='-fPIC'
8691 case $cc_basename in
8692 nvcc*) # Cuda Compiler Driver 2.2
8693 lt_prog_compiler_wl='-Xlinker '
8694 if test -n "$lt_prog_compiler_pic"; then
8695 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8700 # PORTME Check for flag to pass linker flags through the system compiler.
8703 lt_prog_compiler_wl='-Wl,'
8704 if test "$host_cpu" = ia64; then
8705 # AIX 5 now supports IA64 processor
8706 lt_prog_compiler_static='-Bstatic'
8708 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8712 mingw* | cygwin* | pw32* | os2* | cegcc*)
8713 # This hack is so that the source file can tell whether it is being
8714 # built for inclusion in a dll (and should export symbols for example).
8715 lt_prog_compiler_pic='-DDLL_EXPORT'
8718 hpux9* | hpux10* | hpux11*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8727 lt_prog_compiler_pic='+Z'
8730 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8731 lt_prog_compiler_static='${wl}-a ${wl}archive'
8734 irix5* | irix6* | nonstopux*)
8735 lt_prog_compiler_wl='-Wl,'
8736 # PIC (with -KPIC) is the default.
8737 lt_prog_compiler_static='-non_shared'
8740 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8741 case $cc_basename in
8742 # old Intel for x86_64 which still supported -KPIC.
8744 lt_prog_compiler_wl='-Wl,'
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-static'
8748 # icc used to be incompatible with GCC.
8749 # ICC 10 doesn't accept -KPIC any more.
8751 lt_prog_compiler_wl='-Wl,'
8752 lt_prog_compiler_pic='-fPIC'
8753 lt_prog_compiler_static='-static'
8755 # Lahey Fortran 8.1.
8757 lt_prog_compiler_wl='-Wl,'
8758 lt_prog_compiler_pic='--shared'
8759 lt_prog_compiler_static='--static'
8762 # NAG Fortran compiler
8763 lt_prog_compiler_wl='-Wl,-Wl,,'
8764 lt_prog_compiler_pic='-PIC'
8765 lt_prog_compiler_static='-Bstatic'
8767 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8768 # Portland Group compilers (*not* the Pentium gcc compiler,
8769 # which looks to be a dead project)
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-fpic'
8772 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_wl='-Wl,'
8776 # All Alpha code is PIC.
8777 lt_prog_compiler_static='-non_shared'
8779 xl* | bgxl* | bgf* | mpixl*)
8780 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-qpic'
8783 lt_prog_compiler_static='-qstaticlink'
8786 case `$CC -V 2>&1 | sed 5q` in
8787 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8788 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8789 lt_prog_compiler_pic='-KPIC'
8790 lt_prog_compiler_static='-Bstatic'
8791 lt_prog_compiler_wl=''
8793 *Sun\ F* | *Sun*Fortran*)
8794 lt_prog_compiler_pic='-KPIC'
8795 lt_prog_compiler_static='-Bstatic'
8796 lt_prog_compiler_wl='-Qoption ld '
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl='-Wl,'
8804 *Intel*\ [CF]*Compiler*)
8805 lt_prog_compiler_wl='-Wl,'
8806 lt_prog_compiler_pic='-fPIC'
8807 lt_prog_compiler_static='-static'
8810 lt_prog_compiler_wl='-Wl,'
8811 lt_prog_compiler_pic='-fpic'
8812 lt_prog_compiler_static='-Bstatic'
8820 lt_prog_compiler_pic='-KPIC'
8821 lt_prog_compiler_static='-Bstatic'
8825 # QNX uses GNU C++, but need to define -shared option too, otherwise
8827 lt_prog_compiler_pic='-fPIC -shared'
8830 osf3* | osf4* | osf5*)
8831 lt_prog_compiler_wl='-Wl,'
8832 # All OSF/1 code is PIC.
8833 lt_prog_compiler_static='-non_shared'
8837 lt_prog_compiler_static='-non_shared'
8841 lt_prog_compiler_pic='-KPIC'
8842 lt_prog_compiler_static='-Bstatic'
8843 case $cc_basename in
8844 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8845 lt_prog_compiler_wl='-Qoption ld ';;
8847 lt_prog_compiler_wl='-Wl,';;
8852 lt_prog_compiler_wl='-Qoption ld '
8853 lt_prog_compiler_pic='-PIC'
8854 lt_prog_compiler_static='-Bstatic'
8857 sysv4 | sysv4.2uw2* | sysv4.3*)
8858 lt_prog_compiler_wl='-Wl,'
8859 lt_prog_compiler_pic='-KPIC'
8860 lt_prog_compiler_static='-Bstatic'
8864 if test -d /usr/nec ;then
8865 lt_prog_compiler_pic='-Kconform_pic'
8866 lt_prog_compiler_static='-Bstatic'
8870 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8877 lt_prog_compiler_wl='-Wl,'
8878 lt_prog_compiler_can_build_shared=no
8882 lt_prog_compiler_pic='-pic'
8883 lt_prog_compiler_static='-Bstatic'
8887 lt_prog_compiler_can_build_shared=no
8893 # For platforms which do not support PIC, -DPIC is meaningless:
8895 lt_prog_compiler_pic=
8898 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8903 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8904 if ${lt_cv_prog_compiler_pic+:} false; then :
8905 $as_echo_n "(cached) " >&6
8907 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8910 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8911 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8914 # Check to make sure the PIC flag actually works.
8916 if test -n "$lt_prog_compiler_pic"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8918 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8919 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8920 $as_echo_n "(cached) " >&6
8922 lt_cv_prog_compiler_pic_works=no
8923 ac_outfile=conftest.$ac_objext
8924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8925 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8926 # Insert the option either (1) after the last *FLAGS variable, or
8927 # (2) before a word containing "conftest.", or (3) at the end.
8928 # Note that $ac_compile itself does not contain backslashes and begins
8929 # with a dollar sign (not a hyphen), so the echo should work correctly.
8930 # The option is referenced via a variable to avoid confusing sed.
8931 lt_compile=`echo "$ac_compile" | $SED \
8932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8934 -e 's:$: $lt_compiler_flag:'`
8935 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8936 (eval "$lt_compile" 2>conftest.err)
8938 cat conftest.err >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 if (exit $ac_status) && test -s "$ac_outfile"; then
8941 # The compiler can only warn and ignore the option if not recognized
8942 # So say no if there are warnings other than the usual output.
8943 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8944 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8945 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8946 lt_cv_prog_compiler_pic_works=yes
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8953 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8955 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8956 case $lt_prog_compiler_pic in
8958 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8961 lt_prog_compiler_pic=
8962 lt_prog_compiler_can_build_shared=no
8978 # Check to make sure the static flag actually works.
8980 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8982 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8983 if ${lt_cv_prog_compiler_static_works+:} false; then :
8984 $as_echo_n "(cached) " >&6
8986 lt_cv_prog_compiler_static_works=no
8987 save_LDFLAGS="$LDFLAGS"
8988 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8989 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8990 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8991 # The linker can only warn and ignore the option if not recognized
8992 # So say no if there are warnings
8993 if test -s conftest.err; then
8994 # Append any errors to the config.log.
8995 cat conftest.err 1>&5
8996 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8997 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8998 if diff conftest.exp conftest.er2 >/dev/null; then
8999 lt_cv_prog_compiler_static_works=yes
9002 lt_cv_prog_compiler_static_works=yes
9006 LDFLAGS="$save_LDFLAGS"
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9010 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9012 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9015 lt_prog_compiler_static=
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9026 if ${lt_cv_prog_compiler_c_o+:} false; then :
9027 $as_echo_n "(cached) " >&6
9029 lt_cv_prog_compiler_c_o=no
9030 $RM -r conftest 2>/dev/null
9034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9036 lt_compiler_flag="-o out/conftest2.$ac_objext"
9037 # Insert the option either (1) after the last *FLAGS variable, or
9038 # (2) before a word containing "conftest.", or (3) at the end.
9039 # Note that $ac_compile itself does not contain backslashes and begins
9040 # with a dollar sign (not a hyphen), so the echo should work correctly.
9041 lt_compile=`echo "$ac_compile" | $SED \
9042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9044 -e 's:$: $lt_compiler_flag:'`
9045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9046 (eval "$lt_compile" 2>out/conftest.err)
9048 cat out/conftest.err >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9052 # The compiler can only warn and ignore the option if not recognized
9053 # So say no if there are warnings
9054 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9055 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9056 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9057 lt_cv_prog_compiler_c_o=yes
9062 # SGI C++ compiler will create directory out/ii_files/ for
9063 # template instantiation
9064 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9065 $RM out/* && rmdir out
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9080 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9081 if ${lt_cv_prog_compiler_c_o+:} false; then :
9082 $as_echo_n "(cached) " >&6
9084 lt_cv_prog_compiler_c_o=no
9085 $RM -r conftest 2>/dev/null
9089 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9091 lt_compiler_flag="-o out/conftest2.$ac_objext"
9092 # Insert the option either (1) after the last *FLAGS variable, or
9093 # (2) before a word containing "conftest.", or (3) at the end.
9094 # Note that $ac_compile itself does not contain backslashes and begins
9095 # with a dollar sign (not a hyphen), so the echo should work correctly.
9096 lt_compile=`echo "$ac_compile" | $SED \
9097 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9099 -e 's:$: $lt_compiler_flag:'`
9100 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9101 (eval "$lt_compile" 2>out/conftest.err)
9103 cat out/conftest.err >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9107 # The compiler can only warn and ignore the option if not recognized
9108 # So say no if there are warnings
9109 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9110 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9111 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9112 lt_cv_prog_compiler_c_o=yes
9117 # SGI C++ compiler will create directory out/ii_files/ for
9118 # template instantiation
9119 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9120 $RM out/* && rmdir out
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9127 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9132 hard_links="nottested"
9133 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9134 # do not overwrite the value of need_locks provided by the user
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9136 $as_echo_n "checking if we can lock with hard links... " >&6; }
9139 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 ln conftest.a conftest.b 2>&5 || hard_links=no
9142 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9144 $as_echo "$hard_links" >&6; }
9145 if test "$hard_links" = no; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9147 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9160 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9163 allow_undefined_flag=
9164 always_export_symbols=no
9166 archive_expsym_cmds=
9167 compiler_needs_object=no
9168 enable_shared_with_static_runtimes=no
9169 export_dynamic_flag_spec=
9170 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9171 hardcode_automatic=no
9173 hardcode_direct_absolute=no
9174 hardcode_libdir_flag_spec=
9175 hardcode_libdir_separator=
9177 hardcode_shlibpath_var=unsupported
9179 link_all_deplibs=unknown
9182 old_archive_from_new_cmds=
9183 old_archive_from_expsyms_cmds=
9184 thread_safe_flag_spec=
9185 whole_archive_flag_spec=
9186 # include_expsyms should be a list of space-separated symbols to be *always*
9187 # included in the symbol list
9189 # exclude_expsyms can be an extended regexp of symbols to exclude
9190 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9191 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9192 # as well as any symbol that contains `d'.
9193 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9194 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9195 # platforms (ab)use it in PIC code, but their linkers get confused if
9196 # the symbol is explicitly referenced. Since portable code cannot
9197 # rely on this symbol name, it's probably fine to never include it in
9198 # preloaded symbol tables.
9199 # Exclude shared library initialization/finalization symbols.
9200 extract_expsyms_cmds=
9203 cygwin* | mingw* | pw32* | cegcc*)
9204 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9205 # When not using gcc, we currently assume that we are using
9206 # Microsoft Visual C++.
9207 if test "$GCC" != yes; then
9212 # we just hope/assume this is gcc and not c89 (= MSVC++)
9218 linux* | k*bsd*-gnu | gnu*)
9225 # On some targets, GNU ld is compatible enough with the native linker
9226 # that we're better off using the native interface for both.
9227 lt_use_gnu_ld_interface=no
9228 if test "$with_gnu_ld" = yes; then
9231 # The AIX port of GNU ld has always aspired to compatibility
9232 # with the native linker. However, as the warning in the GNU ld
9233 # block says, versions before 2.19.5* couldn't really create working
9234 # shared libraries, regardless of the interface used.
9235 case `$LD -v 2>&1` in
9236 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9237 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9238 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9240 lt_use_gnu_ld_interface=yes
9245 lt_use_gnu_ld_interface=yes
9250 if test "$lt_use_gnu_ld_interface" = yes; then
9251 # If archive_cmds runs LD, not CC, wlarc should be empty
9254 # Set some defaults for GNU ld with shared library support. These
9255 # are reset later if shared libraries are not supported. Putting them
9256 # here allows them to be overridden if necessary.
9257 runpath_var=LD_RUN_PATH
9258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9259 export_dynamic_flag_spec='${wl}--export-dynamic'
9260 # ancient GNU ld didn't support --whole-archive et. al.
9261 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9262 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9264 whole_archive_flag_spec=
9266 supports_anon_versioning=no
9267 case `$LD -v 2>&1` in
9268 *GNU\ gold*) supports_anon_versioning=yes ;;
9269 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9270 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9271 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9272 *\ 2.11.*) ;; # other 2.11 versions
9273 *) supports_anon_versioning=yes ;;
9276 # See if GNU ld supports shared libraries.
9279 # On AIX/PPC, the GNU linker is very broken
9280 if test "$host_cpu" != ia64; then
9284 *** Warning: the GNU linker, at least up to release 2.19, is reported
9285 *** to be unable to reliably create shared libraries on AIX.
9286 *** Therefore, libtool is disabling shared libraries support. If you
9287 *** really care for shared libraries, you may want to install binutils
9288 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9289 *** You will then need to restart the configuration process.
9298 # see comment about AmigaOS4 .so support
9299 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300 archive_expsym_cmds=''
9303 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)'
9304 hardcode_libdir_flag_spec='-L$libdir'
9305 hardcode_minus_L=yes
9311 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9312 allow_undefined_flag=unsupported
9313 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9314 # support --undefined. This deserves some investigation. FIXME
9315 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9321 cygwin* | mingw* | pw32* | cegcc*)
9322 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9323 # as there is no search path for DLLs.
9324 hardcode_libdir_flag_spec='-L$libdir'
9325 export_dynamic_flag_spec='${wl}--export-all-symbols'
9326 allow_undefined_flag=unsupported
9327 always_export_symbols=no
9328 enable_shared_with_static_runtimes=yes
9329 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'
9330 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9332 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9334 # If the export-symbols file already is a .def file (1st line
9335 # is EXPORTS), use it as is; otherwise, prepend...
9336 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9337 cp $export_symbols $output_objdir/$soname.def;
9339 echo EXPORTS > $output_objdir/$soname.def;
9340 cat $export_symbols >> $output_objdir/$soname.def;
9342 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 link_all_deplibs=yes
9355 hardcode_shlibpath_var=no
9356 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9357 export_dynamic_flag_spec='${wl}-E'
9358 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9359 # Instead, shared libraries are loaded at an image base (0x10000000 by
9360 # default) and relocated if they conflict, which is a slow very memory
9361 # consuming and fragmenting process. To avoid this, we pick a random,
9362 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9363 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9364 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9365 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'
9368 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9370 if test "$host_os" = linux-dietlibc; then
9371 case $cc_basename in
9372 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9375 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9376 && test "$tmp_diet" = no
9378 tmp_addflag=' $pic_flag'
9379 tmp_sharedflag='-shared'
9380 case $cc_basename,$host_cpu in
9381 pgcc*) # Portland Group C compiler
9382 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'
9383 tmp_addflag=' $pic_flag'
9385 pgf77* | pgf90* | pgf95* | pgfortran*)
9386 # Portland Group f77 and f90 compilers
9387 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'
9388 tmp_addflag=' $pic_flag -Mnomain' ;;
9389 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9390 tmp_addflag=' -i_dynamic' ;;
9391 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9392 tmp_addflag=' -i_dynamic -nofor_main' ;;
9393 ifc* | ifort*) # Intel Fortran compiler
9394 tmp_addflag=' -nofor_main' ;;
9395 lf95*) # Lahey Fortran 8.1
9396 whole_archive_flag_spec=
9397 tmp_sharedflag='--shared' ;;
9398 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9399 tmp_sharedflag='-qmkshrobj'
9401 nvcc*) # Cuda Compiler Driver 2.2
9402 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'
9403 compiler_needs_object=yes
9406 case `$CC -V 2>&1 | sed 5q` in
9407 *Sun\ C*) # Sun C 5.9
9408 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'
9409 compiler_needs_object=yes
9410 tmp_sharedflag='-G' ;;
9411 *Sun\ F*) # Sun Fortran 8.3
9412 tmp_sharedflag='-G' ;;
9414 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 if test "x$supports_anon_versioning" = xyes; then
9417 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9419 echo "local: *; };" >> $output_objdir/$libname.ver~
9420 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9423 case $cc_basename in
9424 xlf* | bgf* | bgxlf* | mpixlf*)
9425 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9426 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9427 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9428 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9429 if test "x$supports_anon_versioning" = xyes; then
9430 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9431 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9432 echo "local: *; };" >> $output_objdir/$libname.ver~
9433 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9442 netbsd* | netbsdelf*-gnu)
9443 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9444 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9447 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9448 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9457 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9458 *** create shared libraries on Solaris systems. Therefore, libtool
9459 *** is disabling shared libraries support. We urge you to upgrade GNU
9460 *** binutils to release 2.9.1 or newer. Another option is to modify
9461 *** your PATH or compiler configuration so that the native linker is
9462 *** used, and then restart.
9465 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9466 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9467 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9473 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9474 case `$LD -v 2>&1` in
9475 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9479 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9480 *** reliably create shared libraries on SCO systems. Therefore, libtool
9481 *** is disabling shared libraries support. We urge you to upgrade GNU
9482 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9483 *** your PATH or compiler configuration so that the native linker is
9484 *** used, and then restart.
9489 # For security reasons, it is highly recommended that you always
9490 # use absolute paths for naming shared libraries, and exclude the
9491 # DT_RUNPATH tag from executables and libraries. But doing so
9492 # requires that you compile everything twice, which is a pain.
9493 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9494 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9495 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9505 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9508 hardcode_shlibpath_var=no
9512 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9513 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9514 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9521 if test "$ld_shlibs" = no; then
9523 hardcode_libdir_flag_spec=
9524 export_dynamic_flag_spec=
9525 whole_archive_flag_spec=
9528 # PORTME fill in a description of your system's linker (not GNU ld)
9531 allow_undefined_flag=unsupported
9532 always_export_symbols=yes
9533 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'
9534 # Note: this linker hardcodes the directories in LIBPATH if there
9535 # are no directories specified by -L.
9536 hardcode_minus_L=yes
9537 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9538 # Neither direct hardcoding nor static linking is supported with a
9540 hardcode_direct=unsupported
9545 if test "$host_cpu" = ia64; then
9546 # On IA64, the linker does run time linking by default, so we don't
9547 # have to do anything special.
9548 aix_use_runtimelinking=no
9549 exp_sym_flag='-Bexport'
9552 # If we're using GNU nm, then we don't want the "-C" option.
9553 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9554 # Also, AIX nm treats weak defined symbols like other global
9555 # defined symbols, whereas GNU nm marks them as "W".
9556 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9557 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'
9559 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'
9561 aix_use_runtimelinking=no
9563 # Test if we are trying to use run time linking or normal
9564 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9565 # need to do runtime linking.
9566 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9567 for ld_flag in $LDFLAGS; do
9568 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9569 aix_use_runtimelinking=yes
9576 exp_sym_flag='-bexport'
9577 no_entry_flag='-bnoentry'
9580 # When large executables or shared objects are built, AIX ld can
9581 # have problems creating the table of contents. If linking a library
9582 # or program results in "error TOC overflow" add -mminimal-toc to
9583 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9584 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9588 hardcode_direct_absolute=yes
9589 hardcode_libdir_separator=':'
9590 link_all_deplibs=yes
9591 file_list_spec='${wl}-f,'
9593 if test "$GCC" = yes; then
9594 case $host_os in aix4.[012]|aix4.[012].*)
9595 # We only want to do this on AIX 4.2 and lower, the check
9596 # below for broken collect2 doesn't work under 4.3+
9597 collect2name=`${CC} -print-prog-name=collect2`
9598 if test -f "$collect2name" &&
9599 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9601 # We have reworked collect2
9604 # We have old collect2
9605 hardcode_direct=unsupported
9606 # It fails to find uninstalled libraries when the uninstalled
9607 # path is not listed in the libpath. Setting hardcode_minus_L
9608 # to unsupported forces relinking
9609 hardcode_minus_L=yes
9610 hardcode_libdir_flag_spec='-L$libdir'
9611 hardcode_libdir_separator=
9615 shared_flag='-shared'
9616 if test "$aix_use_runtimelinking" = yes; then
9617 shared_flag="$shared_flag "'${wl}-G'
9622 if test "$host_cpu" = ia64; then
9623 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9624 # chokes on -Wl,-G. The following line is correct:
9627 if test "$aix_use_runtimelinking" = yes; then
9628 shared_flag='${wl}-G'
9630 shared_flag='${wl}-bM:SRE'
9635 export_dynamic_flag_spec='${wl}-bexpall'
9636 # It seems that -bexpall does not export symbols beginning with
9637 # underscore (_), so it is better to generate a list of symbols to export.
9638 always_export_symbols=yes
9639 if test "$aix_use_runtimelinking" = yes; then
9640 # Warning - without using the other runtime loading flags (-brtl),
9641 # -berok will link without error, but may produce a broken library.
9642 allow_undefined_flag='-berok'
9643 # Determine the default libpath from the value encoded in an
9645 if test "${lt_cv_aix_libpath+set}" = set; then
9646 aix_libpath=$lt_cv_aix_libpath
9648 if ${lt_cv_aix_libpath_+:} false; then :
9649 $as_echo_n "(cached) " >&6
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9662 if ac_fn_c_try_link "$LINENO"; then :
9664 lt_aix_libpath_sed='
9665 /Import File Strings/,/^$/ {
9667 s/^0 *\([^ ]*\) *$/\1/
9671 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9672 # Check for a 64-bit object if we didn't find anything.
9673 if test -z "$lt_cv_aix_libpath_"; then
9674 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 if test -z "$lt_cv_aix_libpath_"; then
9680 lt_cv_aix_libpath_="/usr/lib:/lib"
9685 aix_libpath=$lt_cv_aix_libpath_
9688 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9689 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"
9691 if test "$host_cpu" = ia64; then
9692 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9693 allow_undefined_flag="-z nodefs"
9694 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"
9696 # Determine the default libpath from the value encoded in an
9698 if test "${lt_cv_aix_libpath+set}" = set; then
9699 aix_libpath=$lt_cv_aix_libpath
9701 if ${lt_cv_aix_libpath_+:} false; then :
9702 $as_echo_n "(cached) " >&6
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9715 if ac_fn_c_try_link "$LINENO"; then :
9717 lt_aix_libpath_sed='
9718 /Import File Strings/,/^$/ {
9720 s/^0 *\([^ ]*\) *$/\1/
9724 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9725 # Check for a 64-bit object if we didn't find anything.
9726 if test -z "$lt_cv_aix_libpath_"; then
9727 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 if test -z "$lt_cv_aix_libpath_"; then
9733 lt_cv_aix_libpath_="/usr/lib:/lib"
9738 aix_libpath=$lt_cv_aix_libpath_
9741 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9742 # Warning - without using the other run time loading flags,
9743 # -berok will link without error, but may produce a broken library.
9744 no_undefined_flag=' ${wl}-bernotok'
9745 allow_undefined_flag=' ${wl}-berok'
9746 if test "$with_gnu_ld" = yes; then
9747 # We only use this code for GNU lds that support --whole-archive.
9748 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9750 # Exported symbols can be pulled into shared objects from archives
9751 whole_archive_flag_spec='$convenience'
9753 archive_cmds_need_lc=yes
9754 # This is similar to how AIX traditionally builds its shared libraries.
9755 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'
9763 # see comment about AmigaOS4 .so support
9764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9765 archive_expsym_cmds=''
9768 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)'
9769 hardcode_libdir_flag_spec='-L$libdir'
9770 hardcode_minus_L=yes
9776 export_dynamic_flag_spec=-rdynamic
9779 cygwin* | mingw* | pw32* | cegcc*)
9780 # When not using gcc, we currently assume that we are using
9781 # Microsoft Visual C++.
9782 # hardcode_libdir_flag_spec is actually meaningless, as there is
9783 # no search path for DLLs.
9784 case $cc_basename in
9787 hardcode_libdir_flag_spec=' '
9788 allow_undefined_flag=unsupported
9789 always_export_symbols=yes
9791 # Tell ltmain to make .lib files, not .a files.
9793 # Tell ltmain to make .dll files, not .so files.
9795 # FIXME: Setting linknames here is a bad hack.
9796 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9797 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9798 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9800 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9802 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9804 # The linker will not automatically build a static lib if we build a DLL.
9805 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9806 enable_shared_with_static_runtimes=yes
9807 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9808 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9810 old_postinstall_cmds='chmod 644 $oldlib'
9811 postlink_cmds='lt_outputfile="@OUTPUT@"~
9812 lt_tool_outputfile="@TOOL_OUTPUT@"~
9813 case $lt_outputfile in
9816 lt_outputfile="$lt_outputfile.exe"
9817 lt_tool_outputfile="$lt_tool_outputfile.exe"
9820 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9821 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9822 $RM "$lt_outputfile.manifest";
9826 # Assume MSVC wrapper
9827 hardcode_libdir_flag_spec=' '
9828 allow_undefined_flag=unsupported
9829 # Tell ltmain to make .lib files, not .a files.
9831 # Tell ltmain to make .dll files, not .so files.
9833 # FIXME: Setting linknames here is a bad hack.
9834 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9835 # The linker will automatically build a .lib file if we build a DLL.
9836 old_archive_from_new_cmds='true'
9837 # FIXME: Should let the user specify the lib program.
9838 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9839 enable_shared_with_static_runtimes=yes
9844 darwin* | rhapsody*)
9847 archive_cmds_need_lc=no
9849 hardcode_automatic=yes
9850 hardcode_shlibpath_var=unsupported
9851 if test "$lt_cv_ld_force_load" = "yes"; then
9852 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\"`'
9855 whole_archive_flag_spec=''
9857 link_all_deplibs=yes
9858 allow_undefined_flag="$_lt_dar_allow_undefined"
9859 case $cc_basename in
9860 ifort*) _lt_dar_can_shared=yes ;;
9861 *) _lt_dar_can_shared=$GCC ;;
9863 if test "$_lt_dar_can_shared" = "yes"; then
9864 output_verbose_link_cmd=func_echo_all
9865 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9866 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9867 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}"
9868 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}"
9877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878 hardcode_libdir_flag_spec='-L$libdir'
9879 hardcode_shlibpath_var=no
9882 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9883 # support. Future versions do this automatically, but an explicit c++rt0.o
9884 # does not break anything, and helps significantly (at the cost of a little
9887 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9888 hardcode_libdir_flag_spec='-R$libdir'
9890 hardcode_shlibpath_var=no
9893 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9895 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_minus_L=yes
9898 hardcode_shlibpath_var=no
9901 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9902 freebsd* | dragonfly*)
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 hardcode_libdir_flag_spec='-R$libdir'
9906 hardcode_shlibpath_var=no
9910 if test "$GCC" = yes; then
9911 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'
9913 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'
9915 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9916 hardcode_libdir_separator=:
9919 # hardcode_minus_L: Not really in the search PATH,
9920 # but as the default location of the library.
9921 hardcode_minus_L=yes
9922 export_dynamic_flag_spec='${wl}-E'
9926 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9927 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9931 if test "$with_gnu_ld" = no; then
9932 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9933 hardcode_libdir_separator=:
9935 hardcode_direct_absolute=yes
9936 export_dynamic_flag_spec='${wl}-E'
9937 # hardcode_minus_L: Not really in the search PATH,
9938 # but as the default location of the library.
9939 hardcode_minus_L=yes
9944 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9947 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9966 # Older versions of the 11.00 compiler do not understand -b yet
9967 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9969 $as_echo_n "checking if $CC understands -b... " >&6; }
9970 if ${lt_cv_prog_compiler__b+:} false; then :
9971 $as_echo_n "(cached) " >&6
9973 lt_cv_prog_compiler__b=no
9974 save_LDFLAGS="$LDFLAGS"
9975 LDFLAGS="$LDFLAGS -b"
9976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9978 # The linker can only warn and ignore the option if not recognized
9979 # So say no if there are warnings
9980 if test -s conftest.err; then
9981 # Append any errors to the config.log.
9982 cat conftest.err 1>&5
9983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9985 if diff conftest.exp conftest.er2 >/dev/null; then
9986 lt_cv_prog_compiler__b=yes
9989 lt_cv_prog_compiler__b=yes
9993 LDFLAGS="$save_LDFLAGS"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9997 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9999 if test x"$lt_cv_prog_compiler__b" = xyes; then
10000 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10002 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10008 if test "$with_gnu_ld" = no; then
10009 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10010 hardcode_libdir_separator=:
10015 hardcode_shlibpath_var=no
10018 hardcode_direct=yes
10019 hardcode_direct_absolute=yes
10020 export_dynamic_flag_spec='${wl}-E'
10022 # hardcode_minus_L: Not really in the search PATH,
10023 # but as the default location of the library.
10024 hardcode_minus_L=yes
10030 irix5* | irix6* | nonstopux*)
10031 if test "$GCC" = yes; then
10032 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'
10033 # Try to use the -exported_symbol ld option, if it does not
10034 # work, assume that -exports_file does not work either and
10035 # implicitly export all symbols.
10036 # This should be the same for all languages, so no per-tag cache variable.
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10038 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10039 if ${lt_cv_irix_exported_symbol+:} false; then :
10040 $as_echo_n "(cached) " >&6
10042 save_LDFLAGS="$LDFLAGS"
10043 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10046 int foo (void) { return 0; }
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 lt_cv_irix_exported_symbol=yes
10051 lt_cv_irix_exported_symbol=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LDFLAGS="$save_LDFLAGS"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10058 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10059 if test "$lt_cv_irix_exported_symbol" = yes; then
10060 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'
10063 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'
10064 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'
10066 archive_cmds_need_lc='no'
10067 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10068 hardcode_libdir_separator=:
10070 link_all_deplibs=yes
10073 netbsd* | netbsdelf*-gnu)
10074 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10075 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10077 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10079 hardcode_libdir_flag_spec='-R$libdir'
10080 hardcode_direct=yes
10081 hardcode_shlibpath_var=no
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_direct=yes
10087 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10088 hardcode_libdir_separator=:
10089 hardcode_shlibpath_var=no
10096 if test -f /usr/libexec/ld.so; then
10097 hardcode_direct=yes
10098 hardcode_shlibpath_var=no
10099 hardcode_direct_absolute=yes
10100 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10101 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10103 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10104 export_dynamic_flag_spec='${wl}-E'
10107 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10108 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec='-R$libdir'
10112 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10113 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10123 hardcode_libdir_flag_spec='-L$libdir'
10124 hardcode_minus_L=yes
10125 allow_undefined_flag=unsupported
10126 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'
10127 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10131 if test "$GCC" = yes; then
10132 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10133 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'
10135 allow_undefined_flag=' -expect_unresolved \*'
10136 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'
10138 archive_cmds_need_lc='no'
10139 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10140 hardcode_libdir_separator=:
10143 osf4* | osf5*) # as osf3* with the addition of -msym flag
10144 if test "$GCC" = yes; then
10145 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10146 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'
10147 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10149 allow_undefined_flag=' -expect_unresolved \*'
10150 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'
10151 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~
10152 $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'
10154 # Both c and cxx compiler support -rpath directly
10155 hardcode_libdir_flag_spec='-rpath $libdir'
10157 archive_cmds_need_lc='no'
10158 hardcode_libdir_separator=:
10162 no_undefined_flag=' -z defs'
10163 if test "$GCC" = yes; then
10165 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10166 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10167 $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'
10169 case `$CC -V 2>&1` in
10172 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10173 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10174 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10178 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10180 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10184 hardcode_libdir_flag_spec='-R$libdir'
10185 hardcode_shlibpath_var=no
10187 solaris2.[0-5] | solaris2.[0-5].*) ;;
10189 # The compiler driver will combine and reorder linker options,
10190 # but understands `-z linker_flag'. GCC discards it without `$wl',
10191 # but is careful enough not to reorder.
10192 # Supported since Solaris 2.6 (maybe 2.5.1?)
10193 if test "$GCC" = yes; then
10194 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10196 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10200 link_all_deplibs=yes
10204 if test "x$host_vendor" = xsequent; then
10205 # Use $CC to link under sequent, because it throws in some extra .o
10206 # files that make .init and .fini sections work.
10207 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_libdir_flag_spec='-L$libdir'
10212 hardcode_direct=yes
10213 hardcode_minus_L=yes
10214 hardcode_shlibpath_var=no
10218 case $host_vendor in
10220 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_direct=yes # is this really true???
10224 ## LD is ld it makes a PLAMLIB
10225 ## CC just makes a GrossModule.
10226 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10227 reload_cmds='$CC -r -o $output$reload_objs'
10231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10235 runpath_var='LD_RUN_PATH'
10236 hardcode_shlibpath_var=no
10240 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10241 hardcode_shlibpath_var=no
10242 export_dynamic_flag_spec='-Bexport'
10246 if test -d /usr/nec; then
10247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_shlibpath_var=no
10249 runpath_var=LD_RUN_PATH
10250 hardcode_runpath_var=yes
10255 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10256 no_undefined_flag='${wl}-z,text'
10257 archive_cmds_need_lc=no
10258 hardcode_shlibpath_var=no
10259 runpath_var='LD_RUN_PATH'
10261 if test "$GCC" = yes; then
10262 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10270 sysv5* | sco3.2v5* | sco5v6*)
10271 # Note: We can NOT use -z defs as we might desire, because we do not
10272 # link with -lc, and that would cause any symbols used from libc to
10273 # always be unresolved, which means just about no library would
10274 # ever link correctly. If we're not using GNU ld we use -z text
10275 # though, which does catch some bad symbols but isn't as heavy-handed
10277 no_undefined_flag='${wl}-z,text'
10278 allow_undefined_flag='${wl}-z,nodefs'
10279 archive_cmds_need_lc=no
10280 hardcode_shlibpath_var=no
10281 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10282 hardcode_libdir_separator=':'
10283 link_all_deplibs=yes
10284 export_dynamic_flag_spec='${wl}-Bexport'
10285 runpath_var='LD_RUN_PATH'
10287 if test "$GCC" = yes; then
10288 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10297 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298 hardcode_libdir_flag_spec='-L$libdir'
10299 hardcode_shlibpath_var=no
10307 if test x$host_vendor = xsni; then
10309 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10310 export_dynamic_flag_spec='${wl}-Blargedynsym'
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10317 $as_echo "$ld_shlibs" >&6; }
10318 test "$ld_shlibs" = no && can_build_shared=no
10320 with_gnu_ld=$with_gnu_ld
10337 # Do we need to explicitly link libc?
10339 case "x$archive_cmds_need_lc" in
10341 # Assume -lc should be added
10342 archive_cmds_need_lc=yes
10344 if test "$enable_shared" = yes && test "$GCC" = yes; then
10345 case $archive_cmds in
10347 # FIXME: we may have to deal with multi-command sequences.
10350 # Test whether the compiler implicitly links with -lc since on some
10351 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10352 # to ld, don't add -lc before -lgcc.
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10354 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10355 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10356 $as_echo_n "(cached) " >&6
10359 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10362 (eval $ac_compile) 2>&5
10364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10365 test $ac_status = 0; } 2>conftest.err; then
10368 libobjs=conftest.$ac_objext
10370 wl=$lt_prog_compiler_wl
10371 pic_flag=$lt_prog_compiler_pic
10377 lt_save_allow_undefined_flag=$allow_undefined_flag
10378 allow_undefined_flag=
10379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10380 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10383 test $ac_status = 0; }
10385 lt_cv_archive_cmds_need_lc=no
10387 lt_cv_archive_cmds_need_lc=yes
10389 allow_undefined_flag=$lt_save_allow_undefined_flag
10391 cat conftest.err 1>&5
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10397 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10398 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10557 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10559 if test "$GCC" = yes; then
10561 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10562 *) lt_awk_arg="/^libraries:/" ;;
10565 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10566 *) lt_sed_strip_eq="s,=/,/,g" ;;
10568 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10569 case $lt_search_path_spec in
10571 # if the path contains ";" then we assume it to be the separator
10572 # otherwise default to the standard path separator (i.e. ":") - it is
10573 # assumed that no part of a normal pathname contains ";" but that should
10574 # okay in the real world where ";" in dirpaths is itself problematic.
10575 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10578 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10581 # Ok, now we have the path, separated by spaces, we can step through it
10582 # and add multilib dir if necessary.
10583 lt_tmp_lt_search_path_spec=
10584 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10585 for lt_sys_path in $lt_search_path_spec; do
10586 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10587 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10589 test -d "$lt_sys_path" && \
10590 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10593 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10594 BEGIN {RS=" "; FS="/|\n";} {
10597 for (lt_i = NF; lt_i > 0; lt_i--) {
10598 if ($lt_i != "" && $lt_i != ".") {
10599 if ($lt_i == "..") {
10602 if (lt_count == 0) {
10603 lt_foo="/" $lt_i lt_foo;
10610 if (lt_foo != "") { lt_freq[lt_foo]++; }
10611 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10613 # AWK program above erroneously prepends '/' to C:/dos/paths
10616 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10617 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10619 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10621 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10623 library_names_spec=
10624 libname_spec='lib$name'
10628 postuninstall_cmds=
10632 shlibpath_overrides_runpath=unknown
10634 dynamic_linker="$host_os ld.so"
10635 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10636 need_lib_prefix=unknown
10637 hardcode_into_libs=no
10639 # when you set need_version to no, make sure it does not cause -set_version
10640 # flags to be left without arguments
10641 need_version=unknown
10645 version_type=linux # correct to gnu/linux during the next big refactor
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10647 shlibpath_var=LIBPATH
10649 # AIX 3 has no versioning support, so we append a major version to the name.
10650 soname_spec='${libname}${release}${shared_ext}$major'
10654 version_type=linux # correct to gnu/linux during the next big refactor
10657 hardcode_into_libs=yes
10658 if test "$host_cpu" = ia64; then
10659 # AIX 5 supports IA64
10660 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10661 shlibpath_var=LD_LIBRARY_PATH
10663 # With GCC up to 2.95.x, collect2 would create an import file
10664 # for dependence libraries. The import file would start with
10665 # the line `#! .'. This would cause the generated library to
10666 # depend on `.', always an invalid library. This was fixed in
10667 # development snapshots of GCC prior to 3.0.
10669 aix4 | aix4.[01] | aix4.[01].*)
10670 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10672 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10675 can_build_shared=no
10679 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10680 # soname into executable. Probably we can add versioning support to
10681 # collect2, so additional links can be useful in future.
10682 if test "$aix_use_runtimelinking" = yes; then
10683 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10684 # instead of lib<name>.a to let people know that these are not
10685 # typical AIX shared libraries.
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688 # We preserve .a as extension for shared libraries through AIX4.2
10689 # and later when we are not doing run time linking.
10690 library_names_spec='${libname}${release}.a $libname.a'
10691 soname_spec='${libname}${release}${shared_ext}$major'
10693 shlibpath_var=LIBPATH
10700 # Since July 2007 AmigaOS4 officially supports .so libraries.
10701 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10705 library_names_spec='$libname.ixlibrary $libname.a'
10706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10707 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'
10713 library_names_spec='${libname}${shared_ext}'
10714 dynamic_linker="$host_os ld.so"
10715 shlibpath_var=LIBRARY_PATH
10719 version_type=linux # correct to gnu/linux during the next big refactor
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec='${libname}${release}${shared_ext}$major'
10723 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10726 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10727 # the default ld.so.conf also contains /usr/contrib/lib and
10728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10729 # libtool to hard-code these into programs
10732 cygwin* | mingw* | pw32* | cegcc*)
10733 version_type=windows
10738 case $GCC,$cc_basename in
10741 library_names_spec='$libname.dll.a'
10742 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10743 postinstall_cmds='base_file=`basename \${file}`~
10744 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10745 dldir=$destdir/`dirname \$dlpath`~
10746 test -d \$dldir || mkdir -p \$dldir~
10747 $install_prog $dir/$dlname \$dldir/$dlname~
10748 chmod a+x \$dldir/$dlname~
10749 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10750 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10752 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10753 dlpath=$dir/\$dldll~
10755 shlibpath_overrides_runpath=yes
10759 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10760 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10762 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10765 # MinGW DLLs use traditional 'lib' prefix
10766 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10769 # pw32 DLLs use 'pw' prefix rather than 'lib'
10770 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10773 dynamic_linker='Win32 ld.exe'
10778 libname_spec='$name'
10779 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10780 library_names_spec='${libname}.dll.lib'
10784 sys_lib_search_path_spec=
10787 for lt_path in $LIB
10790 # Let DOS variable expansion print the short 8.3 style file name.
10791 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10792 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10795 # Convert to MSYS style.
10796 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10799 # Convert to unix form, then to dos form, then back to unix form
10800 # but this time dos style (no spaces!) so that the unix form looks
10801 # like /cygdrive/c/PROGRA~1:/cygdr...
10802 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10803 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10804 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10807 sys_lib_search_path_spec="$LIB"
10808 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10809 # It is most probably a Windows format PATH.
10810 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10812 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10814 # FIXME: find the short name or the path components, as spaces are
10815 # common. (e.g. "Program Files" -> "PROGRA~1")
10819 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10820 postinstall_cmds='base_file=`basename \${file}`~
10821 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10822 dldir=$destdir/`dirname \$dlpath`~
10823 test -d \$dldir || mkdir -p \$dldir~
10824 $install_prog $dir/$dlname \$dldir/$dlname'
10825 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10826 dlpath=$dir/\$dldll~
10828 shlibpath_overrides_runpath=yes
10829 dynamic_linker='Win32 link.exe'
10833 # Assume MSVC wrapper
10834 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10835 dynamic_linker='Win32 ld.exe'
10838 # FIXME: first we should search . and the directory the executable is in
10842 darwin* | rhapsody*)
10843 dynamic_linker="$host_os dyld"
10844 version_type=darwin
10847 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10848 soname_spec='${libname}${release}${major}$shared_ext'
10849 shlibpath_overrides_runpath=yes
10850 shlibpath_var=DYLD_LIBRARY_PATH
10851 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10853 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10854 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10858 version_type=linux # correct to gnu/linux during the next big refactor
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 shlibpath_var=LD_LIBRARY_PATH
10866 freebsd* | dragonfly*)
10867 # DragonFly does not have aout. When/if they implement a new
10868 # versioning mechanism, adjust this.
10869 if test -x /usr/bin/objformat; then
10870 objformat=`/usr/bin/objformat`
10873 freebsd[23].*) objformat=aout ;;
10874 *) objformat=elf ;;
10877 version_type=freebsd-$objformat
10878 case $version_type in
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10889 shlibpath_var=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath=yes
10894 freebsd3.[01]* | freebsdelf3.[01]*)
10895 shlibpath_overrides_runpath=yes
10896 hardcode_into_libs=yes
10898 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10899 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10900 shlibpath_overrides_runpath=no
10901 hardcode_into_libs=yes
10903 *) # from 4.6 on, and DragonFly
10904 shlibpath_overrides_runpath=yes
10905 hardcode_into_libs=yes
10911 version_type=linux # correct to gnu/linux during the next big refactor
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 shlibpath_overrides_runpath=no
10918 hardcode_into_libs=yes
10922 version_type=linux # correct to gnu/linux during the next big refactor
10925 dynamic_linker="$host_os runtime_loader"
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 shlibpath_var=LIBRARY_PATH
10929 shlibpath_overrides_runpath=yes
10930 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10931 hardcode_into_libs=yes
10934 hpux9* | hpux10* | hpux11*)
10935 # Give a soname corresponding to the major version so that dld.sl refuses to
10936 # link against other versions.
10943 hardcode_into_libs=yes
10944 dynamic_linker="$host_os dld.so"
10945 shlibpath_var=LD_LIBRARY_PATH
10946 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 if test "X$HPUX_IA64_MODE" = X32; then
10950 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10952 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10954 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10958 hardcode_into_libs=yes
10959 dynamic_linker="$host_os dld.sl"
10960 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10961 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10965 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10969 dynamic_linker="$host_os dld.sl"
10970 shlibpath_var=SHLIB_PATH
10971 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973 soname_spec='${libname}${release}${shared_ext}$major'
10976 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10977 postinstall_cmds='chmod 555 $lib'
10978 # or fails outright, so override atomically:
10979 install_override_mode=555
10983 version_type=linux # correct to gnu/linux during the next big refactor
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=no
10991 hardcode_into_libs=yes
10994 irix5* | irix6* | nonstopux*)
10996 nonstopux*) version_type=nonstopux ;;
10998 if test "$lt_cv_prog_gnu_ld" = yes; then
10999 version_type=linux # correct to gnu/linux during the next big refactor
11006 soname_spec='${libname}${release}${shared_ext}$major'
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11009 irix5* | nonstopux*)
11010 libsuff= shlibsuff=
11013 case $LD in # libtool.m4 will add one of these switches to LD
11014 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11015 libsuff= shlibsuff= libmagic=32-bit;;
11016 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11017 libsuff=32 shlibsuff=N32 libmagic=N32;;
11018 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11019 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11020 *) libsuff= shlibsuff= libmagic=never-match;;
11024 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11025 shlibpath_overrides_runpath=no
11026 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11027 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11028 hardcode_into_libs=yes
11031 # No shared lib support for Linux oldld, aout, or coff.
11032 linux*oldld* | linux*aout* | linux*coff*)
11036 # This must be glibc/ELF.
11037 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11038 version_type=linux # correct to gnu/linux during the next big refactor
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 soname_spec='${libname}${release}${shared_ext}$major'
11043 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=no
11047 # Some binutils ld are patched to set DT_RUNPATH
11048 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11049 $as_echo_n "(cached) " >&6
11051 lt_cv_shlibpath_overrides_runpath=no
11052 save_LDFLAGS=$LDFLAGS
11053 save_libdir=$libdir
11054 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11055 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11069 lt_cv_shlibpath_overrides_runpath=yes
11072 rm -f core conftest.err conftest.$ac_objext \
11073 conftest$ac_exeext conftest.$ac_ext
11074 LDFLAGS=$save_LDFLAGS
11075 libdir=$save_libdir
11079 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11081 # This implies no fast_install, which is unacceptable.
11082 # Some rework will be needed to allow for fast_install
11083 # before this can be enabled.
11084 hardcode_into_libs=yes
11086 # Append ld.so.conf contents to the search path
11087 if test -f /etc/ld.so.conf; then
11088 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' ' '`
11089 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11092 # We used to test for /lib/ld.so.1 and disable shared libraries on
11093 # powerpc, because MkLinux only supported shared libraries with the
11094 # GNU dynamic linker. Since this was broken with cross compilers,
11095 # most powerpc-linux boxes support dynamic linking these days and
11096 # people can always --disable-shared, the test was removed, and we
11097 # assume the GNU/Linux dynamic linker is in use.
11098 dynamic_linker='GNU/Linux ld.so'
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 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=no
11109 hardcode_into_libs=yes
11110 dynamic_linker='NetBSD ld.elf_so'
11117 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11119 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11120 dynamic_linker='NetBSD (a.out) ld.so'
11122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11123 soname_spec='${libname}${release}${shared_ext}$major'
11124 dynamic_linker='NetBSD ld.elf_so'
11126 shlibpath_var=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath=yes
11128 hardcode_into_libs=yes
11132 version_type=linux # correct to gnu/linux during the next big refactor
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 shlibpath_overrides_runpath=yes
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 soname_spec='${libname}${release}${shared_ext}$major'
11144 shlibpath_var=LD_LIBRARY_PATH
11145 shlibpath_overrides_runpath=no
11146 hardcode_into_libs=yes
11147 dynamic_linker='ldqnx.so'
11152 sys_lib_dlsearch_path_spec="/usr/lib"
11154 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11156 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11157 *) need_version=no ;;
11159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11160 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11164 openbsd2.[89] | openbsd2.[89].*)
11165 shlibpath_overrides_runpath=no
11168 shlibpath_overrides_runpath=yes
11172 shlibpath_overrides_runpath=yes
11177 libname_spec='$name'
11180 library_names_spec='$libname${shared_ext} $libname.a'
11181 dynamic_linker='OS/2 ld.exe'
11182 shlibpath_var=LIBPATH
11185 osf3* | osf4* | osf5*)
11189 soname_spec='${libname}${release}${shared_ext}$major'
11190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11193 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11201 version_type=linux # correct to gnu/linux during the next big refactor
11204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205 soname_spec='${libname}${release}${shared_ext}$major'
11206 shlibpath_var=LD_LIBRARY_PATH
11207 shlibpath_overrides_runpath=yes
11208 hardcode_into_libs=yes
11209 # ldd complains unless libraries are executable
11210 postinstall_cmds='chmod +x $lib'
11215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11216 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11217 shlibpath_var=LD_LIBRARY_PATH
11218 shlibpath_overrides_runpath=yes
11219 if test "$with_gnu_ld" = yes; then
11226 version_type=linux # correct to gnu/linux during the next big refactor
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11228 soname_spec='${libname}${release}${shared_ext}$major'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 case $host_vendor in
11232 shlibpath_overrides_runpath=no
11234 runpath_var=LD_RUN_PATH
11242 shlibpath_overrides_runpath=no
11243 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11249 if test -d /usr/nec ;then
11250 version_type=linux # correct to gnu/linux during the next big refactor
11251 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11252 soname_spec='$libname${shared_ext}.$major'
11253 shlibpath_var=LD_LIBRARY_PATH
11257 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11258 version_type=freebsd-elf
11261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11262 soname_spec='${libname}${release}${shared_ext}$major'
11263 shlibpath_var=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath=yes
11265 hardcode_into_libs=yes
11266 if test "$with_gnu_ld" = yes; then
11267 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11269 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11272 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11276 sys_lib_dlsearch_path_spec='/usr/lib'
11280 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11281 version_type=linux # correct to gnu/linux during the next big refactor
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285 shlibpath_var=LD_LIBRARY_PATH
11286 shlibpath_overrides_runpath=no
11287 hardcode_into_libs=yes
11291 version_type=linux # correct to gnu/linux during the next big refactor
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11293 soname_spec='${libname}${release}${shared_ext}$major'
11294 shlibpath_var=LD_LIBRARY_PATH
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11302 $as_echo "$dynamic_linker" >&6; }
11303 test "$dynamic_linker" = no && can_build_shared=no
11305 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11306 if test "$GCC" = yes; then
11307 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11310 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11311 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11313 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11314 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11409 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11411 if test -n "$hardcode_libdir_flag_spec" ||
11412 test -n "$runpath_var" ||
11413 test "X$hardcode_automatic" = "Xyes" ; then
11415 # We can hardcode non-existent directories.
11416 if test "$hardcode_direct" != no &&
11417 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11418 # have to relink, otherwise we might link with an installed library
11419 # when we should be linking with a yet-to-be-installed one
11420 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11421 test "$hardcode_minus_L" != no; then
11422 # Linking always hardcodes the temporary library directory.
11423 hardcode_action=relink
11425 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11426 hardcode_action=immediate
11429 # We cannot hardcode anything, or else we can only hardcode existing
11431 hardcode_action=unsupported
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11434 $as_echo "$hardcode_action" >&6; }
11436 if test "$hardcode_action" = relink ||
11437 test "$inherit_rpath" = yes; then
11438 # Fast installation is not supported
11439 enable_fast_install=no
11440 elif test "$shlibpath_overrides_runpath" = yes ||
11441 test "$enable_shared" = no; then
11442 # Fast installation is not necessary
11443 enable_fast_install=needless
11451 if test "x$enable_dlopen" != xyes; then
11452 enable_dlopen=unknown
11453 enable_dlopen_self=unknown
11454 enable_dlopen_self_static=unknown
11461 lt_cv_dlopen="load_add_on"
11463 lt_cv_dlopen_self=yes
11466 mingw* | pw32* | cegcc*)
11467 lt_cv_dlopen="LoadLibrary"
11472 lt_cv_dlopen="dlopen"
11477 # if libdl is installed we need to link against it
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11479 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11480 if ${ac_cv_lib_dl_dlopen+:} false; then :
11481 $as_echo_n "(cached) " >&6
11483 ac_check_lib_save_LIBS=$LIBS
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_dl_dlopen=yes
11506 ac_cv_lib_dl_dlopen=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11513 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11514 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11518 lt_cv_dlopen="dyld"
11520 lt_cv_dlopen_self=yes
11527 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11528 if test "x$ac_cv_func_shl_load" = xyes; then :
11529 lt_cv_dlopen="shl_load"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11532 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11533 if ${ac_cv_lib_dld_shl_load+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_lib_save_LIBS=$LIBS
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11551 return shl_load ();
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 ac_cv_lib_dld_shl_load=yes
11559 ac_cv_lib_dld_shl_load=no
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11566 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11567 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11568 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11570 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11571 if test "x$ac_cv_func_dlopen" = xyes; then :
11572 lt_cv_dlopen="dlopen"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11575 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11576 if ${ac_cv_lib_dl_dlopen+:} false; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_lib_save_LIBS=$LIBS
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 ac_cv_lib_dl_dlopen=yes
11602 ac_cv_lib_dl_dlopen=no
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_lib_save_LIBS
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11609 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11610 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11611 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11614 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11615 if ${ac_cv_lib_svld_dlopen+:} false; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-lsvld $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_svld_dlopen=yes
11641 ac_cv_lib_svld_dlopen=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11648 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11649 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11650 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11653 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11654 if ${ac_cv_lib_dld_dld_link+:} false; then :
11655 $as_echo_n "(cached) " >&6
11657 ac_check_lib_save_LIBS=$LIBS
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11672 return dld_link ();
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 ac_cv_lib_dld_dld_link=yes
11680 ac_cv_lib_dld_dld_link=no
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_lib_save_LIBS
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11687 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11688 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11689 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11710 if test "x$lt_cv_dlopen" != xno; then
11716 case $lt_cv_dlopen in
11718 save_CPPFLAGS="$CPPFLAGS"
11719 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11721 save_LDFLAGS="$LDFLAGS"
11722 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11725 LIBS="$lt_cv_dlopen_libs $LIBS"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11728 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11729 if ${lt_cv_dlopen_self+:} false; then :
11730 $as_echo_n "(cached) " >&6
11732 if test "$cross_compiling" = yes; then :
11733 lt_cv_dlopen_self=cross
11735 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11736 lt_status=$lt_dlunknown
11737 cat > conftest.$ac_ext <<_LT_EOF
11738 #line $LINENO "configure"
11739 #include "confdefs.h"
11748 # define LT_DLGLOBAL RTLD_GLOBAL
11751 # define LT_DLGLOBAL DL_GLOBAL
11753 # define LT_DLGLOBAL 0
11757 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11758 find out it does not work in some platform. */
11759 #ifndef LT_DLLAZY_OR_NOW
11761 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11764 # define LT_DLLAZY_OR_NOW DL_LAZY
11767 # define LT_DLLAZY_OR_NOW RTLD_NOW
11770 # define LT_DLLAZY_OR_NOW DL_NOW
11772 # define LT_DLLAZY_OR_NOW 0
11779 /* When -fvisbility=hidden is used, assume the code has been annotated
11780 correspondingly for the symbols needed. */
11781 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11782 int fnord () __attribute__((visibility("default")));
11785 int fnord () { return 42; }
11788 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11789 int status = $lt_dlunknown;
11793 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11796 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11797 else puts (dlerror ());
11799 /* dlclose (self); */
11807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11808 (eval $ac_link) 2>&5
11810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11811 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11812 (./conftest; exit; ) >&5 2>/dev/null
11814 case x$lt_status in
11815 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11816 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11817 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11820 # compilation failed
11821 lt_cv_dlopen_self=no
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11829 $as_echo "$lt_cv_dlopen_self" >&6; }
11831 if test "x$lt_cv_dlopen_self" = xyes; then
11832 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11834 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11835 if ${lt_cv_dlopen_self_static+:} false; then :
11836 $as_echo_n "(cached) " >&6
11838 if test "$cross_compiling" = yes; then :
11839 lt_cv_dlopen_self_static=cross
11841 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11842 lt_status=$lt_dlunknown
11843 cat > conftest.$ac_ext <<_LT_EOF
11844 #line $LINENO "configure"
11845 #include "confdefs.h"
11854 # define LT_DLGLOBAL RTLD_GLOBAL
11857 # define LT_DLGLOBAL DL_GLOBAL
11859 # define LT_DLGLOBAL 0
11863 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11864 find out it does not work in some platform. */
11865 #ifndef LT_DLLAZY_OR_NOW
11867 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11870 # define LT_DLLAZY_OR_NOW DL_LAZY
11873 # define LT_DLLAZY_OR_NOW RTLD_NOW
11876 # define LT_DLLAZY_OR_NOW DL_NOW
11878 # define LT_DLLAZY_OR_NOW 0
11885 /* When -fvisbility=hidden is used, assume the code has been annotated
11886 correspondingly for the symbols needed. */
11887 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11888 int fnord () __attribute__((visibility("default")));
11891 int fnord () { return 42; }
11894 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11895 int status = $lt_dlunknown;
11899 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11902 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11903 else puts (dlerror ());
11905 /* dlclose (self); */
11913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11914 (eval $ac_link) 2>&5
11916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11917 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11918 (./conftest; exit; ) >&5 2>/dev/null
11920 case x$lt_status in
11921 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11922 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11923 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11926 # compilation failed
11927 lt_cv_dlopen_self_static=no
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11935 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11938 CPPFLAGS="$save_CPPFLAGS"
11939 LDFLAGS="$save_LDFLAGS"
11944 case $lt_cv_dlopen_self in
11945 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11946 *) enable_dlopen_self=unknown ;;
11949 case $lt_cv_dlopen_self_static in
11950 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11951 *) enable_dlopen_self_static=unknown ;;
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11974 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11975 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11976 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11977 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11979 $as_echo "yes" >&6; }
11981 # FIXME - insert some real tests, host_os isn't really good enough
11984 if test -n "$STRIP" ; then
11985 striplib="$STRIP -x"
11986 old_striplib="$STRIP -S"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11988 $as_echo "yes" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
12012 # Report which library types will actually be built
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12014 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12016 $as_echo "$can_build_shared" >&6; }
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12019 $as_echo_n "checking whether to build shared libraries... " >&6; }
12020 test "$can_build_shared" = "no" && enable_shared=no
12022 # On AIX, shared libraries and static libraries use the same namespace, and
12023 # are all built from PIC.
12026 test "$enable_shared" = yes && enable_static=no
12027 if test -n "$RANLIB"; then
12028 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12029 postinstall_cmds='$RANLIB $lib'
12034 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12035 test "$enable_shared" = yes && enable_static=no
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12040 $as_echo "$enable_shared" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12043 $as_echo_n "checking whether to build static libraries... " >&6; }
12044 # Make sure either enable_shared or enable_static is yes.
12045 test "$enable_shared" = yes || enable_static=yes
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12047 $as_echo "$enable_static" >&6; }
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075 ac_config_commands="$ac_config_commands libtool"
12080 # Only expand once:
12091 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12092 if test -n "$ac_tool_prefix"; then
12093 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12094 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12096 $as_echo_n "checking for $ac_word... " >&6; }
12097 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12098 $as_echo_n "(cached) " >&6
12100 case $PKG_CONFIG in
12102 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12112 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12124 if test -n "$PKG_CONFIG"; then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12126 $as_echo "$PKG_CONFIG" >&6; }
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12134 if test -z "$ac_cv_path_PKG_CONFIG"; then
12135 ac_pt_PKG_CONFIG=$PKG_CONFIG
12136 # Extract the first word of "pkg-config", so it can be a program name with args.
12137 set dummy pkg-config; ac_word=$2
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12139 $as_echo_n "checking for $ac_word... " >&6; }
12140 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12141 $as_echo_n "(cached) " >&6
12143 case $ac_pt_PKG_CONFIG in
12145 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12166 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12167 if test -n "$ac_pt_PKG_CONFIG"; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12169 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12172 $as_echo "no" >&6; }
12175 if test "x$ac_pt_PKG_CONFIG" = x; then
12178 case $cross_compiling:$ac_tool_warned in
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12182 ac_tool_warned=yes ;;
12184 PKG_CONFIG=$ac_pt_PKG_CONFIG
12187 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12191 if test -n "$PKG_CONFIG"; then
12192 _pkg_min_version=0.9.0
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12194 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12195 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12197 $as_echo "yes" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
12207 $as_echo_n "checking for LIBGUPNP... " >&6; }
12209 if test -n "$LIBGUPNP_CFLAGS"; then
12210 pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
12211 elif test -n "$PKG_CONFIG"; then
12212 if test -n "$PKG_CONFIG" && \
12213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0 \\
12215 libxml-2.0\""; } >&5
12216 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0 \
12220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12221 test $ac_status = 0; }; then
12222 pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.0 \
12224 libxml-2.0" 2>/dev/null`
12225 test "x$?" != "x0" && pkg_failed=yes
12232 if test -n "$LIBGUPNP_LIBS"; then
12233 pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
12234 elif test -n "$PKG_CONFIG"; then
12235 if test -n "$PKG_CONFIG" && \
12236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0 \\
12238 libxml-2.0\""; } >&5
12239 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0 \
12243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244 test $ac_status = 0; }; then
12245 pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.0 \
12247 libxml-2.0" 2>/dev/null`
12248 test "x$?" != "x0" && pkg_failed=yes
12258 if test $pkg_failed = yes; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260 $as_echo "no" >&6; }
12262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12263 _pkg_short_errors_supported=yes
12265 _pkg_short_errors_supported=no
12267 if test $_pkg_short_errors_supported = yes; then
12268 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0 \
12272 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0 \
12276 # Put the nasty error message in config.log where it belongs
12277 echo "$LIBGUPNP_PKG_ERRORS" >&5
12279 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.0 \
12281 libxml-2.0) were not met:
12283 $LIBGUPNP_PKG_ERRORS
12285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12286 installed software in a non-standard prefix.
12288 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12289 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12290 See the pkg-config man page for more details." "$LINENO" 5
12291 elif test $pkg_failed = untried; then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12296 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12297 is in your PATH or set the PKG_CONFIG environment variable to the full
12298 path to pkg-config.
12300 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12301 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12302 See the pkg-config man page for more details.
12304 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12305 See \`config.log' for more details" "$LINENO" 5; }
12307 LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
12308 LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12310 $as_echo "yes" >&6; }
12315 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12319 # Check whether --enable-debug was given.
12320 if test "${enable_debug+set}" = set; then :
12321 enableval=$enable_debug;
12326 if test "x$enable_debug" = "xyes"; then
12327 CFLAGS="$CFLAGS -g -Wall"
12333 # Check whether --enable-introspection was given.
12334 if test "${enable_introspection+set}" = set; then :
12335 enableval=$enable_introspection;
12337 enable_introspection=auto
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12342 $as_echo_n "checking for gobject-introspection... " >&6; }
12344 case $enable_introspection in #(
12346 found_introspection="no (disabled, use --enable-introspection to enable)"
12349 if test -n "$PKG_CONFIG" && \
12350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12351 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12354 test $ac_status = 0; }; then
12357 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12359 if test -n "$PKG_CONFIG" && \
12360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
12361 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12364 test $ac_status = 0; }; then
12365 found_introspection=yes
12367 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build gupnp-av" "$LINENO" 5
12371 if test -n "$PKG_CONFIG" && \
12372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
12373 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
12375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12376 test $ac_status = 0; }; then
12377 found_introspection=yes
12379 found_introspection=no
12383 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12387 $as_echo "$found_introspection" >&6; }
12389 INTROSPECTION_SCANNER=
12390 INTROSPECTION_COMPILER=
12391 INTROSPECTION_GENERATE=
12392 INTROSPECTION_GIRDIR=
12393 INTROSPECTION_TYPELIBDIR=
12394 if test "x$found_introspection" = "xyes"; then
12395 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12396 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12397 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12398 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12399 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12400 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12401 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12402 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12413 if test "x$found_introspection" = "xyes"; then
12414 HAVE_INTROSPECTION_TRUE=
12415 HAVE_INTROSPECTION_FALSE='#'
12417 HAVE_INTROSPECTION_TRUE='#'
12418 HAVE_INTROSPECTION_FALSE=
12425 if test "x$found_introspection" = "xyes"; then :
12427 # Extract the first word of "vapigen", so it can be a program name with args.
12428 set dummy vapigen; ac_word=$2
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12430 $as_echo_n "checking for $ac_word... " >&6; }
12431 if ${ac_cv_path_VAPIGEN+:} false; then :
12432 $as_echo_n "(cached) " >&6
12436 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12440 for as_dir in $PATH
12443 test -z "$as_dir" && as_dir=.
12444 for ac_exec_ext in '' $ac_executable_extensions; do
12445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12446 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12457 VAPIGEN=$ac_cv_path_VAPIGEN
12458 if test -n "$VAPIGEN"; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12460 $as_echo "$VAPIGEN" >&6; }
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12463 $as_echo "no" >&6; }
12467 if test -z "$VAPIGEN"; then :
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12469 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12471 if test -n "0.14"; then :
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version 0.14" >&5
12473 $as_echo_n "checking $VAPIGEN is at least version 0.14... " >&6; }
12474 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12476 as_arg_v2="$am__vapigen_version"
12477 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12481 $as_echo "yes" >&6; } ;; #(
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12484 $as_echo "yes" >&6; } ;; #(
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487 $as_echo "no" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator 0.14 not found." >&5
12489 $as_echo "$as_me: WARNING: Vala API Generator 0.14 not found." >&2;} ;; #(
12499 if test "x$VAPIGEN" != "x"; then
12501 HAVE_VAPIGEN_FALSE='#'
12503 HAVE_VAPIGEN_TRUE='#'
12504 HAVE_VAPIGEN_FALSE=
12512 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12513 set dummy gtkdoc-check; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12517 $as_echo_n "(cached) " >&6
12519 case $GTKDOC_CHECK in
12521 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12525 for as_dir in $PATH
12528 test -z "$as_dir" && as_dir=.
12529 for ac_exec_ext in '' $ac_executable_extensions; do
12530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12531 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12543 if test -n "$GTKDOC_CHECK"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12545 $as_echo "$GTKDOC_CHECK" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12552 for ac_prog in gtkdoc-rebase
12554 # Extract the first word of "$ac_prog", so it can be a program name with args.
12555 set dummy $ac_prog; ac_word=$2
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557 $as_echo_n "checking for $ac_word... " >&6; }
12558 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12559 $as_echo_n "(cached) " >&6
12561 case $GTKDOC_REBASE in
12563 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12567 for as_dir in $PATH
12570 test -z "$as_dir" && as_dir=.
12571 for ac_exec_ext in '' $ac_executable_extensions; do
12572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12573 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12585 if test -n "$GTKDOC_REBASE"; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12587 $as_echo "$GTKDOC_REBASE" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12594 test -n "$GTKDOC_REBASE" && break
12596 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12598 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12599 set dummy gtkdoc-mkpdf; ac_word=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12601 $as_echo_n "checking for $ac_word... " >&6; }
12602 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12603 $as_echo_n "(cached) " >&6
12605 case $GTKDOC_MKPDF in
12607 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12611 for as_dir in $PATH
12614 test -z "$as_dir" && as_dir=.
12615 for ac_exec_ext in '' $ac_executable_extensions; do
12616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12617 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12629 if test -n "$GTKDOC_MKPDF"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12631 $as_echo "$GTKDOC_MKPDF" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12640 # Check whether --with-html-dir was given.
12641 if test "${with_html_dir+set}" = set; then :
12642 withval=$with_html_dir;
12644 with_html_dir='${datadir}/gtk-doc/html'
12647 HTML_DIR="$with_html_dir"
12650 # Check whether --enable-gtk-doc was given.
12651 if test "${enable_gtk_doc+set}" = set; then :
12652 enableval=$enable_gtk_doc;
12658 if test x$enable_gtk_doc = xyes; then
12659 if test -n "$PKG_CONFIG" && \
12660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.10\""; } >&5
12661 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.10") 2>&5
12663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12664 test $ac_status = 0; }; then
12667 as_fn_error $? "You need to have gtk-doc >= 1.10 installed to build $PACKAGE_NAME" "$LINENO" 5
12669 if test "x$PACKAGE_NAME" != "xglib"; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12673 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12675 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12676 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12677 elif test -n "$PKG_CONFIG"; then
12678 if test -n "$PKG_CONFIG" && \
12679 { { $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
12680 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683 test $ac_status = 0; }; then
12684 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12685 test "x$?" != "x0" && pkg_failed=yes
12692 if test -n "$GTKDOC_DEPS_LIBS"; then
12693 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12694 elif test -n "$PKG_CONFIG"; then
12695 if test -n "$PKG_CONFIG" && \
12696 { { $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
12697 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12700 test $ac_status = 0; }; then
12701 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12702 test "x$?" != "x0" && pkg_failed=yes
12712 if test $pkg_failed = yes; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12714 $as_echo "no" >&6; }
12716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12717 _pkg_short_errors_supported=yes
12719 _pkg_short_errors_supported=no
12721 if test $_pkg_short_errors_supported = yes; then
12722 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`
12724 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12726 # Put the nasty error message in config.log where it belongs
12727 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12729 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12731 $GTKDOC_DEPS_PKG_ERRORS
12733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12734 installed software in a non-standard prefix.
12736 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12737 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12738 See the pkg-config man page for more details." "$LINENO" 5
12739 elif test $pkg_failed = untried; then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12744 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12745 is in your PATH or set the PKG_CONFIG environment variable to the full
12746 path to pkg-config.
12748 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12749 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12750 See the pkg-config man page for more details.
12752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12753 See \`config.log' for more details" "$LINENO" 5; }
12755 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12756 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12758 $as_echo "yes" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12765 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12767 $as_echo "$enable_gtk_doc" >&6; }
12769 # Check whether --enable-gtk-doc-html was given.
12770 if test "${enable_gtk_doc_html+set}" = set; then :
12771 enableval=$enable_gtk_doc_html;
12773 enable_gtk_doc_html=yes
12776 # Check whether --enable-gtk-doc-pdf was given.
12777 if test "${enable_gtk_doc_pdf+set}" = set; then :
12778 enableval=$enable_gtk_doc_pdf;
12780 enable_gtk_doc_pdf=no
12784 if test -z "$GTKDOC_MKPDF"; then
12785 enable_gtk_doc_pdf=no
12789 if test x$enable_gtk_doc = xyes; then
12790 ENABLE_GTK_DOC_TRUE=
12791 ENABLE_GTK_DOC_FALSE='#'
12793 ENABLE_GTK_DOC_TRUE='#'
12794 ENABLE_GTK_DOC_FALSE=
12797 if test x$enable_gtk_doc_html = xyes; then
12798 GTK_DOC_BUILD_HTML_TRUE=
12799 GTK_DOC_BUILD_HTML_FALSE='#'
12801 GTK_DOC_BUILD_HTML_TRUE='#'
12802 GTK_DOC_BUILD_HTML_FALSE=
12805 if test x$enable_gtk_doc_pdf = xyes; then
12806 GTK_DOC_BUILD_PDF_TRUE=
12807 GTK_DOC_BUILD_PDF_FALSE='#'
12809 GTK_DOC_BUILD_PDF_TRUE='#'
12810 GTK_DOC_BUILD_PDF_FALSE=
12813 if test -n "$LIBTOOL"; then
12814 GTK_DOC_USE_LIBTOOL_TRUE=
12815 GTK_DOC_USE_LIBTOOL_FALSE='#'
12817 GTK_DOC_USE_LIBTOOL_TRUE='#'
12818 GTK_DOC_USE_LIBTOOL_FALSE=
12821 if test -n "$GTKDOC_REBASE"; then
12822 GTK_DOC_USE_REBASE_TRUE=
12823 GTK_DOC_USE_REBASE_FALSE='#'
12825 GTK_DOC_USE_REBASE_TRUE='#'
12826 GTK_DOC_USE_REBASE_FALSE=
12831 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"
12833 cat >confcache <<\_ACEOF
12834 # This file is a shell script that caches the results of configure
12835 # tests run on this system so they can be shared between configure
12836 # scripts and configure runs, see configure's option --config-cache.
12837 # It is not useful on other systems. If it contains results you don't
12838 # want to keep, you may remove or edit it.
12840 # config.status only pays attention to the cache file if you give it
12841 # the --recheck option to rerun configure.
12843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12845 # following values.
12849 # The following way of writing the cache mishandles newlines in values,
12850 # but we know of no workaround that is simple, portable, and efficient.
12851 # So, we kill variables containing newlines.
12852 # Ultrix sh set writes to stderr and can't be redirected directly,
12853 # and sets the high bit in the cache file unless we assign to the vars.
12855 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12856 eval ac_val=\$$ac_var
12860 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12864 _ | IFS | as_nl) ;; #(
12865 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12866 *) { eval $ac_var=; unset $ac_var;} ;;
12872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12873 *${as_nl}ac_space=\ *)
12874 # `set' does not quote correctly, so add quotes: double-quote
12875 # substitution turns \\\\ into \\, and sed turns \\ into \.
12878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12881 # `set' quotes correctly as required by POSIX, so do not add quotes.
12882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12896 if test -w "$cache_file"; then
12897 if test "x$cache_file" != "x/dev/null"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12899 $as_echo "$as_me: updating cache $cache_file" >&6;}
12900 if test ! -f "$cache_file" || test -h "$cache_file"; then
12901 cat confcache >"$cache_file"
12903 case $cache_file in #(
12905 mv -f confcache "$cache_file"$$ &&
12906 mv -f "$cache_file"$$ "$cache_file" ;; #(
12908 mv -f confcache "$cache_file" ;;
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12920 # Let make expand exec_prefix.
12921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12923 DEFS=-DHAVE_CONFIG_H
12928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12929 # 1. Remove the extension, and $U if already installed.
12930 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12931 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12933 # will be set to the directory where LIBOBJS objects are built.
12934 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12935 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12937 LIBOBJS=$ac_libobjs
12939 LTLIBOBJS=$ac_ltlibobjs
12942 if test -n "$EXEEXT"; then
12944 am__EXEEXT_FALSE='#'
12946 am__EXEEXT_TRUE='#'
12950 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12951 as_fn_error $? "conditional \"AMDEP\" was never defined.
12952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12955 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12958 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12959 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12962 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
12963 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
12964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12966 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12967 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12970 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12971 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12974 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12975 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12978 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12979 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12982 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12983 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12987 : "${CONFIG_STATUS=./config.status}"
12989 ac_clean_files_save=$ac_clean_files
12990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12996 # Generated by $as_me.
12997 # Run this file to recreate the current configuration.
12998 # Compiler output produced by configure, useful for debugging
12999 # configure, is in config.log if it exists.
13002 ac_cs_recheck=false
13005 SHELL=\${CONFIG_SHELL-$SHELL}
13008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13009 ## -------------------- ##
13010 ## M4sh Initialization. ##
13011 ## -------------------- ##
13013 # Be more Bourne compatible
13014 DUALCASE=1; export DUALCASE # for MKS sh
13015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13018 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13019 # is contrary to our usage. Disable this feature.
13020 alias -g '${1+"$@"}'='"$@"'
13021 setopt NO_GLOB_SUBST
13023 case `(set -o) 2>/dev/null` in #(
13035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13039 # Prefer a ksh shell builtin over an external printf program on Solaris,
13040 # but without wasting forks for bash or zsh.
13041 if test -z "$BASH_VERSION$ZSH_VERSION" \
13042 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13043 as_echo='print -r --'
13044 as_echo_n='print -rn --'
13045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13046 as_echo='printf %s\n'
13047 as_echo_n='printf %s'
13049 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13050 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13051 as_echo_n='/usr/ucb/echo -n'
13053 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13054 as_echo_n_body='eval
13058 expr "X$arg" : "X\\(.*\\)$as_nl";
13059 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13061 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13063 export as_echo_n_body
13064 as_echo_n='sh -c $as_echo_n_body as_echo'
13066 export as_echo_body
13067 as_echo='sh -c $as_echo_body as_echo'
13070 # The user is always right.
13071 if test "${PATH_SEPARATOR+set}" != set; then
13073 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13074 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13081 # We need space, tab and new line, in precisely that order. Quoting is
13082 # there to prevent editors from complaining about space-tab.
13083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13084 # splitting by setting IFS to empty value.)
13087 # Find who we are. Look in the path if we contain no directory separator.
13090 *[\\/]* ) as_myself=$0 ;;
13091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13092 for as_dir in $PATH
13095 test -z "$as_dir" && as_dir=.
13096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13102 # We did not find ourselves, most probably we were run as `sh COMMAND'
13103 # in which case we are not to be found in the path.
13104 if test "x$as_myself" = x; then
13107 if test ! -f "$as_myself"; then
13108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13112 # Unset variables that we do not need and which cause bugs (e.g. in
13113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13114 # suppresses any "Segmentation fault" message there. '((' could
13115 # trigger a bug in pdksh 5.2.14.
13116 for as_var in BASH_ENV ENV MAIL MAILPATH
13117 do eval test x\${$as_var+set} = xset \
13118 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13135 # ----------------------------------------
13136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13138 # script with STATUS, using 1 if that was 0.
13141 as_status=$1; test $as_status -eq 0 && as_status=1
13143 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13144 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13146 $as_echo "$as_me: error: $2" >&2
13147 as_fn_exit $as_status
13151 # as_fn_set_status STATUS
13152 # -----------------------
13153 # Set $? to STATUS, without forking.
13154 as_fn_set_status ()
13157 } # as_fn_set_status
13159 # as_fn_exit STATUS
13160 # -----------------
13161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13165 as_fn_set_status $1
13171 # Portably unset VAR.
13174 { eval $1=; unset $1;}
13176 as_unset=as_fn_unset
13177 # as_fn_append VAR VALUE
13178 # ----------------------
13179 # Append the text in VALUE to the end of the definition contained in VAR. Take
13180 # advantage of any shell optimizations that allow amortized linear growth over
13181 # repeated appends, instead of the typical quadratic growth present in naive
13183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13184 eval 'as_fn_append ()
13195 # as_fn_arith ARG...
13196 # ------------------
13197 # Perform arithmetic evaluation on the ARGs, and store the result in the
13198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13199 # must be portable across $(()) and expr.
13200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13201 eval 'as_fn_arith ()
13208 as_val=`expr "$@" || test $? -eq 1`
13213 if expr a : '\(a\)' >/dev/null 2>&1 &&
13214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13221 as_basename=basename
13226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13232 as_me=`$as_basename -- "$0" ||
13233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13234 X"$0" : 'X\(//\)$' \| \
13235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13237 sed '/^.*\/\([^/][^/]*\)\/*$/{
13251 # Avoid depending upon Character Ranges.
13252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13255 as_cr_digits='0123456789'
13256 as_cr_alnum=$as_cr_Letters$as_cr_digits
13258 ECHO_C= ECHO_N= ECHO_T=
13259 case `echo -n x` in #(((((
13261 case `echo 'xy\c'` in
13262 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13264 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13271 rm -f conf$$ conf$$.exe conf$$.file
13272 if test -d conf$$.dir; then
13273 rm -f conf$$.dir/conf$$.file
13276 mkdir conf$$.dir 2>/dev/null
13278 if (echo >conf$$.file) 2>/dev/null; then
13279 if ln -s conf$$.file conf$$ 2>/dev/null; then
13281 # ... but there are two gotchas:
13282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13284 # In both cases, we have to default to `cp -pR'.
13285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13287 elif ln conf$$.file conf$$ 2>/dev/null; then
13295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13296 rmdir conf$$.dir 2>/dev/null
13301 # Create "$as_dir" as a directory, including parents if necessary.
13306 -*) as_dir=./$as_dir;;
13308 test -d "$as_dir" || eval $as_mkdir_p || {
13312 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13313 *) as_qdir=$as_dir;;
13315 as_dirs="'$as_qdir' $as_dirs"
13316 as_dir=`$as_dirname -- "$as_dir" ||
13317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13318 X"$as_dir" : 'X\(//\)[^/]' \| \
13319 X"$as_dir" : 'X\(//\)$' \| \
13320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13321 $as_echo X"$as_dir" |
13322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13326 /^X\(\/\/\)[^/].*/{
13339 test -d "$as_dir" && break
13341 test -z "$as_dirs" || eval "mkdir $as_dirs"
13342 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13346 if mkdir -p . 2>/dev/null; then
13347 as_mkdir_p='mkdir -p "$as_dir"'
13349 test -d ./-p && rmdir ./-p
13354 # as_fn_executable_p FILE
13355 # -----------------------
13356 # Test if FILE is an executable regular file.
13357 as_fn_executable_p ()
13359 test -f "$1" && test -x "$1"
13360 } # as_fn_executable_p
13361 as_test_x='test -x'
13362 as_executable_p=as_fn_executable_p
13364 # Sed expression to map a string onto a valid CPP name.
13365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13367 # Sed expression to map a string onto a valid variable name.
13368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13372 ## ----------------------------------- ##
13373 ## Main body of $CONFIG_STATUS script. ##
13374 ## ----------------------------------- ##
13376 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13379 # Save the log message, to keep $0 and so on meaningful, and to
13380 # report actual input values of CONFIG_FILES etc. instead of their
13381 # values after options handling.
13383 This file was extended by gupnp-av $as_me 0.11.2, which was
13384 generated by GNU Autoconf 2.69. Invocation command line was
13386 CONFIG_FILES = $CONFIG_FILES
13387 CONFIG_HEADERS = $CONFIG_HEADERS
13388 CONFIG_LINKS = $CONFIG_LINKS
13389 CONFIG_COMMANDS = $CONFIG_COMMANDS
13392 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13397 case $ac_config_files in *"
13398 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13401 case $ac_config_headers in *"
13402 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13407 # Files that config.status was made for.
13408 config_files="$ac_config_files"
13409 config_headers="$ac_config_headers"
13410 config_commands="$ac_config_commands"
13414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13416 \`$as_me' instantiates files and other configuration actions
13417 from templates according to the current configuration. Unless the files
13418 and actions are specified as TAGs, all are instantiated by default.
13420 Usage: $0 [OPTION]... [TAG]...
13422 -h, --help print this help, then exit
13423 -V, --version print version number and configuration settings, then exit
13424 --config print configuration, then exit
13425 -q, --quiet, --silent
13426 do not print progress messages
13427 -d, --debug don't remove temporary files
13428 --recheck update $as_me by reconfiguring in the same conditions
13429 --file=FILE[:TEMPLATE]
13430 instantiate the configuration file FILE
13431 --header=FILE[:TEMPLATE]
13432 instantiate the configuration header FILE
13434 Configuration files:
13437 Configuration headers:
13440 Configuration commands:
13443 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
13444 gupnp-av home page: <http://www.gupnp.org/>."
13447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13448 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13450 gupnp-av config.status 0.11.2
13451 configured by $0, generated by GNU Autoconf 2.69,
13452 with options \\"\$ac_cs_config\\"
13454 Copyright (C) 2012 Free Software Foundation, Inc.
13455 This config.status script is free software; the Free Software Foundation
13456 gives unlimited permission to copy, distribute and modify it."
13463 test -n "\$AWK" || AWK=awk
13466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13467 # The default lists apply if the user does not specify any file.
13473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13478 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13490 # Handling of the options.
13491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13493 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13494 $as_echo "$ac_cs_version"; exit ;;
13495 --config | --confi | --conf | --con | --co | --c )
13496 $as_echo "$ac_cs_config"; exit ;;
13497 --debug | --debu | --deb | --de | --d | -d )
13499 --file | --fil | --fi | --f )
13502 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13503 '') as_fn_error $? "missing file argument" ;;
13505 as_fn_append CONFIG_FILES " '$ac_optarg'"
13506 ac_need_defaults=false;;
13507 --header | --heade | --head | --hea )
13510 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13512 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13513 ac_need_defaults=false;;
13515 # Conflict between --help and --header
13516 as_fn_error $? "ambiguous option: \`$1'
13517 Try \`$0 --help' for more information.";;
13518 --help | --hel | -h )
13519 $as_echo "$ac_cs_usage"; exit ;;
13520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13521 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13524 # This is an error.
13525 -*) as_fn_error $? "unrecognized option: \`$1'
13526 Try \`$0 --help' for more information." ;;
13528 *) as_fn_append ac_config_targets " $1"
13529 ac_need_defaults=false ;;
13535 ac_configure_extra_args=
13537 if $ac_cs_silent; then
13539 ac_configure_extra_args="$ac_configure_extra_args --silent"
13543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13544 if \$ac_cs_recheck; then
13545 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13547 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13548 CONFIG_SHELL='$SHELL'
13549 export CONFIG_SHELL
13554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13559 ## Running $as_me. ##
13565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13569 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13572 # The HP-UX ksh and POSIX shell print the target directory to stdout
13573 # if CDPATH is set.
13574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13576 sed_quote_subst='$sed_quote_subst'
13577 double_quote_subst='$double_quote_subst'
13578 delay_variable_subst='$delay_variable_subst'
13579 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13580 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13581 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13582 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13583 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13584 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13585 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13586 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13587 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13588 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13589 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13590 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13591 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13592 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13593 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13594 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13595 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13596 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13597 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13598 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13599 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13600 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13601 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13602 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13603 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13604 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13605 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13606 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13607 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13608 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13609 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13610 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13611 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13612 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13613 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13614 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13615 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13616 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13617 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13618 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13619 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13620 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13621 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13622 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13636 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"`'
13637 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13638 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13639 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13640 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13641 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13642 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13644 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13645 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13646 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13647 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13671 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13672 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13673 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13674 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13675 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13676 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13677 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13678 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13679 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13680 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13681 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13682 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13683 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13684 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13685 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13686 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13687 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13688 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13689 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13690 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13691 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13692 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13693 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13694 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13695 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13696 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13697 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13698 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13699 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13700 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13701 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13702 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13703 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13704 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13705 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13706 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13707 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13708 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13709 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13712 LTCFLAGS='$LTCFLAGS'
13713 compiler='$compiler_DEFAULT'
13715 # A function that is used when there is no print builtin or printf.
13716 func_fallback_echo ()
13718 eval 'cat <<_LTECHO_EOF
13723 # Quote evaled strings.
13740 deplibs_check_method \
13744 sharedlib_from_linklib_cmd \
13747 archiver_list_spec \
13753 lt_cv_sys_global_symbol_pipe \
13754 lt_cv_sys_global_symbol_to_cdecl \
13755 lt_cv_sys_global_symbol_to_c_name_address \
13756 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13757 nm_file_list_spec \
13758 lt_prog_compiler_no_builtin_flag \
13759 lt_prog_compiler_pic \
13760 lt_prog_compiler_wl \
13761 lt_prog_compiler_static \
13762 lt_cv_prog_compiler_c_o \
13771 export_dynamic_flag_spec \
13772 whole_archive_flag_spec \
13773 compiler_needs_object \
13775 allow_undefined_flag \
13776 no_undefined_flag \
13777 hardcode_libdir_flag_spec \
13778 hardcode_libdir_separator \
13782 variables_saved_for_relink \
13784 library_names_spec \
13786 install_override_mode \
13790 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13791 *[\\\\\\\`\\"\\\$]*)
13792 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13795 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13800 # Double-quote double-evaled strings.
13801 for var in reload_cmds \
13802 old_postinstall_cmds \
13803 old_postuninstall_cmds \
13805 extract_expsyms_cmds \
13806 old_archive_from_new_cmds \
13807 old_archive_from_expsyms_cmds \
13809 archive_expsym_cmds \
13811 module_expsym_cmds \
13812 export_symbols_cmds \
13816 postuninstall_cmds \
13818 sys_lib_search_path_spec \
13819 sys_lib_dlsearch_path_spec; do
13820 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13821 *[\\\\\\\`\\"\\\$]*)
13822 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13825 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13830 ac_aux_dir='$ac_aux_dir'
13831 xsi_shell='$xsi_shell'
13832 lt_shell_append='$lt_shell_append'
13834 # See if we are running on zsh, and set the options which allow our
13835 # commands through without removal of \ escapes INIT.
13836 if test -n "\${ZSH_VERSION+set}" ; then
13837 setopt NO_GLOB_SUBST
13843 TIMESTAMP='$TIMESTAMP'
13852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13854 # Handling of arguments.
13855 for ac_config_target in $ac_config_targets
13857 case $ac_config_target in
13858 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13859 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13860 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13861 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13862 "libgupnp-av/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-av/Makefile" ;;
13863 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13864 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
13865 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13866 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
13867 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13868 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
13869 "gupnp-av-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-av-1.0.pc" ;;
13870 "gupnp-av-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-av-1.0-uninstalled.pc" ;;
13872 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13877 # If the user did not use the arguments to specify the items to instantiate,
13878 # then the envvar interface is used. Set only those that are not.
13879 # We use the long form for the default assignment because of an extremely
13880 # bizarre bug on SunOS 4.1.3.
13881 if $ac_need_defaults; then
13882 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13883 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13884 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13887 # Have a temporary directory for convenience. Make it in the build tree
13888 # simply because there is no reason against having it here, and in addition,
13889 # creating and moving files from /tmp can sometimes cause problems.
13890 # Hook for its removal unless debugging.
13891 # Note that there is a small window in which the directory will not be cleaned:
13892 # after its creation but before its name has been assigned to `$tmp'.
13896 trap 'exit_status=$?
13897 : "${ac_tmp:=$tmp}"
13898 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13900 trap 'as_fn_exit 1' 1 2 13 15
13902 # Create a (secure) tmp directory for tmp files.
13905 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13909 tmp=./conf$$-$RANDOM
13910 (umask 077 && mkdir "$tmp")
13911 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13914 # Set up the scripts for CONFIG_FILES section.
13915 # No need to generate them if there are no CONFIG_FILES.
13916 # This happens for instance with `./config.status config.h'.
13917 if test -n "$CONFIG_FILES"; then
13920 ac_cr=`echo X | tr X '\015'`
13921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13922 # But we know of no other shell where ac_cr would be empty at this
13923 # point, so we can use a bashism as a fallback.
13924 if test "x$ac_cr" = x; then
13925 eval ac_cr=\$\'\\r\'
13927 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13931 ac_cs_awk_cr=$ac_cr
13934 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13939 echo "cat >conf$$subs.awk <<_ACEOF" &&
13940 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13942 } >conf$$subs.sh ||
13943 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13946 for ac_last_try in false false false false false :; do
13947 . ./conf$$subs.sh ||
13948 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13950 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13951 if test $ac_delim_n = $ac_delim_num; then
13953 elif $ac_last_try; then
13954 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13959 rm -f conf$$subs.sh
13961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13962 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13966 s/^/S["/; s/!.*/"]=/
13976 s/\(.\{148\}\)..*/\1/
13978 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13983 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13990 s/\(.\{148\}\)..*/\1/
13992 s/["\\]/\\&/g; s/^/"/; s/$/"/
13996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14001 ' <conf$$subs.awk | sed '
14006 ' >>$CONFIG_STATUS || ac_write_fail=1
14007 rm -f conf$$subs.awk
14008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14010 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14011 for (key in S) S_is_set[key] = 1
14017 nfields = split(line, field, "@")
14019 len = length(field[1])
14020 for (i = 2; i < nfields; i++) {
14022 keylen = length(key)
14023 if (S_is_set[key]) {
14025 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14026 len += length(value) + length(field[++i])
14037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14038 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14039 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14042 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14043 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14046 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14047 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14048 # trailing colons and then remove the whole line if VPATH becomes empty
14049 # (actually we leave an empty line to preserve line numbers).
14050 if test "x$srcdir" = x.; then
14051 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14070 fi # test -n "$CONFIG_FILES"
14072 # Set up the scripts for CONFIG_HEADERS section.
14073 # No need to generate them if there are no CONFIG_HEADERS.
14074 # This happens for instance with `./config.status Makefile'.
14075 if test -n "$CONFIG_HEADERS"; then
14076 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14080 # Transform confdefs.h into an awk script `defines.awk', embedded as
14081 # here-document in config.status, that substitutes the proper values into
14082 # config.h.in to produce config.h.
14084 # Create a delimiter string that does not exist in confdefs.h, to ease
14085 # handling of long lines.
14087 for ac_last_try in false false :; do
14088 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14089 if test -z "$ac_tt"; then
14091 elif $ac_last_try; then
14092 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14098 # For the awk script, D is an array of macro values keyed by name,
14099 # likewise P contains macro parameters if any. Preserve backslash
14100 # newline sequences.
14102 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14104 s/.\{148\}/&'"$ac_delim"'/g
14107 s/^[ ]*#[ ]*define[ ][ ]*/ /
14114 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14116 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14120 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14121 D["\1"]=" \3\\\\\\n"\\/p
14123 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14128 s/.\{148\}/&'"$ac_delim"'/g
14133 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14136 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14138 ' <confdefs.h | sed '
14139 s/'"$ac_delim"'/"\\\
14140 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14143 for (key in D) D_is_set[key] = 1
14146 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14148 split(line, arg, " ")
14149 if (arg[1] == "#") {
14153 defundef = substr(arg[1], 2)
14156 split(mac1, mac2, "(") #)
14158 prefix = substr(line, 1, index(line, defundef) - 1)
14159 if (D_is_set[macro]) {
14160 # Preserve the white space surrounding the "#".
14161 print prefix "define", macro P[macro] D[macro]
14164 # Replace #undef with comments. This is necessary, for example,
14165 # in the case of _POSIX_SOURCE, which is predefined and required
14166 # on some systems where configure will not decide to define it.
14167 if (defundef == "undef") {
14168 print "/*", prefix defundef, macro, "*/"
14176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14177 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14178 fi # test -n "$CONFIG_HEADERS"
14181 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14186 :[FHLC]) ac_mode=$ac_tag; continue;;
14188 case $ac_mode$ac_tag in
14190 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14191 :[FH]-) ac_tag=-:-;;
14192 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14209 -) ac_f="$ac_tmp/stdin";;
14210 *) # Look for the file first in the build tree, then in the source tree
14211 # (if the path is not absolute). The absolute path cannot be DOS-style,
14212 # because $ac_f cannot contain `:'.
14216 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14218 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14220 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14221 as_fn_append ac_file_inputs " '$ac_f'"
14224 # Let's still pretend it is `configure' which instantiates (i.e., don't
14225 # use $as_me), people would be surprised to read:
14226 # /* config.h. Generated by config.status. */
14227 configure_input='Generated from '`
14228 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14230 if test x"$ac_file" != x-; then
14231 configure_input="$ac_file. $configure_input"
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14233 $as_echo "$as_me: creating $ac_file" >&6;}
14235 # Neutralize special characters interpreted by sed in replacement strings.
14236 case $configure_input in #(
14237 *\&* | *\|* | *\\* )
14238 ac_sed_conf_input=`$as_echo "$configure_input" |
14239 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14240 *) ac_sed_conf_input=$configure_input;;
14244 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14250 ac_dir=`$as_dirname -- "$ac_file" ||
14251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X"$ac_file" : 'X\(//\)[^/]' \| \
14253 X"$ac_file" : 'X\(//\)$' \| \
14254 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14255 $as_echo X"$ac_file" |
14256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14260 /^X\(\/\/\)[^/].*/{
14273 as_dir="$ac_dir"; as_fn_mkdir_p
14277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14279 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14280 # A ".." for each directory in $ac_dir_suffix.
14281 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14282 case $ac_top_builddir_sub in
14283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14287 ac_abs_top_builddir=$ac_pwd
14288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14289 # for backward compatibility:
14290 ac_top_builddir=$ac_top_build_prefix
14293 .) # We are building in place.
14295 ac_top_srcdir=$ac_top_builddir_sub
14296 ac_abs_top_srcdir=$ac_pwd ;;
14297 [\\/]* | ?:[\\/]* ) # Absolute name.
14298 ac_srcdir=$srcdir$ac_dir_suffix;
14299 ac_top_srcdir=$srcdir
14300 ac_abs_top_srcdir=$srcdir ;;
14301 *) # Relative name.
14302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14303 ac_top_srcdir=$ac_top_build_prefix$srcdir
14304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14316 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14317 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14319 ac_MKDIR_P=$MKDIR_P
14321 [\\/$]* | ?:[\\/]* ) ;;
14322 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14327 # If the template does not know about datarootdir, expand it.
14328 # FIXME: This hack should be removed a few years after 2.60.
14329 ac_datarootdir_hack=; ac_datarootdir_seen=
14340 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14341 *datarootdir*) ac_datarootdir_seen=yes;;
14342 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14344 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14347 ac_datarootdir_hack='
14348 s&@datadir@&$datadir&g
14349 s&@docdir@&$docdir&g
14350 s&@infodir@&$infodir&g
14351 s&@localedir@&$localedir&g
14352 s&@mandir@&$mandir&g
14353 s&\\\${datarootdir}&$datarootdir&g' ;;
14357 # Neutralize VPATH when `$srcdir' = `.'.
14358 # Shell code in configure.ac might set extrasub.
14359 # FIXME: do we really want to maintain this feature?
14360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14361 ac_sed_extra="$ac_vpsub
14364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14367 s|@configure_input@|$ac_sed_conf_input|;t t
14368 s&@top_builddir@&$ac_top_builddir_sub&;t t
14369 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14370 s&@srcdir@&$ac_srcdir&;t t
14371 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14372 s&@top_srcdir@&$ac_top_srcdir&;t t
14373 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14374 s&@builddir@&$ac_builddir&;t t
14375 s&@abs_builddir@&$ac_abs_builddir&;t t
14376 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14377 s&@INSTALL@&$ac_INSTALL&;t t
14378 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14379 $ac_datarootdir_hack
14381 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14382 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14384 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14385 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14386 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14387 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14389 which seems to be undefined. Please make sure it is defined" >&5
14390 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14391 which seems to be undefined. Please make sure it is defined" >&2;}
14393 rm -f "$ac_tmp/stdin"
14395 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14396 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14398 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14404 if test x"$ac_file" != x-; then
14406 $as_echo "/* $configure_input */" \
14407 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14408 } >"$ac_tmp/config.h" \
14409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14410 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14412 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14415 mv "$ac_tmp/config.h" "$ac_file" \
14416 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14419 $as_echo "/* $configure_input */" \
14420 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14421 || as_fn_error $? "could not create -" "$LINENO" 5
14423 # Compute "$ac_file"'s index in $config_headers.
14426 for _am_header in $config_headers :; do
14427 case $_am_header in
14428 $_am_arg | $_am_arg:* )
14431 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14434 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14435 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14436 X"$_am_arg" : 'X\(//\)[^/]' \| \
14437 X"$_am_arg" : 'X\(//\)$' \| \
14438 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14439 $as_echo X"$_am_arg" |
14440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14444 /^X\(\/\/\)[^/].*/{
14456 s/.*/./; q'`/stamp-h$_am_stamp_count
14459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14460 $as_echo "$as_me: executing $ac_file commands" >&6;}
14465 case $ac_file$ac_mode in
14466 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14467 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14468 # are listed without --file. Let's play safe and only enable the eval
14469 # if we detect the quoting.
14470 case $CONFIG_FILES in
14471 *\'*) eval set x "$CONFIG_FILES" ;;
14472 *) set x $CONFIG_FILES ;;
14477 # Strip MF so we end up with the name of the file.
14478 mf=`echo "$mf" | sed -e 's/:.*$//'`
14479 # Check whether this is an Automake generated Makefile or not.
14480 # We used to match only the files named `Makefile.in', but
14481 # some people rename them; so instead we look at the file content.
14482 # Grep'ing the first line is not enough: some people post-process
14483 # each Makefile.in and add a new line on top of each file to say so.
14484 # Grep'ing the whole file is not good either: AIX grep has a line
14485 # limit of 2048, but all sed's we know have understand at least 4000.
14486 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14487 dirpart=`$as_dirname -- "$mf" ||
14488 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14489 X"$mf" : 'X\(//\)[^/]' \| \
14490 X"$mf" : 'X\(//\)$' \| \
14491 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14497 /^X\(\/\/\)[^/].*/{
14513 # Extract the definition of DEPDIR, am__include, and am__quote
14514 # from the Makefile without running `make'.
14515 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14516 test -z "$DEPDIR" && continue
14517 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14518 test -z "am__include" && continue
14519 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14520 # When using ansi2knr, U may be empty or an underscore; expand it
14521 U=`sed -n 's/^U = //p' < "$mf"`
14522 # Find all dependency output files, they are included files with
14523 # $(DEPDIR) in their names. We invoke sed twice because it is the
14524 # simplest approach to changing $(DEPDIR) to its actual value in the
14526 for file in `sed -n "
14527 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14528 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14529 # Make sure the directory exists.
14530 test -f "$dirpart/$file" && continue
14531 fdir=`$as_dirname -- "$file" ||
14532 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14533 X"$file" : 'X\(//\)[^/]' \| \
14534 X"$file" : 'X\(//\)$' \| \
14535 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14536 $as_echo X"$file" |
14537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14541 /^X\(\/\/\)[^/].*/{
14554 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14555 # echo "creating $dirpart/$file"
14556 echo '# dummy' > "$dirpart/$file"
14563 # See if we are running on zsh, and set the options which allow our
14564 # commands through without removal of \ escapes.
14565 if test -n "${ZSH_VERSION+set}" ; then
14566 setopt NO_GLOB_SUBST
14569 cfgfile="${ofile}T"
14570 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14573 cat <<_LT_EOF >> "$cfgfile"
14576 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14577 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14578 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14579 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14581 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14582 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14584 # Written by Gordon Matzigkeit, 1996
14586 # This file is part of GNU Libtool.
14588 # GNU Libtool is free software; you can redistribute it and/or
14589 # modify it under the terms of the GNU General Public License as
14590 # published by the Free Software Foundation; either version 2 of
14591 # the License, or (at your option) any later version.
14593 # As a special exception to the GNU General Public License,
14594 # if you distribute this file as part of a program or library that
14595 # is built using GNU Libtool, you may include this file under the
14596 # same distribution terms that you use for the rest of that program.
14598 # GNU Libtool is distributed in the hope that it will be useful,
14599 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14600 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14601 # GNU General Public License for more details.
14603 # You should have received a copy of the GNU General Public License
14604 # along with GNU Libtool; see the file COPYING. If not, a copy
14605 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14606 # obtained by writing to the Free Software Foundation, Inc.,
14607 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14610 # The names of the tagged configurations supported by this script.
14613 # ### BEGIN LIBTOOL CONFIG
14615 # Which release of libtool.m4 was used?
14616 macro_version=$macro_version
14617 macro_revision=$macro_revision
14619 # Assembler program.
14622 # DLL creation program.
14623 DLLTOOL=$lt_DLLTOOL
14625 # Object dumper program.
14626 OBJDUMP=$lt_OBJDUMP
14628 # Whether or not to build shared libraries.
14629 build_libtool_libs=$enable_shared
14631 # Whether or not to build static libraries.
14632 build_old_libs=$enable_static
14634 # What type of objects to build.
14637 # Whether or not to optimize for fast installation.
14638 fast_install=$enable_fast_install
14640 # Shell to use when invoking shell scripts.
14643 # An echo program that protects backslashes.
14646 # The PATH separator for the build system.
14647 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14650 host_alias=$host_alias
14654 # The build system.
14655 build_alias=$build_alias
14659 # A sed program that does not truncate output.
14662 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14663 Xsed="\$SED -e 1s/^X//"
14665 # A grep program that handles long lines.
14671 # A literal string matcher.
14674 # A BSD- or MS-compatible name lister.
14677 # Whether we need soft or hard links.
14680 # What is the maximum length of a command?
14681 max_cmd_len=$max_cmd_len
14683 # Object file suffix (normally "o").
14686 # Executable file suffix (normally "").
14689 # whether the shell understands "unset".
14692 # turn spaces into newlines.
14695 # turn newlines into spaces.
14698 # convert \$build file names to \$host format.
14699 to_host_file_cmd=$lt_cv_to_host_file_cmd
14701 # convert \$build files to toolchain format.
14702 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14704 # Method to check whether dependent libraries are shared objects.
14705 deplibs_check_method=$lt_deplibs_check_method
14707 # Command to use when deplibs_check_method = "file_magic".
14708 file_magic_cmd=$lt_file_magic_cmd
14710 # How to find potential files when deplibs_check_method = "file_magic".
14711 file_magic_glob=$lt_file_magic_glob
14713 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14714 want_nocaseglob=$lt_want_nocaseglob
14716 # Command to associate shared and link libraries.
14717 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14722 # Flags to create an archive.
14723 AR_FLAGS=$lt_AR_FLAGS
14725 # How to feed a file listing to the archiver.
14726 archiver_list_spec=$lt_archiver_list_spec
14728 # A symbol stripping program.
14731 # Commands used to install an old-style archive.
14733 old_postinstall_cmds=$lt_old_postinstall_cmds
14734 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14736 # Whether to use a lock for old archive extraction.
14737 lock_old_archive_extraction=$lock_old_archive_extraction
14742 # LTCC compiler flags.
14743 LTCFLAGS=$lt_CFLAGS
14745 # Take the output of nm and produce a listing of raw symbols and C names.
14746 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14748 # Transform the output of nm in a proper C declaration.
14749 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14751 # Transform the output of nm in a C name address pair.
14752 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14754 # Transform the output of nm in a C name address pair when lib prefix is needed.
14755 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14757 # Specify filename containing input files for \$NM.
14758 nm_file_list_spec=$lt_nm_file_list_spec
14760 # The root where to search for dependent libraries,and in which our libraries should be installed.
14761 lt_sysroot=$lt_sysroot
14763 # The name of the directory that contains temporary libtool files.
14766 # Used to examine libraries when file_magic_cmd begins with "file".
14767 MAGIC_CMD=$MAGIC_CMD
14769 # Must we lock files when doing compilation?
14770 need_locks=$lt_need_locks
14773 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14775 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14776 DSYMUTIL=$lt_DSYMUTIL
14778 # Tool to change global to local symbols on Mac OS X.
14781 # Tool to manipulate fat objects and archives on Mac OS X.
14784 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14787 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14788 OTOOL64=$lt_OTOOL64
14790 # Old archive suffix (normally "a").
14793 # Shared library suffix (normally ".so").
14794 shrext_cmds=$lt_shrext_cmds
14796 # The commands to extract the exported symbol list from a shared archive.
14797 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14799 # Variables whose values should be saved in libtool wrapper scripts and
14800 # restored at link time.
14801 variables_saved_for_relink=$lt_variables_saved_for_relink
14803 # Do we need the "lib" prefix for modules?
14804 need_lib_prefix=$need_lib_prefix
14806 # Do we need a version for libraries?
14807 need_version=$need_version
14809 # Library versioning type.
14810 version_type=$version_type
14812 # Shared library runtime path variable.
14813 runpath_var=$runpath_var
14815 # Shared library path variable.
14816 shlibpath_var=$shlibpath_var
14818 # Is shlibpath searched before the hard-coded library search path?
14819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14821 # Format of library name prefix.
14822 libname_spec=$lt_libname_spec
14824 # List of archive names. First name is the real one, the rest are links.
14825 # The last name is the one that the linker finds with -lNAME
14826 library_names_spec=$lt_library_names_spec
14828 # The coded name of the library, if different from the real name.
14829 soname_spec=$lt_soname_spec
14831 # Permission mode override for installation of shared libraries.
14832 install_override_mode=$lt_install_override_mode
14834 # Command to use after installation of a shared archive.
14835 postinstall_cmds=$lt_postinstall_cmds
14837 # Command to use after uninstallation of a shared archive.
14838 postuninstall_cmds=$lt_postuninstall_cmds
14840 # Commands used to finish a libtool library installation in a directory.
14841 finish_cmds=$lt_finish_cmds
14843 # As "finish_cmds", except a single script fragment to be evaled but
14845 finish_eval=$lt_finish_eval
14847 # Whether we should hardcode library paths into libraries.
14848 hardcode_into_libs=$hardcode_into_libs
14850 # Compile-time system search path for libraries.
14851 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14853 # Run-time system search path for libraries.
14854 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14856 # Whether dlopen is supported.
14857 dlopen_support=$enable_dlopen
14859 # Whether dlopen of programs is supported.
14860 dlopen_self=$enable_dlopen_self
14862 # Whether dlopen of statically linked programs is supported.
14863 dlopen_self_static=$enable_dlopen_self_static
14865 # Commands to strip libraries.
14866 old_striplib=$lt_old_striplib
14867 striplib=$lt_striplib
14870 # The linker used to build libraries.
14873 # How to create reloadable object files.
14874 reload_flag=$lt_reload_flag
14875 reload_cmds=$lt_reload_cmds
14877 # Commands used to build an old-style archive.
14878 old_archive_cmds=$lt_old_archive_cmds
14880 # A language specific compiler.
14883 # Is the compiler the GNU compiler?
14886 # Compiler flag to turn off builtin functions.
14887 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14889 # Additional compiler flags for building library objects.
14890 pic_flag=$lt_lt_prog_compiler_pic
14892 # How to pass a linker flag through the compiler.
14893 wl=$lt_lt_prog_compiler_wl
14895 # Compiler flag to prevent dynamic linking.
14896 link_static_flag=$lt_lt_prog_compiler_static
14898 # Does compiler simultaneously support -c and -o options?
14899 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14901 # Whether or not to add -lc for building shared libraries.
14902 build_libtool_need_lc=$archive_cmds_need_lc
14904 # Whether or not to disallow shared libs when runtime libs are static.
14905 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14907 # Compiler flag to allow reflexive dlopens.
14908 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14910 # Compiler flag to generate shared objects directly from archives.
14911 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14913 # Whether the compiler copes with passing no objects directly.
14914 compiler_needs_object=$lt_compiler_needs_object
14916 # Create an old-style archive from a shared archive.
14917 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14919 # Create a temporary old-style archive to link instead of a shared archive.
14920 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14922 # Commands used to build a shared archive.
14923 archive_cmds=$lt_archive_cmds
14924 archive_expsym_cmds=$lt_archive_expsym_cmds
14926 # Commands used to build a loadable module if different from building
14927 # a shared archive.
14928 module_cmds=$lt_module_cmds
14929 module_expsym_cmds=$lt_module_expsym_cmds
14931 # Whether we are building with GNU ld or not.
14932 with_gnu_ld=$lt_with_gnu_ld
14934 # Flag that allows shared libraries with undefined symbols to be built.
14935 allow_undefined_flag=$lt_allow_undefined_flag
14937 # Flag that enforces no undefined symbols.
14938 no_undefined_flag=$lt_no_undefined_flag
14940 # Flag to hardcode \$libdir into a binary during linking.
14941 # This must work even if \$libdir does not exist
14942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14944 # Whether we need a single "-rpath" flag with a separated argument.
14945 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14948 # DIR into the resulting binary.
14949 hardcode_direct=$hardcode_direct
14951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14952 # DIR into the resulting binary and the resulting library dependency is
14953 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14954 # library is relocated.
14955 hardcode_direct_absolute=$hardcode_direct_absolute
14957 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14958 # into the resulting binary.
14959 hardcode_minus_L=$hardcode_minus_L
14961 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14962 # into the resulting binary.
14963 hardcode_shlibpath_var=$hardcode_shlibpath_var
14965 # Set to "yes" if building a shared library automatically hardcodes DIR
14966 # into the library and all subsequent libraries and executables linked
14968 hardcode_automatic=$hardcode_automatic
14970 # Set to yes if linker adds runtime paths of dependent libraries
14971 # to runtime path list.
14972 inherit_rpath=$inherit_rpath
14974 # Whether libtool must link a program against all its dependency libraries.
14975 link_all_deplibs=$link_all_deplibs
14977 # Set to "yes" if exported symbols are required.
14978 always_export_symbols=$always_export_symbols
14980 # The commands to list exported symbols.
14981 export_symbols_cmds=$lt_export_symbols_cmds
14983 # Symbols that should not be listed in the preloaded symbols.
14984 exclude_expsyms=$lt_exclude_expsyms
14986 # Symbols that must always be exported.
14987 include_expsyms=$lt_include_expsyms
14989 # Commands necessary for linking programs (against libraries) with templates.
14990 prelink_cmds=$lt_prelink_cmds
14992 # Commands necessary for finishing linking programs.
14993 postlink_cmds=$lt_postlink_cmds
14995 # Specify filename containing input files.
14996 file_list_spec=$lt_file_list_spec
14998 # How to hardcode a shared library path into an executable.
14999 hardcode_action=$hardcode_action
15001 # ### END LIBTOOL CONFIG
15007 cat <<\_LT_EOF >> "$cfgfile"
15008 # AIX sometimes has problems with the GCC collect2 program. For some
15009 # reason, if we set the COLLECT_NAMES environment variable, the problems
15010 # vanish in a puff of smoke.
15011 if test "X${COLLECT_NAMES+set}" != Xset; then
15013 export COLLECT_NAMES
15020 ltmain="$ac_aux_dir/ltmain.sh"
15023 # We use sed instead of cat because bash on DJGPP gets confused if
15024 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15025 # text mode, it properly converts lines to CR/LF. This bash problem
15026 # is reportedly fixed, but why not run on old versions too?
15027 sed '$q' "$ltmain" >> "$cfgfile" \
15028 || (rm -f "$cfgfile"; exit 1)
15030 if test x"$xsi_shell" = xyes; then
15031 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15035 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15036 \ * ) func_dirname_result="${3}" ;;\
15038 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15039 && mv -f "$cfgfile.tmp" "$cfgfile" \
15040 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15041 test 0 -eq $? || _lt_function_replace_fail=:
15044 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15047 \ func_basename_result="${1##*/}"\
15048 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15049 && mv -f "$cfgfile.tmp" "$cfgfile" \
15050 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15051 test 0 -eq $? || _lt_function_replace_fail=:
15054 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15055 func_dirname_and_basename ()\
15058 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15059 \ * ) func_dirname_result="${3}" ;;\
15061 \ func_basename_result="${1##*/}"\
15062 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15063 && mv -f "$cfgfile.tmp" "$cfgfile" \
15064 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15065 test 0 -eq $? || _lt_function_replace_fail=:
15068 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15071 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15072 \ # positional parameters, so assign one to ordinary parameter first.\
15073 \ func_stripname_result=${3}\
15074 \ func_stripname_result=${func_stripname_result#"${1}"}\
15075 \ func_stripname_result=${func_stripname_result%"${2}"}\
15076 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15077 && mv -f "$cfgfile.tmp" "$cfgfile" \
15078 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15079 test 0 -eq $? || _lt_function_replace_fail=:
15082 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15083 func_split_long_opt ()\
15085 \ func_split_long_opt_name=${1%%=*}\
15086 \ func_split_long_opt_arg=${1#*=}\
15087 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15088 && mv -f "$cfgfile.tmp" "$cfgfile" \
15089 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15090 test 0 -eq $? || _lt_function_replace_fail=:
15093 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15094 func_split_short_opt ()\
15096 \ func_split_short_opt_arg=${1#??}\
15097 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15098 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15099 && mv -f "$cfgfile.tmp" "$cfgfile" \
15100 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15101 test 0 -eq $? || _lt_function_replace_fail=:
15104 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15108 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15109 \ *) func_lo2o_result=${1} ;;\
15111 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15112 && mv -f "$cfgfile.tmp" "$cfgfile" \
15113 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15114 test 0 -eq $? || _lt_function_replace_fail=:
15117 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15120 func_xform_result=${1%.*}.lo\
15121 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15122 && mv -f "$cfgfile.tmp" "$cfgfile" \
15123 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15124 test 0 -eq $? || _lt_function_replace_fail=:
15127 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15130 func_arith_result=$(( $* ))\
15131 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15132 && mv -f "$cfgfile.tmp" "$cfgfile" \
15133 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15134 test 0 -eq $? || _lt_function_replace_fail=:
15137 sed -e '/^func_len ()$/,/^} # func_len /c\
15140 func_len_result=${#1}\
15141 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15142 && mv -f "$cfgfile.tmp" "$cfgfile" \
15143 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15144 test 0 -eq $? || _lt_function_replace_fail=:
15148 if test x"$lt_shell_append" = xyes; then
15149 sed -e '/^func_append ()$/,/^} # func_append /c\
15152 eval "${1}+=\\${2}"\
15153 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15154 && mv -f "$cfgfile.tmp" "$cfgfile" \
15155 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15156 test 0 -eq $? || _lt_function_replace_fail=:
15159 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15160 func_append_quoted ()\
15162 \ func_quote_for_eval "${2}"\
15163 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15164 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15165 && mv -f "$cfgfile.tmp" "$cfgfile" \
15166 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15167 test 0 -eq $? || _lt_function_replace_fail=:
15170 # Save a `func_append' function call where possible by direct use of '+='
15171 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15172 && mv -f "$cfgfile.tmp" "$cfgfile" \
15173 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15174 test 0 -eq $? || _lt_function_replace_fail=:
15176 # Save a `func_append' function call even when '+=' is not available
15177 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15178 && mv -f "$cfgfile.tmp" "$cfgfile" \
15179 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15180 test 0 -eq $? || _lt_function_replace_fail=:
15183 if test x"$_lt_function_replace_fail" = x":"; then
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15185 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15189 mv -f "$cfgfile" "$ofile" ||
15190 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15201 ac_clean_files=$ac_clean_files_save
15203 test $ac_write_fail = 0 ||
15204 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15207 # configure is writing to config.log, and then calls config.status.
15208 # config.status does its own redirection, appending to config.log.
15209 # Unfortunately, on DOS this fails, as config.log is still kept open
15210 # by configure, so config.status won't be able to write to it; its
15211 # output is simply discarded. So we exec the FD to /dev/null,
15212 # effectively closing config.log, so it can be properly (re)opened and
15213 # appended to by config.status. When coming back to configure, we
15214 # need to make the FD available again.
15215 if test "$no_create" != yes; then
15217 ac_config_status_args=
15218 test "$silent" = yes &&
15219 ac_config_status_args="$ac_config_status_args --quiet"
15221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15224 # would make configure fail if this is the last instruction.
15225 $ac_cs_success || as_fn_exit 1
15227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}