2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp 0.20.3.
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.3'
655 PACKAGE_STRING='gupnp 0.20.3'
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
802 MAINTAINER_MODE_FALSE
812 INSTALL_STRIP_PROGRAM
866 program_transform_name
879 enable_option_checking
880 enable_maintainer_mode
882 enable_dependency_tracking
899 ac_precious_vars='build_alias
925 # Initialize some variables set by options.
927 ac_init_version=false
928 ac_unrecognized_opts=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
939 program_transform_name=s,x,x,
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir='${exec_prefix}/bin'
954 sbindir='${exec_prefix}/sbin'
955 libexecdir='${exec_prefix}/libexec'
956 datarootdir='${prefix}/share'
957 datadir='${datarootdir}'
958 sysconfdir='${prefix}/etc'
959 sharedstatedir='${prefix}/com'
960 localstatedir='${prefix}/var'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
985 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990 # Accept the important Cygnus configure options, so we can diagnose typos.
992 case $ac_dashdash$ac_option in
996 -bindir | --bindir | --bindi | --bind | --bin | --bi)
998 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1001 -build | --build | --buil | --bui | --bu)
1002 ac_prev=build_alias ;;
1003 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1004 build_alias=$ac_optarg ;;
1006 -cache-file | --cache-file | --cache-fil | --cache-fi \
1007 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1008 ac_prev=cache_file ;;
1009 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1010 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1011 cache_file=$ac_optarg ;;
1013 --config-cache | -C)
1014 cache_file=config.cache ;;
1016 -datadir | --datadir | --datadi | --datad)
1018 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1019 datadir=$ac_optarg ;;
1021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1022 | --dataroo | --dataro | --datar)
1023 ac_prev=datarootdir ;;
1024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1026 datarootdir=$ac_optarg ;;
1028 -disable-* | --disable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid feature name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_$ac_useropt"
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval enable_$ac_useropt=no ;;
1044 -docdir | --docdir | --docdi | --doc | --do)
1046 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1047 docdir=$ac_optarg ;;
1049 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1051 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1052 dvidir=$ac_optarg ;;
1054 -enable-* | --enable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_$ac_useropt"
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval enable_$ac_useropt=\$ac_optarg ;;
1070 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1071 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1072 | --exec | --exe | --ex)
1073 ac_prev=exec_prefix ;;
1074 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1075 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1076 | --exec=* | --exe=* | --ex=*)
1077 exec_prefix=$ac_optarg ;;
1079 -gas | --gas | --ga | --g)
1080 # Obsolete; use --with-gas.
1083 -help | --help | --hel | --he | -h)
1084 ac_init_help=long ;;
1085 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1086 ac_init_help=recursive ;;
1087 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1088 ac_init_help=short ;;
1090 -host | --host | --hos | --ho)
1091 ac_prev=host_alias ;;
1092 -host=* | --host=* | --hos=* | --ho=*)
1093 host_alias=$ac_optarg ;;
1095 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1097 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1099 htmldir=$ac_optarg ;;
1101 -includedir | --includedir | --includedi | --included | --include \
1102 | --includ | --inclu | --incl | --inc)
1103 ac_prev=includedir ;;
1104 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1105 | --includ=* | --inclu=* | --incl=* | --inc=*)
1106 includedir=$ac_optarg ;;
1108 -infodir | --infodir | --infodi | --infod | --info | --inf)
1110 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1111 infodir=$ac_optarg ;;
1113 -libdir | --libdir | --libdi | --libd)
1115 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1116 libdir=$ac_optarg ;;
1118 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1119 | --libexe | --libex | --libe)
1120 ac_prev=libexecdir ;;
1121 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1122 | --libexe=* | --libex=* | --libe=*)
1123 libexecdir=$ac_optarg ;;
1125 -localedir | --localedir | --localedi | --localed | --locale)
1126 ac_prev=localedir ;;
1127 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1128 localedir=$ac_optarg ;;
1130 -localstatedir | --localstatedir | --localstatedi | --localstated \
1131 | --localstate | --localstat | --localsta | --localst | --locals)
1132 ac_prev=localstatedir ;;
1133 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1134 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1135 localstatedir=$ac_optarg ;;
1137 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1139 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1140 mandir=$ac_optarg ;;
1142 -nfp | --nfp | --nf)
1143 # Obsolete; use --without-fp.
1146 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1147 | --no-cr | --no-c | -n)
1150 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1151 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1154 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1155 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1156 | --oldin | --oldi | --old | --ol | --o)
1157 ac_prev=oldincludedir ;;
1158 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1159 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1160 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1161 oldincludedir=$ac_optarg ;;
1163 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1165 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1166 prefix=$ac_optarg ;;
1168 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1169 | --program-pre | --program-pr | --program-p)
1170 ac_prev=program_prefix ;;
1171 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1172 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1173 program_prefix=$ac_optarg ;;
1175 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1176 | --program-suf | --program-su | --program-s)
1177 ac_prev=program_suffix ;;
1178 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1179 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1180 program_suffix=$ac_optarg ;;
1182 -program-transform-name | --program-transform-name \
1183 | --program-transform-nam | --program-transform-na \
1184 | --program-transform-n | --program-transform- \
1185 | --program-transform | --program-transfor \
1186 | --program-transfo | --program-transf \
1187 | --program-trans | --program-tran \
1188 | --progr-tra | --program-tr | --program-t)
1189 ac_prev=program_transform_name ;;
1190 -program-transform-name=* | --program-transform-name=* \
1191 | --program-transform-nam=* | --program-transform-na=* \
1192 | --program-transform-n=* | --program-transform-=* \
1193 | --program-transform=* | --program-transfor=* \
1194 | --program-transfo=* | --program-transf=* \
1195 | --program-trans=* | --program-tran=* \
1196 | --progr-tra=* | --program-tr=* | --program-t=*)
1197 program_transform_name=$ac_optarg ;;
1199 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1201 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1202 pdfdir=$ac_optarg ;;
1204 -psdir | --psdir | --psdi | --psd | --ps)
1206 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1210 | -silent | --silent | --silen | --sile | --sil)
1213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1217 sbindir=$ac_optarg ;;
1219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1221 | --sharedst | --shareds | --shared | --share | --shar \
1223 ac_prev=sharedstatedir ;;
1224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1228 sharedstatedir=$ac_optarg ;;
1230 -site | --site | --sit)
1232 -site=* | --site=* | --sit=*)
1235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1238 srcdir=$ac_optarg ;;
1240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1241 | --syscon | --sysco | --sysc | --sys | --sy)
1242 ac_prev=sysconfdir ;;
1243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1245 sysconfdir=$ac_optarg ;;
1247 -target | --target | --targe | --targ | --tar | --ta | --t)
1248 ac_prev=target_alias ;;
1249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1250 target_alias=$ac_optarg ;;
1252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1255 -version | --version | --versio | --versi | --vers | -V)
1256 ac_init_version=: ;;
1259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error $? "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1272 eval with_$ac_useropt=\$ac_optarg ;;
1274 -without-* | --without-*)
1275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1278 as_fn_error $? "invalid package name: $ac_useropt"
1279 ac_useropt_orig=$ac_useropt
1280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep=', ';;
1288 eval with_$ac_useropt=no ;;
1291 # Obsolete; use --with-x.
1294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1295 | --x-incl | --x-inc | --x-in | --x-i)
1296 ac_prev=x_includes ;;
1297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1299 x_includes=$ac_optarg ;;
1301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1303 ac_prev=x_libraries ;;
1304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1306 x_libraries=$ac_optarg ;;
1308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1309 Try \`$0 --help' for more information"
1313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 case $ac_envvar in #(
1316 '' | [0-9]* | *[!_$as_cr_alnum]* )
1317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1319 eval $ac_envvar=\$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1333 if test -n "$ac_prev"; then
1334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1335 as_fn_error $? "missing argument to $ac_option"
1338 if test -n "$ac_unrecognized_opts"; then
1339 case $enable_option_checking in
1341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1346 # Check all directory arguments for consistency.
1347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir
1352 eval ac_val=\$$ac_var
1353 # Remove trailing slashes.
1356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1357 eval $ac_var=\$ac_val;;
1359 # Be sure to have absolute directory names.
1361 [\\/$]* | ?:[\\/]* ) continue;;
1362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1367 # There might be people who depend on the old broken behavior: `$host'
1368 # used to hold the argument of --host etc.
1369 # FIXME: To remove some day.
1372 target=$target_alias
1374 # FIXME: To remove some day.
1375 if test "x$host_alias" != x; then
1376 if test "x$build_alias" = x; then
1377 cross_compiling=maybe
1378 elif test "x$build_alias" != "x$host_alias"; then
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386 test "$silent" = yes && exec 6>/dev/null
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error $? "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error $? "pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1429 ac_srcdir_defaulted=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures gupnp 0.20.3 to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking ...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1528 --target=TARGET configure for building compilers for TARGET [HOST]
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of gupnp 0.20.3:";;
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --disable-maintainer-mode disable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-silent-rules less verbose build output (undo: `make V=1')
1545 --disable-silent-rules verbose build output (undo: `make V=0')
1546 --disable-dependency-tracking speeds up one-time build
1547 --enable-dependency-tracking do not reject slow dependency extractors
1548 --disable-largefile omit support for large files
1549 --enable-shared[=PKGS] build shared libraries [default=yes]
1550 --enable-static[=PKGS] build static libraries [default=yes]
1551 --enable-fast-install[=PKGS]
1552 optimize for fast installation [default=yes]
1553 --disable-libtool-lock avoid locking (might break parallel builds)
1554 --enable-debug enable debugging
1555 --enable-introspection=[no/auto/yes]
1556 Enable introspection for this build
1557 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1558 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1559 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1566 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1567 --with-sysroot=DIR Search for dependent libraries within DIR
1568 (or the compiler's sysroot if not specified).
1569 --with-context-manager=[network-manager/connman/unix/linux]
1570 Context Manager backend to use
1571 --with-html-dir=PATH path to installed docs
1573 Some influential environment variables:
1574 CC C compiler command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1577 nonstandard directory <lib dir>
1578 LIBS libraries to pass to the linker, e.g. -l<library>
1579 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1580 you have headers in a nonstandard directory <include dir>
1582 PKG_CONFIG path to pkg-config utility
1584 directories to add to pkg-config's search path
1586 path overriding pkg-config's built-in search path
1588 C compiler flags for GTest, overriding pkg-config
1589 GTest_LIBS linker flags for GTest, overriding pkg-config
1591 C compiler flags for LIBGUPNP, overriding pkg-config
1593 linker flags for LIBGUPNP, overriding pkg-config
1595 C compiler flags for GTHREAD, overriding pkg-config
1597 linker flags for GTHREAD, overriding pkg-config
1598 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1599 GIO_LIBS linker flags for GIO, overriding pkg-config
1601 C compiler flags for CONNMAN, overriding pkg-config
1603 linker flags for CONNMAN, overriding pkg-config
1605 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1607 linker flags for GTKDOC_DEPS, overriding pkg-config
1609 Use these variables to override the choices made by `configure' or to help
1610 it to find libraries and programs with nonstandard names/locations.
1612 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp>.
1613 gupnp home page: <http://www.gupnp.org/>.
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621 test -d "$ac_dir" ||
1622 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1630 # A ".." for each directory in $ac_dir_suffix.
1631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1632 case $ac_top_builddir_sub in
1633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1637 ac_abs_top_builddir=$ac_pwd
1638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1639 # for backward compatibility:
1640 ac_top_builddir=$ac_top_build_prefix
1643 .) # We are building in place.
1645 ac_top_srcdir=$ac_top_builddir_sub
1646 ac_abs_top_srcdir=$ac_pwd ;;
1647 [\\/]* | ?:[\\/]* ) # Absolute name.
1648 ac_srcdir=$srcdir$ac_dir_suffix;
1649 ac_top_srcdir=$srcdir
1650 ac_abs_top_srcdir=$srcdir ;;
1652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653 ac_top_srcdir=$ac_top_build_prefix$srcdir
1654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658 cd "$ac_dir" || { ac_status=$?; continue; }
1659 # Check for guested configure.
1660 if test -f "$ac_srcdir/configure.gnu"; then
1662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663 elif test -f "$ac_srcdir/configure"; then
1665 $SHELL "$ac_srcdir/configure" --help=recursive
1667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 cd "$ac_pwd" || { ac_status=$?; break; }
1673 test -n "$ac_init_help" && exit $ac_status
1674 if $ac_init_version; then
1676 gupnp configure 0.20.3
1677 generated by GNU Autoconf 2.69
1679 Copyright (C) 2012 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1686 ## ------------------------ ##
1687 ## Autoconf initialization. ##
1688 ## ------------------------ ##
1690 # ac_fn_c_try_compile LINENO
1691 # --------------------------
1692 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_compile ()
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext
1697 if { { ac_try="$ac_compile"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_compile") 2>conftest.err
1706 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest.$ac_objext; then :
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 as_fn_set_status $ac_retval
1726 } # ac_fn_c_try_compile
1728 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1729 # -------------------------------------------------------
1730 # Tests whether HEADER exists and can be compiled using the include files in
1731 # INCLUDES, setting the cache variable VAR accordingly.
1732 ac_fn_c_check_header_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \${$3+:} false; then :
1738 $as_echo_n "(cached) " >&6
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1745 if ac_fn_c_try_compile "$LINENO"; then :
1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 } # ac_fn_c_check_header_compile
1759 # ac_fn_c_try_cpp LINENO
1760 # ----------------------
1761 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } > conftest.i && {
1781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1796 # ac_fn_c_try_run LINENO
1797 # ----------------------
1798 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1799 # that executables *can* be run.
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_link"
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>&5
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1814 { { case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_try") 2>&5
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; }; }; then :
1826 $as_echo "$as_me: program exited with status $ac_status" >&5
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1830 ac_retval=$ac_status
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status $ac_retval
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 test -x conftest$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 as_fn_set_status $ac_retval
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_func LINENO FUNC VAR
1885 # ----------------------------------
1886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1887 ac_fn_c_check_func ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \${$3+:} false; then :
1893 $as_echo_n "(cached) " >&6
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1899 #define $2 innocuous_$2
1901 /* System header to define __stub macros and hopefully few prototypes,
1902 which can conflict with char $2 (); below.
1903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1904 <limits.h> exists even on freestanding compilers. */
1907 # include <limits.h>
1909 # include <assert.h>
1914 /* Override any GCC internal prototype to avoid an error.
1915 Use char because int might match the return type of a GCC
1916 builtin and then its argument prototype would still apply. */
1921 /* The GNU C library defines this for functions which it implements
1922 to always fail with ENOSYS. Some functions are actually named
1923 something starting with __ and the normal name is an alias. */
1924 #if defined __stub_$2 || defined __stub___$2
1936 if ac_fn_c_try_link "$LINENO"; then :
1941 rm -f core conftest.err conftest.$ac_objext \
1942 conftest$ac_exeext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 } # ac_fn_c_check_func
1950 cat >config.log <<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1954 It was created by gupnp $as_me 0.20.3, which was
1955 generated by GNU Autoconf 2.69. Invocation command line was
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 $as_echo "PATH: $as_dir"
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2015 ac_must_keep_next=false
2021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023 | -silent | --silent | --silen | --sile | --sil)
2026 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2031 as_fn_append ac_configure_args1 " '$ac_arg'"
2032 if test $ac_must_keep_next = true; then
2033 ac_must_keep_next=false # Got value, back to normal.
2036 *=* | --config-cache | -C | -disable-* | --disable-* \
2037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039 | -with-* | --with-* | -without-* | --without-* | --x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 -* ) ac_must_keep_next=true ;;
2047 as_fn_append ac_configure_args " '$ac_arg'"
2052 { ac_configure_args0=; unset ac_configure_args0;}
2053 { ac_configure_args1=; unset ac_configure_args1;}
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2069 # The following way of writing the cache mishandles newlines in values,
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2105 for ac_var in $ac_subst_vars
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2120 for ac_var in $ac_subst_files
2122 eval ac_val=\$$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2155 $as_echo "/* confdefs.h */" > confdefs.h
2157 # Predefined preprocessor variables.
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1=./$CONFIG_SITE;;
2192 */*) ac_site_file1=$CONFIG_SITE;;
2193 *) ac_site_file1=./$CONFIG_SITE;;
2195 elif test "x$prefix" != xNONE; then
2196 ac_site_file1=$prefix/share/config.site
2197 ac_site_file2=$prefix/etc/config.site
2199 ac_site_file1=$ac_default_prefix/share/config.site
2200 ac_site_file2=$ac_default_prefix/etc/config.site
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE && continue
2205 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2210 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $? "failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225 *) . "./$cache_file";;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2234 as_fn_append ac_header_list " stdlib.h"
2235 as_fn_append ac_header_list " unistd.h"
2236 as_fn_append ac_header_list " sys/param.h"
2237 # Check that the precious variables saved in the cache have kept the same
2239 ac_cache_corrupted=false
2240 for ac_var in $ac_precious_vars; do
2241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2242 eval ac_new_set=\$ac_env_${ac_var}_set
2243 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2244 eval ac_new_val=\$ac_env_${ac_var}_value
2245 case $ac_old_set,$ac_new_set in
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2253 ac_cache_corrupted=: ;;
2256 if test "x$ac_old_val" != "x$ac_new_val"; then
2257 # differences in whitespace do not lead to failure.
2258 ac_old_val_w=`echo x $ac_old_val`
2259 ac_new_val_w=`echo x $ac_new_val`
2260 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2263 ac_cache_corrupted=:
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2267 eval $ac_var=\$ac_old_val
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2270 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2275 # Pass precious variables to config.status.
2276 if test "$ac_new_set" = set; then
2278 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2279 *) ac_arg=$ac_var=$ac_new_val ;;
2281 case " $ac_configure_args " in
2282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2283 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2287 if $ac_cache_corrupted; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2292 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2294 ## -------------------- ##
2295 ## Main body of script. ##
2296 ## -------------------- ##
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2306 ac_config_headers="$ac_config_headers config.h"
2311 for ac_dir in build-aux "$srcdir"/build-aux; do
2312 if test -f "$ac_dir/install-sh"; then
2314 ac_install_sh="$ac_aux_dir/install-sh -c"
2316 elif test -f "$ac_dir/install.sh"; then
2318 ac_install_sh="$ac_aux_dir/install.sh -c"
2320 elif test -f "$ac_dir/shtool"; then
2322 ac_install_sh="$ac_aux_dir/shtool install -c"
2326 if test -z "$ac_aux_dir"; then
2327 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2330 # These three variables are undocumented and unsupported,
2331 # and are intended to be withdrawn in a future Autoconf release.
2332 # They can cause serious problems if a builder's source tree is in a directory
2333 # whose full name contains unusual characters.
2334 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2335 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2336 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340 # Make sure we can run config.sub.
2341 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2342 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2345 $as_echo_n "checking build system type... " >&6; }
2346 if ${ac_cv_build+:} false; then :
2347 $as_echo_n "(cached) " >&6
2349 ac_build_alias=$build_alias
2350 test "x$ac_build_alias" = x &&
2351 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2352 test "x$ac_build_alias" = x &&
2353 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2354 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2355 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2359 $as_echo "$ac_cv_build" >&6; }
2360 case $ac_cv_build in
2362 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2365 ac_save_IFS=$IFS; IFS='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2379 $as_echo_n "checking host system type... " >&6; }
2380 if ${ac_cv_host+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 if test "x$host_alias" = x; then
2384 ac_cv_host=$ac_cv_build
2386 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2387 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2392 $as_echo "$ac_cv_host" >&6; }
2395 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2398 ac_save_IFS=$IFS; IFS='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2412 $as_echo_n "checking target system type... " >&6; }
2413 if ${ac_cv_target+:} false; then :
2414 $as_echo_n "(cached) " >&6
2416 if test "x$target_alias" = x; then
2417 ac_cv_target=$ac_cv_host
2419 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2420 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2425 $as_echo "$ac_cv_target" >&6; }
2426 case $ac_cv_target in
2428 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2430 target=$ac_cv_target
2431 ac_save_IFS=$IFS; IFS='-'
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2441 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2444 # The aliases save the names the user supplied, while $host etc.
2445 # will get canonicalized.
2446 test -n "$target_alias" &&
2447 test "$program_prefix$program_suffix$program_transform_name" = \
2449 program_prefix=${target_alias}-
2451 am__api_version='1.11'
2453 # Find a good install program. We prefer a C program (faster),
2454 # so one script is as good as another. But avoid the broken or
2455 # incompatible versions:
2456 # SysV /etc/install, /usr/sbin/install
2457 # SunOS /usr/etc/install
2458 # IRIX /sbin/install
2460 # AmigaOS /C/install, which installs bootblocks on floppy discs
2461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2464 # OS/2's system install, which has a completely different semantic
2465 # ./install, which can be erroneously created by make from ./install.sh.
2466 # Reject install programs that cannot install multiple files.
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2468 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2469 if test -z "$INSTALL"; then
2470 if ${ac_cv_path_install+:} false; then :
2471 $as_echo_n "(cached) " >&6
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir=.
2478 # Account for people who put trailing slashes in PATH elements.
2479 case $as_dir/ in #((
2480 ./ | .// | /[cC]/* | \
2481 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2482 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2485 # OSF1 and SCO ODT 3.0 have their own names for install.
2486 # Don't use installbsd from OSF since it installs stuff as root
2488 for ac_prog in ginstall scoinst install; do
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2491 if test $ac_prog = install &&
2492 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2493 # AIX install. It has an incompatible calling convention.
2495 elif test $ac_prog = install &&
2496 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2497 # program-specific install script used by HP pwplus--don't use.
2500 rm -rf conftest.one conftest.two conftest.dir
2501 echo one > conftest.one
2502 echo two > conftest.two
2504 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2505 test -s conftest.one && test -s conftest.two &&
2506 test -s conftest.dir/conftest.one &&
2507 test -s conftest.dir/conftest.two
2509 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2522 rm -rf conftest.one conftest.two conftest.dir
2525 if test "${ac_cv_path_install+set}" = set; then
2526 INSTALL=$ac_cv_path_install
2528 # As a last resort, use the slow shell script. Don't cache a
2529 # value for INSTALL within a source directory, because that will
2530 # break other packages using the cache if that directory is
2531 # removed, or if the value is a relative name.
2532 INSTALL=$ac_install_sh
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2536 $as_echo "$INSTALL" >&6; }
2538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2539 # It thinks the first close brace ends the variable substitution.
2540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2544 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2547 $as_echo_n "checking whether build environment is sane... " >&6; }
2550 echo timestamp > conftest.file
2551 # Reject unsafe characters in $srcdir or the absolute working directory
2552 # name. Accept space and tab only in the latter.
2556 *[\\\"\#\$\&\'\`$am_lf]*)
2557 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2560 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2561 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2564 # Do `set' in a subshell so we don't clobber the current shell's
2565 # arguments. Must try -L first in case configure is actually a
2566 # symlink; some systems play weird games with the mod time of symlinks
2567 # (eg FreeBSD returns the mod time of the symlink's containing
2570 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2571 if test "$*" = "X"; then
2573 set X `ls -t "$srcdir/configure" conftest.file`
2576 if test "$*" != "X $srcdir/configure conftest.file" \
2577 && test "$*" != "X conftest.file $srcdir/configure"; then
2579 # If neither matched, then we have a broken ls. This can happen
2580 # if, for instance, CONFIG_SHELL is bash and it inherits a
2581 # broken ls alias from the environment. This has actually
2582 # happened. Such a system could not be considered "sane".
2583 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2584 alias in your environment" "$LINENO" 5
2587 test "$2" = conftest.file
2593 as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 test "$program_prefix" != NONE &&
2599 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2600 # Use a double $ so make ignores it.
2601 test "$program_suffix" != NONE &&
2602 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2603 # Double any \ or $.
2604 # By default was `s,x,x', remove it if useless.
2605 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2606 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2608 # expand $ac_aux_dir to an absolute path
2609 am_aux_dir=`cd $ac_aux_dir && pwd`
2611 if test x"${MISSING+set}" != xset; then
2614 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2616 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2619 # Use eval to expand $SHELL
2620 if eval "$MISSING --run true"; then
2621 am_missing_run="$MISSING --run "
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2625 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2628 if test x"${install_sh}" != xset; then
2631 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2633 install_sh="\${SHELL} $am_aux_dir/install-sh"
2637 # Installed binaries are usually stripped using `strip' when the user
2638 # run `make install-strip'. However `strip' might not be the right
2639 # tool to use in cross-compilation environments, therefore Automake
2640 # will honor the `STRIP' environment variable to overrule this program.
2641 if test "$cross_compiling" != no; then
2642 if test -n "$ac_tool_prefix"; then
2643 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2644 set dummy ${ac_tool_prefix}strip; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if ${ac_cv_prog_STRIP+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$STRIP"; then
2651 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 STRIP=$ac_cv_prog_STRIP
2671 if test -n "$STRIP"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2673 $as_echo "$STRIP" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2681 if test -z "$ac_cv_prog_STRIP"; then
2683 # Extract the first word of "strip", so it can be a program name with args.
2684 set dummy strip; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 if test -n "$ac_ct_STRIP"; then
2691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 ac_cv_prog_ac_ct_STRIP="strip"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2711 if test -n "$ac_ct_STRIP"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2713 $as_echo "$ac_ct_STRIP" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2719 if test "x$ac_ct_STRIP" = x; then
2722 case $cross_compiling:$ac_tool_warned in
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726 ac_tool_warned=yes ;;
2731 STRIP="$ac_cv_prog_STRIP"
2735 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2738 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2739 if test -z "$MKDIR_P"; then
2740 if ${ac_cv_path_mkdir+:} false; then :
2741 $as_echo_n "(cached) " >&6
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2747 test -z "$as_dir" && as_dir=.
2748 for ac_prog in mkdir gmkdir; do
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2751 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2752 'mkdir (GNU coreutils) '* | \
2753 'mkdir (coreutils) '* | \
2754 'mkdir (fileutils) '4.1*)
2755 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2765 test -d ./--version && rmdir ./--version
2766 if test "${ac_cv_path_mkdir+set}" = set; then
2767 MKDIR_P="$ac_cv_path_mkdir -p"
2769 # As a last resort, use the slow shell script. Don't cache a
2770 # value for MKDIR_P within a source directory, because that will
2771 # break other packages using the cache if that directory is
2772 # removed, or if the value is a relative name.
2773 MKDIR_P="$ac_install_sh -d"
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2777 $as_echo "$MKDIR_P" >&6; }
2781 [\\/$]* | ?:[\\/]*) ;;
2782 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2785 for ac_prog in gawk mawk nawk awk
2787 # Extract the first word of "$ac_prog", so it can be a program name with args.
2788 set dummy $ac_prog; ac_word=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if ${ac_cv_prog_AWK+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$AWK"; then
2795 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_AWK="$ac_prog"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$AWK"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2817 $as_echo "$AWK" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2824 test -n "$AWK" && break
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2828 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2830 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2831 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 cat >conftest.make <<\_ACEOF
2837 @echo '@@@%%%=$(MAKE)=@@@%%%'
2839 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2840 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2842 eval ac_cv_prog_make_${ac_make}_set=yes;;
2844 eval ac_cv_prog_make_${ac_make}_set=no;;
2848 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850 $as_echo "yes" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 SET_MAKE="MAKE=${MAKE-make}"
2858 rm -rf .tst 2>/dev/null
2859 mkdir .tst 2>/dev/null
2860 if test -d .tst; then
2865 rmdir .tst 2>/dev/null
2867 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2868 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2869 # is not polluted with repeated "-I."
2870 am__isrc=' -I$(srcdir)'
2871 # test to see if srcdir already configured
2872 if test -f $srcdir/config.status; then
2873 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2877 # test whether we have cygpath
2878 if test -z "$CYGPATH_W"; then
2879 if (cygpath --version) >/dev/null 2>/dev/null; then
2880 CYGPATH_W='cygpath -w'
2887 # Define the identity of the package.
2892 cat >>confdefs.h <<_ACEOF
2893 #define PACKAGE "$PACKAGE"
2897 cat >>confdefs.h <<_ACEOF
2898 #define VERSION "$VERSION"
2901 # Some tools Automake needs.
2903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2917 # We need awk for the "check" target. The system "awk" is bad on
2919 # Always define AMTAR for backward compatibility. Yes, it's still used
2920 # in the wild :-( We should find a proper way to deprecate it ...
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2925 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2926 # Loop over all known methods to create a tar archive until one works.
2927 _am_tools='gnutar plaintar pax cpio none'
2928 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2929 # Do not fold the above two line into one, because Tru64 sh and
2930 # Solaris sh will not grok spaces in the rhs of `-'.
2931 for _am_tool in $_am_tools
2935 for _am_tar in tar gnutar gtar;
2937 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2938 ($_am_tar --version) >&5 2>&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && break
2943 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2944 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2945 am__untar="$_am_tar -xf -"
2948 # Must skip GNU tar: if it does not support --format= it doesn't create
2949 # ustar tarball either.
2950 (tar --version) >/dev/null 2>&1 && continue
2951 am__tar='tar chf - "$$tardir"'
2952 am__tar_='tar chf - "$tardir"'
2953 am__untar='tar xf -'
2956 am__tar='pax -L -x ustar -w "$$tardir"'
2957 am__tar_='pax -L -x ustar -w "$tardir"'
2961 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2962 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2963 am__untar='cpio -i -H ustar -d'
2972 # If the value was cached, stop now. We just wanted to have am__tar
2973 # and am__untar set.
2974 test -n "${am_cv_prog_tar_ustar}" && break
2976 # tar/untar a dummy directory, and stop if the command works
2979 echo GrepMe > conftest.dir/file
2980 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2981 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }
2986 if test -s conftest.tar; then
2987 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2988 ($am__untar <conftest.tar) >&5 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }
2992 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2997 if ${am_cv_prog_tar_ustar+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 am_cv_prog_tar_ustar=$_am_tool
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3004 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3012 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3013 # Check whether --enable-maintainer-mode was given.
3014 if test "${enable_maintainer_mode+set}" = set; then :
3015 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3017 USE_MAINTAINER_MODE=yes
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3021 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3022 if test $USE_MAINTAINER_MODE = yes; then
3023 MAINTAINER_MODE_TRUE=
3024 MAINTAINER_MODE_FALSE='#'
3026 MAINTAINER_MODE_TRUE='#'
3027 MAINTAINER_MODE_FALSE=
3030 MAINT=$MAINTAINER_MODE_TRUE
3034 # Check whether --enable-silent-rules was given.
3035 if test "${enable_silent_rules+set}" = set; then :
3036 enableval=$enable_silent_rules;
3039 case $enable_silent_rules in
3040 yes) AM_DEFAULT_VERBOSITY=0;;
3041 no) AM_DEFAULT_VERBOSITY=1;;
3042 *) AM_DEFAULT_VERBOSITY=0;;
3044 am_make=${MAKE-make}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3046 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3047 if ${am_cv_make_support_nested_variables+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 if $as_echo 'TRUE=$(BAR$(V))
3056 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3057 am_cv_make_support_nested_variables=yes
3059 am_cv_make_support_nested_variables=no
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3063 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3064 if test $am_cv_make_support_nested_variables = yes; then
3066 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3068 AM_V=$AM_DEFAULT_VERBOSITY
3069 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3074 # Check for programs
3076 ac_cpp='$CPP $CPPFLAGS'
3077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC="$CC" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3119 if test -z "$ac_cv_prog_CC"; then
3121 # Extract the first word of "gcc", so it can be a program name with args.
3122 set dummy gcc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$ac_ct_CC"; then
3129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_ac_ct_CC="gcc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3149 if test -n "$ac_ct_CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3151 $as_echo "$ac_ct_CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3157 if test "x$ac_ct_CC" = x; then
3160 case $cross_compiling:$ac_tool_warned in
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3164 ac_tool_warned=yes ;;
3172 if test -z "$CC"; then
3173 if test -n "$ac_tool_prefix"; then
3174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3175 set dummy ${ac_tool_prefix}cc; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_CC+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$CC"; then
3182 ac_cv_prog_CC="$CC" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_CC="${ac_tool_prefix}cc"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test -n "$CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204 $as_echo "$CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3213 if test -z "$CC"; then
3214 # Extract the first word of "cc", so it can be a program name with args.
3215 set dummy cc; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$CC"; then
3222 ac_cv_prog_CC="$CC" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3233 ac_prog_rejected=yes
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 if test $ac_prog_rejected = yes; then
3245 # We found a bogon in the path, so make sure we never use it.
3246 set dummy $ac_cv_prog_CC
3248 if test $# != 0; then
3249 # We chose a different compiler from the bogus one.
3250 # However, it has the same basename, so the bogon will be chosen
3251 # first if we set CC to just the basename; use the full file name.
3253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3259 if test -n "$CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3261 $as_echo "$CC" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3269 if test -z "$CC"; then
3270 if test -n "$ac_tool_prefix"; then
3271 for ac_prog in cl.exe
3273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_CC+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC="$CC" # Let the user override the test.
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 if test -n "$CC"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3303 $as_echo "$CC" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3310 test -n "$CC" && break
3313 if test -z "$CC"; then
3315 for ac_prog in cl.exe
3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
3318 set dummy $ac_prog; ac_word=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$ac_ct_CC"; then
3325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir=.
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_prog_ac_ct_CC="$ac_prog"
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3345 if test -n "$ac_ct_CC"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3347 $as_echo "$ac_ct_CC" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3354 test -n "$ac_ct_CC" && break
3357 if test "x$ac_ct_CC" = x; then
3360 case $cross_compiling:$ac_tool_warned in
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3364 ac_tool_warned=yes ;;
3373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error $? "no acceptable C compiler found in \$PATH
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 # Provide some information about the compiler.
3379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3382 for ac_option in --version -v -V -qversion; do
3383 { { ac_try="$ac_compiler $ac_option >&5"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3392 if test -s conftest.err; then
3394 ... rest of stderr output deleted ...
3395 10q' conftest.err >conftest.er1
3396 cat conftest.er1 >&5
3398 rm -f conftest.er1 conftest.err
3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400 test $ac_status = 0; }
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3414 ac_clean_files_save=$ac_clean_files
3415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3416 # Try to create an executable without -o first, disregard a.out.
3417 # It will help us diagnose broken compilers, and finding out an intuition
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3420 $as_echo_n "checking whether the C compiler works... " >&6; }
3421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3423 # The possible output files:
3424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3427 for ac_file in $ac_files
3430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3431 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3436 if { { ac_try="$ac_link_default"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443 (eval "$ac_link_default") 2>&5
3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3446 test $ac_status = 0; }; then :
3447 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3449 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3450 # so that the user can short-circuit this test for compilers unknown to
3452 for ac_file in $ac_files ''
3454 test -f "$ac_file" || continue
3456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3459 # We found the default executable, but exeext='' is most
3463 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3465 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3467 # We set ac_cv_exeext here because the later test for it is not
3468 # safe: cross compilers may not add the suffix if given an `-o'
3469 # argument, so we may need to know it at that point already.
3470 # Even if this section looks crufty: it has the advantage of
3477 test "$ac_cv_exeext" = no && ac_cv_exeext=
3482 if test -z "$ac_file"; then :
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 $as_echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 as_fn_error 77 "C compiler cannot create executables
3491 See \`config.log' for more details" "$LINENO" 5; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 $as_echo "yes" >&6; }
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3497 $as_echo_n "checking for C compiler default output file name... " >&6; }
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3499 $as_echo "$ac_file" >&6; }
3500 ac_exeext=$ac_cv_exeext
3502 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3503 ac_clean_files=$ac_clean_files_save
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3505 $as_echo_n "checking for suffix of executables... " >&6; }
3506 if { { ac_try="$ac_link"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_link") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3518 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3519 # work properly (i.e., refer to `conftest.exe'), while it won't with
3521 for ac_file in conftest.exe conftest conftest.*; do
3522 test -f "$ac_file" || continue
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3534 See \`config.log' for more details" "$LINENO" 5; }
3536 rm -f conftest conftest$ac_cv_exeext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3538 $as_echo "$ac_cv_exeext" >&6; }
3540 rm -f conftest.$ac_ext
3541 EXEEXT=$ac_cv_exeext
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3549 FILE *f = fopen ("conftest.out", "w");
3550 return ferror (f) || fclose (f) != 0;
3556 ac_clean_files="$ac_clean_files conftest.out"
3557 # Check that the compiler produces executables we can run. If not, either
3558 # the compiler is broken, or we cross compile.
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3560 $as_echo_n "checking whether we are cross compiling... " >&6; }
3561 if test "$cross_compiling" != yes; then
3562 { { ac_try="$ac_link"
3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 $as_echo "$ac_try_echo"; } >&5
3569 (eval "$ac_link") 2>&5
3571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 test $ac_status = 0; }
3573 if { ac_try='./conftest$ac_cv_exeext'
3574 { { case "(($ac_try" in
3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579 $as_echo "$ac_try_echo"; } >&5
3580 (eval "$ac_try") 2>&5
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583 test $ac_status = 0; }; }; then
3586 if test "$cross_compiling" = maybe; then
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot run C compiled programs.
3592 If you meant to cross compile, use \`--host'.
3593 See \`config.log' for more details" "$LINENO" 5; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3598 $as_echo "$cross_compiling" >&6; }
3600 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3601 ac_clean_files=$ac_clean_files_save
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3603 $as_echo_n "checking for suffix of object files... " >&6; }
3604 if ${ac_cv_objext+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 rm -f conftest.o conftest.obj
3619 if { { ac_try="$ac_compile"
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625 $as_echo "$ac_try_echo"; } >&5
3626 (eval "$ac_compile") 2>&5
3628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3629 test $ac_status = 0; }; then :
3630 for ac_file in conftest.o conftest.obj conftest.*; do
3631 test -f "$ac_file" || continue;
3633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3634 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3639 $as_echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot compute suffix of object files: cannot compile
3645 See \`config.log' for more details" "$LINENO" 5; }
3647 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3650 $as_echo "$ac_cv_objext" >&6; }
3651 OBJEXT=$ac_cv_objext
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3654 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3655 if ${ac_cv_c_compiler_gnu+:} false; then :
3656 $as_echo_n "(cached) " >&6
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3672 if ac_fn_c_try_compile "$LINENO"; then :
3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3682 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3683 if test $ac_compiler_gnu = yes; then
3688 ac_test_CFLAGS=${CFLAGS+set}
3689 ac_save_CFLAGS=$CFLAGS
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3691 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3692 if ${ac_cv_prog_cc_g+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 ac_save_c_werror_flag=$ac_c_werror_flag
3696 ac_c_werror_flag=yes
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 if ac_fn_c_try_compile "$LINENO"; then :
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3725 if ac_fn_c_try_compile "$LINENO"; then :
3728 ac_c_werror_flag=$ac_save_c_werror_flag
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749 ac_c_werror_flag=$ac_save_c_werror_flag
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3752 $as_echo "$ac_cv_prog_cc_g" >&6; }
3753 if test "$ac_test_CFLAGS" = set; then
3754 CFLAGS=$ac_save_CFLAGS
3755 elif test $ac_cv_prog_cc_g = yes; then
3756 if test "$GCC" = yes; then
3762 if test "$GCC" = yes; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3769 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3770 if ${ac_cv_prog_cc_c89+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 ac_cv_prog_cc_c89=no
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3781 struct buf { int x; };
3782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3783 static char *e (p, i)
3789 static char *f (char * (*g) (char **, int), char **p, ...)
3794 s = g (p, va_arg (v,int));
3799 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3800 function prototypes and stuff, but not '\xHH' hex character constants.
3801 These don't provoke an error unfortunately, instead are silently treated
3802 as 'x'. The following induces an error, until -std is added to get
3803 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3804 array size at least. It's necessary to write '\x00'==0 to get something
3805 that's true only with -std. */
3806 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3808 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3809 inside strings and character constants. */
3811 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3813 int test (int i, double x);
3814 struct s1 {int (*f) (int a);};
3815 struct s2 {int (*f) (double a);};
3816 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3822 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3827 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3828 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3830 CC="$ac_save_CC $ac_arg"
3831 if ac_fn_c_try_compile "$LINENO"; then :
3832 ac_cv_prog_cc_c89=$ac_arg
3834 rm -f core conftest.err conftest.$ac_objext
3835 test "x$ac_cv_prog_cc_c89" != "xno" && break
3837 rm -f conftest.$ac_ext
3842 case "x$ac_cv_prog_cc_c89" in
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3845 $as_echo "none needed" >&6; } ;;
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3848 $as_echo "unsupported" >&6; } ;;
3850 CC="$CC $ac_cv_prog_cc_c89"
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3852 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3854 if test "x$ac_cv_prog_cc_c89" != xno; then :
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3863 DEPDIR="${am__leading_dot}deps"
3865 ac_config_commands="$ac_config_commands depfiles"
3868 am_make=${MAKE-make}
3869 cat > confinc << 'END'
3871 @echo this is the am__doit target
3874 # If we don't find an include directive, just comment out the code.
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3876 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3880 # First try GNU make style include.
3881 echo "include confinc" > confmf
3882 # Ignore all kinds of additional output from `make'.
3883 case `$am_make -s -f confmf 2> /dev/null` in #(
3884 *the\ am__doit\ target*)
3890 # Now try BSD make style include.
3891 if test "$am__include" = "#"; then
3892 echo '.include "confinc"' > confmf
3893 case `$am_make -s -f confmf 2> /dev/null` in #(
3894 *the\ am__doit\ target*)
3895 am__include=.include
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3904 $as_echo "$_am_result" >&6; }
3905 rm -f confinc confmf
3907 # Check whether --enable-dependency-tracking was given.
3908 if test "${enable_dependency_tracking+set}" = set; then :
3909 enableval=$enable_dependency_tracking;
3912 if test "x$enable_dependency_tracking" != xno; then
3913 am_depcomp="$ac_aux_dir/depcomp"
3917 if test "x$enable_dependency_tracking" != xno; then
3927 depcc="$CC" am_compiler_list=
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3930 $as_echo_n "checking dependency style of $depcc... " >&6; }
3931 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3935 # We make a subdir and do the tests there. Otherwise we can end up
3936 # making bogus files that we don't know about and never remove. For
3937 # instance it was reported that on HP-UX the gcc test will end up
3938 # making a dummy file named `D' -- because `-MD' means `put the output
3942 # Copy depcomp to subdir because otherwise we won't find it if we're
3943 # using a relative directory.
3944 cp "$am_depcomp" conftest.dir
3946 # We will build objects and dependencies in a subdirectory because
3947 # it helps to detect inapplicable dependency modes. For instance
3948 # both Tru64's cc and ICC support -MD to output dependencies as a
3949 # side effect of compilation, but ICC will put the dependencies in
3950 # the current directory while Tru64 will put them in the object
3954 am_cv_CC_dependencies_compiler_type=none
3955 if test "$am_compiler_list" = ""; then
3956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3959 case " $depcc " in #(
3960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3963 for depmode in $am_compiler_list; do
3964 # Setup a source with many dependencies, because some compilers
3965 # like to wrap large dependency lists on column 80 (with \), and
3966 # we should not choose a depcomp mode which is confused by this.
3968 # We need to recreate these files for each test, as the compiler may
3969 # overwrite some of them when testing with obscure command lines.
3970 # This happens at least with the AIX C compiler.
3972 for i in 1 2 3 4 5 6; do
3973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3975 # Solaris 8's {/usr,}/bin/sh.
3976 touch sub/conftst$i.h
3978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3980 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3981 # mode. It turns out that the SunPro C++ compiler does not properly
3982 # handle `-M -o', and we need to detect this. Also, some Intel
3983 # versions had trouble with output in subdirs
3984 am__obj=sub/conftest.${OBJEXT-o}
3985 am__minus_obj="-o $am__obj"
3988 # This depmode causes a compiler race in universal mode.
3989 test "$am__universal" = false || continue
3992 # after this tag, mechanisms are not by side-effect, so they'll
3993 # only be used when explicitly requested
3994 if test "x$enable_dependency_tracking" = xyes; then
4000 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4001 # This compiler won't grok `-c -o', but also, the minuso test has
4002 # not run yet. These depmodes are late enough in the game, and
4003 # so weak that their functioning should not be impacted.
4004 am__obj=conftest.${OBJEXT-o}
4009 if depmode=$depmode \
4010 source=sub/conftest.c object=$am__obj \
4011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4013 >/dev/null 2>conftest.err &&
4014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4018 # icc doesn't choke on unknown options, it will just issue warnings
4019 # or remarks (even with -Werror). So we grep stderr for any message
4020 # that says an option was ignored or not supported.
4021 # When given -MP, icc 7.0 and 7.1 complain thusly:
4022 # icc: Command line warning: ignoring option '-M'; no argument required
4023 # The diagnosis changed in icc 8.0:
4024 # icc: Command line remark: option '-MP' not supported
4025 if (grep 'ignoring option' conftest.err ||
4026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4027 am_cv_CC_dependencies_compiler_type=$depmode
4036 am_cv_CC_dependencies_compiler_type=none
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4045 test "x$enable_dependency_tracking" != xno \
4046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4048 am__fastdepCC_FALSE='#'
4050 am__fastdepCC_TRUE='#'
4051 am__fastdepCC_FALSE=
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4062 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4063 # On Suns, sometimes $CPP names a directory.
4064 if test -n "$CPP" && test -d "$CPP"; then
4067 if test -z "$CPP"; then
4068 if ${ac_cv_prog_CPP+:} false; then :
4069 $as_echo_n "(cached) " >&6
4071 # Double quotes because CPP needs to be expanded
4072 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4075 for ac_c_preproc_warn_flag in '' yes
4077 # Use a header file that comes with gcc, so configuring glibc
4078 # with a fresh cross-compiler works.
4079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4080 # <limits.h> exists even on freestanding compilers.
4081 # On the NeXT, cc -E runs the code through the compiler's parser,
4082 # not just through cpp. "Syntax error" is here to catch this case.
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4086 # include <limits.h>
4088 # include <assert.h>
4092 if ac_fn_c_try_cpp "$LINENO"; then :
4095 # Broken: fails on valid input.
4098 rm -f conftest.err conftest.i conftest.$ac_ext
4100 # OK, works on sane cases. Now check whether nonexistent headers
4101 # can be detected and how.
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4104 #include <ac_nonexistent.h>
4106 if ac_fn_c_try_cpp "$LINENO"; then :
4107 # Broken: success on invalid input.
4110 # Passes both tests.
4114 rm -f conftest.err conftest.i conftest.$ac_ext
4117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4118 rm -f conftest.i conftest.err conftest.$ac_ext
4119 if $ac_preproc_ok; then :
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4132 $as_echo "$CPP" >&6; }
4134 for ac_c_preproc_warn_flag in '' yes
4136 # Use a header file that comes with gcc, so configuring glibc
4137 # with a fresh cross-compiler works.
4138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139 # <limits.h> exists even on freestanding compilers.
4140 # On the NeXT, cc -E runs the code through the compiler's parser,
4141 # not just through cpp. "Syntax error" is here to catch this case.
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4145 # include <limits.h>
4147 # include <assert.h>
4151 if ac_fn_c_try_cpp "$LINENO"; then :
4154 # Broken: fails on valid input.
4157 rm -f conftest.err conftest.i conftest.$ac_ext
4159 # OK, works on sane cases. Now check whether nonexistent headers
4160 # can be detected and how.
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4163 #include <ac_nonexistent.h>
4165 if ac_fn_c_try_cpp "$LINENO"; then :
4166 # Broken: success on invalid input.
4169 # Passes both tests.
4173 rm -f conftest.err conftest.i conftest.$ac_ext
4176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4177 rm -f conftest.i conftest.err conftest.$ac_ext
4178 if $ac_preproc_ok; then :
4181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4183 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4184 See \`config.log' for more details" "$LINENO" 5; }
4188 ac_cpp='$CPP $CPPFLAGS'
4189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4195 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4196 if ${ac_cv_path_GREP+:} false; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -z "$GREP"; then
4200 ac_path_GREP_found=false
4201 # Loop through the user's path and test for each of PROGNAME-LIST
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206 test -z "$as_dir" && as_dir=.
4207 for ac_prog in grep ggrep; do
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4210 as_fn_executable_p "$ac_path_GREP" || continue
4211 # Check for GNU ac_path_GREP and select it if it is found.
4212 # Check for GNU $ac_path_GREP
4213 case `"$ac_path_GREP" --version 2>&1` in
4215 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4218 $as_echo_n 0123456789 >"conftest.in"
4221 cat "conftest.in" "conftest.in" >"conftest.tmp"
4222 mv "conftest.tmp" "conftest.in"
4223 cp "conftest.in" "conftest.nl"
4224 $as_echo 'GREP' >> "conftest.nl"
4225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227 as_fn_arith $ac_count + 1 && ac_count=$as_val
4228 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4229 # Best one so far, save it but keep looking for a better one
4230 ac_cv_path_GREP="$ac_path_GREP"
4231 ac_path_GREP_max=$ac_count
4233 # 10*(2^10) chars as input seems more than enough
4234 test $ac_count -gt 10 && break
4236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239 $ac_path_GREP_found && break 3
4244 if test -z "$ac_cv_path_GREP"; then
4245 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4248 ac_cv_path_GREP=$GREP
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4253 $as_echo "$ac_cv_path_GREP" >&6; }
4254 GREP="$ac_cv_path_GREP"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4258 $as_echo_n "checking for egrep... " >&6; }
4259 if ${ac_cv_path_EGREP+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4263 then ac_cv_path_EGREP="$GREP -E"
4265 if test -z "$EGREP"; then
4266 ac_path_EGREP_found=false
4267 # Loop through the user's path and test for each of PROGNAME-LIST
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4272 test -z "$as_dir" && as_dir=.
4273 for ac_prog in egrep; do
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4276 as_fn_executable_p "$ac_path_EGREP" || continue
4277 # Check for GNU ac_path_EGREP and select it if it is found.
4278 # Check for GNU $ac_path_EGREP
4279 case `"$ac_path_EGREP" --version 2>&1` in
4281 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4284 $as_echo_n 0123456789 >"conftest.in"
4287 cat "conftest.in" "conftest.in" >"conftest.tmp"
4288 mv "conftest.tmp" "conftest.in"
4289 cp "conftest.in" "conftest.nl"
4290 $as_echo 'EGREP' >> "conftest.nl"
4291 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293 as_fn_arith $ac_count + 1 && ac_count=$as_val
4294 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4295 # Best one so far, save it but keep looking for a better one
4296 ac_cv_path_EGREP="$ac_path_EGREP"
4297 ac_path_EGREP_max=$ac_count
4299 # 10*(2^10) chars as input seems more than enough
4300 test $ac_count -gt 10 && break
4302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4305 $ac_path_EGREP_found && break 3
4310 if test -z "$ac_cv_path_EGREP"; then
4311 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4314 ac_cv_path_EGREP=$EGREP
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4320 $as_echo "$ac_cv_path_EGREP" >&6; }
4321 EGREP="$ac_cv_path_EGREP"
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4325 $as_echo_n "checking for ANSI C header files... " >&6; }
4326 if ${ac_cv_header_stdc+:} false; then :
4327 $as_echo_n "(cached) " >&6
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345 ac_cv_header_stdc=yes
4347 ac_cv_header_stdc=no
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351 if test $ac_cv_header_stdc = yes; then
4352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4359 $EGREP "memchr" >/dev/null 2>&1; then :
4362 ac_cv_header_stdc=no
4368 if test $ac_cv_header_stdc = yes; then
4369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4376 $EGREP "free" >/dev/null 2>&1; then :
4379 ac_cv_header_stdc=no
4385 if test $ac_cv_header_stdc = yes; then
4386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4387 if test "$cross_compiling" = yes; then :
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4394 #if ((' ' & 0x0FF) == 0x020)
4395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4398 # define ISLOWER(c) \
4399 (('a' <= (c) && (c) <= 'i') \
4400 || ('j' <= (c) && (c) <= 'r') \
4401 || ('s' <= (c) && (c) <= 'z'))
4402 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4410 for (i = 0; i < 256; i++)
4411 if (XOR (islower (i), ISLOWER (i))
4412 || toupper (i) != TOUPPER (i))
4417 if ac_fn_c_try_run "$LINENO"; then :
4420 ac_cv_header_stdc=no
4422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4423 conftest.$ac_objext conftest.beam conftest.$ac_ext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4429 $as_echo "$ac_cv_header_stdc" >&6; }
4430 if test $ac_cv_header_stdc = yes; then
4432 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4436 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4438 inttypes.h stdint.h unistd.h
4440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4443 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4444 cat >>confdefs.h <<_ACEOF
4445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4456 for ac_header in $ac_header_list
4458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4459 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4461 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4462 cat >>confdefs.h <<_ACEOF
4463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4477 for ac_func in getpagesize
4479 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4480 if test "x$ac_cv_func_getpagesize" = xyes; then :
4481 cat >>confdefs.h <<_ACEOF
4482 #define HAVE_GETPAGESIZE 1
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4489 $as_echo_n "checking for working mmap... " >&6; }
4490 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4491 $as_echo_n "(cached) " >&6
4493 if test "$cross_compiling" = yes; then :
4494 ac_cv_func_mmap_fixed_mapped=no
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4498 $ac_includes_default
4499 /* malloc might have been renamed as rpl_malloc. */
4502 /* Thanks to Mike Haertel and Jim Avera for this test.
4503 Here is a matrix of mmap possibilities:
4504 mmap private not fixed
4505 mmap private fixed at somewhere currently unmapped
4506 mmap private fixed at somewhere already mapped
4507 mmap shared not fixed
4508 mmap shared fixed at somewhere currently unmapped
4509 mmap shared fixed at somewhere already mapped
4510 For private mappings, we should verify that changes cannot be read()
4511 back from the file, nor mmap's back from the file at a different
4512 address. (There have been systems where private was not correctly
4513 implemented like the infamous i386 svr4.0, and systems where the
4514 VM page cache was not coherent with the file system buffer cache
4515 like early versions of FreeBSD and possibly contemporary NetBSD.)
4516 For shared mappings, we should conversely verify that changes get
4517 propagated back to all the places they're supposed to be.
4519 Grep wants private fixed already mapped.
4520 The main things grep needs to know about mmap are:
4521 * does it exist and is it safe to write into the mmap'd area
4522 * how to use it (BSD variants) */
4525 #include <sys/mman.h>
4527 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4531 /* This mess was copied from the GNU getpagesize.h. */
4532 #ifndef HAVE_GETPAGESIZE
4533 # ifdef _SC_PAGESIZE
4534 # define getpagesize() sysconf(_SC_PAGESIZE)
4535 # else /* no _SC_PAGESIZE */
4536 # ifdef HAVE_SYS_PARAM_H
4537 # include <sys/param.h>
4538 # ifdef EXEC_PAGESIZE
4539 # define getpagesize() EXEC_PAGESIZE
4540 # else /* no EXEC_PAGESIZE */
4542 # define getpagesize() NBPG * CLSIZE
4545 # endif /* no CLSIZE */
4546 # else /* no NBPG */
4548 # define getpagesize() NBPC
4549 # else /* no NBPC */
4551 # define getpagesize() PAGESIZE
4552 # endif /* PAGESIZE */
4553 # endif /* no NBPC */
4554 # endif /* no NBPG */
4555 # endif /* no EXEC_PAGESIZE */
4556 # else /* no HAVE_SYS_PARAM_H */
4557 # define getpagesize() 8192 /* punt totally */
4558 # endif /* no HAVE_SYS_PARAM_H */
4559 # endif /* no _SC_PAGESIZE */
4561 #endif /* no HAVE_GETPAGESIZE */
4566 char *data, *data2, *data3;
4571 pagesize = getpagesize ();
4573 /* First, make a file with some known garbage in it. */
4574 data = (char *) malloc (pagesize);
4577 for (i = 0; i < pagesize; ++i)
4578 *(data + i) = rand ();
4580 fd = creat ("conftest.mmap", 0600);
4583 if (write (fd, data, pagesize) != pagesize)
4587 /* Next, check that the tail of a page is zero-filled. File must have
4588 non-zero length, otherwise we risk SIGBUS for entire page. */
4589 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4593 if (write (fd2, cdata2, 1) != 1)
4595 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4596 if (data2 == MAP_FAILED)
4598 for (i = 0; i < pagesize; ++i)
4602 if (munmap (data2, pagesize))
4605 /* Next, try to mmap the file at a fixed address which already has
4606 something else allocated at it. If we can, also make sure that
4607 we see the same garbage. */
4608 fd = open ("conftest.mmap", O_RDWR);
4611 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4612 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4614 for (i = 0; i < pagesize; ++i)
4615 if (*(data + i) != *(data2 + i))
4618 /* Finally, make sure that changes to the mapped area do not
4619 percolate back to the file as seen by read(). (This is a bug on
4620 some variants of i386 svr4.0.) */
4621 for (i = 0; i < pagesize; ++i)
4622 *(data2 + i) = *(data2 + i) + 1;
4623 data3 = (char *) malloc (pagesize);
4626 if (read (fd, data3, pagesize) != pagesize)
4628 for (i = 0; i < pagesize; ++i)
4629 if (*(data + i) != *(data3 + i))
4635 if ac_fn_c_try_run "$LINENO"; then :
4636 ac_cv_func_mmap_fixed_mapped=yes
4638 ac_cv_func_mmap_fixed_mapped=no
4640 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4641 conftest.$ac_objext conftest.beam conftest.$ac_ext
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4646 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4647 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4649 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4652 rm -f conftest.mmap conftest.txt
4654 # Check whether --enable-largefile was given.
4655 if test "${enable_largefile+set}" = set; then :
4656 enableval=$enable_largefile;
4659 if test "$enable_largefile" != no; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4662 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4663 if ${ac_cv_sys_largefile_CC+:} false; then :
4664 $as_echo_n "(cached) " >&6
4666 ac_cv_sys_largefile_CC=no
4667 if test "$GCC" != yes; then
4670 # IRIX 6.2 and later do not support large files by default,
4671 # so use the C compiler's -n32 option if that helps.
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4674 #include <sys/types.h>
4675 /* Check that off_t can represent 2**63 - 1 correctly.
4676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4677 since some C++ compilers masquerading as C compilers
4678 incorrectly reject 9223372036854775807. */
4679 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4681 && LARGE_OFF_T % 2147483647 == 1)
4691 if ac_fn_c_try_compile "$LINENO"; then :
4694 rm -f core conftest.err conftest.$ac_objext
4696 if ac_fn_c_try_compile "$LINENO"; then :
4697 ac_cv_sys_largefile_CC=' -n32'; break
4699 rm -f core conftest.err conftest.$ac_objext
4703 rm -f conftest.$ac_ext
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4707 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4708 if test "$ac_cv_sys_largefile_CC" != no; then
4709 CC=$CC$ac_cv_sys_largefile_CC
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4713 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4714 if ${ac_cv_sys_file_offset_bits+:} false; then :
4715 $as_echo_n "(cached) " >&6
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4720 #include <sys/types.h>
4721 /* Check that off_t can represent 2**63 - 1 correctly.
4722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4723 since some C++ compilers masquerading as C compilers
4724 incorrectly reject 9223372036854775807. */
4725 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4727 && LARGE_OFF_T % 2147483647 == 1)
4737 if ac_fn_c_try_compile "$LINENO"; then :
4738 ac_cv_sys_file_offset_bits=no; break
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #define _FILE_OFFSET_BITS 64
4744 #include <sys/types.h>
4745 /* Check that off_t can represent 2**63 - 1 correctly.
4746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4747 since some C++ compilers masquerading as C compilers
4748 incorrectly reject 9223372036854775807. */
4749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4751 && LARGE_OFF_T % 2147483647 == 1)
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762 ac_cv_sys_file_offset_bits=64; break
4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765 ac_cv_sys_file_offset_bits=unknown
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4770 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4771 case $ac_cv_sys_file_offset_bits in #(
4774 cat >>confdefs.h <<_ACEOF
4775 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4780 if test $ac_cv_sys_file_offset_bits = unknown; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4782 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4783 if ${ac_cv_sys_large_files+:} false; then :
4784 $as_echo_n "(cached) " >&6
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <sys/types.h>
4790 /* Check that off_t can represent 2**63 - 1 correctly.
4791 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4792 since some C++ compilers masquerading as C compilers
4793 incorrectly reject 9223372036854775807. */
4794 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4795 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4796 && LARGE_OFF_T % 2147483647 == 1)
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807 ac_cv_sys_large_files=no; break
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4812 #define _LARGE_FILES 1
4813 #include <sys/types.h>
4814 /* Check that off_t can represent 2**63 - 1 correctly.
4815 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4816 since some C++ compilers masquerading as C compilers
4817 incorrectly reject 9223372036854775807. */
4818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4820 && LARGE_OFF_T % 2147483647 == 1)
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_cv_sys_large_files=1; break
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 ac_cv_sys_large_files=unknown
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4839 $as_echo "$ac_cv_sys_large_files" >&6; }
4840 case $ac_cv_sys_large_files in #(
4843 cat >>confdefs.h <<_ACEOF
4844 #define _LARGE_FILES $ac_cv_sys_large_files
4855 # Initialize libtool
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4860 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4865 macro_version='2.4.2'
4866 macro_revision='1.3337'
4880 ltmain="$ac_aux_dir/ltmain.sh"
4882 # Backslashify metacharacters that are still active within
4883 # double-quoted strings.
4884 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4886 # Same as above, but do not quote variable references.
4887 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4889 # Sed substitution to delay expansion of an escaped shell variable in a
4890 # double_quote_subst'ed string.
4891 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4893 # Sed substitution to delay expansion of an escaped single quote.
4894 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4896 # Sed substitution to avoid accidental globbing in evaled expressions
4897 no_glob_subst='s/\*/\\\*/g'
4899 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4900 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4901 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4904 $as_echo_n "checking how to print strings... " >&6; }
4905 # Test print first, because it will be a builtin if present.
4906 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4907 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4909 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4912 # Use this function as a fallback that always works.
4913 func_fallback_echo ()
4915 eval 'cat <<_LTECHO_EOF
4919 ECHO='func_fallback_echo'
4922 # func_echo_all arg...
4923 # Invoke $ECHO with all args, space-separated.
4930 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4931 $as_echo "printf" >&6; } ;;
4932 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4933 $as_echo "print -r" >&6; } ;;
4934 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4935 $as_echo "cat" >&6; } ;;
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4952 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4953 if ${ac_cv_path_SED+:} false; then :
4954 $as_echo_n "(cached) " >&6
4956 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4957 for ac_i in 1 2 3 4 5 6 7; do
4958 ac_script="$ac_script$as_nl$ac_script"
4960 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4961 { ac_script=; unset ac_script;}
4962 if test -z "$SED"; then
4963 ac_path_SED_found=false
4964 # Loop through the user's path and test for each of PROGNAME-LIST
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir=.
4970 for ac_prog in sed gsed; do
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4973 as_fn_executable_p "$ac_path_SED" || continue
4974 # Check for GNU ac_path_SED and select it if it is found.
4975 # Check for GNU $ac_path_SED
4976 case `"$ac_path_SED" --version 2>&1` in
4978 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4981 $as_echo_n 0123456789 >"conftest.in"
4984 cat "conftest.in" "conftest.in" >"conftest.tmp"
4985 mv "conftest.tmp" "conftest.in"
4986 cp "conftest.in" "conftest.nl"
4987 $as_echo '' >> "conftest.nl"
4988 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4990 as_fn_arith $ac_count + 1 && ac_count=$as_val
4991 if test $ac_count -gt ${ac_path_SED_max-0}; then
4992 # Best one so far, save it but keep looking for a better one
4993 ac_cv_path_SED="$ac_path_SED"
4994 ac_path_SED_max=$ac_count
4996 # 10*(2^10) chars as input seems more than enough
4997 test $ac_count -gt 10 && break
4999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5002 $ac_path_SED_found && break 3
5007 if test -z "$ac_cv_path_SED"; then
5008 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5016 $as_echo "$ac_cv_path_SED" >&6; }
5017 SED="$ac_cv_path_SED"
5020 test -z "$SED" && SED=sed
5021 Xsed="$SED -e 1s/^X//"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5034 $as_echo_n "checking for fgrep... " >&6; }
5035 if ${ac_cv_path_FGREP+:} false; then :
5036 $as_echo_n "(cached) " >&6
5038 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5039 then ac_cv_path_FGREP="$GREP -F"
5041 if test -z "$FGREP"; then
5042 ac_path_FGREP_found=false
5043 # Loop through the user's path and test for each of PROGNAME-LIST
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5048 test -z "$as_dir" && as_dir=.
5049 for ac_prog in fgrep; do
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5052 as_fn_executable_p "$ac_path_FGREP" || continue
5053 # Check for GNU ac_path_FGREP and select it if it is found.
5054 # Check for GNU $ac_path_FGREP
5055 case `"$ac_path_FGREP" --version 2>&1` in
5057 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5060 $as_echo_n 0123456789 >"conftest.in"
5063 cat "conftest.in" "conftest.in" >"conftest.tmp"
5064 mv "conftest.tmp" "conftest.in"
5065 cp "conftest.in" "conftest.nl"
5066 $as_echo 'FGREP' >> "conftest.nl"
5067 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5069 as_fn_arith $ac_count + 1 && ac_count=$as_val
5070 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5071 # Best one so far, save it but keep looking for a better one
5072 ac_cv_path_FGREP="$ac_path_FGREP"
5073 ac_path_FGREP_max=$ac_count
5075 # 10*(2^10) chars as input seems more than enough
5076 test $ac_count -gt 10 && break
5078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5081 $ac_path_FGREP_found && break 3
5086 if test -z "$ac_cv_path_FGREP"; then
5087 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5090 ac_cv_path_FGREP=$FGREP
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5096 $as_echo "$ac_cv_path_FGREP" >&6; }
5097 FGREP="$ac_cv_path_FGREP"
5100 test -z "$GREP" && GREP=grep
5120 # Check whether --with-gnu-ld was given.
5121 if test "${with_gnu_ld+set}" = set; then :
5122 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5128 if test "$GCC" = yes; then
5129 # Check if gcc -print-prog-name=ld gives a path.
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5131 $as_echo_n "checking for ld used by $CC... " >&6; }
5134 # gcc leaves a trailing carriage return which upsets mingw
5135 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5137 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5140 # Accept absolute paths.
5142 re_direlt='/[^/][^/]*/\.\./'
5143 # Canonicalize the pathname of ld
5144 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5145 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5146 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5148 test -z "$LD" && LD="$ac_prog"
5151 # If it fails, then pretend we aren't using GCC.
5155 # If it is relative, then search for the first ld in PATH.
5159 elif test "$with_gnu_ld" = yes; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5161 $as_echo_n "checking for GNU ld... " >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5164 $as_echo_n "checking for non-GNU ld... " >&6; }
5166 if ${lt_cv_path_LD+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 if test -z "$LD"; then
5170 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5171 for ac_dir in $PATH; do
5173 test -z "$ac_dir" && ac_dir=.
5174 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5175 lt_cv_path_LD="$ac_dir/$ac_prog"
5176 # Check to see if the program is GNU ld. I'd rather use --version,
5177 # but apparently some variants of GNU ld only accept -v.
5178 # Break only if it was the GNU/non-GNU ld that we prefer.
5179 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5180 *GNU* | *'with BFD'*)
5181 test "$with_gnu_ld" != no && break
5184 test "$with_gnu_ld" != yes && break
5191 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5196 if test -n "$LD"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5198 $as_echo "$LD" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5203 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5205 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5206 if ${lt_cv_prog_gnu_ld+:} false; then :
5207 $as_echo_n "(cached) " >&6
5209 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5210 case `$LD -v 2>&1 </dev/null` in
5211 *GNU* | *'with BFD'*)
5212 lt_cv_prog_gnu_ld=yes
5215 lt_cv_prog_gnu_ld=no
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5220 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5221 with_gnu_ld=$lt_cv_prog_gnu_ld
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5232 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5233 if ${lt_cv_path_NM+:} false; then :
5234 $as_echo_n "(cached) " >&6
5236 if test -n "$NM"; then
5237 # Let the user override the test.
5240 lt_nm_to_check="${ac_tool_prefix}nm"
5241 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5242 lt_nm_to_check="$lt_nm_to_check nm"
5244 for lt_tmp_nm in $lt_nm_to_check; do
5245 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5246 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5248 test -z "$ac_dir" && ac_dir=.
5249 tmp_nm="$ac_dir/$lt_tmp_nm"
5250 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5251 # Check to see if the nm accepts a BSD-compat flag.
5252 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5253 # nm: unknown option "B" ignored
5254 # Tru64's nm complains that /dev/null is an invalid object file
5255 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5256 */dev/null* | *'Invalid file or object type'*)
5257 lt_cv_path_NM="$tmp_nm -B"
5261 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5263 lt_cv_path_NM="$tmp_nm -p"
5267 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5268 continue # so that we can try to find one that supports BSD flags
5277 : ${lt_cv_path_NM=no}
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5281 $as_echo "$lt_cv_path_NM" >&6; }
5282 if test "$lt_cv_path_NM" != "no"; then
5285 # Didn't find any BSD compatible name lister, look for dumpbin.
5286 if test -n "$DUMPBIN"; then :
5287 # Let the user override the test.
5289 if test -n "$ac_tool_prefix"; then
5290 for ac_prog in dumpbin "link -dump"
5292 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5293 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_DUMPBIN+:} false; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$DUMPBIN"; then
5300 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 DUMPBIN=$ac_cv_prog_DUMPBIN
5320 if test -n "$DUMPBIN"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5322 $as_echo "$DUMPBIN" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5329 test -n "$DUMPBIN" && break
5332 if test -z "$DUMPBIN"; then
5333 ac_ct_DUMPBIN=$DUMPBIN
5334 for ac_prog in dumpbin "link -dump"
5336 # Extract the first word of "$ac_prog", so it can be a program name with args.
5337 set dummy $ac_prog; ac_word=$2
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339 $as_echo_n "checking for $ac_word... " >&6; }
5340 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5341 $as_echo_n "(cached) " >&6
5343 if test -n "$ac_ct_DUMPBIN"; then
5344 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5364 if test -n "$ac_ct_DUMPBIN"; then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5366 $as_echo "$ac_ct_DUMPBIN" >&6; }
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5373 test -n "$ac_ct_DUMPBIN" && break
5376 if test "x$ac_ct_DUMPBIN" = x; then
5379 case $cross_compiling:$ac_tool_warned in
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5383 ac_tool_warned=yes ;;
5385 DUMPBIN=$ac_ct_DUMPBIN
5389 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5391 DUMPBIN="$DUMPBIN -symbols"
5399 if test "$DUMPBIN" != ":"; then
5403 test -z "$NM" && NM=nm
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5411 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5412 if ${lt_cv_nm_interface+:} false; then :
5413 $as_echo_n "(cached) " >&6
5415 lt_cv_nm_interface="BSD nm"
5416 echo "int some_variable = 0;" > conftest.$ac_ext
5417 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5418 (eval "$ac_compile" 2>conftest.err)
5419 cat conftest.err >&5
5420 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5421 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5422 cat conftest.err >&5
5423 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5424 cat conftest.out >&5
5425 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5426 lt_cv_nm_interface="MS dumpbin"
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5431 $as_echo "$lt_cv_nm_interface" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5434 $as_echo_n "checking whether ln -s works... " >&6; }
5436 if test "$LN_S" = "ln -s"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5438 $as_echo "yes" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5441 $as_echo "no, using $LN_S" >&6; }
5444 # find the maximum length of command line arguments
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5446 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5447 if ${lt_cv_sys_max_cmd_len+:} false; then :
5448 $as_echo_n "(cached) " >&6
5455 # On DJGPP, this test can blow up pretty badly due to problems in libc
5456 # (any single argument exceeding 2000 bytes causes a buffer overrun
5457 # during glob expansion). Even if it were fixed, the result of this
5458 # check would be larger than it should be.
5459 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5463 # Under GNU Hurd, this test is not required because there is
5464 # no limit to the length of command line arguments.
5465 # Libtool will interpret -1 as no limit whatsoever
5466 lt_cv_sys_max_cmd_len=-1;
5469 cygwin* | mingw* | cegcc*)
5470 # On Win9x/ME, this test blows up -- it succeeds, but takes
5471 # about 5 minutes as the teststring grows exponentially.
5472 # Worse, since 9x/ME are not pre-emptively multitasking,
5473 # you end up with a "frozen" computer, even though with patience
5474 # the test eventually succeeds (with a max line length of 256k).
5475 # Instead, let's just punt: use the minimum linelength reported by
5476 # all of the supported platforms: 8192 (on NT/2K/XP).
5477 lt_cv_sys_max_cmd_len=8192;
5481 # On MiNT this can take a long time and run out of memory.
5482 lt_cv_sys_max_cmd_len=8192;
5486 # On AmigaOS with pdksh, this test takes hours, literally.
5487 # So we just punt and use a minimum line length of 8192.
5488 lt_cv_sys_max_cmd_len=8192;
5491 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5492 # This has been around since 386BSD, at least. Likely further.
5493 if test -x /sbin/sysctl; then
5494 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5495 elif test -x /usr/sbin/sysctl; then
5496 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5498 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5500 # And add a safety zone
5501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5506 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5507 lt_cv_sys_max_cmd_len=196608
5511 # The test takes a long time on OS/2.
5512 lt_cv_sys_max_cmd_len=8192
5516 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5517 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5518 # nice to cause kernel panics so lets avoid the loop below.
5519 # First set a reasonable default.
5520 lt_cv_sys_max_cmd_len=16384
5522 if test -x /sbin/sysconfig; then
5523 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5524 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5529 lt_cv_sys_max_cmd_len=102400
5531 sysv5* | sco5v6* | sysv4.2uw2*)
5532 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5533 if test -n "$kargmax"; then
5534 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5536 lt_cv_sys_max_cmd_len=32768
5540 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5541 if test -n "$lt_cv_sys_max_cmd_len"; then
5542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5543 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5545 # Make teststring a little bigger before we do anything with it.
5546 # a 1K string should be a reasonable start.
5547 for i in 1 2 3 4 5 6 7 8 ; do
5548 teststring=$teststring$teststring
5550 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5551 # If test is not a shell built-in, we'll probably end up computing a
5552 # maximum length that is only half of the actual maximum length, but
5554 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5555 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5556 test $i != 17 # 1/2 MB should be enough
5559 teststring=$teststring$teststring
5561 # Only check the string length outside the loop.
5562 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5564 # Add a significant safety factor because C++ compilers can tack on
5565 # massive amounts of additional arguments before passing them to the
5566 # linker. It appears as though 1/2 is a usable value.
5567 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5574 if test -n $lt_cv_sys_max_cmd_len ; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5576 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5579 $as_echo "none" >&6; }
5581 max_cmd_len=$lt_cv_sys_max_cmd_len
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5593 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5594 # Try some XSI features
5597 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5599 && eval 'test $(( 1 + 1 )) -eq 2 \
5600 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5603 $as_echo "$xsi_shell" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5607 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5609 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5611 && lt_shell_append=yes
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5613 $as_echo "$lt_shell_append" >&6; }
5616 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5626 # test EBCDIC or ASCII
5627 case `echo X|tr X '\101'` in
5628 A) # ASCII based system
5629 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5630 lt_SP2NL='tr \040 \012'
5631 lt_NL2SP='tr \015\012 \040\040'
5633 *) # EBCDIC based system
5634 lt_SP2NL='tr \100 \n'
5635 lt_NL2SP='tr \r\n \100\100'
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5648 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5649 if ${lt_cv_to_host_file_cmd+:} false; then :
5650 $as_echo_n "(cached) " >&6
5655 *-*-mingw* ) # actually msys
5656 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5659 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5661 * ) # otherwise, assume *nix
5662 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5668 *-*-mingw* ) # actually msys
5669 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5672 lt_cv_to_host_file_cmd=func_convert_file_noop
5674 * ) # otherwise, assume *nix
5675 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5679 * ) # unhandled hosts (and "normal" native builds)
5680 lt_cv_to_host_file_cmd=func_convert_file_noop
5686 to_host_file_cmd=$lt_cv_to_host_file_cmd
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5688 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5695 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5696 if ${lt_cv_to_tool_file_cmd+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 #assume ordinary cross tools, or native build.
5700 lt_cv_to_tool_file_cmd=func_convert_file_noop
5704 *-*-mingw* ) # actually msys
5705 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5713 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5715 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5722 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5723 if ${lt_cv_ld_reload_flag+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 lt_cv_ld_reload_flag='-r'
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5729 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5730 reload_flag=$lt_cv_ld_reload_flag
5731 case $reload_flag in
5733 *) reload_flag=" $reload_flag" ;;
5735 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5737 cygwin* | mingw* | pw32* | cegcc*)
5738 if test "$GCC" != yes; then
5743 if test "$GCC" = yes; then
5744 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5759 if test -n "$ac_tool_prefix"; then
5760 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5761 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_OBJDUMP+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$OBJDUMP"; then
5768 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 OBJDUMP=$ac_cv_prog_OBJDUMP
5788 if test -n "$OBJDUMP"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5790 $as_echo "$OBJDUMP" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5798 if test -z "$ac_cv_prog_OBJDUMP"; then
5799 ac_ct_OBJDUMP=$OBJDUMP
5800 # Extract the first word of "objdump", so it can be a program name with args.
5801 set dummy objdump; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$ac_ct_OBJDUMP"; then
5808 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5828 if test -n "$ac_ct_OBJDUMP"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5830 $as_echo "$ac_ct_OBJDUMP" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5836 if test "x$ac_ct_OBJDUMP" = x; then
5839 case $cross_compiling:$ac_tool_warned in
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5845 OBJDUMP=$ac_ct_OBJDUMP
5848 OBJDUMP="$ac_cv_prog_OBJDUMP"
5851 test -z "$OBJDUMP" && OBJDUMP=objdump
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5862 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5863 if ${lt_cv_deplibs_check_method+:} false; then :
5864 $as_echo_n "(cached) " >&6
5866 lt_cv_file_magic_cmd='$MAGIC_CMD'
5867 lt_cv_file_magic_test_file=
5868 lt_cv_deplibs_check_method='unknown'
5869 # Need to set the preceding variable on all platforms that support
5870 # interlibrary dependencies.
5871 # 'none' -- dependencies not supported.
5872 # `unknown' -- same as none, but documents that we really don't know.
5873 # 'pass_all' -- all dependencies passed with no checks.
5874 # 'test_compile' -- check by making test program.
5875 # 'file_magic [[regex]]' -- check by looking for files in library path
5876 # which responds to the $file_magic_cmd with a given extended regex.
5877 # If you have `file' or equivalent on your system and you're not sure
5878 # whether `pass_all' will *always* work, you probably want this one.
5882 lt_cv_deplibs_check_method=pass_all
5886 lt_cv_deplibs_check_method=pass_all
5890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5891 lt_cv_file_magic_cmd='/usr/bin/file -L'
5892 lt_cv_file_magic_test_file=/shlib/libc.so
5896 # func_win32_libid is a shell function defined in ltmain.sh
5897 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5898 lt_cv_file_magic_cmd='func_win32_libid'
5902 # Base MSYS/MinGW do not provide the 'file' command needed by
5903 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5904 # unless we find 'file', for example because we are cross-compiling.
5905 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5906 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5907 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5908 lt_cv_file_magic_cmd='func_win32_libid'
5910 # Keep this pattern in sync with the one in func_win32_libid.
5911 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5912 lt_cv_file_magic_cmd='$OBJDUMP -f'
5917 # use the weaker test based on 'objdump'. See mingw*.
5918 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5919 lt_cv_file_magic_cmd='$OBJDUMP -f'
5922 darwin* | rhapsody*)
5923 lt_cv_deplibs_check_method=pass_all
5926 freebsd* | dragonfly*)
5927 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5930 # Not sure whether the presence of OpenBSD here was a mistake.
5931 # Let's accept both of them until this is cleared up.
5932 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5933 lt_cv_file_magic_cmd=/usr/bin/file
5934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5938 lt_cv_deplibs_check_method=pass_all
5943 lt_cv_deplibs_check_method=pass_all
5947 lt_cv_deplibs_check_method=pass_all
5950 hpux10.20* | hpux11*)
5951 lt_cv_file_magic_cmd=/usr/bin/file
5954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5958 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]'
5959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5973 irix5* | irix6* | nonstopux*)
5975 *-32|*"-32 ") libmagic=32-bit;;
5976 *-n32|*"-n32 ") libmagic=N32;;
5977 *-64|*"-64 ") libmagic=64-bit;;
5978 *) libmagic=never-match;;
5980 lt_cv_deplibs_check_method=pass_all
5983 # This must be glibc/ELF.
5984 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5985 lt_cv_deplibs_check_method=pass_all
5988 netbsd* | netbsdelf*-gnu)
5989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6003 lt_cv_deplibs_check_method=pass_all
6007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6014 osf3* | osf4* | osf5*)
6015 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_deplibs_check_method=pass_all
6023 lt_cv_deplibs_check_method=pass_all
6026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6027 lt_cv_deplibs_check_method=pass_all
6031 case $host_vendor in
6033 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]'
6034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6037 lt_cv_deplibs_check_method=pass_all
6040 lt_cv_file_magic_cmd='/bin/file'
6041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6044 lt_cv_file_magic_cmd='/bin/file'
6045 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6046 lt_cv_file_magic_test_file=/lib/libc.so
6049 lt_cv_deplibs_check_method=pass_all
6052 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_deplibs_check_method=pass_all
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6068 if test "$build" = "$host"; then
6071 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6074 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6080 file_magic_cmd=$lt_cv_file_magic_cmd
6081 deplibs_check_method=$lt_cv_deplibs_check_method
6082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6105 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6107 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_DLLTOOL+:} false; then :
6111 $as_echo_n "(cached) " >&6
6113 if test -n "$DLLTOOL"; then
6114 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 DLLTOOL=$ac_cv_prog_DLLTOOL
6134 if test -n "$DLLTOOL"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6136 $as_echo "$DLLTOOL" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6144 if test -z "$ac_cv_prog_DLLTOOL"; then
6145 ac_ct_DLLTOOL=$DLLTOOL
6146 # Extract the first word of "dlltool", so it can be a program name with args.
6147 set dummy dlltool; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -n "$ac_ct_DLLTOOL"; then
6154 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6174 if test -n "$ac_ct_DLLTOOL"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6176 $as_echo "$ac_ct_DLLTOOL" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6182 if test "x$ac_ct_DLLTOOL" = x; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned=yes ;;
6191 DLLTOOL=$ac_ct_DLLTOOL
6194 DLLTOOL="$ac_cv_prog_DLLTOOL"
6197 test -z "$DLLTOOL" && DLLTOOL=dlltool
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6209 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6210 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 lt_cv_sharedlib_from_linklib_cmd='unknown'
6216 cygwin* | mingw* | pw32* | cegcc*)
6217 # two different shell functions defined in ltmain.sh
6218 # decide which to use based on capabilities of $DLLTOOL
6219 case `$DLLTOOL --help 2>&1` in
6220 *--identify-strict*)
6221 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6224 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6229 # fallback: assume linklib IS sharedlib
6230 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6236 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6237 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6238 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6246 if test -n "$ac_tool_prefix"; then
6249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if ${ac_cv_prog_AR+:} false; then :
6254 $as_echo_n "(cached) " >&6
6256 if test -n "$AR"; then
6257 ac_cv_prog_AR="$AR" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 if test -n "$AR"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6279 $as_echo "$AR" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6286 test -n "$AR" && break
6289 if test -z "$AR"; then
6293 # Extract the first word of "$ac_prog", so it can be a program name with args.
6294 set dummy $ac_prog; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -n "$ac_ct_AR"; then
6301 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310 ac_cv_prog_ac_ct_AR="$ac_prog"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6321 if test -n "$ac_ct_AR"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6323 $as_echo "$ac_ct_AR" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6330 test -n "$ac_ct_AR" && break
6333 if test "x$ac_ct_AR" = x; then
6336 case $cross_compiling:$ac_tool_warned in
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6340 ac_tool_warned=yes ;;
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6360 $as_echo_n "checking for archiver @FILE support... " >&6; }
6361 if ${lt_cv_ar_at_file+:} false; then :
6362 $as_echo_n "(cached) " >&6
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 echo conftest.$ac_objext > conftest.lst
6378 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6379 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6380 (eval $lt_ar_try) 2>&5
6382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383 test $ac_status = 0; }
6384 if test "$ac_status" -eq 0; then
6385 # Ensure the archiver fails upon bogus file names.
6386 rm -f conftest.$ac_objext libconftest.a
6387 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6388 (eval $lt_ar_try) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391 test $ac_status = 0; }
6392 if test "$ac_status" -ne 0; then
6396 rm -f conftest.* libconftest.a
6399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6403 $as_echo "$lt_cv_ar_at_file" >&6; }
6405 if test "x$lt_cv_ar_at_file" = xno; then
6408 archiver_list_spec=$lt_cv_ar_at_file
6417 if test -n "$ac_tool_prefix"; then
6418 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6419 set dummy ${ac_tool_prefix}strip; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_STRIP+:} false; then :
6423 $as_echo_n "(cached) " >&6
6425 if test -n "$STRIP"; then
6426 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 STRIP=$ac_cv_prog_STRIP
6446 if test -n "$STRIP"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6448 $as_echo "$STRIP" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6456 if test -z "$ac_cv_prog_STRIP"; then
6458 # Extract the first word of "strip", so it can be a program name with args.
6459 set dummy strip; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -n "$ac_ct_STRIP"; then
6466 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_ac_ct_STRIP="strip"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6486 if test -n "$ac_ct_STRIP"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6488 $as_echo "$ac_ct_STRIP" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6494 if test "x$ac_ct_STRIP" = x; then
6497 case $cross_compiling:$ac_tool_warned in
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6501 ac_tool_warned=yes ;;
6506 STRIP="$ac_cv_prog_STRIP"
6509 test -z "$STRIP" && STRIP=:
6516 if test -n "$ac_tool_prefix"; then
6517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if ${ac_cv_prog_RANLIB+:} false; then :
6522 $as_echo_n "(cached) " >&6
6524 if test -n "$RANLIB"; then
6525 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 RANLIB=$ac_cv_prog_RANLIB
6545 if test -n "$RANLIB"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6547 $as_echo "$RANLIB" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6555 if test -z "$ac_cv_prog_RANLIB"; then
6556 ac_ct_RANLIB=$RANLIB
6557 # Extract the first word of "ranlib", so it can be a program name with args.
6558 set dummy ranlib; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6562 $as_echo_n "(cached) " >&6
6564 if test -n "$ac_ct_RANLIB"; then
6565 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_ac_ct_RANLIB="ranlib"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6585 if test -n "$ac_ct_RANLIB"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6587 $as_echo "$ac_ct_RANLIB" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6593 if test "x$ac_ct_RANLIB" = x; then
6596 case $cross_compiling:$ac_tool_warned in
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6600 ac_tool_warned=yes ;;
6602 RANLIB=$ac_ct_RANLIB
6605 RANLIB="$ac_cv_prog_RANLIB"
6608 test -z "$RANLIB" && RANLIB=:
6615 # Determine commands to create old-style static archives.
6616 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6617 old_postinstall_cmds='chmod 644 $oldlib'
6618 old_postuninstall_cmds=
6620 if test -n "$RANLIB"; then
6623 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6626 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6629 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6634 lock_old_archive_extraction=yes ;;
6636 lock_old_archive_extraction=no ;;
6677 # If no C compiler was specified, use CC.
6680 # If no C compiler flags were specified, use CFLAGS.
6681 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6683 # Allow CC to be a program name with arguments.
6687 # Check for command to grab the raw symbol name followed by C symbol from nm.
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6689 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6690 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6691 $as_echo_n "(cached) " >&6
6694 # These are sane defaults that work on at least a few old systems.
6695 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6697 # Character class describing NM global symbol codes.
6698 symcode='[BCDEGRST]'
6700 # Regexp to match symbols that can be accessed directly from C.
6701 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6703 # Define system-specific variables.
6708 cygwin* | mingw* | pw32* | cegcc*)
6709 symcode='[ABCDGISTW]'
6712 if test "$host_cpu" = ia64; then
6713 symcode='[ABCDEGRST]'
6717 symcode='[BCDEGRST]'
6720 symcode='[BCDEGQRST]'
6731 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6739 # If we're using GNU nm, then use its standard symbol codes.
6740 case `$NM -V 2>&1` in
6741 *GNU* | *'with BFD'*)
6742 symcode='[ABCDGIRSTW]' ;;
6745 # Transform an extracted symbol line into a proper C declaration.
6746 # Some systems (esp. on ia64) link data and code symbols differently,
6747 # so use this general approach.
6748 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6750 # Transform an extracted symbol line into symbol name and symbol address
6751 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6752 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'"
6754 # Handle CRLF in mingw tool chain
6758 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6762 # Try without a prefix underscore, then with it.
6763 for ac_symprfx in "" "_"; do
6765 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6766 symxfrm="\\1 $ac_symprfx\\2 \\2"
6768 # Write the raw and C identifiers.
6769 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6770 # Fake it for dumpbin and say T for any non-static function
6771 # and D for any global variable.
6772 # Also find C++ and __fastcall symbols from MSVC++,
6773 # which start with @ or ?.
6774 lt_cv_sys_global_symbol_pipe="$AWK '"\
6775 " {last_section=section; section=\$ 3};"\
6776 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6777 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6778 " \$ 0!~/External *\|/{next};"\
6779 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6780 " {if(hide[section]) next};"\
6781 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6782 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6783 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6784 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6785 " ' prfx=^$ac_symprfx"
6787 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6789 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6791 # Check to see that the pipe works correctly.
6795 cat > conftest.$ac_ext <<_LT_EOF
6800 void nm_test_func(void);
6801 void nm_test_func(void){}
6805 int main(){nm_test_var='a';nm_test_func();return(0);}
6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809 (eval $ac_compile) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812 test $ac_status = 0; }; then
6813 # Now try to grab the symbols.
6815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6816 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6819 test $ac_status = 0; } && test -s "$nlist"; then
6820 # Try sorting and uniquifying the output.
6821 if sort "$nlist" | uniq > "$nlist"T; then
6822 mv -f "$nlist"T "$nlist"
6827 # Make sure that we snagged all the symbols we need.
6828 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6829 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6830 cat <<_LT_EOF > conftest.$ac_ext
6831 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6832 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6833 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6834 relocations are performed -- see ld's documentation on pseudo-relocs. */
6835 # define LT_DLSYM_CONST
6836 #elif defined(__osf__)
6837 /* This system does not cope well with relocations in const data. */
6838 # define LT_DLSYM_CONST
6840 # define LT_DLSYM_CONST const
6848 # Now generate the symbol file.
6849 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6851 cat <<_LT_EOF >> conftest.$ac_ext
6853 /* The mapping between symbol names and symbols. */
6854 LT_DLSYM_CONST struct {
6858 lt__PROGRAM__LTX_preloaded_symbols[] =
6860 { "@PROGRAM@", (void *) 0 },
6862 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6863 cat <<\_LT_EOF >> conftest.$ac_ext
6867 /* This works around a problem in FreeBSD linker */
6868 #ifdef FREEBSD_WORKAROUND
6869 static const void *lt_preloaded_setup() {
6870 return lt__PROGRAM__LTX_preloaded_symbols;
6878 # Now try linking the two files.
6879 mv conftest.$ac_objext conftstm.$ac_objext
6880 lt_globsym_save_LIBS=$LIBS
6881 lt_globsym_save_CFLAGS=$CFLAGS
6882 LIBS="conftstm.$ac_objext"
6883 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6885 (eval $ac_link) 2>&5
6887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6888 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6891 LIBS=$lt_globsym_save_LIBS
6892 CFLAGS=$lt_globsym_save_CFLAGS
6894 echo "cannot find nm_test_func in $nlist" >&5
6897 echo "cannot find nm_test_var in $nlist" >&5
6900 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6903 echo "$progname: failed program was:" >&5
6904 cat conftest.$ac_ext >&5
6906 rm -rf conftest* conftst*
6908 # Do not use the global_symbol_pipe unless it works.
6909 if test "$pipe_works" = yes; then
6912 lt_cv_sys_global_symbol_pipe=
6918 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6919 lt_cv_sys_global_symbol_to_cdecl=
6921 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6923 $as_echo "failed" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6926 $as_echo "ok" >&6; }
6929 # Response file support.
6930 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6931 nm_file_list_spec='@'
6932 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6933 nm_file_list_spec='@'
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6963 $as_echo_n "checking for sysroot... " >&6; }
6965 # Check whether --with-sysroot was given.
6966 if test "${with_sysroot+set}" = set; then :
6967 withval=$with_sysroot;
6974 case ${with_sysroot} in #(
6976 if test "$GCC" = yes; then
6977 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6981 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6987 $as_echo "${with_sysroot}" >&6; }
6988 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6993 $as_echo "${lt_sysroot:-no}" >&6; }
6999 # Check whether --enable-libtool-lock was given.
7000 if test "${enable_libtool_lock+set}" = set; then :
7001 enableval=$enable_libtool_lock;
7004 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7006 # Some flags need to be propagated to the compiler or linker for good
7010 # Find out which ABI we are using.
7011 echo 'int i;' > conftest.$ac_ext
7012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7013 (eval $ac_compile) 2>&5
7015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016 test $ac_status = 0; }; then
7017 case `/usr/bin/file conftest.$ac_objext` in
7029 # Find out which ABI we are using.
7030 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7032 (eval $ac_compile) 2>&5
7034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7035 test $ac_status = 0; }; then
7036 if test "$lt_cv_prog_gnu_ld" = yes; then
7037 case `/usr/bin/file conftest.$ac_objext` in
7039 LD="${LD-ld} -melf32bsmip"
7042 LD="${LD-ld} -melf32bmipn32"
7045 LD="${LD-ld} -melf64bmip"
7049 case `/usr/bin/file conftest.$ac_objext` in
7065 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7066 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7067 # Find out which ABI we are using.
7068 echo 'int i;' > conftest.$ac_ext
7069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070 (eval $ac_compile) 2>&5
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073 test $ac_status = 0; }; then
7074 case `/usr/bin/file conftest.o` in
7077 x86_64-*kfreebsd*-gnu)
7078 LD="${LD-ld} -m elf_i386_fbsd"
7081 LD="${LD-ld} -m elf_i386"
7083 ppc64-*linux*|powerpc64-*linux*)
7084 LD="${LD-ld} -m elf32ppclinux"
7087 LD="${LD-ld} -m elf_s390"
7090 LD="${LD-ld} -m elf32_sparc"
7096 x86_64-*kfreebsd*-gnu)
7097 LD="${LD-ld} -m elf_x86_64_fbsd"
7100 LD="${LD-ld} -m elf_x86_64"
7102 ppc*-*linux*|powerpc*-*linux*)
7103 LD="${LD-ld} -m elf64ppc"
7105 s390*-*linux*|s390*-*tpf*)
7106 LD="${LD-ld} -m elf64_s390"
7109 LD="${LD-ld} -m elf64_sparc"
7119 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7120 SAVE_CFLAGS="$CFLAGS"
7121 CFLAGS="$CFLAGS -belf"
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7123 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7124 if ${lt_cv_cc_needs_belf+:} false; then :
7125 $as_echo_n "(cached) " >&6
7128 ac_cpp='$CPP $CPPFLAGS'
7129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7144 if ac_fn_c_try_link "$LINENO"; then :
7145 lt_cv_cc_needs_belf=yes
7147 lt_cv_cc_needs_belf=no
7149 rm -f core conftest.err conftest.$ac_objext \
7150 conftest$ac_exeext conftest.$ac_ext
7152 ac_cpp='$CPP $CPPFLAGS'
7153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7159 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7160 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7161 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7162 CFLAGS="$SAVE_CFLAGS"
7166 # Find out which ABI we are using.
7167 echo 'int i;' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 case `/usr/bin/file conftest.o` in
7175 case $lt_cv_prog_gnu_ld in
7179 LD="${LD-ld} -m elf_x86_64"
7182 LD="${LD-ld} -m elf64_sparc"
7185 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7186 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7191 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7203 need_locks="$enable_libtool_lock"
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}mt; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7211 $as_echo_n "(cached) " >&6
7213 if test -n "$MANIFEST_TOOL"; then
7214 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7234 if test -n "$MANIFEST_TOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7236 $as_echo "$MANIFEST_TOOL" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7245 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7246 # Extract the first word of "mt", so it can be a program name with args.
7247 set dummy mt; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7251 $as_echo_n "(cached) " >&6
7253 if test -n "$ac_ct_MANIFEST_TOOL"; then
7254 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7274 if test -n "$ac_ct_MANIFEST_TOOL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7276 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7285 case $cross_compiling:$ac_tool_warned in
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7291 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7294 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7297 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7299 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7300 if ${lt_cv_path_mainfest_tool+:} false; then :
7301 $as_echo_n "(cached) " >&6
7303 lt_cv_path_mainfest_tool=no
7304 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7305 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7306 cat conftest.err >&5
7307 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7308 lt_cv_path_mainfest_tool=yes
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7313 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7314 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7324 rhapsody* | darwin*)
7325 if test -n "$ac_tool_prefix"; then
7326 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7327 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7331 $as_echo_n "(cached) " >&6
7333 if test -n "$DSYMUTIL"; then
7334 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7354 if test -n "$DSYMUTIL"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7356 $as_echo "$DSYMUTIL" >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 $as_echo "no" >&6; }
7364 if test -z "$ac_cv_prog_DSYMUTIL"; then
7365 ac_ct_DSYMUTIL=$DSYMUTIL
7366 # Extract the first word of "dsymutil", so it can be a program name with args.
7367 set dummy dsymutil; ac_word=$2
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 $as_echo_n "checking for $ac_word... " >&6; }
7370 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7371 $as_echo_n "(cached) " >&6
7373 if test -n "$ac_ct_DSYMUTIL"; then
7374 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 test -z "$as_dir" && as_dir=.
7381 for ac_exec_ext in '' $ac_executable_extensions; do
7382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7383 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7394 if test -n "$ac_ct_DSYMUTIL"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7396 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }
7402 if test "x$ac_ct_DSYMUTIL" = x; then
7405 case $cross_compiling:$ac_tool_warned in
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7409 ac_tool_warned=yes ;;
7411 DSYMUTIL=$ac_ct_DSYMUTIL
7414 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7417 if test -n "$ac_tool_prefix"; then
7418 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7419 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_prog_NMEDIT+:} false; then :
7423 $as_echo_n "(cached) " >&6
7425 if test -n "$NMEDIT"; then
7426 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7445 NMEDIT=$ac_cv_prog_NMEDIT
7446 if test -n "$NMEDIT"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7448 $as_echo "$NMEDIT" >&6; }
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7456 if test -z "$ac_cv_prog_NMEDIT"; then
7457 ac_ct_NMEDIT=$NMEDIT
7458 # Extract the first word of "nmedit", so it can be a program name with args.
7459 set dummy nmedit; ac_word=$2
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7461 $as_echo_n "checking for $ac_word... " >&6; }
7462 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7463 $as_echo_n "(cached) " >&6
7465 if test -n "$ac_ct_NMEDIT"; then
7466 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472 test -z "$as_dir" && as_dir=.
7473 for ac_exec_ext in '' $ac_executable_extensions; do
7474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7475 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7486 if test -n "$ac_ct_NMEDIT"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7488 $as_echo "$ac_ct_NMEDIT" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7494 if test "x$ac_ct_NMEDIT" = x; then
7497 case $cross_compiling:$ac_tool_warned in
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7501 ac_tool_warned=yes ;;
7503 NMEDIT=$ac_ct_NMEDIT
7506 NMEDIT="$ac_cv_prog_NMEDIT"
7509 if test -n "$ac_tool_prefix"; then
7510 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7511 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_LIPO+:} false; then :
7515 $as_echo_n "(cached) " >&6
7517 if test -n "$LIPO"; then
7518 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 LIPO=$ac_cv_prog_LIPO
7538 if test -n "$LIPO"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7540 $as_echo "$LIPO" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7548 if test -z "$ac_cv_prog_LIPO"; then
7550 # Extract the first word of "lipo", so it can be a program name with args.
7551 set dummy lipo; ac_word=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7555 $as_echo_n "(cached) " >&6
7557 if test -n "$ac_ct_LIPO"; then
7558 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_ac_ct_LIPO="lipo"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7578 if test -n "$ac_ct_LIPO"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7580 $as_echo "$ac_ct_LIPO" >&6; }
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7586 if test "x$ac_ct_LIPO" = x; then
7589 case $cross_compiling:$ac_tool_warned in
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7593 ac_tool_warned=yes ;;
7598 LIPO="$ac_cv_prog_LIPO"
7601 if test -n "$ac_tool_prefix"; then
7602 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7603 set dummy ${ac_tool_prefix}otool; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_OTOOL+:} false; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$OTOOL"; then
7610 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629 OTOOL=$ac_cv_prog_OTOOL
7630 if test -n "$OTOOL"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7632 $as_echo "$OTOOL" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7640 if test -z "$ac_cv_prog_OTOOL"; then
7642 # Extract the first word of "otool", so it can be a program name with args.
7643 set dummy otool; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7647 $as_echo_n "(cached) " >&6
7649 if test -n "$ac_ct_OTOOL"; then
7650 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_ac_ct_OTOOL="otool"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7670 if test -n "$ac_ct_OTOOL"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7672 $as_echo "$ac_ct_OTOOL" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7678 if test "x$ac_ct_OTOOL" = x; then
7681 case $cross_compiling:$ac_tool_warned in
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7685 ac_tool_warned=yes ;;
7690 OTOOL="$ac_cv_prog_OTOOL"
7693 if test -n "$ac_tool_prefix"; then
7694 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7695 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697 $as_echo_n "checking for $ac_word... " >&6; }
7698 if ${ac_cv_prog_OTOOL64+:} false; then :
7699 $as_echo_n "(cached) " >&6
7701 if test -n "$OTOOL64"; then
7702 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir=.
7709 for ac_exec_ext in '' $ac_executable_extensions; do
7710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7711 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 OTOOL64=$ac_cv_prog_OTOOL64
7722 if test -n "$OTOOL64"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7724 $as_echo "$OTOOL64" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727 $as_echo "no" >&6; }
7732 if test -z "$ac_cv_prog_OTOOL64"; then
7733 ac_ct_OTOOL64=$OTOOL64
7734 # Extract the first word of "otool64", so it can be a program name with args.
7735 set dummy otool64; ac_word=$2
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737 $as_echo_n "checking for $ac_word... " >&6; }
7738 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7739 $as_echo_n "(cached) " >&6
7741 if test -n "$ac_ct_OTOOL64"; then
7742 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748 test -z "$as_dir" && as_dir=.
7749 for ac_exec_ext in '' $ac_executable_extensions; do
7750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7751 ac_cv_prog_ac_ct_OTOOL64="otool64"
7752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7762 if test -n "$ac_ct_OTOOL64"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7764 $as_echo "$ac_ct_OTOOL64" >&6; }
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7767 $as_echo "no" >&6; }
7770 if test "x$ac_ct_OTOOL64" = x; then
7773 case $cross_compiling:$ac_tool_warned in
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7777 ac_tool_warned=yes ;;
7779 OTOOL64=$ac_ct_OTOOL64
7782 OTOOL64="$ac_cv_prog_OTOOL64"
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7812 $as_echo_n "checking for -single_module linker flag... " >&6; }
7813 if ${lt_cv_apple_cc_single_mod+:} false; then :
7814 $as_echo_n "(cached) " >&6
7816 lt_cv_apple_cc_single_mod=no
7817 if test -z "${LT_MULTI_MODULE}"; then
7818 # By default we will add the -single_module flag. You can override
7819 # by either setting the environment variable LT_MULTI_MODULE
7820 # non-empty at configure time, or by adding -multi_module to the
7822 rm -rf libconftest.dylib*
7823 echo "int foo(void){return 1;}" > conftest.c
7824 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7825 -dynamiclib -Wl,-single_module conftest.c" >&5
7826 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7827 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7829 # If there is a non-empty error log, and "single_module"
7830 # appears in it, assume the flag caused a linker warning
7831 if test -s conftest.err && $GREP single_module conftest.err; then
7832 cat conftest.err >&5
7833 # Otherwise, if the output was created with a 0 exit code from
7834 # the compiler, it worked.
7835 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7836 lt_cv_apple_cc_single_mod=yes
7838 cat conftest.err >&5
7840 rm -rf libconftest.dylib*
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7845 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7848 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7849 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7850 $as_echo_n "(cached) " >&6
7852 lt_cv_ld_exported_symbols_list=no
7853 save_LDFLAGS=$LDFLAGS
7854 echo "_main" > conftest.sym
7855 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7867 if ac_fn_c_try_link "$LINENO"; then :
7868 lt_cv_ld_exported_symbols_list=yes
7870 lt_cv_ld_exported_symbols_list=no
7872 rm -f core conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
7874 LDFLAGS="$save_LDFLAGS"
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7878 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7881 $as_echo_n "checking for -force_load linker flag... " >&6; }
7882 if ${lt_cv_ld_force_load+:} false; then :
7883 $as_echo_n "(cached) " >&6
7885 lt_cv_ld_force_load=no
7886 cat > conftest.c << _LT_EOF
7887 int forced_loaded() { return 2;}
7889 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7890 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7891 echo "$AR cru libconftest.a conftest.o" >&5
7892 $AR cru libconftest.a conftest.o 2>&5
7893 echo "$RANLIB libconftest.a" >&5
7894 $RANLIB libconftest.a 2>&5
7895 cat > conftest.c << _LT_EOF
7896 int main() { return 0;}
7898 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7899 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7901 if test -s conftest.err && $GREP force_load conftest.err; then
7902 cat conftest.err >&5
7903 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7904 lt_cv_ld_force_load=yes
7906 cat conftest.err >&5
7908 rm -f conftest.err libconftest.a conftest conftest.c
7909 rm -rf conftest.dSYM
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7913 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 rhapsody* | darwin1.[012])
7916 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7919 darwin*) # darwin 5.x on
7920 # if running on 10.5 or later, the deployment target defaults
7921 # to the OS version, if on x86, and 10.4, the deployment
7922 # target defaults to 10.4. Don't you love it?
7923 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7924 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7925 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7934 _lt_dar_single_mod='$single_module'
7936 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7937 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7942 _lt_dsymutil='~$DSYMUTIL $lib || :'
7949 for ac_header in dlfcn.h
7951 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7953 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_DLFCN_H 1
7976 # Check whether --enable-shared was given.
7977 if test "${enable_shared+set}" = set; then :
7978 enableval=$enable_shared; p=${PACKAGE-default}
7980 yes) enable_shared=yes ;;
7981 no) enable_shared=no ;;
7984 # Look at the argument we got. We use all the common list separators.
7985 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7986 for pkg in $enableval; do
7988 if test "X$pkg" = "X$p"; then
8007 # Check whether --enable-static was given.
8008 if test "${enable_static+set}" = set; then :
8009 enableval=$enable_static; p=${PACKAGE-default}
8011 yes) enable_static=yes ;;
8012 no) enable_static=no ;;
8015 # Look at the argument we got. We use all the common list separators.
8016 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8017 for pkg in $enableval; do
8019 if test "X$pkg" = "X$p"; then
8039 # Check whether --with-pic was given.
8040 if test "${with_pic+set}" = set; then :
8041 withval=$with_pic; lt_p=${PACKAGE-default}
8043 yes|no) pic_mode=$withval ;;
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for lt_pkg in $withval; do
8050 if test "X$lt_pkg" = "X$lt_p"; then
8062 test -z "$pic_mode" && pic_mode=default
8070 # Check whether --enable-fast-install was given.
8071 if test "${enable_fast_install+set}" = set; then :
8072 enableval=$enable_fast_install; p=${PACKAGE-default}
8074 yes) enable_fast_install=yes ;;
8075 no) enable_fast_install=no ;;
8077 enable_fast_install=no
8078 # Look at the argument we got. We use all the common list separators.
8079 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8080 for pkg in $enableval; do
8082 if test "X$pkg" = "X$p"; then
8083 enable_fast_install=yes
8090 enable_fast_install=yes
8103 # This can be used to rebuild libtool when needed
8104 LIBTOOL_DEPS="$ltmain"
8106 # Always use our own libtool.
8107 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8138 test -z "$LN_S" && LN_S="ln -s"
8153 if test -n "${ZSH_VERSION+set}" ; then
8154 setopt NO_GLOB_SUBST
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8158 $as_echo_n "checking for objdir... " >&6; }
8159 if ${lt_cv_objdir+:} false; then :
8160 $as_echo_n "(cached) " >&6
8162 rm -f .libs 2>/dev/null
8163 mkdir .libs 2>/dev/null
8164 if test -d .libs; then
8167 # MS-DOS does not allow filenames that begin with a dot.
8170 rmdir .libs 2>/dev/null
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8173 $as_echo "$lt_cv_objdir" >&6; }
8174 objdir=$lt_cv_objdir
8180 cat >>confdefs.h <<_ACEOF
8181 #define LT_OBJDIR "$lt_cv_objdir/"
8189 # AIX sometimes has problems with the GCC collect2 program. For some
8190 # reason, if we set the COLLECT_NAMES environment variable, the problems
8191 # vanish in a puff of smoke.
8192 if test "X${COLLECT_NAMES+set}" != Xset; then
8194 export COLLECT_NAMES
8201 can_build_shared=yes
8203 # All known linkers require a `.a' archive for static linking (except MSVC,
8204 # which needs '.lib').
8207 with_gnu_ld="$lt_cv_prog_gnu_ld"
8210 old_CFLAGS="$CFLAGS"
8212 # Set sane defaults for various variables
8213 test -z "$CC" && CC=cc
8214 test -z "$LTCC" && LTCC=$CC
8215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8216 test -z "$LD" && LD=ld
8217 test -z "$ac_objext" && ac_objext=o
8219 for cc_temp in $compiler""; do
8221 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8222 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8227 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8230 # Only perform the check for file, if the check method requires it
8231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8232 case $deplibs_check_method in
8234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8237 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8238 $as_echo_n "(cached) " >&6
8242 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8245 lt_save_MAGIC_CMD="$MAGIC_CMD"
8246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8247 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8248 for ac_dir in $ac_dummy; do
8250 test -z "$ac_dir" && ac_dir=.
8251 if test -f $ac_dir/${ac_tool_prefix}file; then
8252 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8253 if test -n "$file_magic_test_file"; then
8254 case $deplibs_check_method in
8256 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8258 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8259 $EGREP "$file_magic_regex" > /dev/null; then
8264 *** Warning: the command libtool uses to detect shared libraries,
8265 *** $file_magic_cmd, produces output that libtool cannot recognize.
8266 *** The result is that libtool may fail to recognize shared libraries
8267 *** as such. This will affect the creation of libtool libraries that
8268 *** depend on shared libraries, but programs linked with such libtool
8269 *** libraries will work regardless of this problem. Nevertheless, you
8270 *** may want to report the problem to your system manager and/or to
8271 *** bug-libtool@gnu.org
8281 MAGIC_CMD="$lt_save_MAGIC_CMD"
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if test -n "$MAGIC_CMD"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8289 $as_echo "$MAGIC_CMD" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8299 if test -z "$lt_cv_path_MAGIC_CMD"; then
8300 if test -n "$ac_tool_prefix"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8302 $as_echo_n "checking for file... " >&6; }
8303 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8304 $as_echo_n "(cached) " >&6
8308 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8311 lt_save_MAGIC_CMD="$MAGIC_CMD"
8312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8313 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8314 for ac_dir in $ac_dummy; do
8316 test -z "$ac_dir" && ac_dir=.
8317 if test -f $ac_dir/file; then
8318 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8319 if test -n "$file_magic_test_file"; then
8320 case $deplibs_check_method in
8322 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8324 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8325 $EGREP "$file_magic_regex" > /dev/null; then
8330 *** Warning: the command libtool uses to detect shared libraries,
8331 *** $file_magic_cmd, produces output that libtool cannot recognize.
8332 *** The result is that libtool may fail to recognize shared libraries
8333 *** as such. This will affect the creation of libtool libraries that
8334 *** depend on shared libraries, but programs linked with such libtool
8335 *** libraries will work regardless of this problem. Nevertheless, you
8336 *** may want to report the problem to your system manager and/or to
8337 *** bug-libtool@gnu.org
8347 MAGIC_CMD="$lt_save_MAGIC_CMD"
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if test -n "$MAGIC_CMD"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8355 $as_echo "$MAGIC_CMD" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8371 # Use C for the default configuration in the libtool script
8375 ac_cpp='$CPP $CPPFLAGS'
8376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8381 # Source file extension for C test sources.
8384 # Object file extension for compiled C test sources.
8388 # Code to be used in simple compile tests
8389 lt_simple_compile_test_code="int some_variable = 0;"
8391 # Code to be used in simple link tests
8392 lt_simple_link_test_code='int main(){return(0);}'
8400 # If no C compiler was specified, use CC.
8403 # If no C compiler flags were specified, use CFLAGS.
8404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8406 # Allow CC to be a program name with arguments.
8409 # Save the default compiler, since it gets overwritten when the other
8410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8411 compiler_DEFAULT=$CC
8413 # save warnings/boilerplate of simple test code
8414 ac_outfile=conftest.$ac_objext
8415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8417 _lt_compiler_boilerplate=`cat conftest.err`
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_linker_boilerplate=`cat conftest.err`
8428 ## There is no encapsulation within the following macros, do not change
8429 ## the running order or otherwise move them around unless you know exactly
8430 ## what you are doing...
8431 if test -n "$compiler"; then
8433 lt_prog_compiler_no_builtin_flag=
8435 if test "$GCC" = yes; then
8436 case $cc_basename in
8438 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8440 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8444 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8445 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8446 $as_echo_n "(cached) " >&6
8448 lt_cv_prog_compiler_rtti_exceptions=no
8449 ac_outfile=conftest.$ac_objext
8450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8451 lt_compiler_flag="-fno-rtti -fno-exceptions"
8452 # Insert the option either (1) after the last *FLAGS variable, or
8453 # (2) before a word containing "conftest.", or (3) at the end.
8454 # Note that $ac_compile itself does not contain backslashes and begins
8455 # with a dollar sign (not a hyphen), so the echo should work correctly.
8456 # The option is referenced via a variable to avoid confusing sed.
8457 lt_compile=`echo "$ac_compile" | $SED \
8458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8460 -e 's:$: $lt_compiler_flag:'`
8461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8462 (eval "$lt_compile" 2>conftest.err)
8464 cat conftest.err >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 if (exit $ac_status) && test -s "$ac_outfile"; then
8467 # The compiler can only warn and ignore the option if not recognized
8468 # So say no if there are warnings other than the usual output.
8469 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8470 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8471 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8472 lt_cv_prog_compiler_rtti_exceptions=yes
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8479 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8481 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8482 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8494 lt_prog_compiler_wl=
8495 lt_prog_compiler_pic=
8496 lt_prog_compiler_static=
8499 if test "$GCC" = yes; then
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_static='-static'
8505 # All AIX code is PIC.
8506 if test "$host_cpu" = ia64; then
8507 # AIX 5 now supports IA64 processor
8508 lt_prog_compiler_static='-Bstatic'
8515 # see comment about AmigaOS4 .so support
8516 lt_prog_compiler_pic='-fPIC'
8519 # FIXME: we need at least 68020 code to build shared libraries, but
8520 # adding the `-m68020' flag to GCC prevents building anything better,
8522 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8528 # PIC is the default for these OSes.
8531 mingw* | cygwin* | pw32* | os2* | cegcc*)
8532 # This hack is so that the source file can tell whether it is being
8533 # built for inclusion in a dll (and should export symbols for example).
8534 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8535 # (--disable-auto-import) libraries
8536 lt_prog_compiler_pic='-DDLL_EXPORT'
8539 darwin* | rhapsody*)
8540 # PIC is the default on this platform
8541 # Common symbols not allowed in MH_DYLIB files
8542 lt_prog_compiler_pic='-fno-common'
8546 # PIC is the default for Haiku.
8547 # The "-static" flag exists, but is broken.
8548 lt_prog_compiler_static=
8552 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8553 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8554 # sets the default TLS model and affects inlining.
8560 lt_prog_compiler_pic='-fPIC'
8566 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8567 # Instead, we relocate shared libraries at runtime.
8571 # Just because we use GCC doesn't mean we suddenly get shared libraries
8572 # on systems that don't support them.
8573 lt_prog_compiler_can_build_shared=no
8578 # QNX uses GNU C++, but need to define -shared option too, otherwise
8580 lt_prog_compiler_pic='-fPIC -shared'
8584 if test -d /usr/nec; then
8585 lt_prog_compiler_pic=-Kconform_pic
8590 lt_prog_compiler_pic='-fPIC'
8594 case $cc_basename in
8595 nvcc*) # Cuda Compiler Driver 2.2
8596 lt_prog_compiler_wl='-Xlinker '
8597 if test -n "$lt_prog_compiler_pic"; then
8598 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8603 # PORTME Check for flag to pass linker flags through the system compiler.
8606 lt_prog_compiler_wl='-Wl,'
8607 if test "$host_cpu" = ia64; then
8608 # AIX 5 now supports IA64 processor
8609 lt_prog_compiler_static='-Bstatic'
8611 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8615 mingw* | cygwin* | pw32* | os2* | cegcc*)
8616 # This hack is so that the source file can tell whether it is being
8617 # built for inclusion in a dll (and should export symbols for example).
8618 lt_prog_compiler_pic='-DDLL_EXPORT'
8621 hpux9* | hpux10* | hpux11*)
8622 lt_prog_compiler_wl='-Wl,'
8623 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 lt_prog_compiler_pic='+Z'
8633 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8634 lt_prog_compiler_static='${wl}-a ${wl}archive'
8637 irix5* | irix6* | nonstopux*)
8638 lt_prog_compiler_wl='-Wl,'
8639 # PIC (with -KPIC) is the default.
8640 lt_prog_compiler_static='-non_shared'
8643 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8644 case $cc_basename in
8645 # old Intel for x86_64 which still supported -KPIC.
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-static'
8651 # icc used to be incompatible with GCC.
8652 # ICC 10 doesn't accept -KPIC any more.
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-fPIC'
8656 lt_prog_compiler_static='-static'
8658 # Lahey Fortran 8.1.
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='--shared'
8662 lt_prog_compiler_static='--static'
8665 # NAG Fortran compiler
8666 lt_prog_compiler_wl='-Wl,-Wl,,'
8667 lt_prog_compiler_pic='-PIC'
8668 lt_prog_compiler_static='-Bstatic'
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8696 *Sun\ F* | *Sun*Fortran*)
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-Bstatic'
8699 lt_prog_compiler_wl='-Qoption ld '
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-Bstatic'
8705 lt_prog_compiler_wl='-Wl,'
8707 *Intel*\ [CF]*Compiler*)
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-fPIC'
8710 lt_prog_compiler_static='-static'
8713 lt_prog_compiler_wl='-Wl,'
8714 lt_prog_compiler_pic='-fpic'
8715 lt_prog_compiler_static='-Bstatic'
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8728 # QNX uses GNU C++, but need to define -shared option too, otherwise
8730 lt_prog_compiler_pic='-fPIC -shared'
8733 osf3* | osf4* | osf5*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # All OSF/1 code is PIC.
8736 lt_prog_compiler_static='-non_shared'
8740 lt_prog_compiler_static='-non_shared'
8744 lt_prog_compiler_pic='-KPIC'
8745 lt_prog_compiler_static='-Bstatic'
8746 case $cc_basename in
8747 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8748 lt_prog_compiler_wl='-Qoption ld ';;
8750 lt_prog_compiler_wl='-Wl,';;
8755 lt_prog_compiler_wl='-Qoption ld '
8756 lt_prog_compiler_pic='-PIC'
8757 lt_prog_compiler_static='-Bstatic'
8760 sysv4 | sysv4.2uw2* | sysv4.3*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-Bstatic'
8767 if test -d /usr/nec ;then
8768 lt_prog_compiler_pic='-Kconform_pic'
8769 lt_prog_compiler_static='-Bstatic'
8773 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='-KPIC'
8776 lt_prog_compiler_static='-Bstatic'
8780 lt_prog_compiler_wl='-Wl,'
8781 lt_prog_compiler_can_build_shared=no
8785 lt_prog_compiler_pic='-pic'
8786 lt_prog_compiler_static='-Bstatic'
8790 lt_prog_compiler_can_build_shared=no
8796 # For platforms which do not support PIC, -DPIC is meaningless:
8798 lt_prog_compiler_pic=
8801 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8806 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8807 if ${lt_cv_prog_compiler_pic+:} false; then :
8808 $as_echo_n "(cached) " >&6
8810 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8813 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8814 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8817 # Check to make sure the PIC flag actually works.
8819 if test -n "$lt_prog_compiler_pic"; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8821 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8822 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8823 $as_echo_n "(cached) " >&6
8825 lt_cv_prog_compiler_pic_works=no
8826 ac_outfile=conftest.$ac_objext
8827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8828 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8829 # Insert the option either (1) after the last *FLAGS variable, or
8830 # (2) before a word containing "conftest.", or (3) at the end.
8831 # Note that $ac_compile itself does not contain backslashes and begins
8832 # with a dollar sign (not a hyphen), so the echo should work correctly.
8833 # The option is referenced via a variable to avoid confusing sed.
8834 lt_compile=`echo "$ac_compile" | $SED \
8835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8837 -e 's:$: $lt_compiler_flag:'`
8838 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8839 (eval "$lt_compile" 2>conftest.err)
8841 cat conftest.err >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 if (exit $ac_status) && test -s "$ac_outfile"; then
8844 # The compiler can only warn and ignore the option if not recognized
8845 # So say no if there are warnings other than the usual output.
8846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8849 lt_cv_prog_compiler_pic_works=yes
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8856 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8858 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8859 case $lt_prog_compiler_pic in
8861 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8864 lt_prog_compiler_pic=
8865 lt_prog_compiler_can_build_shared=no
8881 # Check to make sure the static flag actually works.
8883 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8885 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8886 if ${lt_cv_prog_compiler_static_works+:} false; then :
8887 $as_echo_n "(cached) " >&6
8889 lt_cv_prog_compiler_static_works=no
8890 save_LDFLAGS="$LDFLAGS"
8891 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8892 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8893 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8894 # The linker can only warn and ignore the option if not recognized
8895 # So say no if there are warnings
8896 if test -s conftest.err; then
8897 # Append any errors to the config.log.
8898 cat conftest.err 1>&5
8899 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8900 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8901 if diff conftest.exp conftest.er2 >/dev/null; then
8902 lt_cv_prog_compiler_static_works=yes
8905 lt_cv_prog_compiler_static_works=yes
8909 LDFLAGS="$save_LDFLAGS"
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8913 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 lt_prog_compiler_static=
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if ${lt_cv_prog_compiler_c_o+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler_c_o=no
8933 $RM -r conftest 2>/dev/null
8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939 lt_compiler_flag="-o out/conftest2.$ac_objext"
8940 # Insert the option either (1) after the last *FLAGS variable, or
8941 # (2) before a word containing "conftest.", or (3) at the end.
8942 # Note that $ac_compile itself does not contain backslashes and begins
8943 # with a dollar sign (not a hyphen), so the echo should work correctly.
8944 lt_compile=`echo "$ac_compile" | $SED \
8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947 -e 's:$: $lt_compiler_flag:'`
8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949 (eval "$lt_compile" 2>out/conftest.err)
8951 cat out/conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 # The compiler can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler_c_o=yes
8965 # SGI C++ compiler will create directory out/ii_files/ for
8966 # template instantiation
8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968 $RM out/* && rmdir out
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8984 if ${lt_cv_prog_compiler_c_o+:} false; then :
8985 $as_echo_n "(cached) " >&6
8987 lt_cv_prog_compiler_c_o=no
8988 $RM -r conftest 2>/dev/null
8992 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994 lt_compiler_flag="-o out/conftest2.$ac_objext"
8995 # Insert the option either (1) after the last *FLAGS variable, or
8996 # (2) before a word containing "conftest.", or (3) at the end.
8997 # Note that $ac_compile itself does not contain backslashes and begins
8998 # with a dollar sign (not a hyphen), so the echo should work correctly.
8999 lt_compile=`echo "$ac_compile" | $SED \
9000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9002 -e 's:$: $lt_compiler_flag:'`
9003 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9004 (eval "$lt_compile" 2>out/conftest.err)
9006 cat out/conftest.err >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 # The compiler can only warn and ignore the option if not recognized
9011 # So say no if there are warnings
9012 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9013 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9014 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9015 lt_cv_prog_compiler_c_o=yes
9020 # SGI C++ compiler will create directory out/ii_files/ for
9021 # template instantiation
9022 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9023 $RM out/* && rmdir out
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9030 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9035 hard_links="nottested"
9036 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9037 # do not overwrite the value of need_locks provided by the user
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9039 $as_echo_n "checking if we can lock with hard links... " >&6; }
9042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 ln conftest.a conftest.b 2>&5 || hard_links=no
9045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9047 $as_echo "$hard_links" >&6; }
9048 if test "$hard_links" = no; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9050 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 allow_undefined_flag=
9067 always_export_symbols=no
9069 archive_expsym_cmds=
9070 compiler_needs_object=no
9071 enable_shared_with_static_runtimes=no
9072 export_dynamic_flag_spec=
9073 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9074 hardcode_automatic=no
9076 hardcode_direct_absolute=no
9077 hardcode_libdir_flag_spec=
9078 hardcode_libdir_separator=
9080 hardcode_shlibpath_var=unsupported
9082 link_all_deplibs=unknown
9085 old_archive_from_new_cmds=
9086 old_archive_from_expsyms_cmds=
9087 thread_safe_flag_spec=
9088 whole_archive_flag_spec=
9089 # include_expsyms should be a list of space-separated symbols to be *always*
9090 # included in the symbol list
9092 # exclude_expsyms can be an extended regexp of symbols to exclude
9093 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9094 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9095 # as well as any symbol that contains `d'.
9096 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9097 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9098 # platforms (ab)use it in PIC code, but their linkers get confused if
9099 # the symbol is explicitly referenced. Since portable code cannot
9100 # rely on this symbol name, it's probably fine to never include it in
9101 # preloaded symbol tables.
9102 # Exclude shared library initialization/finalization symbols.
9103 extract_expsyms_cmds=
9106 cygwin* | mingw* | pw32* | cegcc*)
9107 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9108 # When not using gcc, we currently assume that we are using
9109 # Microsoft Visual C++.
9110 if test "$GCC" != yes; then
9115 # we just hope/assume this is gcc and not c89 (= MSVC++)
9121 linux* | k*bsd*-gnu | gnu*)
9128 # On some targets, GNU ld is compatible enough with the native linker
9129 # that we're better off using the native interface for both.
9130 lt_use_gnu_ld_interface=no
9131 if test "$with_gnu_ld" = yes; then
9134 # The AIX port of GNU ld has always aspired to compatibility
9135 # with the native linker. However, as the warning in the GNU ld
9136 # block says, versions before 2.19.5* couldn't really create working
9137 # shared libraries, regardless of the interface used.
9138 case `$LD -v 2>&1` in
9139 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9140 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9141 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9143 lt_use_gnu_ld_interface=yes
9148 lt_use_gnu_ld_interface=yes
9153 if test "$lt_use_gnu_ld_interface" = yes; then
9154 # If archive_cmds runs LD, not CC, wlarc should be empty
9157 # Set some defaults for GNU ld with shared library support. These
9158 # are reset later if shared libraries are not supported. Putting them
9159 # here allows them to be overridden if necessary.
9160 runpath_var=LD_RUN_PATH
9161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9162 export_dynamic_flag_spec='${wl}--export-dynamic'
9163 # ancient GNU ld didn't support --whole-archive et. al.
9164 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9165 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9167 whole_archive_flag_spec=
9169 supports_anon_versioning=no
9170 case `$LD -v 2>&1` in
9171 *GNU\ gold*) supports_anon_versioning=yes ;;
9172 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9173 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9174 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9175 *\ 2.11.*) ;; # other 2.11 versions
9176 *) supports_anon_versioning=yes ;;
9179 # See if GNU ld supports shared libraries.
9182 # On AIX/PPC, the GNU linker is very broken
9183 if test "$host_cpu" != ia64; then
9187 *** Warning: the GNU linker, at least up to release 2.19, is reported
9188 *** to be unable to reliably create shared libraries on AIX.
9189 *** Therefore, libtool is disabling shared libraries support. If you
9190 *** really care for shared libraries, you may want to install binutils
9191 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9192 *** You will then need to restart the configuration process.
9201 # see comment about AmigaOS4 .so support
9202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 archive_expsym_cmds=''
9206 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)'
9207 hardcode_libdir_flag_spec='-L$libdir'
9208 hardcode_minus_L=yes
9214 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9215 allow_undefined_flag=unsupported
9216 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9217 # support --undefined. This deserves some investigation. FIXME
9218 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224 cygwin* | mingw* | pw32* | cegcc*)
9225 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9226 # as there is no search path for DLLs.
9227 hardcode_libdir_flag_spec='-L$libdir'
9228 export_dynamic_flag_spec='${wl}--export-all-symbols'
9229 allow_undefined_flag=unsupported
9230 always_export_symbols=no
9231 enable_shared_with_static_runtimes=yes
9232 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'
9233 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9235 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9236 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9237 # If the export-symbols file already is a .def file (1st line
9238 # is EXPORTS), use it as is; otherwise, prepend...
9239 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9240 cp $export_symbols $output_objdir/$soname.def;
9242 echo EXPORTS > $output_objdir/$soname.def;
9243 cat $export_symbols >> $output_objdir/$soname.def;
9245 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253 link_all_deplibs=yes
9258 hardcode_shlibpath_var=no
9259 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9260 export_dynamic_flag_spec='${wl}-E'
9261 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9262 # Instead, shared libraries are loaded at an image base (0x10000000 by
9263 # default) and relocated if they conflict, which is a slow very memory
9264 # consuming and fragmenting process. To avoid this, we pick a random,
9265 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9266 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9267 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9268 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'
9271 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9273 if test "$host_os" = linux-dietlibc; then
9274 case $cc_basename in
9275 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9278 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9279 && test "$tmp_diet" = no
9281 tmp_addflag=' $pic_flag'
9282 tmp_sharedflag='-shared'
9283 case $cc_basename,$host_cpu in
9284 pgcc*) # Portland Group C compiler
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'
9288 pgf77* | pgf90* | pgf95* | pgfortran*)
9289 # Portland Group f77 and f90 compilers
9290 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'
9291 tmp_addflag=' $pic_flag -Mnomain' ;;
9292 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9293 tmp_addflag=' -i_dynamic' ;;
9294 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9295 tmp_addflag=' -i_dynamic -nofor_main' ;;
9296 ifc* | ifort*) # Intel Fortran compiler
9297 tmp_addflag=' -nofor_main' ;;
9298 lf95*) # Lahey Fortran 8.1
9299 whole_archive_flag_spec=
9300 tmp_sharedflag='--shared' ;;
9301 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9302 tmp_sharedflag='-qmkshrobj'
9304 nvcc*) # Cuda Compiler Driver 2.2
9305 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'
9306 compiler_needs_object=yes
9309 case `$CC -V 2>&1 | sed 5q` in
9310 *Sun\ C*) # Sun C 5.9
9311 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'
9312 compiler_needs_object=yes
9313 tmp_sharedflag='-G' ;;
9314 *Sun\ F*) # Sun Fortran 8.3
9315 tmp_sharedflag='-G' ;;
9317 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 if test "x$supports_anon_versioning" = xyes; then
9320 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9321 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9322 echo "local: *; };" >> $output_objdir/$libname.ver~
9323 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9326 case $cc_basename in
9327 xlf* | bgf* | bgxlf* | mpixlf*)
9328 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9329 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9330 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9331 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9332 if test "x$supports_anon_versioning" = xyes; then
9333 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9334 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9335 echo "local: *; };" >> $output_objdir/$libname.ver~
9336 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9345 netbsd* | netbsdelf*-gnu)
9346 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9347 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9350 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9356 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9360 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9361 *** create shared libraries on Solaris systems. Therefore, libtool
9362 *** is disabling shared libraries support. We urge you to upgrade GNU
9363 *** binutils to release 2.9.1 or newer. Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9368 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9369 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9377 case `$LD -v 2>&1` in
9378 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9382 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9383 *** reliably create shared libraries on SCO systems. Therefore, libtool
9384 *** is disabling shared libraries support. We urge you to upgrade GNU
9385 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9386 *** your PATH or compiler configuration so that the native linker is
9387 *** used, and then restart.
9392 # For security reasons, it is highly recommended that you always
9393 # use absolute paths for naming shared libraries, and exclude the
9394 # DT_RUNPATH tag from executables and libraries. But doing so
9395 # requires that you compile everything twice, which is a pain.
9396 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9397 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9408 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9411 hardcode_shlibpath_var=no
9415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424 if test "$ld_shlibs" = no; then
9426 hardcode_libdir_flag_spec=
9427 export_dynamic_flag_spec=
9428 whole_archive_flag_spec=
9431 # PORTME fill in a description of your system's linker (not GNU ld)
9434 allow_undefined_flag=unsupported
9435 always_export_symbols=yes
9436 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'
9437 # Note: this linker hardcodes the directories in LIBPATH if there
9438 # are no directories specified by -L.
9439 hardcode_minus_L=yes
9440 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9441 # Neither direct hardcoding nor static linking is supported with a
9443 hardcode_direct=unsupported
9448 if test "$host_cpu" = ia64; then
9449 # On IA64, the linker does run time linking by default, so we don't
9450 # have to do anything special.
9451 aix_use_runtimelinking=no
9452 exp_sym_flag='-Bexport'
9455 # If we're using GNU nm, then we don't want the "-C" option.
9456 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9457 # Also, AIX nm treats weak defined symbols like other global
9458 # defined symbols, whereas GNU nm marks them as "W".
9459 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9460 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'
9462 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'
9464 aix_use_runtimelinking=no
9466 # Test if we are trying to use run time linking or normal
9467 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9468 # need to do runtime linking.
9469 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9470 for ld_flag in $LDFLAGS; do
9471 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9472 aix_use_runtimelinking=yes
9479 exp_sym_flag='-bexport'
9480 no_entry_flag='-bnoentry'
9483 # When large executables or shared objects are built, AIX ld can
9484 # have problems creating the table of contents. If linking a library
9485 # or program results in "error TOC overflow" add -mminimal-toc to
9486 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9487 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9491 hardcode_direct_absolute=yes
9492 hardcode_libdir_separator=':'
9493 link_all_deplibs=yes
9494 file_list_spec='${wl}-f,'
9496 if test "$GCC" = yes; then
9497 case $host_os in aix4.[012]|aix4.[012].*)
9498 # We only want to do this on AIX 4.2 and lower, the check
9499 # below for broken collect2 doesn't work under 4.3+
9500 collect2name=`${CC} -print-prog-name=collect2`
9501 if test -f "$collect2name" &&
9502 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9504 # We have reworked collect2
9507 # We have old collect2
9508 hardcode_direct=unsupported
9509 # It fails to find uninstalled libraries when the uninstalled
9510 # path is not listed in the libpath. Setting hardcode_minus_L
9511 # to unsupported forces relinking
9512 hardcode_minus_L=yes
9513 hardcode_libdir_flag_spec='-L$libdir'
9514 hardcode_libdir_separator=
9518 shared_flag='-shared'
9519 if test "$aix_use_runtimelinking" = yes; then
9520 shared_flag="$shared_flag "'${wl}-G'
9525 if test "$host_cpu" = ia64; then
9526 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9527 # chokes on -Wl,-G. The following line is correct:
9530 if test "$aix_use_runtimelinking" = yes; then
9531 shared_flag='${wl}-G'
9533 shared_flag='${wl}-bM:SRE'
9538 export_dynamic_flag_spec='${wl}-bexpall'
9539 # It seems that -bexpall does not export symbols beginning with
9540 # underscore (_), so it is better to generate a list of symbols to export.
9541 always_export_symbols=yes
9542 if test "$aix_use_runtimelinking" = yes; then
9543 # Warning - without using the other runtime loading flags (-brtl),
9544 # -berok will link without error, but may produce a broken library.
9545 allow_undefined_flag='-berok'
9546 # Determine the default libpath from the value encoded in an
9548 if test "${lt_cv_aix_libpath+set}" = set; then
9549 aix_libpath=$lt_cv_aix_libpath
9551 if ${lt_cv_aix_libpath_+:} false; then :
9552 $as_echo_n "(cached) " >&6
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9565 if ac_fn_c_try_link "$LINENO"; then :
9567 lt_aix_libpath_sed='
9568 /Import File Strings/,/^$/ {
9570 s/^0 *\([^ ]*\) *$/\1/
9574 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 # Check for a 64-bit object if we didn't find anything.
9576 if test -z "$lt_cv_aix_libpath_"; then
9577 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 if test -z "$lt_cv_aix_libpath_"; then
9583 lt_cv_aix_libpath_="/usr/lib:/lib"
9588 aix_libpath=$lt_cv_aix_libpath_
9591 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9592 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"
9594 if test "$host_cpu" = ia64; then
9595 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9596 allow_undefined_flag="-z nodefs"
9597 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"
9599 # Determine the default libpath from the value encoded in an
9601 if test "${lt_cv_aix_libpath+set}" = set; then
9602 aix_libpath=$lt_cv_aix_libpath
9604 if ${lt_cv_aix_libpath_+:} false; then :
9605 $as_echo_n "(cached) " >&6
9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608 /* end confdefs.h. */
9618 if ac_fn_c_try_link "$LINENO"; then :
9620 lt_aix_libpath_sed='
9621 /Import File Strings/,/^$/ {
9623 s/^0 *\([^ ]*\) *$/\1/
9627 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9628 # Check for a 64-bit object if we didn't find anything.
9629 if test -z "$lt_cv_aix_libpath_"; then
9630 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9633 rm -f core conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 if test -z "$lt_cv_aix_libpath_"; then
9636 lt_cv_aix_libpath_="/usr/lib:/lib"
9641 aix_libpath=$lt_cv_aix_libpath_
9644 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9645 # Warning - without using the other run time loading flags,
9646 # -berok will link without error, but may produce a broken library.
9647 no_undefined_flag=' ${wl}-bernotok'
9648 allow_undefined_flag=' ${wl}-berok'
9649 if test "$with_gnu_ld" = yes; then
9650 # We only use this code for GNU lds that support --whole-archive.
9651 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9653 # Exported symbols can be pulled into shared objects from archives
9654 whole_archive_flag_spec='$convenience'
9656 archive_cmds_need_lc=yes
9657 # This is similar to how AIX traditionally builds its shared libraries.
9658 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'
9666 # see comment about AmigaOS4 .so support
9667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9668 archive_expsym_cmds=''
9671 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)'
9672 hardcode_libdir_flag_spec='-L$libdir'
9673 hardcode_minus_L=yes
9679 export_dynamic_flag_spec=-rdynamic
9682 cygwin* | mingw* | pw32* | cegcc*)
9683 # When not using gcc, we currently assume that we are using
9684 # Microsoft Visual C++.
9685 # hardcode_libdir_flag_spec is actually meaningless, as there is
9686 # no search path for DLLs.
9687 case $cc_basename in
9690 hardcode_libdir_flag_spec=' '
9691 allow_undefined_flag=unsupported
9692 always_export_symbols=yes
9694 # Tell ltmain to make .lib files, not .a files.
9696 # Tell ltmain to make .dll files, not .so files.
9698 # FIXME: Setting linknames here is a bad hack.
9699 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9700 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9701 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9703 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9705 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9707 # The linker will not automatically build a static lib if we build a DLL.
9708 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9709 enable_shared_with_static_runtimes=yes
9710 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9711 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9713 old_postinstall_cmds='chmod 644 $oldlib'
9714 postlink_cmds='lt_outputfile="@OUTPUT@"~
9715 lt_tool_outputfile="@TOOL_OUTPUT@"~
9716 case $lt_outputfile in
9719 lt_outputfile="$lt_outputfile.exe"
9720 lt_tool_outputfile="$lt_tool_outputfile.exe"
9723 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9724 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9725 $RM "$lt_outputfile.manifest";
9729 # Assume MSVC wrapper
9730 hardcode_libdir_flag_spec=' '
9731 allow_undefined_flag=unsupported
9732 # Tell ltmain to make .lib files, not .a files.
9734 # Tell ltmain to make .dll files, not .so files.
9736 # FIXME: Setting linknames here is a bad hack.
9737 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9738 # The linker will automatically build a .lib file if we build a DLL.
9739 old_archive_from_new_cmds='true'
9740 # FIXME: Should let the user specify the lib program.
9741 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9742 enable_shared_with_static_runtimes=yes
9747 darwin* | rhapsody*)
9750 archive_cmds_need_lc=no
9752 hardcode_automatic=yes
9753 hardcode_shlibpath_var=unsupported
9754 if test "$lt_cv_ld_force_load" = "yes"; then
9755 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\"`'
9758 whole_archive_flag_spec=''
9760 link_all_deplibs=yes
9761 allow_undefined_flag="$_lt_dar_allow_undefined"
9762 case $cc_basename in
9763 ifort*) _lt_dar_can_shared=yes ;;
9764 *) _lt_dar_can_shared=$GCC ;;
9766 if test "$_lt_dar_can_shared" = "yes"; then
9767 output_verbose_link_cmd=func_echo_all
9768 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9769 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9770 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}"
9771 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}"
9780 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_libdir_flag_spec='-L$libdir'
9782 hardcode_shlibpath_var=no
9785 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9786 # support. Future versions do this automatically, but an explicit c++rt0.o
9787 # does not break anything, and helps significantly (at the cost of a little
9790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9791 hardcode_libdir_flag_spec='-R$libdir'
9793 hardcode_shlibpath_var=no
9796 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9798 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_minus_L=yes
9801 hardcode_shlibpath_var=no
9804 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9805 freebsd* | dragonfly*)
9806 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9807 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_shlibpath_var=no
9813 if test "$GCC" = yes; then
9814 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'
9816 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'
9818 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819 hardcode_libdir_separator=:
9822 # hardcode_minus_L: Not really in the search PATH,
9823 # but as the default location of the library.
9824 hardcode_minus_L=yes
9825 export_dynamic_flag_spec='${wl}-E'
9829 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9830 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9834 if test "$with_gnu_ld" = no; then
9835 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator=:
9838 hardcode_direct_absolute=yes
9839 export_dynamic_flag_spec='${wl}-E'
9840 # hardcode_minus_L: Not really in the search PATH,
9841 # but as the default location of the library.
9842 hardcode_minus_L=yes
9847 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9850 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9856 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9869 # Older versions of the 11.00 compiler do not understand -b yet
9870 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9872 $as_echo_n "checking if $CC understands -b... " >&6; }
9873 if ${lt_cv_prog_compiler__b+:} false; then :
9874 $as_echo_n "(cached) " >&6
9876 lt_cv_prog_compiler__b=no
9877 save_LDFLAGS="$LDFLAGS"
9878 LDFLAGS="$LDFLAGS -b"
9879 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9880 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9881 # The linker can only warn and ignore the option if not recognized
9882 # So say no if there are warnings
9883 if test -s conftest.err; then
9884 # Append any errors to the config.log.
9885 cat conftest.err 1>&5
9886 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9887 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9888 if diff conftest.exp conftest.er2 >/dev/null; then
9889 lt_cv_prog_compiler__b=yes
9892 lt_cv_prog_compiler__b=yes
9896 LDFLAGS="$save_LDFLAGS"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9900 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9902 if test x"$lt_cv_prog_compiler__b" = xyes; then
9903 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9911 if test "$with_gnu_ld" = no; then
9912 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9913 hardcode_libdir_separator=:
9918 hardcode_shlibpath_var=no
9922 hardcode_direct_absolute=yes
9923 export_dynamic_flag_spec='${wl}-E'
9925 # hardcode_minus_L: Not really in the search PATH,
9926 # but as the default location of the library.
9927 hardcode_minus_L=yes
9933 irix5* | irix6* | nonstopux*)
9934 if test "$GCC" = yes; then
9935 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'
9936 # Try to use the -exported_symbol ld option, if it does not
9937 # work, assume that -exports_file does not work either and
9938 # implicitly export all symbols.
9939 # This should be the same for all languages, so no per-tag cache variable.
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9941 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9942 if ${lt_cv_irix_exported_symbol+:} false; then :
9943 $as_echo_n "(cached) " >&6
9945 save_LDFLAGS="$LDFLAGS"
9946 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 int foo (void) { return 0; }
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 lt_cv_irix_exported_symbol=yes
9954 lt_cv_irix_exported_symbol=no
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LDFLAGS="$save_LDFLAGS"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9961 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9962 if test "$lt_cv_irix_exported_symbol" = yes; then
9963 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'
9966 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'
9967 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'
9969 archive_cmds_need_lc='no'
9970 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9971 hardcode_libdir_separator=:
9973 link_all_deplibs=yes
9976 netbsd* | netbsdelf*-gnu)
9977 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9978 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9980 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9982 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_shlibpath_var=no
9988 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9991 hardcode_libdir_separator=:
9992 hardcode_shlibpath_var=no
9999 if test -f /usr/libexec/ld.so; then
10000 hardcode_direct=yes
10001 hardcode_shlibpath_var=no
10002 hardcode_direct_absolute=yes
10003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10004 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10006 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10007 export_dynamic_flag_spec='${wl}-E'
10010 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10011 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_libdir_flag_spec='-R$libdir'
10015 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10016 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 hardcode_libdir_flag_spec='-L$libdir'
10027 hardcode_minus_L=yes
10028 allow_undefined_flag=unsupported
10029 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'
10030 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10034 if test "$GCC" = yes; then
10035 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10036 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'
10038 allow_undefined_flag=' -expect_unresolved \*'
10039 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'
10041 archive_cmds_need_lc='no'
10042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10043 hardcode_libdir_separator=:
10046 osf4* | osf5*) # as osf3* with the addition of -msym flag
10047 if test "$GCC" = yes; then
10048 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10049 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'
10050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052 allow_undefined_flag=' -expect_unresolved \*'
10053 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'
10054 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~
10055 $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'
10057 # Both c and cxx compiler support -rpath directly
10058 hardcode_libdir_flag_spec='-rpath $libdir'
10060 archive_cmds_need_lc='no'
10061 hardcode_libdir_separator=:
10065 no_undefined_flag=' -z defs'
10066 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10070 $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'
10072 case `$CC -V 2>&1` in
10075 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10081 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10083 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10087 hardcode_libdir_flag_spec='-R$libdir'
10088 hardcode_shlibpath_var=no
10090 solaris2.[0-5] | solaris2.[0-5].*) ;;
10092 # The compiler driver will combine and reorder linker options,
10093 # but understands `-z linker_flag'. GCC discards it without `$wl',
10094 # but is careful enough not to reorder.
10095 # Supported since Solaris 2.6 (maybe 2.5.1?)
10096 if test "$GCC" = yes; then
10097 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10099 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10103 link_all_deplibs=yes
10107 if test "x$host_vendor" = xsequent; then
10108 # Use $CC to link under sequent, because it throws in some extra .o
10109 # files that make .init and .fini sections work.
10110 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10114 hardcode_libdir_flag_spec='-L$libdir'
10115 hardcode_direct=yes
10116 hardcode_minus_L=yes
10117 hardcode_shlibpath_var=no
10121 case $host_vendor in
10123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10124 hardcode_direct=yes # is this really true???
10127 ## LD is ld it makes a PLAMLIB
10128 ## CC just makes a GrossModule.
10129 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10130 reload_cmds='$CC -r -o $output$reload_objs'
10134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10135 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10138 runpath_var='LD_RUN_PATH'
10139 hardcode_shlibpath_var=no
10143 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_shlibpath_var=no
10145 export_dynamic_flag_spec='-Bexport'
10149 if test -d /usr/nec; then
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 runpath_var=LD_RUN_PATH
10153 hardcode_runpath_var=yes
10158 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10159 no_undefined_flag='${wl}-z,text'
10160 archive_cmds_need_lc=no
10161 hardcode_shlibpath_var=no
10162 runpath_var='LD_RUN_PATH'
10164 if test "$GCC" = yes; then
10165 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10166 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10169 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 sysv5* | sco3.2v5* | sco5v6*)
10174 # Note: We can NOT use -z defs as we might desire, because we do not
10175 # link with -lc, and that would cause any symbols used from libc to
10176 # always be unresolved, which means just about no library would
10177 # ever link correctly. If we're not using GNU ld we use -z text
10178 # though, which does catch some bad symbols but isn't as heavy-handed
10180 no_undefined_flag='${wl}-z,text'
10181 allow_undefined_flag='${wl}-z,nodefs'
10182 archive_cmds_need_lc=no
10183 hardcode_shlibpath_var=no
10184 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10185 hardcode_libdir_separator=':'
10186 link_all_deplibs=yes
10187 export_dynamic_flag_spec='${wl}-Bexport'
10188 runpath_var='LD_RUN_PATH'
10190 if test "$GCC" = yes; then
10191 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_libdir_flag_spec='-L$libdir'
10202 hardcode_shlibpath_var=no
10210 if test x$host_vendor = xsni; then
10212 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10213 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10220 $as_echo "$ld_shlibs" >&6; }
10221 test "$ld_shlibs" = no && can_build_shared=no
10223 with_gnu_ld=$with_gnu_ld
10240 # Do we need to explicitly link libc?
10242 case "x$archive_cmds_need_lc" in
10244 # Assume -lc should be added
10245 archive_cmds_need_lc=yes
10247 if test "$enable_shared" = yes && test "$GCC" = yes; then
10248 case $archive_cmds in
10250 # FIXME: we may have to deal with multi-command sequences.
10253 # Test whether the compiler implicitly links with -lc since on some
10254 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10255 # to ld, don't add -lc before -lgcc.
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10257 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10258 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10259 $as_echo_n "(cached) " >&6
10262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10265 (eval $ac_compile) 2>&5
10267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10268 test $ac_status = 0; } 2>conftest.err; then
10271 libobjs=conftest.$ac_objext
10273 wl=$lt_prog_compiler_wl
10274 pic_flag=$lt_prog_compiler_pic
10280 lt_save_allow_undefined_flag=$allow_undefined_flag
10281 allow_undefined_flag=
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10283 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; }
10288 lt_cv_archive_cmds_need_lc=no
10290 lt_cv_archive_cmds_need_lc=yes
10292 allow_undefined_flag=$lt_save_allow_undefined_flag
10294 cat conftest.err 1>&5
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10300 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10301 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10460 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10462 if test "$GCC" = yes; then
10464 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10465 *) lt_awk_arg="/^libraries:/" ;;
10468 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10469 *) lt_sed_strip_eq="s,=/,/,g" ;;
10471 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10472 case $lt_search_path_spec in
10474 # if the path contains ";" then we assume it to be the separator
10475 # otherwise default to the standard path separator (i.e. ":") - it is
10476 # assumed that no part of a normal pathname contains ";" but that should
10477 # okay in the real world where ";" in dirpaths is itself problematic.
10478 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10481 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10484 # Ok, now we have the path, separated by spaces, we can step through it
10485 # and add multilib dir if necessary.
10486 lt_tmp_lt_search_path_spec=
10487 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10488 for lt_sys_path in $lt_search_path_spec; do
10489 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10490 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10492 test -d "$lt_sys_path" && \
10493 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10496 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10497 BEGIN {RS=" "; FS="/|\n";} {
10500 for (lt_i = NF; lt_i > 0; lt_i--) {
10501 if ($lt_i != "" && $lt_i != ".") {
10502 if ($lt_i == "..") {
10505 if (lt_count == 0) {
10506 lt_foo="/" $lt_i lt_foo;
10513 if (lt_foo != "") { lt_freq[lt_foo]++; }
10514 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10516 # AWK program above erroneously prepends '/' to C:/dos/paths
10519 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10520 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10522 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10524 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10526 library_names_spec=
10527 libname_spec='lib$name'
10531 postuninstall_cmds=
10535 shlibpath_overrides_runpath=unknown
10537 dynamic_linker="$host_os ld.so"
10538 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10539 need_lib_prefix=unknown
10540 hardcode_into_libs=no
10542 # when you set need_version to no, make sure it does not cause -set_version
10543 # flags to be left without arguments
10544 need_version=unknown
10548 version_type=linux # correct to gnu/linux during the next big refactor
10549 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10550 shlibpath_var=LIBPATH
10552 # AIX 3 has no versioning support, so we append a major version to the name.
10553 soname_spec='${libname}${release}${shared_ext}$major'
10557 version_type=linux # correct to gnu/linux during the next big refactor
10560 hardcode_into_libs=yes
10561 if test "$host_cpu" = ia64; then
10562 # AIX 5 supports IA64
10563 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10564 shlibpath_var=LD_LIBRARY_PATH
10566 # With GCC up to 2.95.x, collect2 would create an import file
10567 # for dependence libraries. The import file would start with
10568 # the line `#! .'. This would cause the generated library to
10569 # depend on `.', always an invalid library. This was fixed in
10570 # development snapshots of GCC prior to 3.0.
10572 aix4 | aix4.[01] | aix4.[01].*)
10573 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10575 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10578 can_build_shared=no
10582 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10583 # soname into executable. Probably we can add versioning support to
10584 # collect2, so additional links can be useful in future.
10585 if test "$aix_use_runtimelinking" = yes; then
10586 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10587 # instead of lib<name>.a to let people know that these are not
10588 # typical AIX shared libraries.
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 # We preserve .a as extension for shared libraries through AIX4.2
10592 # and later when we are not doing run time linking.
10593 library_names_spec='${libname}${release}.a $libname.a'
10594 soname_spec='${libname}${release}${shared_ext}$major'
10596 shlibpath_var=LIBPATH
10603 # Since July 2007 AmigaOS4 officially supports .so libraries.
10604 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 library_names_spec='$libname.ixlibrary $libname.a'
10609 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10610 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'
10616 library_names_spec='${libname}${shared_ext}'
10617 dynamic_linker="$host_os ld.so"
10618 shlibpath_var=LIBRARY_PATH
10622 version_type=linux # correct to gnu/linux during the next big refactor
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10627 shlibpath_var=LD_LIBRARY_PATH
10628 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10629 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10630 # the default ld.so.conf also contains /usr/contrib/lib and
10631 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10632 # libtool to hard-code these into programs
10635 cygwin* | mingw* | pw32* | cegcc*)
10636 version_type=windows
10641 case $GCC,$cc_basename in
10644 library_names_spec='$libname.dll.a'
10645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10646 postinstall_cmds='base_file=`basename \${file}`~
10647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10648 dldir=$destdir/`dirname \$dlpath`~
10649 test -d \$dldir || mkdir -p \$dldir~
10650 $install_prog $dir/$dlname \$dldir/$dlname~
10651 chmod a+x \$dldir/$dlname~
10652 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10653 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10656 dlpath=$dir/\$dldll~
10658 shlibpath_overrides_runpath=yes
10662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10663 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10668 # MinGW DLLs use traditional 'lib' prefix
10669 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10672 # pw32 DLLs use 'pw' prefix rather than 'lib'
10673 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 dynamic_linker='Win32 ld.exe'
10681 libname_spec='$name'
10682 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 library_names_spec='${libname}.dll.lib'
10687 sys_lib_search_path_spec=
10690 for lt_path in $LIB
10693 # Let DOS variable expansion print the short 8.3 style file name.
10694 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10695 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10698 # Convert to MSYS style.
10699 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10702 # Convert to unix form, then to dos form, then back to unix form
10703 # but this time dos style (no spaces!) so that the unix form looks
10704 # like /cygdrive/c/PROGRA~1:/cygdr...
10705 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10706 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10707 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10710 sys_lib_search_path_spec="$LIB"
10711 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10712 # It is most probably a Windows format PATH.
10713 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10715 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10717 # FIXME: find the short name or the path components, as spaces are
10718 # common. (e.g. "Program Files" -> "PROGRA~1")
10722 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10723 postinstall_cmds='base_file=`basename \${file}`~
10724 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10725 dldir=$destdir/`dirname \$dlpath`~
10726 test -d \$dldir || mkdir -p \$dldir~
10727 $install_prog $dir/$dlname \$dldir/$dlname'
10728 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10729 dlpath=$dir/\$dldll~
10731 shlibpath_overrides_runpath=yes
10732 dynamic_linker='Win32 link.exe'
10736 # Assume MSVC wrapper
10737 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10738 dynamic_linker='Win32 ld.exe'
10741 # FIXME: first we should search . and the directory the executable is in
10745 darwin* | rhapsody*)
10746 dynamic_linker="$host_os dyld"
10747 version_type=darwin
10750 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10751 soname_spec='${libname}${release}${major}$shared_ext'
10752 shlibpath_overrides_runpath=yes
10753 shlibpath_var=DYLD_LIBRARY_PATH
10754 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10756 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10757 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10761 version_type=linux # correct to gnu/linux during the next big refactor
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10765 soname_spec='${libname}${release}${shared_ext}$major'
10766 shlibpath_var=LD_LIBRARY_PATH
10769 freebsd* | dragonfly*)
10770 # DragonFly does not have aout. When/if they implement a new
10771 # versioning mechanism, adjust this.
10772 if test -x /usr/bin/objformat; then
10773 objformat=`/usr/bin/objformat`
10776 freebsd[23].*) objformat=aout ;;
10777 *) objformat=elf ;;
10780 version_type=freebsd-$objformat
10781 case $version_type in
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10792 shlibpath_var=LD_LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10797 freebsd3.[01]* | freebsdelf3.[01]*)
10798 shlibpath_overrides_runpath=yes
10799 hardcode_into_libs=yes
10801 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10802 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10803 shlibpath_overrides_runpath=no
10804 hardcode_into_libs=yes
10806 *) # from 4.6 on, and DragonFly
10807 shlibpath_overrides_runpath=yes
10808 hardcode_into_libs=yes
10814 version_type=linux # correct to gnu/linux during the next big refactor
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 shlibpath_var=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath=no
10821 hardcode_into_libs=yes
10825 version_type=linux # correct to gnu/linux during the next big refactor
10828 dynamic_linker="$host_os runtime_loader"
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LIBRARY_PATH
10832 shlibpath_overrides_runpath=yes
10833 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10834 hardcode_into_libs=yes
10837 hpux9* | hpux10* | hpux11*)
10838 # Give a soname corresponding to the major version so that dld.sl refuses to
10839 # link against other versions.
10846 hardcode_into_libs=yes
10847 dynamic_linker="$host_os dld.so"
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 if test "X$HPUX_IA64_MODE" = X32; then
10853 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10855 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10857 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10861 hardcode_into_libs=yes
10862 dynamic_linker="$host_os dld.sl"
10863 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10864 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10866 soname_spec='${libname}${release}${shared_ext}$major'
10867 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10872 dynamic_linker="$host_os dld.sl"
10873 shlibpath_var=SHLIB_PATH
10874 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 soname_spec='${libname}${release}${shared_ext}$major'
10879 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10880 postinstall_cmds='chmod 555 $lib'
10881 # or fails outright, so override atomically:
10882 install_override_mode=555
10886 version_type=linux # correct to gnu/linux during the next big refactor
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10892 shlibpath_var=LD_LIBRARY_PATH
10893 shlibpath_overrides_runpath=no
10894 hardcode_into_libs=yes
10897 irix5* | irix6* | nonstopux*)
10899 nonstopux*) version_type=nonstopux ;;
10901 if test "$lt_cv_prog_gnu_ld" = yes; then
10902 version_type=linux # correct to gnu/linux during the next big refactor
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10912 irix5* | nonstopux*)
10913 libsuff= shlibsuff=
10916 case $LD in # libtool.m4 will add one of these switches to LD
10917 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10918 libsuff= shlibsuff= libmagic=32-bit;;
10919 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10920 libsuff=32 shlibsuff=N32 libmagic=N32;;
10921 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10922 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10923 *) libsuff= shlibsuff= libmagic=never-match;;
10927 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10928 shlibpath_overrides_runpath=no
10929 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10930 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10931 hardcode_into_libs=yes
10934 # No shared lib support for Linux oldld, aout, or coff.
10935 linux*oldld* | linux*aout* | linux*coff*)
10939 # This must be glibc/ELF.
10940 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10941 version_type=linux # correct to gnu/linux during the next big refactor
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10947 shlibpath_var=LD_LIBRARY_PATH
10948 shlibpath_overrides_runpath=no
10950 # Some binutils ld are patched to set DT_RUNPATH
10951 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10952 $as_echo_n "(cached) " >&6
10954 lt_cv_shlibpath_overrides_runpath=no
10955 save_LDFLAGS=$LDFLAGS
10956 save_libdir=$libdir
10957 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10958 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10970 if ac_fn_c_try_link "$LINENO"; then :
10971 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10972 lt_cv_shlibpath_overrides_runpath=yes
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LDFLAGS=$save_LDFLAGS
10978 libdir=$save_libdir
10982 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10984 # This implies no fast_install, which is unacceptable.
10985 # Some rework will be needed to allow for fast_install
10986 # before this can be enabled.
10987 hardcode_into_libs=yes
10989 # Append ld.so.conf contents to the search path
10990 if test -f /etc/ld.so.conf; then
10991 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' ' '`
10992 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10995 # We used to test for /lib/ld.so.1 and disable shared libraries on
10996 # powerpc, because MkLinux only supported shared libraries with the
10997 # GNU dynamic linker. Since this was broken with cross compilers,
10998 # most powerpc-linux boxes support dynamic linking these days and
10999 # people can always --disable-shared, the test was removed, and we
11000 # assume the GNU/Linux dynamic linker is in use.
11001 dynamic_linker='GNU/Linux ld.so'
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=no
11012 hardcode_into_libs=yes
11013 dynamic_linker='NetBSD ld.elf_so'
11020 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11022 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11023 dynamic_linker='NetBSD (a.out) ld.so'
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 dynamic_linker='NetBSD ld.elf_so'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath=yes
11031 hardcode_into_libs=yes
11035 version_type=linux # correct to gnu/linux during the next big refactor
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath=yes
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 shlibpath_var=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath=no
11049 hardcode_into_libs=yes
11050 dynamic_linker='ldqnx.so'
11055 sys_lib_dlsearch_path_spec="/usr/lib"
11057 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11059 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11060 *) need_version=no ;;
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11067 openbsd2.[89] | openbsd2.[89].*)
11068 shlibpath_overrides_runpath=no
11071 shlibpath_overrides_runpath=yes
11075 shlibpath_overrides_runpath=yes
11080 libname_spec='$name'
11083 library_names_spec='$libname${shared_ext} $libname.a'
11084 dynamic_linker='OS/2 ld.exe'
11085 shlibpath_var=LIBPATH
11088 osf3* | osf4* | osf5*)
11092 soname_spec='${libname}${release}${shared_ext}$major'
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 shlibpath_var=LD_LIBRARY_PATH
11095 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11096 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11104 version_type=linux # correct to gnu/linux during the next big refactor
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 # ldd complains unless libraries are executable
11113 postinstall_cmds='chmod +x $lib'
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11119 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 if test "$with_gnu_ld" = yes; then
11129 version_type=linux # correct to gnu/linux during the next big refactor
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 soname_spec='${libname}${release}${shared_ext}$major'
11132 shlibpath_var=LD_LIBRARY_PATH
11133 case $host_vendor in
11135 shlibpath_overrides_runpath=no
11137 runpath_var=LD_RUN_PATH
11145 shlibpath_overrides_runpath=no
11146 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11152 if test -d /usr/nec ;then
11153 version_type=linux # correct to gnu/linux during the next big refactor
11154 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11155 soname_spec='$libname${shared_ext}.$major'
11156 shlibpath_var=LD_LIBRARY_PATH
11160 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11161 version_type=freebsd-elf
11164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11165 soname_spec='${libname}${release}${shared_ext}$major'
11166 shlibpath_var=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath=yes
11168 hardcode_into_libs=yes
11169 if test "$with_gnu_ld" = yes; then
11170 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11172 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11175 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11179 sys_lib_dlsearch_path_spec='/usr/lib'
11183 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11184 version_type=linux # correct to gnu/linux during the next big refactor
11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 shlibpath_var=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath=no
11190 hardcode_into_libs=yes
11194 version_type=linux # correct to gnu/linux during the next big refactor
11195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 soname_spec='${libname}${release}${shared_ext}$major'
11197 shlibpath_var=LD_LIBRARY_PATH
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11205 $as_echo "$dynamic_linker" >&6; }
11206 test "$dynamic_linker" = no && can_build_shared=no
11208 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11209 if test "$GCC" = yes; then
11210 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11213 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11214 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11216 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11217 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11312 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11314 if test -n "$hardcode_libdir_flag_spec" ||
11315 test -n "$runpath_var" ||
11316 test "X$hardcode_automatic" = "Xyes" ; then
11318 # We can hardcode non-existent directories.
11319 if test "$hardcode_direct" != no &&
11320 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11321 # have to relink, otherwise we might link with an installed library
11322 # when we should be linking with a yet-to-be-installed one
11323 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11324 test "$hardcode_minus_L" != no; then
11325 # Linking always hardcodes the temporary library directory.
11326 hardcode_action=relink
11328 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11329 hardcode_action=immediate
11332 # We cannot hardcode anything, or else we can only hardcode existing
11334 hardcode_action=unsupported
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11337 $as_echo "$hardcode_action" >&6; }
11339 if test "$hardcode_action" = relink ||
11340 test "$inherit_rpath" = yes; then
11341 # Fast installation is not supported
11342 enable_fast_install=no
11343 elif test "$shlibpath_overrides_runpath" = yes ||
11344 test "$enable_shared" = no; then
11345 # Fast installation is not necessary
11346 enable_fast_install=needless
11354 if test "x$enable_dlopen" != xyes; then
11355 enable_dlopen=unknown
11356 enable_dlopen_self=unknown
11357 enable_dlopen_self_static=unknown
11364 lt_cv_dlopen="load_add_on"
11366 lt_cv_dlopen_self=yes
11369 mingw* | pw32* | cegcc*)
11370 lt_cv_dlopen="LoadLibrary"
11375 lt_cv_dlopen="dlopen"
11380 # if libdl is installed we need to link against it
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11382 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11383 if ${ac_cv_lib_dl_dlopen+:} false; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_lib_save_LIBS=$LIBS
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dl_dlopen=yes
11409 ac_cv_lib_dl_dlopen=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11416 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11417 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11418 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11421 lt_cv_dlopen="dyld"
11423 lt_cv_dlopen_self=yes
11430 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11431 if test "x$ac_cv_func_shl_load" = xyes; then :
11432 lt_cv_dlopen="shl_load"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11435 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11436 if ${ac_cv_lib_dld_shl_load+:} false; then :
11437 $as_echo_n "(cached) " >&6
11439 ac_check_lib_save_LIBS=$LIBS
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11454 return shl_load ();
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 ac_cv_lib_dld_shl_load=yes
11462 ac_cv_lib_dld_shl_load=no
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_lib_save_LIBS
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11469 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11470 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11471 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11473 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11474 if test "x$ac_cv_func_dlopen" = xyes; then :
11475 lt_cv_dlopen="dlopen"
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11478 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11479 if ${ac_cv_lib_dl_dlopen+:} false; then :
11480 $as_echo_n "(cached) " >&6
11482 ac_check_lib_save_LIBS=$LIBS
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_dl_dlopen=yes
11505 ac_cv_lib_dl_dlopen=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11514 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11517 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11518 if ${ac_cv_lib_svld_dlopen+:} false; then :
11519 $as_echo_n "(cached) " >&6
11521 ac_check_lib_save_LIBS=$LIBS
11522 LIBS="-lsvld $LIBS"
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11541 if ac_fn_c_try_link "$LINENO"; then :
11542 ac_cv_lib_svld_dlopen=yes
11544 ac_cv_lib_svld_dlopen=no
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_lib_save_LIBS
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11551 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11552 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11553 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11556 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11557 if ${ac_cv_lib_dld_dld_link+:} false; then :
11558 $as_echo_n "(cached) " >&6
11560 ac_check_lib_save_LIBS=$LIBS
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11565 /* Override any GCC internal prototype to avoid an error.
11566 Use char because int might match the return type of a GCC
11567 builtin and then its argument prototype would still apply. */
11575 return dld_link ();
11580 if ac_fn_c_try_link "$LINENO"; then :
11581 ac_cv_lib_dld_dld_link=yes
11583 ac_cv_lib_dld_dld_link=no
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_lib_save_LIBS
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11590 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11591 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11592 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11613 if test "x$lt_cv_dlopen" != xno; then
11619 case $lt_cv_dlopen in
11621 save_CPPFLAGS="$CPPFLAGS"
11622 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11624 save_LDFLAGS="$LDFLAGS"
11625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11628 LIBS="$lt_cv_dlopen_libs $LIBS"
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11631 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11632 if ${lt_cv_dlopen_self+:} false; then :
11633 $as_echo_n "(cached) " >&6
11635 if test "$cross_compiling" = yes; then :
11636 lt_cv_dlopen_self=cross
11638 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11639 lt_status=$lt_dlunknown
11640 cat > conftest.$ac_ext <<_LT_EOF
11641 #line $LINENO "configure"
11642 #include "confdefs.h"
11651 # define LT_DLGLOBAL RTLD_GLOBAL
11654 # define LT_DLGLOBAL DL_GLOBAL
11656 # define LT_DLGLOBAL 0
11660 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11661 find out it does not work in some platform. */
11662 #ifndef LT_DLLAZY_OR_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11667 # define LT_DLLAZY_OR_NOW DL_LAZY
11670 # define LT_DLLAZY_OR_NOW RTLD_NOW
11673 # define LT_DLLAZY_OR_NOW DL_NOW
11675 # define LT_DLLAZY_OR_NOW 0
11682 /* When -fvisbility=hidden is used, assume the code has been annotated
11683 correspondingly for the symbols needed. */
11684 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11685 int fnord () __attribute__((visibility("default")));
11688 int fnord () { return 42; }
11691 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11692 int status = $lt_dlunknown;
11696 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11699 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11700 else puts (dlerror ());
11702 /* dlclose (self); */
11710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11711 (eval $ac_link) 2>&5
11713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11714 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11715 (./conftest; exit; ) >&5 2>/dev/null
11717 case x$lt_status in
11718 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11719 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11720 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11723 # compilation failed
11724 lt_cv_dlopen_self=no
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11732 $as_echo "$lt_cv_dlopen_self" >&6; }
11734 if test "x$lt_cv_dlopen_self" = xyes; then
11735 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11737 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11738 if ${lt_cv_dlopen_self_static+:} false; then :
11739 $as_echo_n "(cached) " >&6
11741 if test "$cross_compiling" = yes; then :
11742 lt_cv_dlopen_self_static=cross
11744 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11745 lt_status=$lt_dlunknown
11746 cat > conftest.$ac_ext <<_LT_EOF
11747 #line $LINENO "configure"
11748 #include "confdefs.h"
11757 # define LT_DLGLOBAL RTLD_GLOBAL
11760 # define LT_DLGLOBAL DL_GLOBAL
11762 # define LT_DLGLOBAL 0
11766 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11767 find out it does not work in some platform. */
11768 #ifndef LT_DLLAZY_OR_NOW
11770 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11773 # define LT_DLLAZY_OR_NOW DL_LAZY
11776 # define LT_DLLAZY_OR_NOW RTLD_NOW
11779 # define LT_DLLAZY_OR_NOW DL_NOW
11781 # define LT_DLLAZY_OR_NOW 0
11788 /* When -fvisbility=hidden is used, assume the code has been annotated
11789 correspondingly for the symbols needed. */
11790 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11791 int fnord () __attribute__((visibility("default")));
11794 int fnord () { return 42; }
11797 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11798 int status = $lt_dlunknown;
11802 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11805 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11806 else puts (dlerror ());
11808 /* dlclose (self); */
11816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11817 (eval $ac_link) 2>&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11820 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11821 (./conftest; exit; ) >&5 2>/dev/null
11823 case x$lt_status in
11824 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11825 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11826 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11829 # compilation failed
11830 lt_cv_dlopen_self_static=no
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11838 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11841 CPPFLAGS="$save_CPPFLAGS"
11842 LDFLAGS="$save_LDFLAGS"
11847 case $lt_cv_dlopen_self in
11848 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11849 *) enable_dlopen_self=unknown ;;
11852 case $lt_cv_dlopen_self_static in
11853 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11854 *) enable_dlopen_self_static=unknown ;;
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11877 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11878 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11879 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11880 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11882 $as_echo "yes" >&6; }
11884 # FIXME - insert some real tests, host_os isn't really good enough
11887 if test -n "$STRIP" ; then
11888 striplib="$STRIP -x"
11889 old_striplib="$STRIP -S"
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11891 $as_echo "yes" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11894 $as_echo "no" >&6; }
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11899 $as_echo "no" >&6; }
11915 # Report which library types will actually be built
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11917 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11919 $as_echo "$can_build_shared" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11922 $as_echo_n "checking whether to build shared libraries... " >&6; }
11923 test "$can_build_shared" = "no" && enable_shared=no
11925 # On AIX, shared libraries and static libraries use the same namespace, and
11926 # are all built from PIC.
11929 test "$enable_shared" = yes && enable_static=no
11930 if test -n "$RANLIB"; then
11931 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11932 postinstall_cmds='$RANLIB $lib'
11937 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11938 test "$enable_shared" = yes && enable_static=no
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11943 $as_echo "$enable_shared" >&6; }
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11946 $as_echo_n "checking whether to build static libraries... " >&6; }
11947 # Make sure either enable_shared or enable_static is yes.
11948 test "$enable_shared" = yes || enable_static=yes
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11950 $as_echo "$enable_static" >&6; }
11957 ac_cpp='$CPP $CPPFLAGS'
11958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11978 ac_config_commands="$ac_config_commands libtool"
11983 # Only expand once:
11995 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11996 if test -n "$ac_tool_prefix"; then
11997 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12000 $as_echo_n "checking for $ac_word... " >&6; }
12001 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12002 $as_echo_n "(cached) " >&6
12004 case $PKG_CONFIG in
12006 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12010 for as_dir in $PATH
12013 test -z "$as_dir" && as_dir=.
12014 for ac_exec_ext in '' $ac_executable_extensions; do
12015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12016 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12027 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12028 if test -n "$PKG_CONFIG"; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12030 $as_echo "$PKG_CONFIG" >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12033 $as_echo "no" >&6; }
12038 if test -z "$ac_cv_path_PKG_CONFIG"; then
12039 ac_pt_PKG_CONFIG=$PKG_CONFIG
12040 # Extract the first word of "pkg-config", so it can be a program name with args.
12041 set dummy pkg-config; ac_word=$2
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12043 $as_echo_n "checking for $ac_word... " >&6; }
12044 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12045 $as_echo_n "(cached) " >&6
12047 case $ac_pt_PKG_CONFIG in
12049 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12053 for as_dir in $PATH
12056 test -z "$as_dir" && as_dir=.
12057 for ac_exec_ext in '' $ac_executable_extensions; do
12058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12059 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12071 if test -n "$ac_pt_PKG_CONFIG"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12073 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12079 if test "x$ac_pt_PKG_CONFIG" = x; then
12082 case $cross_compiling:$ac_tool_warned in
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12086 ac_tool_warned=yes ;;
12088 PKG_CONFIG=$ac_pt_PKG_CONFIG
12091 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12095 if test -n "$PKG_CONFIG"; then
12096 _pkg_min_version=0.9.0
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12098 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12101 $as_echo "yes" >&6; }
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104 $as_echo "no" >&6; }
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTest" >&5
12111 $as_echo_n "checking for GTest... " >&6; }
12113 if test -n "$GTest_CFLAGS"; then
12114 pkg_cv_GTest_CFLAGS="$GTest_CFLAGS"
12115 elif test -n "$PKG_CONFIG"; then
12116 if test -n "$PKG_CONFIG" && \
12117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
12118 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12121 test $ac_status = 0; }; then
12122 pkg_cv_GTest_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
12123 test "x$?" != "x0" && pkg_failed=yes
12130 if test -n "$GTest_LIBS"; then
12131 pkg_cv_GTest_LIBS="$GTest_LIBS"
12132 elif test -n "$PKG_CONFIG"; then
12133 if test -n "$PKG_CONFIG" && \
12134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
12135 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138 test $ac_status = 0; }; then
12139 pkg_cv_GTest_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
12140 test "x$?" != "x0" && pkg_failed=yes
12150 if test $pkg_failed = yes; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12155 _pkg_short_errors_supported=yes
12157 _pkg_short_errors_supported=no
12159 if test $_pkg_short_errors_supported = yes; then
12160 GTest_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
12162 GTest_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
12164 # Put the nasty error message in config.log where it belongs
12165 echo "$GTest_PKG_ERRORS" >&5
12168 elif test $pkg_failed = untried; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12173 GTest_CFLAGS=$pkg_cv_GTest_CFLAGS
12174 GTest_LIBS=$pkg_cv_GTest_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12176 $as_echo "yes" >&6; }
12179 if test x$gtest = xyes; then
12181 HAVE_GTEST_FALSE='#'
12183 HAVE_GTEST_TRUE='#'
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
12189 $as_echo_n "checking operating system... " >&6; }
12191 case "$target_os" in
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Win32" >&5
12195 $as_echo "Win32" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
12200 $as_echo "Darwin" >&6; }
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
12205 $as_echo "$target_os" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
12213 $as_echo_n "checking for LIBGUPNP... " >&6; }
12215 if test -n "$LIBGUPNP_CFLAGS"; then
12216 pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
12217 elif test -n "$PKG_CONFIG"; then
12218 if test -n "$PKG_CONFIG" && \
12219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 \\
12222 gssdp-1.0 >= 0.13.0 \\
12223 libsoup-2.4 >= 2.28.2 \\
12226 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 \
12229 gssdp-1.0 >= 0.13.0 \
12230 libsoup-2.4 >= 2.28.2 \
12234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12235 test $ac_status = 0; }; then
12236 pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0 \
12239 gssdp-1.0 >= 0.13.0 \
12240 libsoup-2.4 >= 2.28.2 \
12242 $UUID" 2>/dev/null`
12243 test "x$?" != "x0" && pkg_failed=yes
12250 if test -n "$LIBGUPNP_LIBS"; then
12251 pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
12252 elif test -n "$PKG_CONFIG"; then
12253 if test -n "$PKG_CONFIG" && \
12254 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 \\
12257 gssdp-1.0 >= 0.13.0 \\
12258 libsoup-2.4 >= 2.28.2 \\
12261 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 \
12264 gssdp-1.0 >= 0.13.0 \
12265 libsoup-2.4 >= 2.28.2 \
12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12270 test $ac_status = 0; }; then
12271 pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0 \
12274 gssdp-1.0 >= 0.13.0 \
12275 libsoup-2.4 >= 2.28.2 \
12277 $UUID" 2>/dev/null`
12278 test "x$?" != "x0" && pkg_failed=yes
12288 if test $pkg_failed = yes; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290 $as_echo "no" >&6; }
12292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12293 _pkg_short_errors_supported=yes
12295 _pkg_short_errors_supported=no
12297 if test $_pkg_short_errors_supported = yes; then
12298 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24.0 \
12301 gssdp-1.0 >= 0.13.0 \
12302 libsoup-2.4 >= 2.28.2 \
12306 LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24.0 \
12309 gssdp-1.0 >= 0.13.0 \
12310 libsoup-2.4 >= 2.28.2 \
12314 # Put the nasty error message in config.log where it belongs
12315 echo "$LIBGUPNP_PKG_ERRORS" >&5
12317 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 \
12320 gssdp-1.0 >= 0.13.0 \
12321 libsoup-2.4 >= 2.28.2 \
12323 $UUID) were not met:
12325 $LIBGUPNP_PKG_ERRORS
12327 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12328 installed software in a non-standard prefix.
12330 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12331 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12332 See the pkg-config man page for more details." "$LINENO" 5
12333 elif test $pkg_failed = untried; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12338 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12339 is in your PATH or set the PKG_CONFIG environment variable to the full
12340 path to pkg-config.
12342 Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12343 and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12344 See the pkg-config man page for more details.
12346 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12347 See \`config.log' for more details" "$LINENO" 5; }
12349 LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
12350 LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12352 $as_echo "yes" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
12358 $as_echo_n "checking for GTHREAD... " >&6; }
12360 if test -n "$GTHREAD_CFLAGS"; then
12361 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
12362 elif test -n "$PKG_CONFIG"; then
12363 if test -n "$PKG_CONFIG" && \
12364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12365 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12368 test $ac_status = 0; }; then
12369 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
12370 test "x$?" != "x0" && pkg_failed=yes
12377 if test -n "$GTHREAD_LIBS"; then
12378 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
12379 elif test -n "$PKG_CONFIG"; then
12380 if test -n "$PKG_CONFIG" && \
12381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12382 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12385 test $ac_status = 0; }; then
12386 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
12387 test "x$?" != "x0" && pkg_failed=yes
12397 if test $pkg_failed = yes; then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12402 _pkg_short_errors_supported=yes
12404 _pkg_short_errors_supported=no
12406 if test $_pkg_short_errors_supported = yes; then
12407 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
12409 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
12411 # Put the nasty error message in config.log where it belongs
12412 echo "$GTHREAD_PKG_ERRORS" >&5
12414 as_fn_error $? "Package requirements (gthread-2.0) were not met:
12416 $GTHREAD_PKG_ERRORS
12418 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12419 installed software in a non-standard prefix.
12421 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12422 and GTHREAD_LIBS to avoid the need to call pkg-config.
12423 See the pkg-config man page for more details." "$LINENO" 5
12424 elif test $pkg_failed = untried; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12426 $as_echo "no" >&6; }
12427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12429 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12430 is in your PATH or set the PKG_CONFIG environment variable to the full
12431 path to pkg-config.
12433 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12434 and GTHREAD_LIBS to avoid the need to call pkg-config.
12435 See the pkg-config man page for more details.
12437 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12438 See \`config.log' for more details" "$LINENO" 5; }
12440 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
12441 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12443 $as_echo "yes" >&6; }
12447 if test "x$os_win32" = "xyes"; then
12455 if test "x$os_win32" = "xno"; then
12457 # Check whether --with-context_manager was given.
12458 if test "${with_context_manager+set}" = set; then :
12459 withval=$with_context_manager;
12461 with_context_manager="none"
12465 LIBGUPNP_LIBS="$LIBGUPNP_LIBS -lrpcrt4"
12466 with_context_manager="windows"
12469 if test "x$with_context_manager" = "xnone"; then
12470 case "$target_os" in
12472 with_context_manager="linux"
12475 with_context_manager="unix"
12480 for ac_header in sys/socket.h linux/rtnetlink.h
12482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12483 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " #ifdef HAVE_SYS_SOCKET_H
12484 #include <sys/socket.h>
12488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12489 cat >>confdefs.h <<_ACEOF
12490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12499 if test "x$HAVE_NETLINK" = "xyes"; then
12501 HAVE_NETLINK_FALSE='#'
12503 HAVE_NETLINK_TRUE='#'
12504 HAVE_NETLINK_FALSE=
12509 for ac_header in linux/wireless.h
12511 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" " #ifdef HAVE_SYS_SOCKET_H
12512 #include <sys/socket.h>
12516 if test "x$ac_cv_header_linux_wireless_h" = xyes; then :
12517 cat >>confdefs.h <<_ACEOF
12518 #define HAVE_LINUX_WIRELESS_H 1
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Context Manager backend to use" >&5
12527 $as_echo_n "checking Context Manager backend to use... " >&6; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_context_manager}" >&5
12529 $as_echo "${with_context_manager}" >&6; }
12531 if test "x$with_context_manager" = "xnetwork-manager"; then
12532 USE_NETWORK_MANAGER_TRUE=
12533 USE_NETWORK_MANAGER_FALSE='#'
12535 USE_NETWORK_MANAGER_TRUE='#'
12536 USE_NETWORK_MANAGER_FALSE=
12539 if test "x$with_context_manager" = "xnetwork-manager"; then :
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12543 $as_echo_n "checking for GIO... " >&6; }
12545 if test -n "$GIO_CFLAGS"; then
12546 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12547 elif test -n "$PKG_CONFIG"; then
12548 if test -n "$PKG_CONFIG" && \
12549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12550 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12553 test $ac_status = 0; }; then
12554 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
12555 test "x$?" != "x0" && pkg_failed=yes
12562 if test -n "$GIO_LIBS"; then
12563 pkg_cv_GIO_LIBS="$GIO_LIBS"
12564 elif test -n "$PKG_CONFIG"; then
12565 if test -n "$PKG_CONFIG" && \
12566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12567 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12570 test $ac_status = 0; }; then
12571 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
12572 test "x$?" != "x0" && pkg_failed=yes
12582 if test $pkg_failed = yes; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12584 $as_echo "no" >&6; }
12586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12587 _pkg_short_errors_supported=yes
12589 _pkg_short_errors_supported=no
12591 if test $_pkg_short_errors_supported = yes; then
12592 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12594 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12596 # Put the nasty error message in config.log where it belongs
12597 echo "$GIO_PKG_ERRORS" >&5
12599 as_fn_error $? "Package requirements (gio-2.0 >= 2.26) were not met:
12603 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12604 installed software in a non-standard prefix.
12606 Alternatively, you may set the environment variables GIO_CFLAGS
12607 and GIO_LIBS to avoid the need to call pkg-config.
12608 See the pkg-config man page for more details." "$LINENO" 5
12609 elif test $pkg_failed = untried; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611 $as_echo "no" >&6; }
12612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12614 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12615 is in your PATH or set the PKG_CONFIG environment variable to the full
12616 path to pkg-config.
12618 Alternatively, you may set the environment variables GIO_CFLAGS
12619 and GIO_LIBS to avoid the need to call pkg-config.
12620 See the pkg-config man page for more details.
12622 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12623 See \`config.log' for more details" "$LINENO" 5; }
12625 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12626 GIO_LIBS=$pkg_cv_GIO_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12628 $as_echo "yes" >&6; }
12633 if test "x$with_context_manager" = "xconnman"; then
12635 USE_CONNMAN_FALSE='#'
12637 USE_CONNMAN_TRUE='#'
12642 if test "x$with_context_manager" = "xconnman"; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CONNMAN" >&5
12646 $as_echo_n "checking for CONNMAN... " >&6; }
12648 if test -n "$CONNMAN_CFLAGS"; then
12649 pkg_cv_CONNMAN_CFLAGS="$CONNMAN_CFLAGS"
12650 elif test -n "$PKG_CONFIG"; then
12651 if test -n "$PKG_CONFIG" && \
12652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 connman >= 0.80\""; } >&5
12653 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 connman >= 0.80") 2>&5
12655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12656 test $ac_status = 0; }; then
12657 pkg_cv_CONNMAN_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28 connman >= 0.80" 2>/dev/null`
12658 test "x$?" != "x0" && pkg_failed=yes
12665 if test -n "$CONNMAN_LIBS"; then
12666 pkg_cv_CONNMAN_LIBS="$CONNMAN_LIBS"
12667 elif test -n "$PKG_CONFIG"; then
12668 if test -n "$PKG_CONFIG" && \
12669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 connman >= 0.80\""; } >&5
12670 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 connman >= 0.80") 2>&5
12672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12673 test $ac_status = 0; }; then
12674 pkg_cv_CONNMAN_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>/dev/null`
12675 test "x$?" != "x0" && pkg_failed=yes
12685 if test $pkg_failed = yes; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12687 $as_echo "no" >&6; }
12689 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12690 _pkg_short_errors_supported=yes
12692 _pkg_short_errors_supported=no
12694 if test $_pkg_short_errors_supported = yes; then
12695 CONNMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>&1`
12697 CONNMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28 connman >= 0.80" 2>&1`
12699 # Put the nasty error message in config.log where it belongs
12700 echo "$CONNMAN_PKG_ERRORS" >&5
12702 as_fn_error $? "Package requirements (glib-2.0 >= 2.28 connman >= 0.80) were not met:
12704 $CONNMAN_PKG_ERRORS
12706 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12707 installed software in a non-standard prefix.
12709 Alternatively, you may set the environment variables CONNMAN_CFLAGS
12710 and CONNMAN_LIBS to avoid the need to call pkg-config.
12711 See the pkg-config man page for more details." "$LINENO" 5
12712 elif test $pkg_failed = untried; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12714 $as_echo "no" >&6; }
12715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12717 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12718 is in your PATH or set the PKG_CONFIG environment variable to the full
12719 path to pkg-config.
12721 Alternatively, you may set the environment variables CONNMAN_CFLAGS
12722 and CONNMAN_LIBS to avoid the need to call pkg-config.
12723 See the pkg-config man page for more details.
12725 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12726 See \`config.log' for more details" "$LINENO" 5; }
12728 CONNMAN_CFLAGS=$pkg_cv_CONNMAN_CFLAGS
12729 CONNMAN_LIBS=$pkg_cv_CONNMAN_LIBS
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12731 $as_echo "yes" >&6; }
12737 if test "x$with_context_manager" = "xlinux"; then :
12738 if test "x$HAVE_NETLINK" = "xno"; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: No rtnetlink found, falling back to static context manager" >&5
12740 $as_echo "$as_me: No rtnetlink found, falling back to static context manager" >&6;}
12747 if test "x$USE_NETLINK" = "xyes"; then
12749 USE_NETLINK_FALSE='#'
12751 USE_NETLINK_TRUE='#'
12758 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12762 # Check whether --enable-debug was given.
12763 if test "${enable_debug+set}" = set; then :
12764 enableval=$enable_debug;
12769 if test "x$enable_debug" = "xyes"; then
12770 CFLAGS="$CFLAGS -g -Wall -Werror"
12776 # Check whether --enable-introspection was given.
12777 if test "${enable_introspection+set}" = set; then :
12778 enableval=$enable_introspection;
12780 enable_introspection=auto
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12785 $as_echo_n "checking for gobject-introspection... " >&6; }
12787 case $enable_introspection in #(
12789 found_introspection="no (disabled, use --enable-introspection to enable)"
12792 if test -n "$PKG_CONFIG" && \
12793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12794 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797 test $ac_status = 0; }; then
12800 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12802 if test -n "$PKG_CONFIG" && \
12803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12804 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12807 test $ac_status = 0; }; then
12808 found_introspection=yes
12810 as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp" "$LINENO" 5
12814 if test -n "$PKG_CONFIG" && \
12815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12816 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819 test $ac_status = 0; }; then
12820 found_introspection=yes
12822 found_introspection=no
12826 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12830 $as_echo "$found_introspection" >&6; }
12832 INTROSPECTION_SCANNER=
12833 INTROSPECTION_COMPILER=
12834 INTROSPECTION_GENERATE=
12835 INTROSPECTION_GIRDIR=
12836 INTROSPECTION_TYPELIBDIR=
12837 if test "x$found_introspection" = "xyes"; then
12838 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12839 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12840 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12841 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12842 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12843 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12844 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12845 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12856 if test "x$found_introspection" = "xyes"; then
12857 HAVE_INTROSPECTION_TRUE=
12858 HAVE_INTROSPECTION_FALSE='#'
12860 HAVE_INTROSPECTION_TRUE='#'
12861 HAVE_INTROSPECTION_FALSE=
12869 if test "x$found_introspection" = "xyes"; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12872 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12873 VAPIGEN_MIN_VERSION=0.14
12874 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12877 $as_echo "yes" >&6; }
12878 VAPIGEN_MIN_VERSION=0.20
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12885 # Extract the first word of "vapigen", so it can be a program name with args.
12886 set dummy vapigen; ac_word=$2
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888 $as_echo_n "checking for $ac_word... " >&6; }
12889 if ${ac_cv_path_VAPIGEN+:} false; then :
12890 $as_echo_n "(cached) " >&6
12894 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898 for as_dir in $PATH
12901 test -z "$as_dir" && as_dir=.
12902 for ac_exec_ext in '' $ac_executable_extensions; do
12903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12904 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12915 VAPIGEN=$ac_cv_path_VAPIGEN
12916 if test -n "$VAPIGEN"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12918 $as_echo "$VAPIGEN" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12925 if test -z "$VAPIGEN"; then :
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12927 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12929 if test -n "$VAPIGEN_MIN_VERSION"; then :
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12931 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12932 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12933 as_arg_v1=$VAPIGEN_MIN_VERSION
12934 as_arg_v2="$am__vapigen_version"
12935 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12939 $as_echo "yes" >&6; } ;; #(
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12942 $as_echo "yes" >&6; } ;; #(
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12947 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12959 if test "x$VAPIGEN" != "x"; then :
12962 if test "x$VAPIGEN" != "x"; then
12964 HAVE_VAPIGEN_FALSE='#'
12966 HAVE_VAPIGEN_TRUE='#'
12967 HAVE_VAPIGEN_FALSE=
12975 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12976 set dummy gtkdoc-check; ac_word=$2
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12978 $as_echo_n "checking for $ac_word... " >&6; }
12979 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12980 $as_echo_n "(cached) " >&6
12982 case $GTKDOC_CHECK in
12984 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12988 for as_dir in $PATH
12991 test -z "$as_dir" && as_dir=.
12992 for ac_exec_ext in '' $ac_executable_extensions; do
12993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12994 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13005 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13006 if test -n "$GTKDOC_CHECK"; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13008 $as_echo "$GTKDOC_CHECK" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13015 for ac_prog in gtkdoc-rebase
13017 # Extract the first word of "$ac_prog", so it can be a program name with args.
13018 set dummy $ac_prog; ac_word=$2
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13020 $as_echo_n "checking for $ac_word... " >&6; }
13021 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13022 $as_echo_n "(cached) " >&6
13024 case $GTKDOC_REBASE in
13026 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13033 test -z "$as_dir" && as_dir=.
13034 for ac_exec_ext in '' $ac_executable_extensions; do
13035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13036 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13047 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13048 if test -n "$GTKDOC_REBASE"; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13050 $as_echo "$GTKDOC_REBASE" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13057 test -n "$GTKDOC_REBASE" && break
13059 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13061 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13062 set dummy gtkdoc-mkpdf; ac_word=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13064 $as_echo_n "checking for $ac_word... " >&6; }
13065 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13066 $as_echo_n "(cached) " >&6
13068 case $GTKDOC_MKPDF in
13070 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13074 for as_dir in $PATH
13077 test -z "$as_dir" && as_dir=.
13078 for ac_exec_ext in '' $ac_executable_extensions; do
13079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13080 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13092 if test -n "$GTKDOC_MKPDF"; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13094 $as_echo "$GTKDOC_MKPDF" >&6; }
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13097 $as_echo "no" >&6; }
13103 # Check whether --with-html-dir was given.
13104 if test "${with_html_dir+set}" = set; then :
13105 withval=$with_html_dir;
13107 with_html_dir='${datadir}/gtk-doc/html'
13110 HTML_DIR="$with_html_dir"
13113 # Check whether --enable-gtk-doc was given.
13114 if test "${enable_gtk_doc+set}" = set; then :
13115 enableval=$enable_gtk_doc;
13121 if test x$enable_gtk_doc = xyes; then
13122 if test -n "$PKG_CONFIG" && \
13123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
13124 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
13126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13127 test $ac_status = 0; }; then
13130 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
13132 if test "x$PACKAGE_NAME" != "xglib"; then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13136 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13138 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13139 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13140 elif test -n "$PKG_CONFIG"; then
13141 if test -n "$PKG_CONFIG" && \
13142 { { $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
13143 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13146 test $ac_status = 0; }; then
13147 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13148 test "x$?" != "x0" && pkg_failed=yes
13155 if test -n "$GTKDOC_DEPS_LIBS"; then
13156 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13157 elif test -n "$PKG_CONFIG"; then
13158 if test -n "$PKG_CONFIG" && \
13159 { { $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
13160 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; }; then
13164 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13165 test "x$?" != "x0" && pkg_failed=yes
13175 if test $pkg_failed = yes; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13177 $as_echo "no" >&6; }
13179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13180 _pkg_short_errors_supported=yes
13182 _pkg_short_errors_supported=no
13184 if test $_pkg_short_errors_supported = yes; then
13185 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`
13187 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13189 # Put the nasty error message in config.log where it belongs
13190 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13192 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13194 $GTKDOC_DEPS_PKG_ERRORS
13196 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13197 installed software in a non-standard prefix.
13199 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13200 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13201 See the pkg-config man page for more details." "$LINENO" 5
13202 elif test $pkg_failed = untried; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204 $as_echo "no" >&6; }
13205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13207 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13208 is in your PATH or set the PKG_CONFIG environment variable to the full
13209 path to pkg-config.
13211 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13212 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13213 See the pkg-config man page for more details.
13215 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13216 See \`config.log' for more details" "$LINENO" 5; }
13218 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13219 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13221 $as_echo "yes" >&6; }
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13228 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13230 $as_echo "$enable_gtk_doc" >&6; }
13232 # Check whether --enable-gtk-doc-html was given.
13233 if test "${enable_gtk_doc_html+set}" = set; then :
13234 enableval=$enable_gtk_doc_html;
13236 enable_gtk_doc_html=yes
13239 # Check whether --enable-gtk-doc-pdf was given.
13240 if test "${enable_gtk_doc_pdf+set}" = set; then :
13241 enableval=$enable_gtk_doc_pdf;
13243 enable_gtk_doc_pdf=no
13247 if test -z "$GTKDOC_MKPDF"; then
13248 enable_gtk_doc_pdf=no
13252 if test x$enable_gtk_doc = xyes; then
13253 ENABLE_GTK_DOC_TRUE=
13254 ENABLE_GTK_DOC_FALSE='#'
13256 ENABLE_GTK_DOC_TRUE='#'
13257 ENABLE_GTK_DOC_FALSE=
13260 if test x$enable_gtk_doc_html = xyes; then
13261 GTK_DOC_BUILD_HTML_TRUE=
13262 GTK_DOC_BUILD_HTML_FALSE='#'
13264 GTK_DOC_BUILD_HTML_TRUE='#'
13265 GTK_DOC_BUILD_HTML_FALSE=
13268 if test x$enable_gtk_doc_pdf = xyes; then
13269 GTK_DOC_BUILD_PDF_TRUE=
13270 GTK_DOC_BUILD_PDF_FALSE='#'
13272 GTK_DOC_BUILD_PDF_TRUE='#'
13273 GTK_DOC_BUILD_PDF_FALSE=
13276 if test -n "$LIBTOOL"; then
13277 GTK_DOC_USE_LIBTOOL_TRUE=
13278 GTK_DOC_USE_LIBTOOL_FALSE='#'
13280 GTK_DOC_USE_LIBTOOL_TRUE='#'
13281 GTK_DOC_USE_LIBTOOL_FALSE=
13284 if test -n "$GTKDOC_REBASE"; then
13285 GTK_DOC_USE_REBASE_TRUE=
13286 GTK_DOC_USE_REBASE_FALSE='#'
13288 GTK_DOC_USE_REBASE_TRUE='#'
13289 GTK_DOC_USE_REBASE_FALSE=
13294 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"
13296 cat >confcache <<\_ACEOF
13297 # This file is a shell script that caches the results of configure
13298 # tests run on this system so they can be shared between configure
13299 # scripts and configure runs, see configure's option --config-cache.
13300 # It is not useful on other systems. If it contains results you don't
13301 # want to keep, you may remove or edit it.
13303 # config.status only pays attention to the cache file if you give it
13304 # the --recheck option to rerun configure.
13306 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13307 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13308 # following values.
13312 # The following way of writing the cache mishandles newlines in values,
13313 # but we know of no workaround that is simple, portable, and efficient.
13314 # So, we kill variables containing newlines.
13315 # Ultrix sh set writes to stderr and can't be redirected directly,
13316 # and sets the high bit in the cache file unless we assign to the vars.
13318 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13319 eval ac_val=\$$ac_var
13323 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13324 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13327 _ | IFS | as_nl) ;; #(
13328 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13329 *) { eval $ac_var=; unset $ac_var;} ;;
13335 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13336 *${as_nl}ac_space=\ *)
13337 # `set' does not quote correctly, so add quotes: double-quote
13338 # substitution turns \\\\ into \\, and sed turns \\ into \.
13341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13344 # `set' quotes correctly as required by POSIX, so do not add quotes.
13345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13356 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13358 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13359 if test -w "$cache_file"; then
13360 if test "x$cache_file" != "x/dev/null"; then
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13362 $as_echo "$as_me: updating cache $cache_file" >&6;}
13363 if test ! -f "$cache_file" || test -h "$cache_file"; then
13364 cat confcache >"$cache_file"
13366 case $cache_file in #(
13368 mv -f confcache "$cache_file"$$ &&
13369 mv -f "$cache_file"$$ "$cache_file" ;; #(
13371 mv -f confcache "$cache_file" ;;
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13377 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13383 # Let make expand exec_prefix.
13384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13386 DEFS=-DHAVE_CONFIG_H
13391 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13392 # 1. Remove the extension, and $U if already installed.
13393 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13394 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13395 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13396 # will be set to the directory where LIBOBJS objects are built.
13397 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13398 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13400 LIBOBJS=$ac_libobjs
13402 LTLIBOBJS=$ac_ltlibobjs
13405 if test -n "$EXEEXT"; then
13407 am__EXEEXT_FALSE='#'
13409 am__EXEEXT_TRUE='#'
13413 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13414 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13417 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13418 as_fn_error $? "conditional \"AMDEP\" was never defined.
13419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13421 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13422 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13425 if test -z "${HAVE_GTEST_TRUE}" && test -z "${HAVE_GTEST_FALSE}"; then
13426 as_fn_error $? "conditional \"HAVE_GTEST\" was never defined.
13427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13429 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13430 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13433 if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
13434 as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined.
13435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13437 if test -z "${USE_NETWORK_MANAGER_TRUE}" && test -z "${USE_NETWORK_MANAGER_FALSE}"; then
13438 as_fn_error $? "conditional \"USE_NETWORK_MANAGER\" was never defined.
13439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13441 if test -z "${USE_CONNMAN_TRUE}" && test -z "${USE_CONNMAN_FALSE}"; then
13442 as_fn_error $? "conditional \"USE_CONNMAN\" was never defined.
13443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13445 if test -z "${USE_NETLINK_TRUE}" && test -z "${USE_NETLINK_FALSE}"; then
13446 as_fn_error $? "conditional \"USE_NETLINK\" was never defined.
13447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13449 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13450 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13453 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13454 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13457 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13458 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13461 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13462 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13465 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13466 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13469 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13470 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13473 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13474 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13478 : "${CONFIG_STATUS=./config.status}"
13480 ac_clean_files_save=$ac_clean_files
13481 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13483 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13485 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13487 # Generated by $as_me.
13488 # Run this file to recreate the current configuration.
13489 # Compiler output produced by configure, useful for debugging
13490 # configure, is in config.log if it exists.
13493 ac_cs_recheck=false
13496 SHELL=\${CONFIG_SHELL-$SHELL}
13499 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13500 ## -------------------- ##
13501 ## M4sh Initialization. ##
13502 ## -------------------- ##
13504 # Be more Bourne compatible
13505 DUALCASE=1; export DUALCASE # for MKS sh
13506 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13509 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13510 # is contrary to our usage. Disable this feature.
13511 alias -g '${1+"$@"}'='"$@"'
13512 setopt NO_GLOB_SUBST
13514 case `(set -o) 2>/dev/null` in #(
13526 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13527 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13528 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13529 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13530 # Prefer a ksh shell builtin over an external printf program on Solaris,
13531 # but without wasting forks for bash or zsh.
13532 if test -z "$BASH_VERSION$ZSH_VERSION" \
13533 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13534 as_echo='print -r --'
13535 as_echo_n='print -rn --'
13536 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13537 as_echo='printf %s\n'
13538 as_echo_n='printf %s'
13540 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13541 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13542 as_echo_n='/usr/ucb/echo -n'
13544 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13545 as_echo_n_body='eval
13549 expr "X$arg" : "X\\(.*\\)$as_nl";
13550 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13552 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13554 export as_echo_n_body
13555 as_echo_n='sh -c $as_echo_n_body as_echo'
13557 export as_echo_body
13558 as_echo='sh -c $as_echo_body as_echo'
13561 # The user is always right.
13562 if test "${PATH_SEPARATOR+set}" != set; then
13564 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13565 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13572 # We need space, tab and new line, in precisely that order. Quoting is
13573 # there to prevent editors from complaining about space-tab.
13574 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13575 # splitting by setting IFS to empty value.)
13578 # Find who we are. Look in the path if we contain no directory separator.
13581 *[\\/]* ) as_myself=$0 ;;
13582 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13583 for as_dir in $PATH
13586 test -z "$as_dir" && as_dir=.
13587 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13593 # We did not find ourselves, most probably we were run as `sh COMMAND'
13594 # in which case we are not to be found in the path.
13595 if test "x$as_myself" = x; then
13598 if test ! -f "$as_myself"; then
13599 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13603 # Unset variables that we do not need and which cause bugs (e.g. in
13604 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13605 # suppresses any "Segmentation fault" message there. '((' could
13606 # trigger a bug in pdksh 5.2.14.
13607 for as_var in BASH_ENV ENV MAIL MAILPATH
13608 do eval test x\${$as_var+set} = xset \
13609 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13622 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13625 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13626 # ----------------------------------------
13627 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13628 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13629 # script with STATUS, using 1 if that was 0.
13632 as_status=$1; test $as_status -eq 0 && as_status=1
13634 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13635 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13637 $as_echo "$as_me: error: $2" >&2
13638 as_fn_exit $as_status
13642 # as_fn_set_status STATUS
13643 # -----------------------
13644 # Set $? to STATUS, without forking.
13645 as_fn_set_status ()
13648 } # as_fn_set_status
13650 # as_fn_exit STATUS
13651 # -----------------
13652 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13656 as_fn_set_status $1
13662 # Portably unset VAR.
13665 { eval $1=; unset $1;}
13667 as_unset=as_fn_unset
13668 # as_fn_append VAR VALUE
13669 # ----------------------
13670 # Append the text in VALUE to the end of the definition contained in VAR. Take
13671 # advantage of any shell optimizations that allow amortized linear growth over
13672 # repeated appends, instead of the typical quadratic growth present in naive
13674 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13675 eval 'as_fn_append ()
13686 # as_fn_arith ARG...
13687 # ------------------
13688 # Perform arithmetic evaluation on the ARGs, and store the result in the
13689 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13690 # must be portable across $(()) and expr.
13691 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13692 eval 'as_fn_arith ()
13699 as_val=`expr "$@" || test $? -eq 1`
13704 if expr a : '\(a\)' >/dev/null 2>&1 &&
13705 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13711 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13712 as_basename=basename
13717 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13723 as_me=`$as_basename -- "$0" ||
13724 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13725 X"$0" : 'X\(//\)$' \| \
13726 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13728 sed '/^.*\/\([^/][^/]*\)\/*$/{
13742 # Avoid depending upon Character Ranges.
13743 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13744 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13745 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13746 as_cr_digits='0123456789'
13747 as_cr_alnum=$as_cr_Letters$as_cr_digits
13749 ECHO_C= ECHO_N= ECHO_T=
13750 case `echo -n x` in #(((((
13752 case `echo 'xy\c'` in
13753 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13755 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13762 rm -f conf$$ conf$$.exe conf$$.file
13763 if test -d conf$$.dir; then
13764 rm -f conf$$.dir/conf$$.file
13767 mkdir conf$$.dir 2>/dev/null
13769 if (echo >conf$$.file) 2>/dev/null; then
13770 if ln -s conf$$.file conf$$ 2>/dev/null; then
13772 # ... but there are two gotchas:
13773 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13774 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13775 # In both cases, we have to default to `cp -pR'.
13776 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13778 elif ln conf$$.file conf$$ 2>/dev/null; then
13786 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13787 rmdir conf$$.dir 2>/dev/null
13792 # Create "$as_dir" as a directory, including parents if necessary.
13797 -*) as_dir=./$as_dir;;
13799 test -d "$as_dir" || eval $as_mkdir_p || {
13803 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13804 *) as_qdir=$as_dir;;
13806 as_dirs="'$as_qdir' $as_dirs"
13807 as_dir=`$as_dirname -- "$as_dir" ||
13808 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13809 X"$as_dir" : 'X\(//\)[^/]' \| \
13810 X"$as_dir" : 'X\(//\)$' \| \
13811 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13812 $as_echo X"$as_dir" |
13813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13817 /^X\(\/\/\)[^/].*/{
13830 test -d "$as_dir" && break
13832 test -z "$as_dirs" || eval "mkdir $as_dirs"
13833 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13837 if mkdir -p . 2>/dev/null; then
13838 as_mkdir_p='mkdir -p "$as_dir"'
13840 test -d ./-p && rmdir ./-p
13845 # as_fn_executable_p FILE
13846 # -----------------------
13847 # Test if FILE is an executable regular file.
13848 as_fn_executable_p ()
13850 test -f "$1" && test -x "$1"
13851 } # as_fn_executable_p
13852 as_test_x='test -x'
13853 as_executable_p=as_fn_executable_p
13855 # Sed expression to map a string onto a valid CPP name.
13856 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13858 # Sed expression to map a string onto a valid variable name.
13859 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13863 ## ----------------------------------- ##
13864 ## Main body of $CONFIG_STATUS script. ##
13865 ## ----------------------------------- ##
13867 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13870 # Save the log message, to keep $0 and so on meaningful, and to
13871 # report actual input values of CONFIG_FILES etc. instead of their
13872 # values after options handling.
13874 This file was extended by gupnp $as_me 0.20.3, which was
13875 generated by GNU Autoconf 2.69. Invocation command line was
13877 CONFIG_FILES = $CONFIG_FILES
13878 CONFIG_HEADERS = $CONFIG_HEADERS
13879 CONFIG_LINKS = $CONFIG_LINKS
13880 CONFIG_COMMANDS = $CONFIG_COMMANDS
13883 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13888 case $ac_config_files in *"
13889 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13892 case $ac_config_headers in *"
13893 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13898 # Files that config.status was made for.
13899 config_files="$ac_config_files"
13900 config_headers="$ac_config_headers"
13901 config_commands="$ac_config_commands"
13905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13907 \`$as_me' instantiates files and other configuration actions
13908 from templates according to the current configuration. Unless the files
13909 and actions are specified as TAGs, all are instantiated by default.
13911 Usage: $0 [OPTION]... [TAG]...
13913 -h, --help print this help, then exit
13914 -V, --version print version number and configuration settings, then exit
13915 --config print configuration, then exit
13916 -q, --quiet, --silent
13917 do not print progress messages
13918 -d, --debug don't remove temporary files
13919 --recheck update $as_me by reconfiguring in the same conditions
13920 --file=FILE[:TEMPLATE]
13921 instantiate the configuration file FILE
13922 --header=FILE[:TEMPLATE]
13923 instantiate the configuration header FILE
13925 Configuration files:
13928 Configuration headers:
13931 Configuration commands:
13934 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp>.
13935 gupnp home page: <http://www.gupnp.org/>."
13938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13941 gupnp config.status 0.20.3
13942 configured by $0, generated by GNU Autoconf 2.69,
13943 with options \\"\$ac_cs_config\\"
13945 Copyright (C) 2012 Free Software Foundation, Inc.
13946 This config.status script is free software; the Free Software Foundation
13947 gives unlimited permission to copy, distribute and modify it."
13954 test -n "\$AWK" || AWK=awk
13957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13958 # The default lists apply if the user does not specify any file.
13964 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13965 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13981 # Handling of the options.
13982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13984 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13985 $as_echo "$ac_cs_version"; exit ;;
13986 --config | --confi | --conf | --con | --co | --c )
13987 $as_echo "$ac_cs_config"; exit ;;
13988 --debug | --debu | --deb | --de | --d | -d )
13990 --file | --fil | --fi | --f )
13993 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13994 '') as_fn_error $? "missing file argument" ;;
13996 as_fn_append CONFIG_FILES " '$ac_optarg'"
13997 ac_need_defaults=false;;
13998 --header | --heade | --head | --hea )
14001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14003 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14004 ac_need_defaults=false;;
14006 # Conflict between --help and --header
14007 as_fn_error $? "ambiguous option: \`$1'
14008 Try \`$0 --help' for more information.";;
14009 --help | --hel | -h )
14010 $as_echo "$ac_cs_usage"; exit ;;
14011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14012 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14015 # This is an error.
14016 -*) as_fn_error $? "unrecognized option: \`$1'
14017 Try \`$0 --help' for more information." ;;
14019 *) as_fn_append ac_config_targets " $1"
14020 ac_need_defaults=false ;;
14026 ac_configure_extra_args=
14028 if $ac_cs_silent; then
14030 ac_configure_extra_args="$ac_configure_extra_args --silent"
14034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14035 if \$ac_cs_recheck; then
14036 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14038 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14039 CONFIG_SHELL='$SHELL'
14040 export CONFIG_SHELL
14045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14049 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14050 ## Running $as_me. ##
14056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14060 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14063 # The HP-UX ksh and POSIX shell print the target directory to stdout
14064 # if CDPATH is set.
14065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14067 sed_quote_subst='$sed_quote_subst'
14068 double_quote_subst='$double_quote_subst'
14069 delay_variable_subst='$delay_variable_subst'
14070 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14071 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14072 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14073 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14074 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14075 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14076 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14077 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14078 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14099 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14100 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14101 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14102 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14103 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14104 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14105 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14106 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14107 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14108 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14109 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14110 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14111 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14112 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14113 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14114 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14115 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14116 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14117 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14118 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14119 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14120 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14121 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14122 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14123 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14124 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14125 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14126 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"`'
14127 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14128 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14129 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14130 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14131 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14132 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14133 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14134 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14135 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14136 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14137 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14138 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14139 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14140 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14141 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14142 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14143 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14144 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14145 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14146 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14147 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14148 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14149 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14150 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14151 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14152 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14153 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14154 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14155 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14156 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14157 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14158 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14159 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14160 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14161 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14162 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14163 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14164 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14165 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14166 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14167 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14168 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14169 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14170 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14171 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14172 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14173 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14174 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14175 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14176 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14177 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14178 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14179 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14180 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14181 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14182 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14183 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14184 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14185 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14186 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14187 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14188 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14189 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14190 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14191 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14192 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14193 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14194 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14195 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14196 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14197 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14198 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14199 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14202 LTCFLAGS='$LTCFLAGS'
14203 compiler='$compiler_DEFAULT'
14205 # A function that is used when there is no print builtin or printf.
14206 func_fallback_echo ()
14208 eval 'cat <<_LTECHO_EOF
14213 # Quote evaled strings.
14228 deplibs_check_method \
14233 sharedlib_from_linklib_cmd \
14236 archiver_list_spec \
14242 lt_cv_sys_global_symbol_pipe \
14243 lt_cv_sys_global_symbol_to_cdecl \
14244 lt_cv_sys_global_symbol_to_c_name_address \
14245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14246 nm_file_list_spec \
14247 lt_prog_compiler_no_builtin_flag \
14248 lt_prog_compiler_pic \
14249 lt_prog_compiler_wl \
14250 lt_prog_compiler_static \
14251 lt_cv_prog_compiler_c_o \
14260 export_dynamic_flag_spec \
14261 whole_archive_flag_spec \
14262 compiler_needs_object \
14264 allow_undefined_flag \
14265 no_undefined_flag \
14266 hardcode_libdir_flag_spec \
14267 hardcode_libdir_separator \
14271 variables_saved_for_relink \
14273 library_names_spec \
14275 install_override_mode \
14279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14280 *[\\\\\\\`\\"\\\$]*)
14281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14289 # Double-quote double-evaled strings.
14290 for var in reload_cmds \
14291 old_postinstall_cmds \
14292 old_postuninstall_cmds \
14294 extract_expsyms_cmds \
14295 old_archive_from_new_cmds \
14296 old_archive_from_expsyms_cmds \
14298 archive_expsym_cmds \
14300 module_expsym_cmds \
14301 export_symbols_cmds \
14305 postuninstall_cmds \
14307 sys_lib_search_path_spec \
14308 sys_lib_dlsearch_path_spec; do
14309 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14310 *[\\\\\\\`\\"\\\$]*)
14311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14319 ac_aux_dir='$ac_aux_dir'
14320 xsi_shell='$xsi_shell'
14321 lt_shell_append='$lt_shell_append'
14323 # See if we are running on zsh, and set the options which allow our
14324 # commands through without removal of \ escapes INIT.
14325 if test -n "\${ZSH_VERSION+set}" ; then
14326 setopt NO_GLOB_SUBST
14332 TIMESTAMP='$TIMESTAMP'
14341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14343 # Handling of arguments.
14344 for ac_config_target in $ac_config_targets
14346 case $ac_config_target in
14347 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14348 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14349 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14351 "libgupnp/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp/Makefile" ;;
14352 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14353 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14354 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14355 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
14356 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14357 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14358 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14359 "gupnp-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-1.0.pc" ;;
14360 "gupnp-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-1.0-uninstalled.pc" ;;
14362 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14367 # If the user did not use the arguments to specify the items to instantiate,
14368 # then the envvar interface is used. Set only those that are not.
14369 # We use the long form for the default assignment because of an extremely
14370 # bizarre bug on SunOS 4.1.3.
14371 if $ac_need_defaults; then
14372 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14373 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14374 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14377 # Have a temporary directory for convenience. Make it in the build tree
14378 # simply because there is no reason against having it here, and in addition,
14379 # creating and moving files from /tmp can sometimes cause problems.
14380 # Hook for its removal unless debugging.
14381 # Note that there is a small window in which the directory will not be cleaned:
14382 # after its creation but before its name has been assigned to `$tmp'.
14386 trap 'exit_status=$?
14387 : "${ac_tmp:=$tmp}"
14388 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14390 trap 'as_fn_exit 1' 1 2 13 15
14392 # Create a (secure) tmp directory for tmp files.
14395 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14399 tmp=./conf$$-$RANDOM
14400 (umask 077 && mkdir "$tmp")
14401 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14404 # Set up the scripts for CONFIG_FILES section.
14405 # No need to generate them if there are no CONFIG_FILES.
14406 # This happens for instance with `./config.status config.h'.
14407 if test -n "$CONFIG_FILES"; then
14410 ac_cr=`echo X | tr X '\015'`
14411 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14412 # But we know of no other shell where ac_cr would be empty at this
14413 # point, so we can use a bashism as a fallback.
14414 if test "x$ac_cr" = x; then
14415 eval ac_cr=\$\'\\r\'
14417 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14418 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14421 ac_cs_awk_cr=$ac_cr
14424 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14429 echo "cat >conf$$subs.awk <<_ACEOF" &&
14430 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14432 } >conf$$subs.sh ||
14433 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14434 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14436 for ac_last_try in false false false false false :; do
14437 . ./conf$$subs.sh ||
14438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14440 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14441 if test $ac_delim_n = $ac_delim_num; then
14443 elif $ac_last_try; then
14444 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14446 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14449 rm -f conf$$subs.sh
14451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14452 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14456 s/^/S["/; s/!.*/"]=/
14466 s/\(.\{148\}\)..*/\1/
14468 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14480 s/\(.\{148\}\)..*/\1/
14482 s/["\\]/\\&/g; s/^/"/; s/$/"/
14486 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14491 ' <conf$$subs.awk | sed '
14496 ' >>$CONFIG_STATUS || ac_write_fail=1
14497 rm -f conf$$subs.awk
14498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14500 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14501 for (key in S) S_is_set[key] = 1
14507 nfields = split(line, field, "@")
14509 len = length(field[1])
14510 for (i = 2; i < nfields; i++) {
14512 keylen = length(key)
14513 if (S_is_set[key]) {
14515 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14516 len += length(value) + length(field[++i])
14527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14528 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14529 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14532 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14533 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14536 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14537 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14538 # trailing colons and then remove the whole line if VPATH becomes empty
14539 # (actually we leave an empty line to preserve line numbers).
14540 if test "x$srcdir" = x.; then
14541 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14560 fi # test -n "$CONFIG_FILES"
14562 # Set up the scripts for CONFIG_HEADERS section.
14563 # No need to generate them if there are no CONFIG_HEADERS.
14564 # This happens for instance with `./config.status Makefile'.
14565 if test -n "$CONFIG_HEADERS"; then
14566 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14570 # Transform confdefs.h into an awk script `defines.awk', embedded as
14571 # here-document in config.status, that substitutes the proper values into
14572 # config.h.in to produce config.h.
14574 # Create a delimiter string that does not exist in confdefs.h, to ease
14575 # handling of long lines.
14577 for ac_last_try in false false :; do
14578 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14579 if test -z "$ac_tt"; then
14581 elif $ac_last_try; then
14582 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14588 # For the awk script, D is an array of macro values keyed by name,
14589 # likewise P contains macro parameters if any. Preserve backslash
14590 # newline sequences.
14592 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14594 s/.\{148\}/&'"$ac_delim"'/g
14597 s/^[ ]*#[ ]*define[ ][ ]*/ /
14604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14611 D["\1"]=" \3\\\\\\n"\\/p
14613 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14618 s/.\{148\}/&'"$ac_delim"'/g
14623 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14626 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14628 ' <confdefs.h | sed '
14629 s/'"$ac_delim"'/"\\\
14630 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14633 for (key in D) D_is_set[key] = 1
14636 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14638 split(line, arg, " ")
14639 if (arg[1] == "#") {
14643 defundef = substr(arg[1], 2)
14646 split(mac1, mac2, "(") #)
14648 prefix = substr(line, 1, index(line, defundef) - 1)
14649 if (D_is_set[macro]) {
14650 # Preserve the white space surrounding the "#".
14651 print prefix "define", macro P[macro] D[macro]
14654 # Replace #undef with comments. This is necessary, for example,
14655 # in the case of _POSIX_SOURCE, which is predefined and required
14656 # on some systems where configure will not decide to define it.
14657 if (defundef == "undef") {
14658 print "/*", prefix defundef, macro, "*/"
14666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14667 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14668 fi # test -n "$CONFIG_HEADERS"
14671 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14676 :[FHLC]) ac_mode=$ac_tag; continue;;
14678 case $ac_mode$ac_tag in
14680 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14681 :[FH]-) ac_tag=-:-;;
14682 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14699 -) ac_f="$ac_tmp/stdin";;
14700 *) # Look for the file first in the build tree, then in the source tree
14701 # (if the path is not absolute). The absolute path cannot be DOS-style,
14702 # because $ac_f cannot contain `:'.
14706 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14708 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14710 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14711 as_fn_append ac_file_inputs " '$ac_f'"
14714 # Let's still pretend it is `configure' which instantiates (i.e., don't
14715 # use $as_me), people would be surprised to read:
14716 # /* config.h. Generated by config.status. */
14717 configure_input='Generated from '`
14718 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14720 if test x"$ac_file" != x-; then
14721 configure_input="$ac_file. $configure_input"
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14723 $as_echo "$as_me: creating $ac_file" >&6;}
14725 # Neutralize special characters interpreted by sed in replacement strings.
14726 case $configure_input in #(
14727 *\&* | *\|* | *\\* )
14728 ac_sed_conf_input=`$as_echo "$configure_input" |
14729 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14730 *) ac_sed_conf_input=$configure_input;;
14734 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14735 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14740 ac_dir=`$as_dirname -- "$ac_file" ||
14741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14742 X"$ac_file" : 'X\(//\)[^/]' \| \
14743 X"$ac_file" : 'X\(//\)$' \| \
14744 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14745 $as_echo X"$ac_file" |
14746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14750 /^X\(\/\/\)[^/].*/{
14763 as_dir="$ac_dir"; as_fn_mkdir_p
14767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14770 # A ".." for each directory in $ac_dir_suffix.
14771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14772 case $ac_top_builddir_sub in
14773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14777 ac_abs_top_builddir=$ac_pwd
14778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14779 # for backward compatibility:
14780 ac_top_builddir=$ac_top_build_prefix
14783 .) # We are building in place.
14785 ac_top_srcdir=$ac_top_builddir_sub
14786 ac_abs_top_srcdir=$ac_pwd ;;
14787 [\\/]* | ?:[\\/]* ) # Absolute name.
14788 ac_srcdir=$srcdir$ac_dir_suffix;
14789 ac_top_srcdir=$srcdir
14790 ac_abs_top_srcdir=$srcdir ;;
14791 *) # Relative name.
14792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14793 ac_top_srcdir=$ac_top_build_prefix$srcdir
14794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14807 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14809 ac_MKDIR_P=$MKDIR_P
14811 [\\/$]* | ?:[\\/]* ) ;;
14812 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14817 # If the template does not know about datarootdir, expand it.
14818 # FIXME: This hack should be removed a few years after 2.60.
14819 ac_datarootdir_hack=; ac_datarootdir_seen=
14830 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14831 *datarootdir*) ac_datarootdir_seen=yes;;
14832 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14834 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14837 ac_datarootdir_hack='
14838 s&@datadir@&$datadir&g
14839 s&@docdir@&$docdir&g
14840 s&@infodir@&$infodir&g
14841 s&@localedir@&$localedir&g
14842 s&@mandir@&$mandir&g
14843 s&\\\${datarootdir}&$datarootdir&g' ;;
14847 # Neutralize VPATH when `$srcdir' = `.'.
14848 # Shell code in configure.ac might set extrasub.
14849 # FIXME: do we really want to maintain this feature?
14850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14851 ac_sed_extra="$ac_vpsub
14854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14856 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14857 s|@configure_input@|$ac_sed_conf_input|;t t
14858 s&@top_builddir@&$ac_top_builddir_sub&;t t
14859 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14860 s&@srcdir@&$ac_srcdir&;t t
14861 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14862 s&@top_srcdir@&$ac_top_srcdir&;t t
14863 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14864 s&@builddir@&$ac_builddir&;t t
14865 s&@abs_builddir@&$ac_abs_builddir&;t t
14866 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14867 s&@INSTALL@&$ac_INSTALL&;t t
14868 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14869 $ac_datarootdir_hack
14871 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14872 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14874 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14875 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14876 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14877 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14879 which seems to be undefined. Please make sure it is defined" >&5
14880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14881 which seems to be undefined. Please make sure it is defined" >&2;}
14883 rm -f "$ac_tmp/stdin"
14885 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14886 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14894 if test x"$ac_file" != x-; then
14896 $as_echo "/* $configure_input */" \
14897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14898 } >"$ac_tmp/config.h" \
14899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14900 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14905 mv "$ac_tmp/config.h" "$ac_file" \
14906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14909 $as_echo "/* $configure_input */" \
14910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14911 || as_fn_error $? "could not create -" "$LINENO" 5
14913 # Compute "$ac_file"'s index in $config_headers.
14916 for _am_header in $config_headers :; do
14917 case $_am_header in
14918 $_am_arg | $_am_arg:* )
14921 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14924 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14925 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14926 X"$_am_arg" : 'X\(//\)[^/]' \| \
14927 X"$_am_arg" : 'X\(//\)$' \| \
14928 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14929 $as_echo X"$_am_arg" |
14930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14934 /^X\(\/\/\)[^/].*/{
14946 s/.*/./; q'`/stamp-h$_am_stamp_count
14949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14950 $as_echo "$as_me: executing $ac_file commands" >&6;}
14955 case $ac_file$ac_mode in
14956 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14957 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14958 # are listed without --file. Let's play safe and only enable the eval
14959 # if we detect the quoting.
14960 case $CONFIG_FILES in
14961 *\'*) eval set x "$CONFIG_FILES" ;;
14962 *) set x $CONFIG_FILES ;;
14967 # Strip MF so we end up with the name of the file.
14968 mf=`echo "$mf" | sed -e 's/:.*$//'`
14969 # Check whether this is an Automake generated Makefile or not.
14970 # We used to match only the files named `Makefile.in', but
14971 # some people rename them; so instead we look at the file content.
14972 # Grep'ing the first line is not enough: some people post-process
14973 # each Makefile.in and add a new line on top of each file to say so.
14974 # Grep'ing the whole file is not good either: AIX grep has a line
14975 # limit of 2048, but all sed's we know have understand at least 4000.
14976 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14977 dirpart=`$as_dirname -- "$mf" ||
14978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14979 X"$mf" : 'X\(//\)[^/]' \| \
14980 X"$mf" : 'X\(//\)$' \| \
14981 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14987 /^X\(\/\/\)[^/].*/{
15003 # Extract the definition of DEPDIR, am__include, and am__quote
15004 # from the Makefile without running `make'.
15005 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15006 test -z "$DEPDIR" && continue
15007 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15008 test -z "am__include" && continue
15009 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15010 # When using ansi2knr, U may be empty or an underscore; expand it
15011 U=`sed -n 's/^U = //p' < "$mf"`
15012 # Find all dependency output files, they are included files with
15013 # $(DEPDIR) in their names. We invoke sed twice because it is the
15014 # simplest approach to changing $(DEPDIR) to its actual value in the
15016 for file in `sed -n "
15017 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15018 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15019 # Make sure the directory exists.
15020 test -f "$dirpart/$file" && continue
15021 fdir=`$as_dirname -- "$file" ||
15022 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15023 X"$file" : 'X\(//\)[^/]' \| \
15024 X"$file" : 'X\(//\)$' \| \
15025 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15026 $as_echo X"$file" |
15027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15031 /^X\(\/\/\)[^/].*/{
15044 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15045 # echo "creating $dirpart/$file"
15046 echo '# dummy' > "$dirpart/$file"
15053 # See if we are running on zsh, and set the options which allow our
15054 # commands through without removal of \ escapes.
15055 if test -n "${ZSH_VERSION+set}" ; then
15056 setopt NO_GLOB_SUBST
15059 cfgfile="${ofile}T"
15060 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15063 cat <<_LT_EOF >> "$cfgfile"
15066 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15067 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15068 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15069 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15071 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15072 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15074 # Written by Gordon Matzigkeit, 1996
15076 # This file is part of GNU Libtool.
15078 # GNU Libtool is free software; you can redistribute it and/or
15079 # modify it under the terms of the GNU General Public License as
15080 # published by the Free Software Foundation; either version 2 of
15081 # the License, or (at your option) any later version.
15083 # As a special exception to the GNU General Public License,
15084 # if you distribute this file as part of a program or library that
15085 # is built using GNU Libtool, you may include this file under the
15086 # same distribution terms that you use for the rest of that program.
15088 # GNU Libtool is distributed in the hope that it will be useful,
15089 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15090 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15091 # GNU General Public License for more details.
15093 # You should have received a copy of the GNU General Public License
15094 # along with GNU Libtool; see the file COPYING. If not, a copy
15095 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15096 # obtained by writing to the Free Software Foundation, Inc.,
15097 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15100 # The names of the tagged configurations supported by this script.
15103 # ### BEGIN LIBTOOL CONFIG
15105 # Which release of libtool.m4 was used?
15106 macro_version=$macro_version
15107 macro_revision=$macro_revision
15109 # Whether or not to build shared libraries.
15110 build_libtool_libs=$enable_shared
15112 # Whether or not to build static libraries.
15113 build_old_libs=$enable_static
15115 # What type of objects to build.
15118 # Whether or not to optimize for fast installation.
15119 fast_install=$enable_fast_install
15121 # Shell to use when invoking shell scripts.
15124 # An echo program that protects backslashes.
15127 # The PATH separator for the build system.
15128 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15131 host_alias=$host_alias
15135 # The build system.
15136 build_alias=$build_alias
15140 # A sed program that does not truncate output.
15143 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15144 Xsed="\$SED -e 1s/^X//"
15146 # A grep program that handles long lines.
15152 # A literal string matcher.
15155 # A BSD- or MS-compatible name lister.
15158 # Whether we need soft or hard links.
15161 # What is the maximum length of a command?
15162 max_cmd_len=$max_cmd_len
15164 # Object file suffix (normally "o").
15167 # Executable file suffix (normally "").
15170 # whether the shell understands "unset".
15173 # turn spaces into newlines.
15176 # turn newlines into spaces.
15179 # convert \$build file names to \$host format.
15180 to_host_file_cmd=$lt_cv_to_host_file_cmd
15182 # convert \$build files to toolchain format.
15183 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15185 # An object symbol dumper.
15186 OBJDUMP=$lt_OBJDUMP
15188 # Method to check whether dependent libraries are shared objects.
15189 deplibs_check_method=$lt_deplibs_check_method
15191 # Command to use when deplibs_check_method = "file_magic".
15192 file_magic_cmd=$lt_file_magic_cmd
15194 # How to find potential files when deplibs_check_method = "file_magic".
15195 file_magic_glob=$lt_file_magic_glob
15197 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15198 want_nocaseglob=$lt_want_nocaseglob
15200 # DLL creation program.
15201 DLLTOOL=$lt_DLLTOOL
15203 # Command to associate shared and link libraries.
15204 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15209 # Flags to create an archive.
15210 AR_FLAGS=$lt_AR_FLAGS
15212 # How to feed a file listing to the archiver.
15213 archiver_list_spec=$lt_archiver_list_spec
15215 # A symbol stripping program.
15218 # Commands used to install an old-style archive.
15220 old_postinstall_cmds=$lt_old_postinstall_cmds
15221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15223 # Whether to use a lock for old archive extraction.
15224 lock_old_archive_extraction=$lock_old_archive_extraction
15229 # LTCC compiler flags.
15230 LTCFLAGS=$lt_CFLAGS
15232 # Take the output of nm and produce a listing of raw symbols and C names.
15233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15235 # Transform the output of nm in a proper C declaration.
15236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15238 # Transform the output of nm in a C name address pair.
15239 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15241 # Transform the output of nm in a C name address pair when lib prefix is needed.
15242 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15244 # Specify filename containing input files for \$NM.
15245 nm_file_list_spec=$lt_nm_file_list_spec
15247 # The root where to search for dependent libraries,and in which our libraries should be installed.
15248 lt_sysroot=$lt_sysroot
15250 # The name of the directory that contains temporary libtool files.
15253 # Used to examine libraries when file_magic_cmd begins with "file".
15254 MAGIC_CMD=$MAGIC_CMD
15256 # Must we lock files when doing compilation?
15257 need_locks=$lt_need_locks
15260 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15262 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15263 DSYMUTIL=$lt_DSYMUTIL
15265 # Tool to change global to local symbols on Mac OS X.
15268 # Tool to manipulate fat objects and archives on Mac OS X.
15271 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15274 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15275 OTOOL64=$lt_OTOOL64
15277 # Old archive suffix (normally "a").
15280 # Shared library suffix (normally ".so").
15281 shrext_cmds=$lt_shrext_cmds
15283 # The commands to extract the exported symbol list from a shared archive.
15284 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15286 # Variables whose values should be saved in libtool wrapper scripts and
15287 # restored at link time.
15288 variables_saved_for_relink=$lt_variables_saved_for_relink
15290 # Do we need the "lib" prefix for modules?
15291 need_lib_prefix=$need_lib_prefix
15293 # Do we need a version for libraries?
15294 need_version=$need_version
15296 # Library versioning type.
15297 version_type=$version_type
15299 # Shared library runtime path variable.
15300 runpath_var=$runpath_var
15302 # Shared library path variable.
15303 shlibpath_var=$shlibpath_var
15305 # Is shlibpath searched before the hard-coded library search path?
15306 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15308 # Format of library name prefix.
15309 libname_spec=$lt_libname_spec
15311 # List of archive names. First name is the real one, the rest are links.
15312 # The last name is the one that the linker finds with -lNAME
15313 library_names_spec=$lt_library_names_spec
15315 # The coded name of the library, if different from the real name.
15316 soname_spec=$lt_soname_spec
15318 # Permission mode override for installation of shared libraries.
15319 install_override_mode=$lt_install_override_mode
15321 # Command to use after installation of a shared archive.
15322 postinstall_cmds=$lt_postinstall_cmds
15324 # Command to use after uninstallation of a shared archive.
15325 postuninstall_cmds=$lt_postuninstall_cmds
15327 # Commands used to finish a libtool library installation in a directory.
15328 finish_cmds=$lt_finish_cmds
15330 # As "finish_cmds", except a single script fragment to be evaled but
15332 finish_eval=$lt_finish_eval
15334 # Whether we should hardcode library paths into libraries.
15335 hardcode_into_libs=$hardcode_into_libs
15337 # Compile-time system search path for libraries.
15338 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15340 # Run-time system search path for libraries.
15341 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15343 # Whether dlopen is supported.
15344 dlopen_support=$enable_dlopen
15346 # Whether dlopen of programs is supported.
15347 dlopen_self=$enable_dlopen_self
15349 # Whether dlopen of statically linked programs is supported.
15350 dlopen_self_static=$enable_dlopen_self_static
15352 # Commands to strip libraries.
15353 old_striplib=$lt_old_striplib
15354 striplib=$lt_striplib
15357 # The linker used to build libraries.
15360 # How to create reloadable object files.
15361 reload_flag=$lt_reload_flag
15362 reload_cmds=$lt_reload_cmds
15364 # Commands used to build an old-style archive.
15365 old_archive_cmds=$lt_old_archive_cmds
15367 # A language specific compiler.
15370 # Is the compiler the GNU compiler?
15373 # Compiler flag to turn off builtin functions.
15374 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15376 # Additional compiler flags for building library objects.
15377 pic_flag=$lt_lt_prog_compiler_pic
15379 # How to pass a linker flag through the compiler.
15380 wl=$lt_lt_prog_compiler_wl
15382 # Compiler flag to prevent dynamic linking.
15383 link_static_flag=$lt_lt_prog_compiler_static
15385 # Does compiler simultaneously support -c and -o options?
15386 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15388 # Whether or not to add -lc for building shared libraries.
15389 build_libtool_need_lc=$archive_cmds_need_lc
15391 # Whether or not to disallow shared libs when runtime libs are static.
15392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15394 # Compiler flag to allow reflexive dlopens.
15395 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15397 # Compiler flag to generate shared objects directly from archives.
15398 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15400 # Whether the compiler copes with passing no objects directly.
15401 compiler_needs_object=$lt_compiler_needs_object
15403 # Create an old-style archive from a shared archive.
15404 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15406 # Create a temporary old-style archive to link instead of a shared archive.
15407 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15409 # Commands used to build a shared archive.
15410 archive_cmds=$lt_archive_cmds
15411 archive_expsym_cmds=$lt_archive_expsym_cmds
15413 # Commands used to build a loadable module if different from building
15414 # a shared archive.
15415 module_cmds=$lt_module_cmds
15416 module_expsym_cmds=$lt_module_expsym_cmds
15418 # Whether we are building with GNU ld or not.
15419 with_gnu_ld=$lt_with_gnu_ld
15421 # Flag that allows shared libraries with undefined symbols to be built.
15422 allow_undefined_flag=$lt_allow_undefined_flag
15424 # Flag that enforces no undefined symbols.
15425 no_undefined_flag=$lt_no_undefined_flag
15427 # Flag to hardcode \$libdir into a binary during linking.
15428 # This must work even if \$libdir does not exist
15429 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15431 # Whether we need a single "-rpath" flag with a separated argument.
15432 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15435 # DIR into the resulting binary.
15436 hardcode_direct=$hardcode_direct
15438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15439 # DIR into the resulting binary and the resulting library dependency is
15440 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15441 # library is relocated.
15442 hardcode_direct_absolute=$hardcode_direct_absolute
15444 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15445 # into the resulting binary.
15446 hardcode_minus_L=$hardcode_minus_L
15448 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15449 # into the resulting binary.
15450 hardcode_shlibpath_var=$hardcode_shlibpath_var
15452 # Set to "yes" if building a shared library automatically hardcodes DIR
15453 # into the library and all subsequent libraries and executables linked
15455 hardcode_automatic=$hardcode_automatic
15457 # Set to yes if linker adds runtime paths of dependent libraries
15458 # to runtime path list.
15459 inherit_rpath=$inherit_rpath
15461 # Whether libtool must link a program against all its dependency libraries.
15462 link_all_deplibs=$link_all_deplibs
15464 # Set to "yes" if exported symbols are required.
15465 always_export_symbols=$always_export_symbols
15467 # The commands to list exported symbols.
15468 export_symbols_cmds=$lt_export_symbols_cmds
15470 # Symbols that should not be listed in the preloaded symbols.
15471 exclude_expsyms=$lt_exclude_expsyms
15473 # Symbols that must always be exported.
15474 include_expsyms=$lt_include_expsyms
15476 # Commands necessary for linking programs (against libraries) with templates.
15477 prelink_cmds=$lt_prelink_cmds
15479 # Commands necessary for finishing linking programs.
15480 postlink_cmds=$lt_postlink_cmds
15482 # Specify filename containing input files.
15483 file_list_spec=$lt_file_list_spec
15485 # How to hardcode a shared library path into an executable.
15486 hardcode_action=$hardcode_action
15488 # ### END LIBTOOL CONFIG
15494 cat <<\_LT_EOF >> "$cfgfile"
15495 # AIX sometimes has problems with the GCC collect2 program. For some
15496 # reason, if we set the COLLECT_NAMES environment variable, the problems
15497 # vanish in a puff of smoke.
15498 if test "X${COLLECT_NAMES+set}" != Xset; then
15500 export COLLECT_NAMES
15507 ltmain="$ac_aux_dir/ltmain.sh"
15510 # We use sed instead of cat because bash on DJGPP gets confused if
15511 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15512 # text mode, it properly converts lines to CR/LF. This bash problem
15513 # is reportedly fixed, but why not run on old versions too?
15514 sed '$q' "$ltmain" >> "$cfgfile" \
15515 || (rm -f "$cfgfile"; exit 1)
15517 if test x"$xsi_shell" = xyes; then
15518 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15522 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15523 \ * ) func_dirname_result="${3}" ;;\
15525 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15526 && mv -f "$cfgfile.tmp" "$cfgfile" \
15527 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15528 test 0 -eq $? || _lt_function_replace_fail=:
15531 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15534 \ func_basename_result="${1##*/}"\
15535 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15536 && mv -f "$cfgfile.tmp" "$cfgfile" \
15537 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15538 test 0 -eq $? || _lt_function_replace_fail=:
15541 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15542 func_dirname_and_basename ()\
15545 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15546 \ * ) func_dirname_result="${3}" ;;\
15548 \ func_basename_result="${1##*/}"\
15549 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15550 && mv -f "$cfgfile.tmp" "$cfgfile" \
15551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15552 test 0 -eq $? || _lt_function_replace_fail=:
15555 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15558 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15559 \ # positional parameters, so assign one to ordinary parameter first.\
15560 \ func_stripname_result=${3}\
15561 \ func_stripname_result=${func_stripname_result#"${1}"}\
15562 \ func_stripname_result=${func_stripname_result%"${2}"}\
15563 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15564 && mv -f "$cfgfile.tmp" "$cfgfile" \
15565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15566 test 0 -eq $? || _lt_function_replace_fail=:
15569 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15570 func_split_long_opt ()\
15572 \ func_split_long_opt_name=${1%%=*}\
15573 \ func_split_long_opt_arg=${1#*=}\
15574 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15575 && mv -f "$cfgfile.tmp" "$cfgfile" \
15576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15577 test 0 -eq $? || _lt_function_replace_fail=:
15580 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15581 func_split_short_opt ()\
15583 \ func_split_short_opt_arg=${1#??}\
15584 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15585 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15586 && mv -f "$cfgfile.tmp" "$cfgfile" \
15587 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15588 test 0 -eq $? || _lt_function_replace_fail=:
15591 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15595 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15596 \ *) func_lo2o_result=${1} ;;\
15598 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15599 && mv -f "$cfgfile.tmp" "$cfgfile" \
15600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15601 test 0 -eq $? || _lt_function_replace_fail=:
15604 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15607 func_xform_result=${1%.*}.lo\
15608 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15609 && mv -f "$cfgfile.tmp" "$cfgfile" \
15610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15611 test 0 -eq $? || _lt_function_replace_fail=:
15614 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15617 func_arith_result=$(( $* ))\
15618 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15619 && mv -f "$cfgfile.tmp" "$cfgfile" \
15620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15621 test 0 -eq $? || _lt_function_replace_fail=:
15624 sed -e '/^func_len ()$/,/^} # func_len /c\
15627 func_len_result=${#1}\
15628 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15629 && mv -f "$cfgfile.tmp" "$cfgfile" \
15630 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15631 test 0 -eq $? || _lt_function_replace_fail=:
15635 if test x"$lt_shell_append" = xyes; then
15636 sed -e '/^func_append ()$/,/^} # func_append /c\
15639 eval "${1}+=\\${2}"\
15640 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15641 && mv -f "$cfgfile.tmp" "$cfgfile" \
15642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15643 test 0 -eq $? || _lt_function_replace_fail=:
15646 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15647 func_append_quoted ()\
15649 \ func_quote_for_eval "${2}"\
15650 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15651 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15652 && mv -f "$cfgfile.tmp" "$cfgfile" \
15653 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15654 test 0 -eq $? || _lt_function_replace_fail=:
15657 # Save a `func_append' function call where possible by direct use of '+='
15658 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15659 && mv -f "$cfgfile.tmp" "$cfgfile" \
15660 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15661 test 0 -eq $? || _lt_function_replace_fail=:
15663 # Save a `func_append' function call even when '+=' is not available
15664 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15665 && mv -f "$cfgfile.tmp" "$cfgfile" \
15666 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15667 test 0 -eq $? || _lt_function_replace_fail=:
15670 if test x"$_lt_function_replace_fail" = x":"; then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15672 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15676 mv -f "$cfgfile" "$ofile" ||
15677 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15688 ac_clean_files=$ac_clean_files_save
15690 test $ac_write_fail = 0 ||
15691 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15694 # configure is writing to config.log, and then calls config.status.
15695 # config.status does its own redirection, appending to config.log.
15696 # Unfortunately, on DOS this fails, as config.log is still kept open
15697 # by configure, so config.status won't be able to write to it; its
15698 # output is simply discarded. So we exec the FD to /dev/null,
15699 # effectively closing config.log, so it can be properly (re)opened and
15700 # appended to by config.status. When coming back to configure, we
15701 # need to make the FD available again.
15702 if test "$no_create" != yes; then
15704 ac_config_status_args=
15705 test "$silent" = yes &&
15706 ac_config_status_args="$ac_config_status_args --quiet"
15708 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15710 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15711 # would make configure fail if this is the last instruction.
15712 $ac_cs_success || as_fn_exit 1
15714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15716 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15721 ${PACKAGE} ${VERSION}
15722 ---------------------
15725 GObject-Introspection: ${found_introspection}
15726 VALA bindings: ${have_vapigen}
15727 Context manager: ${with_context_manager}