2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gssdp 0.14.3.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
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=gssdp
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='gssdp'
654 PACKAGE_VERSION='0.14.3'
655 PACKAGE_STRING='gssdp 0.14.3'
656 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp'
657 PACKAGE_URL='http://www.gupnp.org/'
659 ac_unique_file="libgssdp/gssdp-client.c"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
673 # ifdef HAVE_STDLIB_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
696 ac_subst_vars='am__EXEEXT_FALSE
700 GTK_DOC_USE_REBASE_FALSE
701 GTK_DOC_USE_REBASE_TRUE
702 GTK_DOC_USE_LIBTOOL_FALSE
703 GTK_DOC_USE_LIBTOOL_TRUE
704 GTK_DOC_BUILD_PDF_FALSE
705 GTK_DOC_BUILD_PDF_TRUE
706 GTK_DOC_BUILD_HTML_FALSE
707 GTK_DOC_BUILD_HTML_TRUE
721 HAVE_INTROSPECTION_FALSE
722 HAVE_INTROSPECTION_TRUE
723 INTROSPECTION_MAKEFILE
726 INTROSPECTION_TYPELIBDIR
728 INTROSPECTION_GENERATE
729 INTROSPECTION_COMPILER
730 INTROSPECTION_SCANNER
794 MAINTAINER_MODE_FALSE
804 INSTALL_STRIP_PROGRAM
846 program_transform_name
859 enable_option_checking
860 enable_maintainer_mode
862 enable_dependency_tracking
879 ac_precious_vars='build_alias
899 # Initialize some variables set by options.
901 ac_init_version=false
902 ac_unrecognized_opts=
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
913 program_transform_name=s,x,x,
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir='${exec_prefix}/bin'
928 sbindir='${exec_prefix}/sbin'
929 libexecdir='${exec_prefix}/libexec'
930 datarootdir='${prefix}/share'
931 datadir='${datarootdir}'
932 sysconfdir='${prefix}/etc'
933 sharedstatedir='${prefix}/com'
934 localstatedir='${prefix}/var'
935 includedir='${prefix}/include'
936 oldincludedir='/usr/include'
937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir='${datarootdir}/info'
943 libdir='${exec_prefix}/lib'
944 localedir='${datarootdir}/locale'
945 mandir='${datarootdir}/man'
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\$ac_option
959 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir | --bindir | --bindi | --bind | --bin | --bi)
972 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
975 -build | --build | --buil | --bui | --bu)
976 ac_prev=build_alias ;;
977 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978 build_alias=$ac_optarg ;;
980 -cache-file | --cache-file | --cache-fil | --cache-fi \
981 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982 ac_prev=cache_file ;;
983 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985 cache_file=$ac_optarg ;;
988 cache_file=config.cache ;;
990 -datadir | --datadir | --datadi | --datad)
992 -datadir=* | --datadir=* | --datadi=* | --datad=*)
993 datadir=$ac_optarg ;;
995 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996 | --dataroo | --dataro | --datar)
997 ac_prev=datarootdir ;;
998 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000 datarootdir=$ac_optarg ;;
1002 -disable-* | --disable-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid feature name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_$ac_useropt"
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1016 eval enable_$ac_useropt=no ;;
1018 -docdir | --docdir | --docdi | --doc | --do)
1020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021 docdir=$ac_optarg ;;
1023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026 dvidir=$ac_optarg ;;
1028 -enable-* | --enable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval enable_$ac_useropt=\$ac_optarg ;;
1044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046 | --exec | --exe | --ex)
1047 ac_prev=exec_prefix ;;
1048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050 | --exec=* | --exe=* | --ex=*)
1051 exec_prefix=$ac_optarg ;;
1053 -gas | --gas | --ga | --g)
1054 # Obsolete; use --with-gas.
1057 -help | --help | --hel | --he | -h)
1058 ac_init_help=long ;;
1059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060 ac_init_help=recursive ;;
1061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062 ac_init_help=short ;;
1064 -host | --host | --hos | --ho)
1065 ac_prev=host_alias ;;
1066 -host=* | --host=* | --hos=* | --ho=*)
1067 host_alias=$ac_optarg ;;
1069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1073 htmldir=$ac_optarg ;;
1075 -includedir | --includedir | --includedi | --included | --include \
1076 | --includ | --inclu | --incl | --inc)
1077 ac_prev=includedir ;;
1078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079 | --includ=* | --inclu=* | --incl=* | --inc=*)
1080 includedir=$ac_optarg ;;
1082 -infodir | --infodir | --infodi | --infod | --info | --inf)
1084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085 infodir=$ac_optarg ;;
1087 -libdir | --libdir | --libdi | --libd)
1089 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090 libdir=$ac_optarg ;;
1092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093 | --libexe | --libex | --libe)
1094 ac_prev=libexecdir ;;
1095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096 | --libexe=* | --libex=* | --libe=*)
1097 libexecdir=$ac_optarg ;;
1099 -localedir | --localedir | --localedi | --localed | --locale)
1100 ac_prev=localedir ;;
1101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102 localedir=$ac_optarg ;;
1104 -localstatedir | --localstatedir | --localstatedi | --localstated \
1105 | --localstate | --localstat | --localsta | --localst | --locals)
1106 ac_prev=localstatedir ;;
1107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109 localstatedir=$ac_optarg ;;
1111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114 mandir=$ac_optarg ;;
1116 -nfp | --nfp | --nf)
1117 # Obsolete; use --without-fp.
1120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121 | --no-cr | --no-c | -n)
1124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130 | --oldin | --oldi | --old | --ol | --o)
1131 ac_prev=oldincludedir ;;
1132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135 oldincludedir=$ac_optarg ;;
1137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140 prefix=$ac_optarg ;;
1142 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143 | --program-pre | --program-pr | --program-p)
1144 ac_prev=program_prefix ;;
1145 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147 program_prefix=$ac_optarg ;;
1149 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150 | --program-suf | --program-su | --program-s)
1151 ac_prev=program_suffix ;;
1152 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154 program_suffix=$ac_optarg ;;
1156 -program-transform-name | --program-transform-name \
1157 | --program-transform-nam | --program-transform-na \
1158 | --program-transform-n | --program-transform- \
1159 | --program-transform | --program-transfor \
1160 | --program-transfo | --program-transf \
1161 | --program-trans | --program-tran \
1162 | --progr-tra | --program-tr | --program-t)
1163 ac_prev=program_transform_name ;;
1164 -program-transform-name=* | --program-transform-name=* \
1165 | --program-transform-nam=* | --program-transform-na=* \
1166 | --program-transform-n=* | --program-transform-=* \
1167 | --program-transform=* | --program-transfor=* \
1168 | --program-transfo=* | --program-transf=* \
1169 | --program-trans=* | --program-tran=* \
1170 | --progr-tra=* | --program-tr=* | --program-t=*)
1171 program_transform_name=$ac_optarg ;;
1173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176 pdfdir=$ac_optarg ;;
1178 -psdir | --psdir | --psdi | --psd | --ps)
1180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184 | -silent | --silent | --silen | --sile | --sil)
1187 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1189 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1191 sbindir=$ac_optarg ;;
1193 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1194 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1195 | --sharedst | --shareds | --shared | --share | --shar \
1197 ac_prev=sharedstatedir ;;
1198 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1199 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1200 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1202 sharedstatedir=$ac_optarg ;;
1204 -site | --site | --sit)
1206 -site=* | --site=* | --sit=*)
1209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1212 srcdir=$ac_optarg ;;
1214 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1215 | --syscon | --sysco | --sysc | --sys | --sy)
1216 ac_prev=sysconfdir ;;
1217 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1218 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1219 sysconfdir=$ac_optarg ;;
1221 -target | --target | --targe | --targ | --tar | --ta | --t)
1222 ac_prev=target_alias ;;
1223 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1224 target_alias=$ac_optarg ;;
1226 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229 -version | --version | --versio | --versi | --vers | -V)
1230 ac_init_version=: ;;
1233 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236 as_fn_error $? "invalid package name: $ac_useropt"
1237 ac_useropt_orig=$ac_useropt
1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244 ac_unrecognized_sep=', ';;
1246 eval with_$ac_useropt=\$ac_optarg ;;
1248 -without-* | --without-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error $? "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1262 eval with_$ac_useropt=no ;;
1265 # Obsolete; use --with-x.
1268 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1269 | --x-incl | --x-inc | --x-in | --x-i)
1270 ac_prev=x_includes ;;
1271 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1272 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1273 x_includes=$ac_optarg ;;
1275 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1276 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1277 ac_prev=x_libraries ;;
1278 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1279 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1280 x_libraries=$ac_optarg ;;
1282 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1287 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 case $ac_envvar in #(
1290 '' | [0-9]* | *[!_$as_cr_alnum]* )
1291 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1293 eval $ac_envvar=\$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1307 if test -n "$ac_prev"; then
1308 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1309 as_fn_error $? "missing argument to $ac_option"
1312 if test -n "$ac_unrecognized_opts"; then
1313 case $enable_option_checking in
1315 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 # Check all directory arguments for consistency.
1321 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val=\$$ac_var
1327 # Remove trailing slashes.
1330 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331 eval $ac_var=\$ac_val;;
1333 # Be sure to have absolute directory names.
1335 [\\/$]* | ?:[\\/]* ) continue;;
1336 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1338 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1346 target=$target_alias
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x; then
1350 if test "x$build_alias" = x; then
1351 cross_compiling=maybe
1352 elif test "x$build_alias" != "x$host_alias"; then
1358 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1360 test "$silent" = yes && exec 6>/dev/null
1363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di=`ls -di .` &&
1365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366 as_fn_error $? "working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 as_fn_error $? "pwd does not report name of working directory"
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1403 ac_srcdir_defaulted=no
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1407 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var in $ac_precious_vars; do
1424 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_${ac_var}_value=\$${ac_var}
1426 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures gssdp 0.14.3 to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking ...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/gssdp]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1500 --build=BUILD configure for building on BUILD [guessed]
1501 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of gssdp 0.14.3:";;
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --disable-maintainer-mode disable make rules and dependencies not useful
1516 (and sometimes confusing) to the casual installer
1517 --enable-silent-rules less verbose build output (undo: `make V=1')
1518 --disable-silent-rules verbose build output (undo: `make V=0')
1519 --disable-dependency-tracking speeds up one-time build
1520 --enable-dependency-tracking do not reject slow dependency extractors
1521 --enable-shared[=PKGS] build shared libraries [default=yes]
1522 --enable-static[=PKGS] build static libraries [default=yes]
1523 --enable-fast-install[=PKGS]
1524 optimize for fast installation [default=yes]
1525 --disable-libtool-lock avoid locking (might break parallel builds)
1526 --enable-debug enable debugging
1527 --enable-strict-c Error out on warnings
1528 --enable-introspection=[no/auto/yes]
1529 Enable introspection for this build
1530 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1531 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1532 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1539 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1540 --with-sysroot=DIR Search for dependent libraries within DIR
1541 (or the compiler's sysroot if not specified).
1542 --without-gtk compile without gtk+ support
1543 --with-html-dir=PATH path to installed docs
1545 Some influential environment variables:
1546 CC C compiler command
1547 CFLAGS C compiler flags
1548 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1549 nonstandard directory <lib dir>
1550 LIBS libraries to pass to the linker, e.g. -l<library>
1551 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1552 you have headers in a nonstandard directory <include dir>
1554 PKG_CONFIG path to pkg-config utility
1556 directories to add to pkg-config's search path
1558 path overriding pkg-config's built-in search path
1560 C compiler flags for LIBGSSDP, overriding pkg-config
1562 linker flags for LIBGSSDP, overriding pkg-config
1564 C compiler flags for LIBGTK, overriding pkg-config
1565 LIBGTK_LIBS linker flags for LIBGTK, overriding pkg-config
1567 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1569 linker flags for GTKDOC_DEPS, overriding pkg-config
1571 Use these variables to override the choices made by `configure' or to help
1572 it to find libraries and programs with nonstandard names/locations.
1574 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
1575 gssdp home page: <http://www.gupnp.org/>.
1580 if test "$ac_init_help" = "recursive"; then
1581 # If there are subdirs, report their specific --help.
1582 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1583 test -d "$ac_dir" ||
1584 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1592 # A ".." for each directory in $ac_dir_suffix.
1593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1594 case $ac_top_builddir_sub in
1595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1599 ac_abs_top_builddir=$ac_pwd
1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir=$ac_top_build_prefix
1605 .) # We are building in place.
1607 ac_top_srcdir=$ac_top_builddir_sub
1608 ac_abs_top_srcdir=$ac_pwd ;;
1609 [\\/]* | ?:[\\/]* ) # Absolute name.
1610 ac_srcdir=$srcdir$ac_dir_suffix;
1611 ac_top_srcdir=$srcdir
1612 ac_abs_top_srcdir=$srcdir ;;
1614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615 ac_top_srcdir=$ac_top_build_prefix$srcdir
1616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1620 cd "$ac_dir" || { ac_status=$?; continue; }
1621 # Check for guested configure.
1622 if test -f "$ac_srcdir/configure.gnu"; then
1624 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625 elif test -f "$ac_srcdir/configure"; then
1627 $SHELL "$ac_srcdir/configure" --help=recursive
1629 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1631 cd "$ac_pwd" || { ac_status=$?; break; }
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1638 gssdp configure 0.14.3
1639 generated by GNU Autoconf 2.69
1641 Copyright (C) 2012 Free Software Foundation, Inc.
1642 This configure script is free software; the Free Software Foundation
1643 gives unlimited permission to copy, distribute and modify it.
1648 ## ------------------------ ##
1649 ## Autoconf initialization. ##
1650 ## ------------------------ ##
1652 # ac_fn_c_try_compile LINENO
1653 # --------------------------
1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_compile ()
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 rm -f conftest.$ac_objext
1659 if { { ac_try="$ac_compile"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_compile") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest.$ac_objext; then :
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_compile
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext
1697 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1716 test "$cross_compiling" = yes ||
1717 test -x conftest$ac_exeext
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728 # interfere with the next link command; also delete a directory that is
1729 # left behind by Apple's compiler. We do this before executing the actions.
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1734 } # ac_fn_c_try_link
1736 # ac_fn_c_try_cpp LINENO
1737 # ----------------------
1738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 if { { ac_try="$ac_cpp conftest.$ac_ext"
1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1751 if test -s conftest.err; then
1752 grep -v '^ *+' conftest.err >conftest.er1
1753 cat conftest.er1 >&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } > conftest.i && {
1758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1759 test ! -s conftest.err
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status $ac_retval
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1791 { { case "(($ac_try" in
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_try") 2>&5
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; }; }; then :
1803 $as_echo "$as_me: program exited with status $ac_status" >&5
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1807 ac_retval=$ac_status
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1815 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816 # -------------------------------------------------------
1817 # Tests whether HEADER exists and can be compiled using the include files in
1818 # INCLUDES, setting the cache variable VAR accordingly.
1819 ac_fn_c_check_header_compile ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1832 if ac_fn_c_try_compile "$LINENO"; then :
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 } # ac_fn_c_check_header_compile
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1861 #define $2 innocuous_$2
1863 /* System header to define __stub macros and hopefully few prototypes,
1864 which can conflict with char $2 (); below.
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866 <limits.h> exists even on freestanding compilers. */
1869 # include <limits.h>
1871 # include <assert.h>
1876 /* Override any GCC internal prototype to avoid an error.
1877 Use char because int might match the return type of a GCC
1878 builtin and then its argument prototype would still apply. */
1883 /* The GNU C library defines this for functions which it implements
1884 to always fail with ENOSYS. Some functions are actually named
1885 something starting with __ and the normal name is an alias. */
1886 #if defined __stub_$2 || defined __stub___$2
1898 if ac_fn_c_try_link "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext \
1904 conftest$ac_exeext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 } # ac_fn_c_check_func
1912 cat >config.log <<_ACEOF
1913 This file contains any messages produced by compilers while
1914 running configure, to aid debugging if configure makes a mistake.
1916 It was created by gssdp $as_me 0.14.3, which was
1917 generated by GNU Autoconf 2.69. Invocation command line was
1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1936 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1938 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1939 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1940 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1941 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1942 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1943 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1944 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 test -z "$as_dir" && as_dir=.
1953 $as_echo "PATH: $as_dir"
1969 # Keep a trace of the command line.
1970 # Strip out --no-create and --no-recursion so they do not pile up.
1971 # Strip out --silent because we don't want to record it for future runs.
1972 # Also quote any args containing shell meta-characters.
1973 # Make two passes to allow for proper duplicate-argument suppression.
1977 ac_must_keep_next=false
1983 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1985 | -silent | --silent | --silen | --sile | --sil)
1988 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1991 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1993 as_fn_append ac_configure_args1 " '$ac_arg'"
1994 if test $ac_must_keep_next = true; then
1995 ac_must_keep_next=false # Got value, back to normal.
1998 *=* | --config-cache | -C | -disable-* | --disable-* \
1999 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2000 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2001 | -with-* | --with-* | -without-* | --without-* | --x)
2002 case "$ac_configure_args0 " in
2003 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2006 -* ) ac_must_keep_next=true ;;
2009 as_fn_append ac_configure_args " '$ac_arg'"
2014 { ac_configure_args0=; unset ac_configure_args0;}
2015 { ac_configure_args1=; unset ac_configure_args1;}
2017 # When interrupted or exit'd, cleanup temporary files, and complete
2018 # config.log. We remove comments because anyway the quotes in there
2019 # would cause problems or look ugly.
2020 # WARNING: Use '\'' to represent an apostrophe within the trap.
2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2022 trap 'exit_status=$?
2023 # Save into config.log some information that might help in debugging.
2027 $as_echo "## ---------------- ##
2028 ## Cache variables. ##
2029 ## ---------------- ##"
2031 # The following way of writing the cache mishandles newlines in values,
2033 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2034 eval ac_val=\$$ac_var
2038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2042 _ | IFS | as_nl) ;; #(
2043 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2044 *) { eval $ac_var=; unset $ac_var;} ;;
2049 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2050 *${as_nl}ac_space=\ *)
2052 "s/'\''/'\''\\\\'\'''\''/g;
2053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2056 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2063 $as_echo "## ----------------- ##
2064 ## Output variables. ##
2065 ## ----------------- ##"
2067 for ac_var in $ac_subst_vars
2069 eval ac_val=\$$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2077 if test -n "$ac_subst_files"; then
2078 $as_echo "## ------------------- ##
2079 ## File substitutions. ##
2080 ## ------------------- ##"
2082 for ac_var in $ac_subst_files
2084 eval ac_val=\$$ac_var
2086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2088 $as_echo "$ac_var='\''$ac_val'\''"
2093 if test -s confdefs.h; then
2094 $as_echo "## ----------- ##
2101 test "$ac_signal" != 0 &&
2102 $as_echo "$as_me: caught signal $ac_signal"
2103 $as_echo "$as_me: exit $exit_status"
2105 rm -f core *.core core.conftest.* &&
2106 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2109 for ac_signal in 1 2 13 15; do
2110 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2115 rm -f -r conftest* confdefs.h
2117 $as_echo "/* confdefs.h */" > confdefs.h
2119 # Predefined preprocessor variables.
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_NAME "$PACKAGE_NAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_STRING "$PACKAGE_STRING"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_URL "$PACKAGE_URL"
2146 # Let the site file select an alternate cache file if it wants to.
2147 # Prefer an explicitly selected file to automatically selected ones.
2150 if test -n "$CONFIG_SITE"; then
2151 # We do not want a PATH search for config.site.
2152 case $CONFIG_SITE in #((
2153 -*) ac_site_file1=./$CONFIG_SITE;;
2154 */*) ac_site_file1=$CONFIG_SITE;;
2155 *) ac_site_file1=./$CONFIG_SITE;;
2157 elif test "x$prefix" != xNONE; then
2158 ac_site_file1=$prefix/share/config.site
2159 ac_site_file2=$prefix/etc/config.site
2161 ac_site_file1=$ac_default_prefix/share/config.site
2162 ac_site_file2=$ac_default_prefix/etc/config.site
2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2166 test "x$ac_site_file" = xNONE && continue
2167 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2170 sed 's/^/| /' "$ac_site_file" >&5
2172 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174 as_fn_error $? "failed to load site script $ac_site_file
2175 See \`config.log' for more details" "$LINENO" 5; }
2179 if test -r "$cache_file"; then
2180 # Some versions of bash will fail to source /dev/null (special files
2181 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2182 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
2186 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2187 *) . "./$cache_file";;
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
2196 # Check that the precious variables saved in the cache have kept the same
2198 ac_cache_corrupted=false
2199 for ac_var in $ac_precious_vars; do
2200 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2201 eval ac_new_set=\$ac_env_${ac_var}_set
2202 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2203 eval ac_new_val=\$ac_env_${ac_var}_value
2204 case $ac_old_set,$ac_new_set in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2212 ac_cache_corrupted=: ;;
2215 if test "x$ac_old_val" != "x$ac_new_val"; then
2216 # differences in whitespace do not lead to failure.
2217 ac_old_val_w=`echo x $ac_old_val`
2218 ac_new_val_w=`echo x $ac_new_val`
2219 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2222 ac_cache_corrupted=:
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2226 eval $ac_var=\$ac_old_val
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2229 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2231 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2234 # Pass precious variables to config.status.
2235 if test "$ac_new_set" = set; then
2237 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 *) ac_arg=$ac_var=$ac_new_val ;;
2240 case " $ac_configure_args " in
2241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2242 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2246 if $ac_cache_corrupted; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2251 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2253 ## -------------------- ##
2254 ## Main body of script. ##
2255 ## -------------------- ##
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2265 ac_config_headers="$ac_config_headers config.h"
2270 for ac_dir in build-aux "$srcdir"/build-aux; do
2271 if test -f "$ac_dir/install-sh"; then
2273 ac_install_sh="$ac_aux_dir/install-sh -c"
2275 elif test -f "$ac_dir/install.sh"; then
2277 ac_install_sh="$ac_aux_dir/install.sh -c"
2279 elif test -f "$ac_dir/shtool"; then
2281 ac_install_sh="$ac_aux_dir/shtool install -c"
2285 if test -z "$ac_aux_dir"; then
2286 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2289 # These three variables are undocumented and unsupported,
2290 # and are intended to be withdrawn in a future Autoconf release.
2291 # They can cause serious problems if a builder's source tree is in a directory
2292 # whose full name contains unusual characters.
2293 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2294 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2295 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2299 am__api_version='1.11'
2301 # Find a good install program. We prefer a C program (faster),
2302 # so one script is as good as another. But avoid the broken or
2303 # incompatible versions:
2304 # SysV /etc/install, /usr/sbin/install
2305 # SunOS /usr/etc/install
2306 # IRIX /sbin/install
2308 # AmigaOS /C/install, which installs bootblocks on floppy discs
2309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2312 # OS/2's system install, which has a completely different semantic
2313 # ./install, which can be erroneously created by make from ./install.sh.
2314 # Reject install programs that cannot install multiple files.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2316 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2317 if test -z "$INSTALL"; then
2318 if ${ac_cv_path_install+:} false; then :
2319 $as_echo_n "(cached) " >&6
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 # Account for people who put trailing slashes in PATH elements.
2327 case $as_dir/ in #((
2328 ./ | .// | /[cC]/* | \
2329 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2330 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2333 # OSF1 and SCO ODT 3.0 have their own names for install.
2334 # Don't use installbsd from OSF since it installs stuff as root
2336 for ac_prog in ginstall scoinst install; do
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2339 if test $ac_prog = install &&
2340 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341 # AIX install. It has an incompatible calling convention.
2343 elif test $ac_prog = install &&
2344 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345 # program-specific install script used by HP pwplus--don't use.
2348 rm -rf conftest.one conftest.two conftest.dir
2349 echo one > conftest.one
2350 echo two > conftest.two
2352 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2353 test -s conftest.one && test -s conftest.two &&
2354 test -s conftest.dir/conftest.one &&
2355 test -s conftest.dir/conftest.two
2357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2370 rm -rf conftest.one conftest.two conftest.dir
2373 if test "${ac_cv_path_install+set}" = set; then
2374 INSTALL=$ac_cv_path_install
2376 # As a last resort, use the slow shell script. Don't cache a
2377 # value for INSTALL within a source directory, because that will
2378 # break other packages using the cache if that directory is
2379 # removed, or if the value is a relative name.
2380 INSTALL=$ac_install_sh
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2384 $as_echo "$INSTALL" >&6; }
2386 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2387 # It thinks the first close brace ends the variable substitution.
2388 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2390 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2392 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2395 $as_echo_n "checking whether build environment is sane... " >&6; }
2398 echo timestamp > conftest.file
2399 # Reject unsafe characters in $srcdir or the absolute working directory
2400 # name. Accept space and tab only in the latter.
2404 *[\\\"\#\$\&\'\`$am_lf]*)
2405 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2408 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2409 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2412 # Do `set' in a subshell so we don't clobber the current shell's
2413 # arguments. Must try -L first in case configure is actually a
2414 # symlink; some systems play weird games with the mod time of symlinks
2415 # (eg FreeBSD returns the mod time of the symlink's containing
2418 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2419 if test "$*" = "X"; then
2421 set X `ls -t "$srcdir/configure" conftest.file`
2424 if test "$*" != "X $srcdir/configure conftest.file" \
2425 && test "$*" != "X conftest.file $srcdir/configure"; then
2427 # If neither matched, then we have a broken ls. This can happen
2428 # if, for instance, CONFIG_SHELL is bash and it inherits a
2429 # broken ls alias from the environment. This has actually
2430 # happened. Such a system could not be considered "sane".
2431 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2432 alias in your environment" "$LINENO" 5
2435 test "$2" = conftest.file
2441 as_fn_error $? "newly created file is older than distributed files!
2442 Check your system clock" "$LINENO" 5
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2446 test "$program_prefix" != NONE &&
2447 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2448 # Use a double $ so make ignores it.
2449 test "$program_suffix" != NONE &&
2450 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2451 # Double any \ or $.
2452 # By default was `s,x,x', remove it if useless.
2453 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2454 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2456 # expand $ac_aux_dir to an absolute path
2457 am_aux_dir=`cd $ac_aux_dir && pwd`
2459 if test x"${MISSING+set}" != xset; then
2462 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2464 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2467 # Use eval to expand $SHELL
2468 if eval "$MISSING --run true"; then
2469 am_missing_run="$MISSING --run "
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2473 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2476 if test x"${install_sh}" != xset; then
2479 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2481 install_sh="\${SHELL} $am_aux_dir/install-sh"
2485 # Installed binaries are usually stripped using `strip' when the user
2486 # run `make install-strip'. However `strip' might not be the right
2487 # tool to use in cross-compilation environments, therefore Automake
2488 # will honor the `STRIP' environment variable to overrule this program.
2489 if test "$cross_compiling" != no; then
2490 if test -n "$ac_tool_prefix"; then
2491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2492 set dummy ${ac_tool_prefix}strip; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_STRIP+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 if test -n "$STRIP"; then
2499 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 STRIP=$ac_cv_prog_STRIP
2519 if test -n "$STRIP"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2521 $as_echo "$STRIP" >&6; }
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2529 if test -z "$ac_cv_prog_STRIP"; then
2531 # Extract the first word of "strip", so it can be a program name with args.
2532 set dummy strip; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$ac_ct_STRIP"; then
2539 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_ac_ct_STRIP="strip"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2559 if test -n "$ac_ct_STRIP"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2561 $as_echo "$ac_ct_STRIP" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2567 if test "x$ac_ct_STRIP" = x; then
2570 case $cross_compiling:$ac_tool_warned in
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2574 ac_tool_warned=yes ;;
2579 STRIP="$ac_cv_prog_STRIP"
2583 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2586 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2587 if test -z "$MKDIR_P"; then
2588 if ${ac_cv_path_mkdir+:} false; then :
2589 $as_echo_n "(cached) " >&6
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2595 test -z "$as_dir" && as_dir=.
2596 for ac_prog in mkdir gmkdir; do
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2599 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2600 'mkdir (GNU coreutils) '* | \
2601 'mkdir (coreutils) '* | \
2602 'mkdir (fileutils) '4.1*)
2603 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2613 test -d ./--version && rmdir ./--version
2614 if test "${ac_cv_path_mkdir+set}" = set; then
2615 MKDIR_P="$ac_cv_path_mkdir -p"
2617 # As a last resort, use the slow shell script. Don't cache a
2618 # value for MKDIR_P within a source directory, because that will
2619 # break other packages using the cache if that directory is
2620 # removed, or if the value is a relative name.
2621 MKDIR_P="$ac_install_sh -d"
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2625 $as_echo "$MKDIR_P" >&6; }
2629 [\\/$]* | ?:[\\/]*) ;;
2630 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2633 for ac_prog in gawk mawk nawk awk
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy $ac_prog; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_AWK+:} false; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$AWK"; then
2643 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_AWK="$ac_prog"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$AWK"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2665 $as_echo "$AWK" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2672 test -n "$AWK" && break
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2676 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2678 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2679 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2680 $as_echo_n "(cached) " >&6
2682 cat >conftest.make <<\_ACEOF
2685 @echo '@@@%%%=$(MAKE)=@@@%%%'
2687 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2688 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2690 eval ac_cv_prog_make_${ac_make}_set=yes;;
2692 eval ac_cv_prog_make_${ac_make}_set=no;;
2696 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2698 $as_echo "yes" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703 SET_MAKE="MAKE=${MAKE-make}"
2706 rm -rf .tst 2>/dev/null
2707 mkdir .tst 2>/dev/null
2708 if test -d .tst; then
2713 rmdir .tst 2>/dev/null
2715 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2716 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2717 # is not polluted with repeated "-I."
2718 am__isrc=' -I$(srcdir)'
2719 # test to see if srcdir already configured
2720 if test -f $srcdir/config.status; then
2721 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2725 # test whether we have cygpath
2726 if test -z "$CYGPATH_W"; then
2727 if (cygpath --version) >/dev/null 2>/dev/null; then
2728 CYGPATH_W='cygpath -w'
2735 # Define the identity of the package.
2740 cat >>confdefs.h <<_ACEOF
2741 #define PACKAGE "$PACKAGE"
2745 cat >>confdefs.h <<_ACEOF
2746 #define VERSION "$VERSION"
2749 # Some tools Automake needs.
2751 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2754 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2757 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2760 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2763 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2765 # We need awk for the "check" target. The system "awk" is bad on
2767 # Always define AMTAR for backward compatibility. Yes, it's still used
2768 # in the wild :-( We should find a proper way to deprecate it ...
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2773 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2774 # Loop over all known methods to create a tar archive until one works.
2775 _am_tools='gnutar plaintar pax cpio none'
2776 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2777 # Do not fold the above two line into one, because Tru64 sh and
2778 # Solaris sh will not grok spaces in the rhs of `-'.
2779 for _am_tool in $_am_tools
2783 for _am_tar in tar gnutar gtar;
2785 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2786 ($_am_tar --version) >&5 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } && break
2791 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2792 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2793 am__untar="$_am_tar -xf -"
2796 # Must skip GNU tar: if it does not support --format= it doesn't create
2797 # ustar tarball either.
2798 (tar --version) >/dev/null 2>&1 && continue
2799 am__tar='tar chf - "$$tardir"'
2800 am__tar_='tar chf - "$tardir"'
2801 am__untar='tar xf -'
2804 am__tar='pax -L -x ustar -w "$$tardir"'
2805 am__tar_='pax -L -x ustar -w "$tardir"'
2809 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2810 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2811 am__untar='cpio -i -H ustar -d'
2820 # If the value was cached, stop now. We just wanted to have am__tar
2821 # and am__untar set.
2822 test -n "${am_cv_prog_tar_ustar}" && break
2824 # tar/untar a dummy directory, and stop if the command works
2827 echo GrepMe > conftest.dir/file
2828 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2829 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }
2834 if test -s conftest.tar; then
2835 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2836 ($am__untar <conftest.tar) >&5 2>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }
2840 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2845 if ${am_cv_prog_tar_ustar+:} false; then :
2846 $as_echo_n "(cached) " >&6
2848 am_cv_prog_tar_ustar=$_am_tool
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2852 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2861 # Check whether --enable-maintainer-mode was given.
2862 if test "${enable_maintainer_mode+set}" = set; then :
2863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2865 USE_MAINTAINER_MODE=yes
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2870 if test $USE_MAINTAINER_MODE = yes; then
2871 MAINTAINER_MODE_TRUE=
2872 MAINTAINER_MODE_FALSE='#'
2874 MAINTAINER_MODE_TRUE='#'
2875 MAINTAINER_MODE_FALSE=
2878 MAINT=$MAINTAINER_MODE_TRUE
2882 # Check whether --enable-silent-rules was given.
2883 if test "${enable_silent_rules+set}" = set; then :
2884 enableval=$enable_silent_rules;
2887 case $enable_silent_rules in
2888 yes) AM_DEFAULT_VERBOSITY=0;;
2889 no) AM_DEFAULT_VERBOSITY=1;;
2890 *) AM_DEFAULT_VERBOSITY=0;;
2892 am_make=${MAKE-make}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2894 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2895 if ${am_cv_make_support_nested_variables+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if $as_echo 'TRUE=$(BAR$(V))
2904 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2905 am_cv_make_support_nested_variables=yes
2907 am_cv_make_support_nested_variables=no
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2911 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2912 if test $am_cv_make_support_nested_variables = yes; then
2914 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2916 AM_V=$AM_DEFAULT_VERBOSITY
2917 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2922 DEPDIR="${am__leading_dot}deps"
2924 ac_config_commands="$ac_config_commands depfiles"
2927 am_make=${MAKE-make}
2928 cat > confinc << 'END'
2930 @echo this is the am__doit target
2933 # If we don't find an include directive, just comment out the code.
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2939 # First try GNU make style include.
2940 echo "include confinc" > confmf
2941 # Ignore all kinds of additional output from `make'.
2942 case `$am_make -s -f confmf 2> /dev/null` in #(
2943 *the\ am__doit\ target*)
2949 # Now try BSD make style include.
2950 if test "$am__include" = "#"; then
2951 echo '.include "confinc"' > confmf
2952 case `$am_make -s -f confmf 2> /dev/null` in #(
2953 *the\ am__doit\ target*)
2954 am__include=.include
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2963 $as_echo "$_am_result" >&6; }
2964 rm -f confinc confmf
2966 # Check whether --enable-dependency-tracking was given.
2967 if test "${enable_dependency_tracking+set}" = set; then :
2968 enableval=$enable_dependency_tracking;
2971 if test "x$enable_dependency_tracking" != xno; then
2972 am_depcomp="$ac_aux_dir/depcomp"
2976 if test "x$enable_dependency_tracking" != xno; then
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 if test -n "$ac_tool_prefix"; then
2991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3029 if test -z "$ac_cv_prog_CC"; then
3031 # Extract the first word of "gcc", so it can be a program name with args.
3032 set dummy gcc; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$ac_ct_CC"; then
3039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CC="gcc"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3067 if test "x$ac_ct_CC" = x; then
3070 case $cross_compiling:$ac_tool_warned in
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned=yes ;;
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3085 set dummy ${ac_tool_prefix}cc; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC="$CC" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_CC="${ac_tool_prefix}cc"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3123 if test -z "$CC"; then
3124 # Extract the first word of "cc", so it can be a program name with args.
3125 set dummy cc; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$CC"; then
3132 ac_cv_prog_CC="$CC" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3143 ac_prog_rejected=yes
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 if test $ac_prog_rejected = yes; then
3155 # We found a bogon in the path, so make sure we never use it.
3156 set dummy $ac_cv_prog_CC
3158 if test $# != 0; then
3159 # We chose a different compiler from the bogus one.
3160 # However, it has the same basename, so the bogon will be chosen
3161 # first if we set CC to just the basename; use the full file name.
3163 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog in cl.exe
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3220 test -n "$CC" && break
3223 if test -z "$CC"; then
3225 for ac_prog in cl.exe
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3232 $as_echo_n "(cached) " >&6
3234 if test -n "$ac_ct_CC"; then
3235 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_ac_ct_CC="$ac_prog"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 $as_echo "$ac_ct_CC" >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3264 test -n "$ac_ct_CC" && break
3267 if test "x$ac_ct_CC" = x; then
3270 case $cross_compiling:$ac_tool_warned in
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 # Provide some information about the compiler.
3289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3292 for ac_option in --version -v -V -qversion; do
3293 { { ac_try="$ac_compiler $ac_option >&5"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3302 if test -s conftest.err; then
3304 ... rest of stderr output deleted ...
3305 10q' conftest.err >conftest.er1
3306 cat conftest.er1 >&5
3308 rm -f conftest.er1 conftest.err
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 ac_clean_files_save=$ac_clean_files
3325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3326 # Try to create an executable without -o first, disregard a.out.
3327 # It will help us diagnose broken compilers, and finding out an intuition
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3330 $as_echo_n "checking whether the C compiler works... " >&6; }
3331 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3333 # The possible output files:
3334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3337 for ac_file in $ac_files
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3341 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3346 if { { ac_try="$ac_link_default"
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link_default") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3359 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3360 # so that the user can short-circuit this test for compilers unknown to
3362 for ac_file in $ac_files ''
3364 test -f "$ac_file" || continue
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3369 # We found the default executable, but exeext='' is most
3373 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3375 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 # We set ac_cv_exeext here because the later test for it is not
3378 # safe: cross compilers may not add the suffix if given an `-o'
3379 # argument, so we may need to know it at that point already.
3380 # Even if this section looks crufty: it has the advantage of
3387 test "$ac_cv_exeext" = no && ac_cv_exeext=
3392 if test -z "$ac_file"; then :
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error 77 "C compiler cannot create executables
3401 See \`config.log' for more details" "$LINENO" 5; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3404 $as_echo "yes" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3409 $as_echo "$ac_file" >&6; }
3410 ac_exeext=$ac_cv_exeext
3412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415 $as_echo_n "checking for suffix of executables... " >&6; }
3416 if { { ac_try="$ac_link"
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }; then :
3427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3431 for ac_file in conftest.exe conftest conftest.*; do
3432 test -f "$ac_file" || continue
3434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3444 See \`config.log' for more details" "$LINENO" 5; }
3446 rm -f conftest conftest$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448 $as_echo "$ac_cv_exeext" >&6; }
3450 rm -f conftest.$ac_ext
3451 EXEEXT=$ac_cv_exeext
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3459 FILE *f = fopen ("conftest.out", "w");
3460 return ferror (f) || fclose (f) != 0;
3466 ac_clean_files="$ac_clean_files conftest.out"
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3470 $as_echo_n "checking whether we are cross compiling... " >&6; }
3471 if test "$cross_compiling" != yes; then
3472 { { ac_try="$ac_link"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link") 2>&5
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }
3483 if { ac_try='./conftest$ac_cv_exeext'
3484 { { case "(($ac_try" in
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_try") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; }; then
3496 if test "$cross_compiling" = maybe; then
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $? "cannot run C compiled programs.
3502 If you meant to cross compile, use \`--host'.
3503 See \`config.log' for more details" "$LINENO" 5; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3508 $as_echo "$cross_compiling" >&6; }
3510 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3511 ac_clean_files=$ac_clean_files_save
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3513 $as_echo_n "checking for suffix of object files... " >&6; }
3514 if ${ac_cv_objext+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 rm -f conftest.o conftest.obj
3529 if { { ac_try="$ac_compile"
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_compile") 2>&5
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 for ac_file in conftest.o conftest.obj conftest.*; do
3541 test -f "$ac_file" || continue;
3543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3549 $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of object files: cannot compile
3555 See \`config.log' for more details" "$LINENO" 5; }
3557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3560 $as_echo "$ac_cv_objext" >&6; }
3561 OBJEXT=$ac_cv_objext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3582 if ac_fn_c_try_compile "$LINENO"; then :
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3598 ac_test_CFLAGS=${CFLAGS+set}
3599 ac_save_CFLAGS=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_save_c_werror_flag=$ac_c_werror_flag
3606 ac_c_werror_flag=yes
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_c_try_compile "$LINENO"; then :
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3635 if ac_fn_c_try_compile "$LINENO"; then :
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile "$LINENO"; then :
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 ac_c_werror_flag=$ac_save_c_werror_flag
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664 CFLAGS=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666 if test "$GCC" = yes; then
3672 if test "$GCC" = yes; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 ac_cv_prog_cc_c89=no
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3704 s = g (p, va_arg (v,int));
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not '\xHH' hex character constants.
3711 These don't provoke an error unfortunately, instead are silently treated
3712 as 'x'. The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3714 array size at least. It's necessary to write '\x00'==0 to get something
3715 that's true only with -std. */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3740 CC="$ac_save_CC $ac_arg"
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 ac_cv_prog_cc_c89=$ac_arg
3744 rm -f core conftest.err conftest.$ac_objext
3745 test "x$ac_cv_prog_cc_c89" != "xno" && break
3747 rm -f conftest.$ac_ext
3752 case "x$ac_cv_prog_cc_c89" in
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3760 CC="$CC $ac_cv_prog_cc_c89"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3764 if test "x$ac_cv_prog_cc_c89" != xno; then :
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 depcc="$CC" am_compiler_list=
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3777 $as_echo_n "checking dependency style of $depcc... " >&6; }
3778 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3779 $as_echo_n "(cached) " >&6
3781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3782 # We make a subdir and do the tests there. Otherwise we can end up
3783 # making bogus files that we don't know about and never remove. For
3784 # instance it was reported that on HP-UX the gcc test will end up
3785 # making a dummy file named `D' -- because `-MD' means `put the output
3789 # Copy depcomp to subdir because otherwise we won't find it if we're
3790 # using a relative directory.
3791 cp "$am_depcomp" conftest.dir
3793 # We will build objects and dependencies in a subdirectory because
3794 # it helps to detect inapplicable dependency modes. For instance
3795 # both Tru64's cc and ICC support -MD to output dependencies as a
3796 # side effect of compilation, but ICC will put the dependencies in
3797 # the current directory while Tru64 will put them in the object
3801 am_cv_CC_dependencies_compiler_type=none
3802 if test "$am_compiler_list" = ""; then
3803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3806 case " $depcc " in #(
3807 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3810 for depmode in $am_compiler_list; do
3811 # Setup a source with many dependencies, because some compilers
3812 # like to wrap large dependency lists on column 80 (with \), and
3813 # we should not choose a depcomp mode which is confused by this.
3815 # We need to recreate these files for each test, as the compiler may
3816 # overwrite some of them when testing with obscure command lines.
3817 # This happens at least with the AIX C compiler.
3819 for i in 1 2 3 4 5 6; do
3820 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3822 # Solaris 8's {/usr,}/bin/sh.
3823 touch sub/conftst$i.h
3825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3827 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3828 # mode. It turns out that the SunPro C++ compiler does not properly
3829 # handle `-M -o', and we need to detect this. Also, some Intel
3830 # versions had trouble with output in subdirs
3831 am__obj=sub/conftest.${OBJEXT-o}
3832 am__minus_obj="-o $am__obj"
3835 # This depmode causes a compiler race in universal mode.
3836 test "$am__universal" = false || continue
3839 # after this tag, mechanisms are not by side-effect, so they'll
3840 # only be used when explicitly requested
3841 if test "x$enable_dependency_tracking" = xyes; then
3847 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3848 # This compiler won't grok `-c -o', but also, the minuso test has
3849 # not run yet. These depmodes are late enough in the game, and
3850 # so weak that their functioning should not be impacted.
3851 am__obj=conftest.${OBJEXT-o}
3856 if depmode=$depmode \
3857 source=sub/conftest.c object=$am__obj \
3858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3859 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3860 >/dev/null 2>conftest.err &&
3861 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3863 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3865 # icc doesn't choke on unknown options, it will just issue warnings
3866 # or remarks (even with -Werror). So we grep stderr for any message
3867 # that says an option was ignored or not supported.
3868 # When given -MP, icc 7.0 and 7.1 complain thusly:
3869 # icc: Command line warning: ignoring option '-M'; no argument required
3870 # The diagnosis changed in icc 8.0:
3871 # icc: Command line remark: option '-MP' not supported
3872 if (grep 'ignoring option' conftest.err ||
3873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3874 am_cv_CC_dependencies_compiler_type=$depmode
3883 am_cv_CC_dependencies_compiler_type=none
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3888 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3889 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3892 test "x$enable_dependency_tracking" != xno \
3893 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3895 am__fastdepCC_FALSE='#'
3897 am__fastdepCC_TRUE='#'
3898 am__fastdepCC_FALSE=
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3904 $as_echo_n "checking for library containing strerror... " >&6; }
3905 if ${ac_cv_search_strerror+:} false; then :
3906 $as_echo_n "(cached) " >&6
3908 ac_func_search_save_LIBS=$LIBS
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3912 /* Override any GCC internal prototype to avoid an error.
3913 Use char because int might match the return type of a GCC
3914 builtin and then its argument prototype would still apply. */
3927 for ac_lib in '' cposix; do
3928 if test -z "$ac_lib"; then
3929 ac_res="none required"
3932 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3934 if ac_fn_c_try_link "$LINENO"; then :
3935 ac_cv_search_strerror=$ac_res
3937 rm -f core conftest.err conftest.$ac_objext \
3939 if ${ac_cv_search_strerror+:} false; then :
3943 if ${ac_cv_search_strerror+:} false; then :
3946 ac_cv_search_strerror=no
3949 LIBS=$ac_func_search_save_LIBS
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3952 $as_echo "$ac_cv_search_strerror" >&6; }
3953 ac_res=$ac_cv_search_strerror
3954 if test "$ac_res" != no; then :
3955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964 if test -n "$ac_tool_prefix"; then
3965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_CC+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$CC"; then
3973 ac_cv_prog_CC="$CC" # Let the user override the test.
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 if test -n "$CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3995 $as_echo "$CC" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4003 if test -z "$ac_cv_prog_CC"; then
4005 # Extract the first word of "gcc", so it can be a program name with args.
4006 set dummy gcc; ac_word=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -n "$ac_ct_CC"; then
4013 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir=.
4020 for ac_exec_ext in '' $ac_executable_extensions; do
4021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_ac_ct_CC="gcc"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4033 if test -n "$ac_ct_CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4035 $as_echo "$ac_ct_CC" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4041 if test "x$ac_ct_CC" = x; then
4044 case $cross_compiling:$ac_tool_warned in
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4048 ac_tool_warned=yes ;;
4056 if test -z "$CC"; then
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4059 set dummy ${ac_tool_prefix}cc; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC="$CC" # Let the user override the test.
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CC="${ac_tool_prefix}cc"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 if test -n "$CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4097 if test -z "$CC"; then
4098 # Extract the first word of "cc", so it can be a program name with args.
4099 set dummy cc; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_CC+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$CC"; then
4106 ac_cv_prog_CC="$CC" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4117 ac_prog_rejected=yes
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 if test $ac_prog_rejected = yes; then
4129 # We found a bogon in the path, so make sure we never use it.
4130 set dummy $ac_cv_prog_CC
4132 if test $# != 0; then
4133 # We chose a different compiler from the bogus one.
4134 # However, it has the same basename, so the bogon will be chosen
4135 # first if we set CC to just the basename; use the full file name.
4137 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4143 if test -n "$CC"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4145 $as_echo "$CC" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4153 if test -z "$CC"; then
4154 if test -n "$ac_tool_prefix"; then
4155 for ac_prog in cl.exe
4157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_CC+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$CC"; then
4165 ac_cv_prog_CC="$CC" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 if test -n "$CC"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4187 $as_echo "$CC" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4194 test -n "$CC" && break
4197 if test -z "$CC"; then
4199 for ac_prog in cl.exe
4201 # Extract the first word of "$ac_prog", so it can be a program name with args.
4202 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4206 $as_echo_n "(cached) " >&6
4208 if test -n "$ac_ct_CC"; then
4209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_CC="$ac_prog"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4229 if test -n "$ac_ct_CC"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4231 $as_echo "$ac_ct_CC" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4238 test -n "$ac_ct_CC" && break
4241 if test "x$ac_ct_CC" = x; then
4244 case $cross_compiling:$ac_tool_warned in
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $? "no acceptable C compiler found in \$PATH
4260 See \`config.log' for more details" "$LINENO" 5; }
4262 # Provide some information about the compiler.
4263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4266 for ac_option in --version -v -V -qversion; do
4267 { { ac_try="$ac_compiler $ac_option >&5"
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4276 if test -s conftest.err; then
4278 ... rest of stderr output deleted ...
4279 10q' conftest.err >conftest.er1
4280 cat conftest.er1 >&5
4282 rm -f conftest.er1 conftest.err
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4289 if ${ac_cv_c_compiler_gnu+:} false; then :
4290 $as_echo_n "(cached) " >&6
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4306 if ac_fn_c_try_compile "$LINENO"; then :
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4317 if test $ac_compiler_gnu = yes; then
4322 ac_test_CFLAGS=${CFLAGS+set}
4323 ac_save_CFLAGS=$CFLAGS
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4326 if ${ac_cv_prog_cc_g+:} false; then :
4327 $as_echo_n "(cached) " >&6
4329 ac_save_c_werror_flag=$ac_c_werror_flag
4330 ac_c_werror_flag=yes
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4344 if ac_fn_c_try_compile "$LINENO"; then :
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_c_try_compile "$LINENO"; then :
4362 ac_c_werror_flag=$ac_save_c_werror_flag
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4375 if ac_fn_c_try_compile "$LINENO"; then :
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4386 $as_echo "$ac_cv_prog_cc_g" >&6; }
4387 if test "$ac_test_CFLAGS" = set; then
4388 CFLAGS=$ac_save_CFLAGS
4389 elif test $ac_cv_prog_cc_g = yes; then
4390 if test "$GCC" = yes; then
4396 if test "$GCC" = yes; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4404 if ${ac_cv_prog_cc_c89+:} false; then :
4405 $as_echo_n "(cached) " >&6
4407 ac_cv_prog_cc_c89=no
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4415 struct buf { int x; };
4416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4417 static char *e (p, i)
4423 static char *f (char * (*g) (char **, int), char **p, ...)
4428 s = g (p, va_arg (v,int));
4433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4434 function prototypes and stuff, but not '\xHH' hex character constants.
4435 These don't provoke an error unfortunately, instead are silently treated
4436 as 'x'. The following induces an error, until -std is added to get
4437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4438 array size at least. It's necessary to write '\x00'==0 to get something
4439 that's true only with -std. */
4440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4443 inside strings and character constants. */
4445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4447 int test (int i, double x);
4448 struct s1 {int (*f) (int a);};
4449 struct s2 {int (*f) (double a);};
4450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4464 CC="$ac_save_CC $ac_arg"
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 ac_cv_prog_cc_c89=$ac_arg
4468 rm -f core conftest.err conftest.$ac_objext
4469 test "x$ac_cv_prog_cc_c89" != "xno" && break
4471 rm -f conftest.$ac_ext
4476 case "x$ac_cv_prog_cc_c89" in
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4479 $as_echo "none needed" >&6; } ;;
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4482 $as_echo "unsupported" >&6; } ;;
4484 CC="$CC $ac_cv_prog_cc_c89"
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4488 if test "x$ac_cv_prog_cc_c89" != xno; then :
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 depcc="$CC" am_compiler_list=
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4501 $as_echo_n "checking dependency style of $depcc... " >&6; }
4502 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4506 # We make a subdir and do the tests there. Otherwise we can end up
4507 # making bogus files that we don't know about and never remove. For
4508 # instance it was reported that on HP-UX the gcc test will end up
4509 # making a dummy file named `D' -- because `-MD' means `put the output
4513 # Copy depcomp to subdir because otherwise we won't find it if we're
4514 # using a relative directory.
4515 cp "$am_depcomp" conftest.dir
4517 # We will build objects and dependencies in a subdirectory because
4518 # it helps to detect inapplicable dependency modes. For instance
4519 # both Tru64's cc and ICC support -MD to output dependencies as a
4520 # side effect of compilation, but ICC will put the dependencies in
4521 # the current directory while Tru64 will put them in the object
4525 am_cv_CC_dependencies_compiler_type=none
4526 if test "$am_compiler_list" = ""; then
4527 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4530 case " $depcc " in #(
4531 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4534 for depmode in $am_compiler_list; do
4535 # Setup a source with many dependencies, because some compilers
4536 # like to wrap large dependency lists on column 80 (with \), and
4537 # we should not choose a depcomp mode which is confused by this.
4539 # We need to recreate these files for each test, as the compiler may
4540 # overwrite some of them when testing with obscure command lines.
4541 # This happens at least with the AIX C compiler.
4543 for i in 1 2 3 4 5 6; do
4544 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4545 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4546 # Solaris 8's {/usr,}/bin/sh.
4547 touch sub/conftst$i.h
4549 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4552 # mode. It turns out that the SunPro C++ compiler does not properly
4553 # handle `-M -o', and we need to detect this. Also, some Intel
4554 # versions had trouble with output in subdirs
4555 am__obj=sub/conftest.${OBJEXT-o}
4556 am__minus_obj="-o $am__obj"
4559 # This depmode causes a compiler race in universal mode.
4560 test "$am__universal" = false || continue
4563 # after this tag, mechanisms are not by side-effect, so they'll
4564 # only be used when explicitly requested
4565 if test "x$enable_dependency_tracking" = xyes; then
4571 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4572 # This compiler won't grok `-c -o', but also, the minuso test has
4573 # not run yet. These depmodes are late enough in the game, and
4574 # so weak that their functioning should not be impacted.
4575 am__obj=conftest.${OBJEXT-o}
4580 if depmode=$depmode \
4581 source=sub/conftest.c object=$am__obj \
4582 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4583 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4584 >/dev/null 2>conftest.err &&
4585 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4586 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4587 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4588 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4589 # icc doesn't choke on unknown options, it will just issue warnings
4590 # or remarks (even with -Werror). So we grep stderr for any message
4591 # that says an option was ignored or not supported.
4592 # When given -MP, icc 7.0 and 7.1 complain thusly:
4593 # icc: Command line warning: ignoring option '-M'; no argument required
4594 # The diagnosis changed in icc 8.0:
4595 # icc: Command line remark: option '-MP' not supported
4596 if (grep 'ignoring option' conftest.err ||
4597 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4598 am_cv_CC_dependencies_compiler_type=$depmode
4607 am_cv_CC_dependencies_compiler_type=none
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4612 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4616 test "x$enable_dependency_tracking" != xno \
4617 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4619 am__fastdepCC_FALSE='#'
4621 am__fastdepCC_TRUE='#'
4622 am__fastdepCC_FALSE=
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4632 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4633 # On Suns, sometimes $CPP names a directory.
4634 if test -n "$CPP" && test -d "$CPP"; then
4637 if test -z "$CPP"; then
4638 if ${ac_cv_prog_CPP+:} false; then :
4639 $as_echo_n "(cached) " >&6
4641 # Double quotes because CPP needs to be expanded
4642 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4645 for ac_c_preproc_warn_flag in '' yes
4647 # Use a header file that comes with gcc, so configuring glibc
4648 # with a fresh cross-compiler works.
4649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4650 # <limits.h> exists even on freestanding compilers.
4651 # On the NeXT, cc -E runs the code through the compiler's parser,
4652 # not just through cpp. "Syntax error" is here to catch this case.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4656 # include <limits.h>
4658 # include <assert.h>
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: fails on valid input.
4668 rm -f conftest.err conftest.i conftest.$ac_ext
4670 # OK, works on sane cases. Now check whether nonexistent headers
4671 # can be detected and how.
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4674 #include <ac_nonexistent.h>
4676 if ac_fn_c_try_cpp "$LINENO"; then :
4677 # Broken: success on invalid input.
4680 # Passes both tests.
4684 rm -f conftest.err conftest.i conftest.$ac_ext
4687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688 rm -f conftest.i conftest.err conftest.$ac_ext
4689 if $ac_preproc_ok; then :
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4702 $as_echo "$CPP" >&6; }
4704 for ac_c_preproc_warn_flag in '' yes
4706 # Use a header file that comes with gcc, so configuring glibc
4707 # with a fresh cross-compiler works.
4708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709 # <limits.h> exists even on freestanding compilers.
4710 # On the NeXT, cc -E runs the code through the compiler's parser,
4711 # not just through cpp. "Syntax error" is here to catch this case.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4715 # include <limits.h>
4717 # include <assert.h>
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: fails on valid input.
4727 rm -f conftest.err conftest.i conftest.$ac_ext
4729 # OK, works on sane cases. Now check whether nonexistent headers
4730 # can be detected and how.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #include <ac_nonexistent.h>
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736 # Broken: success on invalid input.
4739 # Passes both tests.
4743 rm -f conftest.err conftest.i conftest.$ac_ext
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.i conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4753 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4754 See \`config.log' for more details" "$LINENO" 5; }
4758 ac_cpp='$CPP $CPPFLAGS'
4759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4765 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4766 if ${ac_cv_path_GREP+:} false; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -z "$GREP"; then
4770 ac_path_GREP_found=false
4771 # Loop through the user's path and test for each of PROGNAME-LIST
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4776 test -z "$as_dir" && as_dir=.
4777 for ac_prog in grep ggrep; do
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4780 as_fn_executable_p "$ac_path_GREP" || continue
4781 # Check for GNU ac_path_GREP and select it if it is found.
4782 # Check for GNU $ac_path_GREP
4783 case `"$ac_path_GREP" --version 2>&1` in
4785 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4788 $as_echo_n 0123456789 >"conftest.in"
4791 cat "conftest.in" "conftest.in" >"conftest.tmp"
4792 mv "conftest.tmp" "conftest.in"
4793 cp "conftest.in" "conftest.nl"
4794 $as_echo 'GREP' >> "conftest.nl"
4795 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4796 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4797 as_fn_arith $ac_count + 1 && ac_count=$as_val
4798 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4799 # Best one so far, save it but keep looking for a better one
4800 ac_cv_path_GREP="$ac_path_GREP"
4801 ac_path_GREP_max=$ac_count
4803 # 10*(2^10) chars as input seems more than enough
4804 test $ac_count -gt 10 && break
4806 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4809 $ac_path_GREP_found && break 3
4814 if test -z "$ac_cv_path_GREP"; then
4815 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4818 ac_cv_path_GREP=$GREP
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4823 $as_echo "$ac_cv_path_GREP" >&6; }
4824 GREP="$ac_cv_path_GREP"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4828 $as_echo_n "checking for egrep... " >&6; }
4829 if ${ac_cv_path_EGREP+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4833 then ac_cv_path_EGREP="$GREP -E"
4835 if test -z "$EGREP"; then
4836 ac_path_EGREP_found=false
4837 # Loop through the user's path and test for each of PROGNAME-LIST
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 test -z "$as_dir" && as_dir=.
4843 for ac_prog in egrep; do
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4846 as_fn_executable_p "$ac_path_EGREP" || continue
4847 # Check for GNU ac_path_EGREP and select it if it is found.
4848 # Check for GNU $ac_path_EGREP
4849 case `"$ac_path_EGREP" --version 2>&1` in
4851 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4854 $as_echo_n 0123456789 >"conftest.in"
4857 cat "conftest.in" "conftest.in" >"conftest.tmp"
4858 mv "conftest.tmp" "conftest.in"
4859 cp "conftest.in" "conftest.nl"
4860 $as_echo 'EGREP' >> "conftest.nl"
4861 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4863 as_fn_arith $ac_count + 1 && ac_count=$as_val
4864 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4865 # Best one so far, save it but keep looking for a better one
4866 ac_cv_path_EGREP="$ac_path_EGREP"
4867 ac_path_EGREP_max=$ac_count
4869 # 10*(2^10) chars as input seems more than enough
4870 test $ac_count -gt 10 && break
4872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4875 $ac_path_EGREP_found && break 3
4880 if test -z "$ac_cv_path_EGREP"; then
4881 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 ac_cv_path_EGREP=$EGREP
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4890 $as_echo "$ac_cv_path_EGREP" >&6; }
4891 EGREP="$ac_cv_path_EGREP"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4895 $as_echo_n "checking for ANSI C header files... " >&6; }
4896 if ${ac_cv_header_stdc+:} false; then :
4897 $as_echo_n "(cached) " >&6
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4914 if ac_fn_c_try_compile "$LINENO"; then :
4915 ac_cv_header_stdc=yes
4917 ac_cv_header_stdc=no
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 if test $ac_cv_header_stdc = yes; then
4922 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4929 $EGREP "memchr" >/dev/null 2>&1; then :
4932 ac_cv_header_stdc=no
4938 if test $ac_cv_header_stdc = yes; then
4939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4946 $EGREP "free" >/dev/null 2>&1; then :
4949 ac_cv_header_stdc=no
4955 if test $ac_cv_header_stdc = yes; then
4956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4957 if test "$cross_compiling" = yes; then :
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4964 #if ((' ' & 0x0FF) == 0x020)
4965 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4966 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4968 # define ISLOWER(c) \
4969 (('a' <= (c) && (c) <= 'i') \
4970 || ('j' <= (c) && (c) <= 'r') \
4971 || ('s' <= (c) && (c) <= 'z'))
4972 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4975 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4980 for (i = 0; i < 256; i++)
4981 if (XOR (islower (i), ISLOWER (i))
4982 || toupper (i) != TOUPPER (i))
4987 if ac_fn_c_try_run "$LINENO"; then :
4990 ac_cv_header_stdc=no
4992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4993 conftest.$ac_objext conftest.beam conftest.$ac_ext
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4999 $as_echo "$ac_cv_header_stdc" >&6; }
5000 if test $ac_cv_header_stdc = yes; then
5002 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5011 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5016 macro_version='2.4.2'
5017 macro_revision='1.3337'
5031 ltmain="$ac_aux_dir/ltmain.sh"
5033 # Make sure we can run config.sub.
5034 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5035 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5038 $as_echo_n "checking build system type... " >&6; }
5039 if ${ac_cv_build+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 ac_build_alias=$build_alias
5043 test "x$ac_build_alias" = x &&
5044 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5045 test "x$ac_build_alias" = x &&
5046 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5047 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5048 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5052 $as_echo "$ac_cv_build" >&6; }
5053 case $ac_cv_build in
5055 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5058 ac_save_IFS=$IFS; IFS='-'
5064 # Remember, the first character of IFS is used to create $*,
5065 # except with old shells:
5068 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5072 $as_echo_n "checking host system type... " >&6; }
5073 if ${ac_cv_host+:} false; then :
5074 $as_echo_n "(cached) " >&6
5076 if test "x$host_alias" = x; then
5077 ac_cv_host=$ac_cv_build
5079 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5080 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5085 $as_echo "$ac_cv_host" >&6; }
5088 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5091 ac_save_IFS=$IFS; IFS='-'
5097 # Remember, the first character of IFS is used to create $*,
5098 # except with old shells:
5101 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5104 # Backslashify metacharacters that are still active within
5105 # double-quoted strings.
5106 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5108 # Same as above, but do not quote variable references.
5109 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5111 # Sed substitution to delay expansion of an escaped shell variable in a
5112 # double_quote_subst'ed string.
5113 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5115 # Sed substitution to delay expansion of an escaped single quote.
5116 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5118 # Sed substitution to avoid accidental globbing in evaled expressions
5119 no_glob_subst='s/\*/\\\*/g'
5121 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5122 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5123 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5126 $as_echo_n "checking how to print strings... " >&6; }
5127 # Test print first, because it will be a builtin if present.
5128 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5129 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5131 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5134 # Use this function as a fallback that always works.
5135 func_fallback_echo ()
5137 eval 'cat <<_LTECHO_EOF
5141 ECHO='func_fallback_echo'
5144 # func_echo_all arg...
5145 # Invoke $ECHO with all args, space-separated.
5152 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5153 $as_echo "printf" >&6; } ;;
5154 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5155 $as_echo "print -r" >&6; } ;;
5156 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5157 $as_echo "cat" >&6; } ;;
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5174 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5175 if ${ac_cv_path_SED+:} false; then :
5176 $as_echo_n "(cached) " >&6
5178 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5179 for ac_i in 1 2 3 4 5 6 7; do
5180 ac_script="$ac_script$as_nl$ac_script"
5182 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5183 { ac_script=; unset ac_script;}
5184 if test -z "$SED"; then
5185 ac_path_SED_found=false
5186 # Loop through the user's path and test for each of PROGNAME-LIST
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir=.
5192 for ac_prog in sed gsed; do
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5195 as_fn_executable_p "$ac_path_SED" || continue
5196 # Check for GNU ac_path_SED and select it if it is found.
5197 # Check for GNU $ac_path_SED
5198 case `"$ac_path_SED" --version 2>&1` in
5200 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5203 $as_echo_n 0123456789 >"conftest.in"
5206 cat "conftest.in" "conftest.in" >"conftest.tmp"
5207 mv "conftest.tmp" "conftest.in"
5208 cp "conftest.in" "conftest.nl"
5209 $as_echo '' >> "conftest.nl"
5210 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5211 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5212 as_fn_arith $ac_count + 1 && ac_count=$as_val
5213 if test $ac_count -gt ${ac_path_SED_max-0}; then
5214 # Best one so far, save it but keep looking for a better one
5215 ac_cv_path_SED="$ac_path_SED"
5216 ac_path_SED_max=$ac_count
5218 # 10*(2^10) chars as input seems more than enough
5219 test $ac_count -gt 10 && break
5221 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5224 $ac_path_SED_found && break 3
5229 if test -z "$ac_cv_path_SED"; then
5230 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5238 $as_echo "$ac_cv_path_SED" >&6; }
5239 SED="$ac_cv_path_SED"
5242 test -z "$SED" && SED=sed
5243 Xsed="$SED -e 1s/^X//"
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5256 $as_echo_n "checking for fgrep... " >&6; }
5257 if ${ac_cv_path_FGREP+:} false; then :
5258 $as_echo_n "(cached) " >&6
5260 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5261 then ac_cv_path_FGREP="$GREP -F"
5263 if test -z "$FGREP"; then
5264 ac_path_FGREP_found=false
5265 # Loop through the user's path and test for each of PROGNAME-LIST
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5270 test -z "$as_dir" && as_dir=.
5271 for ac_prog in fgrep; do
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5274 as_fn_executable_p "$ac_path_FGREP" || continue
5275 # Check for GNU ac_path_FGREP and select it if it is found.
5276 # Check for GNU $ac_path_FGREP
5277 case `"$ac_path_FGREP" --version 2>&1` in
5279 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5282 $as_echo_n 0123456789 >"conftest.in"
5285 cat "conftest.in" "conftest.in" >"conftest.tmp"
5286 mv "conftest.tmp" "conftest.in"
5287 cp "conftest.in" "conftest.nl"
5288 $as_echo 'FGREP' >> "conftest.nl"
5289 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5290 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5291 as_fn_arith $ac_count + 1 && ac_count=$as_val
5292 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5293 # Best one so far, save it but keep looking for a better one
5294 ac_cv_path_FGREP="$ac_path_FGREP"
5295 ac_path_FGREP_max=$ac_count
5297 # 10*(2^10) chars as input seems more than enough
5298 test $ac_count -gt 10 && break
5300 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5303 $ac_path_FGREP_found && break 3
5308 if test -z "$ac_cv_path_FGREP"; then
5309 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5312 ac_cv_path_FGREP=$FGREP
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5318 $as_echo "$ac_cv_path_FGREP" >&6; }
5319 FGREP="$ac_cv_path_FGREP"
5322 test -z "$GREP" && GREP=grep
5342 # Check whether --with-gnu-ld was given.
5343 if test "${with_gnu_ld+set}" = set; then :
5344 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5350 if test "$GCC" = yes; then
5351 # Check if gcc -print-prog-name=ld gives a path.
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5353 $as_echo_n "checking for ld used by $CC... " >&6; }
5356 # gcc leaves a trailing carriage return which upsets mingw
5357 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5359 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5362 # Accept absolute paths.
5364 re_direlt='/[^/][^/]*/\.\./'
5365 # Canonicalize the pathname of ld
5366 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5367 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5368 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5370 test -z "$LD" && LD="$ac_prog"
5373 # If it fails, then pretend we aren't using GCC.
5377 # If it is relative, then search for the first ld in PATH.
5381 elif test "$with_gnu_ld" = yes; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5383 $as_echo_n "checking for GNU ld... " >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5386 $as_echo_n "checking for non-GNU ld... " >&6; }
5388 if ${lt_cv_path_LD+:} false; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -z "$LD"; then
5392 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5393 for ac_dir in $PATH; do
5395 test -z "$ac_dir" && ac_dir=.
5396 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5397 lt_cv_path_LD="$ac_dir/$ac_prog"
5398 # Check to see if the program is GNU ld. I'd rather use --version,
5399 # but apparently some variants of GNU ld only accept -v.
5400 # Break only if it was the GNU/non-GNU ld that we prefer.
5401 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5402 *GNU* | *'with BFD'*)
5403 test "$with_gnu_ld" != no && break
5406 test "$with_gnu_ld" != yes && break
5413 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5418 if test -n "$LD"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5420 $as_echo "$LD" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5425 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5428 if ${lt_cv_prog_gnu_ld+:} false; then :
5429 $as_echo_n "(cached) " >&6
5431 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5432 case `$LD -v 2>&1 </dev/null` in
5433 *GNU* | *'with BFD'*)
5434 lt_cv_prog_gnu_ld=yes
5437 lt_cv_prog_gnu_ld=no
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5443 with_gnu_ld=$lt_cv_prog_gnu_ld
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5454 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5455 if ${lt_cv_path_NM+:} false; then :
5456 $as_echo_n "(cached) " >&6
5458 if test -n "$NM"; then
5459 # Let the user override the test.
5462 lt_nm_to_check="${ac_tool_prefix}nm"
5463 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5464 lt_nm_to_check="$lt_nm_to_check nm"
5466 for lt_tmp_nm in $lt_nm_to_check; do
5467 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5468 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5470 test -z "$ac_dir" && ac_dir=.
5471 tmp_nm="$ac_dir/$lt_tmp_nm"
5472 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5473 # Check to see if the nm accepts a BSD-compat flag.
5474 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5475 # nm: unknown option "B" ignored
5476 # Tru64's nm complains that /dev/null is an invalid object file
5477 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5478 */dev/null* | *'Invalid file or object type'*)
5479 lt_cv_path_NM="$tmp_nm -B"
5483 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5485 lt_cv_path_NM="$tmp_nm -p"
5489 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5490 continue # so that we can try to find one that supports BSD flags
5499 : ${lt_cv_path_NM=no}
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5503 $as_echo "$lt_cv_path_NM" >&6; }
5504 if test "$lt_cv_path_NM" != "no"; then
5507 # Didn't find any BSD compatible name lister, look for dumpbin.
5508 if test -n "$DUMPBIN"; then :
5509 # Let the user override the test.
5511 if test -n "$ac_tool_prefix"; then
5512 for ac_prog in dumpbin "link -dump"
5514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_DUMPBIN+:} false; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$DUMPBIN"; then
5522 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 DUMPBIN=$ac_cv_prog_DUMPBIN
5542 if test -n "$DUMPBIN"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5544 $as_echo "$DUMPBIN" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551 test -n "$DUMPBIN" && break
5554 if test -z "$DUMPBIN"; then
5555 ac_ct_DUMPBIN=$DUMPBIN
5556 for ac_prog in dumpbin "link -dump"
5558 # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy $ac_prog; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5563 $as_echo_n "(cached) " >&6
5565 if test -n "$ac_ct_DUMPBIN"; then
5566 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5586 if test -n "$ac_ct_DUMPBIN"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5588 $as_echo "$ac_ct_DUMPBIN" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5595 test -n "$ac_ct_DUMPBIN" && break
5598 if test "x$ac_ct_DUMPBIN" = x; then
5601 case $cross_compiling:$ac_tool_warned in
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5605 ac_tool_warned=yes ;;
5607 DUMPBIN=$ac_ct_DUMPBIN
5611 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5613 DUMPBIN="$DUMPBIN -symbols"
5621 if test "$DUMPBIN" != ":"; then
5625 test -z "$NM" && NM=nm
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5633 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5634 if ${lt_cv_nm_interface+:} false; then :
5635 $as_echo_n "(cached) " >&6
5637 lt_cv_nm_interface="BSD nm"
5638 echo "int some_variable = 0;" > conftest.$ac_ext
5639 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5640 (eval "$ac_compile" 2>conftest.err)
5641 cat conftest.err >&5
5642 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5643 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5644 cat conftest.err >&5
5645 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5646 cat conftest.out >&5
5647 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5648 lt_cv_nm_interface="MS dumpbin"
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5653 $as_echo "$lt_cv_nm_interface" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5656 $as_echo_n "checking whether ln -s works... " >&6; }
5658 if test "$LN_S" = "ln -s"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5663 $as_echo "no, using $LN_S" >&6; }
5666 # find the maximum length of command line arguments
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5668 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5669 if ${lt_cv_sys_max_cmd_len+:} false; then :
5670 $as_echo_n "(cached) " >&6
5677 # On DJGPP, this test can blow up pretty badly due to problems in libc
5678 # (any single argument exceeding 2000 bytes causes a buffer overrun
5679 # during glob expansion). Even if it were fixed, the result of this
5680 # check would be larger than it should be.
5681 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5685 # Under GNU Hurd, this test is not required because there is
5686 # no limit to the length of command line arguments.
5687 # Libtool will interpret -1 as no limit whatsoever
5688 lt_cv_sys_max_cmd_len=-1;
5691 cygwin* | mingw* | cegcc*)
5692 # On Win9x/ME, this test blows up -- it succeeds, but takes
5693 # about 5 minutes as the teststring grows exponentially.
5694 # Worse, since 9x/ME are not pre-emptively multitasking,
5695 # you end up with a "frozen" computer, even though with patience
5696 # the test eventually succeeds (with a max line length of 256k).
5697 # Instead, let's just punt: use the minimum linelength reported by
5698 # all of the supported platforms: 8192 (on NT/2K/XP).
5699 lt_cv_sys_max_cmd_len=8192;
5703 # On MiNT this can take a long time and run out of memory.
5704 lt_cv_sys_max_cmd_len=8192;
5708 # On AmigaOS with pdksh, this test takes hours, literally.
5709 # So we just punt and use a minimum line length of 8192.
5710 lt_cv_sys_max_cmd_len=8192;
5713 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5714 # This has been around since 386BSD, at least. Likely further.
5715 if test -x /sbin/sysctl; then
5716 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5717 elif test -x /usr/sbin/sysctl; then
5718 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5720 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5722 # And add a safety zone
5723 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5724 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5728 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5729 lt_cv_sys_max_cmd_len=196608
5733 # The test takes a long time on OS/2.
5734 lt_cv_sys_max_cmd_len=8192
5738 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5739 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5740 # nice to cause kernel panics so lets avoid the loop below.
5741 # First set a reasonable default.
5742 lt_cv_sys_max_cmd_len=16384
5744 if test -x /sbin/sysconfig; then
5745 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5746 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5751 lt_cv_sys_max_cmd_len=102400
5753 sysv5* | sco5v6* | sysv4.2uw2*)
5754 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5755 if test -n "$kargmax"; then
5756 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5758 lt_cv_sys_max_cmd_len=32768
5762 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5763 if test -n "$lt_cv_sys_max_cmd_len"; then
5764 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5767 # Make teststring a little bigger before we do anything with it.
5768 # a 1K string should be a reasonable start.
5769 for i in 1 2 3 4 5 6 7 8 ; do
5770 teststring=$teststring$teststring
5772 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5773 # If test is not a shell built-in, we'll probably end up computing a
5774 # maximum length that is only half of the actual maximum length, but
5776 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5777 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5778 test $i != 17 # 1/2 MB should be enough
5781 teststring=$teststring$teststring
5783 # Only check the string length outside the loop.
5784 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5786 # Add a significant safety factor because C++ compilers can tack on
5787 # massive amounts of additional arguments before passing them to the
5788 # linker. It appears as though 1/2 is a usable value.
5789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5796 if test -n $lt_cv_sys_max_cmd_len ; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5798 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5801 $as_echo "none" >&6; }
5803 max_cmd_len=$lt_cv_sys_max_cmd_len
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5815 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5816 # Try some XSI features
5819 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5821 && eval 'test $(( 1 + 1 )) -eq 2 \
5822 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5825 $as_echo "$xsi_shell" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5829 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5831 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5833 && lt_shell_append=yes
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5835 $as_echo "$lt_shell_append" >&6; }
5838 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5848 # test EBCDIC or ASCII
5849 case `echo X|tr X '\101'` in
5850 A) # ASCII based system
5851 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5852 lt_SP2NL='tr \040 \012'
5853 lt_NL2SP='tr \015\012 \040\040'
5855 *) # EBCDIC based system
5856 lt_SP2NL='tr \100 \n'
5857 lt_NL2SP='tr \r\n \100\100'
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5870 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5871 if ${lt_cv_to_host_file_cmd+:} false; then :
5872 $as_echo_n "(cached) " >&6
5877 *-*-mingw* ) # actually msys
5878 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5881 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5883 * ) # otherwise, assume *nix
5884 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5890 *-*-mingw* ) # actually msys
5891 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5894 lt_cv_to_host_file_cmd=func_convert_file_noop
5896 * ) # otherwise, assume *nix
5897 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5901 * ) # unhandled hosts (and "normal" native builds)
5902 lt_cv_to_host_file_cmd=func_convert_file_noop
5908 to_host_file_cmd=$lt_cv_to_host_file_cmd
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5910 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5917 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5918 if ${lt_cv_to_tool_file_cmd+:} false; then :
5919 $as_echo_n "(cached) " >&6
5921 #assume ordinary cross tools, or native build.
5922 lt_cv_to_tool_file_cmd=func_convert_file_noop
5926 *-*-mingw* ) # actually msys
5927 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5935 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5937 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5944 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5945 if ${lt_cv_ld_reload_flag+:} false; then :
5946 $as_echo_n "(cached) " >&6
5948 lt_cv_ld_reload_flag='-r'
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5951 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5952 reload_flag=$lt_cv_ld_reload_flag
5953 case $reload_flag in
5955 *) reload_flag=" $reload_flag" ;;
5957 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5959 cygwin* | mingw* | pw32* | cegcc*)
5960 if test "$GCC" != yes; then
5965 if test "$GCC" = yes; then
5966 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5968 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5981 if test -n "$ac_tool_prefix"; then
5982 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5983 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_OBJDUMP+:} false; then :
5987 $as_echo_n "(cached) " >&6
5989 if test -n "$OBJDUMP"; then
5990 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 OBJDUMP=$ac_cv_prog_OBJDUMP
6010 if test -n "$OBJDUMP"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6012 $as_echo "$OBJDUMP" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6020 if test -z "$ac_cv_prog_OBJDUMP"; then
6021 ac_ct_OBJDUMP=$OBJDUMP
6022 # Extract the first word of "objdump", so it can be a program name with args.
6023 set dummy objdump; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6027 $as_echo_n "(cached) " >&6
6029 if test -n "$ac_ct_OBJDUMP"; then
6030 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6050 if test -n "$ac_ct_OBJDUMP"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6052 $as_echo "$ac_ct_OBJDUMP" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6058 if test "x$ac_ct_OBJDUMP" = x; then
6061 case $cross_compiling:$ac_tool_warned in
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6067 OBJDUMP=$ac_ct_OBJDUMP
6070 OBJDUMP="$ac_cv_prog_OBJDUMP"
6073 test -z "$OBJDUMP" && OBJDUMP=objdump
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6084 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6085 if ${lt_cv_deplibs_check_method+:} false; then :
6086 $as_echo_n "(cached) " >&6
6088 lt_cv_file_magic_cmd='$MAGIC_CMD'
6089 lt_cv_file_magic_test_file=
6090 lt_cv_deplibs_check_method='unknown'
6091 # Need to set the preceding variable on all platforms that support
6092 # interlibrary dependencies.
6093 # 'none' -- dependencies not supported.
6094 # `unknown' -- same as none, but documents that we really don't know.
6095 # 'pass_all' -- all dependencies passed with no checks.
6096 # 'test_compile' -- check by making test program.
6097 # 'file_magic [[regex]]' -- check by looking for files in library path
6098 # which responds to the $file_magic_cmd with a given extended regex.
6099 # If you have `file' or equivalent on your system and you're not sure
6100 # whether `pass_all' will *always* work, you probably want this one.
6104 lt_cv_deplibs_check_method=pass_all
6108 lt_cv_deplibs_check_method=pass_all
6112 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6113 lt_cv_file_magic_cmd='/usr/bin/file -L'
6114 lt_cv_file_magic_test_file=/shlib/libc.so
6118 # func_win32_libid is a shell function defined in ltmain.sh
6119 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6120 lt_cv_file_magic_cmd='func_win32_libid'
6124 # Base MSYS/MinGW do not provide the 'file' command needed by
6125 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6126 # unless we find 'file', for example because we are cross-compiling.
6127 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6128 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6129 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6130 lt_cv_file_magic_cmd='func_win32_libid'
6132 # Keep this pattern in sync with the one in func_win32_libid.
6133 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6134 lt_cv_file_magic_cmd='$OBJDUMP -f'
6139 # use the weaker test based on 'objdump'. See mingw*.
6140 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6141 lt_cv_file_magic_cmd='$OBJDUMP -f'
6144 darwin* | rhapsody*)
6145 lt_cv_deplibs_check_method=pass_all
6148 freebsd* | dragonfly*)
6149 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6152 # Not sure whether the presence of OpenBSD here was a mistake.
6153 # Let's accept both of them until this is cleared up.
6154 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6155 lt_cv_file_magic_cmd=/usr/bin/file
6156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6160 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6169 lt_cv_deplibs_check_method=pass_all
6172 hpux10.20* | hpux11*)
6173 lt_cv_file_magic_cmd=/usr/bin/file
6176 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6177 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6180 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]'
6181 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6184 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6185 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6191 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6195 irix5* | irix6* | nonstopux*)
6197 *-32|*"-32 ") libmagic=32-bit;;
6198 *-n32|*"-n32 ") libmagic=N32;;
6199 *-64|*"-64 ") libmagic=64-bit;;
6200 *) libmagic=never-match;;
6202 lt_cv_deplibs_check_method=pass_all
6205 # This must be glibc/ELF.
6206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6207 lt_cv_deplibs_check_method=pass_all
6210 netbsd* | netbsdelf*-gnu)
6211 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6212 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6214 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6219 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6220 lt_cv_file_magic_cmd=/usr/bin/file
6221 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6225 lt_cv_deplibs_check_method=pass_all
6229 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6230 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6232 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6236 osf3* | osf4* | osf5*)
6237 lt_cv_deplibs_check_method=pass_all
6241 lt_cv_deplibs_check_method=pass_all
6245 lt_cv_deplibs_check_method=pass_all
6248 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6249 lt_cv_deplibs_check_method=pass_all
6253 case $host_vendor in
6255 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]'
6256 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6259 lt_cv_deplibs_check_method=pass_all
6262 lt_cv_file_magic_cmd='/bin/file'
6263 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6266 lt_cv_file_magic_cmd='/bin/file'
6267 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6268 lt_cv_file_magic_test_file=/lib/libc.so
6271 lt_cv_deplibs_check_method=pass_all
6274 lt_cv_deplibs_check_method=pass_all
6280 lt_cv_deplibs_check_method=pass_all
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6286 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6290 if test "$build" = "$host"; then
6293 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6296 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6302 file_magic_cmd=$lt_cv_file_magic_cmd
6303 deplibs_check_method=$lt_cv_deplibs_check_method
6304 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331 $as_echo_n "checking for $ac_word... " >&6; }
6332 if ${ac_cv_prog_DLLTOOL+:} false; then :
6333 $as_echo_n "(cached) " >&6
6335 if test -n "$DLLTOOL"; then
6336 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6345 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6355 DLLTOOL=$ac_cv_prog_DLLTOOL
6356 if test -n "$DLLTOOL"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6358 $as_echo "$DLLTOOL" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6361 $as_echo "no" >&6; }
6366 if test -z "$ac_cv_prog_DLLTOOL"; then
6367 ac_ct_DLLTOOL=$DLLTOOL
6368 # Extract the first word of "dlltool", so it can be a program name with args.
6369 set dummy dlltool; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371 $as_echo_n "checking for $ac_word... " >&6; }
6372 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6373 $as_echo_n "(cached) " >&6
6375 if test -n "$ac_ct_DLLTOOL"; then
6376 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6396 if test -n "$ac_ct_DLLTOOL"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6398 $as_echo "$ac_ct_DLLTOOL" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 $as_echo "no" >&6; }
6404 if test "x$ac_ct_DLLTOOL" = x; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6411 ac_tool_warned=yes ;;
6413 DLLTOOL=$ac_ct_DLLTOOL
6416 DLLTOOL="$ac_cv_prog_DLLTOOL"
6419 test -z "$DLLTOOL" && DLLTOOL=dlltool
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6431 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6432 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6433 $as_echo_n "(cached) " >&6
6435 lt_cv_sharedlib_from_linklib_cmd='unknown'
6438 cygwin* | mingw* | pw32* | cegcc*)
6439 # two different shell functions defined in ltmain.sh
6440 # decide which to use based on capabilities of $DLLTOOL
6441 case `$DLLTOOL --help 2>&1` in
6442 *--identify-strict*)
6443 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6446 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6451 # fallback: assume linklib IS sharedlib
6452 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6458 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6459 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6460 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6468 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_AR+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$AR"; then
6479 ac_cv_prog_AR="$AR" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 if test -n "$AR"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6501 $as_echo "$AR" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6508 test -n "$AR" && break
6511 if test -z "$AR"; then
6515 # Extract the first word of "$ac_prog", so it can be a program name with args.
6516 set dummy $ac_prog; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6520 $as_echo_n "(cached) " >&6
6522 if test -n "$ac_ct_AR"; then
6523 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_ac_ct_AR="$ac_prog"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6543 if test -n "$ac_ct_AR"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6545 $as_echo "$ac_ct_AR" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6552 test -n "$ac_ct_AR" && break
6555 if test "x$ac_ct_AR" = x; then
6558 case $cross_compiling:$ac_tool_warned in
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6562 ac_tool_warned=yes ;;
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6582 $as_echo_n "checking for archiver @FILE support... " >&6; }
6583 if ${lt_cv_ar_at_file+:} false; then :
6584 $as_echo_n "(cached) " >&6
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6598 if ac_fn_c_try_compile "$LINENO"; then :
6599 echo conftest.$ac_objext > conftest.lst
6600 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6601 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6602 (eval $lt_ar_try) 2>&5
6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6605 test $ac_status = 0; }
6606 if test "$ac_status" -eq 0; then
6607 # Ensure the archiver fails upon bogus file names.
6608 rm -f conftest.$ac_objext libconftest.a
6609 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6610 (eval $lt_ar_try) 2>&5
6612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6613 test $ac_status = 0; }
6614 if test "$ac_status" -ne 0; then
6618 rm -f conftest.* libconftest.a
6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6625 $as_echo "$lt_cv_ar_at_file" >&6; }
6627 if test "x$lt_cv_ar_at_file" = xno; then
6630 archiver_list_spec=$lt_cv_ar_at_file
6639 if test -n "$ac_tool_prefix"; then
6640 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6641 set dummy ${ac_tool_prefix}strip; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_STRIP+:} false; then :
6645 $as_echo_n "(cached) " >&6
6647 if test -n "$STRIP"; then
6648 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 STRIP=$ac_cv_prog_STRIP
6668 if test -n "$STRIP"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6670 $as_echo "$STRIP" >&6; }
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6678 if test -z "$ac_cv_prog_STRIP"; then
6680 # Extract the first word of "strip", so it can be a program name with args.
6681 set dummy strip; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6685 $as_echo_n "(cached) " >&6
6687 if test -n "$ac_ct_STRIP"; then
6688 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir=.
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_ac_ct_STRIP="strip"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6708 if test -n "$ac_ct_STRIP"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6710 $as_echo "$ac_ct_STRIP" >&6; }
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6716 if test "x$ac_ct_STRIP" = x; then
6719 case $cross_compiling:$ac_tool_warned in
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned=yes ;;
6728 STRIP="$ac_cv_prog_STRIP"
6731 test -z "$STRIP" && STRIP=:
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_RANLIB+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$RANLIB"; then
6747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 RANLIB=$ac_cv_prog_RANLIB
6767 if test -n "$RANLIB"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6769 $as_echo "$RANLIB" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_RANLIB"; then
6778 ac_ct_RANLIB=$RANLIB
6779 # Extract the first word of "ranlib", so it can be a program name with args.
6780 set dummy ranlib; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_RANLIB"; then
6787 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_RANLIB="ranlib"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6807 if test -n "$ac_ct_RANLIB"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6809 $as_echo "$ac_ct_RANLIB" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_RANLIB" = x; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6824 RANLIB=$ac_ct_RANLIB
6827 RANLIB="$ac_cv_prog_RANLIB"
6830 test -z "$RANLIB" && RANLIB=:
6837 # Determine commands to create old-style static archives.
6838 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6839 old_postinstall_cmds='chmod 644 $oldlib'
6840 old_postuninstall_cmds=
6842 if test -n "$RANLIB"; then
6845 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6848 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6851 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6856 lock_old_archive_extraction=yes ;;
6858 lock_old_archive_extraction=no ;;
6899 # If no C compiler was specified, use CC.
6902 # If no C compiler flags were specified, use CFLAGS.
6903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6905 # Allow CC to be a program name with arguments.
6909 # Check for command to grab the raw symbol name followed by C symbol from nm.
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6911 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6912 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6913 $as_echo_n "(cached) " >&6
6916 # These are sane defaults that work on at least a few old systems.
6917 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6919 # Character class describing NM global symbol codes.
6920 symcode='[BCDEGRST]'
6922 # Regexp to match symbols that can be accessed directly from C.
6923 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6925 # Define system-specific variables.
6930 cygwin* | mingw* | pw32* | cegcc*)
6931 symcode='[ABCDGISTW]'
6934 if test "$host_cpu" = ia64; then
6935 symcode='[ABCDEGRST]'
6939 symcode='[BCDEGRST]'
6942 symcode='[BCDEGQRST]'
6953 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6961 # If we're using GNU nm, then use its standard symbol codes.
6962 case `$NM -V 2>&1` in
6963 *GNU* | *'with BFD'*)
6964 symcode='[ABCDGIRSTW]' ;;
6967 # Transform an extracted symbol line into a proper C declaration.
6968 # Some systems (esp. on ia64) link data and code symbols differently,
6969 # so use this general approach.
6970 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6972 # Transform an extracted symbol line into symbol name and symbol address
6973 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6974 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'"
6976 # Handle CRLF in mingw tool chain
6980 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6984 # Try without a prefix underscore, then with it.
6985 for ac_symprfx in "" "_"; do
6987 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6988 symxfrm="\\1 $ac_symprfx\\2 \\2"
6990 # Write the raw and C identifiers.
6991 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6992 # Fake it for dumpbin and say T for any non-static function
6993 # and D for any global variable.
6994 # Also find C++ and __fastcall symbols from MSVC++,
6995 # which start with @ or ?.
6996 lt_cv_sys_global_symbol_pipe="$AWK '"\
6997 " {last_section=section; section=\$ 3};"\
6998 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6999 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7000 " \$ 0!~/External *\|/{next};"\
7001 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7002 " {if(hide[section]) next};"\
7003 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7004 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7005 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7006 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7007 " ' prfx=^$ac_symprfx"
7009 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7011 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7013 # Check to see that the pipe works correctly.
7017 cat > conftest.$ac_ext <<_LT_EOF
7022 void nm_test_func(void);
7023 void nm_test_func(void){}
7027 int main(){nm_test_var='a';nm_test_func();return(0);}
7030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7031 (eval $ac_compile) 2>&5
7033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7034 test $ac_status = 0; }; then
7035 # Now try to grab the symbols.
7037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7038 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7041 test $ac_status = 0; } && test -s "$nlist"; then
7042 # Try sorting and uniquifying the output.
7043 if sort "$nlist" | uniq > "$nlist"T; then
7044 mv -f "$nlist"T "$nlist"
7049 # Make sure that we snagged all the symbols we need.
7050 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7051 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7052 cat <<_LT_EOF > conftest.$ac_ext
7053 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7054 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7055 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7056 relocations are performed -- see ld's documentation on pseudo-relocs. */
7057 # define LT_DLSYM_CONST
7058 #elif defined(__osf__)
7059 /* This system does not cope well with relocations in const data. */
7060 # define LT_DLSYM_CONST
7062 # define LT_DLSYM_CONST const
7070 # Now generate the symbol file.
7071 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7073 cat <<_LT_EOF >> conftest.$ac_ext
7075 /* The mapping between symbol names and symbols. */
7076 LT_DLSYM_CONST struct {
7080 lt__PROGRAM__LTX_preloaded_symbols[] =
7082 { "@PROGRAM@", (void *) 0 },
7084 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7085 cat <<\_LT_EOF >> conftest.$ac_ext
7089 /* This works around a problem in FreeBSD linker */
7090 #ifdef FREEBSD_WORKAROUND
7091 static const void *lt_preloaded_setup() {
7092 return lt__PROGRAM__LTX_preloaded_symbols;
7100 # Now try linking the two files.
7101 mv conftest.$ac_objext conftstm.$ac_objext
7102 lt_globsym_save_LIBS=$LIBS
7103 lt_globsym_save_CFLAGS=$CFLAGS
7104 LIBS="conftstm.$ac_objext"
7105 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7107 (eval $ac_link) 2>&5
7109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7110 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7113 LIBS=$lt_globsym_save_LIBS
7114 CFLAGS=$lt_globsym_save_CFLAGS
7116 echo "cannot find nm_test_func in $nlist" >&5
7119 echo "cannot find nm_test_var in $nlist" >&5
7122 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7125 echo "$progname: failed program was:" >&5
7126 cat conftest.$ac_ext >&5
7128 rm -rf conftest* conftst*
7130 # Do not use the global_symbol_pipe unless it works.
7131 if test "$pipe_works" = yes; then
7134 lt_cv_sys_global_symbol_pipe=
7140 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7141 lt_cv_sys_global_symbol_to_cdecl=
7143 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7145 $as_echo "failed" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7148 $as_echo "ok" >&6; }
7151 # Response file support.
7152 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7153 nm_file_list_spec='@'
7154 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7155 nm_file_list_spec='@'
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7185 $as_echo_n "checking for sysroot... " >&6; }
7187 # Check whether --with-sysroot was given.
7188 if test "${with_sysroot+set}" = set; then :
7189 withval=$with_sysroot;
7196 case ${with_sysroot} in #(
7198 if test "$GCC" = yes; then
7199 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7203 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7209 $as_echo "${with_sysroot}" >&6; }
7210 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7215 $as_echo "${lt_sysroot:-no}" >&6; }
7221 # Check whether --enable-libtool-lock was given.
7222 if test "${enable_libtool_lock+set}" = set; then :
7223 enableval=$enable_libtool_lock;
7226 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7228 # Some flags need to be propagated to the compiler or linker for good
7232 # Find out which ABI we are using.
7233 echo 'int i;' > conftest.$ac_ext
7234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235 (eval $ac_compile) 2>&5
7237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238 test $ac_status = 0; }; then
7239 case `/usr/bin/file conftest.$ac_objext` in
7251 # Find out which ABI we are using.
7252 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254 (eval $ac_compile) 2>&5
7256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257 test $ac_status = 0; }; then
7258 if test "$lt_cv_prog_gnu_ld" = yes; then
7259 case `/usr/bin/file conftest.$ac_objext` in
7261 LD="${LD-ld} -melf32bsmip"
7264 LD="${LD-ld} -melf32bmipn32"
7267 LD="${LD-ld} -melf64bmip"
7271 case `/usr/bin/file conftest.$ac_objext` in
7287 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7288 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7289 # Find out which ABI we are using.
7290 echo 'int i;' > conftest.$ac_ext
7291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7292 (eval $ac_compile) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7295 test $ac_status = 0; }; then
7296 case `/usr/bin/file conftest.o` in
7299 x86_64-*kfreebsd*-gnu)
7300 LD="${LD-ld} -m elf_i386_fbsd"
7303 LD="${LD-ld} -m elf_i386"
7305 ppc64-*linux*|powerpc64-*linux*)
7306 LD="${LD-ld} -m elf32ppclinux"
7309 LD="${LD-ld} -m elf_s390"
7312 LD="${LD-ld} -m elf32_sparc"
7318 x86_64-*kfreebsd*-gnu)
7319 LD="${LD-ld} -m elf_x86_64_fbsd"
7322 LD="${LD-ld} -m elf_x86_64"
7324 ppc*-*linux*|powerpc*-*linux*)
7325 LD="${LD-ld} -m elf64ppc"
7327 s390*-*linux*|s390*-*tpf*)
7328 LD="${LD-ld} -m elf64_s390"
7331 LD="${LD-ld} -m elf64_sparc"
7341 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7342 SAVE_CFLAGS="$CFLAGS"
7343 CFLAGS="$CFLAGS -belf"
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7345 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7346 if ${lt_cv_cc_needs_belf+:} false; then :
7347 $as_echo_n "(cached) " >&6
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7366 if ac_fn_c_try_link "$LINENO"; then :
7367 lt_cv_cc_needs_belf=yes
7369 lt_cv_cc_needs_belf=no
7371 rm -f core conftest.err conftest.$ac_objext \
7372 conftest$ac_exeext conftest.$ac_ext
7374 ac_cpp='$CPP $CPPFLAGS'
7375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7381 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7382 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7383 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7384 CFLAGS="$SAVE_CFLAGS"
7388 # Find out which ABI we are using.
7389 echo 'int i;' > conftest.$ac_ext
7390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391 (eval $ac_compile) 2>&5
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394 test $ac_status = 0; }; then
7395 case `/usr/bin/file conftest.o` in
7397 case $lt_cv_prog_gnu_ld in
7401 LD="${LD-ld} -m elf_x86_64"
7404 LD="${LD-ld} -m elf64_sparc"
7407 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7408 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7413 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7425 need_locks="$enable_libtool_lock"
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}mt; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7433 $as_echo_n "(cached) " >&6
7435 if test -n "$MANIFEST_TOOL"; then
7436 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7455 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7456 if test -n "$MANIFEST_TOOL"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7458 $as_echo "$MANIFEST_TOOL" >&6; }
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7466 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7467 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7468 # Extract the first word of "mt", so it can be a program name with args.
7469 set dummy mt; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7473 $as_echo_n "(cached) " >&6
7475 if test -n "$ac_ct_MANIFEST_TOOL"; then
7476 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7496 if test -n "$ac_ct_MANIFEST_TOOL"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7498 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7504 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7507 case $cross_compiling:$ac_tool_warned in
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7513 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7516 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7519 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7521 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7522 if ${lt_cv_path_mainfest_tool+:} false; then :
7523 $as_echo_n "(cached) " >&6
7525 lt_cv_path_mainfest_tool=no
7526 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7527 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7528 cat conftest.err >&5
7529 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7530 lt_cv_path_mainfest_tool=yes
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7535 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7536 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7546 rhapsody* | darwin*)
7547 if test -n "$ac_tool_prefix"; then
7548 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7549 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7553 $as_echo_n "(cached) " >&6
7555 if test -n "$DSYMUTIL"; then
7556 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7576 if test -n "$DSYMUTIL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7578 $as_echo "$DSYMUTIL" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7586 if test -z "$ac_cv_prog_DSYMUTIL"; then
7587 ac_ct_DSYMUTIL=$DSYMUTIL
7588 # Extract the first word of "dsymutil", so it can be a program name with args.
7589 set dummy dsymutil; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7595 if test -n "$ac_ct_DSYMUTIL"; then
7596 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7616 if test -n "$ac_ct_DSYMUTIL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7618 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7624 if test "x$ac_ct_DSYMUTIL" = x; then
7627 case $cross_compiling:$ac_tool_warned in
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7631 ac_tool_warned=yes ;;
7633 DSYMUTIL=$ac_ct_DSYMUTIL
7636 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_NMEDIT+:} false; then :
7645 $as_echo_n "(cached) " >&6
7647 if test -n "$NMEDIT"; then
7648 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 NMEDIT=$ac_cv_prog_NMEDIT
7668 if test -n "$NMEDIT"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7670 $as_echo "$NMEDIT" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7678 if test -z "$ac_cv_prog_NMEDIT"; then
7679 ac_ct_NMEDIT=$NMEDIT
7680 # Extract the first word of "nmedit", so it can be a program name with args.
7681 set dummy nmedit; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7685 $as_echo_n "(cached) " >&6
7687 if test -n "$ac_ct_NMEDIT"; then
7688 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7708 if test -n "$ac_ct_NMEDIT"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7710 $as_echo "$ac_ct_NMEDIT" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7716 if test "x$ac_ct_NMEDIT" = x; then
7719 case $cross_compiling:$ac_tool_warned in
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned=yes ;;
7725 NMEDIT=$ac_ct_NMEDIT
7728 NMEDIT="$ac_cv_prog_NMEDIT"
7731 if test -n "$ac_tool_prefix"; then
7732 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7733 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_LIPO+:} false; then :
7737 $as_echo_n "(cached) " >&6
7739 if test -n "$LIPO"; then
7740 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir=.
7747 for ac_exec_ext in '' $ac_executable_extensions; do
7748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 LIPO=$ac_cv_prog_LIPO
7760 if test -n "$LIPO"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7762 $as_echo "$LIPO" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7770 if test -z "$ac_cv_prog_LIPO"; then
7772 # Extract the first word of "lipo", so it can be a program name with args.
7773 set dummy lipo; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7777 $as_echo_n "(cached) " >&6
7779 if test -n "$ac_ct_LIPO"; then
7780 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_ac_ct_LIPO="lipo"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7800 if test -n "$ac_ct_LIPO"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7802 $as_echo "$ac_ct_LIPO" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7808 if test "x$ac_ct_LIPO" = x; then
7811 case $cross_compiling:$ac_tool_warned in
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7815 ac_tool_warned=yes ;;
7820 LIPO="$ac_cv_prog_LIPO"
7823 if test -n "$ac_tool_prefix"; then
7824 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7825 set dummy ${ac_tool_prefix}otool; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827 $as_echo_n "checking for $ac_word... " >&6; }
7828 if ${ac_cv_prog_OTOOL+:} false; then :
7829 $as_echo_n "(cached) " >&6
7831 if test -n "$OTOOL"; then
7832 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838 test -z "$as_dir" && as_dir=.
7839 for ac_exec_ext in '' $ac_executable_extensions; do
7840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7841 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 OTOOL=$ac_cv_prog_OTOOL
7852 if test -n "$OTOOL"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7854 $as_echo "$OTOOL" >&6; }
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7857 $as_echo "no" >&6; }
7862 if test -z "$ac_cv_prog_OTOOL"; then
7864 # Extract the first word of "otool", so it can be a program name with args.
7865 set dummy otool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7869 $as_echo_n "(cached) " >&6
7871 if test -n "$ac_ct_OTOOL"; then
7872 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_ac_ct_OTOOL="otool"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7892 if test -n "$ac_ct_OTOOL"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7894 $as_echo "$ac_ct_OTOOL" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7900 if test "x$ac_ct_OTOOL" = x; then
7903 case $cross_compiling:$ac_tool_warned in
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7907 ac_tool_warned=yes ;;
7912 OTOOL="$ac_cv_prog_OTOOL"
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_OTOOL64+:} false; then :
7921 $as_echo_n "(cached) " >&6
7923 if test -n "$OTOOL64"; then
7924 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 OTOOL64=$ac_cv_prog_OTOOL64
7944 if test -n "$OTOOL64"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7946 $as_echo "$OTOOL64" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7954 if test -z "$ac_cv_prog_OTOOL64"; then
7955 ac_ct_OTOOL64=$OTOOL64
7956 # Extract the first word of "otool64", so it can be a program name with args.
7957 set dummy otool64; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7961 $as_echo_n "(cached) " >&6
7963 if test -n "$ac_ct_OTOOL64"; then
7964 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_ac_ct_OTOOL64="otool64"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7984 if test -n "$ac_ct_OTOOL64"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7986 $as_echo "$ac_ct_OTOOL64" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7992 if test "x$ac_ct_OTOOL64" = x; then
7995 case $cross_compiling:$ac_tool_warned in
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8001 OTOOL64=$ac_ct_OTOOL64
8004 OTOOL64="$ac_cv_prog_OTOOL64"
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8034 $as_echo_n "checking for -single_module linker flag... " >&6; }
8035 if ${lt_cv_apple_cc_single_mod+:} false; then :
8036 $as_echo_n "(cached) " >&6
8038 lt_cv_apple_cc_single_mod=no
8039 if test -z "${LT_MULTI_MODULE}"; then
8040 # By default we will add the -single_module flag. You can override
8041 # by either setting the environment variable LT_MULTI_MODULE
8042 # non-empty at configure time, or by adding -multi_module to the
8044 rm -rf libconftest.dylib*
8045 echo "int foo(void){return 1;}" > conftest.c
8046 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8047 -dynamiclib -Wl,-single_module conftest.c" >&5
8048 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8049 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8051 # If there is a non-empty error log, and "single_module"
8052 # appears in it, assume the flag caused a linker warning
8053 if test -s conftest.err && $GREP single_module conftest.err; then
8054 cat conftest.err >&5
8055 # Otherwise, if the output was created with a 0 exit code from
8056 # the compiler, it worked.
8057 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8058 lt_cv_apple_cc_single_mod=yes
8060 cat conftest.err >&5
8062 rm -rf libconftest.dylib*
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8067 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8070 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8071 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_ld_exported_symbols_list=no
8075 save_LDFLAGS=$LDFLAGS
8076 echo "_main" > conftest.sym
8077 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8089 if ac_fn_c_try_link "$LINENO"; then :
8090 lt_cv_ld_exported_symbols_list=yes
8092 lt_cv_ld_exported_symbols_list=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8096 LDFLAGS="$save_LDFLAGS"
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8100 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8103 $as_echo_n "checking for -force_load linker flag... " >&6; }
8104 if ${lt_cv_ld_force_load+:} false; then :
8105 $as_echo_n "(cached) " >&6
8107 lt_cv_ld_force_load=no
8108 cat > conftest.c << _LT_EOF
8109 int forced_loaded() { return 2;}
8111 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8112 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8113 echo "$AR cru libconftest.a conftest.o" >&5
8114 $AR cru libconftest.a conftest.o 2>&5
8115 echo "$RANLIB libconftest.a" >&5
8116 $RANLIB libconftest.a 2>&5
8117 cat > conftest.c << _LT_EOF
8118 int main() { return 0;}
8120 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8121 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8123 if test -s conftest.err && $GREP force_load conftest.err; then
8124 cat conftest.err >&5
8125 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8126 lt_cv_ld_force_load=yes
8128 cat conftest.err >&5
8130 rm -f conftest.err libconftest.a conftest conftest.c
8131 rm -rf conftest.dSYM
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8135 $as_echo "$lt_cv_ld_force_load" >&6; }
8137 rhapsody* | darwin1.[012])
8138 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8140 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8141 darwin*) # darwin 5.x on
8142 # if running on 10.5 or later, the deployment target defaults
8143 # to the OS version, if on x86, and 10.4, the deployment
8144 # target defaults to 10.4. Don't you love it?
8145 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8146 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8147 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8149 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8151 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8155 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8156 _lt_dar_single_mod='$single_module'
8158 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8159 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8161 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8163 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8164 _lt_dsymutil='~$DSYMUTIL $lib || :'
8171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8172 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8173 inttypes.h stdint.h unistd.h
8175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8176 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8179 cat >>confdefs.h <<_ACEOF
8180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8188 for ac_header in dlfcn.h
8190 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8192 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_DLFCN_H 1
8215 # Check whether --enable-shared was given.
8216 if test "${enable_shared+set}" = set; then :
8217 enableval=$enable_shared; p=${PACKAGE-default}
8219 yes) enable_shared=yes ;;
8220 no) enable_shared=no ;;
8223 # Look at the argument we got. We use all the common list separators.
8224 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8225 for pkg in $enableval; do
8227 if test "X$pkg" = "X$p"; then
8246 # Check whether --enable-static was given.
8247 if test "${enable_static+set}" = set; then :
8248 enableval=$enable_static; p=${PACKAGE-default}
8250 yes) enable_static=yes ;;
8251 no) enable_static=no ;;
8254 # Look at the argument we got. We use all the common list separators.
8255 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8256 for pkg in $enableval; do
8258 if test "X$pkg" = "X$p"; then
8278 # Check whether --with-pic was given.
8279 if test "${with_pic+set}" = set; then :
8280 withval=$with_pic; lt_p=${PACKAGE-default}
8282 yes|no) pic_mode=$withval ;;
8285 # Look at the argument we got. We use all the common list separators.
8286 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8287 for lt_pkg in $withval; do
8289 if test "X$lt_pkg" = "X$lt_p"; then
8301 test -z "$pic_mode" && pic_mode=default
8309 # Check whether --enable-fast-install was given.
8310 if test "${enable_fast_install+set}" = set; then :
8311 enableval=$enable_fast_install; p=${PACKAGE-default}
8313 yes) enable_fast_install=yes ;;
8314 no) enable_fast_install=no ;;
8316 enable_fast_install=no
8317 # Look at the argument we got. We use all the common list separators.
8318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8319 for pkg in $enableval; do
8321 if test "X$pkg" = "X$p"; then
8322 enable_fast_install=yes
8329 enable_fast_install=yes
8342 # This can be used to rebuild libtool when needed
8343 LIBTOOL_DEPS="$ltmain"
8345 # Always use our own libtool.
8346 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8377 test -z "$LN_S" && LN_S="ln -s"
8392 if test -n "${ZSH_VERSION+set}" ; then
8393 setopt NO_GLOB_SUBST
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8397 $as_echo_n "checking for objdir... " >&6; }
8398 if ${lt_cv_objdir+:} false; then :
8399 $as_echo_n "(cached) " >&6
8401 rm -f .libs 2>/dev/null
8402 mkdir .libs 2>/dev/null
8403 if test -d .libs; then
8406 # MS-DOS does not allow filenames that begin with a dot.
8409 rmdir .libs 2>/dev/null
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8412 $as_echo "$lt_cv_objdir" >&6; }
8413 objdir=$lt_cv_objdir
8419 cat >>confdefs.h <<_ACEOF
8420 #define LT_OBJDIR "$lt_cv_objdir/"
8428 # AIX sometimes has problems with the GCC collect2 program. For some
8429 # reason, if we set the COLLECT_NAMES environment variable, the problems
8430 # vanish in a puff of smoke.
8431 if test "X${COLLECT_NAMES+set}" != Xset; then
8433 export COLLECT_NAMES
8440 can_build_shared=yes
8442 # All known linkers require a `.a' archive for static linking (except MSVC,
8443 # which needs '.lib').
8446 with_gnu_ld="$lt_cv_prog_gnu_ld"
8449 old_CFLAGS="$CFLAGS"
8451 # Set sane defaults for various variables
8452 test -z "$CC" && CC=cc
8453 test -z "$LTCC" && LTCC=$CC
8454 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8455 test -z "$LD" && LD=ld
8456 test -z "$ac_objext" && ac_objext=o
8458 for cc_temp in $compiler""; do
8460 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8461 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8466 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8469 # Only perform the check for file, if the check method requires it
8470 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8471 case $deplibs_check_method in
8473 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8475 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8476 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8477 $as_echo_n "(cached) " >&6
8481 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8484 lt_save_MAGIC_CMD="$MAGIC_CMD"
8485 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8486 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8487 for ac_dir in $ac_dummy; do
8489 test -z "$ac_dir" && ac_dir=.
8490 if test -f $ac_dir/${ac_tool_prefix}file; then
8491 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8492 if test -n "$file_magic_test_file"; then
8493 case $deplibs_check_method in
8495 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8496 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8497 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8498 $EGREP "$file_magic_regex" > /dev/null; then
8503 *** Warning: the command libtool uses to detect shared libraries,
8504 *** $file_magic_cmd, produces output that libtool cannot recognize.
8505 *** The result is that libtool may fail to recognize shared libraries
8506 *** as such. This will affect the creation of libtool libraries that
8507 *** depend on shared libraries, but programs linked with such libtool
8508 *** libraries will work regardless of this problem. Nevertheless, you
8509 *** may want to report the problem to your system manager and/or to
8510 *** bug-libtool@gnu.org
8520 MAGIC_CMD="$lt_save_MAGIC_CMD"
8525 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8526 if test -n "$MAGIC_CMD"; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8528 $as_echo "$MAGIC_CMD" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8538 if test -z "$lt_cv_path_MAGIC_CMD"; then
8539 if test -n "$ac_tool_prefix"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8541 $as_echo_n "checking for file... " >&6; }
8542 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8543 $as_echo_n "(cached) " >&6
8547 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8550 lt_save_MAGIC_CMD="$MAGIC_CMD"
8551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8552 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8553 for ac_dir in $ac_dummy; do
8555 test -z "$ac_dir" && ac_dir=.
8556 if test -f $ac_dir/file; then
8557 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8558 if test -n "$file_magic_test_file"; then
8559 case $deplibs_check_method in
8561 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8564 $EGREP "$file_magic_regex" > /dev/null; then
8569 *** Warning: the command libtool uses to detect shared libraries,
8570 *** $file_magic_cmd, produces output that libtool cannot recognize.
8571 *** The result is that libtool may fail to recognize shared libraries
8572 *** as such. This will affect the creation of libtool libraries that
8573 *** depend on shared libraries, but programs linked with such libtool
8574 *** libraries will work regardless of this problem. Nevertheless, you
8575 *** may want to report the problem to your system manager and/or to
8576 *** bug-libtool@gnu.org
8586 MAGIC_CMD="$lt_save_MAGIC_CMD"
8591 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8592 if test -n "$MAGIC_CMD"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8594 $as_echo "$MAGIC_CMD" >&6; }
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8597 $as_echo "no" >&6; }
8610 # Use C for the default configuration in the libtool script
8614 ac_cpp='$CPP $CPPFLAGS'
8615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8620 # Source file extension for C test sources.
8623 # Object file extension for compiled C test sources.
8627 # Code to be used in simple compile tests
8628 lt_simple_compile_test_code="int some_variable = 0;"
8630 # Code to be used in simple link tests
8631 lt_simple_link_test_code='int main(){return(0);}'
8639 # If no C compiler was specified, use CC.
8642 # If no C compiler flags were specified, use CFLAGS.
8643 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8645 # Allow CC to be a program name with arguments.
8648 # Save the default compiler, since it gets overwritten when the other
8649 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8650 compiler_DEFAULT=$CC
8652 # save warnings/boilerplate of simple test code
8653 ac_outfile=conftest.$ac_objext
8654 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8655 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8656 _lt_compiler_boilerplate=`cat conftest.err`
8659 ac_outfile=conftest.$ac_objext
8660 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8661 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8662 _lt_linker_boilerplate=`cat conftest.err`
8667 ## There is no encapsulation within the following macros, do not change
8668 ## the running order or otherwise move them around unless you know exactly
8669 ## what you are doing...
8670 if test -n "$compiler"; then
8672 lt_prog_compiler_no_builtin_flag=
8674 if test "$GCC" = yes; then
8675 case $cc_basename in
8677 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8679 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8683 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8684 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8685 $as_echo_n "(cached) " >&6
8687 lt_cv_prog_compiler_rtti_exceptions=no
8688 ac_outfile=conftest.$ac_objext
8689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8690 lt_compiler_flag="-fno-rtti -fno-exceptions"
8691 # Insert the option either (1) after the last *FLAGS variable, or
8692 # (2) before a word containing "conftest.", or (3) at the end.
8693 # Note that $ac_compile itself does not contain backslashes and begins
8694 # with a dollar sign (not a hyphen), so the echo should work correctly.
8695 # The option is referenced via a variable to avoid confusing sed.
8696 lt_compile=`echo "$ac_compile" | $SED \
8697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8699 -e 's:$: $lt_compiler_flag:'`
8700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8701 (eval "$lt_compile" 2>conftest.err)
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 if (exit $ac_status) && test -s "$ac_outfile"; then
8706 # The compiler can only warn and ignore the option if not recognized
8707 # So say no if there are warnings other than the usual output.
8708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8710 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8711 lt_cv_prog_compiler_rtti_exceptions=yes
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8718 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8720 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8721 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8733 lt_prog_compiler_wl=
8734 lt_prog_compiler_pic=
8735 lt_prog_compiler_static=
8738 if test "$GCC" = yes; then
8739 lt_prog_compiler_wl='-Wl,'
8740 lt_prog_compiler_static='-static'
8744 # All AIX code is PIC.
8745 if test "$host_cpu" = ia64; then
8746 # AIX 5 now supports IA64 processor
8747 lt_prog_compiler_static='-Bstatic'
8754 # see comment about AmigaOS4 .so support
8755 lt_prog_compiler_pic='-fPIC'
8758 # FIXME: we need at least 68020 code to build shared libraries, but
8759 # adding the `-m68020' flag to GCC prevents building anything better,
8761 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8766 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8767 # PIC is the default for these OSes.
8770 mingw* | cygwin* | pw32* | os2* | cegcc*)
8771 # This hack is so that the source file can tell whether it is being
8772 # built for inclusion in a dll (and should export symbols for example).
8773 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8774 # (--disable-auto-import) libraries
8775 lt_prog_compiler_pic='-DDLL_EXPORT'
8778 darwin* | rhapsody*)
8779 # PIC is the default on this platform
8780 # Common symbols not allowed in MH_DYLIB files
8781 lt_prog_compiler_pic='-fno-common'
8785 # PIC is the default for Haiku.
8786 # The "-static" flag exists, but is broken.
8787 lt_prog_compiler_static=
8791 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8792 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8793 # sets the default TLS model and affects inlining.
8799 lt_prog_compiler_pic='-fPIC'
8805 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8806 # Instead, we relocate shared libraries at runtime.
8810 # Just because we use GCC doesn't mean we suddenly get shared libraries
8811 # on systems that don't support them.
8812 lt_prog_compiler_can_build_shared=no
8817 # QNX uses GNU C++, but need to define -shared option too, otherwise
8819 lt_prog_compiler_pic='-fPIC -shared'
8823 if test -d /usr/nec; then
8824 lt_prog_compiler_pic=-Kconform_pic
8829 lt_prog_compiler_pic='-fPIC'
8833 case $cc_basename in
8834 nvcc*) # Cuda Compiler Driver 2.2
8835 lt_prog_compiler_wl='-Xlinker '
8836 if test -n "$lt_prog_compiler_pic"; then
8837 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8842 # PORTME Check for flag to pass linker flags through the system compiler.
8845 lt_prog_compiler_wl='-Wl,'
8846 if test "$host_cpu" = ia64; then
8847 # AIX 5 now supports IA64 processor
8848 lt_prog_compiler_static='-Bstatic'
8850 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8854 mingw* | cygwin* | pw32* | os2* | cegcc*)
8855 # This hack is so that the source file can tell whether it is being
8856 # built for inclusion in a dll (and should export symbols for example).
8857 lt_prog_compiler_pic='-DDLL_EXPORT'
8860 hpux9* | hpux10* | hpux11*)
8861 lt_prog_compiler_wl='-Wl,'
8862 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8869 lt_prog_compiler_pic='+Z'
8872 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8873 lt_prog_compiler_static='${wl}-a ${wl}archive'
8876 irix5* | irix6* | nonstopux*)
8877 lt_prog_compiler_wl='-Wl,'
8878 # PIC (with -KPIC) is the default.
8879 lt_prog_compiler_static='-non_shared'
8882 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8883 case $cc_basename in
8884 # old Intel for x86_64 which still supported -KPIC.
8886 lt_prog_compiler_wl='-Wl,'
8887 lt_prog_compiler_pic='-KPIC'
8888 lt_prog_compiler_static='-static'
8890 # icc used to be incompatible with GCC.
8891 # ICC 10 doesn't accept -KPIC any more.
8893 lt_prog_compiler_wl='-Wl,'
8894 lt_prog_compiler_pic='-fPIC'
8895 lt_prog_compiler_static='-static'
8897 # Lahey Fortran 8.1.
8899 lt_prog_compiler_wl='-Wl,'
8900 lt_prog_compiler_pic='--shared'
8901 lt_prog_compiler_static='--static'
8904 # NAG Fortran compiler
8905 lt_prog_compiler_wl='-Wl,-Wl,,'
8906 lt_prog_compiler_pic='-PIC'
8907 lt_prog_compiler_static='-Bstatic'
8909 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8910 # Portland Group compilers (*not* the Pentium gcc compiler,
8911 # which looks to be a dead project)
8912 lt_prog_compiler_wl='-Wl,'
8913 lt_prog_compiler_pic='-fpic'
8914 lt_prog_compiler_static='-Bstatic'
8917 lt_prog_compiler_wl='-Wl,'
8918 # All Alpha code is PIC.
8919 lt_prog_compiler_static='-non_shared'
8921 xl* | bgxl* | bgf* | mpixl*)
8922 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8923 lt_prog_compiler_wl='-Wl,'
8924 lt_prog_compiler_pic='-qpic'
8925 lt_prog_compiler_static='-qstaticlink'
8928 case `$CC -V 2>&1 | sed 5q` in
8929 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8930 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8931 lt_prog_compiler_pic='-KPIC'
8932 lt_prog_compiler_static='-Bstatic'
8933 lt_prog_compiler_wl=''
8935 *Sun\ F* | *Sun*Fortran*)
8936 lt_prog_compiler_pic='-KPIC'
8937 lt_prog_compiler_static='-Bstatic'
8938 lt_prog_compiler_wl='-Qoption ld '
8942 lt_prog_compiler_pic='-KPIC'
8943 lt_prog_compiler_static='-Bstatic'
8944 lt_prog_compiler_wl='-Wl,'
8946 *Intel*\ [CF]*Compiler*)
8947 lt_prog_compiler_wl='-Wl,'
8948 lt_prog_compiler_pic='-fPIC'
8949 lt_prog_compiler_static='-static'
8952 lt_prog_compiler_wl='-Wl,'
8953 lt_prog_compiler_pic='-fpic'
8954 lt_prog_compiler_static='-Bstatic'
8962 lt_prog_compiler_pic='-KPIC'
8963 lt_prog_compiler_static='-Bstatic'
8967 # QNX uses GNU C++, but need to define -shared option too, otherwise
8969 lt_prog_compiler_pic='-fPIC -shared'
8972 osf3* | osf4* | osf5*)
8973 lt_prog_compiler_wl='-Wl,'
8974 # All OSF/1 code is PIC.
8975 lt_prog_compiler_static='-non_shared'
8979 lt_prog_compiler_static='-non_shared'
8983 lt_prog_compiler_pic='-KPIC'
8984 lt_prog_compiler_static='-Bstatic'
8985 case $cc_basename in
8986 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8987 lt_prog_compiler_wl='-Qoption ld ';;
8989 lt_prog_compiler_wl='-Wl,';;
8994 lt_prog_compiler_wl='-Qoption ld '
8995 lt_prog_compiler_pic='-PIC'
8996 lt_prog_compiler_static='-Bstatic'
8999 sysv4 | sysv4.2uw2* | sysv4.3*)
9000 lt_prog_compiler_wl='-Wl,'
9001 lt_prog_compiler_pic='-KPIC'
9002 lt_prog_compiler_static='-Bstatic'
9006 if test -d /usr/nec ;then
9007 lt_prog_compiler_pic='-Kconform_pic'
9008 lt_prog_compiler_static='-Bstatic'
9012 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9013 lt_prog_compiler_wl='-Wl,'
9014 lt_prog_compiler_pic='-KPIC'
9015 lt_prog_compiler_static='-Bstatic'
9019 lt_prog_compiler_wl='-Wl,'
9020 lt_prog_compiler_can_build_shared=no
9024 lt_prog_compiler_pic='-pic'
9025 lt_prog_compiler_static='-Bstatic'
9029 lt_prog_compiler_can_build_shared=no
9035 # For platforms which do not support PIC, -DPIC is meaningless:
9037 lt_prog_compiler_pic=
9040 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9045 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9046 if ${lt_cv_prog_compiler_pic+:} false; then :
9047 $as_echo_n "(cached) " >&6
9049 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9052 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9053 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9056 # Check to make sure the PIC flag actually works.
9058 if test -n "$lt_prog_compiler_pic"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9060 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9061 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9062 $as_echo_n "(cached) " >&6
9064 lt_cv_prog_compiler_pic_works=no
9065 ac_outfile=conftest.$ac_objext
9066 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9067 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9068 # Insert the option either (1) after the last *FLAGS variable, or
9069 # (2) before a word containing "conftest.", or (3) at the end.
9070 # Note that $ac_compile itself does not contain backslashes and begins
9071 # with a dollar sign (not a hyphen), so the echo should work correctly.
9072 # The option is referenced via a variable to avoid confusing sed.
9073 lt_compile=`echo "$ac_compile" | $SED \
9074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9076 -e 's:$: $lt_compiler_flag:'`
9077 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9078 (eval "$lt_compile" 2>conftest.err)
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 if (exit $ac_status) && test -s "$ac_outfile"; then
9083 # The compiler can only warn and ignore the option if not recognized
9084 # So say no if there are warnings other than the usual output.
9085 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9086 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9087 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9088 lt_cv_prog_compiler_pic_works=yes
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9095 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9097 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9098 case $lt_prog_compiler_pic in
9100 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9103 lt_prog_compiler_pic=
9104 lt_prog_compiler_can_build_shared=no
9120 # Check to make sure the static flag actually works.
9122 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9124 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9125 if ${lt_cv_prog_compiler_static_works+:} false; then :
9126 $as_echo_n "(cached) " >&6
9128 lt_cv_prog_compiler_static_works=no
9129 save_LDFLAGS="$LDFLAGS"
9130 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9131 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9132 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9133 # The linker can only warn and ignore the option if not recognized
9134 # So say no if there are warnings
9135 if test -s conftest.err; then
9136 # Append any errors to the config.log.
9137 cat conftest.err 1>&5
9138 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9139 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9140 if diff conftest.exp conftest.er2 >/dev/null; then
9141 lt_cv_prog_compiler_static_works=yes
9144 lt_cv_prog_compiler_static_works=yes
9148 LDFLAGS="$save_LDFLAGS"
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9152 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9154 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9157 lt_prog_compiler_static=
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9167 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9168 if ${lt_cv_prog_compiler_c_o+:} false; then :
9169 $as_echo_n "(cached) " >&6
9171 lt_cv_prog_compiler_c_o=no
9172 $RM -r conftest 2>/dev/null
9176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9178 lt_compiler_flag="-o out/conftest2.$ac_objext"
9179 # Insert the option either (1) after the last *FLAGS variable, or
9180 # (2) before a word containing "conftest.", or (3) at the end.
9181 # Note that $ac_compile itself does not contain backslashes and begins
9182 # with a dollar sign (not a hyphen), so the echo should work correctly.
9183 lt_compile=`echo "$ac_compile" | $SED \
9184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9186 -e 's:$: $lt_compiler_flag:'`
9187 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9188 (eval "$lt_compile" 2>out/conftest.err)
9190 cat out/conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9194 # The compiler can only warn and ignore the option if not recognized
9195 # So say no if there are warnings
9196 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9197 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9198 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9199 lt_cv_prog_compiler_c_o=yes
9204 # SGI C++ compiler will create directory out/ii_files/ for
9205 # template instantiation
9206 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9207 $RM out/* && rmdir out
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9214 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9223 if ${lt_cv_prog_compiler_c_o+:} false; then :
9224 $as_echo_n "(cached) " >&6
9226 lt_cv_prog_compiler_c_o=no
9227 $RM -r conftest 2>/dev/null
9231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9233 lt_compiler_flag="-o out/conftest2.$ac_objext"
9234 # Insert the option either (1) after the last *FLAGS variable, or
9235 # (2) before a word containing "conftest.", or (3) at the end.
9236 # Note that $ac_compile itself does not contain backslashes and begins
9237 # with a dollar sign (not a hyphen), so the echo should work correctly.
9238 lt_compile=`echo "$ac_compile" | $SED \
9239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9241 -e 's:$: $lt_compiler_flag:'`
9242 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9243 (eval "$lt_compile" 2>out/conftest.err)
9245 cat out/conftest.err >&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9249 # The compiler can only warn and ignore the option if not recognized
9250 # So say no if there are warnings
9251 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9252 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9253 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9254 lt_cv_prog_compiler_c_o=yes
9259 # SGI C++ compiler will create directory out/ii_files/ for
9260 # template instantiation
9261 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9262 $RM out/* && rmdir out
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9269 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9274 hard_links="nottested"
9275 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9276 # do not overwrite the value of need_locks provided by the user
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9278 $as_echo_n "checking if we can lock with hard links... " >&6; }
9281 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9283 ln conftest.a conftest.b 2>&5 || hard_links=no
9284 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9286 $as_echo "$hard_links" >&6; }
9287 if test "$hard_links" = no; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9289 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9302 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9305 allow_undefined_flag=
9306 always_export_symbols=no
9308 archive_expsym_cmds=
9309 compiler_needs_object=no
9310 enable_shared_with_static_runtimes=no
9311 export_dynamic_flag_spec=
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9313 hardcode_automatic=no
9315 hardcode_direct_absolute=no
9316 hardcode_libdir_flag_spec=
9317 hardcode_libdir_separator=
9319 hardcode_shlibpath_var=unsupported
9321 link_all_deplibs=unknown
9324 old_archive_from_new_cmds=
9325 old_archive_from_expsyms_cmds=
9326 thread_safe_flag_spec=
9327 whole_archive_flag_spec=
9328 # include_expsyms should be a list of space-separated symbols to be *always*
9329 # included in the symbol list
9331 # exclude_expsyms can be an extended regexp of symbols to exclude
9332 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9333 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9334 # as well as any symbol that contains `d'.
9335 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9336 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9337 # platforms (ab)use it in PIC code, but their linkers get confused if
9338 # the symbol is explicitly referenced. Since portable code cannot
9339 # rely on this symbol name, it's probably fine to never include it in
9340 # preloaded symbol tables.
9341 # Exclude shared library initialization/finalization symbols.
9342 extract_expsyms_cmds=
9345 cygwin* | mingw* | pw32* | cegcc*)
9346 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9347 # When not using gcc, we currently assume that we are using
9348 # Microsoft Visual C++.
9349 if test "$GCC" != yes; then
9354 # we just hope/assume this is gcc and not c89 (= MSVC++)
9360 linux* | k*bsd*-gnu | gnu*)
9367 # On some targets, GNU ld is compatible enough with the native linker
9368 # that we're better off using the native interface for both.
9369 lt_use_gnu_ld_interface=no
9370 if test "$with_gnu_ld" = yes; then
9373 # The AIX port of GNU ld has always aspired to compatibility
9374 # with the native linker. However, as the warning in the GNU ld
9375 # block says, versions before 2.19.5* couldn't really create working
9376 # shared libraries, regardless of the interface used.
9377 case `$LD -v 2>&1` in
9378 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9379 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9380 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9382 lt_use_gnu_ld_interface=yes
9387 lt_use_gnu_ld_interface=yes
9392 if test "$lt_use_gnu_ld_interface" = yes; then
9393 # If archive_cmds runs LD, not CC, wlarc should be empty
9396 # Set some defaults for GNU ld with shared library support. These
9397 # are reset later if shared libraries are not supported. Putting them
9398 # here allows them to be overridden if necessary.
9399 runpath_var=LD_RUN_PATH
9400 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9401 export_dynamic_flag_spec='${wl}--export-dynamic'
9402 # ancient GNU ld didn't support --whole-archive et. al.
9403 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9404 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9406 whole_archive_flag_spec=
9408 supports_anon_versioning=no
9409 case `$LD -v 2>&1` in
9410 *GNU\ gold*) supports_anon_versioning=yes ;;
9411 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9412 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9413 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9414 *\ 2.11.*) ;; # other 2.11 versions
9415 *) supports_anon_versioning=yes ;;
9418 # See if GNU ld supports shared libraries.
9421 # On AIX/PPC, the GNU linker is very broken
9422 if test "$host_cpu" != ia64; then
9426 *** Warning: the GNU linker, at least up to release 2.19, is reported
9427 *** to be unable to reliably create shared libraries on AIX.
9428 *** Therefore, libtool is disabling shared libraries support. If you
9429 *** really care for shared libraries, you may want to install binutils
9430 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9431 *** You will then need to restart the configuration process.
9440 # see comment about AmigaOS4 .so support
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds=''
9445 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)'
9446 hardcode_libdir_flag_spec='-L$libdir'
9447 hardcode_minus_L=yes
9453 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9454 allow_undefined_flag=unsupported
9455 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9456 # support --undefined. This deserves some investigation. FIXME
9457 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 cygwin* | mingw* | pw32* | cegcc*)
9464 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9465 # as there is no search path for DLLs.
9466 hardcode_libdir_flag_spec='-L$libdir'
9467 export_dynamic_flag_spec='${wl}--export-all-symbols'
9468 allow_undefined_flag=unsupported
9469 always_export_symbols=no
9470 enable_shared_with_static_runtimes=yes
9471 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'
9472 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9474 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9475 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9476 # If the export-symbols file already is a .def file (1st line
9477 # is EXPORTS), use it as is; otherwise, prepend...
9478 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9479 cp $export_symbols $output_objdir/$soname.def;
9481 echo EXPORTS > $output_objdir/$soname.def;
9482 cat $export_symbols >> $output_objdir/$soname.def;
9484 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 link_all_deplibs=yes
9497 hardcode_shlibpath_var=no
9498 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9499 export_dynamic_flag_spec='${wl}-E'
9500 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9501 # Instead, shared libraries are loaded at an image base (0x10000000 by
9502 # default) and relocated if they conflict, which is a slow very memory
9503 # consuming and fragmenting process. To avoid this, we pick a random,
9504 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9505 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9506 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9507 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'
9510 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9512 if test "$host_os" = linux-dietlibc; then
9513 case $cc_basename in
9514 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9517 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9518 && test "$tmp_diet" = no
9520 tmp_addflag=' $pic_flag'
9521 tmp_sharedflag='-shared'
9522 case $cc_basename,$host_cpu in
9523 pgcc*) # Portland Group C compiler
9524 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'
9525 tmp_addflag=' $pic_flag'
9527 pgf77* | pgf90* | pgf95* | pgfortran*)
9528 # Portland Group f77 and f90 compilers
9529 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'
9530 tmp_addflag=' $pic_flag -Mnomain' ;;
9531 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9532 tmp_addflag=' -i_dynamic' ;;
9533 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9534 tmp_addflag=' -i_dynamic -nofor_main' ;;
9535 ifc* | ifort*) # Intel Fortran compiler
9536 tmp_addflag=' -nofor_main' ;;
9537 lf95*) # Lahey Fortran 8.1
9538 whole_archive_flag_spec=
9539 tmp_sharedflag='--shared' ;;
9540 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9541 tmp_sharedflag='-qmkshrobj'
9543 nvcc*) # Cuda Compiler Driver 2.2
9544 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'
9545 compiler_needs_object=yes
9548 case `$CC -V 2>&1 | sed 5q` in
9549 *Sun\ C*) # Sun C 5.9
9550 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'
9551 compiler_needs_object=yes
9552 tmp_sharedflag='-G' ;;
9553 *Sun\ F*) # Sun Fortran 8.3
9554 tmp_sharedflag='-G' ;;
9556 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 if test "x$supports_anon_versioning" = xyes; then
9559 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9560 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9561 echo "local: *; };" >> $output_objdir/$libname.ver~
9562 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9565 case $cc_basename in
9566 xlf* | bgf* | bgxlf* | mpixlf*)
9567 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9568 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9570 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9571 if test "x$supports_anon_versioning" = xyes; then
9572 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9573 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9574 echo "local: *; };" >> $output_objdir/$libname.ver~
9575 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9584 netbsd* | netbsdelf*-gnu)
9585 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9586 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9589 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9590 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9595 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9600 *** create shared libraries on Solaris systems. Therefore, libtool
9601 *** is disabling shared libraries support. We urge you to upgrade GNU
9602 *** binutils to release 2.9.1 or newer. Another option is to modify
9603 *** your PATH or compiler configuration so that the native linker is
9604 *** used, and then restart.
9607 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9608 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9609 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9615 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9616 case `$LD -v 2>&1` in
9617 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9622 *** reliably create shared libraries on SCO systems. Therefore, libtool
9623 *** is disabling shared libraries support. We urge you to upgrade GNU
9624 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9625 *** your PATH or compiler configuration so that the native linker is
9626 *** used, and then restart.
9631 # For security reasons, it is highly recommended that you always
9632 # use absolute paths for naming shared libraries, and exclude the
9633 # DT_RUNPATH tag from executables and libraries. But doing so
9634 # requires that you compile everything twice, which is a pain.
9635 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9636 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9637 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9638 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9647 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9650 hardcode_shlibpath_var=no
9654 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9655 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9656 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9663 if test "$ld_shlibs" = no; then
9665 hardcode_libdir_flag_spec=
9666 export_dynamic_flag_spec=
9667 whole_archive_flag_spec=
9670 # PORTME fill in a description of your system's linker (not GNU ld)
9673 allow_undefined_flag=unsupported
9674 always_export_symbols=yes
9675 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'
9676 # Note: this linker hardcodes the directories in LIBPATH if there
9677 # are no directories specified by -L.
9678 hardcode_minus_L=yes
9679 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9680 # Neither direct hardcoding nor static linking is supported with a
9682 hardcode_direct=unsupported
9687 if test "$host_cpu" = ia64; then
9688 # On IA64, the linker does run time linking by default, so we don't
9689 # have to do anything special.
9690 aix_use_runtimelinking=no
9691 exp_sym_flag='-Bexport'
9694 # If we're using GNU nm, then we don't want the "-C" option.
9695 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9696 # Also, AIX nm treats weak defined symbols like other global
9697 # defined symbols, whereas GNU nm marks them as "W".
9698 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9699 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'
9701 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'
9703 aix_use_runtimelinking=no
9705 # Test if we are trying to use run time linking or normal
9706 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9707 # need to do runtime linking.
9708 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9709 for ld_flag in $LDFLAGS; do
9710 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9711 aix_use_runtimelinking=yes
9718 exp_sym_flag='-bexport'
9719 no_entry_flag='-bnoentry'
9722 # When large executables or shared objects are built, AIX ld can
9723 # have problems creating the table of contents. If linking a library
9724 # or program results in "error TOC overflow" add -mminimal-toc to
9725 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9726 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9730 hardcode_direct_absolute=yes
9731 hardcode_libdir_separator=':'
9732 link_all_deplibs=yes
9733 file_list_spec='${wl}-f,'
9735 if test "$GCC" = yes; then
9736 case $host_os in aix4.[012]|aix4.[012].*)
9737 # We only want to do this on AIX 4.2 and lower, the check
9738 # below for broken collect2 doesn't work under 4.3+
9739 collect2name=`${CC} -print-prog-name=collect2`
9740 if test -f "$collect2name" &&
9741 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9743 # We have reworked collect2
9746 # We have old collect2
9747 hardcode_direct=unsupported
9748 # It fails to find uninstalled libraries when the uninstalled
9749 # path is not listed in the libpath. Setting hardcode_minus_L
9750 # to unsupported forces relinking
9751 hardcode_minus_L=yes
9752 hardcode_libdir_flag_spec='-L$libdir'
9753 hardcode_libdir_separator=
9757 shared_flag='-shared'
9758 if test "$aix_use_runtimelinking" = yes; then
9759 shared_flag="$shared_flag "'${wl}-G'
9764 if test "$host_cpu" = ia64; then
9765 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9766 # chokes on -Wl,-G. The following line is correct:
9769 if test "$aix_use_runtimelinking" = yes; then
9770 shared_flag='${wl}-G'
9772 shared_flag='${wl}-bM:SRE'
9777 export_dynamic_flag_spec='${wl}-bexpall'
9778 # It seems that -bexpall does not export symbols beginning with
9779 # underscore (_), so it is better to generate a list of symbols to export.
9780 always_export_symbols=yes
9781 if test "$aix_use_runtimelinking" = yes; then
9782 # Warning - without using the other runtime loading flags (-brtl),
9783 # -berok will link without error, but may produce a broken library.
9784 allow_undefined_flag='-berok'
9785 # Determine the default libpath from the value encoded in an
9787 if test "${lt_cv_aix_libpath+set}" = set; then
9788 aix_libpath=$lt_cv_aix_libpath
9790 if ${lt_cv_aix_libpath_+:} false; then :
9791 $as_echo_n "(cached) " >&6
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9804 if ac_fn_c_try_link "$LINENO"; then :
9806 lt_aix_libpath_sed='
9807 /Import File Strings/,/^$/ {
9809 s/^0 *\([^ ]*\) *$/\1/
9813 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9814 # Check for a 64-bit object if we didn't find anything.
9815 if test -z "$lt_cv_aix_libpath_"; then
9816 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 if test -z "$lt_cv_aix_libpath_"; then
9822 lt_cv_aix_libpath_="/usr/lib:/lib"
9827 aix_libpath=$lt_cv_aix_libpath_
9830 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9831 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"
9833 if test "$host_cpu" = ia64; then
9834 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9835 allow_undefined_flag="-z nodefs"
9836 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"
9838 # Determine the default libpath from the value encoded in an
9840 if test "${lt_cv_aix_libpath+set}" = set; then
9841 aix_libpath=$lt_cv_aix_libpath
9843 if ${lt_cv_aix_libpath_+:} false; then :
9844 $as_echo_n "(cached) " >&6
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9857 if ac_fn_c_try_link "$LINENO"; then :
9859 lt_aix_libpath_sed='
9860 /Import File Strings/,/^$/ {
9862 s/^0 *\([^ ]*\) *$/\1/
9866 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9867 # Check for a 64-bit object if we didn't find anything.
9868 if test -z "$lt_cv_aix_libpath_"; then
9869 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 if test -z "$lt_cv_aix_libpath_"; then
9875 lt_cv_aix_libpath_="/usr/lib:/lib"
9880 aix_libpath=$lt_cv_aix_libpath_
9883 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9884 # Warning - without using the other run time loading flags,
9885 # -berok will link without error, but may produce a broken library.
9886 no_undefined_flag=' ${wl}-bernotok'
9887 allow_undefined_flag=' ${wl}-berok'
9888 if test "$with_gnu_ld" = yes; then
9889 # We only use this code for GNU lds that support --whole-archive.
9890 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9892 # Exported symbols can be pulled into shared objects from archives
9893 whole_archive_flag_spec='$convenience'
9895 archive_cmds_need_lc=yes
9896 # This is similar to how AIX traditionally builds its shared libraries.
9897 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'
9905 # see comment about AmigaOS4 .so support
9906 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9907 archive_expsym_cmds=''
9910 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)'
9911 hardcode_libdir_flag_spec='-L$libdir'
9912 hardcode_minus_L=yes
9918 export_dynamic_flag_spec=-rdynamic
9921 cygwin* | mingw* | pw32* | cegcc*)
9922 # When not using gcc, we currently assume that we are using
9923 # Microsoft Visual C++.
9924 # hardcode_libdir_flag_spec is actually meaningless, as there is
9925 # no search path for DLLs.
9926 case $cc_basename in
9929 hardcode_libdir_flag_spec=' '
9930 allow_undefined_flag=unsupported
9931 always_export_symbols=yes
9933 # Tell ltmain to make .lib files, not .a files.
9935 # Tell ltmain to make .dll files, not .so files.
9937 # FIXME: Setting linknames here is a bad hack.
9938 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9939 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9940 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9942 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9944 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9946 # The linker will not automatically build a static lib if we build a DLL.
9947 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9948 enable_shared_with_static_runtimes=yes
9949 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9950 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9952 old_postinstall_cmds='chmod 644 $oldlib'
9953 postlink_cmds='lt_outputfile="@OUTPUT@"~
9954 lt_tool_outputfile="@TOOL_OUTPUT@"~
9955 case $lt_outputfile in
9958 lt_outputfile="$lt_outputfile.exe"
9959 lt_tool_outputfile="$lt_tool_outputfile.exe"
9962 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9963 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9964 $RM "$lt_outputfile.manifest";
9968 # Assume MSVC wrapper
9969 hardcode_libdir_flag_spec=' '
9970 allow_undefined_flag=unsupported
9971 # Tell ltmain to make .lib files, not .a files.
9973 # Tell ltmain to make .dll files, not .so files.
9975 # FIXME: Setting linknames here is a bad hack.
9976 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9977 # The linker will automatically build a .lib file if we build a DLL.
9978 old_archive_from_new_cmds='true'
9979 # FIXME: Should let the user specify the lib program.
9980 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9981 enable_shared_with_static_runtimes=yes
9986 darwin* | rhapsody*)
9989 archive_cmds_need_lc=no
9991 hardcode_automatic=yes
9992 hardcode_shlibpath_var=unsupported
9993 if test "$lt_cv_ld_force_load" = "yes"; then
9994 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\"`'
9997 whole_archive_flag_spec=''
9999 link_all_deplibs=yes
10000 allow_undefined_flag="$_lt_dar_allow_undefined"
10001 case $cc_basename in
10002 ifort*) _lt_dar_can_shared=yes ;;
10003 *) _lt_dar_can_shared=$GCC ;;
10005 if test "$_lt_dar_can_shared" = "yes"; then
10006 output_verbose_link_cmd=func_echo_all
10007 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10008 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10009 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}"
10010 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}"
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_shlibpath_var=no
10024 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10025 # support. Future versions do this automatically, but an explicit c++rt0.o
10026 # does not break anything, and helps significantly (at the cost of a little
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10030 hardcode_libdir_flag_spec='-R$libdir'
10031 hardcode_direct=yes
10032 hardcode_shlibpath_var=no
10035 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10037 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct=yes
10039 hardcode_minus_L=yes
10040 hardcode_shlibpath_var=no
10043 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10044 freebsd* | dragonfly*)
10045 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10046 hardcode_libdir_flag_spec='-R$libdir'
10047 hardcode_direct=yes
10048 hardcode_shlibpath_var=no
10052 if test "$GCC" = yes; then
10053 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'
10055 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'
10057 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10058 hardcode_libdir_separator=:
10059 hardcode_direct=yes
10061 # hardcode_minus_L: Not really in the search PATH,
10062 # but as the default location of the library.
10063 hardcode_minus_L=yes
10064 export_dynamic_flag_spec='${wl}-E'
10068 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10069 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10073 if test "$with_gnu_ld" = no; then
10074 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10075 hardcode_libdir_separator=:
10076 hardcode_direct=yes
10077 hardcode_direct_absolute=yes
10078 export_dynamic_flag_spec='${wl}-E'
10079 # hardcode_minus_L: Not really in the search PATH,
10080 # but as the default location of the library.
10081 hardcode_minus_L=yes
10086 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10089 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10108 # Older versions of the 11.00 compiler do not understand -b yet
10109 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10111 $as_echo_n "checking if $CC understands -b... " >&6; }
10112 if ${lt_cv_prog_compiler__b+:} false; then :
10113 $as_echo_n "(cached) " >&6
10115 lt_cv_prog_compiler__b=no
10116 save_LDFLAGS="$LDFLAGS"
10117 LDFLAGS="$LDFLAGS -b"
10118 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10119 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10120 # The linker can only warn and ignore the option if not recognized
10121 # So say no if there are warnings
10122 if test -s conftest.err; then
10123 # Append any errors to the config.log.
10124 cat conftest.err 1>&5
10125 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10127 if diff conftest.exp conftest.er2 >/dev/null; then
10128 lt_cv_prog_compiler__b=yes
10131 lt_cv_prog_compiler__b=yes
10135 LDFLAGS="$save_LDFLAGS"
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10139 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10141 if test x"$lt_cv_prog_compiler__b" = xyes; then
10142 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10144 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10150 if test "$with_gnu_ld" = no; then
10151 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10152 hardcode_libdir_separator=:
10157 hardcode_shlibpath_var=no
10160 hardcode_direct=yes
10161 hardcode_direct_absolute=yes
10162 export_dynamic_flag_spec='${wl}-E'
10164 # hardcode_minus_L: Not really in the search PATH,
10165 # but as the default location of the library.
10166 hardcode_minus_L=yes
10172 irix5* | irix6* | nonstopux*)
10173 if test "$GCC" = yes; then
10174 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'
10175 # Try to use the -exported_symbol ld option, if it does not
10176 # work, assume that -exports_file does not work either and
10177 # implicitly export all symbols.
10178 # This should be the same for all languages, so no per-tag cache variable.
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10180 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10181 if ${lt_cv_irix_exported_symbol+:} false; then :
10182 $as_echo_n "(cached) " >&6
10184 save_LDFLAGS="$LDFLAGS"
10185 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int foo (void) { return 0; }
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 lt_cv_irix_exported_symbol=yes
10193 lt_cv_irix_exported_symbol=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 LDFLAGS="$save_LDFLAGS"
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10200 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10201 if test "$lt_cv_irix_exported_symbol" = yes; then
10202 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'
10205 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'
10206 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'
10208 archive_cmds_need_lc='no'
10209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10210 hardcode_libdir_separator=:
10212 link_all_deplibs=yes
10215 netbsd* | netbsdelf*-gnu)
10216 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10217 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10219 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10221 hardcode_libdir_flag_spec='-R$libdir'
10222 hardcode_direct=yes
10223 hardcode_shlibpath_var=no
10227 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10228 hardcode_direct=yes
10229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10230 hardcode_libdir_separator=:
10231 hardcode_shlibpath_var=no
10238 if test -f /usr/libexec/ld.so; then
10239 hardcode_direct=yes
10240 hardcode_shlibpath_var=no
10241 hardcode_direct_absolute=yes
10242 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10243 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10245 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10246 export_dynamic_flag_spec='${wl}-E'
10249 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10250 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10251 hardcode_libdir_flag_spec='-R$libdir'
10254 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10255 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10265 hardcode_libdir_flag_spec='-L$libdir'
10266 hardcode_minus_L=yes
10267 allow_undefined_flag=unsupported
10268 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'
10269 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10273 if test "$GCC" = yes; then
10274 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10275 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'
10277 allow_undefined_flag=' -expect_unresolved \*'
10278 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'
10280 archive_cmds_need_lc='no'
10281 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10282 hardcode_libdir_separator=:
10285 osf4* | osf5*) # as osf3* with the addition of -msym flag
10286 if test "$GCC" = yes; then
10287 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10288 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'
10289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10291 allow_undefined_flag=' -expect_unresolved \*'
10292 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'
10293 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~
10294 $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'
10296 # Both c and cxx compiler support -rpath directly
10297 hardcode_libdir_flag_spec='-rpath $libdir'
10299 archive_cmds_need_lc='no'
10300 hardcode_libdir_separator=:
10304 no_undefined_flag=' -z defs'
10305 if test "$GCC" = yes; then
10307 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10308 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10309 $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'
10311 case `$CC -V 2>&1` in
10314 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10315 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10320 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10321 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10322 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10326 hardcode_libdir_flag_spec='-R$libdir'
10327 hardcode_shlibpath_var=no
10329 solaris2.[0-5] | solaris2.[0-5].*) ;;
10331 # The compiler driver will combine and reorder linker options,
10332 # but understands `-z linker_flag'. GCC discards it without `$wl',
10333 # but is careful enough not to reorder.
10334 # Supported since Solaris 2.6 (maybe 2.5.1?)
10335 if test "$GCC" = yes; then
10336 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10338 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10342 link_all_deplibs=yes
10346 if test "x$host_vendor" = xsequent; then
10347 # Use $CC to link under sequent, because it throws in some extra .o
10348 # files that make .init and .fini sections work.
10349 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10351 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10353 hardcode_libdir_flag_spec='-L$libdir'
10354 hardcode_direct=yes
10355 hardcode_minus_L=yes
10356 hardcode_shlibpath_var=no
10360 case $host_vendor in
10362 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10363 hardcode_direct=yes # is this really true???
10366 ## LD is ld it makes a PLAMLIB
10367 ## CC just makes a GrossModule.
10368 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10369 reload_cmds='$CC -r -o $output$reload_objs'
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10377 runpath_var='LD_RUN_PATH'
10378 hardcode_shlibpath_var=no
10382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10383 hardcode_shlibpath_var=no
10384 export_dynamic_flag_spec='-Bexport'
10388 if test -d /usr/nec; then
10389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10390 hardcode_shlibpath_var=no
10391 runpath_var=LD_RUN_PATH
10392 hardcode_runpath_var=yes
10397 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10398 no_undefined_flag='${wl}-z,text'
10399 archive_cmds_need_lc=no
10400 hardcode_shlibpath_var=no
10401 runpath_var='LD_RUN_PATH'
10403 if test "$GCC" = yes; then
10404 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10407 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10408 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10412 sysv5* | sco3.2v5* | sco5v6*)
10413 # Note: We can NOT use -z defs as we might desire, because we do not
10414 # link with -lc, and that would cause any symbols used from libc to
10415 # always be unresolved, which means just about no library would
10416 # ever link correctly. If we're not using GNU ld we use -z text
10417 # though, which does catch some bad symbols but isn't as heavy-handed
10419 no_undefined_flag='${wl}-z,text'
10420 allow_undefined_flag='${wl}-z,nodefs'
10421 archive_cmds_need_lc=no
10422 hardcode_shlibpath_var=no
10423 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10424 hardcode_libdir_separator=':'
10425 link_all_deplibs=yes
10426 export_dynamic_flag_spec='${wl}-Bexport'
10427 runpath_var='LD_RUN_PATH'
10429 if test "$GCC" = yes; then
10430 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10433 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10434 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10440 hardcode_libdir_flag_spec='-L$libdir'
10441 hardcode_shlibpath_var=no
10449 if test x$host_vendor = xsni; then
10451 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10452 export_dynamic_flag_spec='${wl}-Blargedynsym'
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10459 $as_echo "$ld_shlibs" >&6; }
10460 test "$ld_shlibs" = no && can_build_shared=no
10462 with_gnu_ld=$with_gnu_ld
10479 # Do we need to explicitly link libc?
10481 case "x$archive_cmds_need_lc" in
10483 # Assume -lc should be added
10484 archive_cmds_need_lc=yes
10486 if test "$enable_shared" = yes && test "$GCC" = yes; then
10487 case $archive_cmds in
10489 # FIXME: we may have to deal with multi-command sequences.
10492 # Test whether the compiler implicitly links with -lc since on some
10493 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10494 # to ld, don't add -lc before -lgcc.
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10496 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10497 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10498 $as_echo_n "(cached) " >&6
10501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10504 (eval $ac_compile) 2>&5
10506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507 test $ac_status = 0; } 2>conftest.err; then
10510 libobjs=conftest.$ac_objext
10512 wl=$lt_prog_compiler_wl
10513 pic_flag=$lt_prog_compiler_pic
10519 lt_save_allow_undefined_flag=$allow_undefined_flag
10520 allow_undefined_flag=
10521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10522 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10525 test $ac_status = 0; }
10527 lt_cv_archive_cmds_need_lc=no
10529 lt_cv_archive_cmds_need_lc=yes
10531 allow_undefined_flag=$lt_save_allow_undefined_flag
10533 cat conftest.err 1>&5
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10539 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10540 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10699 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10701 if test "$GCC" = yes; then
10703 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10704 *) lt_awk_arg="/^libraries:/" ;;
10707 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10708 *) lt_sed_strip_eq="s,=/,/,g" ;;
10710 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10711 case $lt_search_path_spec in
10713 # if the path contains ";" then we assume it to be the separator
10714 # otherwise default to the standard path separator (i.e. ":") - it is
10715 # assumed that no part of a normal pathname contains ";" but that should
10716 # okay in the real world where ";" in dirpaths is itself problematic.
10717 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10720 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10723 # Ok, now we have the path, separated by spaces, we can step through it
10724 # and add multilib dir if necessary.
10725 lt_tmp_lt_search_path_spec=
10726 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10727 for lt_sys_path in $lt_search_path_spec; do
10728 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10729 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10731 test -d "$lt_sys_path" && \
10732 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10735 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10736 BEGIN {RS=" "; FS="/|\n";} {
10739 for (lt_i = NF; lt_i > 0; lt_i--) {
10740 if ($lt_i != "" && $lt_i != ".") {
10741 if ($lt_i == "..") {
10744 if (lt_count == 0) {
10745 lt_foo="/" $lt_i lt_foo;
10752 if (lt_foo != "") { lt_freq[lt_foo]++; }
10753 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10755 # AWK program above erroneously prepends '/' to C:/dos/paths
10758 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10759 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10761 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10763 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10765 library_names_spec=
10766 libname_spec='lib$name'
10770 postuninstall_cmds=
10774 shlibpath_overrides_runpath=unknown
10776 dynamic_linker="$host_os ld.so"
10777 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10778 need_lib_prefix=unknown
10779 hardcode_into_libs=no
10781 # when you set need_version to no, make sure it does not cause -set_version
10782 # flags to be left without arguments
10783 need_version=unknown
10787 version_type=linux # correct to gnu/linux during the next big refactor
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10789 shlibpath_var=LIBPATH
10791 # AIX 3 has no versioning support, so we append a major version to the name.
10792 soname_spec='${libname}${release}${shared_ext}$major'
10796 version_type=linux # correct to gnu/linux during the next big refactor
10799 hardcode_into_libs=yes
10800 if test "$host_cpu" = ia64; then
10801 # AIX 5 supports IA64
10802 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10803 shlibpath_var=LD_LIBRARY_PATH
10805 # With GCC up to 2.95.x, collect2 would create an import file
10806 # for dependence libraries. The import file would start with
10807 # the line `#! .'. This would cause the generated library to
10808 # depend on `.', always an invalid library. This was fixed in
10809 # development snapshots of GCC prior to 3.0.
10811 aix4 | aix4.[01] | aix4.[01].*)
10812 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10814 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10817 can_build_shared=no
10821 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10822 # soname into executable. Probably we can add versioning support to
10823 # collect2, so additional links can be useful in future.
10824 if test "$aix_use_runtimelinking" = yes; then
10825 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10826 # instead of lib<name>.a to let people know that these are not
10827 # typical AIX shared libraries.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830 # We preserve .a as extension for shared libraries through AIX4.2
10831 # and later when we are not doing run time linking.
10832 library_names_spec='${libname}${release}.a $libname.a'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10835 shlibpath_var=LIBPATH
10842 # Since July 2007 AmigaOS4 officially supports .so libraries.
10843 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 library_names_spec='$libname.ixlibrary $libname.a'
10848 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10849 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'
10855 library_names_spec='${libname}${shared_ext}'
10856 dynamic_linker="$host_os ld.so"
10857 shlibpath_var=LIBRARY_PATH
10861 version_type=linux # correct to gnu/linux during the next big refactor
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 soname_spec='${libname}${release}${shared_ext}$major'
10865 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10868 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10869 # the default ld.so.conf also contains /usr/contrib/lib and
10870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10871 # libtool to hard-code these into programs
10874 cygwin* | mingw* | pw32* | cegcc*)
10875 version_type=windows
10880 case $GCC,$cc_basename in
10883 library_names_spec='$libname.dll.a'
10884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10885 postinstall_cmds='base_file=`basename \${file}`~
10886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10887 dldir=$destdir/`dirname \$dlpath`~
10888 test -d \$dldir || mkdir -p \$dldir~
10889 $install_prog $dir/$dlname \$dldir/$dlname~
10890 chmod a+x \$dldir/$dlname~
10891 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10892 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10894 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10895 dlpath=$dir/\$dldll~
10897 shlibpath_overrides_runpath=yes
10901 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10902 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10904 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10907 # MinGW DLLs use traditional 'lib' prefix
10908 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10911 # pw32 DLLs use 'pw' prefix rather than 'lib'
10912 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10915 dynamic_linker='Win32 ld.exe'
10920 libname_spec='$name'
10921 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10922 library_names_spec='${libname}.dll.lib'
10926 sys_lib_search_path_spec=
10929 for lt_path in $LIB
10932 # Let DOS variable expansion print the short 8.3 style file name.
10933 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10934 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10937 # Convert to MSYS style.
10938 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10941 # Convert to unix form, then to dos form, then back to unix form
10942 # but this time dos style (no spaces!) so that the unix form looks
10943 # like /cygdrive/c/PROGRA~1:/cygdr...
10944 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10945 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10946 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10949 sys_lib_search_path_spec="$LIB"
10950 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10951 # It is most probably a Windows format PATH.
10952 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10954 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10956 # FIXME: find the short name or the path components, as spaces are
10957 # common. (e.g. "Program Files" -> "PROGRA~1")
10961 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10962 postinstall_cmds='base_file=`basename \${file}`~
10963 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10964 dldir=$destdir/`dirname \$dlpath`~
10965 test -d \$dldir || mkdir -p \$dldir~
10966 $install_prog $dir/$dlname \$dldir/$dlname'
10967 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10968 dlpath=$dir/\$dldll~
10970 shlibpath_overrides_runpath=yes
10971 dynamic_linker='Win32 link.exe'
10975 # Assume MSVC wrapper
10976 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10977 dynamic_linker='Win32 ld.exe'
10980 # FIXME: first we should search . and the directory the executable is in
10984 darwin* | rhapsody*)
10985 dynamic_linker="$host_os dyld"
10986 version_type=darwin
10989 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10990 soname_spec='${libname}${release}${major}$shared_ext'
10991 shlibpath_overrides_runpath=yes
10992 shlibpath_var=DYLD_LIBRARY_PATH
10993 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10995 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10996 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11000 version_type=linux # correct to gnu/linux during the next big refactor
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11008 freebsd* | dragonfly*)
11009 # DragonFly does not have aout. When/if they implement a new
11010 # versioning mechanism, adjust this.
11011 if test -x /usr/bin/objformat; then
11012 objformat=`/usr/bin/objformat`
11015 freebsd[23].*) objformat=aout ;;
11016 *) objformat=elf ;;
11019 version_type=freebsd-$objformat
11020 case $version_type in
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11031 shlibpath_var=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath=yes
11036 freebsd3.[01]* | freebsdelf3.[01]*)
11037 shlibpath_overrides_runpath=yes
11038 hardcode_into_libs=yes
11040 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11041 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11042 shlibpath_overrides_runpath=no
11043 hardcode_into_libs=yes
11045 *) # from 4.6 on, and DragonFly
11046 shlibpath_overrides_runpath=yes
11047 hardcode_into_libs=yes
11053 version_type=linux # correct to gnu/linux during the next big refactor
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 shlibpath_var=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath=no
11060 hardcode_into_libs=yes
11064 version_type=linux # correct to gnu/linux during the next big refactor
11067 dynamic_linker="$host_os runtime_loader"
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LIBRARY_PATH
11071 shlibpath_overrides_runpath=yes
11072 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11073 hardcode_into_libs=yes
11076 hpux9* | hpux10* | hpux11*)
11077 # Give a soname corresponding to the major version so that dld.sl refuses to
11078 # link against other versions.
11085 hardcode_into_libs=yes
11086 dynamic_linker="$host_os dld.so"
11087 shlibpath_var=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 soname_spec='${libname}${release}${shared_ext}$major'
11091 if test "X$HPUX_IA64_MODE" = X32; then
11092 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11094 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11096 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11100 hardcode_into_libs=yes
11101 dynamic_linker="$host_os dld.sl"
11102 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11103 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11107 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11111 dynamic_linker="$host_os dld.sl"
11112 shlibpath_var=SHLIB_PATH
11113 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11118 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11119 postinstall_cmds='chmod 555 $lib'
11120 # or fails outright, so override atomically:
11121 install_override_mode=555
11125 version_type=linux # correct to gnu/linux during the next big refactor
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11129 soname_spec='${libname}${release}${shared_ext}$major'
11130 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 irix5* | irix6* | nonstopux*)
11138 nonstopux*) version_type=nonstopux ;;
11140 if test "$lt_cv_prog_gnu_ld" = yes; then
11141 version_type=linux # correct to gnu/linux during the next big refactor
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11151 irix5* | nonstopux*)
11152 libsuff= shlibsuff=
11155 case $LD in # libtool.m4 will add one of these switches to LD
11156 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11157 libsuff= shlibsuff= libmagic=32-bit;;
11158 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11159 libsuff=32 shlibsuff=N32 libmagic=N32;;
11160 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11161 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11162 *) libsuff= shlibsuff= libmagic=never-match;;
11166 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11167 shlibpath_overrides_runpath=no
11168 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11169 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11170 hardcode_into_libs=yes
11173 # No shared lib support for Linux oldld, aout, or coff.
11174 linux*oldld* | linux*aout* | linux*coff*)
11178 # This must be glibc/ELF.
11179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11180 version_type=linux # correct to gnu/linux during the next big refactor
11183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 soname_spec='${libname}${release}${shared_ext}$major'
11185 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath=no
11189 # Some binutils ld are patched to set DT_RUNPATH
11190 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11191 $as_echo_n "(cached) " >&6
11193 lt_cv_shlibpath_overrides_runpath=no
11194 save_LDFLAGS=$LDFLAGS
11195 save_libdir=$libdir
11196 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11197 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11211 lt_cv_shlibpath_overrides_runpath=yes
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LDFLAGS=$save_LDFLAGS
11217 libdir=$save_libdir
11221 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11223 # This implies no fast_install, which is unacceptable.
11224 # Some rework will be needed to allow for fast_install
11225 # before this can be enabled.
11226 hardcode_into_libs=yes
11228 # Append ld.so.conf contents to the search path
11229 if test -f /etc/ld.so.conf; then
11230 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' ' '`
11231 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11234 # We used to test for /lib/ld.so.1 and disable shared libraries on
11235 # powerpc, because MkLinux only supported shared libraries with the
11236 # GNU dynamic linker. Since this was broken with cross compilers,
11237 # most powerpc-linux boxes support dynamic linking these days and
11238 # people can always --disable-shared, the test was removed, and we
11239 # assume the GNU/Linux dynamic linker is in use.
11240 dynamic_linker='GNU/Linux ld.so'
11247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11248 soname_spec='${libname}${release}${shared_ext}$major'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath=no
11251 hardcode_into_libs=yes
11252 dynamic_linker='NetBSD ld.elf_so'
11259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11262 dynamic_linker='NetBSD (a.out) ld.so'
11264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11265 soname_spec='${libname}${release}${shared_ext}$major'
11266 dynamic_linker='NetBSD ld.elf_so'
11268 shlibpath_var=LD_LIBRARY_PATH
11269 shlibpath_overrides_runpath=yes
11270 hardcode_into_libs=yes
11274 version_type=linux # correct to gnu/linux during the next big refactor
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11276 shlibpath_var=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath=yes
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285 soname_spec='${libname}${release}${shared_ext}$major'
11286 shlibpath_var=LD_LIBRARY_PATH
11287 shlibpath_overrides_runpath=no
11288 hardcode_into_libs=yes
11289 dynamic_linker='ldqnx.so'
11294 sys_lib_dlsearch_path_spec="/usr/lib"
11296 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11298 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11299 *) need_version=no ;;
11301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11302 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11306 openbsd2.[89] | openbsd2.[89].*)
11307 shlibpath_overrides_runpath=no
11310 shlibpath_overrides_runpath=yes
11314 shlibpath_overrides_runpath=yes
11319 libname_spec='$name'
11322 library_names_spec='$libname${shared_ext} $libname.a'
11323 dynamic_linker='OS/2 ld.exe'
11324 shlibpath_var=LIBPATH
11327 osf3* | osf4* | osf5*)
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333 shlibpath_var=LD_LIBRARY_PATH
11334 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11335 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11343 version_type=linux # correct to gnu/linux during the next big refactor
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 shlibpath_overrides_runpath=yes
11350 hardcode_into_libs=yes
11351 # ldd complains unless libraries are executable
11352 postinstall_cmds='chmod +x $lib'
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11358 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11359 shlibpath_var=LD_LIBRARY_PATH
11360 shlibpath_overrides_runpath=yes
11361 if test "$with_gnu_ld" = yes; then
11368 version_type=linux # correct to gnu/linux during the next big refactor
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 shlibpath_var=LD_LIBRARY_PATH
11372 case $host_vendor in
11374 shlibpath_overrides_runpath=no
11376 runpath_var=LD_RUN_PATH
11384 shlibpath_overrides_runpath=no
11385 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11391 if test -d /usr/nec ;then
11392 version_type=linux # correct to gnu/linux during the next big refactor
11393 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11394 soname_spec='$libname${shared_ext}.$major'
11395 shlibpath_var=LD_LIBRARY_PATH
11399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11400 version_type=freebsd-elf
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11404 soname_spec='${libname}${release}${shared_ext}$major'
11405 shlibpath_var=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath=yes
11407 hardcode_into_libs=yes
11408 if test "$with_gnu_ld" = yes; then
11409 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11411 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11414 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11418 sys_lib_dlsearch_path_spec='/usr/lib'
11422 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11423 version_type=linux # correct to gnu/linux during the next big refactor
11426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427 shlibpath_var=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath=no
11429 hardcode_into_libs=yes
11433 version_type=linux # correct to gnu/linux during the next big refactor
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec='${libname}${release}${shared_ext}$major'
11436 shlibpath_var=LD_LIBRARY_PATH
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11444 $as_echo "$dynamic_linker" >&6; }
11445 test "$dynamic_linker" = no && can_build_shared=no
11447 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11448 if test "$GCC" = yes; then
11449 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11452 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11453 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11455 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11456 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11551 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11553 if test -n "$hardcode_libdir_flag_spec" ||
11554 test -n "$runpath_var" ||
11555 test "X$hardcode_automatic" = "Xyes" ; then
11557 # We can hardcode non-existent directories.
11558 if test "$hardcode_direct" != no &&
11559 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11560 # have to relink, otherwise we might link with an installed library
11561 # when we should be linking with a yet-to-be-installed one
11562 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11563 test "$hardcode_minus_L" != no; then
11564 # Linking always hardcodes the temporary library directory.
11565 hardcode_action=relink
11567 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11568 hardcode_action=immediate
11571 # We cannot hardcode anything, or else we can only hardcode existing
11573 hardcode_action=unsupported
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11576 $as_echo "$hardcode_action" >&6; }
11578 if test "$hardcode_action" = relink ||
11579 test "$inherit_rpath" = yes; then
11580 # Fast installation is not supported
11581 enable_fast_install=no
11582 elif test "$shlibpath_overrides_runpath" = yes ||
11583 test "$enable_shared" = no; then
11584 # Fast installation is not necessary
11585 enable_fast_install=needless
11593 if test "x$enable_dlopen" != xyes; then
11594 enable_dlopen=unknown
11595 enable_dlopen_self=unknown
11596 enable_dlopen_self_static=unknown
11603 lt_cv_dlopen="load_add_on"
11605 lt_cv_dlopen_self=yes
11608 mingw* | pw32* | cegcc*)
11609 lt_cv_dlopen="LoadLibrary"
11614 lt_cv_dlopen="dlopen"
11619 # if libdl is installed we need to link against it
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11621 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11622 if ${ac_cv_lib_dl_dlopen+:} false; then :
11623 $as_echo_n "(cached) " >&6
11625 ac_check_lib_save_LIBS=$LIBS
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 ac_cv_lib_dl_dlopen=yes
11648 ac_cv_lib_dl_dlopen=no
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11655 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11656 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11657 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11660 lt_cv_dlopen="dyld"
11662 lt_cv_dlopen_self=yes
11669 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11670 if test "x$ac_cv_func_shl_load" = xyes; then :
11671 lt_cv_dlopen="shl_load"
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11674 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11675 if ${ac_cv_lib_dld_shl_load+:} false; then :
11676 $as_echo_n "(cached) " >&6
11678 ac_check_lib_save_LIBS=$LIBS
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11693 return shl_load ();
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_dld_shl_load=yes
11701 ac_cv_lib_dld_shl_load=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11708 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11709 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11710 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11712 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11713 if test "x$ac_cv_func_dlopen" = xyes; then :
11714 lt_cv_dlopen="dlopen"
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11717 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11718 if ${ac_cv_lib_dl_dlopen+:} false; then :
11719 $as_echo_n "(cached) " >&6
11721 ac_check_lib_save_LIBS=$LIBS
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 ac_cv_lib_dl_dlopen=yes
11744 ac_cv_lib_dl_dlopen=no
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_lib_save_LIBS
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11751 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11752 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11753 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11756 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11757 if ${ac_cv_lib_svld_dlopen+:} false; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_check_lib_save_LIBS=$LIBS
11761 LIBS="-lsvld $LIBS"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11780 if ac_fn_c_try_link "$LINENO"; then :
11781 ac_cv_lib_svld_dlopen=yes
11783 ac_cv_lib_svld_dlopen=no
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11790 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11791 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11792 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11795 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11796 if ${ac_cv_lib_dld_dld_link+:} false; then :
11797 $as_echo_n "(cached) " >&6
11799 ac_check_lib_save_LIBS=$LIBS
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11814 return dld_link ();
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 ac_cv_lib_dld_dld_link=yes
11822 ac_cv_lib_dld_dld_link=no
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11829 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11830 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11831 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11852 if test "x$lt_cv_dlopen" != xno; then
11858 case $lt_cv_dlopen in
11860 save_CPPFLAGS="$CPPFLAGS"
11861 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11863 save_LDFLAGS="$LDFLAGS"
11864 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11867 LIBS="$lt_cv_dlopen_libs $LIBS"
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11870 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11871 if ${lt_cv_dlopen_self+:} false; then :
11872 $as_echo_n "(cached) " >&6
11874 if test "$cross_compiling" = yes; then :
11875 lt_cv_dlopen_self=cross
11877 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11878 lt_status=$lt_dlunknown
11879 cat > conftest.$ac_ext <<_LT_EOF
11880 #line $LINENO "configure"
11881 #include "confdefs.h"
11890 # define LT_DLGLOBAL RTLD_GLOBAL
11893 # define LT_DLGLOBAL DL_GLOBAL
11895 # define LT_DLGLOBAL 0
11899 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11900 find out it does not work in some platform. */
11901 #ifndef LT_DLLAZY_OR_NOW
11903 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11906 # define LT_DLLAZY_OR_NOW DL_LAZY
11909 # define LT_DLLAZY_OR_NOW RTLD_NOW
11912 # define LT_DLLAZY_OR_NOW DL_NOW
11914 # define LT_DLLAZY_OR_NOW 0
11921 /* When -fvisbility=hidden is used, assume the code has been annotated
11922 correspondingly for the symbols needed. */
11923 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11924 int fnord () __attribute__((visibility("default")));
11927 int fnord () { return 42; }
11930 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11931 int status = $lt_dlunknown;
11935 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11938 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11939 else puts (dlerror ());
11941 /* dlclose (self); */
11949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11950 (eval $ac_link) 2>&5
11952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11953 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11954 (./conftest; exit; ) >&5 2>/dev/null
11956 case x$lt_status in
11957 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11958 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11959 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11962 # compilation failed
11963 lt_cv_dlopen_self=no
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11971 $as_echo "$lt_cv_dlopen_self" >&6; }
11973 if test "x$lt_cv_dlopen_self" = xyes; then
11974 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11976 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11977 if ${lt_cv_dlopen_self_static+:} false; then :
11978 $as_echo_n "(cached) " >&6
11980 if test "$cross_compiling" = yes; then :
11981 lt_cv_dlopen_self_static=cross
11983 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11984 lt_status=$lt_dlunknown
11985 cat > conftest.$ac_ext <<_LT_EOF
11986 #line $LINENO "configure"
11987 #include "confdefs.h"
11996 # define LT_DLGLOBAL RTLD_GLOBAL
11999 # define LT_DLGLOBAL DL_GLOBAL
12001 # define LT_DLGLOBAL 0
12005 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12006 find out it does not work in some platform. */
12007 #ifndef LT_DLLAZY_OR_NOW
12009 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12012 # define LT_DLLAZY_OR_NOW DL_LAZY
12015 # define LT_DLLAZY_OR_NOW RTLD_NOW
12018 # define LT_DLLAZY_OR_NOW DL_NOW
12020 # define LT_DLLAZY_OR_NOW 0
12027 /* When -fvisbility=hidden is used, assume the code has been annotated
12028 correspondingly for the symbols needed. */
12029 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12030 int fnord () __attribute__((visibility("default")));
12033 int fnord () { return 42; }
12036 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12037 int status = $lt_dlunknown;
12041 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12044 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12045 else puts (dlerror ());
12047 /* dlclose (self); */
12055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12056 (eval $ac_link) 2>&5
12058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12059 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12060 (./conftest; exit; ) >&5 2>/dev/null
12062 case x$lt_status in
12063 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12064 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12065 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12068 # compilation failed
12069 lt_cv_dlopen_self_static=no
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12077 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12080 CPPFLAGS="$save_CPPFLAGS"
12081 LDFLAGS="$save_LDFLAGS"
12086 case $lt_cv_dlopen_self in
12087 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12088 *) enable_dlopen_self=unknown ;;
12091 case $lt_cv_dlopen_self_static in
12092 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12093 *) enable_dlopen_self_static=unknown ;;
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12116 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12117 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12118 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12119 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12121 $as_echo "yes" >&6; }
12123 # FIXME - insert some real tests, host_os isn't really good enough
12126 if test -n "$STRIP" ; then
12127 striplib="$STRIP -x"
12128 old_striplib="$STRIP -S"
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12130 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12138 $as_echo "no" >&6; }
12154 # Report which library types will actually be built
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12156 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12158 $as_echo "$can_build_shared" >&6; }
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12161 $as_echo_n "checking whether to build shared libraries... " >&6; }
12162 test "$can_build_shared" = "no" && enable_shared=no
12164 # On AIX, shared libraries and static libraries use the same namespace, and
12165 # are all built from PIC.
12168 test "$enable_shared" = yes && enable_static=no
12169 if test -n "$RANLIB"; then
12170 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12171 postinstall_cmds='$RANLIB $lib'
12176 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12177 test "$enable_shared" = yes && enable_static=no
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12182 $as_echo "$enable_shared" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12185 $as_echo_n "checking whether to build static libraries... " >&6; }
12186 # Make sure either enable_shared or enable_static is yes.
12187 test "$enable_shared" = yes || enable_static=yes
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12189 $as_echo "$enable_static" >&6; }
12196 ac_cpp='$CPP $CPPFLAGS'
12197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12217 ac_config_commands="$ac_config_commands libtool"
12222 # Only expand once:
12233 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12234 if test -n "$ac_tool_prefix"; then
12235 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12236 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12240 $as_echo_n "(cached) " >&6
12242 case $PKG_CONFIG in
12244 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12254 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12265 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12266 if test -n "$PKG_CONFIG"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12268 $as_echo "$PKG_CONFIG" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12276 if test -z "$ac_cv_path_PKG_CONFIG"; then
12277 ac_pt_PKG_CONFIG=$PKG_CONFIG
12278 # Extract the first word of "pkg-config", so it can be a program name with args.
12279 set dummy pkg-config; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12283 $as_echo_n "(cached) " >&6
12285 case $ac_pt_PKG_CONFIG in
12287 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12309 if test -n "$ac_pt_PKG_CONFIG"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12311 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12317 if test "x$ac_pt_PKG_CONFIG" = x; then
12320 case $cross_compiling:$ac_tool_warned in
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12324 ac_tool_warned=yes ;;
12326 PKG_CONFIG=$ac_pt_PKG_CONFIG
12329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12333 if test -n "$PKG_CONFIG"; then
12334 _pkg_min_version=0.9.0
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12336 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12339 $as_echo "yes" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12342 $as_echo "no" >&6; }
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSSDP" >&5
12349 $as_echo_n "checking for LIBGSSDP... " >&6; }
12351 if test -n "$LIBGSSDP_CFLAGS"; then
12352 pkg_cv_LIBGSSDP_CFLAGS="$LIBGSSDP_CFLAGS"
12353 elif test -n "$PKG_CONFIG"; then
12354 if test -n "$PKG_CONFIG" && \
12355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32 \\
12356 gobject-2.0 >= 2.32 \\
12358 libsoup-2.4 >= 2.26.1\""; } >&5
12359 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12360 gobject-2.0 >= 2.32 \
12362 libsoup-2.4 >= 2.26.1") 2>&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12365 test $ac_status = 0; }; then
12366 pkg_cv_LIBGSSDP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32 \
12367 gobject-2.0 >= 2.32 \
12369 libsoup-2.4 >= 2.26.1" 2>/dev/null`
12370 test "x$?" != "x0" && pkg_failed=yes
12377 if test -n "$LIBGSSDP_LIBS"; then
12378 pkg_cv_LIBGSSDP_LIBS="$LIBGSSDP_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 \"glib-2.0 >= 2.32 \\
12382 gobject-2.0 >= 2.32 \\
12384 libsoup-2.4 >= 2.26.1\""; } >&5
12385 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12386 gobject-2.0 >= 2.32 \
12388 libsoup-2.4 >= 2.26.1") 2>&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12391 test $ac_status = 0; }; then
12392 pkg_cv_LIBGSSDP_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32 \
12393 gobject-2.0 >= 2.32 \
12395 libsoup-2.4 >= 2.26.1" 2>/dev/null`
12396 test "x$?" != "x0" && pkg_failed=yes
12406 if test $pkg_failed = yes; then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12408 $as_echo "no" >&6; }
12410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12411 _pkg_short_errors_supported=yes
12413 _pkg_short_errors_supported=no
12415 if test $_pkg_short_errors_supported = yes; then
12416 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12417 gobject-2.0 >= 2.32 \
12419 libsoup-2.4 >= 2.26.1" 2>&1`
12421 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12422 gobject-2.0 >= 2.32 \
12424 libsoup-2.4 >= 2.26.1" 2>&1`
12426 # Put the nasty error message in config.log where it belongs
12427 echo "$LIBGSSDP_PKG_ERRORS" >&5
12429 as_fn_error $? "Package requirements (glib-2.0 >= 2.32 \
12430 gobject-2.0 >= 2.32 \
12432 libsoup-2.4 >= 2.26.1) were not met:
12434 $LIBGSSDP_PKG_ERRORS
12436 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12437 installed software in a non-standard prefix.
12439 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12440 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12441 See the pkg-config man page for more details." "$LINENO" 5
12442 elif test $pkg_failed = untried; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12444 $as_echo "no" >&6; }
12445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12447 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12448 is in your PATH or set the PKG_CONFIG environment variable to the full
12449 path to pkg-config.
12451 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12452 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12453 See the pkg-config man page for more details.
12455 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12456 See \`config.log' for more details" "$LINENO" 5; }
12458 LIBGSSDP_CFLAGS=$pkg_cv_LIBGSSDP_CFLAGS
12459 LIBGSSDP_LIBS=$pkg_cv_LIBGSSDP_LIBS
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12461 $as_echo "yes" >&6; }
12465 LIBGTK_REQUIRED=3.0
12468 # Check whether --with-gtk was given.
12469 if test "${with_gtk+set}" = set; then :
12470 withval=$with_gtk; try_gtk=$withval
12477 if test x$try_gtk = xyes ; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGTK" >&5
12481 $as_echo_n "checking for LIBGTK... " >&6; }
12483 if test -n "$LIBGTK_CFLAGS"; then
12484 pkg_cv_LIBGTK_CFLAGS="$LIBGTK_CFLAGS"
12485 elif test -n "$PKG_CONFIG"; then
12486 if test -n "$PKG_CONFIG" && \
12487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12488 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12491 test $ac_status = 0; }; then
12492 pkg_cv_LIBGTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12493 test "x$?" != "x0" && pkg_failed=yes
12500 if test -n "$LIBGTK_LIBS"; then
12501 pkg_cv_LIBGTK_LIBS="$LIBGTK_LIBS"
12502 elif test -n "$PKG_CONFIG"; then
12503 if test -n "$PKG_CONFIG" && \
12504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12505 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12508 test $ac_status = 0; }; then
12509 pkg_cv_LIBGTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12510 test "x$?" != "x0" && pkg_failed=yes
12520 if test $pkg_failed = yes; then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 $as_echo "no" >&6; }
12524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12525 _pkg_short_errors_supported=yes
12527 _pkg_short_errors_supported=no
12529 if test $_pkg_short_errors_supported = yes; then
12530 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12532 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12534 # Put the nasty error message in config.log where it belongs
12535 echo "$LIBGTK_PKG_ERRORS" >&5
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12540 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12542 elif test $pkg_failed = untried; then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12548 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12551 LIBGTK_CFLAGS=$pkg_cv_LIBGTK_CFLAGS
12552 LIBGTK_LIBS=$pkg_cv_LIBGTK_LIBS
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12554 $as_echo "yes" >&6; }
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: gtk+ usage disabled, some tools may not build." >&5
12563 $as_echo "$as_me: gtk+ usage disabled, some tools may not build." >&6;}
12566 if test x$HAVE_LIBGTK = xno; then
12571 $as_echo "#define HAVE_LIBGTK /**/" >>confdefs.h
12576 if test x$USE_LIBGTK = xyes; then
12578 USE_LIBGTK_FALSE='#'
12580 USE_LIBGTK_TRUE='#'
12586 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12590 # Check whether --enable-debug was given.
12591 if test "${enable_debug+set}" = set; then :
12592 enableval=$enable_debug;
12597 if test "x$enable_debug" = "xyes"; then
12598 CFLAGS="$CFLAGS -g -Wall"
12601 # Check whether --enable-strict-c was given.
12602 if test "${enable_strict_c+set}" = set; then :
12603 enableval=$enable_strict_c;
12608 if test "x$enable_strict_c" = "xyes"; then :
12609 CFLAGS="$CFLAGS -Werror"
12615 # Check whether --enable-introspection was given.
12616 if test "${enable_introspection+set}" = set; then :
12617 enableval=$enable_introspection;
12619 enable_introspection=auto
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12624 $as_echo_n "checking for gobject-introspection... " >&6; }
12626 case $enable_introspection in #(
12628 found_introspection="no (disabled, use --enable-introspection to enable)"
12631 if test -n "$PKG_CONFIG" && \
12632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12633 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12636 test $ac_status = 0; }; then
12639 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12641 if test -n "$PKG_CONFIG" && \
12642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12643 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646 test $ac_status = 0; }; then
12647 found_introspection=yes
12649 as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build gssdp" "$LINENO" 5
12653 if test -n "$PKG_CONFIG" && \
12654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12655 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12658 test $ac_status = 0; }; then
12659 found_introspection=yes
12661 found_introspection=no
12665 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12669 $as_echo "$found_introspection" >&6; }
12671 INTROSPECTION_SCANNER=
12672 INTROSPECTION_COMPILER=
12673 INTROSPECTION_GENERATE=
12674 INTROSPECTION_GIRDIR=
12675 INTROSPECTION_TYPELIBDIR=
12676 if test "x$found_introspection" = "xyes"; then
12677 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12678 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12679 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12680 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12681 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12682 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12683 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12684 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12695 if test "x$found_introspection" = "xyes"; then
12696 HAVE_INTROSPECTION_TRUE=
12697 HAVE_INTROSPECTION_FALSE='#'
12699 HAVE_INTROSPECTION_TRUE='#'
12700 HAVE_INTROSPECTION_FALSE=
12708 if test "x$found_introspection" = "xyes"; then :
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12711 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12712 VAPIGEN_MIN_VERSION=0.14
12713 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12716 $as_echo "yes" >&6; }
12717 VAPIGEN_MIN_VERSION=0.20
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12724 # Extract the first word of "vapigen", so it can be a program name with args.
12725 set dummy vapigen; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_VAPIGEN+:} false; then :
12729 $as_echo_n "(cached) " >&6
12733 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 VAPIGEN=$ac_cv_path_VAPIGEN
12755 if test -n "$VAPIGEN"; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12757 $as_echo "$VAPIGEN" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12764 if test -z "$VAPIGEN"; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12766 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12768 if test -n "$VAPIGEN_MIN_VERSION"; then :
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12770 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12771 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12772 as_arg_v1=$VAPIGEN_MIN_VERSION
12773 as_arg_v2="$am__vapigen_version"
12774 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12778 $as_echo "yes" >&6; } ;; #(
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; } ;; #(
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784 $as_echo "no" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12786 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12798 if test "x$VAPIGEN" != "x"; then :
12801 if test "x$VAPIGEN" != "x"; then
12803 HAVE_VAPIGEN_FALSE='#'
12805 HAVE_VAPIGEN_TRUE='#'
12806 HAVE_VAPIGEN_FALSE=
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
12811 $as_echo_n "checking for Win32... " >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12821 $as_echo "$os_win32" >&6; }
12822 if test $os_win32 = yes; then
12834 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12835 set dummy gtkdoc-check; ac_word=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837 $as_echo_n "checking for $ac_word... " >&6; }
12838 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12839 $as_echo_n "(cached) " >&6
12841 case $GTKDOC_CHECK in
12843 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12864 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12865 if test -n "$GTKDOC_CHECK"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12867 $as_echo "$GTKDOC_CHECK" >&6; }
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12874 for ac_prog in gtkdoc-rebase
12876 # Extract the first word of "$ac_prog", so it can be a program name with args.
12877 set dummy $ac_prog; ac_word=$2
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12879 $as_echo_n "checking for $ac_word... " >&6; }
12880 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12881 $as_echo_n "(cached) " >&6
12883 case $GTKDOC_REBASE in
12885 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889 for as_dir in $PATH
12892 test -z "$as_dir" && as_dir=.
12893 for ac_exec_ext in '' $ac_executable_extensions; do
12894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12895 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12906 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12907 if test -n "$GTKDOC_REBASE"; then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12909 $as_echo "$GTKDOC_REBASE" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12916 test -n "$GTKDOC_REBASE" && break
12918 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12920 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12921 set dummy gtkdoc-mkpdf; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12925 $as_echo_n "(cached) " >&6
12927 case $GTKDOC_MKPDF in
12929 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933 for as_dir in $PATH
12936 test -z "$as_dir" && as_dir=.
12937 for ac_exec_ext in '' $ac_executable_extensions; do
12938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12939 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12951 if test -n "$GTKDOC_MKPDF"; then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12953 $as_echo "$GTKDOC_MKPDF" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12962 # Check whether --with-html-dir was given.
12963 if test "${with_html_dir+set}" = set; then :
12964 withval=$with_html_dir;
12966 with_html_dir='${datadir}/gtk-doc/html'
12969 HTML_DIR="$with_html_dir"
12972 # Check whether --enable-gtk-doc was given.
12973 if test "${enable_gtk_doc+set}" = set; then :
12974 enableval=$enable_gtk_doc;
12980 if test x$enable_gtk_doc = xyes; then
12981 if test -n "$PKG_CONFIG" && \
12982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12983 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12986 test $ac_status = 0; }; then
12989 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12991 if test "x$PACKAGE_NAME" != "xglib"; then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12995 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12997 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12998 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12999 elif test -n "$PKG_CONFIG"; then
13000 if test -n "$PKG_CONFIG" && \
13001 { { $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
13002 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13005 test $ac_status = 0; }; then
13006 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13007 test "x$?" != "x0" && pkg_failed=yes
13014 if test -n "$GTKDOC_DEPS_LIBS"; then
13015 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13016 elif test -n "$PKG_CONFIG"; then
13017 if test -n "$PKG_CONFIG" && \
13018 { { $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
13019 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13022 test $ac_status = 0; }; then
13023 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13024 test "x$?" != "x0" && pkg_failed=yes
13034 if test $pkg_failed = yes; then
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13036 $as_echo "no" >&6; }
13038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13039 _pkg_short_errors_supported=yes
13041 _pkg_short_errors_supported=no
13043 if test $_pkg_short_errors_supported = yes; then
13044 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`
13046 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13048 # Put the nasty error message in config.log where it belongs
13049 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13051 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13053 $GTKDOC_DEPS_PKG_ERRORS
13055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13056 installed software in a non-standard prefix.
13058 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13059 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13060 See the pkg-config man page for more details." "$LINENO" 5
13061 elif test $pkg_failed = untried; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063 $as_echo "no" >&6; }
13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13066 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13067 is in your PATH or set the PKG_CONFIG environment variable to the full
13068 path to pkg-config.
13070 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13071 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13072 See the pkg-config man page for more details.
13074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13075 See \`config.log' for more details" "$LINENO" 5; }
13077 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13078 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13080 $as_echo "yes" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13087 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13089 $as_echo "$enable_gtk_doc" >&6; }
13091 # Check whether --enable-gtk-doc-html was given.
13092 if test "${enable_gtk_doc_html+set}" = set; then :
13093 enableval=$enable_gtk_doc_html;
13095 enable_gtk_doc_html=yes
13098 # Check whether --enable-gtk-doc-pdf was given.
13099 if test "${enable_gtk_doc_pdf+set}" = set; then :
13100 enableval=$enable_gtk_doc_pdf;
13102 enable_gtk_doc_pdf=no
13106 if test -z "$GTKDOC_MKPDF"; then
13107 enable_gtk_doc_pdf=no
13111 if test x$enable_gtk_doc = xyes; then
13112 ENABLE_GTK_DOC_TRUE=
13113 ENABLE_GTK_DOC_FALSE='#'
13115 ENABLE_GTK_DOC_TRUE='#'
13116 ENABLE_GTK_DOC_FALSE=
13119 if test x$enable_gtk_doc_html = xyes; then
13120 GTK_DOC_BUILD_HTML_TRUE=
13121 GTK_DOC_BUILD_HTML_FALSE='#'
13123 GTK_DOC_BUILD_HTML_TRUE='#'
13124 GTK_DOC_BUILD_HTML_FALSE=
13127 if test x$enable_gtk_doc_pdf = xyes; then
13128 GTK_DOC_BUILD_PDF_TRUE=
13129 GTK_DOC_BUILD_PDF_FALSE='#'
13131 GTK_DOC_BUILD_PDF_TRUE='#'
13132 GTK_DOC_BUILD_PDF_FALSE=
13135 if test -n "$LIBTOOL"; then
13136 GTK_DOC_USE_LIBTOOL_TRUE=
13137 GTK_DOC_USE_LIBTOOL_FALSE='#'
13139 GTK_DOC_USE_LIBTOOL_TRUE='#'
13140 GTK_DOC_USE_LIBTOOL_FALSE=
13143 if test -n "$GTKDOC_REBASE"; then
13144 GTK_DOC_USE_REBASE_TRUE=
13145 GTK_DOC_USE_REBASE_FALSE='#'
13147 GTK_DOC_USE_REBASE_TRUE='#'
13148 GTK_DOC_USE_REBASE_FALSE=
13153 ac_config_files="$ac_config_files Makefile libgssdp/Makefile tools/Makefile tests/Makefile tests/gtest/Makefile vala/Makefile doc/Makefile doc/version.xml gssdp-1.0.pc gssdp-1.0-uninstalled.pc"
13155 cat >confcache <<\_ACEOF
13156 # This file is a shell script that caches the results of configure
13157 # tests run on this system so they can be shared between configure
13158 # scripts and configure runs, see configure's option --config-cache.
13159 # It is not useful on other systems. If it contains results you don't
13160 # want to keep, you may remove or edit it.
13162 # config.status only pays attention to the cache file if you give it
13163 # the --recheck option to rerun configure.
13165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13167 # following values.
13171 # The following way of writing the cache mishandles newlines in values,
13172 # but we know of no workaround that is simple, portable, and efficient.
13173 # So, we kill variables containing newlines.
13174 # Ultrix sh set writes to stderr and can't be redirected directly,
13175 # and sets the high bit in the cache file unless we assign to the vars.
13177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13178 eval ac_val=\$$ac_var
13182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13186 _ | IFS | as_nl) ;; #(
13187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13188 *) { eval $ac_var=; unset $ac_var;} ;;
13194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13195 *${as_nl}ac_space=\ *)
13196 # `set' does not quote correctly, so add quotes: double-quote
13197 # substitution turns \\\\ into \\, and sed turns \\ into \.
13200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13203 # `set' quotes correctly as required by POSIX, so do not add quotes.
13204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13218 if test -w "$cache_file"; then
13219 if test "x$cache_file" != "x/dev/null"; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13221 $as_echo "$as_me: updating cache $cache_file" >&6;}
13222 if test ! -f "$cache_file" || test -h "$cache_file"; then
13223 cat confcache >"$cache_file"
13225 case $cache_file in #(
13227 mv -f confcache "$cache_file"$$ &&
13228 mv -f "$cache_file"$$ "$cache_file" ;; #(
13230 mv -f confcache "$cache_file" ;;
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13242 # Let make expand exec_prefix.
13243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13245 DEFS=-DHAVE_CONFIG_H
13250 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13251 # 1. Remove the extension, and $U if already installed.
13252 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13253 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13255 # will be set to the directory where LIBOBJS objects are built.
13256 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13257 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13259 LIBOBJS=$ac_libobjs
13261 LTLIBOBJS=$ac_ltlibobjs
13264 if test -n "$EXEEXT"; then
13266 am__EXEEXT_FALSE='#'
13268 am__EXEEXT_TRUE='#'
13272 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13273 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13276 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13277 as_fn_error $? "conditional \"AMDEP\" was never defined.
13278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13280 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13281 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13284 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13285 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13288 if test -z "${USE_LIBGTK_TRUE}" && test -z "${USE_LIBGTK_FALSE}"; then
13289 as_fn_error $? "conditional \"USE_LIBGTK\" was never defined.
13290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13292 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13293 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13296 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13297 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13300 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13301 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13304 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13305 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13308 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13309 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13312 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13313 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13316 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13317 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13320 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13321 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13325 : "${CONFIG_STATUS=./config.status}"
13327 ac_clean_files_save=$ac_clean_files
13328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13330 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13332 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13334 # Generated by $as_me.
13335 # Run this file to recreate the current configuration.
13336 # Compiler output produced by configure, useful for debugging
13337 # configure, is in config.log if it exists.
13340 ac_cs_recheck=false
13343 SHELL=\${CONFIG_SHELL-$SHELL}
13346 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13347 ## -------------------- ##
13348 ## M4sh Initialization. ##
13349 ## -------------------- ##
13351 # Be more Bourne compatible
13352 DUALCASE=1; export DUALCASE # for MKS sh
13353 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13356 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13357 # is contrary to our usage. Disable this feature.
13358 alias -g '${1+"$@"}'='"$@"'
13359 setopt NO_GLOB_SUBST
13361 case `(set -o) 2>/dev/null` in #(
13373 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13374 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13377 # Prefer a ksh shell builtin over an external printf program on Solaris,
13378 # but without wasting forks for bash or zsh.
13379 if test -z "$BASH_VERSION$ZSH_VERSION" \
13380 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13381 as_echo='print -r --'
13382 as_echo_n='print -rn --'
13383 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13384 as_echo='printf %s\n'
13385 as_echo_n='printf %s'
13387 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13388 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13389 as_echo_n='/usr/ucb/echo -n'
13391 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13392 as_echo_n_body='eval
13396 expr "X$arg" : "X\\(.*\\)$as_nl";
13397 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13399 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13401 export as_echo_n_body
13402 as_echo_n='sh -c $as_echo_n_body as_echo'
13404 export as_echo_body
13405 as_echo='sh -c $as_echo_body as_echo'
13408 # The user is always right.
13409 if test "${PATH_SEPARATOR+set}" != set; then
13411 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13412 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13419 # We need space, tab and new line, in precisely that order. Quoting is
13420 # there to prevent editors from complaining about space-tab.
13421 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13422 # splitting by setting IFS to empty value.)
13425 # Find who we are. Look in the path if we contain no directory separator.
13428 *[\\/]* ) as_myself=$0 ;;
13429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13430 for as_dir in $PATH
13433 test -z "$as_dir" && as_dir=.
13434 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13440 # We did not find ourselves, most probably we were run as `sh COMMAND'
13441 # in which case we are not to be found in the path.
13442 if test "x$as_myself" = x; then
13445 if test ! -f "$as_myself"; then
13446 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13450 # Unset variables that we do not need and which cause bugs (e.g. in
13451 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13452 # suppresses any "Segmentation fault" message there. '((' could
13453 # trigger a bug in pdksh 5.2.14.
13454 for as_var in BASH_ENV ENV MAIL MAILPATH
13455 do eval test x\${$as_var+set} = xset \
13456 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13469 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13472 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13473 # ----------------------------------------
13474 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13475 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13476 # script with STATUS, using 1 if that was 0.
13479 as_status=$1; test $as_status -eq 0 && as_status=1
13481 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13482 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13484 $as_echo "$as_me: error: $2" >&2
13485 as_fn_exit $as_status
13489 # as_fn_set_status STATUS
13490 # -----------------------
13491 # Set $? to STATUS, without forking.
13492 as_fn_set_status ()
13495 } # as_fn_set_status
13497 # as_fn_exit STATUS
13498 # -----------------
13499 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13503 as_fn_set_status $1
13509 # Portably unset VAR.
13512 { eval $1=; unset $1;}
13514 as_unset=as_fn_unset
13515 # as_fn_append VAR VALUE
13516 # ----------------------
13517 # Append the text in VALUE to the end of the definition contained in VAR. Take
13518 # advantage of any shell optimizations that allow amortized linear growth over
13519 # repeated appends, instead of the typical quadratic growth present in naive
13521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13522 eval 'as_fn_append ()
13533 # as_fn_arith ARG...
13534 # ------------------
13535 # Perform arithmetic evaluation on the ARGs, and store the result in the
13536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13537 # must be portable across $(()) and expr.
13538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13539 eval 'as_fn_arith ()
13546 as_val=`expr "$@" || test $? -eq 1`
13551 if expr a : '\(a\)' >/dev/null 2>&1 &&
13552 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13558 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13559 as_basename=basename
13564 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13570 as_me=`$as_basename -- "$0" ||
13571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13572 X"$0" : 'X\(//\)$' \| \
13573 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13575 sed '/^.*\/\([^/][^/]*\)\/*$/{
13589 # Avoid depending upon Character Ranges.
13590 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13591 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13592 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13593 as_cr_digits='0123456789'
13594 as_cr_alnum=$as_cr_Letters$as_cr_digits
13596 ECHO_C= ECHO_N= ECHO_T=
13597 case `echo -n x` in #(((((
13599 case `echo 'xy\c'` in
13600 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13602 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13609 rm -f conf$$ conf$$.exe conf$$.file
13610 if test -d conf$$.dir; then
13611 rm -f conf$$.dir/conf$$.file
13614 mkdir conf$$.dir 2>/dev/null
13616 if (echo >conf$$.file) 2>/dev/null; then
13617 if ln -s conf$$.file conf$$ 2>/dev/null; then
13619 # ... but there are two gotchas:
13620 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13621 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13622 # In both cases, we have to default to `cp -pR'.
13623 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13625 elif ln conf$$.file conf$$ 2>/dev/null; then
13633 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13634 rmdir conf$$.dir 2>/dev/null
13639 # Create "$as_dir" as a directory, including parents if necessary.
13644 -*) as_dir=./$as_dir;;
13646 test -d "$as_dir" || eval $as_mkdir_p || {
13650 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13651 *) as_qdir=$as_dir;;
13653 as_dirs="'$as_qdir' $as_dirs"
13654 as_dir=`$as_dirname -- "$as_dir" ||
13655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13656 X"$as_dir" : 'X\(//\)[^/]' \| \
13657 X"$as_dir" : 'X\(//\)$' \| \
13658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13659 $as_echo X"$as_dir" |
13660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13664 /^X\(\/\/\)[^/].*/{
13677 test -d "$as_dir" && break
13679 test -z "$as_dirs" || eval "mkdir $as_dirs"
13680 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13684 if mkdir -p . 2>/dev/null; then
13685 as_mkdir_p='mkdir -p "$as_dir"'
13687 test -d ./-p && rmdir ./-p
13692 # as_fn_executable_p FILE
13693 # -----------------------
13694 # Test if FILE is an executable regular file.
13695 as_fn_executable_p ()
13697 test -f "$1" && test -x "$1"
13698 } # as_fn_executable_p
13699 as_test_x='test -x'
13700 as_executable_p=as_fn_executable_p
13702 # Sed expression to map a string onto a valid CPP name.
13703 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13705 # Sed expression to map a string onto a valid variable name.
13706 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13710 ## ----------------------------------- ##
13711 ## Main body of $CONFIG_STATUS script. ##
13712 ## ----------------------------------- ##
13714 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13717 # Save the log message, to keep $0 and so on meaningful, and to
13718 # report actual input values of CONFIG_FILES etc. instead of their
13719 # values after options handling.
13721 This file was extended by gssdp $as_me 0.14.3, which was
13722 generated by GNU Autoconf 2.69. Invocation command line was
13724 CONFIG_FILES = $CONFIG_FILES
13725 CONFIG_HEADERS = $CONFIG_HEADERS
13726 CONFIG_LINKS = $CONFIG_LINKS
13727 CONFIG_COMMANDS = $CONFIG_COMMANDS
13730 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13735 case $ac_config_files in *"
13736 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13739 case $ac_config_headers in *"
13740 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13745 # Files that config.status was made for.
13746 config_files="$ac_config_files"
13747 config_headers="$ac_config_headers"
13748 config_commands="$ac_config_commands"
13752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13754 \`$as_me' instantiates files and other configuration actions
13755 from templates according to the current configuration. Unless the files
13756 and actions are specified as TAGs, all are instantiated by default.
13758 Usage: $0 [OPTION]... [TAG]...
13760 -h, --help print this help, then exit
13761 -V, --version print version number and configuration settings, then exit
13762 --config print configuration, then exit
13763 -q, --quiet, --silent
13764 do not print progress messages
13765 -d, --debug don't remove temporary files
13766 --recheck update $as_me by reconfiguring in the same conditions
13767 --file=FILE[:TEMPLATE]
13768 instantiate the configuration file FILE
13769 --header=FILE[:TEMPLATE]
13770 instantiate the configuration header FILE
13772 Configuration files:
13775 Configuration headers:
13778 Configuration commands:
13781 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
13782 gssdp home page: <http://www.gupnp.org/>."
13785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13786 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13788 gssdp config.status 0.14.3
13789 configured by $0, generated by GNU Autoconf 2.69,
13790 with options \\"\$ac_cs_config\\"
13792 Copyright (C) 2012 Free Software Foundation, Inc.
13793 This config.status script is free software; the Free Software Foundation
13794 gives unlimited permission to copy, distribute and modify it."
13801 test -n "\$AWK" || AWK=awk
13804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13805 # The default lists apply if the user does not specify any file.
13811 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13812 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13816 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13828 # Handling of the options.
13829 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13831 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13832 $as_echo "$ac_cs_version"; exit ;;
13833 --config | --confi | --conf | --con | --co | --c )
13834 $as_echo "$ac_cs_config"; exit ;;
13835 --debug | --debu | --deb | --de | --d | -d )
13837 --file | --fil | --fi | --f )
13840 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13841 '') as_fn_error $? "missing file argument" ;;
13843 as_fn_append CONFIG_FILES " '$ac_optarg'"
13844 ac_need_defaults=false;;
13845 --header | --heade | --head | --hea )
13848 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13850 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13851 ac_need_defaults=false;;
13853 # Conflict between --help and --header
13854 as_fn_error $? "ambiguous option: \`$1'
13855 Try \`$0 --help' for more information.";;
13856 --help | --hel | -h )
13857 $as_echo "$ac_cs_usage"; exit ;;
13858 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13859 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13862 # This is an error.
13863 -*) as_fn_error $? "unrecognized option: \`$1'
13864 Try \`$0 --help' for more information." ;;
13866 *) as_fn_append ac_config_targets " $1"
13867 ac_need_defaults=false ;;
13873 ac_configure_extra_args=
13875 if $ac_cs_silent; then
13877 ac_configure_extra_args="$ac_configure_extra_args --silent"
13881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13882 if \$ac_cs_recheck; then
13883 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13885 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13886 CONFIG_SHELL='$SHELL'
13887 export CONFIG_SHELL
13892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13896 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13897 ## Running $as_me. ##
13903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13910 # The HP-UX ksh and POSIX shell print the target directory to stdout
13911 # if CDPATH is set.
13912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13914 sed_quote_subst='$sed_quote_subst'
13915 double_quote_subst='$double_quote_subst'
13916 delay_variable_subst='$delay_variable_subst'
13917 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13918 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13919 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13920 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13921 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13922 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13923 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13924 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13925 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13926 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13927 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13928 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13929 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13930 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13931 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13932 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13933 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13934 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13935 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13936 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13937 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13938 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13939 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13940 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13941 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13942 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13943 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13944 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13945 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13946 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13947 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13948 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13949 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13950 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13951 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13952 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13953 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13954 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13955 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13956 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13957 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13958 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13959 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13960 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13961 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13962 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13963 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13964 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13965 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13966 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13967 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13968 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13969 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13970 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13971 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13972 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13973 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"`'
13974 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13975 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13976 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13977 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13978 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13979 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13980 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13981 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13982 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13983 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13984 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13985 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13986 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13987 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13988 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13989 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13990 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13991 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13992 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13993 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13994 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13995 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13996 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13997 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13998 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13999 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14000 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14001 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14002 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14003 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14004 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14005 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14006 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14007 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14008 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14009 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14010 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14011 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14012 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14013 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14014 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14015 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14016 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14017 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14018 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14019 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14020 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14021 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14022 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14023 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14024 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14025 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14026 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14027 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14028 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14029 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14030 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14031 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14032 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14033 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14034 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14035 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14036 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14037 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14038 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14039 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14040 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14041 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14042 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14043 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14044 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14045 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14046 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14049 LTCFLAGS='$LTCFLAGS'
14050 compiler='$compiler_DEFAULT'
14052 # A function that is used when there is no print builtin or printf.
14053 func_fallback_echo ()
14055 eval 'cat <<_LTECHO_EOF
14060 # Quote evaled strings.
14075 deplibs_check_method \
14080 sharedlib_from_linklib_cmd \
14083 archiver_list_spec \
14089 lt_cv_sys_global_symbol_pipe \
14090 lt_cv_sys_global_symbol_to_cdecl \
14091 lt_cv_sys_global_symbol_to_c_name_address \
14092 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14093 nm_file_list_spec \
14094 lt_prog_compiler_no_builtin_flag \
14095 lt_prog_compiler_pic \
14096 lt_prog_compiler_wl \
14097 lt_prog_compiler_static \
14098 lt_cv_prog_compiler_c_o \
14107 export_dynamic_flag_spec \
14108 whole_archive_flag_spec \
14109 compiler_needs_object \
14111 allow_undefined_flag \
14112 no_undefined_flag \
14113 hardcode_libdir_flag_spec \
14114 hardcode_libdir_separator \
14118 variables_saved_for_relink \
14120 library_names_spec \
14122 install_override_mode \
14126 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14127 *[\\\\\\\`\\"\\\$]*)
14128 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14131 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14136 # Double-quote double-evaled strings.
14137 for var in reload_cmds \
14138 old_postinstall_cmds \
14139 old_postuninstall_cmds \
14141 extract_expsyms_cmds \
14142 old_archive_from_new_cmds \
14143 old_archive_from_expsyms_cmds \
14145 archive_expsym_cmds \
14147 module_expsym_cmds \
14148 export_symbols_cmds \
14152 postuninstall_cmds \
14154 sys_lib_search_path_spec \
14155 sys_lib_dlsearch_path_spec; do
14156 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14157 *[\\\\\\\`\\"\\\$]*)
14158 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14161 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14166 ac_aux_dir='$ac_aux_dir'
14167 xsi_shell='$xsi_shell'
14168 lt_shell_append='$lt_shell_append'
14170 # See if we are running on zsh, and set the options which allow our
14171 # commands through without removal of \ escapes INIT.
14172 if test -n "\${ZSH_VERSION+set}" ; then
14173 setopt NO_GLOB_SUBST
14179 TIMESTAMP='$TIMESTAMP'
14188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14190 # Handling of arguments.
14191 for ac_config_target in $ac_config_targets
14193 case $ac_config_target in
14194 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14195 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14196 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14197 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14198 "libgssdp/Makefile") CONFIG_FILES="$CONFIG_FILES libgssdp/Makefile" ;;
14199 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14200 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14201 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
14202 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14203 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14204 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14205 "gssdp-1.0.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0.pc" ;;
14206 "gssdp-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0-uninstalled.pc" ;;
14208 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14213 # If the user did not use the arguments to specify the items to instantiate,
14214 # then the envvar interface is used. Set only those that are not.
14215 # We use the long form for the default assignment because of an extremely
14216 # bizarre bug on SunOS 4.1.3.
14217 if $ac_need_defaults; then
14218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14219 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14223 # Have a temporary directory for convenience. Make it in the build tree
14224 # simply because there is no reason against having it here, and in addition,
14225 # creating and moving files from /tmp can sometimes cause problems.
14226 # Hook for its removal unless debugging.
14227 # Note that there is a small window in which the directory will not be cleaned:
14228 # after its creation but before its name has been assigned to `$tmp'.
14232 trap 'exit_status=$?
14233 : "${ac_tmp:=$tmp}"
14234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14236 trap 'as_fn_exit 1' 1 2 13 15
14238 # Create a (secure) tmp directory for tmp files.
14241 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14245 tmp=./conf$$-$RANDOM
14246 (umask 077 && mkdir "$tmp")
14247 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14250 # Set up the scripts for CONFIG_FILES section.
14251 # No need to generate them if there are no CONFIG_FILES.
14252 # This happens for instance with `./config.status config.h'.
14253 if test -n "$CONFIG_FILES"; then
14256 ac_cr=`echo X | tr X '\015'`
14257 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14258 # But we know of no other shell where ac_cr would be empty at this
14259 # point, so we can use a bashism as a fallback.
14260 if test "x$ac_cr" = x; then
14261 eval ac_cr=\$\'\\r\'
14263 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14264 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14267 ac_cs_awk_cr=$ac_cr
14270 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14275 echo "cat >conf$$subs.awk <<_ACEOF" &&
14276 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14278 } >conf$$subs.sh ||
14279 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14280 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14282 for ac_last_try in false false false false false :; do
14283 . ./conf$$subs.sh ||
14284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14286 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14287 if test $ac_delim_n = $ac_delim_num; then
14289 elif $ac_last_try; then
14290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14295 rm -f conf$$subs.sh
14297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14298 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14302 s/^/S["/; s/!.*/"]=/
14312 s/\(.\{148\}\)..*/\1/
14314 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14326 s/\(.\{148\}\)..*/\1/
14328 s/["\\]/\\&/g; s/^/"/; s/$/"/
14332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14337 ' <conf$$subs.awk | sed '
14342 ' >>$CONFIG_STATUS || ac_write_fail=1
14343 rm -f conf$$subs.awk
14344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14346 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14347 for (key in S) S_is_set[key] = 1
14353 nfields = split(line, field, "@")
14355 len = length(field[1])
14356 for (i = 2; i < nfields; i++) {
14358 keylen = length(key)
14359 if (S_is_set[key]) {
14361 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14362 len += length(value) + length(field[++i])
14373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14374 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14375 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14378 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14379 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14382 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14383 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14384 # trailing colons and then remove the whole line if VPATH becomes empty
14385 # (actually we leave an empty line to preserve line numbers).
14386 if test "x$srcdir" = x.; then
14387 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14406 fi # test -n "$CONFIG_FILES"
14408 # Set up the scripts for CONFIG_HEADERS section.
14409 # No need to generate them if there are no CONFIG_HEADERS.
14410 # This happens for instance with `./config.status Makefile'.
14411 if test -n "$CONFIG_HEADERS"; then
14412 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14416 # Transform confdefs.h into an awk script `defines.awk', embedded as
14417 # here-document in config.status, that substitutes the proper values into
14418 # config.h.in to produce config.h.
14420 # Create a delimiter string that does not exist in confdefs.h, to ease
14421 # handling of long lines.
14423 for ac_last_try in false false :; do
14424 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14425 if test -z "$ac_tt"; then
14427 elif $ac_last_try; then
14428 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14430 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14434 # For the awk script, D is an array of macro values keyed by name,
14435 # likewise P contains macro parameters if any. Preserve backslash
14436 # newline sequences.
14438 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14440 s/.\{148\}/&'"$ac_delim"'/g
14443 s/^[ ]*#[ ]*define[ ][ ]*/ /
14450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14457 D["\1"]=" \3\\\\\\n"\\/p
14459 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14464 s/.\{148\}/&'"$ac_delim"'/g
14469 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14472 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14474 ' <confdefs.h | sed '
14475 s/'"$ac_delim"'/"\\\
14476 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14479 for (key in D) D_is_set[key] = 1
14482 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14484 split(line, arg, " ")
14485 if (arg[1] == "#") {
14489 defundef = substr(arg[1], 2)
14492 split(mac1, mac2, "(") #)
14494 prefix = substr(line, 1, index(line, defundef) - 1)
14495 if (D_is_set[macro]) {
14496 # Preserve the white space surrounding the "#".
14497 print prefix "define", macro P[macro] D[macro]
14500 # Replace #undef with comments. This is necessary, for example,
14501 # in the case of _POSIX_SOURCE, which is predefined and required
14502 # on some systems where configure will not decide to define it.
14503 if (defundef == "undef") {
14504 print "/*", prefix defundef, macro, "*/"
14512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14513 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14514 fi # test -n "$CONFIG_HEADERS"
14517 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14522 :[FHLC]) ac_mode=$ac_tag; continue;;
14524 case $ac_mode$ac_tag in
14526 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14527 :[FH]-) ac_tag=-:-;;
14528 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14545 -) ac_f="$ac_tmp/stdin";;
14546 *) # Look for the file first in the build tree, then in the source tree
14547 # (if the path is not absolute). The absolute path cannot be DOS-style,
14548 # because $ac_f cannot contain `:'.
14552 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14554 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14556 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14557 as_fn_append ac_file_inputs " '$ac_f'"
14560 # Let's still pretend it is `configure' which instantiates (i.e., don't
14561 # use $as_me), people would be surprised to read:
14562 # /* config.h. Generated by config.status. */
14563 configure_input='Generated from '`
14564 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14566 if test x"$ac_file" != x-; then
14567 configure_input="$ac_file. $configure_input"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14569 $as_echo "$as_me: creating $ac_file" >&6;}
14571 # Neutralize special characters interpreted by sed in replacement strings.
14572 case $configure_input in #(
14573 *\&* | *\|* | *\\* )
14574 ac_sed_conf_input=`$as_echo "$configure_input" |
14575 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14576 *) ac_sed_conf_input=$configure_input;;
14580 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14586 ac_dir=`$as_dirname -- "$ac_file" ||
14587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14588 X"$ac_file" : 'X\(//\)[^/]' \| \
14589 X"$ac_file" : 'X\(//\)$' \| \
14590 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14591 $as_echo X"$ac_file" |
14592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14596 /^X\(\/\/\)[^/].*/{
14609 as_dir="$ac_dir"; as_fn_mkdir_p
14613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14616 # A ".." for each directory in $ac_dir_suffix.
14617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14618 case $ac_top_builddir_sub in
14619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14623 ac_abs_top_builddir=$ac_pwd
14624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14625 # for backward compatibility:
14626 ac_top_builddir=$ac_top_build_prefix
14629 .) # We are building in place.
14631 ac_top_srcdir=$ac_top_builddir_sub
14632 ac_abs_top_srcdir=$ac_pwd ;;
14633 [\\/]* | ?:[\\/]* ) # Absolute name.
14634 ac_srcdir=$srcdir$ac_dir_suffix;
14635 ac_top_srcdir=$srcdir
14636 ac_abs_top_srcdir=$srcdir ;;
14637 *) # Relative name.
14638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14639 ac_top_srcdir=$ac_top_build_prefix$srcdir
14640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14652 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14653 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14655 ac_MKDIR_P=$MKDIR_P
14657 [\\/$]* | ?:[\\/]* ) ;;
14658 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14663 # If the template does not know about datarootdir, expand it.
14664 # FIXME: This hack should be removed a few years after 2.60.
14665 ac_datarootdir_hack=; ac_datarootdir_seen=
14676 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14677 *datarootdir*) ac_datarootdir_seen=yes;;
14678 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14680 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14683 ac_datarootdir_hack='
14684 s&@datadir@&$datadir&g
14685 s&@docdir@&$docdir&g
14686 s&@infodir@&$infodir&g
14687 s&@localedir@&$localedir&g
14688 s&@mandir@&$mandir&g
14689 s&\\\${datarootdir}&$datarootdir&g' ;;
14693 # Neutralize VPATH when `$srcdir' = `.'.
14694 # Shell code in configure.ac might set extrasub.
14695 # FIXME: do we really want to maintain this feature?
14696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14697 ac_sed_extra="$ac_vpsub
14700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14702 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14703 s|@configure_input@|$ac_sed_conf_input|;t t
14704 s&@top_builddir@&$ac_top_builddir_sub&;t t
14705 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14706 s&@srcdir@&$ac_srcdir&;t t
14707 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14708 s&@top_srcdir@&$ac_top_srcdir&;t t
14709 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14710 s&@builddir@&$ac_builddir&;t t
14711 s&@abs_builddir@&$ac_abs_builddir&;t t
14712 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14713 s&@INSTALL@&$ac_INSTALL&;t t
14714 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14715 $ac_datarootdir_hack
14717 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14718 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14720 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14721 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14722 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14723 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14725 which seems to be undefined. Please make sure it is defined" >&5
14726 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14727 which seems to be undefined. Please make sure it is defined" >&2;}
14729 rm -f "$ac_tmp/stdin"
14731 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14732 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14740 if test x"$ac_file" != x-; then
14742 $as_echo "/* $configure_input */" \
14743 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14744 } >"$ac_tmp/config.h" \
14745 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14746 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14748 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14751 mv "$ac_tmp/config.h" "$ac_file" \
14752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14755 $as_echo "/* $configure_input */" \
14756 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14757 || as_fn_error $? "could not create -" "$LINENO" 5
14759 # Compute "$ac_file"'s index in $config_headers.
14762 for _am_header in $config_headers :; do
14763 case $_am_header in
14764 $_am_arg | $_am_arg:* )
14767 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14770 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14771 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14772 X"$_am_arg" : 'X\(//\)[^/]' \| \
14773 X"$_am_arg" : 'X\(//\)$' \| \
14774 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14775 $as_echo X"$_am_arg" |
14776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14780 /^X\(\/\/\)[^/].*/{
14792 s/.*/./; q'`/stamp-h$_am_stamp_count
14795 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14796 $as_echo "$as_me: executing $ac_file commands" >&6;}
14801 case $ac_file$ac_mode in
14802 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14803 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14804 # are listed without --file. Let's play safe and only enable the eval
14805 # if we detect the quoting.
14806 case $CONFIG_FILES in
14807 *\'*) eval set x "$CONFIG_FILES" ;;
14808 *) set x $CONFIG_FILES ;;
14813 # Strip MF so we end up with the name of the file.
14814 mf=`echo "$mf" | sed -e 's/:.*$//'`
14815 # Check whether this is an Automake generated Makefile or not.
14816 # We used to match only the files named `Makefile.in', but
14817 # some people rename them; so instead we look at the file content.
14818 # Grep'ing the first line is not enough: some people post-process
14819 # each Makefile.in and add a new line on top of each file to say so.
14820 # Grep'ing the whole file is not good either: AIX grep has a line
14821 # limit of 2048, but all sed's we know have understand at least 4000.
14822 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14823 dirpart=`$as_dirname -- "$mf" ||
14824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14825 X"$mf" : 'X\(//\)[^/]' \| \
14826 X"$mf" : 'X\(//\)$' \| \
14827 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14833 /^X\(\/\/\)[^/].*/{
14849 # Extract the definition of DEPDIR, am__include, and am__quote
14850 # from the Makefile without running `make'.
14851 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14852 test -z "$DEPDIR" && continue
14853 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14854 test -z "am__include" && continue
14855 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14856 # When using ansi2knr, U may be empty or an underscore; expand it
14857 U=`sed -n 's/^U = //p' < "$mf"`
14858 # Find all dependency output files, they are included files with
14859 # $(DEPDIR) in their names. We invoke sed twice because it is the
14860 # simplest approach to changing $(DEPDIR) to its actual value in the
14862 for file in `sed -n "
14863 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14864 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14865 # Make sure the directory exists.
14866 test -f "$dirpart/$file" && continue
14867 fdir=`$as_dirname -- "$file" ||
14868 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14869 X"$file" : 'X\(//\)[^/]' \| \
14870 X"$file" : 'X\(//\)$' \| \
14871 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14872 $as_echo X"$file" |
14873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14877 /^X\(\/\/\)[^/].*/{
14890 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14891 # echo "creating $dirpart/$file"
14892 echo '# dummy' > "$dirpart/$file"
14899 # See if we are running on zsh, and set the options which allow our
14900 # commands through without removal of \ escapes.
14901 if test -n "${ZSH_VERSION+set}" ; then
14902 setopt NO_GLOB_SUBST
14905 cfgfile="${ofile}T"
14906 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14909 cat <<_LT_EOF >> "$cfgfile"
14912 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14913 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14914 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14917 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14918 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14920 # Written by Gordon Matzigkeit, 1996
14922 # This file is part of GNU Libtool.
14924 # GNU Libtool is free software; you can redistribute it and/or
14925 # modify it under the terms of the GNU General Public License as
14926 # published by the Free Software Foundation; either version 2 of
14927 # the License, or (at your option) any later version.
14929 # As a special exception to the GNU General Public License,
14930 # if you distribute this file as part of a program or library that
14931 # is built using GNU Libtool, you may include this file under the
14932 # same distribution terms that you use for the rest of that program.
14934 # GNU Libtool is distributed in the hope that it will be useful,
14935 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14937 # GNU General Public License for more details.
14939 # You should have received a copy of the GNU General Public License
14940 # along with GNU Libtool; see the file COPYING. If not, a copy
14941 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14942 # obtained by writing to the Free Software Foundation, Inc.,
14943 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14946 # The names of the tagged configurations supported by this script.
14949 # ### BEGIN LIBTOOL CONFIG
14951 # Which release of libtool.m4 was used?
14952 macro_version=$macro_version
14953 macro_revision=$macro_revision
14955 # Whether or not to build shared libraries.
14956 build_libtool_libs=$enable_shared
14958 # Whether or not to build static libraries.
14959 build_old_libs=$enable_static
14961 # What type of objects to build.
14964 # Whether or not to optimize for fast installation.
14965 fast_install=$enable_fast_install
14967 # Shell to use when invoking shell scripts.
14970 # An echo program that protects backslashes.
14973 # The PATH separator for the build system.
14974 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14977 host_alias=$host_alias
14981 # The build system.
14982 build_alias=$build_alias
14986 # A sed program that does not truncate output.
14989 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14990 Xsed="\$SED -e 1s/^X//"
14992 # A grep program that handles long lines.
14998 # A literal string matcher.
15001 # A BSD- or MS-compatible name lister.
15004 # Whether we need soft or hard links.
15007 # What is the maximum length of a command?
15008 max_cmd_len=$max_cmd_len
15010 # Object file suffix (normally "o").
15013 # Executable file suffix (normally "").
15016 # whether the shell understands "unset".
15019 # turn spaces into newlines.
15022 # turn newlines into spaces.
15025 # convert \$build file names to \$host format.
15026 to_host_file_cmd=$lt_cv_to_host_file_cmd
15028 # convert \$build files to toolchain format.
15029 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15031 # An object symbol dumper.
15032 OBJDUMP=$lt_OBJDUMP
15034 # Method to check whether dependent libraries are shared objects.
15035 deplibs_check_method=$lt_deplibs_check_method
15037 # Command to use when deplibs_check_method = "file_magic".
15038 file_magic_cmd=$lt_file_magic_cmd
15040 # How to find potential files when deplibs_check_method = "file_magic".
15041 file_magic_glob=$lt_file_magic_glob
15043 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15044 want_nocaseglob=$lt_want_nocaseglob
15046 # DLL creation program.
15047 DLLTOOL=$lt_DLLTOOL
15049 # Command to associate shared and link libraries.
15050 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15055 # Flags to create an archive.
15056 AR_FLAGS=$lt_AR_FLAGS
15058 # How to feed a file listing to the archiver.
15059 archiver_list_spec=$lt_archiver_list_spec
15061 # A symbol stripping program.
15064 # Commands used to install an old-style archive.
15066 old_postinstall_cmds=$lt_old_postinstall_cmds
15067 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15069 # Whether to use a lock for old archive extraction.
15070 lock_old_archive_extraction=$lock_old_archive_extraction
15075 # LTCC compiler flags.
15076 LTCFLAGS=$lt_CFLAGS
15078 # Take the output of nm and produce a listing of raw symbols and C names.
15079 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15081 # Transform the output of nm in a proper C declaration.
15082 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15084 # Transform the output of nm in a C name address pair.
15085 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15087 # Transform the output of nm in a C name address pair when lib prefix is needed.
15088 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15090 # Specify filename containing input files for \$NM.
15091 nm_file_list_spec=$lt_nm_file_list_spec
15093 # The root where to search for dependent libraries,and in which our libraries should be installed.
15094 lt_sysroot=$lt_sysroot
15096 # The name of the directory that contains temporary libtool files.
15099 # Used to examine libraries when file_magic_cmd begins with "file".
15100 MAGIC_CMD=$MAGIC_CMD
15102 # Must we lock files when doing compilation?
15103 need_locks=$lt_need_locks
15106 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15108 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15109 DSYMUTIL=$lt_DSYMUTIL
15111 # Tool to change global to local symbols on Mac OS X.
15114 # Tool to manipulate fat objects and archives on Mac OS X.
15117 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15120 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15121 OTOOL64=$lt_OTOOL64
15123 # Old archive suffix (normally "a").
15126 # Shared library suffix (normally ".so").
15127 shrext_cmds=$lt_shrext_cmds
15129 # The commands to extract the exported symbol list from a shared archive.
15130 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15132 # Variables whose values should be saved in libtool wrapper scripts and
15133 # restored at link time.
15134 variables_saved_for_relink=$lt_variables_saved_for_relink
15136 # Do we need the "lib" prefix for modules?
15137 need_lib_prefix=$need_lib_prefix
15139 # Do we need a version for libraries?
15140 need_version=$need_version
15142 # Library versioning type.
15143 version_type=$version_type
15145 # Shared library runtime path variable.
15146 runpath_var=$runpath_var
15148 # Shared library path variable.
15149 shlibpath_var=$shlibpath_var
15151 # Is shlibpath searched before the hard-coded library search path?
15152 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15154 # Format of library name prefix.
15155 libname_spec=$lt_libname_spec
15157 # List of archive names. First name is the real one, the rest are links.
15158 # The last name is the one that the linker finds with -lNAME
15159 library_names_spec=$lt_library_names_spec
15161 # The coded name of the library, if different from the real name.
15162 soname_spec=$lt_soname_spec
15164 # Permission mode override for installation of shared libraries.
15165 install_override_mode=$lt_install_override_mode
15167 # Command to use after installation of a shared archive.
15168 postinstall_cmds=$lt_postinstall_cmds
15170 # Command to use after uninstallation of a shared archive.
15171 postuninstall_cmds=$lt_postuninstall_cmds
15173 # Commands used to finish a libtool library installation in a directory.
15174 finish_cmds=$lt_finish_cmds
15176 # As "finish_cmds", except a single script fragment to be evaled but
15178 finish_eval=$lt_finish_eval
15180 # Whether we should hardcode library paths into libraries.
15181 hardcode_into_libs=$hardcode_into_libs
15183 # Compile-time system search path for libraries.
15184 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15186 # Run-time system search path for libraries.
15187 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15189 # Whether dlopen is supported.
15190 dlopen_support=$enable_dlopen
15192 # Whether dlopen of programs is supported.
15193 dlopen_self=$enable_dlopen_self
15195 # Whether dlopen of statically linked programs is supported.
15196 dlopen_self_static=$enable_dlopen_self_static
15198 # Commands to strip libraries.
15199 old_striplib=$lt_old_striplib
15200 striplib=$lt_striplib
15203 # The linker used to build libraries.
15206 # How to create reloadable object files.
15207 reload_flag=$lt_reload_flag
15208 reload_cmds=$lt_reload_cmds
15210 # Commands used to build an old-style archive.
15211 old_archive_cmds=$lt_old_archive_cmds
15213 # A language specific compiler.
15216 # Is the compiler the GNU compiler?
15219 # Compiler flag to turn off builtin functions.
15220 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15222 # Additional compiler flags for building library objects.
15223 pic_flag=$lt_lt_prog_compiler_pic
15225 # How to pass a linker flag through the compiler.
15226 wl=$lt_lt_prog_compiler_wl
15228 # Compiler flag to prevent dynamic linking.
15229 link_static_flag=$lt_lt_prog_compiler_static
15231 # Does compiler simultaneously support -c and -o options?
15232 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15234 # Whether or not to add -lc for building shared libraries.
15235 build_libtool_need_lc=$archive_cmds_need_lc
15237 # Whether or not to disallow shared libs when runtime libs are static.
15238 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15240 # Compiler flag to allow reflexive dlopens.
15241 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15243 # Compiler flag to generate shared objects directly from archives.
15244 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15246 # Whether the compiler copes with passing no objects directly.
15247 compiler_needs_object=$lt_compiler_needs_object
15249 # Create an old-style archive from a shared archive.
15250 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15252 # Create a temporary old-style archive to link instead of a shared archive.
15253 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15255 # Commands used to build a shared archive.
15256 archive_cmds=$lt_archive_cmds
15257 archive_expsym_cmds=$lt_archive_expsym_cmds
15259 # Commands used to build a loadable module if different from building
15260 # a shared archive.
15261 module_cmds=$lt_module_cmds
15262 module_expsym_cmds=$lt_module_expsym_cmds
15264 # Whether we are building with GNU ld or not.
15265 with_gnu_ld=$lt_with_gnu_ld
15267 # Flag that allows shared libraries with undefined symbols to be built.
15268 allow_undefined_flag=$lt_allow_undefined_flag
15270 # Flag that enforces no undefined symbols.
15271 no_undefined_flag=$lt_no_undefined_flag
15273 # Flag to hardcode \$libdir into a binary during linking.
15274 # This must work even if \$libdir does not exist
15275 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15277 # Whether we need a single "-rpath" flag with a separated argument.
15278 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15280 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15281 # DIR into the resulting binary.
15282 hardcode_direct=$hardcode_direct
15284 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15285 # DIR into the resulting binary and the resulting library dependency is
15286 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15287 # library is relocated.
15288 hardcode_direct_absolute=$hardcode_direct_absolute
15290 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15291 # into the resulting binary.
15292 hardcode_minus_L=$hardcode_minus_L
15294 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15295 # into the resulting binary.
15296 hardcode_shlibpath_var=$hardcode_shlibpath_var
15298 # Set to "yes" if building a shared library automatically hardcodes DIR
15299 # into the library and all subsequent libraries and executables linked
15301 hardcode_automatic=$hardcode_automatic
15303 # Set to yes if linker adds runtime paths of dependent libraries
15304 # to runtime path list.
15305 inherit_rpath=$inherit_rpath
15307 # Whether libtool must link a program against all its dependency libraries.
15308 link_all_deplibs=$link_all_deplibs
15310 # Set to "yes" if exported symbols are required.
15311 always_export_symbols=$always_export_symbols
15313 # The commands to list exported symbols.
15314 export_symbols_cmds=$lt_export_symbols_cmds
15316 # Symbols that should not be listed in the preloaded symbols.
15317 exclude_expsyms=$lt_exclude_expsyms
15319 # Symbols that must always be exported.
15320 include_expsyms=$lt_include_expsyms
15322 # Commands necessary for linking programs (against libraries) with templates.
15323 prelink_cmds=$lt_prelink_cmds
15325 # Commands necessary for finishing linking programs.
15326 postlink_cmds=$lt_postlink_cmds
15328 # Specify filename containing input files.
15329 file_list_spec=$lt_file_list_spec
15331 # How to hardcode a shared library path into an executable.
15332 hardcode_action=$hardcode_action
15334 # ### END LIBTOOL CONFIG
15340 cat <<\_LT_EOF >> "$cfgfile"
15341 # AIX sometimes has problems with the GCC collect2 program. For some
15342 # reason, if we set the COLLECT_NAMES environment variable, the problems
15343 # vanish in a puff of smoke.
15344 if test "X${COLLECT_NAMES+set}" != Xset; then
15346 export COLLECT_NAMES
15353 ltmain="$ac_aux_dir/ltmain.sh"
15356 # We use sed instead of cat because bash on DJGPP gets confused if
15357 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15358 # text mode, it properly converts lines to CR/LF. This bash problem
15359 # is reportedly fixed, but why not run on old versions too?
15360 sed '$q' "$ltmain" >> "$cfgfile" \
15361 || (rm -f "$cfgfile"; exit 1)
15363 if test x"$xsi_shell" = xyes; then
15364 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15368 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15369 \ * ) func_dirname_result="${3}" ;;\
15371 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15372 && mv -f "$cfgfile.tmp" "$cfgfile" \
15373 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15374 test 0 -eq $? || _lt_function_replace_fail=:
15377 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15380 \ func_basename_result="${1##*/}"\
15381 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15382 && mv -f "$cfgfile.tmp" "$cfgfile" \
15383 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15384 test 0 -eq $? || _lt_function_replace_fail=:
15387 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15388 func_dirname_and_basename ()\
15391 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15392 \ * ) func_dirname_result="${3}" ;;\
15394 \ func_basename_result="${1##*/}"\
15395 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15396 && mv -f "$cfgfile.tmp" "$cfgfile" \
15397 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15398 test 0 -eq $? || _lt_function_replace_fail=:
15401 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15404 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15405 \ # positional parameters, so assign one to ordinary parameter first.\
15406 \ func_stripname_result=${3}\
15407 \ func_stripname_result=${func_stripname_result#"${1}"}\
15408 \ func_stripname_result=${func_stripname_result%"${2}"}\
15409 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15410 && mv -f "$cfgfile.tmp" "$cfgfile" \
15411 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15412 test 0 -eq $? || _lt_function_replace_fail=:
15415 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15416 func_split_long_opt ()\
15418 \ func_split_long_opt_name=${1%%=*}\
15419 \ func_split_long_opt_arg=${1#*=}\
15420 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15421 && mv -f "$cfgfile.tmp" "$cfgfile" \
15422 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15423 test 0 -eq $? || _lt_function_replace_fail=:
15426 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15427 func_split_short_opt ()\
15429 \ func_split_short_opt_arg=${1#??}\
15430 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15431 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15432 && mv -f "$cfgfile.tmp" "$cfgfile" \
15433 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15434 test 0 -eq $? || _lt_function_replace_fail=:
15437 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15441 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15442 \ *) func_lo2o_result=${1} ;;\
15444 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15445 && mv -f "$cfgfile.tmp" "$cfgfile" \
15446 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15447 test 0 -eq $? || _lt_function_replace_fail=:
15450 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15453 func_xform_result=${1%.*}.lo\
15454 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15455 && mv -f "$cfgfile.tmp" "$cfgfile" \
15456 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15460 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15463 func_arith_result=$(( $* ))\
15464 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15465 && mv -f "$cfgfile.tmp" "$cfgfile" \
15466 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15467 test 0 -eq $? || _lt_function_replace_fail=:
15470 sed -e '/^func_len ()$/,/^} # func_len /c\
15473 func_len_result=${#1}\
15474 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15475 && mv -f "$cfgfile.tmp" "$cfgfile" \
15476 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15477 test 0 -eq $? || _lt_function_replace_fail=:
15481 if test x"$lt_shell_append" = xyes; then
15482 sed -e '/^func_append ()$/,/^} # func_append /c\
15485 eval "${1}+=\\${2}"\
15486 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15487 && mv -f "$cfgfile.tmp" "$cfgfile" \
15488 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15489 test 0 -eq $? || _lt_function_replace_fail=:
15492 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15493 func_append_quoted ()\
15495 \ func_quote_for_eval "${2}"\
15496 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15497 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15498 && mv -f "$cfgfile.tmp" "$cfgfile" \
15499 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15500 test 0 -eq $? || _lt_function_replace_fail=:
15503 # Save a `func_append' function call where possible by direct use of '+='
15504 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15505 && mv -f "$cfgfile.tmp" "$cfgfile" \
15506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15507 test 0 -eq $? || _lt_function_replace_fail=:
15509 # Save a `func_append' function call even when '+=' is not available
15510 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15511 && mv -f "$cfgfile.tmp" "$cfgfile" \
15512 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15513 test 0 -eq $? || _lt_function_replace_fail=:
15516 if test x"$_lt_function_replace_fail" = x":"; then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15518 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15522 mv -f "$cfgfile" "$ofile" ||
15523 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15534 ac_clean_files=$ac_clean_files_save
15536 test $ac_write_fail = 0 ||
15537 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15540 # configure is writing to config.log, and then calls config.status.
15541 # config.status does its own redirection, appending to config.log.
15542 # Unfortunately, on DOS this fails, as config.log is still kept open
15543 # by configure, so config.status won't be able to write to it; its
15544 # output is simply discarded. So we exec the FD to /dev/null,
15545 # effectively closing config.log, so it can be properly (re)opened and
15546 # appended to by config.status. When coming back to configure, we
15547 # need to make the FD available again.
15548 if test "$no_create" != yes; then
15550 ac_config_status_args=
15551 test "$silent" = yes &&
15552 ac_config_status_args="$ac_config_status_args --quiet"
15554 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15557 # would make configure fail if this is the last instruction.
15558 $ac_cs_success || as_fn_exit 1
15560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15567 ${PACKAGE} ${VERSION}
15568 ---------------------
15571 GObject-Introspection: ${found_introspection}
15572 VALA bindings: ${have_vapigen}