2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp 0.20.5.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=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: http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=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.
653 PACKAGE_TARNAME='gupnp'
654 PACKAGE_VERSION='0.20.5'
655 PACKAGE_STRING='gupnp 0.20.5'
656 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp'
657 PACKAGE_URL='http://www.gupnp.org/'
659 ac_unique_file="libgupnp/gupnp.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
740 USE_NETWORK_MANAGER_FALSE
741 USE_NETWORK_MANAGER_TRUE
798 MAINTAINER_MODE_FALSE
808 INSTALL_STRIP_PROGRAM
862 program_transform_name
875 enable_option_checking
876 enable_maintainer_mode
878 enable_dependency_tracking
895 ac_precious_vars='build_alias
919 # Initialize some variables set by options.
921 ac_init_version=false
922 ac_unrecognized_opts=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
933 program_transform_name=s,x,x,
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir='${exec_prefix}/bin'
948 sbindir='${exec_prefix}/sbin'
949 libexecdir='${exec_prefix}/libexec'
950 datarootdir='${prefix}/share'
951 datadir='${datarootdir}'
952 sysconfdir='${prefix}/etc'
953 sharedstatedir='${prefix}/com'
954 localstatedir='${prefix}/var'
955 includedir='${prefix}/include'
956 oldincludedir='/usr/include'
957 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958 infodir='${datarootdir}/info'
963 libdir='${exec_prefix}/lib'
964 localedir='${datarootdir}/locale'
965 mandir='${datarootdir}/man'
971 # If the previous option needs an argument, assign it.
972 if test -n "$ac_prev"; then
973 eval $ac_prev=\$ac_option
979 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995 -build | --build | --buil | --bui | --bu)
996 ac_prev=build_alias ;;
997 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
998 build_alias=$ac_optarg ;;
1000 -cache-file | --cache-file | --cache-fil | --cache-fi \
1001 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002 ac_prev=cache_file ;;
1003 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005 cache_file=$ac_optarg ;;
1007 --config-cache | -C)
1008 cache_file=config.cache ;;
1010 -datadir | --datadir | --datadi | --datad)
1012 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1013 datadir=$ac_optarg ;;
1015 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016 | --dataroo | --dataro | --datar)
1017 ac_prev=datarootdir ;;
1018 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020 datarootdir=$ac_optarg ;;
1022 -disable-* | --disable-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid feature name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_$ac_useropt"
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval enable_$ac_useropt=no ;;
1038 -docdir | --docdir | --docdi | --doc | --do)
1040 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1041 docdir=$ac_optarg ;;
1043 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1046 dvidir=$ac_optarg ;;
1048 -enable-* | --enable-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid feature name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_$ac_useropt"
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1062 eval enable_$ac_useropt=\$ac_optarg ;;
1064 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066 | --exec | --exe | --ex)
1067 ac_prev=exec_prefix ;;
1068 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070 | --exec=* | --exe=* | --ex=*)
1071 exec_prefix=$ac_optarg ;;
1073 -gas | --gas | --ga | --g)
1074 # Obsolete; use --with-gas.
1077 -help | --help | --hel | --he | -h)
1078 ac_init_help=long ;;
1079 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080 ac_init_help=recursive ;;
1081 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082 ac_init_help=short ;;
1084 -host | --host | --hos | --ho)
1085 ac_prev=host_alias ;;
1086 -host=* | --host=* | --hos=* | --ho=*)
1087 host_alias=$ac_optarg ;;
1089 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 htmldir=$ac_optarg ;;
1095 -includedir | --includedir | --includedi | --included | --include \
1096 | --includ | --inclu | --incl | --inc)
1097 ac_prev=includedir ;;
1098 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099 | --includ=* | --inclu=* | --incl=* | --inc=*)
1100 includedir=$ac_optarg ;;
1102 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105 infodir=$ac_optarg ;;
1107 -libdir | --libdir | --libdi | --libd)
1109 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1110 libdir=$ac_optarg ;;
1112 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113 | --libexe | --libex | --libe)
1114 ac_prev=libexecdir ;;
1115 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116 | --libexe=* | --libex=* | --libe=*)
1117 libexecdir=$ac_optarg ;;
1119 -localedir | --localedir | --localedi | --localed | --locale)
1120 ac_prev=localedir ;;
1121 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122 localedir=$ac_optarg ;;
1124 -localstatedir | --localstatedir | --localstatedi | --localstated \
1125 | --localstate | --localstat | --localsta | --localst | --locals)
1126 ac_prev=localstatedir ;;
1127 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129 localstatedir=$ac_optarg ;;
1131 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134 mandir=$ac_optarg ;;
1136 -nfp | --nfp | --nf)
1137 # Obsolete; use --without-fp.
1140 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141 | --no-cr | --no-c | -n)
1144 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150 | --oldin | --oldi | --old | --ol | --o)
1151 ac_prev=oldincludedir ;;
1152 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155 oldincludedir=$ac_optarg ;;
1157 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160 prefix=$ac_optarg ;;
1162 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1163 | --program-pre | --program-pr | --program-p)
1164 ac_prev=program_prefix ;;
1165 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1166 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167 program_prefix=$ac_optarg ;;
1169 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1170 | --program-suf | --program-su | --program-s)
1171 ac_prev=program_suffix ;;
1172 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1173 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174 program_suffix=$ac_optarg ;;
1176 -program-transform-name | --program-transform-name \
1177 | --program-transform-nam | --program-transform-na \
1178 | --program-transform-n | --program-transform- \
1179 | --program-transform | --program-transfor \
1180 | --program-transfo | --program-transf \
1181 | --program-trans | --program-tran \
1182 | --progr-tra | --program-tr | --program-t)
1183 ac_prev=program_transform_name ;;
1184 -program-transform-name=* | --program-transform-name=* \
1185 | --program-transform-nam=* | --program-transform-na=* \
1186 | --program-transform-n=* | --program-transform-=* \
1187 | --program-transform=* | --program-transfor=* \
1188 | --program-transfo=* | --program-transf=* \
1189 | --program-trans=* | --program-tran=* \
1190 | --progr-tra=* | --program-tr=* | --program-t=*)
1191 program_transform_name=$ac_optarg ;;
1193 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196 pdfdir=$ac_optarg ;;
1198 -psdir | --psdir | --psdi | --psd | --ps)
1200 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1207 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 sbindir=$ac_optarg ;;
1213 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1214 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215 | --sharedst | --shareds | --shared | --share | --shar \
1217 ac_prev=sharedstatedir ;;
1218 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 sharedstatedir=$ac_optarg ;;
1224 -site | --site | --sit)
1226 -site=* | --site=* | --sit=*)
1229 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232 srcdir=$ac_optarg ;;
1234 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235 | --syscon | --sysco | --sysc | --sys | --sy)
1236 ac_prev=sysconfdir ;;
1237 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239 sysconfdir=$ac_optarg ;;
1241 -target | --target | --targe | --targ | --tar | --ta | --t)
1242 ac_prev=target_alias ;;
1243 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244 target_alias=$ac_optarg ;;
1246 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249 -version | --version | --versio | --versi | --vers | -V)
1250 ac_init_version=: ;;
1253 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 as_fn_error $? "invalid package name: $ac_useropt"
1257 ac_useropt_orig=$ac_useropt
1258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264 ac_unrecognized_sep=', ';;
1266 eval with_$ac_useropt=\$ac_optarg ;;
1268 -without-* | --without-*)
1269 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 as_fn_error $? "invalid package name: $ac_useropt"
1273 ac_useropt_orig=$ac_useropt
1274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep=', ';;
1282 eval with_$ac_useropt=no ;;
1285 # Obsolete; use --with-x.
1288 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289 | --x-incl | --x-inc | --x-in | --x-i)
1290 ac_prev=x_includes ;;
1291 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293 x_includes=$ac_optarg ;;
1295 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297 ac_prev=x_libraries ;;
1298 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300 x_libraries=$ac_optarg ;;
1302 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information"
1307 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308 # Reject names that are not valid shell variable names.
1309 case $ac_envvar in #(
1310 '' | [0-9]* | *[!_$as_cr_alnum]* )
1311 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1313 eval $ac_envvar=\$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1327 if test -n "$ac_prev"; then
1328 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329 as_fn_error $? "missing argument to $ac_option"
1332 if test -n "$ac_unrecognized_opts"; then
1333 case $enable_option_checking in
1335 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val=\$$ac_var
1347 # Remove trailing slashes.
1350 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$]* | ?:[\\/]* ) continue;;
1356 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x; then
1370 if test "x$build_alias" = x; then
1371 cross_compiling=maybe
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380 test "$silent" = yes && exec 6>/dev/null
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386 as_fn_error $? "working directory cannot be determined"
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 as_fn_error $? "pwd does not report name of working directory"
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$as_myself" : 'X\(//\)[^/]' \| \
1398 X"$as_myself" : 'X\(//\)$' \| \
1399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var in $ac_precious_vars; do
1444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_${ac_var}_value=\$${ac_var}
1446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures gupnp 0.20.5 to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking ...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1520 --build=BUILD configure for building on BUILD [guessed]
1521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1522 --target=TARGET configure for building compilers for TARGET [HOST]
1526 if test -n "$ac_init_help"; then
1527 case $ac_init_help in
1528 short | recursive ) echo "Configuration of gupnp 0.20.5:";;
1533 --disable-option-checking ignore unrecognized --enable/--with options
1534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1536 --disable-maintainer-mode disable make rules and dependencies not useful
1537 (and sometimes confusing) to the casual installer
1538 --enable-silent-rules less verbose build output (undo: `make V=1')
1539 --disable-silent-rules verbose build output (undo: `make V=0')
1540 --disable-dependency-tracking speeds up one-time build
1541 --enable-dependency-tracking do not reject slow dependency extractors
1542 --disable-largefile omit support for large files
1543 --enable-shared[=PKGS] build shared libraries [default=yes]
1544 --enable-static[=PKGS] build static libraries [default=yes]
1545 --enable-fast-install[=PKGS]
1546 optimize for fast installation [default=yes]
1547 --disable-libtool-lock avoid locking (might break parallel builds)
1548 --enable-debug enable debugging
1549 --enable-introspection=[no/auto/yes]
1550 Enable introspection for this build
1551 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1552 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1553 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1560 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1561 --with-sysroot=DIR Search for dependent libraries within DIR
1562 (or the compiler's sysroot if not specified).
1563 --with-context-manager=[network-manager/connman/unix/linux]
1564 Context Manager backend to use
1565 --with-html-dir=PATH path to installed docs
1567 Some influential environment variables:
1568 CC C compiler command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 nonstandard directory <lib dir>
1572 LIBS libraries to pass to the linker, e.g. -l<library>
1573 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574 you have headers in a nonstandard directory <include dir>
1576 PKG_CONFIG path to pkg-config utility
1578 directories to add to pkg-config's search path
1580 path overriding pkg-config's built-in search path
1582 C compiler flags for LIBGUPNP, overriding pkg-config
1584 linker flags for LIBGUPNP, overriding pkg-config
1586 C compiler flags for GTHREAD, overriding pkg-config
1588 linker flags for GTHREAD, overriding pkg-config
1589 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1590 GIO_LIBS linker flags for GIO, overriding pkg-config
1592 C compiler flags for CONNMAN, overriding pkg-config
1594 linker flags for CONNMAN, overriding pkg-config
1596 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1598 linker flags for GTKDOC_DEPS, overriding pkg-config
1600 Use these variables to override the choices made by `configure' or to help
1601 it to find libraries and programs with nonstandard names/locations.
1603 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp>.
1604 gupnp home page: <http://www.gupnp.org/>.
1609 if test "$ac_init_help" = "recursive"; then
1610 # If there are subdirs, report their specific --help.
1611 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1612 test -d "$ac_dir" ||
1613 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1621 # A ".." for each directory in $ac_dir_suffix.
1622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1623 case $ac_top_builddir_sub in
1624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628 ac_abs_top_builddir=$ac_pwd
1629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1630 # for backward compatibility:
1631 ac_top_builddir=$ac_top_build_prefix
1634 .) # We are building in place.
1636 ac_top_srcdir=$ac_top_builddir_sub
1637 ac_abs_top_srcdir=$ac_pwd ;;
1638 [\\/]* | ?:[\\/]* ) # Absolute name.
1639 ac_srcdir=$srcdir$ac_dir_suffix;
1640 ac_top_srcdir=$srcdir
1641 ac_abs_top_srcdir=$srcdir ;;
1643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1644 ac_top_srcdir=$ac_top_build_prefix$srcdir
1645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649 cd "$ac_dir" || { ac_status=$?; continue; }
1650 # Check for guested configure.
1651 if test -f "$ac_srcdir/configure.gnu"; then
1653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1654 elif test -f "$ac_srcdir/configure"; then
1656 $SHELL "$ac_srcdir/configure" --help=recursive
1658 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660 cd "$ac_pwd" || { ac_status=$?; break; }
1664 test -n "$ac_init_help" && exit $ac_status
1665 if $ac_init_version; then
1667 gupnp configure 0.20.5
1668 generated by GNU Autoconf 2.69
1670 Copyright (C) 2012 Free Software Foundation, Inc.
1671 This configure script is free software; the Free Software Foundation
1672 gives unlimited permission to copy, distribute and modify it.
1677 ## ------------------------ ##
1678 ## Autoconf initialization. ##
1679 ## ------------------------ ##
1681 # ac_fn_c_try_compile LINENO
1682 # --------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_c_try_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext
1688 if { { ac_try="$ac_compile"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_compile") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest.$ac_objext; then :
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1717 } # ac_fn_c_try_compile
1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 # -------------------------------------------------------
1721 # Tests whether HEADER exists and can be compiled using the include files in
1722 # INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1736 if ac_fn_c_try_compile "$LINENO"; then :
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } # ac_fn_c_check_header_compile
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } > conftest.i && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1787 # ac_fn_c_try_run LINENO
1788 # ----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1790 # that executables *can* be run.
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_link"
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>&5
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1805 { { case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_try") 2>&5
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; }; }; then :
1817 $as_echo "$as_me: program exited with status $ac_status" >&5
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=$ac_status
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 test -x conftest$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } # ac_fn_c_try_link
1875 # ac_fn_c_check_func LINENO FUNC VAR
1876 # ----------------------------------
1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1878 ac_fn_c_check_func ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1890 #define $2 innocuous_$2
1892 /* System header to define __stub macros and hopefully few prototypes,
1893 which can conflict with char $2 (); below.
1894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895 <limits.h> exists even on freestanding compilers. */
1898 # include <limits.h>
1900 # include <assert.h>
1905 /* Override any GCC internal prototype to avoid an error.
1906 Use char because int might match the return type of a GCC
1907 builtin and then its argument prototype would still apply. */
1912 /* The GNU C library defines this for functions which it implements
1913 to always fail with ENOSYS. Some functions are actually named
1914 something starting with __ and the normal name is an alias. */
1915 #if defined __stub_$2 || defined __stub___$2
1927 if ac_fn_c_try_link "$LINENO"; then :
1932 rm -f core conftest.err conftest.$ac_objext \
1933 conftest$ac_exeext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_func
1941 cat >config.log <<_ACEOF
1942 This file contains any messages produced by compilers while
1943 running configure, to aid debugging if configure makes a mistake.
1945 It was created by gupnp $as_me 0.20.5, which was
1946 generated by GNU Autoconf 2.69. Invocation command line was
1958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 $as_echo "PATH: $as_dir"
1998 # Keep a trace of the command line.
1999 # Strip out --no-create and --no-recursion so they do not pile up.
2000 # Strip out --silent because we don't want to record it for future runs.
2001 # Also quote any args containing shell meta-characters.
2002 # Make two passes to allow for proper duplicate-argument suppression.
2006 ac_must_keep_next=false
2012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2014 | -silent | --silent | --silen | --sile | --sil)
2017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2022 as_fn_append ac_configure_args1 " '$ac_arg'"
2023 if test $ac_must_keep_next = true; then
2024 ac_must_keep_next=false # Got value, back to normal.
2027 *=* | --config-cache | -C | -disable-* | --disable-* \
2028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2030 | -with-* | --with-* | -without-* | --without-* | --x)
2031 case "$ac_configure_args0 " in
2032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035 -* ) ac_must_keep_next=true ;;
2038 as_fn_append ac_configure_args " '$ac_arg'"
2043 { ac_configure_args0=; unset ac_configure_args0;}
2044 { ac_configure_args1=; unset ac_configure_args1;}
2046 # When interrupted or exit'd, cleanup temporary files, and complete
2047 # config.log. We remove comments because anyway the quotes in there
2048 # would cause problems or look ugly.
2049 # WARNING: Use '\'' to represent an apostrophe within the trap.
2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2051 trap 'exit_status=$?
2052 # Save into config.log some information that might help in debugging.
2056 $as_echo "## ---------------- ##
2057 ## Cache variables. ##
2058 ## ---------------- ##"
2060 # The following way of writing the cache mishandles newlines in values,
2062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2063 eval ac_val=\$$ac_var
2067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071 _ | IFS | as_nl) ;; #(
2072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2073 *) { eval $ac_var=; unset $ac_var;} ;;
2078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2079 *${as_nl}ac_space=\ *)
2081 "s/'\''/'\''\\\\'\'''\''/g;
2082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092 $as_echo "## ----------------- ##
2093 ## Output variables. ##
2094 ## ----------------- ##"
2096 for ac_var in $ac_subst_vars
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -n "$ac_subst_files"; then
2107 $as_echo "## ------------------- ##
2108 ## File substitutions. ##
2109 ## ------------------- ##"
2111 for ac_var in $ac_subst_files
2113 eval ac_val=\$$ac_var
2115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -s confdefs.h; then
2123 $as_echo "## ----------- ##
2130 test "$ac_signal" != 0 &&
2131 $as_echo "$as_me: caught signal $ac_signal"
2132 $as_echo "$as_me: exit $exit_status"
2134 rm -f core *.core core.conftest.* &&
2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138 for ac_signal in 1 2 13 15; do
2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2144 rm -f -r conftest* confdefs.h
2146 $as_echo "/* confdefs.h */" > confdefs.h
2148 # Predefined preprocessor variables.
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_URL "$PACKAGE_URL"
2175 # Let the site file select an alternate cache file if it wants to.
2176 # Prefer an explicitly selected file to automatically selected ones.
2179 if test -n "$CONFIG_SITE"; then
2180 # We do not want a PATH search for config.site.
2181 case $CONFIG_SITE in #((
2182 -*) ac_site_file1=./$CONFIG_SITE;;
2183 */*) ac_site_file1=$CONFIG_SITE;;
2184 *) ac_site_file1=./$CONFIG_SITE;;
2186 elif test "x$prefix" != xNONE; then
2187 ac_site_file1=$prefix/share/config.site
2188 ac_site_file2=$prefix/etc/config.site
2190 ac_site_file1=$ac_default_prefix/share/config.site
2191 ac_site_file2=$ac_default_prefix/etc/config.site
2193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2195 test "x$ac_site_file" = xNONE && continue
2196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2199 sed 's/^/| /' "$ac_site_file" >&5
2201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 as_fn_error $? "failed to load site script $ac_site_file
2204 See \`config.log' for more details" "$LINENO" 5; }
2208 if test -r "$cache_file"; then
2209 # Some versions of bash will fail to source /dev/null (special files
2210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2213 $as_echo "$as_me: loading cache $cache_file" >&6;}
2215 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2216 *) . "./$cache_file";;
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2221 $as_echo "$as_me: creating cache $cache_file" >&6;}
2225 as_fn_append ac_header_list " stdlib.h"
2226 as_fn_append ac_header_list " unistd.h"
2227 as_fn_append ac_header_list " sys/param.h"
2228 # Check that the precious variables saved in the cache have kept the same
2230 ac_cache_corrupted=false
2231 for ac_var in $ac_precious_vars; do
2232 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2233 eval ac_new_set=\$ac_env_${ac_var}_set
2234 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2235 eval ac_new_val=\$ac_env_${ac_var}_value
2236 case $ac_old_set,$ac_new_set in
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2240 ac_cache_corrupted=: ;;
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2244 ac_cache_corrupted=: ;;
2247 if test "x$ac_old_val" != "x$ac_new_val"; then
2248 # differences in whitespace do not lead to failure.
2249 ac_old_val_w=`echo x $ac_old_val`
2250 ac_new_val_w=`echo x $ac_new_val`
2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2254 ac_cache_corrupted=:
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2258 eval $ac_var=\$ac_old_val
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2266 # Pass precious variables to config.status.
2267 if test "$ac_new_set" = set; then
2269 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2270 *) ac_arg=$ac_var=$ac_new_val ;;
2272 case " $ac_configure_args " in
2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2274 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2278 if $ac_cache_corrupted; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285 ## -------------------- ##
2286 ## Main body of script. ##
2287 ## -------------------- ##
2290 ac_cpp='$CPP $CPPFLAGS'
2291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2297 ac_config_headers="$ac_config_headers config.h"
2302 for ac_dir in build-aux "$srcdir"/build-aux; do
2303 if test -f "$ac_dir/install-sh"; then
2305 ac_install_sh="$ac_aux_dir/install-sh -c"
2307 elif test -f "$ac_dir/install.sh"; then
2309 ac_install_sh="$ac_aux_dir/install.sh -c"
2311 elif test -f "$ac_dir/shtool"; then
2313 ac_install_sh="$ac_aux_dir/shtool install -c"
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 # Make sure we can run config.sub.
2332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2333 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2336 $as_echo_n "checking build system type... " >&6; }
2337 if ${ac_cv_build+:} false; then :
2338 $as_echo_n "(cached) " >&6
2340 ac_build_alias=$build_alias
2341 test "x$ac_build_alias" = x &&
2342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2343 test "x$ac_build_alias" = x &&
2344 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2350 $as_echo "$ac_cv_build" >&6; }
2351 case $ac_cv_build in
2353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2356 ac_save_IFS=$IFS; IFS='-'
2362 # Remember, the first character of IFS is used to create $*,
2363 # except with old shells:
2366 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2370 $as_echo_n "checking host system type... " >&6; }
2371 if ${ac_cv_host+:} false; then :
2372 $as_echo_n "(cached) " >&6
2374 if test "x$host_alias" = x; then
2375 ac_cv_host=$ac_cv_build
2377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2383 $as_echo "$ac_cv_host" >&6; }
2386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2389 ac_save_IFS=$IFS; IFS='-'
2395 # Remember, the first character of IFS is used to create $*,
2396 # except with old shells:
2399 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2403 $as_echo_n "checking target system type... " >&6; }
2404 if ${ac_cv_target+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 if test "x$target_alias" = x; then
2408 ac_cv_target=$ac_cv_host
2410 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2411 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2416 $as_echo "$ac_cv_target" >&6; }
2417 case $ac_cv_target in
2419 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2421 target=$ac_cv_target
2422 ac_save_IFS=$IFS; IFS='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2435 # The aliases save the names the user supplied, while $host etc.
2436 # will get canonicalized.
2437 test -n "$target_alias" &&
2438 test "$program_prefix$program_suffix$program_transform_name" = \
2440 program_prefix=${target_alias}-
2442 am__api_version='1.11'
2444 # Find a good install program. We prefer a C program (faster),
2445 # so one script is as good as another. But avoid the broken or
2446 # incompatible versions:
2447 # SysV /etc/install, /usr/sbin/install
2448 # SunOS /usr/etc/install
2449 # IRIX /sbin/install
2451 # AmigaOS /C/install, which installs bootblocks on floppy discs
2452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455 # OS/2's system install, which has a completely different semantic
2456 # ./install, which can be erroneously created by make from ./install.sh.
2457 # Reject install programs that cannot install multiple files.
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2459 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2460 if test -z "$INSTALL"; then
2461 if ${ac_cv_path_install+:} false; then :
2462 $as_echo_n "(cached) " >&6
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 # Account for people who put trailing slashes in PATH elements.
2470 case $as_dir/ in #((
2471 ./ | .// | /[cC]/* | \
2472 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2473 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2476 # OSF1 and SCO ODT 3.0 have their own names for install.
2477 # Don't use installbsd from OSF since it installs stuff as root
2479 for ac_prog in ginstall scoinst install; do
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2482 if test $ac_prog = install &&
2483 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2484 # AIX install. It has an incompatible calling convention.
2486 elif test $ac_prog = install &&
2487 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # program-specific install script used by HP pwplus--don't use.
2491 rm -rf conftest.one conftest.two conftest.dir
2492 echo one > conftest.one
2493 echo two > conftest.two
2495 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2496 test -s conftest.one && test -s conftest.two &&
2497 test -s conftest.dir/conftest.one &&
2498 test -s conftest.dir/conftest.two
2500 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2513 rm -rf conftest.one conftest.two conftest.dir
2516 if test "${ac_cv_path_install+set}" = set; then
2517 INSTALL=$ac_cv_path_install
2519 # As a last resort, use the slow shell script. Don't cache a
2520 # value for INSTALL within a source directory, because that will
2521 # break other packages using the cache if that directory is
2522 # removed, or if the value is a relative name.
2523 INSTALL=$ac_install_sh
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2527 $as_echo "$INSTALL" >&6; }
2529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2530 # It thinks the first close brace ends the variable substitution.
2531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2535 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2538 $as_echo_n "checking whether build environment is sane... " >&6; }
2541 echo timestamp > conftest.file
2542 # Reject unsafe characters in $srcdir or the absolute working directory
2543 # name. Accept space and tab only in the latter.
2547 *[\\\"\#\$\&\'\`$am_lf]*)
2548 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2551 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2552 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2555 # Do `set' in a subshell so we don't clobber the current shell's
2556 # arguments. Must try -L first in case configure is actually a
2557 # symlink; some systems play weird games with the mod time of symlinks
2558 # (eg FreeBSD returns the mod time of the symlink's containing
2561 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2562 if test "$*" = "X"; then
2564 set X `ls -t "$srcdir/configure" conftest.file`
2567 if test "$*" != "X $srcdir/configure conftest.file" \
2568 && test "$*" != "X conftest.file $srcdir/configure"; then
2570 # If neither matched, then we have a broken ls. This can happen
2571 # if, for instance, CONFIG_SHELL is bash and it inherits a
2572 # broken ls alias from the environment. This has actually
2573 # happened. Such a system could not be considered "sane".
2574 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2575 alias in your environment" "$LINENO" 5
2578 test "$2" = conftest.file
2584 as_fn_error $? "newly created file is older than distributed files!
2585 Check your system clock" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2588 $as_echo "yes" >&6; }
2589 test "$program_prefix" != NONE &&
2590 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2591 # Use a double $ so make ignores it.
2592 test "$program_suffix" != NONE &&
2593 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2594 # Double any \ or $.
2595 # By default was `s,x,x', remove it if useless.
2596 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2597 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2599 # expand $ac_aux_dir to an absolute path
2600 am_aux_dir=`cd $ac_aux_dir && pwd`
2602 if test x"${MISSING+set}" != xset; then
2605 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2607 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2610 # Use eval to expand $SHELL
2611 if eval "$MISSING --run true"; then
2612 am_missing_run="$MISSING --run "
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2616 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2619 if test x"${install_sh}" != xset; then
2622 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2624 install_sh="\${SHELL} $am_aux_dir/install-sh"
2628 # Installed binaries are usually stripped using `strip' when the user
2629 # run `make install-strip'. However `strip' might not be the right
2630 # tool to use in cross-compilation environments, therefore Automake
2631 # will honor the `STRIP' environment variable to overrule this program.
2632 if test "$cross_compiling" != no; then
2633 if test -n "$ac_tool_prefix"; then
2634 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2635 set dummy ${ac_tool_prefix}strip; ac_word=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if ${ac_cv_prog_STRIP+:} false; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$STRIP"; then
2642 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 STRIP=$ac_cv_prog_STRIP
2662 if test -n "$STRIP"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2664 $as_echo "$STRIP" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2672 if test -z "$ac_cv_prog_STRIP"; then
2674 # Extract the first word of "strip", so it can be a program name with args.
2675 set dummy strip; ac_word=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$ac_ct_STRIP"; then
2682 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_ac_ct_STRIP="strip"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2702 if test -n "$ac_ct_STRIP"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2704 $as_echo "$ac_ct_STRIP" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2710 if test "x$ac_ct_STRIP" = x; then
2713 case $cross_compiling:$ac_tool_warned in
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2717 ac_tool_warned=yes ;;
2722 STRIP="$ac_cv_prog_STRIP"
2726 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2729 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2730 if test -z "$MKDIR_P"; then
2731 if ${ac_cv_path_mkdir+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2738 test -z "$as_dir" && as_dir=.
2739 for ac_prog in mkdir gmkdir; do
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2742 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2743 'mkdir (GNU coreutils) '* | \
2744 'mkdir (coreutils) '* | \
2745 'mkdir (fileutils) '4.1*)
2746 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2756 test -d ./--version && rmdir ./--version
2757 if test "${ac_cv_path_mkdir+set}" = set; then
2758 MKDIR_P="$ac_cv_path_mkdir -p"
2760 # As a last resort, use the slow shell script. Don't cache a
2761 # value for MKDIR_P within a source directory, because that will
2762 # break other packages using the cache if that directory is
2763 # removed, or if the value is a relative name.
2764 MKDIR_P="$ac_install_sh -d"
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2768 $as_echo "$MKDIR_P" >&6; }
2772 [\\/$]* | ?:[\\/]*) ;;
2773 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2776 for ac_prog in gawk mawk nawk awk
2778 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_AWK+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$AWK"; then
2786 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_AWK="$ac_prog"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 if test -n "$AWK"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2808 $as_echo "$AWK" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2815 test -n "$AWK" && break
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2819 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2821 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2822 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2823 $as_echo_n "(cached) " >&6
2825 cat >conftest.make <<\_ACEOF
2828 @echo '@@@%%%=$(MAKE)=@@@%%%'
2830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2833 eval ac_cv_prog_make_${ac_make}_set=yes;;
2835 eval ac_cv_prog_make_${ac_make}_set=no;;
2839 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2841 $as_echo "yes" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2846 SET_MAKE="MAKE=${MAKE-make}"
2849 rm -rf .tst 2>/dev/null
2850 mkdir .tst 2>/dev/null
2851 if test -d .tst; then
2856 rmdir .tst 2>/dev/null
2858 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2859 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2860 # is not polluted with repeated "-I."
2861 am__isrc=' -I$(srcdir)'
2862 # test to see if srcdir already configured
2863 if test -f $srcdir/config.status; then
2864 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2868 # test whether we have cygpath
2869 if test -z "$CYGPATH_W"; then
2870 if (cygpath --version) >/dev/null 2>/dev/null; then
2871 CYGPATH_W='cygpath -w'
2878 # Define the identity of the package.
2883 cat >>confdefs.h <<_ACEOF
2884 #define PACKAGE "$PACKAGE"
2888 cat >>confdefs.h <<_ACEOF
2889 #define VERSION "$VERSION"
2892 # Some tools Automake needs.
2894 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2897 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2900 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2903 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2906 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2908 # We need awk for the "check" target. The system "awk" is bad on
2910 # Always define AMTAR for backward compatibility. Yes, it's still used
2911 # in the wild :-( We should find a proper way to deprecate it ...
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2916 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2917 # Loop over all known methods to create a tar archive until one works.
2918 _am_tools='gnutar plaintar pax cpio none'
2919 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2920 # Do not fold the above two line into one, because Tru64 sh and
2921 # Solaris sh will not grok spaces in the rhs of `-'.
2922 for _am_tool in $_am_tools
2926 for _am_tar in tar gnutar gtar;
2928 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2929 ($_am_tar --version) >&5 2>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && break
2934 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2935 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2936 am__untar="$_am_tar -xf -"
2939 # Must skip GNU tar: if it does not support --format= it doesn't create
2940 # ustar tarball either.
2941 (tar --version) >/dev/null 2>&1 && continue
2942 am__tar='tar chf - "$$tardir"'
2943 am__tar_='tar chf - "$tardir"'
2944 am__untar='tar xf -'
2947 am__tar='pax -L -x ustar -w "$$tardir"'
2948 am__tar_='pax -L -x ustar -w "$tardir"'
2952 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2953 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2954 am__untar='cpio -i -H ustar -d'
2963 # If the value was cached, stop now. We just wanted to have am__tar
2964 # and am__untar set.
2965 test -n "${am_cv_prog_tar_ustar}" && break
2967 # tar/untar a dummy directory, and stop if the command works
2970 echo GrepMe > conftest.dir/file
2971 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2972 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }
2977 if test -s conftest.tar; then
2978 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2979 ($am__untar <conftest.tar) >&5 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }
2983 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2988 if ${am_cv_prog_tar_ustar+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 am_cv_prog_tar_ustar=$_am_tool
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2995 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3003 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3004 # Check whether --enable-maintainer-mode was given.
3005 if test "${enable_maintainer_mode+set}" = set; then :
3006 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3008 USE_MAINTAINER_MODE=yes
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3012 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3013 if test $USE_MAINTAINER_MODE = yes; then
3014 MAINTAINER_MODE_TRUE=
3015 MAINTAINER_MODE_FALSE='#'
3017 MAINTAINER_MODE_TRUE='#'
3018 MAINTAINER_MODE_FALSE=
3021 MAINT=$MAINTAINER_MODE_TRUE
3025 # Check whether --enable-silent-rules was given.
3026 if test "${enable_silent_rules+set}" = set; then :
3027 enableval=$enable_silent_rules;
3030 case $enable_silent_rules in
3031 yes) AM_DEFAULT_VERBOSITY=0;;
3032 no) AM_DEFAULT_VERBOSITY=1;;
3033 *) AM_DEFAULT_VERBOSITY=0;;
3035 am_make=${MAKE-make}
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3037 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3038 if ${am_cv_make_support_nested_variables+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 if $as_echo 'TRUE=$(BAR$(V))
3047 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3048 am_cv_make_support_nested_variables=yes
3050 am_cv_make_support_nested_variables=no
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3054 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3055 if test $am_cv_make_support_nested_variables = yes; then
3057 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3059 AM_V=$AM_DEFAULT_VERBOSITY
3060 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3065 # Check for programs
3067 ac_cpp='$CPP $CPPFLAGS'
3068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3071 if test -n "$ac_tool_prefix"; then
3072 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_CC+:} false; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC="$CC" # Let the user override the test.
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 if test -n "$CC"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3102 $as_echo "$CC" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3110 if test -z "$ac_cv_prog_CC"; then
3112 # Extract the first word of "gcc", so it can be a program name with args.
3113 set dummy gcc; ac_word=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$ac_ct_CC"; then
3120 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
3128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_ac_ct_CC="gcc"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3140 if test -n "$ac_ct_CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3142 $as_echo "$ac_ct_CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3148 if test "x$ac_ct_CC" = x; then
3151 case $cross_compiling:$ac_tool_warned in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned=yes ;;
3163 if test -z "$CC"; then
3164 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3166 set dummy ${ac_tool_prefix}cc; ac_word=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_CC+:} false; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$CC"; then
3173 ac_cv_prog_CC="$CC" # Let the user override the test.
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_CC="${ac_tool_prefix}cc"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 if test -n "$CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3195 $as_echo "$CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3204 if test -z "$CC"; then
3205 # Extract the first word of "cc", so it can be a program name with args.
3206 set dummy cc; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_CC+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$CC"; then
3213 ac_cv_prog_CC="$CC" # Let the user override the test.
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3223 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3224 ac_prog_rejected=yes
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 if test $ac_prog_rejected = yes; then
3236 # We found a bogon in the path, so make sure we never use it.
3237 set dummy $ac_cv_prog_CC
3239 if test $# != 0; then
3240 # We chose a different compiler from the bogus one.
3241 # However, it has the same basename, so the bogon will be chosen
3242 # first if we set CC to just the basename; use the full file name.
3244 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3250 if test -n "$CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252 $as_echo "$CC" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3260 if test -z "$CC"; then
3261 if test -n "$ac_tool_prefix"; then
3262 for ac_prog in cl.exe
3264 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_CC+:} false; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$CC"; then
3272 ac_cv_prog_CC="$CC" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294 $as_echo "$CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$CC" && break
3304 if test -z "$CC"; then
3306 for ac_prog in cl.exe
3308 # Extract the first word of "$ac_prog", so it can be a program name with args.
3309 set dummy $ac_prog; ac_word=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$ac_ct_CC"; then
3316 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir=.
3323 for ac_exec_ext in '' $ac_executable_extensions; do
3324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325 ac_cv_prog_ac_ct_CC="$ac_prog"
3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3336 if test -n "$ac_ct_CC"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3338 $as_echo "$ac_ct_CC" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3345 test -n "$ac_ct_CC" && break
3348 if test "x$ac_ct_CC" = x; then
3351 case $cross_compiling:$ac_tool_warned in
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3355 ac_tool_warned=yes ;;
3364 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error $? "no acceptable C compiler found in \$PATH
3367 See \`config.log' for more details" "$LINENO" 5; }
3369 # Provide some information about the compiler.
3370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3373 for ac_option in --version -v -V -qversion; do
3374 { { ac_try="$ac_compiler $ac_option >&5"
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3383 if test -s conftest.err; then
3385 ... rest of stderr output deleted ...
3386 10q' conftest.err >conftest.er1
3387 cat conftest.er1 >&5
3389 rm -f conftest.er1 conftest.err
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 ac_clean_files_save=$ac_clean_files
3406 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3407 # Try to create an executable without -o first, disregard a.out.
3408 # It will help us diagnose broken compilers, and finding out an intuition
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3411 $as_echo_n "checking whether the C compiler works... " >&6; }
3412 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3414 # The possible output files:
3415 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3418 for ac_file in $ac_files
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3427 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }; then :
3438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3441 # so that the user can short-circuit this test for compilers unknown to
3443 for ac_file in $ac_files ''
3445 test -f "$ac_file" || continue
3447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3450 # We found the default executable, but exeext='' is most
3454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3456 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3458 # We set ac_cv_exeext here because the later test for it is not
3459 # safe: cross compilers may not add the suffix if given an `-o'
3460 # argument, so we may need to know it at that point already.
3461 # Even if this section looks crufty: it has the advantage of
3468 test "$ac_cv_exeext" = no && ac_cv_exeext=
3473 if test -z "$ac_file"; then :
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3476 $as_echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error 77 "C compiler cannot create executables
3482 See \`config.log' for more details" "$LINENO" 5; }
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3488 $as_echo_n "checking for C compiler default output file name... " >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3490 $as_echo "$ac_file" >&6; }
3491 ac_exeext=$ac_cv_exeext
3493 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3494 ac_clean_files=$ac_clean_files_save
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3496 $as_echo_n "checking for suffix of executables... " >&6; }
3497 if { { ac_try="$ac_link"
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503 $as_echo "$ac_try_echo"; } >&5
3504 (eval "$ac_link") 2>&5
3506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507 test $ac_status = 0; }; then :
3508 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3509 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3510 # work properly (i.e., refer to `conftest.exe'), while it won't with
3512 for ac_file in conftest.exe conftest conftest.*; do
3513 test -f "$ac_file" || continue
3515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3516 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3525 See \`config.log' for more details" "$LINENO" 5; }
3527 rm -f conftest conftest$ac_cv_exeext
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3529 $as_echo "$ac_cv_exeext" >&6; }
3531 rm -f conftest.$ac_ext
3532 EXEEXT=$ac_cv_exeext
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3540 FILE *f = fopen ("conftest.out", "w");
3541 return ferror (f) || fclose (f) != 0;
3547 ac_clean_files="$ac_clean_files conftest.out"
3548 # Check that the compiler produces executables we can run. If not, either
3549 # the compiler is broken, or we cross compile.
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3551 $as_echo_n "checking whether we are cross compiling... " >&6; }
3552 if test "$cross_compiling" != yes; then
3553 { { ac_try="$ac_link"
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }
3564 if { ac_try='./conftest$ac_cv_exeext'
3565 { { case "(($ac_try" in
3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567 *) ac_try_echo=$ac_try;;
3569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3570 $as_echo "$ac_try_echo"; } >&5
3571 (eval "$ac_try") 2>&5
3573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3574 test $ac_status = 0; }; }; then
3577 if test "$cross_compiling" = maybe; then
3580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 as_fn_error $? "cannot run C compiled programs.
3583 If you meant to cross compile, use \`--host'.
3584 See \`config.log' for more details" "$LINENO" 5; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3589 $as_echo "$cross_compiling" >&6; }
3591 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3592 ac_clean_files=$ac_clean_files_save
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3594 $as_echo_n "checking for suffix of object files... " >&6; }
3595 if ${ac_cv_objext+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 rm -f conftest.o conftest.obj
3610 if { { ac_try="$ac_compile"
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_compile") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; }; then :
3621 for ac_file in conftest.o conftest.obj conftest.*; do
3622 test -f "$ac_file" || continue;
3624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3625 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3630 $as_echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "cannot compute suffix of object files: cannot compile
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3641 $as_echo "$ac_cv_objext" >&6; }
3642 OBJEXT=$ac_cv_objext
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3645 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3646 if ${ac_cv_c_compiler_gnu+:} false; then :
3647 $as_echo_n "(cached) " >&6
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3673 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3674 if test $ac_compiler_gnu = yes; then
3679 ac_test_CFLAGS=${CFLAGS+set}
3680 ac_save_CFLAGS=$CFLAGS
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3682 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3683 if ${ac_cv_prog_cc_g+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 ac_save_c_werror_flag=$ac_c_werror_flag
3687 ac_c_werror_flag=yes
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3701 if ac_fn_c_try_compile "$LINENO"; then :
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3716 if ac_fn_c_try_compile "$LINENO"; then :
3719 ac_c_werror_flag=$ac_save_c_werror_flag
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 if ac_fn_c_try_compile "$LINENO"; then :
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 ac_c_werror_flag=$ac_save_c_werror_flag
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3743 $as_echo "$ac_cv_prog_cc_g" >&6; }
3744 if test "$ac_test_CFLAGS" = set; then
3745 CFLAGS=$ac_save_CFLAGS
3746 elif test $ac_cv_prog_cc_g = yes; then
3747 if test "$GCC" = yes; then
3753 if test "$GCC" = yes; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3760 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3761 if ${ac_cv_prog_cc_c89+:} false; then :
3762 $as_echo_n "(cached) " >&6
3764 ac_cv_prog_cc_c89=no
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3771 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3772 struct buf { int x; };
3773 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3774 static char *e (p, i)
3780 static char *f (char * (*g) (char **, int), char **p, ...)
3785 s = g (p, va_arg (v,int));
3790 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3791 function prototypes and stuff, but not '\xHH' hex character constants.
3792 These don't provoke an error unfortunately, instead are silently treated
3793 as 'x'. The following induces an error, until -std is added to get
3794 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3795 array size at least. It's necessary to write '\x00'==0 to get something
3796 that's true only with -std. */
3797 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3799 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3800 inside strings and character constants. */
3802 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3804 int test (int i, double x);
3805 struct s1 {int (*f) (int a);};
3806 struct s2 {int (*f) (double a);};
3807 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3813 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3818 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3819 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3821 CC="$ac_save_CC $ac_arg"
3822 if ac_fn_c_try_compile "$LINENO"; then :
3823 ac_cv_prog_cc_c89=$ac_arg
3825 rm -f core conftest.err conftest.$ac_objext
3826 test "x$ac_cv_prog_cc_c89" != "xno" && break
3828 rm -f conftest.$ac_ext
3833 case "x$ac_cv_prog_cc_c89" in
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3836 $as_echo "none needed" >&6; } ;;
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3839 $as_echo "unsupported" >&6; } ;;
3841 CC="$CC $ac_cv_prog_cc_c89"
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3843 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3845 if test "x$ac_cv_prog_cc_c89" != xno; then :
3850 ac_cpp='$CPP $CPPFLAGS'
3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 DEPDIR="${am__leading_dot}deps"
3856 ac_config_commands="$ac_config_commands depfiles"
3859 am_make=${MAKE-make}
3860 cat > confinc << 'END'
3862 @echo this is the am__doit target
3865 # If we don't find an include directive, just comment out the code.
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3867 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3871 # First try GNU make style include.
3872 echo "include confinc" > confmf
3873 # Ignore all kinds of additional output from `make'.
3874 case `$am_make -s -f confmf 2> /dev/null` in #(
3875 *the\ am__doit\ target*)
3881 # Now try BSD make style include.
3882 if test "$am__include" = "#"; then
3883 echo '.include "confinc"' > confmf
3884 case `$am_make -s -f confmf 2> /dev/null` in #(
3885 *the\ am__doit\ target*)
3886 am__include=.include
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3895 $as_echo "$_am_result" >&6; }
3896 rm -f confinc confmf
3898 # Check whether --enable-dependency-tracking was given.
3899 if test "${enable_dependency_tracking+set}" = set; then :
3900 enableval=$enable_dependency_tracking;
3903 if test "x$enable_dependency_tracking" != xno; then
3904 am_depcomp="$ac_aux_dir/depcomp"
3908 if test "x$enable_dependency_tracking" != xno; then
3918 depcc="$CC" am_compiler_list=
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3921 $as_echo_n "checking dependency style of $depcc... " >&6; }
3922 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3926 # We make a subdir and do the tests there. Otherwise we can end up
3927 # making bogus files that we don't know about and never remove. For
3928 # instance it was reported that on HP-UX the gcc test will end up
3929 # making a dummy file named `D' -- because `-MD' means `put the output
3933 # Copy depcomp to subdir because otherwise we won't find it if we're
3934 # using a relative directory.
3935 cp "$am_depcomp" conftest.dir
3937 # We will build objects and dependencies in a subdirectory because
3938 # it helps to detect inapplicable dependency modes. For instance
3939 # both Tru64's cc and ICC support -MD to output dependencies as a
3940 # side effect of compilation, but ICC will put the dependencies in
3941 # the current directory while Tru64 will put them in the object
3945 am_cv_CC_dependencies_compiler_type=none
3946 if test "$am_compiler_list" = ""; then
3947 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3950 case " $depcc " in #(
3951 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3954 for depmode in $am_compiler_list; do
3955 # Setup a source with many dependencies, because some compilers
3956 # like to wrap large dependency lists on column 80 (with \), and
3957 # we should not choose a depcomp mode which is confused by this.
3959 # We need to recreate these files for each test, as the compiler may
3960 # overwrite some of them when testing with obscure command lines.
3961 # This happens at least with the AIX C compiler.
3963 for i in 1 2 3 4 5 6; do
3964 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3965 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3966 # Solaris 8's {/usr,}/bin/sh.
3967 touch sub/conftst$i.h
3969 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3971 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3972 # mode. It turns out that the SunPro C++ compiler does not properly
3973 # handle `-M -o', and we need to detect this. Also, some Intel
3974 # versions had trouble with output in subdirs
3975 am__obj=sub/conftest.${OBJEXT-o}
3976 am__minus_obj="-o $am__obj"
3979 # This depmode causes a compiler race in universal mode.
3980 test "$am__universal" = false || continue
3983 # after this tag, mechanisms are not by side-effect, so they'll
3984 # only be used when explicitly requested
3985 if test "x$enable_dependency_tracking" = xyes; then
3991 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3992 # This compiler won't grok `-c -o', but also, the minuso test has
3993 # not run yet. These depmodes are late enough in the game, and
3994 # so weak that their functioning should not be impacted.
3995 am__obj=conftest.${OBJEXT-o}
4000 if depmode=$depmode \
4001 source=sub/conftest.c object=$am__obj \
4002 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4003 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4004 >/dev/null 2>conftest.err &&
4005 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4006 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4007 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4008 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4009 # icc doesn't choke on unknown options, it will just issue warnings
4010 # or remarks (even with -Werror). So we grep stderr for any message
4011 # that says an option was ignored or not supported.
4012 # When given -MP, icc 7.0 and 7.1 complain thusly:
4013 # icc: Command line warning: ignoring option '-M'; no argument required
4014 # The diagnosis changed in icc 8.0:
4015 # icc: Command line remark: option '-MP' not supported
4016 if (grep 'ignoring option' conftest.err ||
4017 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4018 am_cv_CC_dependencies_compiler_type=$depmode
4027 am_cv_CC_dependencies_compiler_type=none
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4032 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4033 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4036 test "x$enable_dependency_tracking" != xno \
4037 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4039 am__fastdepCC_FALSE='#'
4041 am__fastdepCC_TRUE='#'
4042 am__fastdepCC_FALSE=
4048 ac_cpp='$CPP $CPPFLAGS'
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4053 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4054 # On Suns, sometimes $CPP names a directory.
4055 if test -n "$CPP" && test -d "$CPP"; then
4058 if test -z "$CPP"; then
4059 if ${ac_cv_prog_CPP+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 # Double quotes because CPP needs to be expanded
4063 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4066 for ac_c_preproc_warn_flag in '' yes
4068 # Use a header file that comes with gcc, so configuring glibc
4069 # with a fresh cross-compiler works.
4070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4071 # <limits.h> exists even on freestanding compilers.
4072 # On the NeXT, cc -E runs the code through the compiler's parser,
4073 # not just through cpp. "Syntax error" is here to catch this case.
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4077 # include <limits.h>
4079 # include <assert.h>
4083 if ac_fn_c_try_cpp "$LINENO"; then :
4086 # Broken: fails on valid input.
4089 rm -f conftest.err conftest.i conftest.$ac_ext
4091 # OK, works on sane cases. Now check whether nonexistent headers
4092 # can be detected and how.
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4095 #include <ac_nonexistent.h>
4097 if ac_fn_c_try_cpp "$LINENO"; then :
4098 # Broken: success on invalid input.
4101 # Passes both tests.
4105 rm -f conftest.err conftest.i conftest.$ac_ext
4108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4109 rm -f conftest.i conftest.err conftest.$ac_ext
4110 if $ac_preproc_ok; then :
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4123 $as_echo "$CPP" >&6; }
4125 for ac_c_preproc_warn_flag in '' yes
4127 # Use a header file that comes with gcc, so configuring glibc
4128 # with a fresh cross-compiler works.
4129 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4130 # <limits.h> exists even on freestanding compilers.
4131 # On the NeXT, cc -E runs the code through the compiler's parser,
4132 # not just through cpp. "Syntax error" is here to catch this case.
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4136 # include <limits.h>
4138 # include <assert.h>
4142 if ac_fn_c_try_cpp "$LINENO"; then :
4145 # Broken: fails on valid input.
4148 rm -f conftest.err conftest.i conftest.$ac_ext
4150 # OK, works on sane cases. Now check whether nonexistent headers
4151 # can be detected and how.
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4154 #include <ac_nonexistent.h>
4156 if ac_fn_c_try_cpp "$LINENO"; then :
4157 # Broken: success on invalid input.
4160 # Passes both tests.
4164 rm -f conftest.err conftest.i conftest.$ac_ext
4167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4168 rm -f conftest.i conftest.err conftest.$ac_ext
4169 if $ac_preproc_ok; then :
4172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4174 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4175 See \`config.log' for more details" "$LINENO" 5; }
4179 ac_cpp='$CPP $CPPFLAGS'
4180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4186 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4187 if ${ac_cv_path_GREP+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -z "$GREP"; then
4191 ac_path_GREP_found=false
4192 # Loop through the user's path and test for each of PROGNAME-LIST
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4197 test -z "$as_dir" && as_dir=.
4198 for ac_prog in grep ggrep; do
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4201 as_fn_executable_p "$ac_path_GREP" || continue
4202 # Check for GNU ac_path_GREP and select it if it is found.
4203 # Check for GNU $ac_path_GREP
4204 case `"$ac_path_GREP" --version 2>&1` in
4206 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4209 $as_echo_n 0123456789 >"conftest.in"
4212 cat "conftest.in" "conftest.in" >"conftest.tmp"
4213 mv "conftest.tmp" "conftest.in"
4214 cp "conftest.in" "conftest.nl"
4215 $as_echo 'GREP' >> "conftest.nl"
4216 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218 as_fn_arith $ac_count + 1 && ac_count=$as_val
4219 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4220 # Best one so far, save it but keep looking for a better one
4221 ac_cv_path_GREP="$ac_path_GREP"
4222 ac_path_GREP_max=$ac_count
4224 # 10*(2^10) chars as input seems more than enough
4225 test $ac_count -gt 10 && break
4227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4230 $ac_path_GREP_found && break 3
4235 if test -z "$ac_cv_path_GREP"; then
4236 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4239 ac_cv_path_GREP=$GREP
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4244 $as_echo "$ac_cv_path_GREP" >&6; }
4245 GREP="$ac_cv_path_GREP"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4249 $as_echo_n "checking for egrep... " >&6; }
4250 if ${ac_cv_path_EGREP+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4254 then ac_cv_path_EGREP="$GREP -E"
4256 if test -z "$EGREP"; then
4257 ac_path_EGREP_found=false
4258 # Loop through the user's path and test for each of PROGNAME-LIST
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4263 test -z "$as_dir" && as_dir=.
4264 for ac_prog in egrep; do
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4267 as_fn_executable_p "$ac_path_EGREP" || continue
4268 # Check for GNU ac_path_EGREP and select it if it is found.
4269 # Check for GNU $ac_path_EGREP
4270 case `"$ac_path_EGREP" --version 2>&1` in
4272 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4275 $as_echo_n 0123456789 >"conftest.in"
4278 cat "conftest.in" "conftest.in" >"conftest.tmp"
4279 mv "conftest.tmp" "conftest.in"
4280 cp "conftest.in" "conftest.nl"
4281 $as_echo 'EGREP' >> "conftest.nl"
4282 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284 as_fn_arith $ac_count + 1 && ac_count=$as_val
4285 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4286 # Best one so far, save it but keep looking for a better one
4287 ac_cv_path_EGREP="$ac_path_EGREP"
4288 ac_path_EGREP_max=$ac_count
4290 # 10*(2^10) chars as input seems more than enough
4291 test $ac_count -gt 10 && break
4293 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4296 $ac_path_EGREP_found && break 3
4301 if test -z "$ac_cv_path_EGREP"; then
4302 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4305 ac_cv_path_EGREP=$EGREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4311 $as_echo "$ac_cv_path_EGREP" >&6; }
4312 EGREP="$ac_cv_path_EGREP"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4316 $as_echo_n "checking for ANSI C header files... " >&6; }
4317 if ${ac_cv_header_stdc+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336 ac_cv_header_stdc=yes
4338 ac_cv_header_stdc=no
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 if test $ac_cv_header_stdc = yes; then
4343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4350 $EGREP "memchr" >/dev/null 2>&1; then :
4353 ac_cv_header_stdc=no
4359 if test $ac_cv_header_stdc = yes; then
4360 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4367 $EGREP "free" >/dev/null 2>&1; then :
4370 ac_cv_header_stdc=no
4376 if test $ac_cv_header_stdc = yes; then
4377 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4378 if test "$cross_compiling" = yes; then :
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 #if ((' ' & 0x0FF) == 0x020)
4386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4389 # define ISLOWER(c) \
4390 (('a' <= (c) && (c) <= 'i') \
4391 || ('j' <= (c) && (c) <= 'r') \
4392 || ('s' <= (c) && (c) <= 'z'))
4393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4401 for (i = 0; i < 256; i++)
4402 if (XOR (islower (i), ISLOWER (i))
4403 || toupper (i) != TOUPPER (i))
4408 if ac_fn_c_try_run "$LINENO"; then :
4411 ac_cv_header_stdc=no
4413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4414 conftest.$ac_objext conftest.beam conftest.$ac_ext
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4420 $as_echo "$ac_cv_header_stdc" >&6; }
4421 if test $ac_cv_header_stdc = yes; then
4423 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4428 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4429 inttypes.h stdint.h unistd.h
4431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4432 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4434 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4435 cat >>confdefs.h <<_ACEOF
4436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4447 for ac_header in $ac_header_list
4449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4452 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4453 cat >>confdefs.h <<_ACEOF
4454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4468 for ac_func in getpagesize
4470 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4471 if test "x$ac_cv_func_getpagesize" = xyes; then :
4472 cat >>confdefs.h <<_ACEOF
4473 #define HAVE_GETPAGESIZE 1
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4480 $as_echo_n "checking for working mmap... " >&6; }
4481 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4482 $as_echo_n "(cached) " >&6
4484 if test "$cross_compiling" = yes; then :
4485 ac_cv_func_mmap_fixed_mapped=no
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489 $ac_includes_default
4490 /* malloc might have been renamed as rpl_malloc. */
4493 /* Thanks to Mike Haertel and Jim Avera for this test.
4494 Here is a matrix of mmap possibilities:
4495 mmap private not fixed
4496 mmap private fixed at somewhere currently unmapped
4497 mmap private fixed at somewhere already mapped
4498 mmap shared not fixed
4499 mmap shared fixed at somewhere currently unmapped
4500 mmap shared fixed at somewhere already mapped
4501 For private mappings, we should verify that changes cannot be read()
4502 back from the file, nor mmap's back from the file at a different
4503 address. (There have been systems where private was not correctly
4504 implemented like the infamous i386 svr4.0, and systems where the
4505 VM page cache was not coherent with the file system buffer cache
4506 like early versions of FreeBSD and possibly contemporary NetBSD.)
4507 For shared mappings, we should conversely verify that changes get
4508 propagated back to all the places they're supposed to be.
4510 Grep wants private fixed already mapped.
4511 The main things grep needs to know about mmap are:
4512 * does it exist and is it safe to write into the mmap'd area
4513 * how to use it (BSD variants) */
4516 #include <sys/mman.h>
4518 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4522 /* This mess was copied from the GNU getpagesize.h. */
4523 #ifndef HAVE_GETPAGESIZE
4524 # ifdef _SC_PAGESIZE
4525 # define getpagesize() sysconf(_SC_PAGESIZE)
4526 # else /* no _SC_PAGESIZE */
4527 # ifdef HAVE_SYS_PARAM_H
4528 # include <sys/param.h>
4529 # ifdef EXEC_PAGESIZE
4530 # define getpagesize() EXEC_PAGESIZE
4531 # else /* no EXEC_PAGESIZE */
4533 # define getpagesize() NBPG * CLSIZE
4536 # endif /* no CLSIZE */
4537 # else /* no NBPG */
4539 # define getpagesize() NBPC
4540 # else /* no NBPC */
4542 # define getpagesize() PAGESIZE
4543 # endif /* PAGESIZE */
4544 # endif /* no NBPC */
4545 # endif /* no NBPG */
4546 # endif /* no EXEC_PAGESIZE */
4547 # else /* no HAVE_SYS_PARAM_H */
4548 # define getpagesize() 8192 /* punt totally */
4549 # endif /* no HAVE_SYS_PARAM_H */
4550 # endif /* no _SC_PAGESIZE */
4552 #endif /* no HAVE_GETPAGESIZE */
4557 char *data, *data2, *data3;
4562 pagesize = getpagesize ();
4564 /* First, make a file with some known garbage in it. */
4565 data = (char *) malloc (pagesize);
4568 for (i = 0; i < pagesize; ++i)
4569 *(data + i) = rand ();
4571 fd = creat ("conftest.mmap", 0600);
4574 if (write (fd, data, pagesize) != pagesize)
4578 /* Next, check that the tail of a page is zero-filled. File must have
4579 non-zero length, otherwise we risk SIGBUS for entire page. */
4580 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4584 if (write (fd2, cdata2, 1) != 1)
4586 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4587 if (data2 == MAP_FAILED)
4589 for (i = 0; i < pagesize; ++i)
4593 if (munmap (data2, pagesize))
4596 /* Next, try to mmap the file at a fixed address which already has
4597 something else allocated at it. If we can, also make sure that
4598 we see the same garbage. */
4599 fd = open ("conftest.mmap", O_RDWR);
4602 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4603 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4605 for (i = 0; i < pagesize; ++i)
4606 if (*(data + i) != *(data2 + i))
4609 /* Finally, make sure that changes to the mapped area do not
4610 percolate back to the file as seen by read(). (This is a bug on
4611 some variants of i386 svr4.0.) */
4612 for (i = 0; i < pagesize; ++i)
4613 *(data2 + i) = *(data2 + i) + 1;
4614 data3 = (char *) malloc (pagesize);
4617 if (read (fd, data3, pagesize) != pagesize)
4619 for (i = 0; i < pagesize; ++i)
4620 if (*(data + i) != *(data3 + i))
4626 if ac_fn_c_try_run "$LINENO"; then :
4627 ac_cv_func_mmap_fixed_mapped=yes
4629 ac_cv_func_mmap_fixed_mapped=no
4631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4632 conftest.$ac_objext conftest.beam conftest.$ac_ext
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4637 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4638 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4640 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4643 rm -f conftest.mmap conftest.txt
4645 # Check whether --enable-largefile was given.
4646 if test "${enable_largefile+set}" = set; then :
4647 enableval=$enable_largefile;
4650 if test "$enable_largefile" != no; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4653 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4654 if ${ac_cv_sys_largefile_CC+:} false; then :
4655 $as_echo_n "(cached) " >&6
4657 ac_cv_sys_largefile_CC=no
4658 if test "$GCC" != yes; then
4661 # IRIX 6.2 and later do not support large files by default,
4662 # so use the C compiler's -n32 option if that helps.
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4665 #include <sys/types.h>
4666 /* Check that off_t can represent 2**63 - 1 correctly.
4667 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4668 since some C++ compilers masquerading as C compilers
4669 incorrectly reject 9223372036854775807. */
4670 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4671 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4672 && LARGE_OFF_T % 2147483647 == 1)
4682 if ac_fn_c_try_compile "$LINENO"; then :
4685 rm -f core conftest.err conftest.$ac_objext
4687 if ac_fn_c_try_compile "$LINENO"; then :
4688 ac_cv_sys_largefile_CC=' -n32'; break
4690 rm -f core conftest.err conftest.$ac_objext
4694 rm -f conftest.$ac_ext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4698 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4699 if test "$ac_cv_sys_largefile_CC" != no; then
4700 CC=$CC$ac_cv_sys_largefile_CC
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4704 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4705 if ${ac_cv_sys_file_offset_bits+:} false; then :
4706 $as_echo_n "(cached) " >&6
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #include <sys/types.h>
4712 /* Check that off_t can represent 2**63 - 1 correctly.
4713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4714 since some C++ compilers masquerading as C compilers
4715 incorrectly reject 9223372036854775807. */
4716 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4718 && LARGE_OFF_T % 2147483647 == 1)
4728 if ac_fn_c_try_compile "$LINENO"; then :
4729 ac_cv_sys_file_offset_bits=no; break
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #define _FILE_OFFSET_BITS 64
4735 #include <sys/types.h>
4736 /* Check that off_t can represent 2**63 - 1 correctly.
4737 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4738 since some C++ compilers masquerading as C compilers
4739 incorrectly reject 9223372036854775807. */
4740 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4742 && LARGE_OFF_T % 2147483647 == 1)
4752 if ac_fn_c_try_compile "$LINENO"; then :
4753 ac_cv_sys_file_offset_bits=64; break
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 ac_cv_sys_file_offset_bits=unknown
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4761 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4762 case $ac_cv_sys_file_offset_bits in #(
4765 cat >>confdefs.h <<_ACEOF
4766 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4771 if test $ac_cv_sys_file_offset_bits = unknown; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4773 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4774 if ${ac_cv_sys_large_files+:} false; then :
4775 $as_echo_n "(cached) " >&6
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4780 #include <sys/types.h>
4781 /* Check that off_t can represent 2**63 - 1 correctly.
4782 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4783 since some C++ compilers masquerading as C compilers
4784 incorrectly reject 9223372036854775807. */
4785 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4786 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4787 && LARGE_OFF_T % 2147483647 == 1)
4797 if ac_fn_c_try_compile "$LINENO"; then :
4798 ac_cv_sys_large_files=no; break
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 #define _LARGE_FILES 1
4804 #include <sys/types.h>
4805 /* Check that off_t can represent 2**63 - 1 correctly.
4806 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4807 since some C++ compilers masquerading as C compilers
4808 incorrectly reject 9223372036854775807. */
4809 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4811 && LARGE_OFF_T % 2147483647 == 1)
4821 if ac_fn_c_try_compile "$LINENO"; then :
4822 ac_cv_sys_large_files=1; break
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 ac_cv_sys_large_files=unknown
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4830 $as_echo "$ac_cv_sys_large_files" >&6; }
4831 case $ac_cv_sys_large_files in #(
4834 cat >>confdefs.h <<_ACEOF
4835 #define _LARGE_FILES $ac_cv_sys_large_files
4846 # Initialize libtool
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4851 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4856 macro_version='2.4.2'
4857 macro_revision='1.3337'
4871 ltmain="$ac_aux_dir/ltmain.sh"
4873 # Backslashify metacharacters that are still active within
4874 # double-quoted strings.
4875 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4877 # Same as above, but do not quote variable references.
4878 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4880 # Sed substitution to delay expansion of an escaped shell variable in a
4881 # double_quote_subst'ed string.
4882 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4884 # Sed substitution to delay expansion of an escaped single quote.
4885 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4887 # Sed substitution to avoid accidental globbing in evaled expressions
4888 no_glob_subst='s/\*/\\\*/g'
4890 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4891 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4892 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4895 $as_echo_n "checking how to print strings... " >&6; }
4896 # Test print first, because it will be a builtin if present.
4897 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4898 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4900 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4903 # Use this function as a fallback that always works.
4904 func_fallback_echo ()
4906 eval 'cat <<_LTECHO_EOF
4910 ECHO='func_fallback_echo'
4913 # func_echo_all arg...
4914 # Invoke $ECHO with all args, space-separated.
4921 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4922 $as_echo "printf" >&6; } ;;
4923 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4924 $as_echo "print -r" >&6; } ;;
4925 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4926 $as_echo "cat" >&6; } ;;
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4943 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4944 if ${ac_cv_path_SED+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4948 for ac_i in 1 2 3 4 5 6 7; do
4949 ac_script="$ac_script$as_nl$ac_script"
4951 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4952 { ac_script=; unset ac_script;}
4953 if test -z "$SED"; then
4954 ac_path_SED_found=false
4955 # Loop through the user's path and test for each of PROGNAME-LIST
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir=.
4961 for ac_prog in sed gsed; do
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4964 as_fn_executable_p "$ac_path_SED" || continue
4965 # Check for GNU ac_path_SED and select it if it is found.
4966 # Check for GNU $ac_path_SED
4967 case `"$ac_path_SED" --version 2>&1` in
4969 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4972 $as_echo_n 0123456789 >"conftest.in"
4975 cat "conftest.in" "conftest.in" >"conftest.tmp"
4976 mv "conftest.tmp" "conftest.in"
4977 cp "conftest.in" "conftest.nl"
4978 $as_echo '' >> "conftest.nl"
4979 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4980 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4981 as_fn_arith $ac_count + 1 && ac_count=$as_val
4982 if test $ac_count -gt ${ac_path_SED_max-0}; then
4983 # Best one so far, save it but keep looking for a better one
4984 ac_cv_path_SED="$ac_path_SED"
4985 ac_path_SED_max=$ac_count
4987 # 10*(2^10) chars as input seems more than enough
4988 test $ac_count -gt 10 && break
4990 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4993 $ac_path_SED_found && break 3
4998 if test -z "$ac_cv_path_SED"; then
4999 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5007 $as_echo "$ac_cv_path_SED" >&6; }
5008 SED="$ac_cv_path_SED"
5011 test -z "$SED" && SED=sed
5012 Xsed="$SED -e 1s/^X//"
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5025 $as_echo_n "checking for fgrep... " >&6; }
5026 if ${ac_cv_path_FGREP+:} false; then :
5027 $as_echo_n "(cached) " >&6
5029 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5030 then ac_cv_path_FGREP="$GREP -F"
5032 if test -z "$FGREP"; then
5033 ac_path_FGREP_found=false
5034 # Loop through the user's path and test for each of PROGNAME-LIST
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5039 test -z "$as_dir" && as_dir=.
5040 for ac_prog in fgrep; do
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5043 as_fn_executable_p "$ac_path_FGREP" || continue
5044 # Check for GNU ac_path_FGREP and select it if it is found.
5045 # Check for GNU $ac_path_FGREP
5046 case `"$ac_path_FGREP" --version 2>&1` in
5048 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5051 $as_echo_n 0123456789 >"conftest.in"
5054 cat "conftest.in" "conftest.in" >"conftest.tmp"
5055 mv "conftest.tmp" "conftest.in"
5056 cp "conftest.in" "conftest.nl"
5057 $as_echo 'FGREP' >> "conftest.nl"
5058 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5059 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5060 as_fn_arith $ac_count + 1 && ac_count=$as_val
5061 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5062 # Best one so far, save it but keep looking for a better one
5063 ac_cv_path_FGREP="$ac_path_FGREP"
5064 ac_path_FGREP_max=$ac_count
5066 # 10*(2^10) chars as input seems more than enough
5067 test $ac_count -gt 10 && break
5069 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5072 $ac_path_FGREP_found && break 3
5077 if test -z "$ac_cv_path_FGREP"; then
5078 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5081 ac_cv_path_FGREP=$FGREP
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5087 $as_echo "$ac_cv_path_FGREP" >&6; }
5088 FGREP="$ac_cv_path_FGREP"
5091 test -z "$GREP" && GREP=grep
5111 # Check whether --with-gnu-ld was given.
5112 if test "${with_gnu_ld+set}" = set; then :
5113 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5119 if test "$GCC" = yes; then
5120 # Check if gcc -print-prog-name=ld gives a path.
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5122 $as_echo_n "checking for ld used by $CC... " >&6; }
5125 # gcc leaves a trailing carriage return which upsets mingw
5126 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5128 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5131 # Accept absolute paths.
5133 re_direlt='/[^/][^/]*/\.\./'
5134 # Canonicalize the pathname of ld
5135 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5136 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5137 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5139 test -z "$LD" && LD="$ac_prog"
5142 # If it fails, then pretend we aren't using GCC.
5146 # If it is relative, then search for the first ld in PATH.
5150 elif test "$with_gnu_ld" = yes; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5152 $as_echo_n "checking for GNU ld... " >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5155 $as_echo_n "checking for non-GNU ld... " >&6; }
5157 if ${lt_cv_path_LD+:} false; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -z "$LD"; then
5161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5162 for ac_dir in $PATH; do
5164 test -z "$ac_dir" && ac_dir=.
5165 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5166 lt_cv_path_LD="$ac_dir/$ac_prog"
5167 # Check to see if the program is GNU ld. I'd rather use --version,
5168 # but apparently some variants of GNU ld only accept -v.
5169 # Break only if it was the GNU/non-GNU ld that we prefer.
5170 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5171 *GNU* | *'with BFD'*)
5172 test "$with_gnu_ld" != no && break
5175 test "$with_gnu_ld" != yes && break
5182 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5187 if test -n "$LD"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5189 $as_echo "$LD" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5194 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5197 if ${lt_cv_prog_gnu_ld+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5201 case `$LD -v 2>&1 </dev/null` in
5202 *GNU* | *'with BFD'*)
5203 lt_cv_prog_gnu_ld=yes
5206 lt_cv_prog_gnu_ld=no
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5212 with_gnu_ld=$lt_cv_prog_gnu_ld
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5223 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5224 if ${lt_cv_path_NM+:} false; then :
5225 $as_echo_n "(cached) " >&6
5227 if test -n "$NM"; then
5228 # Let the user override the test.
5231 lt_nm_to_check="${ac_tool_prefix}nm"
5232 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5233 lt_nm_to_check="$lt_nm_to_check nm"
5235 for lt_tmp_nm in $lt_nm_to_check; do
5236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5237 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5239 test -z "$ac_dir" && ac_dir=.
5240 tmp_nm="$ac_dir/$lt_tmp_nm"
5241 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5242 # Check to see if the nm accepts a BSD-compat flag.
5243 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5244 # nm: unknown option "B" ignored
5245 # Tru64's nm complains that /dev/null is an invalid object file
5246 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5247 */dev/null* | *'Invalid file or object type'*)
5248 lt_cv_path_NM="$tmp_nm -B"
5252 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5254 lt_cv_path_NM="$tmp_nm -p"
5258 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5259 continue # so that we can try to find one that supports BSD flags
5268 : ${lt_cv_path_NM=no}
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5272 $as_echo "$lt_cv_path_NM" >&6; }
5273 if test "$lt_cv_path_NM" != "no"; then
5276 # Didn't find any BSD compatible name lister, look for dumpbin.
5277 if test -n "$DUMPBIN"; then :
5278 # Let the user override the test.
5280 if test -n "$ac_tool_prefix"; then
5281 for ac_prog in dumpbin "link -dump"
5283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_DUMPBIN+:} false; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$DUMPBIN"; then
5291 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 DUMPBIN=$ac_cv_prog_DUMPBIN
5311 if test -n "$DUMPBIN"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5313 $as_echo "$DUMPBIN" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$DUMPBIN" && break
5323 if test -z "$DUMPBIN"; then
5324 ac_ct_DUMPBIN=$DUMPBIN
5325 for ac_prog in dumpbin "link -dump"
5327 # Extract the first word of "$ac_prog", so it can be a program name with args.
5328 set dummy $ac_prog; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_DUMPBIN"; then
5335 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5355 if test -n "$ac_ct_DUMPBIN"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5357 $as_echo "$ac_ct_DUMPBIN" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$ac_ct_DUMPBIN" && break
5367 if test "x$ac_ct_DUMPBIN" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5376 DUMPBIN=$ac_ct_DUMPBIN
5380 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5382 DUMPBIN="$DUMPBIN -symbols"
5390 if test "$DUMPBIN" != ":"; then
5394 test -z "$NM" && NM=nm
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5402 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5403 if ${lt_cv_nm_interface+:} false; then :
5404 $as_echo_n "(cached) " >&6
5406 lt_cv_nm_interface="BSD nm"
5407 echo "int some_variable = 0;" > conftest.$ac_ext
5408 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5409 (eval "$ac_compile" 2>conftest.err)
5410 cat conftest.err >&5
5411 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5412 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5413 cat conftest.err >&5
5414 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5415 cat conftest.out >&5
5416 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5417 lt_cv_nm_interface="MS dumpbin"
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5422 $as_echo "$lt_cv_nm_interface" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5425 $as_echo_n "checking whether ln -s works... " >&6; }
5427 if test "$LN_S" = "ln -s"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5429 $as_echo "yes" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5432 $as_echo "no, using $LN_S" >&6; }
5435 # find the maximum length of command line arguments
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5437 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5438 if ${lt_cv_sys_max_cmd_len+:} false; then :
5439 $as_echo_n "(cached) " >&6
5446 # On DJGPP, this test can blow up pretty badly due to problems in libc
5447 # (any single argument exceeding 2000 bytes causes a buffer overrun
5448 # during glob expansion). Even if it were fixed, the result of this
5449 # check would be larger than it should be.
5450 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5454 # Under GNU Hurd, this test is not required because there is
5455 # no limit to the length of command line arguments.
5456 # Libtool will interpret -1 as no limit whatsoever
5457 lt_cv_sys_max_cmd_len=-1;
5460 cygwin* | mingw* | cegcc*)
5461 # On Win9x/ME, this test blows up -- it succeeds, but takes
5462 # about 5 minutes as the teststring grows exponentially.
5463 # Worse, since 9x/ME are not pre-emptively multitasking,
5464 # you end up with a "frozen" computer, even though with patience
5465 # the test eventually succeeds (with a max line length of 256k).
5466 # Instead, let's just punt: use the minimum linelength reported by
5467 # all of the supported platforms: 8192 (on NT/2K/XP).
5468 lt_cv_sys_max_cmd_len=8192;
5472 # On MiNT this can take a long time and run out of memory.
5473 lt_cv_sys_max_cmd_len=8192;
5477 # On AmigaOS with pdksh, this test takes hours, literally.
5478 # So we just punt and use a minimum line length of 8192.
5479 lt_cv_sys_max_cmd_len=8192;
5482 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5483 # This has been around since 386BSD, at least. Likely further.
5484 if test -x /sbin/sysctl; then
5485 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5486 elif test -x /usr/sbin/sysctl; then
5487 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5489 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5491 # And add a safety zone
5492 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5493 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5497 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5498 lt_cv_sys_max_cmd_len=196608
5502 # The test takes a long time on OS/2.
5503 lt_cv_sys_max_cmd_len=8192
5507 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5508 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5509 # nice to cause kernel panics so lets avoid the loop below.
5510 # First set a reasonable default.
5511 lt_cv_sys_max_cmd_len=16384
5513 if test -x /sbin/sysconfig; then
5514 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5515 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5520 lt_cv_sys_max_cmd_len=102400
5522 sysv5* | sco5v6* | sysv4.2uw2*)
5523 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5524 if test -n "$kargmax"; then
5525 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5527 lt_cv_sys_max_cmd_len=32768
5531 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5532 if test -n "$lt_cv_sys_max_cmd_len" && \
5533 test undefined != "$lt_cv_sys_max_cmd_len"; then
5534 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5535 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5537 # Make teststring a little bigger before we do anything with it.
5538 # a 1K string should be a reasonable start.
5539 for i in 1 2 3 4 5 6 7 8 ; do
5540 teststring=$teststring$teststring
5542 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5543 # If test is not a shell built-in, we'll probably end up computing a
5544 # maximum length that is only half of the actual maximum length, but
5546 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5547 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5548 test $i != 17 # 1/2 MB should be enough
5551 teststring=$teststring$teststring
5553 # Only check the string length outside the loop.
5554 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5556 # Add a significant safety factor because C++ compilers can tack on
5557 # massive amounts of additional arguments before passing them to the
5558 # linker. It appears as though 1/2 is a usable value.
5559 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5566 if test -n $lt_cv_sys_max_cmd_len ; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5568 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5571 $as_echo "none" >&6; }
5573 max_cmd_len=$lt_cv_sys_max_cmd_len
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5585 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5586 # Try some XSI features
5589 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5591 && eval 'test $(( 1 + 1 )) -eq 2 \
5592 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5595 $as_echo "$xsi_shell" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5599 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5601 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5603 && lt_shell_append=yes
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5605 $as_echo "$lt_shell_append" >&6; }
5608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5618 # test EBCDIC or ASCII
5619 case `echo X|tr X '\101'` in
5620 A) # ASCII based system
5621 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5622 lt_SP2NL='tr \040 \012'
5623 lt_NL2SP='tr \015\012 \040\040'
5625 *) # EBCDIC based system
5626 lt_SP2NL='tr \100 \n'
5627 lt_NL2SP='tr \r\n \100\100'
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5640 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5641 if ${lt_cv_to_host_file_cmd+:} false; then :
5642 $as_echo_n "(cached) " >&6
5647 *-*-mingw* ) # actually msys
5648 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5651 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5653 * ) # otherwise, assume *nix
5654 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5660 *-*-mingw* ) # actually msys
5661 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5664 lt_cv_to_host_file_cmd=func_convert_file_noop
5666 * ) # otherwise, assume *nix
5667 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5671 * ) # unhandled hosts (and "normal" native builds)
5672 lt_cv_to_host_file_cmd=func_convert_file_noop
5678 to_host_file_cmd=$lt_cv_to_host_file_cmd
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5680 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5687 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5688 if ${lt_cv_to_tool_file_cmd+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 #assume ordinary cross tools, or native build.
5692 lt_cv_to_tool_file_cmd=func_convert_file_noop
5696 *-*-mingw* ) # actually msys
5697 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5705 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5707 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5714 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5715 if ${lt_cv_ld_reload_flag+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 lt_cv_ld_reload_flag='-r'
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5721 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5722 reload_flag=$lt_cv_ld_reload_flag
5723 case $reload_flag in
5725 *) reload_flag=" $reload_flag" ;;
5727 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5729 cygwin* | mingw* | pw32* | cegcc*)
5730 if test "$GCC" != yes; then
5735 if test "$GCC" = yes; then
5736 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5738 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5751 if test -n "$ac_tool_prefix"; then
5752 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5753 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_OBJDUMP+:} false; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$OBJDUMP"; then
5760 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 OBJDUMP=$ac_cv_prog_OBJDUMP
5780 if test -n "$OBJDUMP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5782 $as_echo "$OBJDUMP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if test -z "$ac_cv_prog_OBJDUMP"; then
5791 ac_ct_OBJDUMP=$OBJDUMP
5792 # Extract the first word of "objdump", so it can be a program name with args.
5793 set dummy objdump; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$ac_ct_OBJDUMP"; then
5800 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5820 if test -n "$ac_ct_OBJDUMP"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5822 $as_echo "$ac_ct_OBJDUMP" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5828 if test "x$ac_ct_OBJDUMP" = x; then
5831 case $cross_compiling:$ac_tool_warned in
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned=yes ;;
5837 OBJDUMP=$ac_ct_OBJDUMP
5840 OBJDUMP="$ac_cv_prog_OBJDUMP"
5843 test -z "$OBJDUMP" && OBJDUMP=objdump
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5854 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5855 if ${lt_cv_deplibs_check_method+:} false; then :
5856 $as_echo_n "(cached) " >&6
5858 lt_cv_file_magic_cmd='$MAGIC_CMD'
5859 lt_cv_file_magic_test_file=
5860 lt_cv_deplibs_check_method='unknown'
5861 # Need to set the preceding variable on all platforms that support
5862 # interlibrary dependencies.
5863 # 'none' -- dependencies not supported.
5864 # `unknown' -- same as none, but documents that we really don't know.
5865 # 'pass_all' -- all dependencies passed with no checks.
5866 # 'test_compile' -- check by making test program.
5867 # 'file_magic [[regex]]' -- check by looking for files in library path
5868 # which responds to the $file_magic_cmd with a given extended regex.
5869 # If you have `file' or equivalent on your system and you're not sure
5870 # whether `pass_all' will *always* work, you probably want this one.
5874 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5883 lt_cv_file_magic_cmd='/usr/bin/file -L'
5884 lt_cv_file_magic_test_file=/shlib/libc.so
5888 # func_win32_libid is a shell function defined in ltmain.sh
5889 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5890 lt_cv_file_magic_cmd='func_win32_libid'
5894 # Base MSYS/MinGW do not provide the 'file' command needed by
5895 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5896 # unless we find 'file', for example because we are cross-compiling.
5897 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5898 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5899 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5900 lt_cv_file_magic_cmd='func_win32_libid'
5902 # Keep this pattern in sync with the one in func_win32_libid.
5903 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5904 lt_cv_file_magic_cmd='$OBJDUMP -f'
5909 # use the weaker test based on 'objdump'. See mingw*.
5910 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5911 lt_cv_file_magic_cmd='$OBJDUMP -f'
5914 darwin* | rhapsody*)
5915 lt_cv_deplibs_check_method=pass_all
5918 freebsd* | dragonfly*)
5919 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5922 # Not sure whether the presence of OpenBSD here was a mistake.
5923 # Let's accept both of them until this is cleared up.
5924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5925 lt_cv_file_magic_cmd=/usr/bin/file
5926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5930 lt_cv_deplibs_check_method=pass_all
5935 lt_cv_deplibs_check_method=pass_all
5938 hpux10.20* | hpux11*)
5939 lt_cv_file_magic_cmd=/usr/bin/file
5942 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5943 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5946 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]'
5947 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5950 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5951 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5957 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5961 irix5* | irix6* | nonstopux*)
5963 *-32|*"-32 ") libmagic=32-bit;;
5964 *-n32|*"-n32 ") libmagic=N32;;
5965 *-64|*"-64 ") libmagic=64-bit;;
5966 *) libmagic=never-match;;
5968 lt_cv_deplibs_check_method=pass_all
5971 # This must be glibc/ELF.
5972 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5973 lt_cv_deplibs_check_method=pass_all
5976 netbsd* | netbsdelf*-gnu)
5977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5980 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5986 lt_cv_file_magic_cmd=/usr/bin/file
5987 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5991 lt_cv_deplibs_check_method=pass_all
5995 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5996 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6002 osf3* | osf4* | osf5*)
6003 lt_cv_deplibs_check_method=pass_all
6007 lt_cv_deplibs_check_method=pass_all
6011 lt_cv_deplibs_check_method=pass_all
6014 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6015 lt_cv_deplibs_check_method=pass_all
6019 case $host_vendor in
6021 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]'
6022 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6025 lt_cv_deplibs_check_method=pass_all
6028 lt_cv_file_magic_cmd='/bin/file'
6029 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6032 lt_cv_file_magic_cmd='/bin/file'
6033 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6034 lt_cv_file_magic_test_file=/lib/libc.so
6037 lt_cv_deplibs_check_method=pass_all
6040 lt_cv_deplibs_check_method=pass_all
6046 lt_cv_deplibs_check_method=pass_all
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6052 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6056 if test "$build" = "$host"; then
6059 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6062 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6068 file_magic_cmd=$lt_cv_file_magic_cmd
6069 deplibs_check_method=$lt_cv_deplibs_check_method
6070 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6093 if test -n "$ac_tool_prefix"; then
6094 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_DLLTOOL+:} false; then :
6099 $as_echo_n "(cached) " >&6
6101 if test -n "$DLLTOOL"; then
6102 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 DLLTOOL=$ac_cv_prog_DLLTOOL
6122 if test -n "$DLLTOOL"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6124 $as_echo "$DLLTOOL" >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6132 if test -z "$ac_cv_prog_DLLTOOL"; then
6133 ac_ct_DLLTOOL=$DLLTOOL
6134 # Extract the first word of "dlltool", so it can be a program name with args.
6135 set dummy dlltool; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6139 $as_echo_n "(cached) " >&6
6141 if test -n "$ac_ct_DLLTOOL"; then
6142 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6162 if test -n "$ac_ct_DLLTOOL"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6164 $as_echo "$ac_ct_DLLTOOL" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6170 if test "x$ac_ct_DLLTOOL" = x; then
6173 case $cross_compiling:$ac_tool_warned in
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6177 ac_tool_warned=yes ;;
6179 DLLTOOL=$ac_ct_DLLTOOL
6182 DLLTOOL="$ac_cv_prog_DLLTOOL"
6185 test -z "$DLLTOOL" && DLLTOOL=dlltool
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6197 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6198 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6199 $as_echo_n "(cached) " >&6
6201 lt_cv_sharedlib_from_linklib_cmd='unknown'
6204 cygwin* | mingw* | pw32* | cegcc*)
6205 # two different shell functions defined in ltmain.sh
6206 # decide which to use based on capabilities of $DLLTOOL
6207 case `$DLLTOOL --help 2>&1` in
6208 *--identify-strict*)
6209 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6212 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6217 # fallback: assume linklib IS sharedlib
6218 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6224 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6225 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6226 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6234 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_AR+:} false; then :
6242 $as_echo_n "(cached) " >&6
6244 if test -n "$AR"; then
6245 ac_cv_prog_AR="$AR" # Let the user override the test.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 if test -n "$AR"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6267 $as_echo "$AR" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6274 test -n "$AR" && break
6277 if test -z "$AR"; then
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6286 $as_echo_n "(cached) " >&6
6288 if test -n "$ac_ct_AR"; then
6289 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298 ac_cv_prog_ac_ct_AR="$ac_prog"
6299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6309 if test -n "$ac_ct_AR"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6311 $as_echo "$ac_ct_AR" >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6318 test -n "$ac_ct_AR" && break
6321 if test "x$ac_ct_AR" = x; then
6324 case $cross_compiling:$ac_tool_warned in
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6328 ac_tool_warned=yes ;;
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6348 $as_echo_n "checking for archiver @FILE support... " >&6; }
6349 if ${lt_cv_ar_at_file+:} false; then :
6350 $as_echo_n "(cached) " >&6
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6364 if ac_fn_c_try_compile "$LINENO"; then :
6365 echo conftest.$ac_objext > conftest.lst
6366 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6367 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6368 (eval $lt_ar_try) 2>&5
6370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6371 test $ac_status = 0; }
6372 if test "$ac_status" -eq 0; then
6373 # Ensure the archiver fails upon bogus file names.
6374 rm -f conftest.$ac_objext libconftest.a
6375 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6376 (eval $lt_ar_try) 2>&5
6378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 test $ac_status = 0; }
6380 if test "$ac_status" -ne 0; then
6384 rm -f conftest.* libconftest.a
6387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6391 $as_echo "$lt_cv_ar_at_file" >&6; }
6393 if test "x$lt_cv_ar_at_file" = xno; then
6396 archiver_list_spec=$lt_cv_ar_at_file
6405 if test -n "$ac_tool_prefix"; then
6406 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6407 set dummy ${ac_tool_prefix}strip; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_STRIP+:} false; then :
6411 $as_echo_n "(cached) " >&6
6413 if test -n "$STRIP"; then
6414 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 STRIP=$ac_cv_prog_STRIP
6434 if test -n "$STRIP"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6436 $as_echo "$STRIP" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6444 if test -z "$ac_cv_prog_STRIP"; then
6446 # Extract the first word of "strip", so it can be a program name with args.
6447 set dummy strip; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6451 $as_echo_n "(cached) " >&6
6453 if test -n "$ac_ct_STRIP"; then
6454 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_ac_ct_STRIP="strip"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6474 if test -n "$ac_ct_STRIP"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6476 $as_echo "$ac_ct_STRIP" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6482 if test "x$ac_ct_STRIP" = x; then
6485 case $cross_compiling:$ac_tool_warned in
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6489 ac_tool_warned=yes ;;
6494 STRIP="$ac_cv_prog_STRIP"
6497 test -z "$STRIP" && STRIP=:
6504 if test -n "$ac_tool_prefix"; then
6505 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_RANLIB+:} false; then :
6510 $as_echo_n "(cached) " >&6
6512 if test -n "$RANLIB"; then
6513 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 RANLIB=$ac_cv_prog_RANLIB
6533 if test -n "$RANLIB"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6535 $as_echo "$RANLIB" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 if test -z "$ac_cv_prog_RANLIB"; then
6544 ac_ct_RANLIB=$RANLIB
6545 # Extract the first word of "ranlib", so it can be a program name with args.
6546 set dummy ranlib; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6550 $as_echo_n "(cached) " >&6
6552 if test -n "$ac_ct_RANLIB"; then
6553 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_ac_ct_RANLIB="ranlib"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6573 if test -n "$ac_ct_RANLIB"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6575 $as_echo "$ac_ct_RANLIB" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6581 if test "x$ac_ct_RANLIB" = x; then
6584 case $cross_compiling:$ac_tool_warned in
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6588 ac_tool_warned=yes ;;
6590 RANLIB=$ac_ct_RANLIB
6593 RANLIB="$ac_cv_prog_RANLIB"
6596 test -z "$RANLIB" && RANLIB=:
6603 # Determine commands to create old-style static archives.
6604 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6605 old_postinstall_cmds='chmod 644 $oldlib'
6606 old_postuninstall_cmds=
6608 if test -n "$RANLIB"; then
6611 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6614 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6617 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6622 lock_old_archive_extraction=yes ;;
6624 lock_old_archive_extraction=no ;;
6665 # If no C compiler was specified, use CC.
6668 # If no C compiler flags were specified, use CFLAGS.
6669 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6671 # Allow CC to be a program name with arguments.
6675 # Check for command to grab the raw symbol name followed by C symbol from nm.
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6677 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6678 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6679 $as_echo_n "(cached) " >&6
6682 # These are sane defaults that work on at least a few old systems.
6683 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6685 # Character class describing NM global symbol codes.
6686 symcode='[BCDEGRST]'
6688 # Regexp to match symbols that can be accessed directly from C.
6689 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6691 # Define system-specific variables.
6696 cygwin* | mingw* | pw32* | cegcc*)
6697 symcode='[ABCDGISTW]'
6700 if test "$host_cpu" = ia64; then
6701 symcode='[ABCDEGRST]'
6705 symcode='[BCDEGRST]'
6708 symcode='[BCDEGQRST]'
6719 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6727 # If we're using GNU nm, then use its standard symbol codes.
6728 case `$NM -V 2>&1` in
6729 *GNU* | *'with BFD'*)
6730 symcode='[ABCDGIRSTW]' ;;
6733 # Transform an extracted symbol line into a proper C declaration.
6734 # Some systems (esp. on ia64) link data and code symbols differently,
6735 # so use this general approach.
6736 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6738 # Transform an extracted symbol line into symbol name and symbol address
6739 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6740 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'"
6742 # Handle CRLF in mingw tool chain
6746 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6750 # Try without a prefix underscore, then with it.
6751 for ac_symprfx in "" "_"; do
6753 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6754 symxfrm="\\1 $ac_symprfx\\2 \\2"
6756 # Write the raw and C identifiers.
6757 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6758 # Fake it for dumpbin and say T for any non-static function
6759 # and D for any global variable.
6760 # Also find C++ and __fastcall symbols from MSVC++,
6761 # which start with @ or ?.
6762 lt_cv_sys_global_symbol_pipe="$AWK '"\
6763 " {last_section=section; section=\$ 3};"\
6764 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6765 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6766 " \$ 0!~/External *\|/{next};"\
6767 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6768 " {if(hide[section]) next};"\
6769 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6770 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6771 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6772 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6773 " ' prfx=^$ac_symprfx"
6775 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6777 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6779 # Check to see that the pipe works correctly.
6783 cat > conftest.$ac_ext <<_LT_EOF
6788 void nm_test_func(void);
6789 void nm_test_func(void){}
6793 int main(){nm_test_var='a';nm_test_func();return(0);}
6796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6797 (eval $ac_compile) 2>&5
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800 test $ac_status = 0; }; then
6801 # Now try to grab the symbols.
6803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6804 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6807 test $ac_status = 0; } && test -s "$nlist"; then
6808 # Try sorting and uniquifying the output.
6809 if sort "$nlist" | uniq > "$nlist"T; then
6810 mv -f "$nlist"T "$nlist"
6815 # Make sure that we snagged all the symbols we need.
6816 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6817 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6818 cat <<_LT_EOF > conftest.$ac_ext
6819 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6820 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6821 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6822 relocations are performed -- see ld's documentation on pseudo-relocs. */
6823 # define LT_DLSYM_CONST
6824 #elif defined(__osf__)
6825 /* This system does not cope well with relocations in const data. */
6826 # define LT_DLSYM_CONST
6828 # define LT_DLSYM_CONST const
6836 # Now generate the symbol file.
6837 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6839 cat <<_LT_EOF >> conftest.$ac_ext
6841 /* The mapping between symbol names and symbols. */
6842 LT_DLSYM_CONST struct {
6846 lt__PROGRAM__LTX_preloaded_symbols[] =
6848 { "@PROGRAM@", (void *) 0 },
6850 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6851 cat <<\_LT_EOF >> conftest.$ac_ext
6855 /* This works around a problem in FreeBSD linker */
6856 #ifdef FREEBSD_WORKAROUND
6857 static const void *lt_preloaded_setup() {
6858 return lt__PROGRAM__LTX_preloaded_symbols;
6866 # Now try linking the two files.
6867 mv conftest.$ac_objext conftstm.$ac_objext
6868 lt_globsym_save_LIBS=$LIBS
6869 lt_globsym_save_CFLAGS=$CFLAGS
6870 LIBS="conftstm.$ac_objext"
6871 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6873 (eval $ac_link) 2>&5
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6876 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6879 LIBS=$lt_globsym_save_LIBS
6880 CFLAGS=$lt_globsym_save_CFLAGS
6882 echo "cannot find nm_test_func in $nlist" >&5
6885 echo "cannot find nm_test_var in $nlist" >&5
6888 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6891 echo "$progname: failed program was:" >&5
6892 cat conftest.$ac_ext >&5
6894 rm -rf conftest* conftst*
6896 # Do not use the global_symbol_pipe unless it works.
6897 if test "$pipe_works" = yes; then
6900 lt_cv_sys_global_symbol_pipe=
6906 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6907 lt_cv_sys_global_symbol_to_cdecl=
6909 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6911 $as_echo "failed" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6914 $as_echo "ok" >&6; }
6917 # Response file support.
6918 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6919 nm_file_list_spec='@'
6920 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6921 nm_file_list_spec='@'
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6951 $as_echo_n "checking for sysroot... " >&6; }
6953 # Check whether --with-sysroot was given.
6954 if test "${with_sysroot+set}" = set; then :
6955 withval=$with_sysroot;
6962 case ${with_sysroot} in #(
6964 if test "$GCC" = yes; then
6965 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6969 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6975 $as_echo "${with_sysroot}" >&6; }
6976 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6981 $as_echo "${lt_sysroot:-no}" >&6; }
6987 # Check whether --enable-libtool-lock was given.
6988 if test "${enable_libtool_lock+set}" = set; then :
6989 enableval=$enable_libtool_lock;
6992 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6994 # Some flags need to be propagated to the compiler or linker for good
6998 # Find out which ABI we are using.
6999 echo 'int i;' > conftest.$ac_ext
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7001 (eval $ac_compile) 2>&5
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; }; then
7005 case `/usr/bin/file conftest.$ac_objext` in
7017 # Find out which ABI we are using.
7018 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7020 (eval $ac_compile) 2>&5
7022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023 test $ac_status = 0; }; then
7024 if test "$lt_cv_prog_gnu_ld" = yes; then
7025 case `/usr/bin/file conftest.$ac_objext` in
7027 LD="${LD-ld} -melf32bsmip"
7030 LD="${LD-ld} -melf32bmipn32"
7033 LD="${LD-ld} -melf64bmip"
7037 case `/usr/bin/file conftest.$ac_objext` in
7053 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7054 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7055 # Find out which ABI we are using.
7056 echo 'int i;' > conftest.$ac_ext
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7058 (eval $ac_compile) 2>&5
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; }; then
7062 case `/usr/bin/file conftest.o` in
7065 x86_64-*kfreebsd*-gnu)
7066 LD="${LD-ld} -m elf_i386_fbsd"
7069 case `/usr/bin/file conftest.o` in
7071 LD="${LD-ld} -m elf32_x86_64"
7074 LD="${LD-ld} -m elf_i386"
7078 ppc64-*linux*|powerpc64-*linux*)
7079 LD="${LD-ld} -m elf32ppclinux"
7082 LD="${LD-ld} -m elf_s390"
7085 LD="${LD-ld} -m elf32_sparc"
7091 x86_64-*kfreebsd*-gnu)
7092 LD="${LD-ld} -m elf_x86_64_fbsd"
7095 LD="${LD-ld} -m elf_x86_64"
7097 ppc*-*linux*|powerpc*-*linux*)
7098 LD="${LD-ld} -m elf64ppc"
7100 s390*-*linux*|s390*-*tpf*)
7101 LD="${LD-ld} -m elf64_s390"
7104 LD="${LD-ld} -m elf64_sparc"
7114 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7115 SAVE_CFLAGS="$CFLAGS"
7116 CFLAGS="$CFLAGS -belf"
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7118 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7119 if ${lt_cv_cc_needs_belf+:} false; then :
7120 $as_echo_n "(cached) " >&6
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7129 /* end confdefs.h. */
7139 if ac_fn_c_try_link "$LINENO"; then :
7140 lt_cv_cc_needs_belf=yes
7142 lt_cv_cc_needs_belf=no
7144 rm -f core conftest.err conftest.$ac_objext \
7145 conftest$ac_exeext conftest.$ac_ext
7147 ac_cpp='$CPP $CPPFLAGS'
7148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7154 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7155 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7156 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7157 CFLAGS="$SAVE_CFLAGS"
7161 # Find out which ABI we are using.
7162 echo 'int i;' > conftest.$ac_ext
7163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7164 (eval $ac_compile) 2>&5
7166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7167 test $ac_status = 0; }; then
7168 case `/usr/bin/file conftest.o` in
7170 case $lt_cv_prog_gnu_ld in
7174 LD="${LD-ld} -m elf_x86_64"
7177 LD="${LD-ld} -m elf64_sparc"
7180 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7181 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7186 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7198 need_locks="$enable_libtool_lock"
7200 if test -n "$ac_tool_prefix"; then
7201 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7202 set dummy ${ac_tool_prefix}mt; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7206 $as_echo_n "(cached) " >&6
7208 if test -n "$MANIFEST_TOOL"; then
7209 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7218 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7229 if test -n "$MANIFEST_TOOL"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7231 $as_echo "$MANIFEST_TOOL" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7239 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7240 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7241 # Extract the first word of "mt", so it can be a program name with args.
7242 set dummy mt; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7246 $as_echo_n "(cached) " >&6
7248 if test -n "$ac_ct_MANIFEST_TOOL"; then
7249 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7269 if test -n "$ac_ct_MANIFEST_TOOL"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7271 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 $as_echo "no" >&6; }
7277 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7280 case $cross_compiling:$ac_tool_warned in
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7284 ac_tool_warned=yes ;;
7286 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7289 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7292 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7294 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7295 if ${lt_cv_path_mainfest_tool+:} false; then :
7296 $as_echo_n "(cached) " >&6
7298 lt_cv_path_mainfest_tool=no
7299 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7300 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7301 cat conftest.err >&5
7302 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7303 lt_cv_path_mainfest_tool=yes
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7308 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7309 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7319 rhapsody* | darwin*)
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$DSYMUTIL"; then
7329 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7349 if test -n "$DSYMUTIL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7351 $as_echo "$DSYMUTIL" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_DSYMUTIL"; then
7360 ac_ct_DSYMUTIL=$DSYMUTIL
7361 # Extract the first word of "dsymutil", so it can be a program name with args.
7362 set dummy dsymutil; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$ac_ct_DSYMUTIL"; then
7369 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7389 if test -n "$ac_ct_DSYMUTIL"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7391 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 if test "x$ac_ct_DSYMUTIL" = x; then
7400 case $cross_compiling:$ac_tool_warned in
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7406 DSYMUTIL=$ac_ct_DSYMUTIL
7409 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_NMEDIT+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$NMEDIT"; then
7421 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 NMEDIT=$ac_cv_prog_NMEDIT
7441 if test -n "$NMEDIT"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7443 $as_echo "$NMEDIT" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7451 if test -z "$ac_cv_prog_NMEDIT"; then
7452 ac_ct_NMEDIT=$NMEDIT
7453 # Extract the first word of "nmedit", so it can be a program name with args.
7454 set dummy nmedit; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_NMEDIT"; then
7461 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7481 if test -n "$ac_ct_NMEDIT"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7483 $as_echo "$ac_ct_NMEDIT" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7489 if test "x$ac_ct_NMEDIT" = x; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7498 NMEDIT=$ac_ct_NMEDIT
7501 NMEDIT="$ac_cv_prog_NMEDIT"
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_LIPO+:} false; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$LIPO"; then
7513 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 LIPO=$ac_cv_prog_LIPO
7533 if test -n "$LIPO"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7535 $as_echo "$LIPO" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7543 if test -z "$ac_cv_prog_LIPO"; then
7545 # Extract the first word of "lipo", so it can be a program name with args.
7546 set dummy lipo; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$ac_ct_LIPO"; then
7553 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_ac_ct_LIPO="lipo"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7573 if test -n "$ac_ct_LIPO"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7575 $as_echo "$ac_ct_LIPO" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7581 if test "x$ac_ct_LIPO" = x; then
7584 case $cross_compiling:$ac_tool_warned in
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7593 LIPO="$ac_cv_prog_LIPO"
7596 if test -n "$ac_tool_prefix"; then
7597 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7598 set dummy ${ac_tool_prefix}otool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if ${ac_cv_prog_OTOOL+:} false; then :
7602 $as_echo_n "(cached) " >&6
7604 if test -n "$OTOOL"; then
7605 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 OTOOL=$ac_cv_prog_OTOOL
7625 if test -n "$OTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7627 $as_echo "$OTOOL" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7635 if test -z "$ac_cv_prog_OTOOL"; then
7637 # Extract the first word of "otool", so it can be a program name with args.
7638 set dummy otool; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7642 $as_echo_n "(cached) " >&6
7644 if test -n "$ac_ct_OTOOL"; then
7645 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654 ac_cv_prog_ac_ct_OTOOL="otool"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7665 if test -n "$ac_ct_OTOOL"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7667 $as_echo "$ac_ct_OTOOL" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7673 if test "x$ac_ct_OTOOL" = x; then
7676 case $cross_compiling:$ac_tool_warned in
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7680 ac_tool_warned=yes ;;
7685 OTOOL="$ac_cv_prog_OTOOL"
7688 if test -n "$ac_tool_prefix"; then
7689 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7690 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if ${ac_cv_prog_OTOOL64+:} false; then :
7694 $as_echo_n "(cached) " >&6
7696 if test -n "$OTOOL64"; then
7697 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 OTOOL64=$ac_cv_prog_OTOOL64
7717 if test -n "$OTOOL64"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7719 $as_echo "$OTOOL64" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7727 if test -z "$ac_cv_prog_OTOOL64"; then
7728 ac_ct_OTOOL64=$OTOOL64
7729 # Extract the first word of "otool64", so it can be a program name with args.
7730 set dummy otool64; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7734 $as_echo_n "(cached) " >&6
7736 if test -n "$ac_ct_OTOOL64"; then
7737 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ac_ct_OTOOL64="otool64"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7757 if test -n "$ac_ct_OTOOL64"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7759 $as_echo "$ac_ct_OTOOL64" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7765 if test "x$ac_ct_OTOOL64" = x; then
7768 case $cross_compiling:$ac_tool_warned in
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7772 ac_tool_warned=yes ;;
7774 OTOOL64=$ac_ct_OTOOL64
7777 OTOOL64="$ac_cv_prog_OTOOL64"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7807 $as_echo_n "checking for -single_module linker flag... " >&6; }
7808 if ${lt_cv_apple_cc_single_mod+:} false; then :
7809 $as_echo_n "(cached) " >&6
7811 lt_cv_apple_cc_single_mod=no
7812 if test -z "${LT_MULTI_MODULE}"; then
7813 # By default we will add the -single_module flag. You can override
7814 # by either setting the environment variable LT_MULTI_MODULE
7815 # non-empty at configure time, or by adding -multi_module to the
7817 rm -rf libconftest.dylib*
7818 echo "int foo(void){return 1;}" > conftest.c
7819 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7820 -dynamiclib -Wl,-single_module conftest.c" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7822 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7824 # If there is a non-empty error log, and "single_module"
7825 # appears in it, assume the flag caused a linker warning
7826 if test -s conftest.err && $GREP single_module conftest.err; then
7827 cat conftest.err >&5
7828 # Otherwise, if the output was created with a 0 exit code from
7829 # the compiler, it worked.
7830 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7831 lt_cv_apple_cc_single_mod=yes
7833 cat conftest.err >&5
7835 rm -rf libconftest.dylib*
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7843 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7844 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7845 $as_echo_n "(cached) " >&6
7847 lt_cv_ld_exported_symbols_list=no
7848 save_LDFLAGS=$LDFLAGS
7849 echo "_main" > conftest.sym
7850 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7862 if ac_fn_c_try_link "$LINENO"; then :
7863 lt_cv_ld_exported_symbols_list=yes
7865 lt_cv_ld_exported_symbols_list=no
7867 rm -f core conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 LDFLAGS="$save_LDFLAGS"
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7873 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7876 $as_echo_n "checking for -force_load linker flag... " >&6; }
7877 if ${lt_cv_ld_force_load+:} false; then :
7878 $as_echo_n "(cached) " >&6
7880 lt_cv_ld_force_load=no
7881 cat > conftest.c << _LT_EOF
7882 int forced_loaded() { return 2;}
7884 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7885 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7886 echo "$AR cru libconftest.a conftest.o" >&5
7887 $AR cru libconftest.a conftest.o 2>&5
7888 echo "$RANLIB libconftest.a" >&5
7889 $RANLIB libconftest.a 2>&5
7890 cat > conftest.c << _LT_EOF
7891 int main() { return 0;}
7893 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7894 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7896 if test -s conftest.err && $GREP force_load conftest.err; then
7897 cat conftest.err >&5
7898 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7899 lt_cv_ld_force_load=yes
7901 cat conftest.err >&5
7903 rm -f conftest.err libconftest.a conftest conftest.c
7904 rm -rf conftest.dSYM
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7908 $as_echo "$lt_cv_ld_force_load" >&6; }
7910 rhapsody* | darwin1.[012])
7911 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7913 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7914 darwin*) # darwin 5.x on
7915 # if running on 10.5 or later, the deployment target defaults
7916 # to the OS version, if on x86, and 10.4, the deployment
7917 # target defaults to 10.4. Don't you love it?
7918 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7919 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7920 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7922 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7924 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7928 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7929 _lt_dar_single_mod='$single_module'
7931 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7932 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7934 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7936 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7937 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 for ac_header in dlfcn.h
7946 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7948 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7949 cat >>confdefs.h <<_ACEOF
7950 #define HAVE_DLFCN_H 1
7971 # Check whether --enable-shared was given.
7972 if test "${enable_shared+set}" = set; then :
7973 enableval=$enable_shared; p=${PACKAGE-default}
7975 yes) enable_shared=yes ;;
7976 no) enable_shared=no ;;
7979 # Look at the argument we got. We use all the common list separators.
7980 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7981 for pkg in $enableval; do
7983 if test "X$pkg" = "X$p"; then
8002 # Check whether --enable-static was given.
8003 if test "${enable_static+set}" = set; then :
8004 enableval=$enable_static; p=${PACKAGE-default}
8006 yes) enable_static=yes ;;
8007 no) enable_static=no ;;
8010 # Look at the argument we got. We use all the common list separators.
8011 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8012 for pkg in $enableval; do
8014 if test "X$pkg" = "X$p"; then
8034 # Check whether --with-pic was given.
8035 if test "${with_pic+set}" = set; then :
8036 withval=$with_pic; lt_p=${PACKAGE-default}
8038 yes|no) pic_mode=$withval ;;
8041 # Look at the argument we got. We use all the common list separators.
8042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043 for lt_pkg in $withval; do
8045 if test "X$lt_pkg" = "X$lt_p"; then
8057 test -z "$pic_mode" && pic_mode=default
8065 # Check whether --enable-fast-install was given.
8066 if test "${enable_fast_install+set}" = set; then :
8067 enableval=$enable_fast_install; p=${PACKAGE-default}
8069 yes) enable_fast_install=yes ;;
8070 no) enable_fast_install=no ;;
8072 enable_fast_install=no
8073 # Look at the argument we got. We use all the common list separators.
8074 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8075 for pkg in $enableval; do
8077 if test "X$pkg" = "X$p"; then
8078 enable_fast_install=yes
8085 enable_fast_install=yes
8098 # This can be used to rebuild libtool when needed
8099 LIBTOOL_DEPS="$ltmain"
8101 # Always use our own libtool.
8102 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8133 test -z "$LN_S" && LN_S="ln -s"
8148 if test -n "${ZSH_VERSION+set}" ; then
8149 setopt NO_GLOB_SUBST
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8153 $as_echo_n "checking for objdir... " >&6; }
8154 if ${lt_cv_objdir+:} false; then :
8155 $as_echo_n "(cached) " >&6
8157 rm -f .libs 2>/dev/null
8158 mkdir .libs 2>/dev/null
8159 if test -d .libs; then
8162 # MS-DOS does not allow filenames that begin with a dot.
8165 rmdir .libs 2>/dev/null
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8168 $as_echo "$lt_cv_objdir" >&6; }
8169 objdir=$lt_cv_objdir
8175 cat >>confdefs.h <<_ACEOF
8176 #define LT_OBJDIR "$lt_cv_objdir/"
8184 # AIX sometimes has problems with the GCC collect2 program. For some
8185 # reason, if we set the COLLECT_NAMES environment variable, the problems
8186 # vanish in a puff of smoke.
8187 if test "X${COLLECT_NAMES+set}" != Xset; then
8189 export COLLECT_NAMES
8196 can_build_shared=yes
8198 # All known linkers require a `.a' archive for static linking (except MSVC,
8199 # which needs '.lib').
8202 with_gnu_ld="$lt_cv_prog_gnu_ld"
8205 old_CFLAGS="$CFLAGS"
8207 # Set sane defaults for various variables
8208 test -z "$CC" && CC=cc
8209 test -z "$LTCC" && LTCC=$CC
8210 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8211 test -z "$LD" && LD=ld
8212 test -z "$ac_objext" && ac_objext=o
8214 for cc_temp in $compiler""; do
8216 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8217 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8222 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8225 # Only perform the check for file, if the check method requires it
8226 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8227 case $deplibs_check_method in
8229 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8231 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8232 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8233 $as_echo_n "(cached) " >&6
8237 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8240 lt_save_MAGIC_CMD="$MAGIC_CMD"
8241 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8242 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8243 for ac_dir in $ac_dummy; do
8245 test -z "$ac_dir" && ac_dir=.
8246 if test -f $ac_dir/${ac_tool_prefix}file; then
8247 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8248 if test -n "$file_magic_test_file"; then
8249 case $deplibs_check_method in
8251 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8254 $EGREP "$file_magic_regex" > /dev/null; then
8259 *** Warning: the command libtool uses to detect shared libraries,
8260 *** $file_magic_cmd, produces output that libtool cannot recognize.
8261 *** The result is that libtool may fail to recognize shared libraries
8262 *** as such. This will affect the creation of libtool libraries that
8263 *** depend on shared libraries, but programs linked with such libtool
8264 *** libraries will work regardless of this problem. Nevertheless, you
8265 *** may want to report the problem to your system manager and/or to
8266 *** bug-libtool@gnu.org
8276 MAGIC_CMD="$lt_save_MAGIC_CMD"
8281 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8282 if test -n "$MAGIC_CMD"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8284 $as_echo "$MAGIC_CMD" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8294 if test -z "$lt_cv_path_MAGIC_CMD"; then
8295 if test -n "$ac_tool_prefix"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8297 $as_echo_n "checking for file... " >&6; }
8298 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8299 $as_echo_n "(cached) " >&6
8303 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8306 lt_save_MAGIC_CMD="$MAGIC_CMD"
8307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8308 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8309 for ac_dir in $ac_dummy; do
8311 test -z "$ac_dir" && ac_dir=.
8312 if test -f $ac_dir/file; then
8313 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8314 if test -n "$file_magic_test_file"; then
8315 case $deplibs_check_method in
8317 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8320 $EGREP "$file_magic_regex" > /dev/null; then
8325 *** Warning: the command libtool uses to detect shared libraries,
8326 *** $file_magic_cmd, produces output that libtool cannot recognize.
8327 *** The result is that libtool may fail to recognize shared libraries
8328 *** as such. This will affect the creation of libtool libraries that
8329 *** depend on shared libraries, but programs linked with such libtool
8330 *** libraries will work regardless of this problem. Nevertheless, you
8331 *** may want to report the problem to your system manager and/or to
8332 *** bug-libtool@gnu.org
8342 MAGIC_CMD="$lt_save_MAGIC_CMD"
8347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348 if test -n "$MAGIC_CMD"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8350 $as_echo "$MAGIC_CMD" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8366 # Use C for the default configuration in the libtool script
8370 ac_cpp='$CPP $CPPFLAGS'
8371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8376 # Source file extension for C test sources.
8379 # Object file extension for compiled C test sources.
8383 # Code to be used in simple compile tests
8384 lt_simple_compile_test_code="int some_variable = 0;"
8386 # Code to be used in simple link tests
8387 lt_simple_link_test_code='int main(){return(0);}'
8395 # If no C compiler was specified, use CC.
8398 # If no C compiler flags were specified, use CFLAGS.
8399 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8401 # Allow CC to be a program name with arguments.
8404 # Save the default compiler, since it gets overwritten when the other
8405 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8406 compiler_DEFAULT=$CC
8408 # save warnings/boilerplate of simple test code
8409 ac_outfile=conftest.$ac_objext
8410 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8411 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8412 _lt_compiler_boilerplate=`cat conftest.err`
8415 ac_outfile=conftest.$ac_objext
8416 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8417 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8418 _lt_linker_boilerplate=`cat conftest.err`
8423 ## There is no encapsulation within the following macros, do not change
8424 ## the running order or otherwise move them around unless you know exactly
8425 ## what you are doing...
8426 if test -n "$compiler"; then
8428 lt_prog_compiler_no_builtin_flag=
8430 if test "$GCC" = yes; then
8431 case $cc_basename in
8433 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8435 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8439 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8440 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8441 $as_echo_n "(cached) " >&6
8443 lt_cv_prog_compiler_rtti_exceptions=no
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8446 lt_compiler_flag="-fno-rtti -fno-exceptions"
8447 # Insert the option either (1) after the last *FLAGS variable, or
8448 # (2) before a word containing "conftest.", or (3) at the end.
8449 # Note that $ac_compile itself does not contain backslashes and begins
8450 # with a dollar sign (not a hyphen), so the echo should work correctly.
8451 # The option is referenced via a variable to avoid confusing sed.
8452 lt_compile=`echo "$ac_compile" | $SED \
8453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8455 -e 's:$: $lt_compiler_flag:'`
8456 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8457 (eval "$lt_compile" 2>conftest.err)
8459 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 if (exit $ac_status) && test -s "$ac_outfile"; then
8462 # The compiler can only warn and ignore the option if not recognized
8463 # So say no if there are warnings other than the usual output.
8464 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8465 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8466 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8467 lt_cv_prog_compiler_rtti_exceptions=yes
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8474 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8476 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8477 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 lt_prog_compiler_wl=
8490 lt_prog_compiler_pic=
8491 lt_prog_compiler_static=
8494 if test "$GCC" = yes; then
8495 lt_prog_compiler_wl='-Wl,'
8496 lt_prog_compiler_static='-static'
8500 # All AIX code is PIC.
8501 if test "$host_cpu" = ia64; then
8502 # AIX 5 now supports IA64 processor
8503 lt_prog_compiler_static='-Bstatic'
8510 # see comment about AmigaOS4 .so support
8511 lt_prog_compiler_pic='-fPIC'
8514 # FIXME: we need at least 68020 code to build shared libraries, but
8515 # adding the `-m68020' flag to GCC prevents building anything better,
8517 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8522 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8523 # PIC is the default for these OSes.
8526 mingw* | cygwin* | pw32* | os2* | cegcc*)
8527 # This hack is so that the source file can tell whether it is being
8528 # built for inclusion in a dll (and should export symbols for example).
8529 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8530 # (--disable-auto-import) libraries
8531 lt_prog_compiler_pic='-DDLL_EXPORT'
8534 darwin* | rhapsody*)
8535 # PIC is the default on this platform
8536 # Common symbols not allowed in MH_DYLIB files
8537 lt_prog_compiler_pic='-fno-common'
8541 # PIC is the default for Haiku.
8542 # The "-static" flag exists, but is broken.
8543 lt_prog_compiler_static=
8547 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8548 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8549 # sets the default TLS model and affects inlining.
8555 lt_prog_compiler_pic='-fPIC'
8561 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8562 # Instead, we relocate shared libraries at runtime.
8566 # Just because we use GCC doesn't mean we suddenly get shared libraries
8567 # on systems that don't support them.
8568 lt_prog_compiler_can_build_shared=no
8573 # QNX uses GNU C++, but need to define -shared option too, otherwise
8575 lt_prog_compiler_pic='-fPIC -shared'
8579 if test -d /usr/nec; then
8580 lt_prog_compiler_pic=-Kconform_pic
8585 lt_prog_compiler_pic='-fPIC'
8589 case $cc_basename in
8590 nvcc*) # Cuda Compiler Driver 2.2
8591 lt_prog_compiler_wl='-Xlinker '
8592 if test -n "$lt_prog_compiler_pic"; then
8593 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8598 # PORTME Check for flag to pass linker flags through the system compiler.
8601 lt_prog_compiler_wl='-Wl,'
8602 if test "$host_cpu" = ia64; then
8603 # AIX 5 now supports IA64 processor
8604 lt_prog_compiler_static='-Bstatic'
8606 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8610 mingw* | cygwin* | pw32* | os2* | cegcc*)
8611 # This hack is so that the source file can tell whether it is being
8612 # built for inclusion in a dll (and should export symbols for example).
8613 lt_prog_compiler_pic='-DDLL_EXPORT'
8616 hpux9* | hpux10* | hpux11*)
8617 lt_prog_compiler_wl='-Wl,'
8618 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8625 lt_prog_compiler_pic='+Z'
8628 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8629 lt_prog_compiler_static='${wl}-a ${wl}archive'
8632 irix5* | irix6* | nonstopux*)
8633 lt_prog_compiler_wl='-Wl,'
8634 # PIC (with -KPIC) is the default.
8635 lt_prog_compiler_static='-non_shared'
8638 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8639 case $cc_basename in
8640 # old Intel for x86_64 which still supported -KPIC.
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_pic='-KPIC'
8644 lt_prog_compiler_static='-static'
8646 # icc used to be incompatible with GCC.
8647 # ICC 10 doesn't accept -KPIC any more.
8649 lt_prog_compiler_wl='-Wl,'
8650 lt_prog_compiler_pic='-fPIC'
8651 lt_prog_compiler_static='-static'
8653 # Lahey Fortran 8.1.
8655 lt_prog_compiler_wl='-Wl,'
8656 lt_prog_compiler_pic='--shared'
8657 lt_prog_compiler_static='--static'
8660 # NAG Fortran compiler
8661 lt_prog_compiler_wl='-Wl,-Wl,,'
8662 lt_prog_compiler_pic='-PIC'
8663 lt_prog_compiler_static='-Bstatic'
8665 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8666 # Portland Group compilers (*not* the Pentium gcc compiler,
8667 # which looks to be a dead project)
8668 lt_prog_compiler_wl='-Wl,'
8669 lt_prog_compiler_pic='-fpic'
8670 lt_prog_compiler_static='-Bstatic'
8673 lt_prog_compiler_wl='-Wl,'
8674 # All Alpha code is PIC.
8675 lt_prog_compiler_static='-non_shared'
8677 xl* | bgxl* | bgf* | mpixl*)
8678 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='-qpic'
8681 lt_prog_compiler_static='-qstaticlink'
8684 case `$CC -V 2>&1 | sed 5q` in
8685 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8686 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8689 lt_prog_compiler_wl=''
8691 *Sun\ F* | *Sun*Fortran*)
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl='-Qoption ld '
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8702 *Intel*\ [CF]*Compiler*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-fpic'
8710 lt_prog_compiler_static='-Bstatic'
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-Bstatic'
8723 # QNX uses GNU C++, but need to define -shared option too, otherwise
8725 lt_prog_compiler_pic='-fPIC -shared'
8728 osf3* | osf4* | osf5*)
8729 lt_prog_compiler_wl='-Wl,'
8730 # All OSF/1 code is PIC.
8731 lt_prog_compiler_static='-non_shared'
8735 lt_prog_compiler_static='-non_shared'
8739 lt_prog_compiler_pic='-KPIC'
8740 lt_prog_compiler_static='-Bstatic'
8741 case $cc_basename in
8742 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8743 lt_prog_compiler_wl='-Qoption ld ';;
8745 lt_prog_compiler_wl='-Wl,';;
8750 lt_prog_compiler_wl='-Qoption ld '
8751 lt_prog_compiler_pic='-PIC'
8752 lt_prog_compiler_static='-Bstatic'
8755 sysv4 | sysv4.2uw2* | sysv4.3*)
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8762 if test -d /usr/nec ;then
8763 lt_prog_compiler_pic='-Kconform_pic'
8764 lt_prog_compiler_static='-Bstatic'
8768 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-KPIC'
8771 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_can_build_shared=no
8780 lt_prog_compiler_pic='-pic'
8781 lt_prog_compiler_static='-Bstatic'
8785 lt_prog_compiler_can_build_shared=no
8791 # For platforms which do not support PIC, -DPIC is meaningless:
8793 lt_prog_compiler_pic=
8796 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8801 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8802 if ${lt_cv_prog_compiler_pic+:} false; then :
8803 $as_echo_n "(cached) " >&6
8805 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8808 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8809 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8812 # Check to make sure the PIC flag actually works.
8814 if test -n "$lt_prog_compiler_pic"; then
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8816 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8817 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8818 $as_echo_n "(cached) " >&6
8820 lt_cv_prog_compiler_pic_works=no
8821 ac_outfile=conftest.$ac_objext
8822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8824 # Insert the option either (1) after the last *FLAGS variable, or
8825 # (2) before a word containing "conftest.", or (3) at the end.
8826 # Note that $ac_compile itself does not contain backslashes and begins
8827 # with a dollar sign (not a hyphen), so the echo should work correctly.
8828 # The option is referenced via a variable to avoid confusing sed.
8829 lt_compile=`echo "$ac_compile" | $SED \
8830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832 -e 's:$: $lt_compiler_flag:'`
8833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834 (eval "$lt_compile" 2>conftest.err)
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 if (exit $ac_status) && test -s "$ac_outfile"; then
8839 # The compiler can only warn and ignore the option if not recognized
8840 # So say no if there are warnings other than the usual output.
8841 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8842 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8843 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8844 lt_cv_prog_compiler_pic_works=yes
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8851 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8853 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8854 case $lt_prog_compiler_pic in
8856 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8859 lt_prog_compiler_pic=
8860 lt_prog_compiler_can_build_shared=no
8876 # Check to make sure the static flag actually works.
8878 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8881 if ${lt_cv_prog_compiler_static_works+:} false; then :
8882 $as_echo_n "(cached) " >&6
8884 lt_cv_prog_compiler_static_works=no
8885 save_LDFLAGS="$LDFLAGS"
8886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8889 # The linker can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 if test -s conftest.err; then
8892 # Append any errors to the config.log.
8893 cat conftest.err 1>&5
8894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8896 if diff conftest.exp conftest.er2 >/dev/null; then
8897 lt_cv_prog_compiler_static_works=yes
8900 lt_cv_prog_compiler_static_works=yes
8904 LDFLAGS="$save_LDFLAGS"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8908 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8910 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8913 lt_prog_compiler_static=
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
8925 $as_echo_n "(cached) " >&6
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out/conftest2.$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8979 if ${lt_cv_prog_compiler_c_o+:} false; then :
8980 $as_echo_n "(cached) " >&6
8982 lt_cv_prog_compiler_c_o=no
8983 $RM -r conftest 2>/dev/null
8987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989 lt_compiler_flag="-o out/conftest2.$ac_objext"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 lt_compile=`echo "$ac_compile" | $SED \
8995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8997 -e 's:$: $lt_compiler_flag:'`
8998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8999 (eval "$lt_compile" 2>out/conftest.err)
9001 cat out/conftest.err >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9008 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9009 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9010 lt_cv_prog_compiler_c_o=yes
9015 # SGI C++ compiler will create directory out/ii_files/ for
9016 # template instantiation
9017 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9018 $RM out/* && rmdir out
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9030 hard_links="nottested"
9031 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9032 # do not overwrite the value of need_locks provided by the user
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9034 $as_echo_n "checking if we can lock with hard links... " >&6; }
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9039 ln conftest.a conftest.b 2>&5 || hard_links=no
9040 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9042 $as_echo "$hard_links" >&6; }
9043 if test "$hard_links" = no; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9045 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9058 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9061 allow_undefined_flag=
9062 always_export_symbols=no
9064 archive_expsym_cmds=
9065 compiler_needs_object=no
9066 enable_shared_with_static_runtimes=no
9067 export_dynamic_flag_spec=
9068 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9069 hardcode_automatic=no
9071 hardcode_direct_absolute=no
9072 hardcode_libdir_flag_spec=
9073 hardcode_libdir_separator=
9075 hardcode_shlibpath_var=unsupported
9077 link_all_deplibs=unknown
9080 old_archive_from_new_cmds=
9081 old_archive_from_expsyms_cmds=
9082 thread_safe_flag_spec=
9083 whole_archive_flag_spec=
9084 # include_expsyms should be a list of space-separated symbols to be *always*
9085 # included in the symbol list
9087 # exclude_expsyms can be an extended regexp of symbols to exclude
9088 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9089 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9090 # as well as any symbol that contains `d'.
9091 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9092 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9093 # platforms (ab)use it in PIC code, but their linkers get confused if
9094 # the symbol is explicitly referenced. Since portable code cannot
9095 # rely on this symbol name, it's probably fine to never include it in
9096 # preloaded symbol tables.
9097 # Exclude shared library initialization/finalization symbols.
9098 extract_expsyms_cmds=
9101 cygwin* | mingw* | pw32* | cegcc*)
9102 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9103 # When not using gcc, we currently assume that we are using
9104 # Microsoft Visual C++.
9105 if test "$GCC" != yes; then
9110 # we just hope/assume this is gcc and not c89 (= MSVC++)
9116 linux* | k*bsd*-gnu | gnu*)
9123 # On some targets, GNU ld is compatible enough with the native linker
9124 # that we're better off using the native interface for both.
9125 lt_use_gnu_ld_interface=no
9126 if test "$with_gnu_ld" = yes; then
9129 # The AIX port of GNU ld has always aspired to compatibility
9130 # with the native linker. However, as the warning in the GNU ld
9131 # block says, versions before 2.19.5* couldn't really create working
9132 # shared libraries, regardless of the interface used.
9133 case `$LD -v 2>&1` in
9134 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9135 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9136 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9138 lt_use_gnu_ld_interface=yes
9143 lt_use_gnu_ld_interface=yes
9148 if test "$lt_use_gnu_ld_interface" = yes; then
9149 # If archive_cmds runs LD, not CC, wlarc should be empty
9152 # Set some defaults for GNU ld with shared library support. These
9153 # are reset later if shared libraries are not supported. Putting them
9154 # here allows them to be overridden if necessary.
9155 runpath_var=LD_RUN_PATH
9156 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9157 export_dynamic_flag_spec='${wl}--export-dynamic'
9158 # ancient GNU ld didn't support --whole-archive et. al.
9159 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9160 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9162 whole_archive_flag_spec=
9164 supports_anon_versioning=no
9165 case `$LD -v 2>&1` in
9166 *GNU\ gold*) supports_anon_versioning=yes ;;
9167 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9168 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9169 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9170 *\ 2.11.*) ;; # other 2.11 versions
9171 *) supports_anon_versioning=yes ;;
9174 # See if GNU ld supports shared libraries.
9177 # On AIX/PPC, the GNU linker is very broken
9178 if test "$host_cpu" != ia64; then
9182 *** Warning: the GNU linker, at least up to release 2.19, is reported
9183 *** to be unable to reliably create shared libraries on AIX.
9184 *** Therefore, libtool is disabling shared libraries support. If you
9185 *** really care for shared libraries, you may want to install binutils
9186 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9187 *** You will then need to restart the configuration process.
9196 # see comment about AmigaOS4 .so support
9197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198 archive_expsym_cmds=''
9201 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)'
9202 hardcode_libdir_flag_spec='-L$libdir'
9203 hardcode_minus_L=yes
9209 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9210 allow_undefined_flag=unsupported
9211 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9212 # support --undefined. This deserves some investigation. FIXME
9213 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219 cygwin* | mingw* | pw32* | cegcc*)
9220 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9221 # as there is no search path for DLLs.
9222 hardcode_libdir_flag_spec='-L$libdir'
9223 export_dynamic_flag_spec='${wl}--export-all-symbols'
9224 allow_undefined_flag=unsupported
9225 always_export_symbols=no
9226 enable_shared_with_static_runtimes=yes
9227 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'
9228 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9230 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9231 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9232 # If the export-symbols file already is a .def file (1st line
9233 # is EXPORTS), use it as is; otherwise, prepend...
9234 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9235 cp $export_symbols $output_objdir/$soname.def;
9237 echo EXPORTS > $output_objdir/$soname.def;
9238 cat $export_symbols >> $output_objdir/$soname.def;
9240 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9248 link_all_deplibs=yes
9253 hardcode_shlibpath_var=no
9254 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9255 export_dynamic_flag_spec='${wl}-E'
9256 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9257 # Instead, shared libraries are loaded at an image base (0x10000000 by
9258 # default) and relocated if they conflict, which is a slow very memory
9259 # consuming and fragmenting process. To avoid this, we pick a random,
9260 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9261 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9262 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9263 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'
9266 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9268 if test "$host_os" = linux-dietlibc; then
9269 case $cc_basename in
9270 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9273 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9274 && test "$tmp_diet" = no
9276 tmp_addflag=' $pic_flag'
9277 tmp_sharedflag='-shared'
9278 case $cc_basename,$host_cpu in
9279 pgcc*) # Portland Group C compiler
9280 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'
9281 tmp_addflag=' $pic_flag'
9283 pgf77* | pgf90* | pgf95* | pgfortran*)
9284 # Portland Group f77 and f90 compilers
9285 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'
9286 tmp_addflag=' $pic_flag -Mnomain' ;;
9287 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9288 tmp_addflag=' -i_dynamic' ;;
9289 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9290 tmp_addflag=' -i_dynamic -nofor_main' ;;
9291 ifc* | ifort*) # Intel Fortran compiler
9292 tmp_addflag=' -nofor_main' ;;
9293 lf95*) # Lahey Fortran 8.1
9294 whole_archive_flag_spec=
9295 tmp_sharedflag='--shared' ;;
9296 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9297 tmp_sharedflag='-qmkshrobj'
9299 nvcc*) # Cuda Compiler Driver 2.2
9300 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'
9301 compiler_needs_object=yes
9304 case `$CC -V 2>&1 | sed 5q` in
9305 *Sun\ C*) # Sun C 5.9
9306 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'
9307 compiler_needs_object=yes
9308 tmp_sharedflag='-G' ;;
9309 *Sun\ F*) # Sun Fortran 8.3
9310 tmp_sharedflag='-G' ;;
9312 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 if test "x$supports_anon_versioning" = xyes; then
9315 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9316 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9317 echo "local: *; };" >> $output_objdir/$libname.ver~
9318 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9321 case $cc_basename in
9322 xlf* | bgf* | bgxlf* | mpixlf*)
9323 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9324 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9325 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9326 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9327 if test "x$supports_anon_versioning" = xyes; then
9328 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9329 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9330 echo "local: *; };" >> $output_objdir/$libname.ver~
9331 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9340 netbsd* | netbsdelf*-gnu)
9341 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9342 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9345 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9355 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9356 *** create shared libraries on Solaris systems. Therefore, libtool
9357 *** is disabling shared libraries support. We urge you to upgrade GNU
9358 *** binutils to release 2.9.1 or newer. Another option is to modify
9359 *** your PATH or compiler configuration so that the native linker is
9360 *** used, and then restart.
9363 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9364 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9372 case `$LD -v 2>&1` in
9373 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9377 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9378 *** reliably create shared libraries on SCO systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9387 # For security reasons, it is highly recommended that you always
9388 # use absolute paths for naming shared libraries, and exclude the
9389 # DT_RUNPATH tag from executables and libraries. But doing so
9390 # requires that you compile everything twice, which is a pain.
9391 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9393 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9403 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9406 hardcode_shlibpath_var=no
9410 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9419 if test "$ld_shlibs" = no; then
9421 hardcode_libdir_flag_spec=
9422 export_dynamic_flag_spec=
9423 whole_archive_flag_spec=
9426 # PORTME fill in a description of your system's linker (not GNU ld)
9429 allow_undefined_flag=unsupported
9430 always_export_symbols=yes
9431 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'
9432 # Note: this linker hardcodes the directories in LIBPATH if there
9433 # are no directories specified by -L.
9434 hardcode_minus_L=yes
9435 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9436 # Neither direct hardcoding nor static linking is supported with a
9438 hardcode_direct=unsupported
9443 if test "$host_cpu" = ia64; then
9444 # On IA64, the linker does run time linking by default, so we don't
9445 # have to do anything special.
9446 aix_use_runtimelinking=no
9447 exp_sym_flag='-Bexport'
9450 # If we're using GNU nm, then we don't want the "-C" option.
9451 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9452 # Also, AIX nm treats weak defined symbols like other global
9453 # defined symbols, whereas GNU nm marks them as "W".
9454 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9455 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'
9457 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'
9459 aix_use_runtimelinking=no
9461 # Test if we are trying to use run time linking or normal
9462 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9463 # need to do runtime linking.
9464 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9465 for ld_flag in $LDFLAGS; do
9466 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9467 aix_use_runtimelinking=yes
9474 exp_sym_flag='-bexport'
9475 no_entry_flag='-bnoentry'
9478 # When large executables or shared objects are built, AIX ld can
9479 # have problems creating the table of contents. If linking a library
9480 # or program results in "error TOC overflow" add -mminimal-toc to
9481 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9482 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9486 hardcode_direct_absolute=yes
9487 hardcode_libdir_separator=':'
9488 link_all_deplibs=yes
9489 file_list_spec='${wl}-f,'
9491 if test "$GCC" = yes; then
9492 case $host_os in aix4.[012]|aix4.[012].*)
9493 # We only want to do this on AIX 4.2 and lower, the check
9494 # below for broken collect2 doesn't work under 4.3+
9495 collect2name=`${CC} -print-prog-name=collect2`
9496 if test -f "$collect2name" &&
9497 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9499 # We have reworked collect2
9502 # We have old collect2
9503 hardcode_direct=unsupported
9504 # It fails to find uninstalled libraries when the uninstalled
9505 # path is not listed in the libpath. Setting hardcode_minus_L
9506 # to unsupported forces relinking
9507 hardcode_minus_L=yes
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_libdir_separator=
9513 shared_flag='-shared'
9514 if test "$aix_use_runtimelinking" = yes; then
9515 shared_flag="$shared_flag "'${wl}-G'
9520 if test "$host_cpu" = ia64; then
9521 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9522 # chokes on -Wl,-G. The following line is correct:
9525 if test "$aix_use_runtimelinking" = yes; then
9526 shared_flag='${wl}-G'
9528 shared_flag='${wl}-bM:SRE'
9533 export_dynamic_flag_spec='${wl}-bexpall'
9534 # It seems that -bexpall does not export symbols beginning with
9535 # underscore (_), so it is better to generate a list of symbols to export.
9536 always_export_symbols=yes
9537 if test "$aix_use_runtimelinking" = yes; then
9538 # Warning - without using the other runtime loading flags (-brtl),
9539 # -berok will link without error, but may produce a broken library.
9540 allow_undefined_flag='-berok'
9541 # Determine the default libpath from the value encoded in an
9543 if test "${lt_cv_aix_libpath+set}" = set; then
9544 aix_libpath=$lt_cv_aix_libpath
9546 if ${lt_cv_aix_libpath_+:} false; then :
9547 $as_echo_n "(cached) " >&6
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9565 s/^0 *\([^ ]*\) *$/\1/
9569 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$lt_cv_aix_libpath_"; then
9572 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$lt_cv_aix_libpath_"; then
9578 lt_cv_aix_libpath_="/usr/lib:/lib"
9583 aix_libpath=$lt_cv_aix_libpath_
9586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9587 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"
9589 if test "$host_cpu" = ia64; then
9590 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9591 allow_undefined_flag="-z nodefs"
9592 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"
9594 # Determine the default libpath from the value encoded in an
9596 if test "${lt_cv_aix_libpath+set}" = set; then
9597 aix_libpath=$lt_cv_aix_libpath
9599 if ${lt_cv_aix_libpath_+:} false; then :
9600 $as_echo_n "(cached) " >&6
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9613 if ac_fn_c_try_link "$LINENO"; then :
9615 lt_aix_libpath_sed='
9616 /Import File Strings/,/^$/ {
9618 s/^0 *\([^ ]*\) *$/\1/
9622 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9623 # Check for a 64-bit object if we didn't find anything.
9624 if test -z "$lt_cv_aix_libpath_"; then
9625 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9628 rm -f core conftest.err conftest.$ac_objext \
9629 conftest$ac_exeext conftest.$ac_ext
9630 if test -z "$lt_cv_aix_libpath_"; then
9631 lt_cv_aix_libpath_="/usr/lib:/lib"
9636 aix_libpath=$lt_cv_aix_libpath_
9639 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9640 # Warning - without using the other run time loading flags,
9641 # -berok will link without error, but may produce a broken library.
9642 no_undefined_flag=' ${wl}-bernotok'
9643 allow_undefined_flag=' ${wl}-berok'
9644 if test "$with_gnu_ld" = yes; then
9645 # We only use this code for GNU lds that support --whole-archive.
9646 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9648 # Exported symbols can be pulled into shared objects from archives
9649 whole_archive_flag_spec='$convenience'
9651 archive_cmds_need_lc=yes
9652 # This is similar to how AIX traditionally builds its shared libraries.
9653 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'
9661 # see comment about AmigaOS4 .so support
9662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 archive_expsym_cmds=''
9666 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)'
9667 hardcode_libdir_flag_spec='-L$libdir'
9668 hardcode_minus_L=yes
9674 export_dynamic_flag_spec=-rdynamic
9677 cygwin* | mingw* | pw32* | cegcc*)
9678 # When not using gcc, we currently assume that we are using
9679 # Microsoft Visual C++.
9680 # hardcode_libdir_flag_spec is actually meaningless, as there is
9681 # no search path for DLLs.
9682 case $cc_basename in
9685 hardcode_libdir_flag_spec=' '
9686 allow_undefined_flag=unsupported
9687 always_export_symbols=yes
9689 # Tell ltmain to make .lib files, not .a files.
9691 # Tell ltmain to make .dll files, not .so files.
9693 # FIXME: Setting linknames here is a bad hack.
9694 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9695 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9696 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9698 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9700 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9702 # The linker will not automatically build a static lib if we build a DLL.
9703 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9704 enable_shared_with_static_runtimes=yes
9705 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9706 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9708 old_postinstall_cmds='chmod 644 $oldlib'
9709 postlink_cmds='lt_outputfile="@OUTPUT@"~
9710 lt_tool_outputfile="@TOOL_OUTPUT@"~
9711 case $lt_outputfile in
9714 lt_outputfile="$lt_outputfile.exe"
9715 lt_tool_outputfile="$lt_tool_outputfile.exe"
9718 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9719 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9720 $RM "$lt_outputfile.manifest";
9724 # Assume MSVC wrapper
9725 hardcode_libdir_flag_spec=' '
9726 allow_undefined_flag=unsupported
9727 # Tell ltmain to make .lib files, not .a files.
9729 # Tell ltmain to make .dll files, not .so files.
9731 # FIXME: Setting linknames here is a bad hack.
9732 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9733 # The linker will automatically build a .lib file if we build a DLL.
9734 old_archive_from_new_cmds='true'
9735 # FIXME: Should let the user specify the lib program.
9736 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9737 enable_shared_with_static_runtimes=yes
9742 darwin* | rhapsody*)
9745 archive_cmds_need_lc=no
9747 hardcode_automatic=yes
9748 hardcode_shlibpath_var=unsupported
9749 if test "$lt_cv_ld_force_load" = "yes"; then
9750 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\"`'
9753 whole_archive_flag_spec=''
9755 link_all_deplibs=yes
9756 allow_undefined_flag="$_lt_dar_allow_undefined"
9757 case $cc_basename in
9758 ifort*) _lt_dar_can_shared=yes ;;
9759 *) _lt_dar_can_shared=$GCC ;;
9761 if test "$_lt_dar_can_shared" = "yes"; then
9762 output_verbose_link_cmd=func_echo_all
9763 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9764 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9765 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}"
9766 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}"
9775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_libdir_flag_spec='-L$libdir'
9777 hardcode_shlibpath_var=no
9780 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9781 # support. Future versions do this automatically, but an explicit c++rt0.o
9782 # does not break anything, and helps significantly (at the cost of a little
9785 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9786 hardcode_libdir_flag_spec='-R$libdir'
9788 hardcode_shlibpath_var=no
9791 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9793 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_minus_L=yes
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9800 freebsd* | dragonfly*)
9801 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9802 hardcode_libdir_flag_spec='-R$libdir'
9804 hardcode_shlibpath_var=no
9808 if test "$GCC" = yes; then
9809 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'
9811 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'
9813 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9814 hardcode_libdir_separator=:
9817 # hardcode_minus_L: Not really in the search PATH,
9818 # but as the default location of the library.
9819 hardcode_minus_L=yes
9820 export_dynamic_flag_spec='${wl}-E'
9824 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9825 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9829 if test "$with_gnu_ld" = no; then
9830 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_separator=:
9833 hardcode_direct_absolute=yes
9834 export_dynamic_flag_spec='${wl}-E'
9835 # hardcode_minus_L: Not really in the search PATH,
9836 # but as the default location of the library.
9837 hardcode_minus_L=yes
9842 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9845 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9864 # Older versions of the 11.00 compiler do not understand -b yet
9865 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9867 $as_echo_n "checking if $CC understands -b... " >&6; }
9868 if ${lt_cv_prog_compiler__b+:} false; then :
9869 $as_echo_n "(cached) " >&6
9871 lt_cv_prog_compiler__b=no
9872 save_LDFLAGS="$LDFLAGS"
9873 LDFLAGS="$LDFLAGS -b"
9874 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9875 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9876 # The linker can only warn and ignore the option if not recognized
9877 # So say no if there are warnings
9878 if test -s conftest.err; then
9879 # Append any errors to the config.log.
9880 cat conftest.err 1>&5
9881 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9882 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9883 if diff conftest.exp conftest.er2 >/dev/null; then
9884 lt_cv_prog_compiler__b=yes
9887 lt_cv_prog_compiler__b=yes
9891 LDFLAGS="$save_LDFLAGS"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9895 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9897 if test x"$lt_cv_prog_compiler__b" = xyes; then
9898 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9900 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9906 if test "$with_gnu_ld" = no; then
9907 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9908 hardcode_libdir_separator=:
9913 hardcode_shlibpath_var=no
9917 hardcode_direct_absolute=yes
9918 export_dynamic_flag_spec='${wl}-E'
9920 # hardcode_minus_L: Not really in the search PATH,
9921 # but as the default location of the library.
9922 hardcode_minus_L=yes
9928 irix5* | irix6* | nonstopux*)
9929 if test "$GCC" = yes; then
9930 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'
9931 # Try to use the -exported_symbol ld option, if it does not
9932 # work, assume that -exports_file does not work either and
9933 # implicitly export all symbols.
9934 # This should be the same for all languages, so no per-tag cache variable.
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9936 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9937 if ${lt_cv_irix_exported_symbol+:} false; then :
9938 $as_echo_n "(cached) " >&6
9940 save_LDFLAGS="$LDFLAGS"
9941 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 int foo (void) { return 0; }
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 lt_cv_irix_exported_symbol=yes
9949 lt_cv_irix_exported_symbol=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 LDFLAGS="$save_LDFLAGS"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9956 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9957 if test "$lt_cv_irix_exported_symbol" = yes; then
9958 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'
9961 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'
9962 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'
9964 archive_cmds_need_lc='no'
9965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966 hardcode_libdir_separator=:
9968 link_all_deplibs=yes
9971 netbsd* | netbsdelf*-gnu)
9972 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9973 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9975 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9977 hardcode_libdir_flag_spec='-R$libdir'
9979 hardcode_shlibpath_var=no
9983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9986 hardcode_libdir_separator=:
9987 hardcode_shlibpath_var=no
9994 if test -f /usr/libexec/ld.so; then
9996 hardcode_shlibpath_var=no
9997 hardcode_direct_absolute=yes
9998 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9999 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10001 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10002 export_dynamic_flag_spec='${wl}-E'
10005 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10006 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_libdir_flag_spec='-R$libdir'
10010 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021 hardcode_libdir_flag_spec='-L$libdir'
10022 hardcode_minus_L=yes
10023 allow_undefined_flag=unsupported
10024 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'
10025 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10029 if test "$GCC" = yes; then
10030 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10031 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'
10033 allow_undefined_flag=' -expect_unresolved \*'
10034 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'
10036 archive_cmds_need_lc='no'
10037 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10038 hardcode_libdir_separator=:
10041 osf4* | osf5*) # as osf3* with the addition of -msym flag
10042 if test "$GCC" = yes; then
10043 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10044 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'
10045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10047 allow_undefined_flag=' -expect_unresolved \*'
10048 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'
10049 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~
10050 $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'
10052 # Both c and cxx compiler support -rpath directly
10053 hardcode_libdir_flag_spec='-rpath $libdir'
10055 archive_cmds_need_lc='no'
10056 hardcode_libdir_separator=:
10060 no_undefined_flag=' -z defs'
10061 if test "$GCC" = yes; then
10063 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10065 $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'
10067 case `$CC -V 2>&1` in
10070 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10071 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10072 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10076 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10082 hardcode_libdir_flag_spec='-R$libdir'
10083 hardcode_shlibpath_var=no
10085 solaris2.[0-5] | solaris2.[0-5].*) ;;
10087 # The compiler driver will combine and reorder linker options,
10088 # but understands `-z linker_flag'. GCC discards it without `$wl',
10089 # but is careful enough not to reorder.
10090 # Supported since Solaris 2.6 (maybe 2.5.1?)
10091 if test "$GCC" = yes; then
10092 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10094 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10098 link_all_deplibs=yes
10102 if test "x$host_vendor" = xsequent; then
10103 # Use $CC to link under sequent, because it throws in some extra .o
10104 # files that make .init and .fini sections work.
10105 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec='-L$libdir'
10110 hardcode_direct=yes
10111 hardcode_minus_L=yes
10112 hardcode_shlibpath_var=no
10116 case $host_vendor in
10118 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10119 hardcode_direct=yes # is this really true???
10122 ## LD is ld it makes a PLAMLIB
10123 ## CC just makes a GrossModule.
10124 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10125 reload_cmds='$CC -r -o $output$reload_objs'
10129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10133 runpath_var='LD_RUN_PATH'
10134 hardcode_shlibpath_var=no
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_shlibpath_var=no
10140 export_dynamic_flag_spec='-Bexport'
10144 if test -d /usr/nec; then
10145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 hardcode_shlibpath_var=no
10147 runpath_var=LD_RUN_PATH
10148 hardcode_runpath_var=yes
10153 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10154 no_undefined_flag='${wl}-z,text'
10155 archive_cmds_need_lc=no
10156 hardcode_shlibpath_var=no
10157 runpath_var='LD_RUN_PATH'
10159 if test "$GCC" = yes; then
10160 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10161 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10163 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 sysv5* | sco3.2v5* | sco5v6*)
10169 # Note: We can NOT use -z defs as we might desire, because we do not
10170 # link with -lc, and that would cause any symbols used from libc to
10171 # always be unresolved, which means just about no library would
10172 # ever link correctly. If we're not using GNU ld we use -z text
10173 # though, which does catch some bad symbols but isn't as heavy-handed
10175 no_undefined_flag='${wl}-z,text'
10176 allow_undefined_flag='${wl}-z,nodefs'
10177 archive_cmds_need_lc=no
10178 hardcode_shlibpath_var=no
10179 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10180 hardcode_libdir_separator=':'
10181 link_all_deplibs=yes
10182 export_dynamic_flag_spec='${wl}-Bexport'
10183 runpath_var='LD_RUN_PATH'
10185 if test "$GCC" = yes; then
10186 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_libdir_flag_spec='-L$libdir'
10197 hardcode_shlibpath_var=no
10205 if test x$host_vendor = xsni; then
10207 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10208 export_dynamic_flag_spec='${wl}-Blargedynsym'
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10215 $as_echo "$ld_shlibs" >&6; }
10216 test "$ld_shlibs" = no && can_build_shared=no
10218 with_gnu_ld=$with_gnu_ld
10235 # Do we need to explicitly link libc?
10237 case "x$archive_cmds_need_lc" in
10239 # Assume -lc should be added
10240 archive_cmds_need_lc=yes
10242 if test "$enable_shared" = yes && test "$GCC" = yes; then
10243 case $archive_cmds in
10245 # FIXME: we may have to deal with multi-command sequences.
10248 # Test whether the compiler implicitly links with -lc since on some
10249 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10250 # to ld, don't add -lc before -lgcc.
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10252 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10253 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10254 $as_echo_n "(cached) " >&6
10257 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10260 (eval $ac_compile) 2>&5
10262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10263 test $ac_status = 0; } 2>conftest.err; then
10266 libobjs=conftest.$ac_objext
10268 wl=$lt_prog_compiler_wl
10269 pic_flag=$lt_prog_compiler_pic
10275 lt_save_allow_undefined_flag=$allow_undefined_flag
10276 allow_undefined_flag=
10277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10278 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10281 test $ac_status = 0; }
10283 lt_cv_archive_cmds_need_lc=no
10285 lt_cv_archive_cmds_need_lc=yes
10287 allow_undefined_flag=$lt_save_allow_undefined_flag
10289 cat conftest.err 1>&5
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10295 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10296 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10457 if test "$GCC" = yes; then
10459 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10460 *) lt_awk_arg="/^libraries:/" ;;
10463 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10464 *) lt_sed_strip_eq="s,=/,/,g" ;;
10466 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10467 case $lt_search_path_spec in
10469 # if the path contains ";" then we assume it to be the separator
10470 # otherwise default to the standard path separator (i.e. ":") - it is
10471 # assumed that no part of a normal pathname contains ";" but that should
10472 # okay in the real world where ";" in dirpaths is itself problematic.
10473 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10476 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10479 # Ok, now we have the path, separated by spaces, we can step through it
10480 # and add multilib dir if necessary.
10481 lt_tmp_lt_search_path_spec=
10482 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10483 for lt_sys_path in $lt_search_path_spec; do
10484 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10485 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10487 test -d "$lt_sys_path" && \
10488 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10491 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10492 BEGIN {RS=" "; FS="/|\n";} {
10495 for (lt_i = NF; lt_i > 0; lt_i--) {
10496 if ($lt_i != "" && $lt_i != ".") {
10497 if ($lt_i == "..") {
10500 if (lt_count == 0) {
10501 lt_foo="/" $lt_i lt_foo;
10508 if (lt_foo != "") { lt_freq[lt_foo]++; }
10509 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10511 # AWK program above erroneously prepends '/' to C:/dos/paths
10514 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10515 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10517 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10519 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10521 library_names_spec=
10522 libname_spec='lib$name'
10526 postuninstall_cmds=
10530 shlibpath_overrides_runpath=unknown
10532 dynamic_linker="$host_os ld.so"
10533 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10534 need_lib_prefix=unknown
10535 hardcode_into_libs=no
10537 # when you set need_version to no, make sure it does not cause -set_version
10538 # flags to be left without arguments
10539 need_version=unknown
10543 version_type=linux # correct to gnu/linux during the next big refactor
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10545 shlibpath_var=LIBPATH
10547 # AIX 3 has no versioning support, so we append a major version to the name.
10548 soname_spec='${libname}${release}${shared_ext}$major'
10552 version_type=linux # correct to gnu/linux during the next big refactor
10555 hardcode_into_libs=yes
10556 if test "$host_cpu" = ia64; then
10557 # AIX 5 supports IA64
10558 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10559 shlibpath_var=LD_LIBRARY_PATH
10561 # With GCC up to 2.95.x, collect2 would create an import file
10562 # for dependence libraries. The import file would start with
10563 # the line `#! .'. This would cause the generated library to
10564 # depend on `.', always an invalid library. This was fixed in
10565 # development snapshots of GCC prior to 3.0.
10567 aix4 | aix4.[01] | aix4.[01].*)
10568 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10570 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10573 can_build_shared=no
10577 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10578 # soname into executable. Probably we can add versioning support to
10579 # collect2, so additional links can be useful in future.
10580 if test "$aix_use_runtimelinking" = yes; then
10581 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10582 # instead of lib<name>.a to let people know that these are not
10583 # typical AIX shared libraries.
10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586 # We preserve .a as extension for shared libraries through AIX4.2
10587 # and later when we are not doing run time linking.
10588 library_names_spec='${libname}${release}.a $libname.a'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10591 shlibpath_var=LIBPATH
10598 # Since July 2007 AmigaOS4 officially supports .so libraries.
10599 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 library_names_spec='$libname.ixlibrary $libname.a'
10604 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10605 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'
10611 library_names_spec='${libname}${shared_ext}'
10612 dynamic_linker="$host_os ld.so"
10613 shlibpath_var=LIBRARY_PATH
10617 version_type=linux # correct to gnu/linux during the next big refactor
10619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 soname_spec='${libname}${release}${shared_ext}$major'
10621 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10622 shlibpath_var=LD_LIBRARY_PATH
10623 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10624 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10625 # the default ld.so.conf also contains /usr/contrib/lib and
10626 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10627 # libtool to hard-code these into programs
10630 cygwin* | mingw* | pw32* | cegcc*)
10631 version_type=windows
10636 case $GCC,$cc_basename in
10639 library_names_spec='$libname.dll.a'
10640 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10641 postinstall_cmds='base_file=`basename \${file}`~
10642 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10643 dldir=$destdir/`dirname \$dlpath`~
10644 test -d \$dldir || mkdir -p \$dldir~
10645 $install_prog $dir/$dlname \$dldir/$dlname~
10646 chmod a+x \$dldir/$dlname~
10647 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10648 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10650 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10651 dlpath=$dir/\$dldll~
10653 shlibpath_overrides_runpath=yes
10657 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10658 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10660 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10663 # MinGW DLLs use traditional 'lib' prefix
10664 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10667 # pw32 DLLs use 'pw' prefix rather than 'lib'
10668 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671 dynamic_linker='Win32 ld.exe'
10676 libname_spec='$name'
10677 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10678 library_names_spec='${libname}.dll.lib'
10682 sys_lib_search_path_spec=
10685 for lt_path in $LIB
10688 # Let DOS variable expansion print the short 8.3 style file name.
10689 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10690 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10693 # Convert to MSYS style.
10694 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10697 # Convert to unix form, then to dos form, then back to unix form
10698 # but this time dos style (no spaces!) so that the unix form looks
10699 # like /cygdrive/c/PROGRA~1:/cygdr...
10700 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10701 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10702 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10705 sys_lib_search_path_spec="$LIB"
10706 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10707 # It is most probably a Windows format PATH.
10708 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10710 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10712 # FIXME: find the short name or the path components, as spaces are
10713 # common. (e.g. "Program Files" -> "PROGRA~1")
10717 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10718 postinstall_cmds='base_file=`basename \${file}`~
10719 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10720 dldir=$destdir/`dirname \$dlpath`~
10721 test -d \$dldir || mkdir -p \$dldir~
10722 $install_prog $dir/$dlname \$dldir/$dlname'
10723 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10724 dlpath=$dir/\$dldll~
10726 shlibpath_overrides_runpath=yes
10727 dynamic_linker='Win32 link.exe'
10731 # Assume MSVC wrapper
10732 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10733 dynamic_linker='Win32 ld.exe'
10736 # FIXME: first we should search . and the directory the executable is in
10740 darwin* | rhapsody*)
10741 dynamic_linker="$host_os dyld"
10742 version_type=darwin
10745 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10746 soname_spec='${libname}${release}${major}$shared_ext'
10747 shlibpath_overrides_runpath=yes
10748 shlibpath_var=DYLD_LIBRARY_PATH
10749 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10751 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10752 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10756 version_type=linux # correct to gnu/linux during the next big refactor
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10761 shlibpath_var=LD_LIBRARY_PATH
10764 freebsd* | dragonfly*)
10765 # DragonFly does not have aout. When/if they implement a new
10766 # versioning mechanism, adjust this.
10767 if test -x /usr/bin/objformat; then
10768 objformat=`/usr/bin/objformat`
10771 freebsd[23].*) objformat=aout ;;
10772 *) objformat=elf ;;
10775 version_type=freebsd-$objformat
10776 case $version_type in
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10787 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=yes
10792 freebsd3.[01]* | freebsdelf3.[01]*)
10793 shlibpath_overrides_runpath=yes
10794 hardcode_into_libs=yes
10796 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10797 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10798 shlibpath_overrides_runpath=no
10799 hardcode_into_libs=yes
10801 *) # from 4.6 on, and DragonFly
10802 shlibpath_overrides_runpath=yes
10803 hardcode_into_libs=yes
10809 version_type=linux # correct to gnu/linux during the next big refactor
10812 dynamic_linker="$host_os runtime_loader"
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 shlibpath_var=LIBRARY_PATH
10816 shlibpath_overrides_runpath=yes
10817 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10818 hardcode_into_libs=yes
10821 hpux9* | hpux10* | hpux11*)
10822 # Give a soname corresponding to the major version so that dld.sl refuses to
10823 # link against other versions.
10830 hardcode_into_libs=yes
10831 dynamic_linker="$host_os dld.so"
10832 shlibpath_var=LD_LIBRARY_PATH
10833 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 if test "X$HPUX_IA64_MODE" = X32; then
10837 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10839 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10841 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10845 hardcode_into_libs=yes
10846 dynamic_linker="$host_os dld.sl"
10847 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10848 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10852 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10856 dynamic_linker="$host_os dld.sl"
10857 shlibpath_var=SHLIB_PATH
10858 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec='${libname}${release}${shared_ext}$major'
10863 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10864 postinstall_cmds='chmod 555 $lib'
10865 # or fails outright, so override atomically:
10866 install_override_mode=555
10870 version_type=linux # correct to gnu/linux during the next big refactor
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10874 soname_spec='${libname}${release}${shared_ext}$major'
10875 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=no
10878 hardcode_into_libs=yes
10881 irix5* | irix6* | nonstopux*)
10883 nonstopux*) version_type=nonstopux ;;
10885 if test "$lt_cv_prog_gnu_ld" = yes; then
10886 version_type=linux # correct to gnu/linux during the next big refactor
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10896 irix5* | nonstopux*)
10897 libsuff= shlibsuff=
10900 case $LD in # libtool.m4 will add one of these switches to LD
10901 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10902 libsuff= shlibsuff= libmagic=32-bit;;
10903 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10904 libsuff=32 shlibsuff=N32 libmagic=N32;;
10905 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10906 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10907 *) libsuff= shlibsuff= libmagic=never-match;;
10911 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10912 shlibpath_overrides_runpath=no
10913 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10914 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10915 hardcode_into_libs=yes
10918 # No shared lib support for Linux oldld, aout, or coff.
10919 linux*oldld* | linux*aout* | linux*coff*)
10923 # This must be glibc/ELF.
10924 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10925 version_type=linux # correct to gnu/linux during the next big refactor
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 soname_spec='${libname}${release}${shared_ext}$major'
10930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10934 # Some binutils ld are patched to set DT_RUNPATH
10935 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10936 $as_echo_n "(cached) " >&6
10938 lt_cv_shlibpath_overrides_runpath=no
10939 save_LDFLAGS=$LDFLAGS
10940 save_libdir=$libdir
10941 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10942 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10956 lt_cv_shlibpath_overrides_runpath=yes
10959 rm -f core conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10961 LDFLAGS=$save_LDFLAGS
10962 libdir=$save_libdir
10966 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10968 # This implies no fast_install, which is unacceptable.
10969 # Some rework will be needed to allow for fast_install
10970 # before this can be enabled.
10971 hardcode_into_libs=yes
10973 # Append ld.so.conf contents to the search path
10974 if test -f /etc/ld.so.conf; then
10975 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' ' '`
10976 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10979 # We used to test for /lib/ld.so.1 and disable shared libraries on
10980 # powerpc, because MkLinux only supported shared libraries with the
10981 # GNU dynamic linker. Since this was broken with cross compilers,
10982 # most powerpc-linux boxes support dynamic linking these days and
10983 # people can always --disable-shared, the test was removed, and we
10984 # assume the GNU/Linux dynamic linker is in use.
10985 dynamic_linker='GNU/Linux ld.so'
10992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10993 soname_spec='${libname}${release}${shared_ext}$major'
10994 shlibpath_var=LD_LIBRARY_PATH
10995 shlibpath_overrides_runpath=no
10996 hardcode_into_libs=yes
10997 dynamic_linker='NetBSD ld.elf_so'
11004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 dynamic_linker='NetBSD (a.out) ld.so'
11009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11010 soname_spec='${libname}${release}${shared_ext}$major'
11011 dynamic_linker='NetBSD ld.elf_so'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath=yes
11015 hardcode_into_libs=yes
11019 version_type=linux # correct to gnu/linux during the next big refactor
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=yes
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 shlibpath_var=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath=no
11033 hardcode_into_libs=yes
11034 dynamic_linker='ldqnx.so'
11039 sys_lib_dlsearch_path_spec="/usr/lib"
11041 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11043 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11044 *) need_version=no ;;
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11047 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11051 openbsd2.[89] | openbsd2.[89].*)
11052 shlibpath_overrides_runpath=no
11055 shlibpath_overrides_runpath=yes
11059 shlibpath_overrides_runpath=yes
11064 libname_spec='$name'
11067 library_names_spec='$libname${shared_ext} $libname.a'
11068 dynamic_linker='OS/2 ld.exe'
11069 shlibpath_var=LIBPATH
11072 osf3* | osf4* | osf5*)
11076 soname_spec='${libname}${release}${shared_ext}$major'
11077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11080 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11088 version_type=linux # correct to gnu/linux during the next big refactor
11091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 soname_spec='${libname}${release}${shared_ext}$major'
11093 shlibpath_var=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath=yes
11095 hardcode_into_libs=yes
11096 # ldd complains unless libraries are executable
11097 postinstall_cmds='chmod +x $lib'
11102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11103 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11104 shlibpath_var=LD_LIBRARY_PATH
11105 shlibpath_overrides_runpath=yes
11106 if test "$with_gnu_ld" = yes; then
11113 version_type=linux # correct to gnu/linux during the next big refactor
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 shlibpath_var=LD_LIBRARY_PATH
11117 case $host_vendor in
11119 shlibpath_overrides_runpath=no
11121 runpath_var=LD_RUN_PATH
11129 shlibpath_overrides_runpath=no
11130 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11136 if test -d /usr/nec ;then
11137 version_type=linux # correct to gnu/linux during the next big refactor
11138 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11139 soname_spec='$libname${shared_ext}.$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11145 version_type=freebsd-elf
11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11149 soname_spec='${libname}${release}${shared_ext}$major'
11150 shlibpath_var=LD_LIBRARY_PATH
11151 shlibpath_overrides_runpath=yes
11152 hardcode_into_libs=yes
11153 if test "$with_gnu_ld" = yes; then
11154 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11156 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11159 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11163 sys_lib_dlsearch_path_spec='/usr/lib'
11167 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11168 version_type=linux # correct to gnu/linux during the next big refactor
11171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 shlibpath_overrides_runpath=no
11174 hardcode_into_libs=yes
11178 version_type=linux # correct to gnu/linux during the next big refactor
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec='${libname}${release}${shared_ext}$major'
11181 shlibpath_var=LD_LIBRARY_PATH
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11189 $as_echo "$dynamic_linker" >&6; }
11190 test "$dynamic_linker" = no && can_build_shared=no
11192 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11193 if test "$GCC" = yes; then
11194 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11197 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11198 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11200 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11201 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11296 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11298 if test -n "$hardcode_libdir_flag_spec" ||
11299 test -n "$runpath_var" ||
11300 test "X$hardcode_automatic" = "Xyes" ; then
11302 # We can hardcode non-existent directories.
11303 if test "$hardcode_direct" != no &&
11304 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11305 # have to relink, otherwise we might link with an installed library
11306 # when we should be linking with a yet-to-be-installed one
11307 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11308 test "$hardcode_minus_L" != no; then
11309 # Linking always hardcodes the temporary library directory.
11310 hardcode_action=relink
11312 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11313 hardcode_action=immediate
11316 # We cannot hardcode anything, or else we can only hardcode existing
11318 hardcode_action=unsupported
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11321 $as_echo "$hardcode_action" >&6; }
11323 if test "$hardcode_action" = relink ||
11324 test "$inherit_rpath" = yes; then
11325 # Fast installation is not supported
11326 enable_fast_install=no
11327 elif test "$shlibpath_overrides_runpath" = yes ||
11328 test "$enable_shared" = no; then
11329 # Fast installation is not necessary
11330 enable_fast_install=needless
11338 if test "x$enable_dlopen" != xyes; then
11339 enable_dlopen=unknown
11340 enable_dlopen_self=unknown
11341 enable_dlopen_self_static=unknown
11348 lt_cv_dlopen="load_add_on"
11350 lt_cv_dlopen_self=yes
11353 mingw* | pw32* | cegcc*)
11354 lt_cv_dlopen="LoadLibrary"
11359 lt_cv_dlopen="dlopen"
11364 # if libdl is installed we need to link against it
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11366 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11367 if ${ac_cv_lib_dl_dlopen+:} false; then :
11368 $as_echo_n "(cached) " >&6
11370 ac_check_lib_save_LIBS=$LIBS
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11390 if ac_fn_c_try_link "$LINENO"; then :
11391 ac_cv_lib_dl_dlopen=yes
11393 ac_cv_lib_dl_dlopen=no
11395 rm -f core conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11400 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11401 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11402 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11405 lt_cv_dlopen="dyld"
11407 lt_cv_dlopen_self=yes
11414 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11415 if test "x$ac_cv_func_shl_load" = xyes; then :
11416 lt_cv_dlopen="shl_load"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11419 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11420 if ${ac_cv_lib_dld_shl_load+:} false; then :
11421 $as_echo_n "(cached) " >&6
11423 ac_check_lib_save_LIBS=$LIBS
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11438 return shl_load ();
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 ac_cv_lib_dld_shl_load=yes
11446 ac_cv_lib_dld_shl_load=no
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_lib_save_LIBS
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11453 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11454 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11455 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11457 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11458 if test "x$ac_cv_func_dlopen" = xyes; then :
11459 lt_cv_dlopen="dlopen"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11462 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11463 if ${ac_cv_lib_dl_dlopen+:} false; then :
11464 $as_echo_n "(cached) " >&6
11466 ac_check_lib_save_LIBS=$LIBS
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 ac_cv_lib_dl_dlopen=yes
11489 ac_cv_lib_dl_dlopen=no
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11496 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11497 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11498 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11501 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11502 if ${ac_cv_lib_svld_dlopen+:} false; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_lib_save_LIBS=$LIBS
11506 LIBS="-lsvld $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 ac_cv_lib_svld_dlopen=yes
11528 ac_cv_lib_svld_dlopen=no
11530 rm -f core conftest.err conftest.$ac_objext \
11531 conftest$ac_exeext conftest.$ac_ext
11532 LIBS=$ac_check_lib_save_LIBS
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11535 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11536 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11537 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11540 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11541 if ${ac_cv_lib_dld_dld_link+:} false; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_lib_save_LIBS=$LIBS
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11559 return dld_link ();
11564 if ac_fn_c_try_link "$LINENO"; then :
11565 ac_cv_lib_dld_dld_link=yes
11567 ac_cv_lib_dld_dld_link=no
11569 rm -f core conftest.err conftest.$ac_objext \
11570 conftest$ac_exeext conftest.$ac_ext
11571 LIBS=$ac_check_lib_save_LIBS
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11574 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11575 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11576 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11597 if test "x$lt_cv_dlopen" != xno; then
11603 case $lt_cv_dlopen in
11605 save_CPPFLAGS="$CPPFLAGS"
11606 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11608 save_LDFLAGS="$LDFLAGS"
11609 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11612 LIBS="$lt_cv_dlopen_libs $LIBS"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11615 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11616 if ${lt_cv_dlopen_self+:} false; then :
11617 $as_echo_n "(cached) " >&6
11619 if test "$cross_compiling" = yes; then :
11620 lt_cv_dlopen_self=cross
11622 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11623 lt_status=$lt_dlunknown
11624 cat > conftest.$ac_ext <<_LT_EOF
11625 #line $LINENO "configure"
11626 #include "confdefs.h"
11635 # define LT_DLGLOBAL RTLD_GLOBAL
11638 # define LT_DLGLOBAL DL_GLOBAL
11640 # define LT_DLGLOBAL 0
11644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11645 find out it does not work in some platform. */
11646 #ifndef LT_DLLAZY_OR_NOW
11648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11651 # define LT_DLLAZY_OR_NOW DL_LAZY
11654 # define LT_DLLAZY_OR_NOW RTLD_NOW
11657 # define LT_DLLAZY_OR_NOW DL_NOW
11659 # define LT_DLLAZY_OR_NOW 0
11666 /* When -fvisbility=hidden is used, assume the code has been annotated
11667 correspondingly for the symbols needed. */
11668 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11669 int fnord () __attribute__((visibility("default")));
11672 int fnord () { return 42; }
11675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11676 int status = $lt_dlunknown;
11680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11684 else puts (dlerror ());
11686 /* dlclose (self); */
11694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11695 (eval $ac_link) 2>&5
11697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11698 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11699 (./conftest; exit; ) >&5 2>/dev/null
11701 case x$lt_status in
11702 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11703 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11704 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11707 # compilation failed
11708 lt_cv_dlopen_self=no
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11716 $as_echo "$lt_cv_dlopen_self" >&6; }
11718 if test "x$lt_cv_dlopen_self" = xyes; then
11719 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11721 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11722 if ${lt_cv_dlopen_self_static+:} false; then :
11723 $as_echo_n "(cached) " >&6
11725 if test "$cross_compiling" = yes; then :
11726 lt_cv_dlopen_self_static=cross
11728 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11729 lt_status=$lt_dlunknown
11730 cat > conftest.$ac_ext <<_LT_EOF
11731 #line $LINENO "configure"
11732 #include "confdefs.h"
11741 # define LT_DLGLOBAL RTLD_GLOBAL
11744 # define LT_DLGLOBAL DL_GLOBAL
11746 # define LT_DLGLOBAL 0
11750 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11751 find out it does not work in some platform. */
11752 #ifndef LT_DLLAZY_OR_NOW
11754 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11757 # define LT_DLLAZY_OR_NOW DL_LAZY
11760 # define LT_DLLAZY_OR_NOW RTLD_NOW
11763 # define LT_DLLAZY_OR_NOW DL_NOW
11765 # define LT_DLLAZY_OR_NOW 0
11772 /* When -fvisbility=hidden is used, assume the code has been annotated
11773 correspondingly for the symbols needed. */
11774 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11775 int fnord () __attribute__((visibility("default")));
11778 int fnord () { return 42; }
11781 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11782 int status = $lt_dlunknown;
11786 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11789 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11790 else puts (dlerror ());
11792 /* dlclose (self); */
11800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11801 (eval $ac_link) 2>&5
11803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11804 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11805 (./conftest; exit; ) >&5 2>/dev/null
11807 case x$lt_status in
11808 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11809 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11810 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11813 # compilation failed
11814 lt_cv_dlopen_self_static=no
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11822 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11825 CPPFLAGS="$save_CPPFLAGS"
11826 LDFLAGS="$save_LDFLAGS"
11831 case $lt_cv_dlopen_self in
11832 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11833 *) enable_dlopen_self=unknown ;;
11836 case $lt_cv_dlopen_self_static in
11837 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11838 *) enable_dlopen_self_static=unknown ;;
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11861 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11862 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11863 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11864 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11866 $as_echo "yes" >&6; }
11868 # FIXME - insert some real tests, host_os isn't really good enough
11871 if test -n "$STRIP" ; then
11872 striplib="$STRIP -x"
11873 old_striplib="$STRIP -S"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11899 # Report which library types will actually be built
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11901 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11903 $as_echo "$can_build_shared" >&6; }
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11906 $as_echo_n "checking whether to build shared libraries... " >&6; }
11907 test "$can_build_shared" = "no" && enable_shared=no
11909 # On AIX, shared libraries and static libraries use the same namespace, and
11910 # are all built from PIC.
11913 test "$enable_shared" = yes && enable_static=no
11914 if test -n "$RANLIB"; then
11915 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11916 postinstall_cmds='$RANLIB $lib'
11921 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11922 test "$enable_shared" = yes && enable_static=no
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11927 $as_echo "$enable_shared" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11930 $as_echo_n "checking whether to build static libraries... " >&6; }
11931 # Make sure either enable_shared or enable_static is yes.
11932 test "$enable_shared" = yes || enable_static=yes
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11934 $as_echo "$enable_static" >&6; }
11941 ac_cpp='$CPP $CPPFLAGS'
11942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11962 ac_config_commands="$ac_config_commands libtool"
11967 # Only expand once:
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
11973 $as_echo_n "checking operating system... " >&6; }
11975 case "$target_os" in
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Win32" >&5
11979 $as_echo "Win32" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
11984 $as_echo "Darwin" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
11989 $as_echo "$target_os" >&6; }
12001 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12002 if test -n "$ac_tool_prefix"; then
12003 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12004 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12006 $as_echo_n "checking for $ac_word... " >&6; }
12007 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12008 $as_echo_n "(cached) " >&6
12010 case $PKG_CONFIG in
12012 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12034 if test -n "$PKG_CONFIG"; then
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12036 $as_echo "$PKG_CONFIG" >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12044 if test -z "$ac_cv_path_PKG_CONFIG"; then
12045 ac_pt_PKG_CONFIG=$PKG_CONFIG
12046 # Extract the first word of "pkg-config", so it can be a program name with args.
12047 set dummy pkg-config; ac_word=$2
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12049 $as_echo_n "checking for $ac_word... " >&6; }
12050 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12051 $as_echo_n "(cached) " >&6
12053 case $ac_pt_PKG_CONFIG in
12055 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12059 for as_dir in $PATH
12062 test -z "$as_dir" && as_dir=.
12063 for ac_exec_ext in '' $ac_executable_extensions; do
12064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12065 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12077 if test -n "$ac_pt_PKG_CONFIG"; then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12079 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12085 if test "x$ac_pt_PKG_CONFIG" = x; then
12088 case $cross_compiling:$ac_tool_warned in
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12092 ac_tool_warned=yes ;;
12094 PKG_CONFIG=$ac_pt_PKG_CONFIG
12097 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12101 if test -n "$PKG_CONFIG"; then
12102 _pkg_min_version=0.9.0
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12104 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12105 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12107 $as_echo "yes" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
12117 $as_echo_n "checking for LIBGUPNP... " >&6; }
12119 if test -n "$LIBGUPNP_CFLAGS"; then
12120 pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
12121 elif test -n "$PKG_CONFIG"; then
12122 if test -n "$PKG_CONFIG" && \
12123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 \\
12126 gssdp-1.0 >= 0.13.0 \\
12127 libsoup-2.4 >= 2.28.2 \\
12130 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 \
12133 gssdp-1.0 >= 0.13.0 \
12134 libsoup-2.4 >= 2.28.2 \
12138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12139 test $ac_status = 0; }; then
12140 pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0 \
12143 gssdp-1.0 >= 0.13.0 \
12144 libsoup-2.4 >= 2.28.2 \
12146 $UUID" 2>/dev/null`
12147 test "x$?" != "x0" && pkg_failed=yes
12154 if test -n "$LIBGUPNP_LIBS"; then
12155 pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
12156 elif test -n "$PKG_CONFIG"; then
12157 if test -n "$PKG_CONFIG" && \
12158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 \\
12161 gssdp-1.0 >= 0.13.0 \\
12162 libsoup-2.4 >= 2.28.2 \\
12165 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 \
12168 gssdp-1.0 >= 0.13.0 \
12169 libsoup-2.4 >= 2.28.2 \
12173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174 test $ac_status = 0; }; then
12175 pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0 \
12178 gssdp-1.0 >= 0.13.0 \
12179 libsoup-2.4 >= 2.28.2 \
12181 $UUID" 2>/dev/null`
12182 test "x$?" != "x0" && pkg_failed=yes
12192 if test $pkg_failed = yes; then
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12197 _pkg_short_errors_supported=yes
12199 _pkg_short_errors_supported=no
12201 if test $_pkg_short_errors_supported = yes; then
12202 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24.0 \
12205 gssdp-1.0 >= 0.13.0 \
12206 libsoup-2.4 >= 2.28.2 \
12210 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24.0 \
12213 gssdp-1.0 >= 0.13.0 \
12214 libsoup-2.4 >= 2.28.2 \
12218 # Put the nasty error message in config.log where it belongs
12219 echo "$LIBGUPNP_PKG_ERRORS" >&5
12221 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 \
12224 gssdp-1.0 >= 0.13.0 \
12225 libsoup-2.4 >= 2.28.2 \
12227 $UUID) were not met:
12229 $LIBGUPNP_PKG_ERRORS
12231 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12232 installed software in a non-standard prefix.
12234 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12235 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12236 See the pkg-config man page for more details." "$LINENO" 5
12237 elif test $pkg_failed = untried; then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12242 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12243 is in your PATH or set the PKG_CONFIG environment variable to the full
12244 path to pkg-config.
12246 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12247 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12248 See the pkg-config man page for more details.
12250 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12251 See \`config.log' for more details" "$LINENO" 5; }
12253 LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
12254 LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12256 $as_echo "yes" >&6; }
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
12262 $as_echo_n "checking for GTHREAD... " >&6; }
12264 if test -n "$GTHREAD_CFLAGS"; then
12265 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
12266 elif test -n "$PKG_CONFIG"; then
12267 if test -n "$PKG_CONFIG" && \
12268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12269 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272 test $ac_status = 0; }; then
12273 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
12274 test "x$?" != "x0" && pkg_failed=yes
12281 if test -n "$GTHREAD_LIBS"; then
12282 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
12283 elif test -n "$PKG_CONFIG"; then
12284 if test -n "$PKG_CONFIG" && \
12285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12286 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289 test $ac_status = 0; }; then
12290 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
12291 test "x$?" != "x0" && pkg_failed=yes
12301 if test $pkg_failed = yes; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12306 _pkg_short_errors_supported=yes
12308 _pkg_short_errors_supported=no
12310 if test $_pkg_short_errors_supported = yes; then
12311 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
12313 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
12315 # Put the nasty error message in config.log where it belongs
12316 echo "$GTHREAD_PKG_ERRORS" >&5
12318 as_fn_error $? "Package requirements (gthread-2.0) were not met:
12320 $GTHREAD_PKG_ERRORS
12322 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12323 installed software in a non-standard prefix.
12325 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12326 and GTHREAD_LIBS to avoid the need to call pkg-config.
12327 See the pkg-config man page for more details." "$LINENO" 5
12328 elif test $pkg_failed = untried; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12333 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12334 is in your PATH or set the PKG_CONFIG environment variable to the full
12335 path to pkg-config.
12337 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12338 and GTHREAD_LIBS to avoid the need to call pkg-config.
12339 See the pkg-config man page for more details.
12341 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12342 See \`config.log' for more details" "$LINENO" 5; }
12344 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
12345 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12347 $as_echo "yes" >&6; }
12351 if test "x$os_win32" = "xyes"; then
12359 if test "x$os_win32" = "xno"; then
12361 # Check whether --with-context_manager was given.
12362 if test "${with_context_manager+set}" = set; then :
12363 withval=$with_context_manager;
12365 with_context_manager="none"
12369 LIBGUPNP_LIBS="$LIBGUPNP_LIBS -lrpcrt4"
12370 with_context_manager="windows"
12373 if test "x$with_context_manager" = "xnone"; then
12374 case "$target_os" in
12376 with_context_manager="linux"
12379 with_context_manager="unix"
12384 for ac_header in sys/socket.h linux/rtnetlink.h
12386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12387 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " #ifdef HAVE_SYS_SOCKET_H
12388 #include <sys/socket.h>
12392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12393 cat >>confdefs.h <<_ACEOF
12394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12403 if test "x$HAVE_NETLINK" = "xyes"; then
12405 HAVE_NETLINK_FALSE='#'
12407 HAVE_NETLINK_TRUE='#'
12408 HAVE_NETLINK_FALSE=
12413 for ac_header in linux/wireless.h
12415 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" " #ifdef HAVE_SYS_SOCKET_H
12416 #include <sys/socket.h>
12420 if test "x$ac_cv_header_linux_wireless_h" = xyes; then :
12421 cat >>confdefs.h <<_ACEOF
12422 #define HAVE_LINUX_WIRELESS_H 1
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Context Manager backend to use" >&5
12431 $as_echo_n "checking Context Manager backend to use... " >&6; }
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_context_manager}" >&5
12433 $as_echo "${with_context_manager}" >&6; }
12435 if test "x$with_context_manager" = "xnetwork-manager"; then
12436 USE_NETWORK_MANAGER_TRUE=
12437 USE_NETWORK_MANAGER_FALSE='#'
12439 USE_NETWORK_MANAGER_TRUE='#'
12440 USE_NETWORK_MANAGER_FALSE=
12443 if test "x$with_context_manager" = "xnetwork-manager"; then :
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12447 $as_echo_n "checking for GIO... " >&6; }
12449 if test -n "$GIO_CFLAGS"; then
12450 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12451 elif test -n "$PKG_CONFIG"; then
12452 if test -n "$PKG_CONFIG" && \
12453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12454 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12457 test $ac_status = 0; }; then
12458 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
12459 test "x$?" != "x0" && pkg_failed=yes
12466 if test -n "$GIO_LIBS"; then
12467 pkg_cv_GIO_LIBS="$GIO_LIBS"
12468 elif test -n "$PKG_CONFIG"; then
12469 if test -n "$PKG_CONFIG" && \
12470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12471 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474 test $ac_status = 0; }; then
12475 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
12476 test "x$?" != "x0" && pkg_failed=yes
12486 if test $pkg_failed = yes; then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12491 _pkg_short_errors_supported=yes
12493 _pkg_short_errors_supported=no
12495 if test $_pkg_short_errors_supported = yes; then
12496 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12498 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12500 # Put the nasty error message in config.log where it belongs
12501 echo "$GIO_PKG_ERRORS" >&5
12503 as_fn_error $? "Package requirements (gio-2.0 >= 2.26) were not met:
12507 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12508 installed software in a non-standard prefix.
12510 Alternatively, you may set the environment variables GIO_CFLAGS
12511 and GIO_LIBS to avoid the need to call pkg-config.
12512 See the pkg-config man page for more details." "$LINENO" 5
12513 elif test $pkg_failed = untried; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515 $as_echo "no" >&6; }
12516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12518 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12519 is in your PATH or set the PKG_CONFIG environment variable to the full
12520 path to pkg-config.
12522 Alternatively, you may set the environment variables GIO_CFLAGS
12523 and GIO_LIBS to avoid the need to call pkg-config.
12524 See the pkg-config man page for more details.
12526 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12527 See \`config.log' for more details" "$LINENO" 5; }
12529 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12530 GIO_LIBS=$pkg_cv_GIO_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12532 $as_echo "yes" >&6; }
12537 if test "x$with_context_manager" = "xconnman"; then
12539 USE_CONNMAN_FALSE='#'
12541 USE_CONNMAN_TRUE='#'
12546 if test "x$with_context_manager" = "xconnman"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CONNMAN" >&5
12550 $as_echo_n "checking for CONNMAN... " >&6; }
12552 if test -n "$CONNMAN_CFLAGS"; then
12553 pkg_cv_CONNMAN_CFLAGS="$CONNMAN_CFLAGS"
12554 elif test -n "$PKG_CONFIG"; then
12555 if test -n "$PKG_CONFIG" && \
12556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 connman >= 0.80\""; } >&5
12557 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 connman >= 0.80") 2>&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560 test $ac_status = 0; }; then
12561 pkg_cv_CONNMAN_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28 connman >= 0.80" 2>/dev/null`
12562 test "x$?" != "x0" && pkg_failed=yes
12569 if test -n "$CONNMAN_LIBS"; then
12570 pkg_cv_CONNMAN_LIBS="$CONNMAN_LIBS"
12571 elif test -n "$PKG_CONFIG"; then
12572 if test -n "$PKG_CONFIG" && \
12573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 connman >= 0.80\""; } >&5
12574 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 connman >= 0.80") 2>&5
12576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12577 test $ac_status = 0; }; then
12578 pkg_cv_CONNMAN_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>/dev/null`
12579 test "x$?" != "x0" && pkg_failed=yes
12589 if test $pkg_failed = yes; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12594 _pkg_short_errors_supported=yes
12596 _pkg_short_errors_supported=no
12598 if test $_pkg_short_errors_supported = yes; then
12599 CONNMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>&1`
12601 CONNMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>&1`
12603 # Put the nasty error message in config.log where it belongs
12604 echo "$CONNMAN_PKG_ERRORS" >&5
12606 as_fn_error $? "Package requirements (glib-2.0 >= 2.28 connman >= 0.80) were not met:
12608 $CONNMAN_PKG_ERRORS
12610 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12611 installed software in a non-standard prefix.
12613 Alternatively, you may set the environment variables CONNMAN_CFLAGS
12614 and CONNMAN_LIBS to avoid the need to call pkg-config.
12615 See the pkg-config man page for more details." "$LINENO" 5
12616 elif test $pkg_failed = untried; then
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12618 $as_echo "no" >&6; }
12619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12621 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12622 is in your PATH or set the PKG_CONFIG environment variable to the full
12623 path to pkg-config.
12625 Alternatively, you may set the environment variables CONNMAN_CFLAGS
12626 and CONNMAN_LIBS to avoid the need to call pkg-config.
12627 See the pkg-config man page for more details.
12629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12630 See \`config.log' for more details" "$LINENO" 5; }
12632 CONNMAN_CFLAGS=$pkg_cv_CONNMAN_CFLAGS
12633 CONNMAN_LIBS=$pkg_cv_CONNMAN_LIBS
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12635 $as_echo "yes" >&6; }
12641 if test "x$with_context_manager" = "xlinux"; then :
12642 if test "x$HAVE_NETLINK" = "xno"; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: No rtnetlink found, falling back to static context manager" >&5
12644 $as_echo "$as_me: No rtnetlink found, falling back to static context manager" >&6;}
12651 if test "x$USE_NETLINK" = "xyes"; then
12653 USE_NETLINK_FALSE='#'
12655 USE_NETLINK_TRUE='#'
12662 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12666 # Check whether --enable-debug was given.
12667 if test "${enable_debug+set}" = set; then :
12668 enableval=$enable_debug;
12673 if test "x$enable_debug" = "xyes"; then
12674 CFLAGS="$CFLAGS -g -Wall -Werror"
12680 # Check whether --enable-introspection was given.
12681 if test "${enable_introspection+set}" = set; then :
12682 enableval=$enable_introspection;
12684 enable_introspection=auto
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12689 $as_echo_n "checking for gobject-introspection... " >&6; }
12691 case $enable_introspection in #(
12693 found_introspection="no (disabled, use --enable-introspection to enable)"
12696 if test -n "$PKG_CONFIG" && \
12697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12698 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12701 test $ac_status = 0; }; then
12704 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12706 if test -n "$PKG_CONFIG" && \
12707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12708 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12711 test $ac_status = 0; }; then
12712 found_introspection=yes
12714 as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp" "$LINENO" 5
12718 if test -n "$PKG_CONFIG" && \
12719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12720 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12723 test $ac_status = 0; }; then
12724 found_introspection=yes
12726 found_introspection=no
12730 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12734 $as_echo "$found_introspection" >&6; }
12736 INTROSPECTION_SCANNER=
12737 INTROSPECTION_COMPILER=
12738 INTROSPECTION_GENERATE=
12739 INTROSPECTION_GIRDIR=
12740 INTROSPECTION_TYPELIBDIR=
12741 if test "x$found_introspection" = "xyes"; then
12742 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12743 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12744 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12745 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12746 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12747 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12748 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12749 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12760 if test "x$found_introspection" = "xyes"; then
12761 HAVE_INTROSPECTION_TRUE=
12762 HAVE_INTROSPECTION_FALSE='#'
12764 HAVE_INTROSPECTION_TRUE='#'
12765 HAVE_INTROSPECTION_FALSE=
12773 if test "x$found_introspection" = "xyes"; then :
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12776 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12777 VAPIGEN_MIN_VERSION=0.14
12778 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; }
12782 VAPIGEN_MIN_VERSION=0.20
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12789 # Extract the first word of "vapigen", so it can be a program name with args.
12790 set dummy vapigen; ac_word=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12792 $as_echo_n "checking for $ac_word... " >&6; }
12793 if ${ac_cv_path_VAPIGEN+:} false; then :
12794 $as_echo_n "(cached) " >&6
12798 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12802 for as_dir in $PATH
12805 test -z "$as_dir" && as_dir=.
12806 for ac_exec_ext in '' $ac_executable_extensions; do
12807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12808 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12819 VAPIGEN=$ac_cv_path_VAPIGEN
12820 if test -n "$VAPIGEN"; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12822 $as_echo "$VAPIGEN" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12829 if test -z "$VAPIGEN"; then :
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12831 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12833 if test -n "$VAPIGEN_MIN_VERSION"; then :
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12835 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12836 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12837 as_arg_v1=$VAPIGEN_MIN_VERSION
12838 as_arg_v2="$am__vapigen_version"
12839 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12843 $as_echo "yes" >&6; } ;; #(
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12846 $as_echo "yes" >&6; } ;; #(
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12851 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12863 if test "x$VAPIGEN" != "x"; then :
12866 if test "x$VAPIGEN" != "x"; then
12868 HAVE_VAPIGEN_FALSE='#'
12870 HAVE_VAPIGEN_TRUE='#'
12871 HAVE_VAPIGEN_FALSE=
12879 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12880 set dummy gtkdoc-check; ac_word=$2
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12882 $as_echo_n "checking for $ac_word... " >&6; }
12883 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12884 $as_echo_n "(cached) " >&6
12886 case $GTKDOC_CHECK in
12888 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12892 for as_dir in $PATH
12895 test -z "$as_dir" && as_dir=.
12896 for ac_exec_ext in '' $ac_executable_extensions; do
12897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12898 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12909 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12910 if test -n "$GTKDOC_CHECK"; then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12912 $as_echo "$GTKDOC_CHECK" >&6; }
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915 $as_echo "no" >&6; }
12919 for ac_prog in gtkdoc-rebase
12921 # Extract the first word of "$ac_prog", so it can be a program name with args.
12922 set dummy $ac_prog; ac_word=$2
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12924 $as_echo_n "checking for $ac_word... " >&6; }
12925 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12926 $as_echo_n "(cached) " >&6
12928 case $GTKDOC_REBASE in
12930 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12934 for as_dir in $PATH
12937 test -z "$as_dir" && as_dir=.
12938 for ac_exec_ext in '' $ac_executable_extensions; do
12939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12940 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12951 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12952 if test -n "$GTKDOC_REBASE"; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12954 $as_echo "$GTKDOC_REBASE" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12961 test -n "$GTKDOC_REBASE" && break
12963 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12965 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12966 set dummy gtkdoc-mkpdf; ac_word=$2
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12968 $as_echo_n "checking for $ac_word... " >&6; }
12969 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12970 $as_echo_n "(cached) " >&6
12972 case $GTKDOC_MKPDF in
12974 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12978 for as_dir in $PATH
12981 test -z "$as_dir" && as_dir=.
12982 for ac_exec_ext in '' $ac_executable_extensions; do
12983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12984 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12995 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12996 if test -n "$GTKDOC_MKPDF"; then
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12998 $as_echo "$GTKDOC_MKPDF" >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13001 $as_echo "no" >&6; }
13007 # Check whether --with-html-dir was given.
13008 if test "${with_html_dir+set}" = set; then :
13009 withval=$with_html_dir;
13011 with_html_dir='${datadir}/gtk-doc/html'
13014 HTML_DIR="$with_html_dir"
13017 # Check whether --enable-gtk-doc was given.
13018 if test "${enable_gtk_doc+set}" = set; then :
13019 enableval=$enable_gtk_doc;
13025 if test x$enable_gtk_doc = xyes; then
13026 if test -n "$PKG_CONFIG" && \
13027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
13028 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
13030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13031 test $ac_status = 0; }; then
13034 as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
13036 if test "x$PACKAGE_NAME" != "xglib"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13040 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13042 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13043 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13044 elif test -n "$PKG_CONFIG"; then
13045 if test -n "$PKG_CONFIG" && \
13046 { { $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
13047 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13050 test $ac_status = 0; }; then
13051 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13052 test "x$?" != "x0" && pkg_failed=yes
13059 if test -n "$GTKDOC_DEPS_LIBS"; then
13060 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13061 elif test -n "$PKG_CONFIG"; then
13062 if test -n "$PKG_CONFIG" && \
13063 { { $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
13064 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13067 test $ac_status = 0; }; then
13068 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13069 test "x$?" != "x0" && pkg_failed=yes
13079 if test $pkg_failed = yes; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13084 _pkg_short_errors_supported=yes
13086 _pkg_short_errors_supported=no
13088 if test $_pkg_short_errors_supported = yes; then
13089 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`
13091 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13093 # Put the nasty error message in config.log where it belongs
13094 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13096 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13098 $GTKDOC_DEPS_PKG_ERRORS
13100 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13101 installed software in a non-standard prefix.
13103 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13104 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13105 See the pkg-config man page for more details." "$LINENO" 5
13106 elif test $pkg_failed = untried; then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13111 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13112 is in your PATH or set the PKG_CONFIG environment variable to the full
13113 path to pkg-config.
13115 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13116 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13117 See the pkg-config man page for more details.
13119 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13120 See \`config.log' for more details" "$LINENO" 5; }
13122 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13123 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13125 $as_echo "yes" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13132 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13134 $as_echo "$enable_gtk_doc" >&6; }
13136 # Check whether --enable-gtk-doc-html was given.
13137 if test "${enable_gtk_doc_html+set}" = set; then :
13138 enableval=$enable_gtk_doc_html;
13140 enable_gtk_doc_html=yes
13143 # Check whether --enable-gtk-doc-pdf was given.
13144 if test "${enable_gtk_doc_pdf+set}" = set; then :
13145 enableval=$enable_gtk_doc_pdf;
13147 enable_gtk_doc_pdf=no
13151 if test -z "$GTKDOC_MKPDF"; then
13152 enable_gtk_doc_pdf=no
13156 if test x$enable_gtk_doc = xyes; then
13157 ENABLE_GTK_DOC_TRUE=
13158 ENABLE_GTK_DOC_FALSE='#'
13160 ENABLE_GTK_DOC_TRUE='#'
13161 ENABLE_GTK_DOC_FALSE=
13164 if test x$enable_gtk_doc_html = xyes; then
13165 GTK_DOC_BUILD_HTML_TRUE=
13166 GTK_DOC_BUILD_HTML_FALSE='#'
13168 GTK_DOC_BUILD_HTML_TRUE='#'
13169 GTK_DOC_BUILD_HTML_FALSE=
13172 if test x$enable_gtk_doc_pdf = xyes; then
13173 GTK_DOC_BUILD_PDF_TRUE=
13174 GTK_DOC_BUILD_PDF_FALSE='#'
13176 GTK_DOC_BUILD_PDF_TRUE='#'
13177 GTK_DOC_BUILD_PDF_FALSE=
13180 if test -n "$LIBTOOL"; then
13181 GTK_DOC_USE_LIBTOOL_TRUE=
13182 GTK_DOC_USE_LIBTOOL_FALSE='#'
13184 GTK_DOC_USE_LIBTOOL_TRUE='#'
13185 GTK_DOC_USE_LIBTOOL_FALSE=
13188 if test -n "$GTKDOC_REBASE"; then
13189 GTK_DOC_USE_REBASE_TRUE=
13190 GTK_DOC_USE_REBASE_FALSE='#'
13192 GTK_DOC_USE_REBASE_TRUE='#'
13193 GTK_DOC_USE_REBASE_FALSE=
13198 ac_config_files="$ac_config_files Makefile libgupnp/Makefile examples/Makefile tools/Makefile tests/Makefile tests/gtest/Makefile doc/Makefile doc/version.xml vala/Makefile gupnp-1.0.pc gupnp-1.0-uninstalled.pc"
13200 cat >confcache <<\_ACEOF
13201 # This file is a shell script that caches the results of configure
13202 # tests run on this system so they can be shared between configure
13203 # scripts and configure runs, see configure's option --config-cache.
13204 # It is not useful on other systems. If it contains results you don't
13205 # want to keep, you may remove or edit it.
13207 # config.status only pays attention to the cache file if you give it
13208 # the --recheck option to rerun configure.
13210 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13211 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13212 # following values.
13216 # The following way of writing the cache mishandles newlines in values,
13217 # but we know of no workaround that is simple, portable, and efficient.
13218 # So, we kill variables containing newlines.
13219 # Ultrix sh set writes to stderr and can't be redirected directly,
13220 # and sets the high bit in the cache file unless we assign to the vars.
13222 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13223 eval ac_val=\$$ac_var
13227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13231 _ | IFS | as_nl) ;; #(
13232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13233 *) { eval $ac_var=; unset $ac_var;} ;;
13239 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13240 *${as_nl}ac_space=\ *)
13241 # `set' does not quote correctly, so add quotes: double-quote
13242 # substitution turns \\\\ into \\, and sed turns \\ into \.
13245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13248 # `set' quotes correctly as required by POSIX, so do not add quotes.
13249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13260 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13262 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13263 if test -w "$cache_file"; then
13264 if test "x$cache_file" != "x/dev/null"; then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13266 $as_echo "$as_me: updating cache $cache_file" >&6;}
13267 if test ! -f "$cache_file" || test -h "$cache_file"; then
13268 cat confcache >"$cache_file"
13270 case $cache_file in #(
13272 mv -f confcache "$cache_file"$$ &&
13273 mv -f "$cache_file"$$ "$cache_file" ;; #(
13275 mv -f confcache "$cache_file" ;;
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13281 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13286 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13287 # Let make expand exec_prefix.
13288 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13290 DEFS=-DHAVE_CONFIG_H
13295 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13296 # 1. Remove the extension, and $U if already installed.
13297 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13298 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13299 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13300 # will be set to the directory where LIBOBJS objects are built.
13301 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13302 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13304 LIBOBJS=$ac_libobjs
13306 LTLIBOBJS=$ac_ltlibobjs
13309 if test -n "$EXEEXT"; then
13311 am__EXEEXT_FALSE='#'
13313 am__EXEEXT_TRUE='#'
13317 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13318 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13321 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13322 as_fn_error $? "conditional \"AMDEP\" was never defined.
13323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13326 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13329 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13330 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13333 if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
13334 as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined.
13335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13337 if test -z "${USE_NETWORK_MANAGER_TRUE}" && test -z "${USE_NETWORK_MANAGER_FALSE}"; then
13338 as_fn_error $? "conditional \"USE_NETWORK_MANAGER\" was never defined.
13339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13341 if test -z "${USE_CONNMAN_TRUE}" && test -z "${USE_CONNMAN_FALSE}"; then
13342 as_fn_error $? "conditional \"USE_CONNMAN\" was never defined.
13343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13345 if test -z "${USE_NETLINK_TRUE}" && test -z "${USE_NETLINK_FALSE}"; then
13346 as_fn_error $? "conditional \"USE_NETLINK\" was never defined.
13347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13349 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13350 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13353 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13354 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13357 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13358 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13361 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13362 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13365 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13366 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13369 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13370 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13373 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13374 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13378 : "${CONFIG_STATUS=./config.status}"
13380 ac_clean_files_save=$ac_clean_files
13381 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13383 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13385 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13387 # Generated by $as_me.
13388 # Run this file to recreate the current configuration.
13389 # Compiler output produced by configure, useful for debugging
13390 # configure, is in config.log if it exists.
13393 ac_cs_recheck=false
13396 SHELL=\${CONFIG_SHELL-$SHELL}
13399 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13400 ## -------------------- ##
13401 ## M4sh Initialization. ##
13402 ## -------------------- ##
13404 # Be more Bourne compatible
13405 DUALCASE=1; export DUALCASE # for MKS sh
13406 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13409 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13410 # is contrary to our usage. Disable this feature.
13411 alias -g '${1+"$@"}'='"$@"'
13412 setopt NO_GLOB_SUBST
13414 case `(set -o) 2>/dev/null` in #(
13426 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13427 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13428 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13430 # Prefer a ksh shell builtin over an external printf program on Solaris,
13431 # but without wasting forks for bash or zsh.
13432 if test -z "$BASH_VERSION$ZSH_VERSION" \
13433 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13434 as_echo='print -r --'
13435 as_echo_n='print -rn --'
13436 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13437 as_echo='printf %s\n'
13438 as_echo_n='printf %s'
13440 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13441 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13442 as_echo_n='/usr/ucb/echo -n'
13444 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13445 as_echo_n_body='eval
13449 expr "X$arg" : "X\\(.*\\)$as_nl";
13450 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13452 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13454 export as_echo_n_body
13455 as_echo_n='sh -c $as_echo_n_body as_echo'
13457 export as_echo_body
13458 as_echo='sh -c $as_echo_body as_echo'
13461 # The user is always right.
13462 if test "${PATH_SEPARATOR+set}" != set; then
13464 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13465 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13472 # We need space, tab and new line, in precisely that order. Quoting is
13473 # there to prevent editors from complaining about space-tab.
13474 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13475 # splitting by setting IFS to empty value.)
13478 # Find who we are. Look in the path if we contain no directory separator.
13481 *[\\/]* ) as_myself=$0 ;;
13482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13483 for as_dir in $PATH
13486 test -z "$as_dir" && as_dir=.
13487 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13493 # We did not find ourselves, most probably we were run as `sh COMMAND'
13494 # in which case we are not to be found in the path.
13495 if test "x$as_myself" = x; then
13498 if test ! -f "$as_myself"; then
13499 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13503 # Unset variables that we do not need and which cause bugs (e.g. in
13504 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13505 # suppresses any "Segmentation fault" message there. '((' could
13506 # trigger a bug in pdksh 5.2.14.
13507 for as_var in BASH_ENV ENV MAIL MAILPATH
13508 do eval test x\${$as_var+set} = xset \
13509 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13525 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13526 # ----------------------------------------
13527 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13528 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13529 # script with STATUS, using 1 if that was 0.
13532 as_status=$1; test $as_status -eq 0 && as_status=1
13534 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13535 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13537 $as_echo "$as_me: error: $2" >&2
13538 as_fn_exit $as_status
13542 # as_fn_set_status STATUS
13543 # -----------------------
13544 # Set $? to STATUS, without forking.
13545 as_fn_set_status ()
13548 } # as_fn_set_status
13550 # as_fn_exit STATUS
13551 # -----------------
13552 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13556 as_fn_set_status $1
13562 # Portably unset VAR.
13565 { eval $1=; unset $1;}
13567 as_unset=as_fn_unset
13568 # as_fn_append VAR VALUE
13569 # ----------------------
13570 # Append the text in VALUE to the end of the definition contained in VAR. Take
13571 # advantage of any shell optimizations that allow amortized linear growth over
13572 # repeated appends, instead of the typical quadratic growth present in naive
13574 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13575 eval 'as_fn_append ()
13586 # as_fn_arith ARG...
13587 # ------------------
13588 # Perform arithmetic evaluation on the ARGs, and store the result in the
13589 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13590 # must be portable across $(()) and expr.
13591 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13592 eval 'as_fn_arith ()
13599 as_val=`expr "$@" || test $? -eq 1`
13604 if expr a : '\(a\)' >/dev/null 2>&1 &&
13605 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13611 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13612 as_basename=basename
13617 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13623 as_me=`$as_basename -- "$0" ||
13624 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13625 X"$0" : 'X\(//\)$' \| \
13626 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13628 sed '/^.*\/\([^/][^/]*\)\/*$/{
13642 # Avoid depending upon Character Ranges.
13643 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13646 as_cr_digits='0123456789'
13647 as_cr_alnum=$as_cr_Letters$as_cr_digits
13649 ECHO_C= ECHO_N= ECHO_T=
13650 case `echo -n x` in #(((((
13652 case `echo 'xy\c'` in
13653 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13655 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13662 rm -f conf$$ conf$$.exe conf$$.file
13663 if test -d conf$$.dir; then
13664 rm -f conf$$.dir/conf$$.file
13667 mkdir conf$$.dir 2>/dev/null
13669 if (echo >conf$$.file) 2>/dev/null; then
13670 if ln -s conf$$.file conf$$ 2>/dev/null; then
13672 # ... but there are two gotchas:
13673 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13674 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13675 # In both cases, we have to default to `cp -pR'.
13676 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13678 elif ln conf$$.file conf$$ 2>/dev/null; then
13686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13687 rmdir conf$$.dir 2>/dev/null
13692 # Create "$as_dir" as a directory, including parents if necessary.
13697 -*) as_dir=./$as_dir;;
13699 test -d "$as_dir" || eval $as_mkdir_p || {
13703 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13704 *) as_qdir=$as_dir;;
13706 as_dirs="'$as_qdir' $as_dirs"
13707 as_dir=`$as_dirname -- "$as_dir" ||
13708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13709 X"$as_dir" : 'X\(//\)[^/]' \| \
13710 X"$as_dir" : 'X\(//\)$' \| \
13711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13712 $as_echo X"$as_dir" |
13713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13717 /^X\(\/\/\)[^/].*/{
13730 test -d "$as_dir" && break
13732 test -z "$as_dirs" || eval "mkdir $as_dirs"
13733 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13737 if mkdir -p . 2>/dev/null; then
13738 as_mkdir_p='mkdir -p "$as_dir"'
13740 test -d ./-p && rmdir ./-p
13745 # as_fn_executable_p FILE
13746 # -----------------------
13747 # Test if FILE is an executable regular file.
13748 as_fn_executable_p ()
13750 test -f "$1" && test -x "$1"
13751 } # as_fn_executable_p
13752 as_test_x='test -x'
13753 as_executable_p=as_fn_executable_p
13755 # Sed expression to map a string onto a valid CPP name.
13756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13758 # Sed expression to map a string onto a valid variable name.
13759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13763 ## ----------------------------------- ##
13764 ## Main body of $CONFIG_STATUS script. ##
13765 ## ----------------------------------- ##
13767 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13770 # Save the log message, to keep $0 and so on meaningful, and to
13771 # report actual input values of CONFIG_FILES etc. instead of their
13772 # values after options handling.
13774 This file was extended by gupnp $as_me 0.20.5, which was
13775 generated by GNU Autoconf 2.69. Invocation command line was
13777 CONFIG_FILES = $CONFIG_FILES
13778 CONFIG_HEADERS = $CONFIG_HEADERS
13779 CONFIG_LINKS = $CONFIG_LINKS
13780 CONFIG_COMMANDS = $CONFIG_COMMANDS
13783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13788 case $ac_config_files in *"
13789 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13792 case $ac_config_headers in *"
13793 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13798 # Files that config.status was made for.
13799 config_files="$ac_config_files"
13800 config_headers="$ac_config_headers"
13801 config_commands="$ac_config_commands"
13805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13807 \`$as_me' instantiates files and other configuration actions
13808 from templates according to the current configuration. Unless the files
13809 and actions are specified as TAGs, all are instantiated by default.
13811 Usage: $0 [OPTION]... [TAG]...
13813 -h, --help print this help, then exit
13814 -V, --version print version number and configuration settings, then exit
13815 --config print configuration, then exit
13816 -q, --quiet, --silent
13817 do not print progress messages
13818 -d, --debug don't remove temporary files
13819 --recheck update $as_me by reconfiguring in the same conditions
13820 --file=FILE[:TEMPLATE]
13821 instantiate the configuration file FILE
13822 --header=FILE[:TEMPLATE]
13823 instantiate the configuration header FILE
13825 Configuration files:
13828 Configuration headers:
13831 Configuration commands:
13834 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp>.
13835 gupnp home page: <http://www.gupnp.org/>."
13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13839 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13841 gupnp config.status 0.20.5
13842 configured by $0, generated by GNU Autoconf 2.69,
13843 with options \\"\$ac_cs_config\\"
13845 Copyright (C) 2012 Free Software Foundation, Inc.
13846 This config.status script is free software; the Free Software Foundation
13847 gives unlimited permission to copy, distribute and modify it."
13854 test -n "\$AWK" || AWK=awk
13857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13858 # The default lists apply if the user does not specify any file.
13864 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13865 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13869 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13881 # Handling of the options.
13882 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13884 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13885 $as_echo "$ac_cs_version"; exit ;;
13886 --config | --confi | --conf | --con | --co | --c )
13887 $as_echo "$ac_cs_config"; exit ;;
13888 --debug | --debu | --deb | --de | --d | -d )
13890 --file | --fil | --fi | --f )
13893 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13894 '') as_fn_error $? "missing file argument" ;;
13896 as_fn_append CONFIG_FILES " '$ac_optarg'"
13897 ac_need_defaults=false;;
13898 --header | --heade | --head | --hea )
13901 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13903 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13904 ac_need_defaults=false;;
13906 # Conflict between --help and --header
13907 as_fn_error $? "ambiguous option: \`$1'
13908 Try \`$0 --help' for more information.";;
13909 --help | --hel | -h )
13910 $as_echo "$ac_cs_usage"; exit ;;
13911 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13912 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13915 # This is an error.
13916 -*) as_fn_error $? "unrecognized option: \`$1'
13917 Try \`$0 --help' for more information." ;;
13919 *) as_fn_append ac_config_targets " $1"
13920 ac_need_defaults=false ;;
13926 ac_configure_extra_args=
13928 if $ac_cs_silent; then
13930 ac_configure_extra_args="$ac_configure_extra_args --silent"
13934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13935 if \$ac_cs_recheck; then
13936 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13938 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13939 CONFIG_SHELL='$SHELL'
13940 export CONFIG_SHELL
13945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13949 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13950 ## Running $as_me. ##
13956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13960 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13963 # The HP-UX ksh and POSIX shell print the target directory to stdout
13964 # if CDPATH is set.
13965 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13967 sed_quote_subst='$sed_quote_subst'
13968 double_quote_subst='$double_quote_subst'
13969 delay_variable_subst='$delay_variable_subst'
13970 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13971 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13972 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13973 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13974 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13975 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13976 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13977 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13978 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13979 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13980 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13981 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13982 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13983 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13984 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13985 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13986 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13987 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13988 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13989 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13990 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13991 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13992 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13993 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13994 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13995 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13996 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13997 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13998 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13999 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14000 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14001 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14002 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14003 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14004 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14005 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14006 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14007 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14008 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14009 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14010 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14011 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14012 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14013 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14014 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14015 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14016 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14017 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14018 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14019 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14020 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14021 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14022 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14023 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14024 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14025 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14026 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"`'
14027 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14028 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14029 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14030 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14031 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14032 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14033 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14034 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14035 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14036 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14037 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14038 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14039 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14040 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14041 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14042 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14043 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14044 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14045 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14046 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14047 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14048 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14049 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14050 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14051 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14052 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14053 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14054 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14055 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14056 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14057 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14058 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14059 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14060 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14061 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14062 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14063 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14064 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14065 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14066 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14067 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14068 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14069 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14070 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14071 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14072 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14073 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14074 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14075 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14076 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14077 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14078 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14079 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14080 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14081 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14082 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14083 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14084 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14085 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14086 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14087 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14088 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14089 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14090 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14091 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14092 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14093 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14094 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14095 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14096 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14097 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14098 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14099 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14102 LTCFLAGS='$LTCFLAGS'
14103 compiler='$compiler_DEFAULT'
14105 # A function that is used when there is no print builtin or printf.
14106 func_fallback_echo ()
14108 eval 'cat <<_LTECHO_EOF
14113 # Quote evaled strings.
14128 deplibs_check_method \
14133 sharedlib_from_linklib_cmd \
14136 archiver_list_spec \
14142 lt_cv_sys_global_symbol_pipe \
14143 lt_cv_sys_global_symbol_to_cdecl \
14144 lt_cv_sys_global_symbol_to_c_name_address \
14145 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14146 nm_file_list_spec \
14147 lt_prog_compiler_no_builtin_flag \
14148 lt_prog_compiler_pic \
14149 lt_prog_compiler_wl \
14150 lt_prog_compiler_static \
14151 lt_cv_prog_compiler_c_o \
14160 export_dynamic_flag_spec \
14161 whole_archive_flag_spec \
14162 compiler_needs_object \
14164 allow_undefined_flag \
14165 no_undefined_flag \
14166 hardcode_libdir_flag_spec \
14167 hardcode_libdir_separator \
14171 variables_saved_for_relink \
14173 library_names_spec \
14175 install_override_mode \
14179 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14180 *[\\\\\\\`\\"\\\$]*)
14181 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14184 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14189 # Double-quote double-evaled strings.
14190 for var in reload_cmds \
14191 old_postinstall_cmds \
14192 old_postuninstall_cmds \
14194 extract_expsyms_cmds \
14195 old_archive_from_new_cmds \
14196 old_archive_from_expsyms_cmds \
14198 archive_expsym_cmds \
14200 module_expsym_cmds \
14201 export_symbols_cmds \
14205 postuninstall_cmds \
14207 sys_lib_search_path_spec \
14208 sys_lib_dlsearch_path_spec; do
14209 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14210 *[\\\\\\\`\\"\\\$]*)
14211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14219 ac_aux_dir='$ac_aux_dir'
14220 xsi_shell='$xsi_shell'
14221 lt_shell_append='$lt_shell_append'
14223 # See if we are running on zsh, and set the options which allow our
14224 # commands through without removal of \ escapes INIT.
14225 if test -n "\${ZSH_VERSION+set}" ; then
14226 setopt NO_GLOB_SUBST
14232 TIMESTAMP='$TIMESTAMP'
14241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14243 # Handling of arguments.
14244 for ac_config_target in $ac_config_targets
14246 case $ac_config_target in
14247 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14248 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14249 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14250 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14251 "libgupnp/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp/Makefile" ;;
14252 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14253 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14254 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14255 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
14256 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14257 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14258 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14259 "gupnp-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-1.0.pc" ;;
14260 "gupnp-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-1.0-uninstalled.pc" ;;
14262 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14267 # If the user did not use the arguments to specify the items to instantiate,
14268 # then the envvar interface is used. Set only those that are not.
14269 # We use the long form for the default assignment because of an extremely
14270 # bizarre bug on SunOS 4.1.3.
14271 if $ac_need_defaults; then
14272 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14273 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14274 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14277 # Have a temporary directory for convenience. Make it in the build tree
14278 # simply because there is no reason against having it here, and in addition,
14279 # creating and moving files from /tmp can sometimes cause problems.
14280 # Hook for its removal unless debugging.
14281 # Note that there is a small window in which the directory will not be cleaned:
14282 # after its creation but before its name has been assigned to `$tmp'.
14286 trap 'exit_status=$?
14287 : "${ac_tmp:=$tmp}"
14288 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14290 trap 'as_fn_exit 1' 1 2 13 15
14292 # Create a (secure) tmp directory for tmp files.
14295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14299 tmp=./conf$$-$RANDOM
14300 (umask 077 && mkdir "$tmp")
14301 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14304 # Set up the scripts for CONFIG_FILES section.
14305 # No need to generate them if there are no CONFIG_FILES.
14306 # This happens for instance with `./config.status config.h'.
14307 if test -n "$CONFIG_FILES"; then
14310 ac_cr=`echo X | tr X '\015'`
14311 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14312 # But we know of no other shell where ac_cr would be empty at this
14313 # point, so we can use a bashism as a fallback.
14314 if test "x$ac_cr" = x; then
14315 eval ac_cr=\$\'\\r\'
14317 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14318 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14321 ac_cs_awk_cr=$ac_cr
14324 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14329 echo "cat >conf$$subs.awk <<_ACEOF" &&
14330 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14332 } >conf$$subs.sh ||
14333 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14334 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14336 for ac_last_try in false false false false false :; do
14337 . ./conf$$subs.sh ||
14338 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14340 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14341 if test $ac_delim_n = $ac_delim_num; then
14343 elif $ac_last_try; then
14344 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14346 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14349 rm -f conf$$subs.sh
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14356 s/^/S["/; s/!.*/"]=/
14366 s/\(.\{148\}\)..*/\1/
14368 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14373 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14380 s/\(.\{148\}\)..*/\1/
14382 s/["\\]/\\&/g; s/^/"/; s/$/"/
14386 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14391 ' <conf$$subs.awk | sed '
14396 ' >>$CONFIG_STATUS || ac_write_fail=1
14397 rm -f conf$$subs.awk
14398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14400 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14401 for (key in S) S_is_set[key] = 1
14407 nfields = split(line, field, "@")
14409 len = length(field[1])
14410 for (i = 2; i < nfields; i++) {
14412 keylen = length(key)
14413 if (S_is_set[key]) {
14415 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14416 len += length(value) + length(field[++i])
14427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14428 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14429 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14432 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14433 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14436 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14437 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14438 # trailing colons and then remove the whole line if VPATH becomes empty
14439 # (actually we leave an empty line to preserve line numbers).
14440 if test "x$srcdir" = x.; then
14441 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14460 fi # test -n "$CONFIG_FILES"
14462 # Set up the scripts for CONFIG_HEADERS section.
14463 # No need to generate them if there are no CONFIG_HEADERS.
14464 # This happens for instance with `./config.status Makefile'.
14465 if test -n "$CONFIG_HEADERS"; then
14466 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14470 # Transform confdefs.h into an awk script `defines.awk', embedded as
14471 # here-document in config.status, that substitutes the proper values into
14472 # config.h.in to produce config.h.
14474 # Create a delimiter string that does not exist in confdefs.h, to ease
14475 # handling of long lines.
14477 for ac_last_try in false false :; do
14478 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14479 if test -z "$ac_tt"; then
14481 elif $ac_last_try; then
14482 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14484 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14488 # For the awk script, D is an array of macro values keyed by name,
14489 # likewise P contains macro parameters if any. Preserve backslash
14490 # newline sequences.
14492 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14494 s/.\{148\}/&'"$ac_delim"'/g
14497 s/^[ ]*#[ ]*define[ ][ ]*/ /
14504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14506 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14510 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14511 D["\1"]=" \3\\\\\\n"\\/p
14513 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14518 s/.\{148\}/&'"$ac_delim"'/g
14523 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14526 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14528 ' <confdefs.h | sed '
14529 s/'"$ac_delim"'/"\\\
14530 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14533 for (key in D) D_is_set[key] = 1
14536 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14538 split(line, arg, " ")
14539 if (arg[1] == "#") {
14543 defundef = substr(arg[1], 2)
14546 split(mac1, mac2, "(") #)
14548 prefix = substr(line, 1, index(line, defundef) - 1)
14549 if (D_is_set[macro]) {
14550 # Preserve the white space surrounding the "#".
14551 print prefix "define", macro P[macro] D[macro]
14554 # Replace #undef with comments. This is necessary, for example,
14555 # in the case of _POSIX_SOURCE, which is predefined and required
14556 # on some systems where configure will not decide to define it.
14557 if (defundef == "undef") {
14558 print "/*", prefix defundef, macro, "*/"
14566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14567 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14568 fi # test -n "$CONFIG_HEADERS"
14571 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14576 :[FHLC]) ac_mode=$ac_tag; continue;;
14578 case $ac_mode$ac_tag in
14580 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14581 :[FH]-) ac_tag=-:-;;
14582 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14599 -) ac_f="$ac_tmp/stdin";;
14600 *) # Look for the file first in the build tree, then in the source tree
14601 # (if the path is not absolute). The absolute path cannot be DOS-style,
14602 # because $ac_f cannot contain `:'.
14606 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14608 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14610 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14611 as_fn_append ac_file_inputs " '$ac_f'"
14614 # Let's still pretend it is `configure' which instantiates (i.e., don't
14615 # use $as_me), people would be surprised to read:
14616 # /* config.h. Generated by config.status. */
14617 configure_input='Generated from '`
14618 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14620 if test x"$ac_file" != x-; then
14621 configure_input="$ac_file. $configure_input"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14623 $as_echo "$as_me: creating $ac_file" >&6;}
14625 # Neutralize special characters interpreted by sed in replacement strings.
14626 case $configure_input in #(
14627 *\&* | *\|* | *\\* )
14628 ac_sed_conf_input=`$as_echo "$configure_input" |
14629 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14630 *) ac_sed_conf_input=$configure_input;;
14634 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14640 ac_dir=`$as_dirname -- "$ac_file" ||
14641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14642 X"$ac_file" : 'X\(//\)[^/]' \| \
14643 X"$ac_file" : 'X\(//\)$' \| \
14644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14645 $as_echo X"$ac_file" |
14646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14650 /^X\(\/\/\)[^/].*/{
14663 as_dir="$ac_dir"; as_fn_mkdir_p
14667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14669 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14670 # A ".." for each directory in $ac_dir_suffix.
14671 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14672 case $ac_top_builddir_sub in
14673 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14674 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14677 ac_abs_top_builddir=$ac_pwd
14678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14679 # for backward compatibility:
14680 ac_top_builddir=$ac_top_build_prefix
14683 .) # We are building in place.
14685 ac_top_srcdir=$ac_top_builddir_sub
14686 ac_abs_top_srcdir=$ac_pwd ;;
14687 [\\/]* | ?:[\\/]* ) # Absolute name.
14688 ac_srcdir=$srcdir$ac_dir_suffix;
14689 ac_top_srcdir=$srcdir
14690 ac_abs_top_srcdir=$srcdir ;;
14691 *) # Relative name.
14692 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14693 ac_top_srcdir=$ac_top_build_prefix$srcdir
14694 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14706 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14707 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14709 ac_MKDIR_P=$MKDIR_P
14711 [\\/$]* | ?:[\\/]* ) ;;
14712 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14717 # If the template does not know about datarootdir, expand it.
14718 # FIXME: This hack should be removed a few years after 2.60.
14719 ac_datarootdir_hack=; ac_datarootdir_seen=
14730 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14731 *datarootdir*) ac_datarootdir_seen=yes;;
14732 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14734 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14737 ac_datarootdir_hack='
14738 s&@datadir@&$datadir&g
14739 s&@docdir@&$docdir&g
14740 s&@infodir@&$infodir&g
14741 s&@localedir@&$localedir&g
14742 s&@mandir@&$mandir&g
14743 s&\\\${datarootdir}&$datarootdir&g' ;;
14747 # Neutralize VPATH when `$srcdir' = `.'.
14748 # Shell code in configure.ac might set extrasub.
14749 # FIXME: do we really want to maintain this feature?
14750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14751 ac_sed_extra="$ac_vpsub
14754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14756 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14757 s|@configure_input@|$ac_sed_conf_input|;t t
14758 s&@top_builddir@&$ac_top_builddir_sub&;t t
14759 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14760 s&@srcdir@&$ac_srcdir&;t t
14761 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14762 s&@top_srcdir@&$ac_top_srcdir&;t t
14763 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14764 s&@builddir@&$ac_builddir&;t t
14765 s&@abs_builddir@&$ac_abs_builddir&;t t
14766 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14767 s&@INSTALL@&$ac_INSTALL&;t t
14768 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14769 $ac_datarootdir_hack
14771 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14772 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14774 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14775 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14776 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14777 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14779 which seems to be undefined. Please make sure it is defined" >&5
14780 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14781 which seems to be undefined. Please make sure it is defined" >&2;}
14783 rm -f "$ac_tmp/stdin"
14785 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14786 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14794 if test x"$ac_file" != x-; then
14796 $as_echo "/* $configure_input */" \
14797 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14798 } >"$ac_tmp/config.h" \
14799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14800 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14802 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14805 mv "$ac_tmp/config.h" "$ac_file" \
14806 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14809 $as_echo "/* $configure_input */" \
14810 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14811 || as_fn_error $? "could not create -" "$LINENO" 5
14813 # Compute "$ac_file"'s index in $config_headers.
14816 for _am_header in $config_headers :; do
14817 case $_am_header in
14818 $_am_arg | $_am_arg:* )
14821 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14824 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14825 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14826 X"$_am_arg" : 'X\(//\)[^/]' \| \
14827 X"$_am_arg" : 'X\(//\)$' \| \
14828 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14829 $as_echo X"$_am_arg" |
14830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14834 /^X\(\/\/\)[^/].*/{
14846 s/.*/./; q'`/stamp-h$_am_stamp_count
14849 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14850 $as_echo "$as_me: executing $ac_file commands" >&6;}
14855 case $ac_file$ac_mode in
14856 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14857 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14858 # are listed without --file. Let's play safe and only enable the eval
14859 # if we detect the quoting.
14860 case $CONFIG_FILES in
14861 *\'*) eval set x "$CONFIG_FILES" ;;
14862 *) set x $CONFIG_FILES ;;
14867 # Strip MF so we end up with the name of the file.
14868 mf=`echo "$mf" | sed -e 's/:.*$//'`
14869 # Check whether this is an Automake generated Makefile or not.
14870 # We used to match only the files named `Makefile.in', but
14871 # some people rename them; so instead we look at the file content.
14872 # Grep'ing the first line is not enough: some people post-process
14873 # each Makefile.in and add a new line on top of each file to say so.
14874 # Grep'ing the whole file is not good either: AIX grep has a line
14875 # limit of 2048, but all sed's we know have understand at least 4000.
14876 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14877 dirpart=`$as_dirname -- "$mf" ||
14878 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14879 X"$mf" : 'X\(//\)[^/]' \| \
14880 X"$mf" : 'X\(//\)$' \| \
14881 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14887 /^X\(\/\/\)[^/].*/{
14903 # Extract the definition of DEPDIR, am__include, and am__quote
14904 # from the Makefile without running `make'.
14905 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14906 test -z "$DEPDIR" && continue
14907 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14908 test -z "am__include" && continue
14909 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14910 # When using ansi2knr, U may be empty or an underscore; expand it
14911 U=`sed -n 's/^U = //p' < "$mf"`
14912 # Find all dependency output files, they are included files with
14913 # $(DEPDIR) in their names. We invoke sed twice because it is the
14914 # simplest approach to changing $(DEPDIR) to its actual value in the
14916 for file in `sed -n "
14917 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14918 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14919 # Make sure the directory exists.
14920 test -f "$dirpart/$file" && continue
14921 fdir=`$as_dirname -- "$file" ||
14922 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14923 X"$file" : 'X\(//\)[^/]' \| \
14924 X"$file" : 'X\(//\)$' \| \
14925 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14926 $as_echo X"$file" |
14927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14931 /^X\(\/\/\)[^/].*/{
14944 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14945 # echo "creating $dirpart/$file"
14946 echo '# dummy' > "$dirpart/$file"
14953 # See if we are running on zsh, and set the options which allow our
14954 # commands through without removal of \ escapes.
14955 if test -n "${ZSH_VERSION+set}" ; then
14956 setopt NO_GLOB_SUBST
14959 cfgfile="${ofile}T"
14960 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14963 cat <<_LT_EOF >> "$cfgfile"
14966 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14967 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14971 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14972 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14974 # Written by Gordon Matzigkeit, 1996
14976 # This file is part of GNU Libtool.
14978 # GNU Libtool is free software; you can redistribute it and/or
14979 # modify it under the terms of the GNU General Public License as
14980 # published by the Free Software Foundation; either version 2 of
14981 # the License, or (at your option) any later version.
14983 # As a special exception to the GNU General Public License,
14984 # if you distribute this file as part of a program or library that
14985 # is built using GNU Libtool, you may include this file under the
14986 # same distribution terms that you use for the rest of that program.
14988 # GNU Libtool is distributed in the hope that it will be useful,
14989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14991 # GNU General Public License for more details.
14993 # You should have received a copy of the GNU General Public License
14994 # along with GNU Libtool; see the file COPYING. If not, a copy
14995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14996 # obtained by writing to the Free Software Foundation, Inc.,
14997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15000 # The names of the tagged configurations supported by this script.
15003 # ### BEGIN LIBTOOL CONFIG
15005 # Which release of libtool.m4 was used?
15006 macro_version=$macro_version
15007 macro_revision=$macro_revision
15009 # Whether or not to build shared libraries.
15010 build_libtool_libs=$enable_shared
15012 # Whether or not to build static libraries.
15013 build_old_libs=$enable_static
15015 # What type of objects to build.
15018 # Whether or not to optimize for fast installation.
15019 fast_install=$enable_fast_install
15021 # Shell to use when invoking shell scripts.
15024 # An echo program that protects backslashes.
15027 # The PATH separator for the build system.
15028 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15031 host_alias=$host_alias
15035 # The build system.
15036 build_alias=$build_alias
15040 # A sed program that does not truncate output.
15043 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15044 Xsed="\$SED -e 1s/^X//"
15046 # A grep program that handles long lines.
15052 # A literal string matcher.
15055 # A BSD- or MS-compatible name lister.
15058 # Whether we need soft or hard links.
15061 # What is the maximum length of a command?
15062 max_cmd_len=$max_cmd_len
15064 # Object file suffix (normally "o").
15067 # Executable file suffix (normally "").
15070 # whether the shell understands "unset".
15073 # turn spaces into newlines.
15076 # turn newlines into spaces.
15079 # convert \$build file names to \$host format.
15080 to_host_file_cmd=$lt_cv_to_host_file_cmd
15082 # convert \$build files to toolchain format.
15083 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15085 # An object symbol dumper.
15086 OBJDUMP=$lt_OBJDUMP
15088 # Method to check whether dependent libraries are shared objects.
15089 deplibs_check_method=$lt_deplibs_check_method
15091 # Command to use when deplibs_check_method = "file_magic".
15092 file_magic_cmd=$lt_file_magic_cmd
15094 # How to find potential files when deplibs_check_method = "file_magic".
15095 file_magic_glob=$lt_file_magic_glob
15097 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15098 want_nocaseglob=$lt_want_nocaseglob
15100 # DLL creation program.
15101 DLLTOOL=$lt_DLLTOOL
15103 # Command to associate shared and link libraries.
15104 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15109 # Flags to create an archive.
15110 AR_FLAGS=$lt_AR_FLAGS
15112 # How to feed a file listing to the archiver.
15113 archiver_list_spec=$lt_archiver_list_spec
15115 # A symbol stripping program.
15118 # Commands used to install an old-style archive.
15120 old_postinstall_cmds=$lt_old_postinstall_cmds
15121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15123 # Whether to use a lock for old archive extraction.
15124 lock_old_archive_extraction=$lock_old_archive_extraction
15129 # LTCC compiler flags.
15130 LTCFLAGS=$lt_CFLAGS
15132 # Take the output of nm and produce a listing of raw symbols and C names.
15133 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15135 # Transform the output of nm in a proper C declaration.
15136 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15138 # Transform the output of nm in a C name address pair.
15139 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15141 # Transform the output of nm in a C name address pair when lib prefix is needed.
15142 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15144 # Specify filename containing input files for \$NM.
15145 nm_file_list_spec=$lt_nm_file_list_spec
15147 # The root where to search for dependent libraries,and in which our libraries should be installed.
15148 lt_sysroot=$lt_sysroot
15150 # The name of the directory that contains temporary libtool files.
15153 # Used to examine libraries when file_magic_cmd begins with "file".
15154 MAGIC_CMD=$MAGIC_CMD
15156 # Must we lock files when doing compilation?
15157 need_locks=$lt_need_locks
15160 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15162 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15163 DSYMUTIL=$lt_DSYMUTIL
15165 # Tool to change global to local symbols on Mac OS X.
15168 # Tool to manipulate fat objects and archives on Mac OS X.
15171 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15174 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15175 OTOOL64=$lt_OTOOL64
15177 # Old archive suffix (normally "a").
15180 # Shared library suffix (normally ".so").
15181 shrext_cmds=$lt_shrext_cmds
15183 # The commands to extract the exported symbol list from a shared archive.
15184 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15186 # Variables whose values should be saved in libtool wrapper scripts and
15187 # restored at link time.
15188 variables_saved_for_relink=$lt_variables_saved_for_relink
15190 # Do we need the "lib" prefix for modules?
15191 need_lib_prefix=$need_lib_prefix
15193 # Do we need a version for libraries?
15194 need_version=$need_version
15196 # Library versioning type.
15197 version_type=$version_type
15199 # Shared library runtime path variable.
15200 runpath_var=$runpath_var
15202 # Shared library path variable.
15203 shlibpath_var=$shlibpath_var
15205 # Is shlibpath searched before the hard-coded library search path?
15206 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15208 # Format of library name prefix.
15209 libname_spec=$lt_libname_spec
15211 # List of archive names. First name is the real one, the rest are links.
15212 # The last name is the one that the linker finds with -lNAME
15213 library_names_spec=$lt_library_names_spec
15215 # The coded name of the library, if different from the real name.
15216 soname_spec=$lt_soname_spec
15218 # Permission mode override for installation of shared libraries.
15219 install_override_mode=$lt_install_override_mode
15221 # Command to use after installation of a shared archive.
15222 postinstall_cmds=$lt_postinstall_cmds
15224 # Command to use after uninstallation of a shared archive.
15225 postuninstall_cmds=$lt_postuninstall_cmds
15227 # Commands used to finish a libtool library installation in a directory.
15228 finish_cmds=$lt_finish_cmds
15230 # As "finish_cmds", except a single script fragment to be evaled but
15232 finish_eval=$lt_finish_eval
15234 # Whether we should hardcode library paths into libraries.
15235 hardcode_into_libs=$hardcode_into_libs
15237 # Compile-time system search path for libraries.
15238 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15240 # Run-time system search path for libraries.
15241 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15243 # Whether dlopen is supported.
15244 dlopen_support=$enable_dlopen
15246 # Whether dlopen of programs is supported.
15247 dlopen_self=$enable_dlopen_self
15249 # Whether dlopen of statically linked programs is supported.
15250 dlopen_self_static=$enable_dlopen_self_static
15252 # Commands to strip libraries.
15253 old_striplib=$lt_old_striplib
15254 striplib=$lt_striplib
15257 # The linker used to build libraries.
15260 # How to create reloadable object files.
15261 reload_flag=$lt_reload_flag
15262 reload_cmds=$lt_reload_cmds
15264 # Commands used to build an old-style archive.
15265 old_archive_cmds=$lt_old_archive_cmds
15267 # A language specific compiler.
15270 # Is the compiler the GNU compiler?
15273 # Compiler flag to turn off builtin functions.
15274 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15276 # Additional compiler flags for building library objects.
15277 pic_flag=$lt_lt_prog_compiler_pic
15279 # How to pass a linker flag through the compiler.
15280 wl=$lt_lt_prog_compiler_wl
15282 # Compiler flag to prevent dynamic linking.
15283 link_static_flag=$lt_lt_prog_compiler_static
15285 # Does compiler simultaneously support -c and -o options?
15286 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15288 # Whether or not to add -lc for building shared libraries.
15289 build_libtool_need_lc=$archive_cmds_need_lc
15291 # Whether or not to disallow shared libs when runtime libs are static.
15292 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15294 # Compiler flag to allow reflexive dlopens.
15295 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15297 # Compiler flag to generate shared objects directly from archives.
15298 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15300 # Whether the compiler copes with passing no objects directly.
15301 compiler_needs_object=$lt_compiler_needs_object
15303 # Create an old-style archive from a shared archive.
15304 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15306 # Create a temporary old-style archive to link instead of a shared archive.
15307 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15309 # Commands used to build a shared archive.
15310 archive_cmds=$lt_archive_cmds
15311 archive_expsym_cmds=$lt_archive_expsym_cmds
15313 # Commands used to build a loadable module if different from building
15314 # a shared archive.
15315 module_cmds=$lt_module_cmds
15316 module_expsym_cmds=$lt_module_expsym_cmds
15318 # Whether we are building with GNU ld or not.
15319 with_gnu_ld=$lt_with_gnu_ld
15321 # Flag that allows shared libraries with undefined symbols to be built.
15322 allow_undefined_flag=$lt_allow_undefined_flag
15324 # Flag that enforces no undefined symbols.
15325 no_undefined_flag=$lt_no_undefined_flag
15327 # Flag to hardcode \$libdir into a binary during linking.
15328 # This must work even if \$libdir does not exist
15329 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15331 # Whether we need a single "-rpath" flag with a separated argument.
15332 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15334 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15335 # DIR into the resulting binary.
15336 hardcode_direct=$hardcode_direct
15338 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15339 # DIR into the resulting binary and the resulting library dependency is
15340 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15341 # library is relocated.
15342 hardcode_direct_absolute=$hardcode_direct_absolute
15344 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15345 # into the resulting binary.
15346 hardcode_minus_L=$hardcode_minus_L
15348 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15349 # into the resulting binary.
15350 hardcode_shlibpath_var=$hardcode_shlibpath_var
15352 # Set to "yes" if building a shared library automatically hardcodes DIR
15353 # into the library and all subsequent libraries and executables linked
15355 hardcode_automatic=$hardcode_automatic
15357 # Set to yes if linker adds runtime paths of dependent libraries
15358 # to runtime path list.
15359 inherit_rpath=$inherit_rpath
15361 # Whether libtool must link a program against all its dependency libraries.
15362 link_all_deplibs=$link_all_deplibs
15364 # Set to "yes" if exported symbols are required.
15365 always_export_symbols=$always_export_symbols
15367 # The commands to list exported symbols.
15368 export_symbols_cmds=$lt_export_symbols_cmds
15370 # Symbols that should not be listed in the preloaded symbols.
15371 exclude_expsyms=$lt_exclude_expsyms
15373 # Symbols that must always be exported.
15374 include_expsyms=$lt_include_expsyms
15376 # Commands necessary for linking programs (against libraries) with templates.
15377 prelink_cmds=$lt_prelink_cmds
15379 # Commands necessary for finishing linking programs.
15380 postlink_cmds=$lt_postlink_cmds
15382 # Specify filename containing input files.
15383 file_list_spec=$lt_file_list_spec
15385 # How to hardcode a shared library path into an executable.
15386 hardcode_action=$hardcode_action
15388 # ### END LIBTOOL CONFIG
15394 cat <<\_LT_EOF >> "$cfgfile"
15395 # AIX sometimes has problems with the GCC collect2 program. For some
15396 # reason, if we set the COLLECT_NAMES environment variable, the problems
15397 # vanish in a puff of smoke.
15398 if test "X${COLLECT_NAMES+set}" != Xset; then
15400 export COLLECT_NAMES
15407 ltmain="$ac_aux_dir/ltmain.sh"
15410 # We use sed instead of cat because bash on DJGPP gets confused if
15411 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15412 # text mode, it properly converts lines to CR/LF. This bash problem
15413 # is reportedly fixed, but why not run on old versions too?
15414 sed '$q' "$ltmain" >> "$cfgfile" \
15415 || (rm -f "$cfgfile"; exit 1)
15417 if test x"$xsi_shell" = xyes; then
15418 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15422 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15423 \ * ) func_dirname_result="${3}" ;;\
15425 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15426 && mv -f "$cfgfile.tmp" "$cfgfile" \
15427 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15428 test 0 -eq $? || _lt_function_replace_fail=:
15431 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15434 \ func_basename_result="${1##*/}"\
15435 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15436 && mv -f "$cfgfile.tmp" "$cfgfile" \
15437 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15438 test 0 -eq $? || _lt_function_replace_fail=:
15441 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15442 func_dirname_and_basename ()\
15445 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15446 \ * ) func_dirname_result="${3}" ;;\
15448 \ func_basename_result="${1##*/}"\
15449 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15450 && mv -f "$cfgfile.tmp" "$cfgfile" \
15451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15452 test 0 -eq $? || _lt_function_replace_fail=:
15455 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15458 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15459 \ # positional parameters, so assign one to ordinary parameter first.\
15460 \ func_stripname_result=${3}\
15461 \ func_stripname_result=${func_stripname_result#"${1}"}\
15462 \ func_stripname_result=${func_stripname_result%"${2}"}\
15463 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15464 && mv -f "$cfgfile.tmp" "$cfgfile" \
15465 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15466 test 0 -eq $? || _lt_function_replace_fail=:
15469 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15470 func_split_long_opt ()\
15472 \ func_split_long_opt_name=${1%%=*}\
15473 \ func_split_long_opt_arg=${1#*=}\
15474 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15475 && mv -f "$cfgfile.tmp" "$cfgfile" \
15476 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15477 test 0 -eq $? || _lt_function_replace_fail=:
15480 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15481 func_split_short_opt ()\
15483 \ func_split_short_opt_arg=${1#??}\
15484 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15485 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15486 && mv -f "$cfgfile.tmp" "$cfgfile" \
15487 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15488 test 0 -eq $? || _lt_function_replace_fail=:
15491 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15495 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15496 \ *) func_lo2o_result=${1} ;;\
15498 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15499 && mv -f "$cfgfile.tmp" "$cfgfile" \
15500 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15501 test 0 -eq $? || _lt_function_replace_fail=:
15504 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15507 func_xform_result=${1%.*}.lo\
15508 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15509 && mv -f "$cfgfile.tmp" "$cfgfile" \
15510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15511 test 0 -eq $? || _lt_function_replace_fail=:
15514 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15517 func_arith_result=$(( $* ))\
15518 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15519 && mv -f "$cfgfile.tmp" "$cfgfile" \
15520 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15521 test 0 -eq $? || _lt_function_replace_fail=:
15524 sed -e '/^func_len ()$/,/^} # func_len /c\
15527 func_len_result=${#1}\
15528 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15529 && mv -f "$cfgfile.tmp" "$cfgfile" \
15530 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15531 test 0 -eq $? || _lt_function_replace_fail=:
15535 if test x"$lt_shell_append" = xyes; then
15536 sed -e '/^func_append ()$/,/^} # func_append /c\
15539 eval "${1}+=\\${2}"\
15540 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15541 && mv -f "$cfgfile.tmp" "$cfgfile" \
15542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15543 test 0 -eq $? || _lt_function_replace_fail=:
15546 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15547 func_append_quoted ()\
15549 \ func_quote_for_eval "${2}"\
15550 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15551 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15552 && mv -f "$cfgfile.tmp" "$cfgfile" \
15553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15554 test 0 -eq $? || _lt_function_replace_fail=:
15557 # Save a `func_append' function call where possible by direct use of '+='
15558 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15559 && mv -f "$cfgfile.tmp" "$cfgfile" \
15560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15561 test 0 -eq $? || _lt_function_replace_fail=:
15563 # Save a `func_append' function call even when '+=' is not available
15564 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15565 && mv -f "$cfgfile.tmp" "$cfgfile" \
15566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15567 test 0 -eq $? || _lt_function_replace_fail=:
15570 if test x"$_lt_function_replace_fail" = x":"; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15572 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15576 mv -f "$cfgfile" "$ofile" ||
15577 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15588 ac_clean_files=$ac_clean_files_save
15590 test $ac_write_fail = 0 ||
15591 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15594 # configure is writing to config.log, and then calls config.status.
15595 # config.status does its own redirection, appending to config.log.
15596 # Unfortunately, on DOS this fails, as config.log is still kept open
15597 # by configure, so config.status won't be able to write to it; its
15598 # output is simply discarded. So we exec the FD to /dev/null,
15599 # effectively closing config.log, so it can be properly (re)opened and
15600 # appended to by config.status. When coming back to configure, we
15601 # need to make the FD available again.
15602 if test "$no_create" != yes; then
15604 ac_config_status_args=
15605 test "$silent" = yes &&
15606 ac_config_status_args="$ac_config_status_args --quiet"
15608 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15610 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15611 # would make configure fail if this is the last instruction.
15612 $ac_cs_success || as_fn_exit 1
15614 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15616 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15621 ${PACKAGE} ${VERSION}
15622 ---------------------
15625 GObject-Introspection: ${found_introspection}
15626 VALA bindings: ${have_vapigen}
15627 Context manager: ${with_context_manager}