2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gssdp 0.14.4.
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.4'
655 PACKAGE_STRING='gssdp 0.14.4'
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
795 MAINTAINER_MODE_FALSE
805 INSTALL_STRIP_PROGRAM
847 program_transform_name
860 enable_option_checking
861 enable_maintainer_mode
862 enable_compile_warnings
863 enable_dependency_tracking
882 ac_precious_vars='build_alias
902 # Initialize some variables set by options.
904 ac_init_version=false
905 ac_unrecognized_opts=
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name=s,x,x,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir='${exec_prefix}/bin'
931 sbindir='${exec_prefix}/sbin'
932 libexecdir='${exec_prefix}/libexec'
933 datarootdir='${prefix}/share'
934 datadir='${datarootdir}'
935 sysconfdir='${prefix}/etc'
936 sharedstatedir='${prefix}/com'
937 localstatedir='${prefix}/var'
938 includedir='${prefix}/include'
939 oldincludedir='/usr/include'
940 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
941 infodir='${datarootdir}/info'
946 libdir='${exec_prefix}/lib'
947 localedir='${datarootdir}/locale'
948 mandir='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\$ac_option
962 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error $? "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error $? "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1209 -site=* | --site=* | --sit=*)
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error $? "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error $? "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1265 eval with_$ac_useropt=no ;;
1268 # Obsolete; use --with-x.
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information"
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error $? "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1318 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1336 # Be sure to have absolute directory names.
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1341 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 elif test "x$build_alias" != "x$host_alias"; then
1361 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1363 test "$silent" = yes && exec 6>/dev/null
1366 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1367 ac_ls_di=`ls -di .` &&
1368 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1369 as_fn_error $? "working directory cannot be determined"
1370 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1371 as_fn_error $? "pwd does not report name of working directory"
1374 # Find the source files, if location was not specified.
1375 if test -z "$srcdir"; then
1376 ac_srcdir_defaulted=yes
1377 # Try the directory containing this script, then the parent directory.
1378 ac_confdir=`$as_dirname -- "$as_myself" ||
1379 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1380 X"$as_myself" : 'X\(//\)[^/]' \| \
1381 X"$as_myself" : 'X\(//\)$' \| \
1382 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1383 $as_echo X"$as_myself" |
1384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1406 ac_srcdir_defaulted=no
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1409 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1410 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1412 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1416 # When building in place, set srcdir=.
1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 # Remove unnecessary trailing slashes from srcdir.
1421 # Double slashes in file names in object file debugging info
1422 # mess up M-x gdb in Emacs.
1424 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 for ac_var in $ac_precious_vars; do
1427 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1428 eval ac_env_${ac_var}_value=\$${ac_var}
1429 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1434 # Report the --help message.
1436 if test "$ac_init_help" = "long"; then
1437 # Omit some internal or obsolete options to make the list less imposing.
1438 # This message is too long to be a string in the A/UX 3.1 sh.
1440 \`configure' configures gssdp 0.14.4 to adapt to many kinds of systems.
1442 Usage: $0 [OPTION]... [VAR=VALUE]...
1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1445 VAR=VALUE. See below for descriptions of some of the useful variables.
1447 Defaults for the options are specified in brackets.
1450 -h, --help display this help and exit
1451 --help=short display options specific to this package
1452 --help=recursive display the short help of all the included packages
1453 -V, --version display version information and exit
1454 -q, --quiet, --silent do not print \`checking ...' messages
1455 --cache-file=FILE cache test results in FILE [disabled]
1456 -C, --config-cache alias for \`--cache-file=config.cache'
1457 -n, --no-create do not create output files
1458 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1460 Installation directories:
1461 --prefix=PREFIX install architecture-independent files in PREFIX
1462 [$ac_default_prefix]
1463 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 By default, \`make install' will install all the files in
1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1469 for instance \`--prefix=\$HOME'.
1471 For better control, use the options below.
1473 Fine tuning of the installation directories:
1474 --bindir=DIR user executables [EPREFIX/bin]
1475 --sbindir=DIR system admin executables [EPREFIX/sbin]
1476 --libexecdir=DIR program executables [EPREFIX/libexec]
1477 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1478 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1479 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/gssdp]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --program-prefix=PREFIX prepend PREFIX to installed program names
1499 --program-suffix=SUFFIX append SUFFIX to installed program names
1500 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1503 --build=BUILD configure for building on BUILD [guessed]
1504 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1508 if test -n "$ac_init_help"; then
1509 case $ac_init_help in
1510 short | recursive ) echo "Configuration of gssdp 0.14.4:";;
1515 --disable-option-checking ignore unrecognized --enable/--with options
1516 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1517 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1518 --disable-maintainer-mode disable make rules and dependencies not useful
1519 (and sometimes confusing) to the casual installer
1520 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1521 Turn on compiler warnings
1522 --disable-dependency-tracking speeds up one-time build
1523 --enable-dependency-tracking do not reject slow dependency extractors
1524 --enable-iso-c Try to warn if code is not ISO C
1525 --enable-silent-rules less verbose build output (undo: `make V=1')
1526 --disable-silent-rules verbose build output (undo: `make V=0')
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-static[=PKGS] build static libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --enable-debug enable debugging
1533 --enable-strict-c Error out on warnings
1534 --enable-introspection=[no/auto/yes]
1535 Enable introspection for this build
1536 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1537 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1538 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1541 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1542 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1543 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1545 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1546 --with-sysroot=DIR Search for dependent libraries within DIR
1547 (or the compiler's sysroot if not specified).
1548 --without-gtk compile without gtk+ support
1549 --with-html-dir=PATH path to installed docs
1551 Some influential environment variables:
1552 CC C compiler command
1553 CFLAGS C compiler flags
1554 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1555 nonstandard directory <lib dir>
1556 LIBS libraries to pass to the linker, e.g. -l<library>
1557 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1558 you have headers in a nonstandard directory <include dir>
1560 PKG_CONFIG path to pkg-config utility
1562 directories to add to pkg-config's search path
1564 path overriding pkg-config's built-in search path
1566 C compiler flags for LIBGSSDP, overriding pkg-config
1568 linker flags for LIBGSSDP, overriding pkg-config
1570 C compiler flags for LIBGTK, overriding pkg-config
1571 LIBGTK_LIBS linker flags for LIBGTK, overriding pkg-config
1573 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1575 linker flags for GTKDOC_DEPS, overriding pkg-config
1577 Use these variables to override the choices made by `configure' or to help
1578 it to find libraries and programs with nonstandard names/locations.
1580 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
1581 gssdp home page: <http://www.gupnp.org/>.
1586 if test "$ac_init_help" = "recursive"; then
1587 # If there are subdirs, report their specific --help.
1588 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1589 test -d "$ac_dir" ||
1590 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1598 # A ".." for each directory in $ac_dir_suffix.
1599 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1600 case $ac_top_builddir_sub in
1601 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1605 ac_abs_top_builddir=$ac_pwd
1606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1607 # for backward compatibility:
1608 ac_top_builddir=$ac_top_build_prefix
1611 .) # We are building in place.
1613 ac_top_srcdir=$ac_top_builddir_sub
1614 ac_abs_top_srcdir=$ac_pwd ;;
1615 [\\/]* | ?:[\\/]* ) # Absolute name.
1616 ac_srcdir=$srcdir$ac_dir_suffix;
1617 ac_top_srcdir=$srcdir
1618 ac_abs_top_srcdir=$srcdir ;;
1620 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1621 ac_top_srcdir=$ac_top_build_prefix$srcdir
1622 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1626 cd "$ac_dir" || { ac_status=$?; continue; }
1627 # Check for guested configure.
1628 if test -f "$ac_srcdir/configure.gnu"; then
1630 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1631 elif test -f "$ac_srcdir/configure"; then
1633 $SHELL "$ac_srcdir/configure" --help=recursive
1635 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1637 cd "$ac_pwd" || { ac_status=$?; break; }
1641 test -n "$ac_init_help" && exit $ac_status
1642 if $ac_init_version; then
1644 gssdp configure 0.14.4
1645 generated by GNU Autoconf 2.69
1647 Copyright (C) 2012 Free Software Foundation, Inc.
1648 This configure script is free software; the Free Software Foundation
1649 gives unlimited permission to copy, distribute and modify it.
1654 ## ------------------------ ##
1655 ## Autoconf initialization. ##
1656 ## ------------------------ ##
1658 # ac_fn_c_try_compile LINENO
1659 # --------------------------
1660 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1661 ac_fn_c_try_compile ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 rm -f conftest.$ac_objext
1665 if { { ac_try="$ac_compile"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_compile") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && {
1681 test -z "$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1683 } && test -s conftest.$ac_objext; then :
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1694 } # ac_fn_c_try_compile
1696 # ac_fn_c_try_link LINENO
1697 # -----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded.
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 rm -f conftest.$ac_objext conftest$ac_exeext
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>conftest.err
1712 if test -s conftest.err; then
1713 grep -v '^ *+' conftest.err >conftest.er1
1714 cat conftest.er1 >&5
1715 mv -f conftest.er1 conftest.err
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && {
1719 test -z "$ac_c_werror_flag" ||
1720 test ! -s conftest.err
1721 } && test -s conftest$ac_exeext && {
1722 test "$cross_compiling" = yes ||
1723 test -x conftest$ac_exeext
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1733 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1734 # interfere with the next link command; also delete a directory that is
1735 # left behind by Apple's compiler. We do this before executing the actions.
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1740 } # ac_fn_c_try_link
1742 # ac_fn_c_try_cpp LINENO
1743 # ----------------------
1744 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 if { { ac_try="$ac_cpp conftest.$ac_ext"
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } > conftest.i && {
1764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1765 test ! -s conftest.err
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 as_fn_set_status $ac_retval
1779 # ac_fn_c_try_run LINENO
1780 # ----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1782 # that executables *can* be run.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 if { { ac_try="$ac_link"
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>&5
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1797 { { case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_try") 2>&5
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; }; }; then :
1809 $as_echo "$as_me: program exited with status $ac_status" >&5
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1813 ac_retval=$ac_status
1815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists and can be compiled using the include files in
1824 # INCLUDES, setting the cache variable VAR accordingly.
1825 ac_fn_c_check_header_compile ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1838 if ac_fn_c_try_compile "$LINENO"; then :
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_header_compile
1852 # ac_fn_c_check_func LINENO FUNC VAR
1853 # ----------------------------------
1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1855 ac_fn_c_check_func ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1867 #define $2 innocuous_$2
1869 /* System header to define __stub macros and hopefully few prototypes,
1870 which can conflict with char $2 (); below.
1871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872 <limits.h> exists even on freestanding compilers. */
1875 # include <limits.h>
1877 # include <assert.h>
1882 /* Override any GCC internal prototype to avoid an error.
1883 Use char because int might match the return type of a GCC
1884 builtin and then its argument prototype would still apply. */
1889 /* The GNU C library defines this for functions which it implements
1890 to always fail with ENOSYS. Some functions are actually named
1891 something starting with __ and the normal name is an alias. */
1892 #if defined __stub_$2 || defined __stub___$2
1904 if ac_fn_c_try_link "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext \
1910 conftest$ac_exeext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_func
1918 cat >config.log <<_ACEOF
1919 This file contains any messages produced by compilers while
1920 running configure, to aid debugging if configure makes a mistake.
1922 It was created by gssdp $as_me 0.14.4, which was
1923 generated by GNU Autoconf 2.69. Invocation command line was
1935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 $as_echo "PATH: $as_dir"
1975 # Keep a trace of the command line.
1976 # Strip out --no-create and --no-recursion so they do not pile up.
1977 # Strip out --silent because we don't want to record it for future runs.
1978 # Also quote any args containing shell meta-characters.
1979 # Make two passes to allow for proper duplicate-argument suppression.
1983 ac_must_keep_next=false
1989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1991 | -silent | --silent | --silen | --sile | --sil)
1994 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1999 as_fn_append ac_configure_args1 " '$ac_arg'"
2000 if test $ac_must_keep_next = true; then
2001 ac_must_keep_next=false # Got value, back to normal.
2004 *=* | --config-cache | -C | -disable-* | --disable-* \
2005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2007 | -with-* | --with-* | -without-* | --without-* | --x)
2008 case "$ac_configure_args0 " in
2009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012 -* ) ac_must_keep_next=true ;;
2015 as_fn_append ac_configure_args " '$ac_arg'"
2020 { ac_configure_args0=; unset ac_configure_args0;}
2021 { ac_configure_args1=; unset ac_configure_args1;}
2023 # When interrupted or exit'd, cleanup temporary files, and complete
2024 # config.log. We remove comments because anyway the quotes in there
2025 # would cause problems or look ugly.
2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028 trap 'exit_status=$?
2029 # Save into config.log some information that might help in debugging.
2033 $as_echo "## ---------------- ##
2034 ## Cache variables. ##
2035 ## ---------------- ##"
2037 # The following way of writing the cache mishandles newlines in values,
2039 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2040 eval ac_val=\$$ac_var
2044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048 _ | IFS | as_nl) ;; #(
2049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2050 *) { eval $ac_var=; unset $ac_var;} ;;
2055 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2056 *${as_nl}ac_space=\ *)
2058 "s/'\''/'\''\\\\'\'''\''/g;
2059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2069 $as_echo "## ----------------- ##
2070 ## Output variables. ##
2071 ## ----------------- ##"
2073 for ac_var in $ac_subst_vars
2075 eval ac_val=\$$ac_var
2077 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2079 $as_echo "$ac_var='\''$ac_val'\''"
2083 if test -n "$ac_subst_files"; then
2084 $as_echo "## ------------------- ##
2085 ## File substitutions. ##
2086 ## ------------------- ##"
2088 for ac_var in $ac_subst_files
2090 eval ac_val=\$$ac_var
2092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094 $as_echo "$ac_var='\''$ac_val'\''"
2099 if test -s confdefs.h; then
2100 $as_echo "## ----------- ##
2107 test "$ac_signal" != 0 &&
2108 $as_echo "$as_me: caught signal $ac_signal"
2109 $as_echo "$as_me: exit $exit_status"
2111 rm -f core *.core core.conftest.* &&
2112 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115 for ac_signal in 1 2 13 15; do
2116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2121 rm -f -r conftest* confdefs.h
2123 $as_echo "/* confdefs.h */" > confdefs.h
2125 # Predefined preprocessor variables.
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_NAME "$PACKAGE_NAME"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_STRING "$PACKAGE_STRING"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_URL "$PACKAGE_URL"
2152 # Let the site file select an alternate cache file if it wants to.
2153 # Prefer an explicitly selected file to automatically selected ones.
2156 if test -n "$CONFIG_SITE"; then
2157 # We do not want a PATH search for config.site.
2158 case $CONFIG_SITE in #((
2159 -*) ac_site_file1=./$CONFIG_SITE;;
2160 */*) ac_site_file1=$CONFIG_SITE;;
2161 *) ac_site_file1=./$CONFIG_SITE;;
2163 elif test "x$prefix" != xNONE; then
2164 ac_site_file1=$prefix/share/config.site
2165 ac_site_file2=$prefix/etc/config.site
2167 ac_site_file1=$ac_default_prefix/share/config.site
2168 ac_site_file2=$ac_default_prefix/etc/config.site
2170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2172 test "x$ac_site_file" = xNONE && continue
2173 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2176 sed 's/^/| /' "$ac_site_file" >&5
2178 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 as_fn_error $? "failed to load site script $ac_site_file
2181 See \`config.log' for more details" "$LINENO" 5; }
2185 if test -r "$cache_file"; then
2186 # Some versions of bash will fail to source /dev/null (special files
2187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2188 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2193 *) . "./$cache_file";;
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202 # Check that the precious variables saved in the cache have kept the same
2204 ac_cache_corrupted=false
2205 for ac_var in $ac_precious_vars; do
2206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2207 eval ac_new_set=\$ac_env_${ac_var}_set
2208 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2209 eval ac_new_val=\$ac_env_${ac_var}_value
2210 case $ac_old_set,$ac_new_set in
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214 ac_cache_corrupted=: ;;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218 ac_cache_corrupted=: ;;
2221 if test "x$ac_old_val" != "x$ac_new_val"; then
2222 # differences in whitespace do not lead to failure.
2223 ac_old_val_w=`echo x $ac_old_val`
2224 ac_new_val_w=`echo x $ac_new_val`
2225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228 ac_cache_corrupted=:
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232 eval $ac_var=\$ac_old_val
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2271 ac_config_headers="$ac_config_headers config.h"
2276 for ac_dir in build-aux "$srcdir"/build-aux; do
2277 if test -f "$ac_dir/install-sh"; then
2279 ac_install_sh="$ac_aux_dir/install-sh -c"
2281 elif test -f "$ac_dir/install.sh"; then
2283 ac_install_sh="$ac_aux_dir/install.sh -c"
2285 elif test -f "$ac_dir/shtool"; then
2287 ac_install_sh="$ac_aux_dir/shtool install -c"
2291 if test -z "$ac_aux_dir"; then
2292 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2295 # These three variables are undocumented and unsupported,
2296 # and are intended to be withdrawn in a future Autoconf release.
2297 # They can cause serious problems if a builder's source tree is in a directory
2298 # whose full name contains unusual characters.
2299 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2300 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2301 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2305 am__api_version='1.11'
2307 # Find a good install program. We prefer a C program (faster),
2308 # so one script is as good as another. But avoid the broken or
2309 # incompatible versions:
2310 # SysV /etc/install, /usr/sbin/install
2311 # SunOS /usr/etc/install
2312 # IRIX /sbin/install
2314 # AmigaOS /C/install, which installs bootblocks on floppy discs
2315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2318 # OS/2's system install, which has a completely different semantic
2319 # ./install, which can be erroneously created by make from ./install.sh.
2320 # Reject install programs that cannot install multiple files.
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2322 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2323 if test -z "$INSTALL"; then
2324 if ${ac_cv_path_install+:} false; then :
2325 $as_echo_n "(cached) " >&6
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 # Account for people who put trailing slashes in PATH elements.
2333 case $as_dir/ in #((
2334 ./ | .// | /[cC]/* | \
2335 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2336 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2339 # OSF1 and SCO ODT 3.0 have their own names for install.
2340 # Don't use installbsd from OSF since it installs stuff as root
2342 for ac_prog in ginstall scoinst install; do
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2345 if test $ac_prog = install &&
2346 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2347 # AIX install. It has an incompatible calling convention.
2349 elif test $ac_prog = install &&
2350 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2351 # program-specific install script used by HP pwplus--don't use.
2354 rm -rf conftest.one conftest.two conftest.dir
2355 echo one > conftest.one
2356 echo two > conftest.two
2358 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2359 test -s conftest.one && test -s conftest.two &&
2360 test -s conftest.dir/conftest.one &&
2361 test -s conftest.dir/conftest.two
2363 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2376 rm -rf conftest.one conftest.two conftest.dir
2379 if test "${ac_cv_path_install+set}" = set; then
2380 INSTALL=$ac_cv_path_install
2382 # As a last resort, use the slow shell script. Don't cache a
2383 # value for INSTALL within a source directory, because that will
2384 # break other packages using the cache if that directory is
2385 # removed, or if the value is a relative name.
2386 INSTALL=$ac_install_sh
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2390 $as_echo "$INSTALL" >&6; }
2392 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2393 # It thinks the first close brace ends the variable substitution.
2394 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2396 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2398 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2401 $as_echo_n "checking whether build environment is sane... " >&6; }
2404 echo timestamp > conftest.file
2405 # Reject unsafe characters in $srcdir or the absolute working directory
2406 # name. Accept space and tab only in the latter.
2410 *[\\\"\#\$\&\'\`$am_lf]*)
2411 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2414 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2415 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2418 # Do `set' in a subshell so we don't clobber the current shell's
2419 # arguments. Must try -L first in case configure is actually a
2420 # symlink; some systems play weird games with the mod time of symlinks
2421 # (eg FreeBSD returns the mod time of the symlink's containing
2424 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2425 if test "$*" = "X"; then
2427 set X `ls -t "$srcdir/configure" conftest.file`
2430 if test "$*" != "X $srcdir/configure conftest.file" \
2431 && test "$*" != "X conftest.file $srcdir/configure"; then
2433 # If neither matched, then we have a broken ls. This can happen
2434 # if, for instance, CONFIG_SHELL is bash and it inherits a
2435 # broken ls alias from the environment. This has actually
2436 # happened. Such a system could not be considered "sane".
2437 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2438 alias in your environment" "$LINENO" 5
2441 test "$2" = conftest.file
2447 as_fn_error $? "newly created file is older than distributed files!
2448 Check your system clock" "$LINENO" 5
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2451 $as_echo "yes" >&6; }
2452 test "$program_prefix" != NONE &&
2453 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2454 # Use a double $ so make ignores it.
2455 test "$program_suffix" != NONE &&
2456 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2457 # Double any \ or $.
2458 # By default was `s,x,x', remove it if useless.
2459 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2460 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2462 # expand $ac_aux_dir to an absolute path
2463 am_aux_dir=`cd $ac_aux_dir && pwd`
2465 if test x"${MISSING+set}" != xset; then
2468 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2470 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2473 # Use eval to expand $SHELL
2474 if eval "$MISSING --run true"; then
2475 am_missing_run="$MISSING --run "
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2479 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2482 if test x"${install_sh}" != xset; then
2485 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2487 install_sh="\${SHELL} $am_aux_dir/install-sh"
2491 # Installed binaries are usually stripped using `strip' when the user
2492 # run `make install-strip'. However `strip' might not be the right
2493 # tool to use in cross-compilation environments, therefore Automake
2494 # will honor the `STRIP' environment variable to overrule this program.
2495 if test "$cross_compiling" != no; then
2496 if test -n "$ac_tool_prefix"; then
2497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2498 set dummy ${ac_tool_prefix}strip; ac_word=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if ${ac_cv_prog_STRIP+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$STRIP"; then
2505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 STRIP=$ac_cv_prog_STRIP
2525 if test -n "$STRIP"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2527 $as_echo "$STRIP" >&6; }
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2535 if test -z "$ac_cv_prog_STRIP"; then
2537 # Extract the first word of "strip", so it can be a program name with args.
2538 set dummy strip; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$ac_ct_STRIP"; then
2545 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_ac_ct_STRIP="strip"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2565 if test -n "$ac_ct_STRIP"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2567 $as_echo "$ac_ct_STRIP" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2573 if test "x$ac_ct_STRIP" = x; then
2576 case $cross_compiling:$ac_tool_warned in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned=yes ;;
2585 STRIP="$ac_cv_prog_STRIP"
2589 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2592 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2593 if test -z "$MKDIR_P"; then
2594 if ${ac_cv_path_mkdir+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2601 test -z "$as_dir" && as_dir=.
2602 for ac_prog in mkdir gmkdir; do
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2605 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2606 'mkdir (GNU coreutils) '* | \
2607 'mkdir (coreutils) '* | \
2608 'mkdir (fileutils) '4.1*)
2609 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2619 test -d ./--version && rmdir ./--version
2620 if test "${ac_cv_path_mkdir+set}" = set; then
2621 MKDIR_P="$ac_cv_path_mkdir -p"
2623 # As a last resort, use the slow shell script. Don't cache a
2624 # value for MKDIR_P within a source directory, because that will
2625 # break other packages using the cache if that directory is
2626 # removed, or if the value is a relative name.
2627 MKDIR_P="$ac_install_sh -d"
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2631 $as_echo "$MKDIR_P" >&6; }
2635 [\\/$]* | ?:[\\/]*) ;;
2636 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2639 for ac_prog in gawk mawk nawk awk
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy $ac_prog; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_AWK+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$AWK"; then
2649 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_AWK="$ac_prog"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$AWK"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2671 $as_echo "$AWK" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$AWK" && break
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2682 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2684 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2685 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 cat >conftest.make <<\_ACEOF
2691 @echo '@@@%%%=$(MAKE)=@@@%%%'
2693 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2694 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2696 eval ac_cv_prog_make_${ac_make}_set=yes;;
2698 eval ac_cv_prog_make_${ac_make}_set=no;;
2702 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2704 $as_echo "yes" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2709 SET_MAKE="MAKE=${MAKE-make}"
2712 rm -rf .tst 2>/dev/null
2713 mkdir .tst 2>/dev/null
2714 if test -d .tst; then
2719 rmdir .tst 2>/dev/null
2721 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2722 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2723 # is not polluted with repeated "-I."
2724 am__isrc=' -I$(srcdir)'
2725 # test to see if srcdir already configured
2726 if test -f $srcdir/config.status; then
2727 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2731 # test whether we have cygpath
2732 if test -z "$CYGPATH_W"; then
2733 if (cygpath --version) >/dev/null 2>/dev/null; then
2734 CYGPATH_W='cygpath -w'
2741 # Define the identity of the package.
2746 cat >>confdefs.h <<_ACEOF
2747 #define PACKAGE "$PACKAGE"
2751 cat >>confdefs.h <<_ACEOF
2752 #define VERSION "$VERSION"
2755 # Some tools Automake needs.
2757 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2760 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2763 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2766 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2769 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2771 # We need awk for the "check" target. The system "awk" is bad on
2773 # Always define AMTAR for backward compatibility. Yes, it's still used
2774 # in the wild :-( We should find a proper way to deprecate it ...
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2779 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2780 # Loop over all known methods to create a tar archive until one works.
2781 _am_tools='gnutar plaintar pax cpio none'
2782 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2783 # Do not fold the above two line into one, because Tru64 sh and
2784 # Solaris sh will not grok spaces in the rhs of `-'.
2785 for _am_tool in $_am_tools
2789 for _am_tar in tar gnutar gtar;
2791 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2792 ($_am_tar --version) >&5 2>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } && break
2797 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2798 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2799 am__untar="$_am_tar -xf -"
2802 # Must skip GNU tar: if it does not support --format= it doesn't create
2803 # ustar tarball either.
2804 (tar --version) >/dev/null 2>&1 && continue
2805 am__tar='tar chf - "$$tardir"'
2806 am__tar_='tar chf - "$tardir"'
2807 am__untar='tar xf -'
2810 am__tar='pax -L -x ustar -w "$$tardir"'
2811 am__tar_='pax -L -x ustar -w "$tardir"'
2815 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2816 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2817 am__untar='cpio -i -H ustar -d'
2826 # If the value was cached, stop now. We just wanted to have am__tar
2827 # and am__untar set.
2828 test -n "${am_cv_prog_tar_ustar}" && break
2830 # tar/untar a dummy directory, and stop if the command works
2833 echo GrepMe > conftest.dir/file
2834 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2835 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2840 if test -s conftest.tar; then
2841 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2842 ($am__untar <conftest.tar) >&5 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2851 if ${am_cv_prog_tar_ustar+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 am_cv_prog_tar_ustar=$_am_tool
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2858 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2866 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2867 # Check whether --enable-maintainer-mode was given.
2868 if test "${enable_maintainer_mode+set}" = set; then :
2869 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2871 USE_MAINTAINER_MODE=yes
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2875 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2876 if test $USE_MAINTAINER_MODE = yes; then
2877 MAINTAINER_MODE_TRUE=
2878 MAINTAINER_MODE_FALSE='#'
2880 MAINTAINER_MODE_TRUE='#'
2881 MAINTAINER_MODE_FALSE=
2884 MAINT=$MAINTAINER_MODE_TRUE
2888 DEPDIR="${am__leading_dot}deps"
2890 ac_config_commands="$ac_config_commands depfiles"
2893 am_make=${MAKE-make}
2894 cat > confinc << 'END'
2896 @echo this is the am__doit target
2899 # If we don't find an include directive, just comment out the code.
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2901 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2905 # First try GNU make style include.
2906 echo "include confinc" > confmf
2907 # Ignore all kinds of additional output from `make'.
2908 case `$am_make -s -f confmf 2> /dev/null` in #(
2909 *the\ am__doit\ target*)
2915 # Now try BSD make style include.
2916 if test "$am__include" = "#"; then
2917 echo '.include "confinc"' > confmf
2918 case `$am_make -s -f confmf 2> /dev/null` in #(
2919 *the\ am__doit\ target*)
2920 am__include=.include
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2929 $as_echo "$_am_result" >&6; }
2930 rm -f confinc confmf
2932 # Check whether --enable-dependency-tracking was given.
2933 if test "${enable_dependency_tracking+set}" = set; then :
2934 enableval=$enable_dependency_tracking;
2937 if test "x$enable_dependency_tracking" != xno; then
2938 am_depcomp="$ac_aux_dir/depcomp"
2942 if test "x$enable_dependency_tracking" != xno; then
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 if test -n "$ac_tool_prefix"; then
2957 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2958 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_CC+:} false; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$CC"; then
2965 ac_cv_prog_CC="$CC" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 if test -n "$CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2995 if test -z "$ac_cv_prog_CC"; then
2997 # Extract the first word of "gcc", so it can be a program name with args.
2998 set dummy gcc; ac_word=$2
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3002 $as_echo_n "(cached) " >&6
3004 if test -n "$ac_ct_CC"; then
3005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_prog_ac_ct_CC="gcc"
3015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3025 if test -n "$ac_ct_CC"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3027 $as_echo "$ac_ct_CC" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3033 if test "x$ac_ct_CC" = x; then
3036 case $cross_compiling:$ac_tool_warned in
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3040 ac_tool_warned=yes ;;
3048 if test -z "$CC"; then
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3051 set dummy ${ac_tool_prefix}cc; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_CC+:} false; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_CC="${ac_tool_prefix}cc"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 # Extract the first word of "cc", so it can be a program name with args.
3091 set dummy cc; ac_word=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if ${ac_cv_prog_CC+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 if test -n "$CC"; then
3098 ac_cv_prog_CC="$CC" # Let the user override the test.
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir=.
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3109 ac_prog_rejected=yes
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test $ac_prog_rejected = yes; then
3121 # We found a bogon in the path, so make sure we never use it.
3122 set dummy $ac_cv_prog_CC
3124 if test $# != 0; then
3125 # We chose a different compiler from the bogus one.
3126 # However, it has the same basename, so the bogon will be chosen
3127 # first if we set CC to just the basename; use the full file name.
3129 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3135 if test -n "$CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3137 $as_echo "$CC" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3145 if test -z "$CC"; then
3146 if test -n "$ac_tool_prefix"; then
3147 for ac_prog in cl.exe
3149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 $as_echo_n "checking for $ac_word... " >&6; }
3153 if ${ac_cv_prog_CC+:} false; then :
3154 $as_echo_n "(cached) " >&6
3156 if test -n "$CC"; then
3157 ac_cv_prog_CC="$CC" # Let the user override the test.
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3166 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 if test -n "$CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 $as_echo "$CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3186 test -n "$CC" && break
3189 if test -z "$CC"; then
3191 for ac_prog in cl.exe
3193 # Extract the first word of "$ac_prog", so it can be a program name with args.
3194 set dummy $ac_prog; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$ac_ct_CC"; then
3201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210 ac_cv_prog_ac_ct_CC="$ac_prog"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221 if test -n "$ac_ct_CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223 $as_echo "$ac_ct_CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3230 test -n "$ac_ct_CC" && break
3233 if test "x$ac_ct_CC" = x; then
3236 case $cross_compiling:$ac_tool_warned in
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3240 ac_tool_warned=yes ;;
3249 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $? "no acceptable C compiler found in \$PATH
3252 See \`config.log' for more details" "$LINENO" 5; }
3254 # Provide some information about the compiler.
3255 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3258 for ac_option in --version -v -V -qversion; do
3259 { { ac_try="$ac_compiler $ac_option >&5"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3265 $as_echo "$ac_try_echo"; } >&5
3266 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3268 if test -s conftest.err; then
3270 ... rest of stderr output deleted ...
3271 10q' conftest.err >conftest.er1
3272 cat conftest.er1 >&5
3274 rm -f conftest.er1 conftest.err
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3290 ac_clean_files_save=$ac_clean_files
3291 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3292 # Try to create an executable without -o first, disregard a.out.
3293 # It will help us diagnose broken compilers, and finding out an intuition
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3296 $as_echo_n "checking whether the C compiler works... " >&6; }
3297 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3299 # The possible output files:
3300 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3303 for ac_file in $ac_files
3306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3307 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3312 if { { ac_try="$ac_link_default"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318 $as_echo "$ac_try_echo"; } >&5
3319 (eval "$ac_link_default") 2>&5
3321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322 test $ac_status = 0; }; then :
3323 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3324 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3325 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3326 # so that the user can short-circuit this test for compilers unknown to
3328 for ac_file in $ac_files ''
3330 test -f "$ac_file" || continue
3332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3335 # We found the default executable, but exeext='' is most
3339 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3341 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3343 # We set ac_cv_exeext here because the later test for it is not
3344 # safe: cross compilers may not add the suffix if given an `-o'
3345 # argument, so we may need to know it at that point already.
3346 # Even if this section looks crufty: it has the advantage of
3353 test "$ac_cv_exeext" = no && ac_cv_exeext=
3358 if test -z "$ac_file"; then :
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3361 $as_echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error 77 "C compiler cannot create executables
3367 See \`config.log' for more details" "$LINENO" 5; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3370 $as_echo "yes" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3373 $as_echo_n "checking for C compiler default output file name... " >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3375 $as_echo "$ac_file" >&6; }
3376 ac_exeext=$ac_cv_exeext
3378 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3379 ac_clean_files=$ac_clean_files_save
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3381 $as_echo_n "checking for suffix of executables... " >&6; }
3382 if { { ac_try="$ac_link"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }; then :
3393 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3394 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3395 # work properly (i.e., refer to `conftest.exe'), while it won't with
3397 for ac_file in conftest.exe conftest conftest.*; do
3398 test -f "$ac_file" || continue
3400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3401 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3410 See \`config.log' for more details" "$LINENO" 5; }
3412 rm -f conftest conftest$ac_cv_exeext
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3414 $as_echo "$ac_cv_exeext" >&6; }
3416 rm -f conftest.$ac_ext
3417 EXEEXT=$ac_cv_exeext
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3425 FILE *f = fopen ("conftest.out", "w");
3426 return ferror (f) || fclose (f) != 0;
3432 ac_clean_files="$ac_clean_files conftest.out"
3433 # Check that the compiler produces executables we can run. If not, either
3434 # the compiler is broken, or we cross compile.
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3436 $as_echo_n "checking whether we are cross compiling... " >&6; }
3437 if test "$cross_compiling" != yes; then
3438 { { ac_try="$ac_link"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_link") 2>&5
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }
3449 if { ac_try='./conftest$ac_cv_exeext'
3450 { { case "(($ac_try" in
3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_try") 2>&5
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }; }; then
3462 if test "$cross_compiling" = maybe; then
3465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $? "cannot run C compiled programs.
3468 If you meant to cross compile, use \`--host'.
3469 See \`config.log' for more details" "$LINENO" 5; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3474 $as_echo "$cross_compiling" >&6; }
3476 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3477 ac_clean_files=$ac_clean_files_save
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3479 $as_echo_n "checking for suffix of object files... " >&6; }
3480 if ${ac_cv_objext+:} false; then :
3481 $as_echo_n "(cached) " >&6
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 rm -f conftest.o conftest.obj
3495 if { { ac_try="$ac_compile"
3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 $as_echo "$ac_try_echo"; } >&5
3502 (eval "$ac_compile") 2>&5
3504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505 test $ac_status = 0; }; then :
3506 for ac_file in conftest.o conftest.obj conftest.*; do
3507 test -f "$ac_file" || continue;
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3510 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3515 $as_echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error $? "cannot compute suffix of object files: cannot compile
3521 See \`config.log' for more details" "$LINENO" 5; }
3523 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3526 $as_echo "$ac_cv_objext" >&6; }
3527 OBJEXT=$ac_cv_objext
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3530 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3531 if ${ac_cv_c_compiler_gnu+:} false; then :
3532 $as_echo_n "(cached) " >&6
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3548 if ac_fn_c_try_compile "$LINENO"; then :
3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3554 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3558 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3559 if test $ac_compiler_gnu = yes; then
3564 ac_test_CFLAGS=${CFLAGS+set}
3565 ac_save_CFLAGS=$CFLAGS
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3567 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3568 if ${ac_cv_prog_cc_g+:} false; then :
3569 $as_echo_n "(cached) " >&6
3571 ac_save_c_werror_flag=$ac_c_werror_flag
3572 ac_c_werror_flag=yes
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3601 if ac_fn_c_try_compile "$LINENO"; then :
3604 ac_c_werror_flag=$ac_save_c_werror_flag
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_c_try_compile "$LINENO"; then :
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_c_werror_flag=$ac_save_c_werror_flag
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3628 $as_echo "$ac_cv_prog_cc_g" >&6; }
3629 if test "$ac_test_CFLAGS" = set; then
3630 CFLAGS=$ac_save_CFLAGS
3631 elif test $ac_cv_prog_cc_g = yes; then
3632 if test "$GCC" = yes; then
3638 if test "$GCC" = yes; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3645 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3646 if ${ac_cv_prog_cc_c89+:} false; then :
3647 $as_echo_n "(cached) " >&6
3649 ac_cv_prog_cc_c89=no
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3657 struct buf { int x; };
3658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3659 static char *e (p, i)
3665 static char *f (char * (*g) (char **, int), char **p, ...)
3670 s = g (p, va_arg (v,int));
3675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3676 function prototypes and stuff, but not '\xHH' hex character constants.
3677 These don't provoke an error unfortunately, instead are silently treated
3678 as 'x'. The following induces an error, until -std is added to get
3679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3680 array size at least. It's necessary to write '\x00'==0 to get something
3681 that's true only with -std. */
3682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3685 inside strings and character constants. */
3687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3689 int test (int i, double x);
3690 struct s1 {int (*f) (int a);};
3691 struct s2 {int (*f) (double a);};
3692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3698 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3706 CC="$ac_save_CC $ac_arg"
3707 if ac_fn_c_try_compile "$LINENO"; then :
3708 ac_cv_prog_cc_c89=$ac_arg
3710 rm -f core conftest.err conftest.$ac_objext
3711 test "x$ac_cv_prog_cc_c89" != "xno" && break
3713 rm -f conftest.$ac_ext
3718 case "x$ac_cv_prog_cc_c89" in
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3721 $as_echo "none needed" >&6; } ;;
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3724 $as_echo "unsupported" >&6; } ;;
3726 CC="$CC $ac_cv_prog_cc_c89"
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3730 if test "x$ac_cv_prog_cc_c89" != xno; then :
3735 ac_cpp='$CPP $CPPFLAGS'
3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3740 depcc="$CC" am_compiler_list=
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3743 $as_echo_n "checking dependency style of $depcc... " >&6; }
3744 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3748 # We make a subdir and do the tests there. Otherwise we can end up
3749 # making bogus files that we don't know about and never remove. For
3750 # instance it was reported that on HP-UX the gcc test will end up
3751 # making a dummy file named `D' -- because `-MD' means `put the output
3755 # Copy depcomp to subdir because otherwise we won't find it if we're
3756 # using a relative directory.
3757 cp "$am_depcomp" conftest.dir
3759 # We will build objects and dependencies in a subdirectory because
3760 # it helps to detect inapplicable dependency modes. For instance
3761 # both Tru64's cc and ICC support -MD to output dependencies as a
3762 # side effect of compilation, but ICC will put the dependencies in
3763 # the current directory while Tru64 will put them in the object
3767 am_cv_CC_dependencies_compiler_type=none
3768 if test "$am_compiler_list" = ""; then
3769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3772 case " $depcc " in #(
3773 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3776 for depmode in $am_compiler_list; do
3777 # Setup a source with many dependencies, because some compilers
3778 # like to wrap large dependency lists on column 80 (with \), and
3779 # we should not choose a depcomp mode which is confused by this.
3781 # We need to recreate these files for each test, as the compiler may
3782 # overwrite some of them when testing with obscure command lines.
3783 # This happens at least with the AIX C compiler.
3785 for i in 1 2 3 4 5 6; do
3786 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3787 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3788 # Solaris 8's {/usr,}/bin/sh.
3789 touch sub/conftst$i.h
3791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3793 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3794 # mode. It turns out that the SunPro C++ compiler does not properly
3795 # handle `-M -o', and we need to detect this. Also, some Intel
3796 # versions had trouble with output in subdirs
3797 am__obj=sub/conftest.${OBJEXT-o}
3798 am__minus_obj="-o $am__obj"
3801 # This depmode causes a compiler race in universal mode.
3802 test "$am__universal" = false || continue
3805 # after this tag, mechanisms are not by side-effect, so they'll
3806 # only be used when explicitly requested
3807 if test "x$enable_dependency_tracking" = xyes; then
3813 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3814 # This compiler won't grok `-c -o', but also, the minuso test has
3815 # not run yet. These depmodes are late enough in the game, and
3816 # so weak that their functioning should not be impacted.
3817 am__obj=conftest.${OBJEXT-o}
3822 if depmode=$depmode \
3823 source=sub/conftest.c object=$am__obj \
3824 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3825 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3826 >/dev/null 2>conftest.err &&
3827 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3828 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3829 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3830 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3831 # icc doesn't choke on unknown options, it will just issue warnings
3832 # or remarks (even with -Werror). So we grep stderr for any message
3833 # that says an option was ignored or not supported.
3834 # When given -MP, icc 7.0 and 7.1 complain thusly:
3835 # icc: Command line warning: ignoring option '-M'; no argument required
3836 # The diagnosis changed in icc 8.0:
3837 # icc: Command line remark: option '-MP' not supported
3838 if (grep 'ignoring option' conftest.err ||
3839 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3840 am_cv_CC_dependencies_compiler_type=$depmode
3849 am_cv_CC_dependencies_compiler_type=none
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3854 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3855 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3858 test "x$enable_dependency_tracking" != xno \
3859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3861 am__fastdepCC_FALSE='#'
3863 am__fastdepCC_TRUE='#'
3864 am__fastdepCC_FALSE=
3871 # Check whether --enable-compile-warnings was given.
3872 if test "${enable_compile_warnings+set}" = set; then :
3873 enableval=$enable_compile_warnings;
3875 enable_compile_warnings="yes"
3880 if test "x$GCC" != xyes; then
3881 enable_compile_warnings=no
3885 realsave_CFLAGS="$CFLAGS"
3887 case "$enable_compile_warnings" in
3892 warning_flags="-Wall"
3895 warning_flags="-Wall -Wmissing-prototypes"
3898 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
3899 CFLAGS="$warning_flags $CFLAGS"
3900 for option in -Wno-sign-compare; do
3901 SAVE_CFLAGS="$CFLAGS"
3902 CFLAGS="$CFLAGS $option"
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
3904 $as_echo_n "checking whether gcc understands $option... " >&6; }
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 if ac_fn_c_try_compile "$LINENO"; then :
3921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3922 CFLAGS="$SAVE_CFLAGS"
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
3924 $as_echo "$has_option" >&6; }
3925 if test $has_option = yes; then
3926 warning_flags="$warning_flags $option"
3932 if test "$enable_compile_warnings" = "error" ; then
3933 warning_flags="$warning_flags -Werror"
3937 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
3940 CFLAGS="$realsave_CFLAGS"
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3942 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
3944 $as_echo "$warning_flags" >&6; }
3946 # Check whether --enable-iso-c was given.
3947 if test "${enable_iso_c+set}" = set; then :
3948 enableval=$enable_iso_c;
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
3955 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
3957 if test "x$enable_iso_c" != "xno"; then
3958 if test "x$GCC" = "xyes"; then
3961 *) complCFLAGS="$complCFLAGS -ansi" ;;
3964 *\ \ -pedantic\ \ *) ;;
3965 *) complCFLAGS="$complCFLAGS -pedantic" ;;
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
3970 $as_echo "$complCFLAGS" >&6; }
3972 WARN_CFLAGS="$warning_flags $complCFLAGS"
3976 # Check whether --enable-silent-rules was given.
3977 if test "${enable_silent_rules+set}" = set; then :
3978 enableval=$enable_silent_rules;
3981 case $enable_silent_rules in
3982 yes) AM_DEFAULT_VERBOSITY=0;;
3983 no) AM_DEFAULT_VERBOSITY=1;;
3984 *) AM_DEFAULT_VERBOSITY=0;;
3986 am_make=${MAKE-make}
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3988 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3989 if ${am_cv_make_support_nested_variables+:} false; then :
3990 $as_echo_n "(cached) " >&6
3992 if $as_echo 'TRUE=$(BAR$(V))
3998 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3999 am_cv_make_support_nested_variables=yes
4001 am_cv_make_support_nested_variables=no
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4005 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4006 if test $am_cv_make_support_nested_variables = yes; then
4008 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4010 AM_V=$AM_DEFAULT_VERBOSITY
4011 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4017 $as_echo_n "checking for library containing strerror... " >&6; }
4018 if ${ac_cv_search_strerror+:} false; then :
4019 $as_echo_n "(cached) " >&6
4021 ac_func_search_save_LIBS=$LIBS
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4025 /* Override any GCC internal prototype to avoid an error.
4026 Use char because int might match the return type of a GCC
4027 builtin and then its argument prototype would still apply. */
4040 for ac_lib in '' cposix; do
4041 if test -z "$ac_lib"; then
4042 ac_res="none required"
4045 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4047 if ac_fn_c_try_link "$LINENO"; then :
4048 ac_cv_search_strerror=$ac_res
4050 rm -f core conftest.err conftest.$ac_objext \
4052 if ${ac_cv_search_strerror+:} false; then :
4056 if ${ac_cv_search_strerror+:} false; then :
4059 ac_cv_search_strerror=no
4062 LIBS=$ac_func_search_save_LIBS
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4065 $as_echo "$ac_cv_search_strerror" >&6; }
4066 ac_res=$ac_cv_search_strerror
4067 if test "$ac_res" != no; then :
4068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077 if test -n "$ac_tool_prefix"; then
4078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -n "$CC"; then
4086 ac_cv_prog_CC="$CC" # Let the user override the test.
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir=.
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 if test -n "$CC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4108 $as_echo "$CC" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4116 if test -z "$ac_cv_prog_CC"; then
4118 # Extract the first word of "gcc", so it can be a program name with args.
4119 set dummy gcc; ac_word=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$ac_ct_CC"; then
4126 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir=.
4133 for ac_exec_ext in '' $ac_executable_extensions; do
4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_CC="gcc"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4146 if test -n "$ac_ct_CC"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4148 $as_echo "$ac_ct_CC" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4154 if test "x$ac_ct_CC" = x; then
4157 case $cross_compiling:$ac_tool_warned in
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4161 ac_tool_warned=yes ;;
4169 if test -z "$CC"; then
4170 if test -n "$ac_tool_prefix"; then
4171 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4172 set dummy ${ac_tool_prefix}cc; ac_word=$2
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if ${ac_cv_prog_CC+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 if test -n "$CC"; then
4179 ac_cv_prog_CC="$CC" # Let the user override the test.
4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir=.
4186 for ac_exec_ext in '' $ac_executable_extensions; do
4187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4188 ac_cv_prog_CC="${ac_tool_prefix}cc"
4189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 if test -n "$CC"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4201 $as_echo "$CC" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4210 if test -z "$CC"; then
4211 # Extract the first word of "cc", so it can be a program name with args.
4212 set dummy cc; ac_word=$2
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214 $as_echo_n "checking for $ac_word... " >&6; }
4215 if ${ac_cv_prog_CC+:} false; then :
4216 $as_echo_n "(cached) " >&6
4218 if test -n "$CC"; then
4219 ac_cv_prog_CC="$CC" # Let the user override the test.
4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir=.
4227 for ac_exec_ext in '' $ac_executable_extensions; do
4228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4230 ac_prog_rejected=yes
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 if test $ac_prog_rejected = yes; then
4242 # We found a bogon in the path, so make sure we never use it.
4243 set dummy $ac_cv_prog_CC
4245 if test $# != 0; then
4246 # We chose a different compiler from the bogus one.
4247 # However, it has the same basename, so the bogon will be chosen
4248 # first if we set CC to just the basename; use the full file name.
4250 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4256 if test -n "$CC"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4258 $as_echo "$CC" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4266 if test -z "$CC"; then
4267 if test -n "$ac_tool_prefix"; then
4268 for ac_prog in cl.exe
4270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_CC+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$CC"; then
4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4300 $as_echo "$CC" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4307 test -n "$CC" && break
4310 if test -z "$CC"; then
4312 for ac_prog in cl.exe
4314 # Extract the first word of "$ac_prog", so it can be a program name with args.
4315 set dummy $ac_prog; ac_word=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -n "$ac_ct_CC"; then
4322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir=.
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331 ac_cv_prog_ac_ct_CC="$ac_prog"
4332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4342 if test -n "$ac_ct_CC"; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4344 $as_echo "$ac_ct_CC" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4351 test -n "$ac_ct_CC" && break
4354 if test "x$ac_ct_CC" = x; then
4357 case $cross_compiling:$ac_tool_warned in
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4361 ac_tool_warned=yes ;;
4370 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4372 as_fn_error $? "no acceptable C compiler found in \$PATH
4373 See \`config.log' for more details" "$LINENO" 5; }
4375 # Provide some information about the compiler.
4376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4379 for ac_option in --version -v -V -qversion; do
4380 { { ac_try="$ac_compiler $ac_option >&5"
4382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383 *) ac_try_echo=$ac_try;;
4385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4386 $as_echo "$ac_try_echo"; } >&5
4387 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4389 if test -s conftest.err; then
4391 ... rest of stderr output deleted ...
4392 10q' conftest.err >conftest.er1
4393 cat conftest.er1 >&5
4395 rm -f conftest.er1 conftest.err
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4401 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4402 if ${ac_cv_c_compiler_gnu+:} false; then :
4403 $as_echo_n "(cached) " >&6
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4419 if ac_fn_c_try_compile "$LINENO"; then :
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4429 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4430 if test $ac_compiler_gnu = yes; then
4435 ac_test_CFLAGS=${CFLAGS+set}
4436 ac_save_CFLAGS=$CFLAGS
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4438 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4439 if ${ac_cv_prog_cc_g+:} false; then :
4440 $as_echo_n "(cached) " >&6
4442 ac_save_c_werror_flag=$ac_c_werror_flag
4443 ac_c_werror_flag=yes
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4457 if ac_fn_c_try_compile "$LINENO"; then :
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4472 if ac_fn_c_try_compile "$LINENO"; then :
4475 ac_c_werror_flag=$ac_save_c_werror_flag
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_c_werror_flag=$ac_save_c_werror_flag
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4499 $as_echo "$ac_cv_prog_cc_g" >&6; }
4500 if test "$ac_test_CFLAGS" = set; then
4501 CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503 if test "$GCC" = yes; then
4509 if test "$GCC" = yes; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4516 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4517 if ${ac_cv_prog_cc_c89+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_cv_prog_cc_c89=no
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4527 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4528 struct buf { int x; };
4529 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4530 static char *e (p, i)
4536 static char *f (char * (*g) (char **, int), char **p, ...)
4541 s = g (p, va_arg (v,int));
4546 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4547 function prototypes and stuff, but not '\xHH' hex character constants.
4548 These don't provoke an error unfortunately, instead are silently treated
4549 as 'x'. The following induces an error, until -std is added to get
4550 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4551 array size at least. It's necessary to write '\x00'==0 to get something
4552 that's true only with -std. */
4553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4555 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4556 inside strings and character constants. */
4558 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4560 int test (int i, double x);
4561 struct s1 {int (*f) (int a);};
4562 struct s2 {int (*f) (double a);};
4563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4574 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4575 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4577 CC="$ac_save_CC $ac_arg"
4578 if ac_fn_c_try_compile "$LINENO"; then :
4579 ac_cv_prog_cc_c89=$ac_arg
4581 rm -f core conftest.err conftest.$ac_objext
4582 test "x$ac_cv_prog_cc_c89" != "xno" && break
4584 rm -f conftest.$ac_ext
4589 case "x$ac_cv_prog_cc_c89" in
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4592 $as_echo "none needed" >&6; } ;;
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4595 $as_echo "unsupported" >&6; } ;;
4597 CC="$CC $ac_cv_prog_cc_c89"
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4599 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4601 if test "x$ac_cv_prog_cc_c89" != xno; then :
4606 ac_cpp='$CPP $CPPFLAGS'
4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4611 depcc="$CC" am_compiler_list=
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4614 $as_echo_n "checking dependency style of $depcc... " >&6; }
4615 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4619 # We make a subdir and do the tests there. Otherwise we can end up
4620 # making bogus files that we don't know about and never remove. For
4621 # instance it was reported that on HP-UX the gcc test will end up
4622 # making a dummy file named `D' -- because `-MD' means `put the output
4626 # Copy depcomp to subdir because otherwise we won't find it if we're
4627 # using a relative directory.
4628 cp "$am_depcomp" conftest.dir
4630 # We will build objects and dependencies in a subdirectory because
4631 # it helps to detect inapplicable dependency modes. For instance
4632 # both Tru64's cc and ICC support -MD to output dependencies as a
4633 # side effect of compilation, but ICC will put the dependencies in
4634 # the current directory while Tru64 will put them in the object
4638 am_cv_CC_dependencies_compiler_type=none
4639 if test "$am_compiler_list" = ""; then
4640 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4643 case " $depcc " in #(
4644 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4647 for depmode in $am_compiler_list; do
4648 # Setup a source with many dependencies, because some compilers
4649 # like to wrap large dependency lists on column 80 (with \), and
4650 # we should not choose a depcomp mode which is confused by this.
4652 # We need to recreate these files for each test, as the compiler may
4653 # overwrite some of them when testing with obscure command lines.
4654 # This happens at least with the AIX C compiler.
4656 for i in 1 2 3 4 5 6; do
4657 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4658 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4659 # Solaris 8's {/usr,}/bin/sh.
4660 touch sub/conftst$i.h
4662 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4664 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4665 # mode. It turns out that the SunPro C++ compiler does not properly
4666 # handle `-M -o', and we need to detect this. Also, some Intel
4667 # versions had trouble with output in subdirs
4668 am__obj=sub/conftest.${OBJEXT-o}
4669 am__minus_obj="-o $am__obj"
4672 # This depmode causes a compiler race in universal mode.
4673 test "$am__universal" = false || continue
4676 # after this tag, mechanisms are not by side-effect, so they'll
4677 # only be used when explicitly requested
4678 if test "x$enable_dependency_tracking" = xyes; then
4684 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4685 # This compiler won't grok `-c -o', but also, the minuso test has
4686 # not run yet. These depmodes are late enough in the game, and
4687 # so weak that their functioning should not be impacted.
4688 am__obj=conftest.${OBJEXT-o}
4693 if depmode=$depmode \
4694 source=sub/conftest.c object=$am__obj \
4695 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4696 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4697 >/dev/null 2>conftest.err &&
4698 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4699 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4700 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4701 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4702 # icc doesn't choke on unknown options, it will just issue warnings
4703 # or remarks (even with -Werror). So we grep stderr for any message
4704 # that says an option was ignored or not supported.
4705 # When given -MP, icc 7.0 and 7.1 complain thusly:
4706 # icc: Command line warning: ignoring option '-M'; no argument required
4707 # The diagnosis changed in icc 8.0:
4708 # icc: Command line remark: option '-MP' not supported
4709 if (grep 'ignoring option' conftest.err ||
4710 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4711 am_cv_CC_dependencies_compiler_type=$depmode
4720 am_cv_CC_dependencies_compiler_type=none
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4725 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4726 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4729 test "x$enable_dependency_tracking" != xno \
4730 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4732 am__fastdepCC_FALSE='#'
4734 am__fastdepCC_TRUE='#'
4735 am__fastdepCC_FALSE=
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4745 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4746 # On Suns, sometimes $CPP names a directory.
4747 if test -n "$CPP" && test -d "$CPP"; then
4750 if test -z "$CPP"; then
4751 if ${ac_cv_prog_CPP+:} false; then :
4752 $as_echo_n "(cached) " >&6
4754 # Double quotes because CPP needs to be expanded
4755 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4758 for ac_c_preproc_warn_flag in '' yes
4760 # Use a header file that comes with gcc, so configuring glibc
4761 # with a fresh cross-compiler works.
4762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4763 # <limits.h> exists even on freestanding compilers.
4764 # On the NeXT, cc -E runs the code through the compiler's parser,
4765 # not just through cpp. "Syntax error" is here to catch this case.
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4769 # include <limits.h>
4771 # include <assert.h>
4775 if ac_fn_c_try_cpp "$LINENO"; then :
4778 # Broken: fails on valid input.
4781 rm -f conftest.err conftest.i conftest.$ac_ext
4783 # OK, works on sane cases. Now check whether nonexistent headers
4784 # can be detected and how.
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 #include <ac_nonexistent.h>
4789 if ac_fn_c_try_cpp "$LINENO"; then :
4790 # Broken: success on invalid input.
4793 # Passes both tests.
4797 rm -f conftest.err conftest.i conftest.$ac_ext
4800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4801 rm -f conftest.i conftest.err conftest.$ac_ext
4802 if $ac_preproc_ok; then :
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4815 $as_echo "$CPP" >&6; }
4817 for ac_c_preproc_warn_flag in '' yes
4819 # Use a header file that comes with gcc, so configuring glibc
4820 # with a fresh cross-compiler works.
4821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4822 # <limits.h> exists even on freestanding compilers.
4823 # On the NeXT, cc -E runs the code through the compiler's parser,
4824 # not just through cpp. "Syntax error" is here to catch this case.
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4828 # include <limits.h>
4830 # include <assert.h>
4834 if ac_fn_c_try_cpp "$LINENO"; then :
4837 # Broken: fails on valid input.
4840 rm -f conftest.err conftest.i conftest.$ac_ext
4842 # OK, works on sane cases. Now check whether nonexistent headers
4843 # can be detected and how.
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4846 #include <ac_nonexistent.h>
4848 if ac_fn_c_try_cpp "$LINENO"; then :
4849 # Broken: success on invalid input.
4852 # Passes both tests.
4856 rm -f conftest.err conftest.i conftest.$ac_ext
4859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4860 rm -f conftest.i conftest.err conftest.$ac_ext
4861 if $ac_preproc_ok; then :
4864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4867 See \`config.log' for more details" "$LINENO" 5; }
4871 ac_cpp='$CPP $CPPFLAGS'
4872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4878 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4879 if ${ac_cv_path_GREP+:} false; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -z "$GREP"; then
4883 ac_path_GREP_found=false
4884 # Loop through the user's path and test for each of PROGNAME-LIST
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4889 test -z "$as_dir" && as_dir=.
4890 for ac_prog in grep ggrep; do
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4893 as_fn_executable_p "$ac_path_GREP" || continue
4894 # Check for GNU ac_path_GREP and select it if it is found.
4895 # Check for GNU $ac_path_GREP
4896 case `"$ac_path_GREP" --version 2>&1` in
4898 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4901 $as_echo_n 0123456789 >"conftest.in"
4904 cat "conftest.in" "conftest.in" >"conftest.tmp"
4905 mv "conftest.tmp" "conftest.in"
4906 cp "conftest.in" "conftest.nl"
4907 $as_echo 'GREP' >> "conftest.nl"
4908 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4909 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4910 as_fn_arith $ac_count + 1 && ac_count=$as_val
4911 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4912 # Best one so far, save it but keep looking for a better one
4913 ac_cv_path_GREP="$ac_path_GREP"
4914 ac_path_GREP_max=$ac_count
4916 # 10*(2^10) chars as input seems more than enough
4917 test $ac_count -gt 10 && break
4919 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4922 $ac_path_GREP_found && break 3
4927 if test -z "$ac_cv_path_GREP"; then
4928 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4931 ac_cv_path_GREP=$GREP
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4936 $as_echo "$ac_cv_path_GREP" >&6; }
4937 GREP="$ac_cv_path_GREP"
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4941 $as_echo_n "checking for egrep... " >&6; }
4942 if ${ac_cv_path_EGREP+:} false; then :
4943 $as_echo_n "(cached) " >&6
4945 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4946 then ac_cv_path_EGREP="$GREP -E"
4948 if test -z "$EGREP"; then
4949 ac_path_EGREP_found=false
4950 # Loop through the user's path and test for each of PROGNAME-LIST
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4955 test -z "$as_dir" && as_dir=.
4956 for ac_prog in egrep; do
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4959 as_fn_executable_p "$ac_path_EGREP" || continue
4960 # Check for GNU ac_path_EGREP and select it if it is found.
4961 # Check for GNU $ac_path_EGREP
4962 case `"$ac_path_EGREP" --version 2>&1` in
4964 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4967 $as_echo_n 0123456789 >"conftest.in"
4970 cat "conftest.in" "conftest.in" >"conftest.tmp"
4971 mv "conftest.tmp" "conftest.in"
4972 cp "conftest.in" "conftest.nl"
4973 $as_echo 'EGREP' >> "conftest.nl"
4974 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4975 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4976 as_fn_arith $ac_count + 1 && ac_count=$as_val
4977 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4978 # Best one so far, save it but keep looking for a better one
4979 ac_cv_path_EGREP="$ac_path_EGREP"
4980 ac_path_EGREP_max=$ac_count
4982 # 10*(2^10) chars as input seems more than enough
4983 test $ac_count -gt 10 && break
4985 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4988 $ac_path_EGREP_found && break 3
4993 if test -z "$ac_cv_path_EGREP"; then
4994 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4997 ac_cv_path_EGREP=$EGREP
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5003 $as_echo "$ac_cv_path_EGREP" >&6; }
5004 EGREP="$ac_cv_path_EGREP"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5008 $as_echo_n "checking for ANSI C header files... " >&6; }
5009 if ${ac_cv_header_stdc+:} false; then :
5010 $as_echo_n "(cached) " >&6
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5027 if ac_fn_c_try_compile "$LINENO"; then :
5028 ac_cv_header_stdc=yes
5030 ac_cv_header_stdc=no
5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 if test $ac_cv_header_stdc = yes; then
5035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5042 $EGREP "memchr" >/dev/null 2>&1; then :
5045 ac_cv_header_stdc=no
5051 if test $ac_cv_header_stdc = yes; then
5052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5059 $EGREP "free" >/dev/null 2>&1; then :
5062 ac_cv_header_stdc=no
5068 if test $ac_cv_header_stdc = yes; then
5069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5070 if test "$cross_compiling" = yes; then :
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5077 #if ((' ' & 0x0FF) == 0x020)
5078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5081 # define ISLOWER(c) \
5082 (('a' <= (c) && (c) <= 'i') \
5083 || ('j' <= (c) && (c) <= 'r') \
5084 || ('s' <= (c) && (c) <= 'z'))
5085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5093 for (i = 0; i < 256; i++)
5094 if (XOR (islower (i), ISLOWER (i))
5095 || toupper (i) != TOUPPER (i))
5100 if ac_fn_c_try_run "$LINENO"; then :
5103 ac_cv_header_stdc=no
5105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5106 conftest.$ac_objext conftest.beam conftest.$ac_ext
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5112 $as_echo "$ac_cv_header_stdc" >&6; }
5113 if test $ac_cv_header_stdc = yes; then
5115 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5124 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5129 macro_version='2.4.2'
5130 macro_revision='1.3337'
5144 ltmain="$ac_aux_dir/ltmain.sh"
5146 # Make sure we can run config.sub.
5147 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5148 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5151 $as_echo_n "checking build system type... " >&6; }
5152 if ${ac_cv_build+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 ac_build_alias=$build_alias
5156 test "x$ac_build_alias" = x &&
5157 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5158 test "x$ac_build_alias" = x &&
5159 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5160 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5161 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5165 $as_echo "$ac_cv_build" >&6; }
5166 case $ac_cv_build in
5168 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5171 ac_save_IFS=$IFS; IFS='-'
5177 # Remember, the first character of IFS is used to create $*,
5178 # except with old shells:
5181 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5185 $as_echo_n "checking host system type... " >&6; }
5186 if ${ac_cv_host+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 if test "x$host_alias" = x; then
5190 ac_cv_host=$ac_cv_build
5192 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5193 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5198 $as_echo "$ac_cv_host" >&6; }
5201 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5204 ac_save_IFS=$IFS; IFS='-'
5210 # Remember, the first character of IFS is used to create $*,
5211 # except with old shells:
5214 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5217 # Backslashify metacharacters that are still active within
5218 # double-quoted strings.
5219 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5221 # Same as above, but do not quote variable references.
5222 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5224 # Sed substitution to delay expansion of an escaped shell variable in a
5225 # double_quote_subst'ed string.
5226 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5228 # Sed substitution to delay expansion of an escaped single quote.
5229 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5231 # Sed substitution to avoid accidental globbing in evaled expressions
5232 no_glob_subst='s/\*/\\\*/g'
5234 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5235 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5236 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5239 $as_echo_n "checking how to print strings... " >&6; }
5240 # Test print first, because it will be a builtin if present.
5241 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5242 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5244 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5247 # Use this function as a fallback that always works.
5248 func_fallback_echo ()
5250 eval 'cat <<_LTECHO_EOF
5254 ECHO='func_fallback_echo'
5257 # func_echo_all arg...
5258 # Invoke $ECHO with all args, space-separated.
5265 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5266 $as_echo "printf" >&6; } ;;
5267 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5268 $as_echo "print -r" >&6; } ;;
5269 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5270 $as_echo "cat" >&6; } ;;
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5287 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5288 if ${ac_cv_path_SED+:} false; then :
5289 $as_echo_n "(cached) " >&6
5291 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5292 for ac_i in 1 2 3 4 5 6 7; do
5293 ac_script="$ac_script$as_nl$ac_script"
5295 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5296 { ac_script=; unset ac_script;}
5297 if test -z "$SED"; then
5298 ac_path_SED_found=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir=.
5305 for ac_prog in sed gsed; do
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p "$ac_path_SED" || continue
5309 # Check for GNU ac_path_SED and select it if it is found.
5310 # Check for GNU $ac_path_SED
5311 case `"$ac_path_SED" --version 2>&1` in
5313 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5316 $as_echo_n 0123456789 >"conftest.in"
5319 cat "conftest.in" "conftest.in" >"conftest.tmp"
5320 mv "conftest.tmp" "conftest.in"
5321 cp "conftest.in" "conftest.nl"
5322 $as_echo '' >> "conftest.nl"
5323 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5325 as_fn_arith $ac_count + 1 && ac_count=$as_val
5326 if test $ac_count -gt ${ac_path_SED_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_SED="$ac_path_SED"
5329 ac_path_SED_max=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5337 $ac_path_SED_found && break 3
5342 if test -z "$ac_cv_path_SED"; then
5343 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5351 $as_echo "$ac_cv_path_SED" >&6; }
5352 SED="$ac_cv_path_SED"
5355 test -z "$SED" && SED=sed
5356 Xsed="$SED -e 1s/^X//"
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5369 $as_echo_n "checking for fgrep... " >&6; }
5370 if ${ac_cv_path_FGREP+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5374 then ac_cv_path_FGREP="$GREP -F"
5376 if test -z "$FGREP"; then
5377 ac_path_FGREP_found=false
5378 # Loop through the user's path and test for each of PROGNAME-LIST
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5383 test -z "$as_dir" && as_dir=.
5384 for ac_prog in fgrep; do
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5387 as_fn_executable_p "$ac_path_FGREP" || continue
5388 # Check for GNU ac_path_FGREP and select it if it is found.
5389 # Check for GNU $ac_path_FGREP
5390 case `"$ac_path_FGREP" --version 2>&1` in
5392 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5395 $as_echo_n 0123456789 >"conftest.in"
5398 cat "conftest.in" "conftest.in" >"conftest.tmp"
5399 mv "conftest.tmp" "conftest.in"
5400 cp "conftest.in" "conftest.nl"
5401 $as_echo 'FGREP' >> "conftest.nl"
5402 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5404 as_fn_arith $ac_count + 1 && ac_count=$as_val
5405 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5406 # Best one so far, save it but keep looking for a better one
5407 ac_cv_path_FGREP="$ac_path_FGREP"
5408 ac_path_FGREP_max=$ac_count
5410 # 10*(2^10) chars as input seems more than enough
5411 test $ac_count -gt 10 && break
5413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5416 $ac_path_FGREP_found && break 3
5421 if test -z "$ac_cv_path_FGREP"; then
5422 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5425 ac_cv_path_FGREP=$FGREP
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5431 $as_echo "$ac_cv_path_FGREP" >&6; }
5432 FGREP="$ac_cv_path_FGREP"
5435 test -z "$GREP" && GREP=grep
5455 # Check whether --with-gnu-ld was given.
5456 if test "${with_gnu_ld+set}" = set; then :
5457 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5463 if test "$GCC" = yes; then
5464 # Check if gcc -print-prog-name=ld gives a path.
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5466 $as_echo_n "checking for ld used by $CC... " >&6; }
5469 # gcc leaves a trailing carriage return which upsets mingw
5470 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5472 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5475 # Accept absolute paths.
5477 re_direlt='/[^/][^/]*/\.\./'
5478 # Canonicalize the pathname of ld
5479 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5480 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5481 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5483 test -z "$LD" && LD="$ac_prog"
5486 # If it fails, then pretend we aren't using GCC.
5490 # If it is relative, then search for the first ld in PATH.
5494 elif test "$with_gnu_ld" = yes; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5496 $as_echo_n "checking for GNU ld... " >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5499 $as_echo_n "checking for non-GNU ld... " >&6; }
5501 if ${lt_cv_path_LD+:} false; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -z "$LD"; then
5505 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5506 for ac_dir in $PATH; do
5508 test -z "$ac_dir" && ac_dir=.
5509 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5510 lt_cv_path_LD="$ac_dir/$ac_prog"
5511 # Check to see if the program is GNU ld. I'd rather use --version,
5512 # but apparently some variants of GNU ld only accept -v.
5513 # Break only if it was the GNU/non-GNU ld that we prefer.
5514 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5515 *GNU* | *'with BFD'*)
5516 test "$with_gnu_ld" != no && break
5519 test "$with_gnu_ld" != yes && break
5526 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5531 if test -n "$LD"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5533 $as_echo "$LD" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5538 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5540 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5541 if ${lt_cv_prog_gnu_ld+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5545 case `$LD -v 2>&1 </dev/null` in
5546 *GNU* | *'with BFD'*)
5547 lt_cv_prog_gnu_ld=yes
5550 lt_cv_prog_gnu_ld=no
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5555 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5556 with_gnu_ld=$lt_cv_prog_gnu_ld
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5567 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5568 if ${lt_cv_path_NM+:} false; then :
5569 $as_echo_n "(cached) " >&6
5571 if test -n "$NM"; then
5572 # Let the user override the test.
5575 lt_nm_to_check="${ac_tool_prefix}nm"
5576 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5577 lt_nm_to_check="$lt_nm_to_check nm"
5579 for lt_tmp_nm in $lt_nm_to_check; do
5580 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5581 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5583 test -z "$ac_dir" && ac_dir=.
5584 tmp_nm="$ac_dir/$lt_tmp_nm"
5585 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5586 # Check to see if the nm accepts a BSD-compat flag.
5587 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5588 # nm: unknown option "B" ignored
5589 # Tru64's nm complains that /dev/null is an invalid object file
5590 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5591 */dev/null* | *'Invalid file or object type'*)
5592 lt_cv_path_NM="$tmp_nm -B"
5596 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5598 lt_cv_path_NM="$tmp_nm -p"
5602 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5603 continue # so that we can try to find one that supports BSD flags
5612 : ${lt_cv_path_NM=no}
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5616 $as_echo "$lt_cv_path_NM" >&6; }
5617 if test "$lt_cv_path_NM" != "no"; then
5620 # Didn't find any BSD compatible name lister, look for dumpbin.
5621 if test -n "$DUMPBIN"; then :
5622 # Let the user override the test.
5624 if test -n "$ac_tool_prefix"; then
5625 for ac_prog in dumpbin "link -dump"
5627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_DUMPBIN+:} false; then :
5632 $as_echo_n "(cached) " >&6
5634 if test -n "$DUMPBIN"; then
5635 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 DUMPBIN=$ac_cv_prog_DUMPBIN
5655 if test -n "$DUMPBIN"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5657 $as_echo "$DUMPBIN" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 test -n "$DUMPBIN" && break
5667 if test -z "$DUMPBIN"; then
5668 ac_ct_DUMPBIN=$DUMPBIN
5669 for ac_prog in dumpbin "link -dump"
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$ac_ct_DUMPBIN"; then
5679 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5699 if test -n "$ac_ct_DUMPBIN"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5701 $as_echo "$ac_ct_DUMPBIN" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$ac_ct_DUMPBIN" && break
5711 if test "x$ac_ct_DUMPBIN" = x; then
5714 case $cross_compiling:$ac_tool_warned in
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5718 ac_tool_warned=yes ;;
5720 DUMPBIN=$ac_ct_DUMPBIN
5724 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5726 DUMPBIN="$DUMPBIN -symbols"
5734 if test "$DUMPBIN" != ":"; then
5738 test -z "$NM" && NM=nm
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5746 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5747 if ${lt_cv_nm_interface+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 lt_cv_nm_interface="BSD nm"
5751 echo "int some_variable = 0;" > conftest.$ac_ext
5752 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5753 (eval "$ac_compile" 2>conftest.err)
5754 cat conftest.err >&5
5755 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5756 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5757 cat conftest.err >&5
5758 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5759 cat conftest.out >&5
5760 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5761 lt_cv_nm_interface="MS dumpbin"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5766 $as_echo "$lt_cv_nm_interface" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5769 $as_echo_n "checking whether ln -s works... " >&6; }
5771 if test "$LN_S" = "ln -s"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5773 $as_echo "yes" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5776 $as_echo "no, using $LN_S" >&6; }
5779 # find the maximum length of command line arguments
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5781 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5782 if ${lt_cv_sys_max_cmd_len+:} false; then :
5783 $as_echo_n "(cached) " >&6
5790 # On DJGPP, this test can blow up pretty badly due to problems in libc
5791 # (any single argument exceeding 2000 bytes causes a buffer overrun
5792 # during glob expansion). Even if it were fixed, the result of this
5793 # check would be larger than it should be.
5794 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5798 # Under GNU Hurd, this test is not required because there is
5799 # no limit to the length of command line arguments.
5800 # Libtool will interpret -1 as no limit whatsoever
5801 lt_cv_sys_max_cmd_len=-1;
5804 cygwin* | mingw* | cegcc*)
5805 # On Win9x/ME, this test blows up -- it succeeds, but takes
5806 # about 5 minutes as the teststring grows exponentially.
5807 # Worse, since 9x/ME are not pre-emptively multitasking,
5808 # you end up with a "frozen" computer, even though with patience
5809 # the test eventually succeeds (with a max line length of 256k).
5810 # Instead, let's just punt: use the minimum linelength reported by
5811 # all of the supported platforms: 8192 (on NT/2K/XP).
5812 lt_cv_sys_max_cmd_len=8192;
5816 # On MiNT this can take a long time and run out of memory.
5817 lt_cv_sys_max_cmd_len=8192;
5821 # On AmigaOS with pdksh, this test takes hours, literally.
5822 # So we just punt and use a minimum line length of 8192.
5823 lt_cv_sys_max_cmd_len=8192;
5826 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5827 # This has been around since 386BSD, at least. Likely further.
5828 if test -x /sbin/sysctl; then
5829 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5830 elif test -x /usr/sbin/sysctl; then
5831 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5833 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5835 # And add a safety zone
5836 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5837 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5841 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5842 lt_cv_sys_max_cmd_len=196608
5846 # The test takes a long time on OS/2.
5847 lt_cv_sys_max_cmd_len=8192
5851 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5852 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5853 # nice to cause kernel panics so lets avoid the loop below.
5854 # First set a reasonable default.
5855 lt_cv_sys_max_cmd_len=16384
5857 if test -x /sbin/sysconfig; then
5858 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5859 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5864 lt_cv_sys_max_cmd_len=102400
5866 sysv5* | sco5v6* | sysv4.2uw2*)
5867 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5868 if test -n "$kargmax"; then
5869 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5871 lt_cv_sys_max_cmd_len=32768
5875 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5876 if test -n "$lt_cv_sys_max_cmd_len" && \
5877 test undefined != "$lt_cv_sys_max_cmd_len"; then
5878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5879 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5881 # Make teststring a little bigger before we do anything with it.
5882 # a 1K string should be a reasonable start.
5883 for i in 1 2 3 4 5 6 7 8 ; do
5884 teststring=$teststring$teststring
5886 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5887 # If test is not a shell built-in, we'll probably end up computing a
5888 # maximum length that is only half of the actual maximum length, but
5890 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5891 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5892 test $i != 17 # 1/2 MB should be enough
5895 teststring=$teststring$teststring
5897 # Only check the string length outside the loop.
5898 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5900 # Add a significant safety factor because C++ compilers can tack on
5901 # massive amounts of additional arguments before passing them to the
5902 # linker. It appears as though 1/2 is a usable value.
5903 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5910 if test -n $lt_cv_sys_max_cmd_len ; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5912 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5915 $as_echo "none" >&6; }
5917 max_cmd_len=$lt_cv_sys_max_cmd_len
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5929 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5930 # Try some XSI features
5933 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5935 && eval 'test $(( 1 + 1 )) -eq 2 \
5936 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5939 $as_echo "$xsi_shell" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5943 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5945 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5947 && lt_shell_append=yes
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5949 $as_echo "$lt_shell_append" >&6; }
5952 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5962 # test EBCDIC or ASCII
5963 case `echo X|tr X '\101'` in
5964 A) # ASCII based system
5965 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5966 lt_SP2NL='tr \040 \012'
5967 lt_NL2SP='tr \015\012 \040\040'
5969 *) # EBCDIC based system
5970 lt_SP2NL='tr \100 \n'
5971 lt_NL2SP='tr \r\n \100\100'
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5984 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5985 if ${lt_cv_to_host_file_cmd+:} false; then :
5986 $as_echo_n "(cached) " >&6
5991 *-*-mingw* ) # actually msys
5992 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5995 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5997 * ) # otherwise, assume *nix
5998 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6004 *-*-mingw* ) # actually msys
6005 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6008 lt_cv_to_host_file_cmd=func_convert_file_noop
6010 * ) # otherwise, assume *nix
6011 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6015 * ) # unhandled hosts (and "normal" native builds)
6016 lt_cv_to_host_file_cmd=func_convert_file_noop
6022 to_host_file_cmd=$lt_cv_to_host_file_cmd
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6024 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6031 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6032 if ${lt_cv_to_tool_file_cmd+:} false; then :
6033 $as_echo_n "(cached) " >&6
6035 #assume ordinary cross tools, or native build.
6036 lt_cv_to_tool_file_cmd=func_convert_file_noop
6040 *-*-mingw* ) # actually msys
6041 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6049 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6051 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6058 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6059 if ${lt_cv_ld_reload_flag+:} false; then :
6060 $as_echo_n "(cached) " >&6
6062 lt_cv_ld_reload_flag='-r'
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6065 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6066 reload_flag=$lt_cv_ld_reload_flag
6067 case $reload_flag in
6069 *) reload_flag=" $reload_flag" ;;
6071 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6073 cygwin* | mingw* | pw32* | cegcc*)
6074 if test "$GCC" != yes; then
6079 if test "$GCC" = yes; then
6080 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_OBJDUMP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6103 if test -n "$OBJDUMP"; then
6104 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 OBJDUMP=$ac_cv_prog_OBJDUMP
6124 if test -n "$OBJDUMP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6126 $as_echo "$OBJDUMP" >&6; }
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if test -z "$ac_cv_prog_OBJDUMP"; then
6135 ac_ct_OBJDUMP=$OBJDUMP
6136 # Extract the first word of "objdump", so it can be a program name with args.
6137 set dummy objdump; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6141 $as_echo_n "(cached) " >&6
6143 if test -n "$ac_ct_OBJDUMP"; then
6144 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6164 if test -n "$ac_ct_OBJDUMP"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6166 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6172 if test "x$ac_ct_OBJDUMP" = x; then
6175 case $cross_compiling:$ac_tool_warned in
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6179 ac_tool_warned=yes ;;
6181 OBJDUMP=$ac_ct_OBJDUMP
6184 OBJDUMP="$ac_cv_prog_OBJDUMP"
6187 test -z "$OBJDUMP" && OBJDUMP=objdump
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6198 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6199 if ${lt_cv_deplibs_check_method+:} false; then :
6200 $as_echo_n "(cached) " >&6
6202 lt_cv_file_magic_cmd='$MAGIC_CMD'
6203 lt_cv_file_magic_test_file=
6204 lt_cv_deplibs_check_method='unknown'
6205 # Need to set the preceding variable on all platforms that support
6206 # interlibrary dependencies.
6207 # 'none' -- dependencies not supported.
6208 # `unknown' -- same as none, but documents that we really don't know.
6209 # 'pass_all' -- all dependencies passed with no checks.
6210 # 'test_compile' -- check by making test program.
6211 # 'file_magic [[regex]]' -- check by looking for files in library path
6212 # which responds to the $file_magic_cmd with a given extended regex.
6213 # If you have `file' or equivalent on your system and you're not sure
6214 # whether `pass_all' will *always* work, you probably want this one.
6218 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method=pass_all
6226 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6227 lt_cv_file_magic_cmd='/usr/bin/file -L'
6228 lt_cv_file_magic_test_file=/shlib/libc.so
6232 # func_win32_libid is a shell function defined in ltmain.sh
6233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6234 lt_cv_file_magic_cmd='func_win32_libid'
6238 # Base MSYS/MinGW do not provide the 'file' command needed by
6239 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6240 # unless we find 'file', for example because we are cross-compiling.
6241 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6242 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6243 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6244 lt_cv_file_magic_cmd='func_win32_libid'
6246 # Keep this pattern in sync with the one in func_win32_libid.
6247 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6274 lt_cv_deplibs_check_method=pass_all
6279 lt_cv_deplibs_check_method=pass_all
6282 hpux10.20* | hpux11*)
6283 lt_cv_file_magic_cmd=/usr/bin/file
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6287 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6290 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]'
6291 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6294 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6295 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6301 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6302 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6305 irix5* | irix6* | nonstopux*)
6307 *-32|*"-32 ") libmagic=32-bit;;
6308 *-n32|*"-n32 ") libmagic=N32;;
6309 *-64|*"-64 ") libmagic=64-bit;;
6310 *) libmagic=never-match;;
6312 lt_cv_deplibs_check_method=pass_all
6315 # This must be glibc/ELF.
6316 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6317 lt_cv_deplibs_check_method=pass_all
6320 netbsd* | netbsdelf*-gnu)
6321 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6322 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6324 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6330 lt_cv_file_magic_cmd=/usr/bin/file
6331 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6335 lt_cv_deplibs_check_method=pass_all
6339 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6346 osf3* | osf4* | osf5*)
6347 lt_cv_deplibs_check_method=pass_all
6351 lt_cv_deplibs_check_method=pass_all
6355 lt_cv_deplibs_check_method=pass_all
6358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6359 lt_cv_deplibs_check_method=pass_all
6363 case $host_vendor in
6365 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]'
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6369 lt_cv_deplibs_check_method=pass_all
6372 lt_cv_file_magic_cmd='/bin/file'
6373 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6378 lt_cv_file_magic_test_file=/lib/libc.so
6381 lt_cv_deplibs_check_method=pass_all
6384 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6396 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6400 if test "$build" = "$host"; then
6403 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6406 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6412 file_magic_cmd=$lt_cv_file_magic_cmd
6413 deplibs_check_method=$lt_cv_deplibs_check_method
6414 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6437 if test -n "$ac_tool_prefix"; then
6438 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6439 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if ${ac_cv_prog_DLLTOOL+:} false; then :
6443 $as_echo_n "(cached) " >&6
6445 if test -n "$DLLTOOL"; then
6446 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 DLLTOOL=$ac_cv_prog_DLLTOOL
6466 if test -n "$DLLTOOL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6468 $as_echo "$DLLTOOL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6476 if test -z "$ac_cv_prog_DLLTOOL"; then
6477 ac_ct_DLLTOOL=$DLLTOOL
6478 # Extract the first word of "dlltool", so it can be a program name with args.
6479 set dummy dlltool; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6483 $as_echo_n "(cached) " >&6
6485 if test -n "$ac_ct_DLLTOOL"; then
6486 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6506 if test -n "$ac_ct_DLLTOOL"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6508 $as_echo "$ac_ct_DLLTOOL" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6514 if test "x$ac_ct_DLLTOOL" = x; then
6517 case $cross_compiling:$ac_tool_warned in
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6521 ac_tool_warned=yes ;;
6523 DLLTOOL=$ac_ct_DLLTOOL
6526 DLLTOOL="$ac_cv_prog_DLLTOOL"
6529 test -z "$DLLTOOL" && DLLTOOL=dlltool
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6541 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6542 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6543 $as_echo_n "(cached) " >&6
6545 lt_cv_sharedlib_from_linklib_cmd='unknown'
6548 cygwin* | mingw* | pw32* | cegcc*)
6549 # two different shell functions defined in ltmain.sh
6550 # decide which to use based on capabilities of $DLLTOOL
6551 case `$DLLTOOL --help 2>&1` in
6552 *--identify-strict*)
6553 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6556 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6561 # fallback: assume linklib IS sharedlib
6562 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6568 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6569 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6570 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6578 if test -n "$ac_tool_prefix"; then
6581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6584 $as_echo_n "checking for $ac_word... " >&6; }
6585 if ${ac_cv_prog_AR+:} false; then :
6586 $as_echo_n "(cached) " >&6
6588 if test -n "$AR"; then
6589 ac_cv_prog_AR="$AR" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 if test -n "$AR"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6611 $as_echo "$AR" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6618 test -n "$AR" && break
6621 if test -z "$AR"; then
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy $ac_prog; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$ac_ct_AR"; then
6633 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_ac_ct_AR="$ac_prog"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6653 if test -n "$ac_ct_AR"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6655 $as_echo "$ac_ct_AR" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6662 test -n "$ac_ct_AR" && break
6665 if test "x$ac_ct_AR" = x; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672 ac_tool_warned=yes ;;
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6692 $as_echo_n "checking for archiver @FILE support... " >&6; }
6693 if ${lt_cv_ar_at_file+:} false; then :
6694 $as_echo_n "(cached) " >&6
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6708 if ac_fn_c_try_compile "$LINENO"; then :
6709 echo conftest.$ac_objext > conftest.lst
6710 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6711 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6712 (eval $lt_ar_try) 2>&5
6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 test $ac_status = 0; }
6716 if test "$ac_status" -eq 0; then
6717 # Ensure the archiver fails upon bogus file names.
6718 rm -f conftest.$ac_objext libconftest.a
6719 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6720 (eval $lt_ar_try) 2>&5
6722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723 test $ac_status = 0; }
6724 if test "$ac_status" -ne 0; then
6728 rm -f conftest.* libconftest.a
6731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6735 $as_echo "$lt_cv_ar_at_file" >&6; }
6737 if test "x$lt_cv_ar_at_file" = xno; then
6740 archiver_list_spec=$lt_cv_ar_at_file
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6751 set dummy ${ac_tool_prefix}strip; ac_word=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if ${ac_cv_prog_STRIP+:} false; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$STRIP"; then
6758 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 STRIP=$ac_cv_prog_STRIP
6778 if test -n "$STRIP"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6780 $as_echo "$STRIP" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6788 if test -z "$ac_cv_prog_STRIP"; then
6790 # Extract the first word of "strip", so it can be a program name with args.
6791 set dummy strip; ac_word=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 $as_echo_n "checking for $ac_word... " >&6; }
6794 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6795 $as_echo_n "(cached) " >&6
6797 if test -n "$ac_ct_STRIP"; then
6798 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_ac_ct_STRIP="strip"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6818 if test -n "$ac_ct_STRIP"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6820 $as_echo "$ac_ct_STRIP" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6826 if test "x$ac_ct_STRIP" = x; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6833 ac_tool_warned=yes ;;
6838 STRIP="$ac_cv_prog_STRIP"
6841 test -z "$STRIP" && STRIP=:
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6850 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if ${ac_cv_prog_RANLIB+:} false; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$RANLIB"; then
6857 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6866 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 RANLIB=$ac_cv_prog_RANLIB
6877 if test -n "$RANLIB"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6879 $as_echo "$RANLIB" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6887 if test -z "$ac_cv_prog_RANLIB"; then
6888 ac_ct_RANLIB=$RANLIB
6889 # Extract the first word of "ranlib", so it can be a program name with args.
6890 set dummy ranlib; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6894 $as_echo_n "(cached) " >&6
6896 if test -n "$ac_ct_RANLIB"; then
6897 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6906 ac_cv_prog_ac_ct_RANLIB="ranlib"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6917 if test -n "$ac_ct_RANLIB"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6919 $as_echo "$ac_ct_RANLIB" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6925 if test "x$ac_ct_RANLIB" = x; then
6928 case $cross_compiling:$ac_tool_warned in
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6932 ac_tool_warned=yes ;;
6934 RANLIB=$ac_ct_RANLIB
6937 RANLIB="$ac_cv_prog_RANLIB"
6940 test -z "$RANLIB" && RANLIB=:
6947 # Determine commands to create old-style static archives.
6948 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6949 old_postinstall_cmds='chmod 644 $oldlib'
6950 old_postuninstall_cmds=
6952 if test -n "$RANLIB"; then
6955 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6958 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6961 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6966 lock_old_archive_extraction=yes ;;
6968 lock_old_archive_extraction=no ;;
7009 # If no C compiler was specified, use CC.
7012 # If no C compiler flags were specified, use CFLAGS.
7013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7015 # Allow CC to be a program name with arguments.
7019 # Check for command to grab the raw symbol name followed by C symbol from nm.
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7021 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7022 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7023 $as_echo_n "(cached) " >&6
7026 # These are sane defaults that work on at least a few old systems.
7027 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7029 # Character class describing NM global symbol codes.
7030 symcode='[BCDEGRST]'
7032 # Regexp to match symbols that can be accessed directly from C.
7033 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7035 # Define system-specific variables.
7040 cygwin* | mingw* | pw32* | cegcc*)
7041 symcode='[ABCDGISTW]'
7044 if test "$host_cpu" = ia64; then
7045 symcode='[ABCDEGRST]'
7049 symcode='[BCDEGRST]'
7052 symcode='[BCDEGQRST]'
7063 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7071 # If we're using GNU nm, then use its standard symbol codes.
7072 case `$NM -V 2>&1` in
7073 *GNU* | *'with BFD'*)
7074 symcode='[ABCDGIRSTW]' ;;
7077 # Transform an extracted symbol line into a proper C declaration.
7078 # Some systems (esp. on ia64) link data and code symbols differently,
7079 # so use this general approach.
7080 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7082 # Transform an extracted symbol line into symbol name and symbol address
7083 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7084 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'"
7086 # Handle CRLF in mingw tool chain
7090 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7094 # Try without a prefix underscore, then with it.
7095 for ac_symprfx in "" "_"; do
7097 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7098 symxfrm="\\1 $ac_symprfx\\2 \\2"
7100 # Write the raw and C identifiers.
7101 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7102 # Fake it for dumpbin and say T for any non-static function
7103 # and D for any global variable.
7104 # Also find C++ and __fastcall symbols from MSVC++,
7105 # which start with @ or ?.
7106 lt_cv_sys_global_symbol_pipe="$AWK '"\
7107 " {last_section=section; section=\$ 3};"\
7108 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7109 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7110 " \$ 0!~/External *\|/{next};"\
7111 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7112 " {if(hide[section]) next};"\
7113 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7114 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7115 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7116 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7117 " ' prfx=^$ac_symprfx"
7119 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7121 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7123 # Check to see that the pipe works correctly.
7127 cat > conftest.$ac_ext <<_LT_EOF
7132 void nm_test_func(void);
7133 void nm_test_func(void){}
7137 int main(){nm_test_var='a';nm_test_func();return(0);}
7140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7141 (eval $ac_compile) 2>&5
7143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144 test $ac_status = 0; }; then
7145 # Now try to grab the symbols.
7147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7148 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151 test $ac_status = 0; } && test -s "$nlist"; then
7152 # Try sorting and uniquifying the output.
7153 if sort "$nlist" | uniq > "$nlist"T; then
7154 mv -f "$nlist"T "$nlist"
7159 # Make sure that we snagged all the symbols we need.
7160 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7161 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7162 cat <<_LT_EOF > conftest.$ac_ext
7163 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7164 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7165 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7166 relocations are performed -- see ld's documentation on pseudo-relocs. */
7167 # define LT_DLSYM_CONST
7168 #elif defined(__osf__)
7169 /* This system does not cope well with relocations in const data. */
7170 # define LT_DLSYM_CONST
7172 # define LT_DLSYM_CONST const
7180 # Now generate the symbol file.
7181 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7183 cat <<_LT_EOF >> conftest.$ac_ext
7185 /* The mapping between symbol names and symbols. */
7186 LT_DLSYM_CONST struct {
7190 lt__PROGRAM__LTX_preloaded_symbols[] =
7192 { "@PROGRAM@", (void *) 0 },
7194 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7195 cat <<\_LT_EOF >> conftest.$ac_ext
7199 /* This works around a problem in FreeBSD linker */
7200 #ifdef FREEBSD_WORKAROUND
7201 static const void *lt_preloaded_setup() {
7202 return lt__PROGRAM__LTX_preloaded_symbols;
7210 # Now try linking the two files.
7211 mv conftest.$ac_objext conftstm.$ac_objext
7212 lt_globsym_save_LIBS=$LIBS
7213 lt_globsym_save_CFLAGS=$CFLAGS
7214 LIBS="conftstm.$ac_objext"
7215 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7217 (eval $ac_link) 2>&5
7219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7223 LIBS=$lt_globsym_save_LIBS
7224 CFLAGS=$lt_globsym_save_CFLAGS
7226 echo "cannot find nm_test_func in $nlist" >&5
7229 echo "cannot find nm_test_var in $nlist" >&5
7232 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7235 echo "$progname: failed program was:" >&5
7236 cat conftest.$ac_ext >&5
7238 rm -rf conftest* conftst*
7240 # Do not use the global_symbol_pipe unless it works.
7241 if test "$pipe_works" = yes; then
7244 lt_cv_sys_global_symbol_pipe=
7250 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7251 lt_cv_sys_global_symbol_to_cdecl=
7253 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7255 $as_echo "failed" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7258 $as_echo "ok" >&6; }
7261 # Response file support.
7262 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7263 nm_file_list_spec='@'
7264 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7265 nm_file_list_spec='@'
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7295 $as_echo_n "checking for sysroot... " >&6; }
7297 # Check whether --with-sysroot was given.
7298 if test "${with_sysroot+set}" = set; then :
7299 withval=$with_sysroot;
7306 case ${with_sysroot} in #(
7308 if test "$GCC" = yes; then
7309 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7313 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7319 $as_echo "${with_sysroot}" >&6; }
7320 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7325 $as_echo "${lt_sysroot:-no}" >&6; }
7331 # Check whether --enable-libtool-lock was given.
7332 if test "${enable_libtool_lock+set}" = set; then :
7333 enableval=$enable_libtool_lock;
7336 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7338 # Some flags need to be propagated to the compiler or linker for good
7342 # Find out which ABI we are using.
7343 echo 'int i;' > conftest.$ac_ext
7344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7345 (eval $ac_compile) 2>&5
7347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7348 test $ac_status = 0; }; then
7349 case `/usr/bin/file conftest.$ac_objext` in
7361 # Find out which ABI we are using.
7362 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7364 (eval $ac_compile) 2>&5
7366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7367 test $ac_status = 0; }; then
7368 if test "$lt_cv_prog_gnu_ld" = yes; then
7369 case `/usr/bin/file conftest.$ac_objext` in
7371 LD="${LD-ld} -melf32bsmip"
7374 LD="${LD-ld} -melf32bmipn32"
7377 LD="${LD-ld} -melf64bmip"
7381 case `/usr/bin/file conftest.$ac_objext` in
7397 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7398 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7399 # Find out which ABI we are using.
7400 echo 'int i;' > conftest.$ac_ext
7401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402 (eval $ac_compile) 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 case `/usr/bin/file conftest.o` in
7409 x86_64-*kfreebsd*-gnu)
7410 LD="${LD-ld} -m elf_i386_fbsd"
7413 case `/usr/bin/file conftest.o` in
7415 LD="${LD-ld} -m elf32_x86_64"
7418 LD="${LD-ld} -m elf_i386"
7422 ppc64-*linux*|powerpc64-*linux*)
7423 LD="${LD-ld} -m elf32ppclinux"
7426 LD="${LD-ld} -m elf_s390"
7429 LD="${LD-ld} -m elf32_sparc"
7435 x86_64-*kfreebsd*-gnu)
7436 LD="${LD-ld} -m elf_x86_64_fbsd"
7439 LD="${LD-ld} -m elf_x86_64"
7441 ppc*-*linux*|powerpc*-*linux*)
7442 LD="${LD-ld} -m elf64ppc"
7444 s390*-*linux*|s390*-*tpf*)
7445 LD="${LD-ld} -m elf64_s390"
7448 LD="${LD-ld} -m elf64_sparc"
7458 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7459 SAVE_CFLAGS="$CFLAGS"
7460 CFLAGS="$CFLAGS -belf"
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7462 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7463 if ${lt_cv_cc_needs_belf+:} false; then :
7464 $as_echo_n "(cached) " >&6
7467 ac_cpp='$CPP $CPPFLAGS'
7468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7483 if ac_fn_c_try_link "$LINENO"; then :
7484 lt_cv_cc_needs_belf=yes
7486 lt_cv_cc_needs_belf=no
7488 rm -f core conftest.err conftest.$ac_objext \
7489 conftest$ac_exeext conftest.$ac_ext
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7498 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7499 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7500 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7501 CFLAGS="$SAVE_CFLAGS"
7505 # Find out which ABI we are using.
7506 echo 'int i;' > conftest.$ac_ext
7507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7508 (eval $ac_compile) 2>&5
7510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7511 test $ac_status = 0; }; then
7512 case `/usr/bin/file conftest.o` in
7514 case $lt_cv_prog_gnu_ld in
7518 LD="${LD-ld} -m elf_x86_64"
7521 LD="${LD-ld} -m elf64_sparc"
7524 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7525 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7530 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7542 need_locks="$enable_libtool_lock"
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}mt; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$MANIFEST_TOOL"; then
7553 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7573 if test -n "$MANIFEST_TOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7575 $as_echo "$MANIFEST_TOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7584 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7585 # Extract the first word of "mt", so it can be a program name with args.
7586 set dummy mt; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$ac_ct_MANIFEST_TOOL"; then
7593 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7613 if test -n "$ac_ct_MANIFEST_TOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7615 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7630 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7633 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7636 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7638 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7639 if ${lt_cv_path_mainfest_tool+:} false; then :
7640 $as_echo_n "(cached) " >&6
7642 lt_cv_path_mainfest_tool=no
7643 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7644 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7645 cat conftest.err >&5
7646 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7647 lt_cv_path_mainfest_tool=yes
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7652 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7653 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7663 rhapsody* | darwin*)
7664 if test -n "$ac_tool_prefix"; then
7665 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7666 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7670 $as_echo_n "(cached) " >&6
7672 if test -n "$DSYMUTIL"; then
7673 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7693 if test -n "$DSYMUTIL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7695 $as_echo "$DSYMUTIL" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7703 if test -z "$ac_cv_prog_DSYMUTIL"; then
7704 ac_ct_DSYMUTIL=$DSYMUTIL
7705 # Extract the first word of "dsymutil", so it can be a program name with args.
7706 set dummy dsymutil; ac_word=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7710 $as_echo_n "(cached) " >&6
7712 if test -n "$ac_ct_DSYMUTIL"; then
7713 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7733 if test -n "$ac_ct_DSYMUTIL"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7735 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7741 if test "x$ac_ct_DSYMUTIL" = x; then
7744 case $cross_compiling:$ac_tool_warned in
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7748 ac_tool_warned=yes ;;
7750 DSYMUTIL=$ac_ct_DSYMUTIL
7753 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7756 if test -n "$ac_tool_prefix"; then
7757 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7758 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_NMEDIT+:} false; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$NMEDIT"; then
7765 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 NMEDIT=$ac_cv_prog_NMEDIT
7785 if test -n "$NMEDIT"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7787 $as_echo "$NMEDIT" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7795 if test -z "$ac_cv_prog_NMEDIT"; then
7796 ac_ct_NMEDIT=$NMEDIT
7797 # Extract the first word of "nmedit", so it can be a program name with args.
7798 set dummy nmedit; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7802 $as_echo_n "(cached) " >&6
7804 if test -n "$ac_ct_NMEDIT"; then
7805 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7825 if test -n "$ac_ct_NMEDIT"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7827 $as_echo "$ac_ct_NMEDIT" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7833 if test "x$ac_ct_NMEDIT" = x; then
7836 case $cross_compiling:$ac_tool_warned in
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7840 ac_tool_warned=yes ;;
7842 NMEDIT=$ac_ct_NMEDIT
7845 NMEDIT="$ac_cv_prog_NMEDIT"
7848 if test -n "$ac_tool_prefix"; then
7849 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7850 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_LIPO+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 if test -n "$LIPO"; then
7857 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 LIPO=$ac_cv_prog_LIPO
7877 if test -n "$LIPO"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7879 $as_echo "$LIPO" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7887 if test -z "$ac_cv_prog_LIPO"; then
7889 # Extract the first word of "lipo", so it can be a program name with args.
7890 set dummy lipo; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7894 $as_echo_n "(cached) " >&6
7896 if test -n "$ac_ct_LIPO"; then
7897 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_ac_ct_LIPO="lipo"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7917 if test -n "$ac_ct_LIPO"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7919 $as_echo "$ac_ct_LIPO" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7925 if test "x$ac_ct_LIPO" = x; then
7928 case $cross_compiling:$ac_tool_warned in
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7932 ac_tool_warned=yes ;;
7937 LIPO="$ac_cv_prog_LIPO"
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7942 set dummy ${ac_tool_prefix}otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_OTOOL+:} false; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$OTOOL"; then
7949 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 OTOOL=$ac_cv_prog_OTOOL
7969 if test -n "$OTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7971 $as_echo "$OTOOL" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7979 if test -z "$ac_cv_prog_OTOOL"; then
7981 # Extract the first word of "otool", so it can be a program name with args.
7982 set dummy otool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$ac_ct_OTOOL"; then
7989 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_OTOOL="otool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8009 if test -n "$ac_ct_OTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8011 $as_echo "$ac_ct_OTOOL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8017 if test "x$ac_ct_OTOOL" = x; then
8020 case $cross_compiling:$ac_tool_warned in
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8024 ac_tool_warned=yes ;;
8029 OTOOL="$ac_cv_prog_OTOOL"
8032 if test -n "$ac_tool_prefix"; then
8033 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8034 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_OTOOL64+:} false; then :
8038 $as_echo_n "(cached) " >&6
8040 if test -n "$OTOOL64"; then
8041 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 OTOOL64=$ac_cv_prog_OTOOL64
8061 if test -n "$OTOOL64"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8063 $as_echo "$OTOOL64" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8071 if test -z "$ac_cv_prog_OTOOL64"; then
8072 ac_ct_OTOOL64=$OTOOL64
8073 # Extract the first word of "otool64", so it can be a program name with args.
8074 set dummy otool64; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8078 $as_echo_n "(cached) " >&6
8080 if test -n "$ac_ct_OTOOL64"; then
8081 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_ac_ct_OTOOL64="otool64"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8101 if test -n "$ac_ct_OTOOL64"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8103 $as_echo "$ac_ct_OTOOL64" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8109 if test "x$ac_ct_OTOOL64" = x; then
8112 case $cross_compiling:$ac_tool_warned in
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8116 ac_tool_warned=yes ;;
8118 OTOOL64=$ac_ct_OTOOL64
8121 OTOOL64="$ac_cv_prog_OTOOL64"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8151 $as_echo_n "checking for -single_module linker flag... " >&6; }
8152 if ${lt_cv_apple_cc_single_mod+:} false; then :
8153 $as_echo_n "(cached) " >&6
8155 lt_cv_apple_cc_single_mod=no
8156 if test -z "${LT_MULTI_MODULE}"; then
8157 # By default we will add the -single_module flag. You can override
8158 # by either setting the environment variable LT_MULTI_MODULE
8159 # non-empty at configure time, or by adding -multi_module to the
8161 rm -rf libconftest.dylib*
8162 echo "int foo(void){return 1;}" > conftest.c
8163 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8164 -dynamiclib -Wl,-single_module conftest.c" >&5
8165 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8166 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8168 # If there is a non-empty error log, and "single_module"
8169 # appears in it, assume the flag caused a linker warning
8170 if test -s conftest.err && $GREP single_module conftest.err; then
8171 cat conftest.err >&5
8172 # Otherwise, if the output was created with a 0 exit code from
8173 # the compiler, it worked.
8174 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8175 lt_cv_apple_cc_single_mod=yes
8177 cat conftest.err >&5
8179 rm -rf libconftest.dylib*
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8184 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8187 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8188 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8189 $as_echo_n "(cached) " >&6
8191 lt_cv_ld_exported_symbols_list=no
8192 save_LDFLAGS=$LDFLAGS
8193 echo "_main" > conftest.sym
8194 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8206 if ac_fn_c_try_link "$LINENO"; then :
8207 lt_cv_ld_exported_symbols_list=yes
8209 lt_cv_ld_exported_symbols_list=no
8211 rm -f core conftest.err conftest.$ac_objext \
8212 conftest$ac_exeext conftest.$ac_ext
8213 LDFLAGS="$save_LDFLAGS"
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8217 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8220 $as_echo_n "checking for -force_load linker flag... " >&6; }
8221 if ${lt_cv_ld_force_load+:} false; then :
8222 $as_echo_n "(cached) " >&6
8224 lt_cv_ld_force_load=no
8225 cat > conftest.c << _LT_EOF
8226 int forced_loaded() { return 2;}
8228 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8229 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8230 echo "$AR cru libconftest.a conftest.o" >&5
8231 $AR cru libconftest.a conftest.o 2>&5
8232 echo "$RANLIB libconftest.a" >&5
8233 $RANLIB libconftest.a 2>&5
8234 cat > conftest.c << _LT_EOF
8235 int main() { return 0;}
8237 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8238 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8240 if test -s conftest.err && $GREP force_load conftest.err; then
8241 cat conftest.err >&5
8242 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8243 lt_cv_ld_force_load=yes
8245 cat conftest.err >&5
8247 rm -f conftest.err libconftest.a conftest conftest.c
8248 rm -rf conftest.dSYM
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8252 $as_echo "$lt_cv_ld_force_load" >&6; }
8254 rhapsody* | darwin1.[012])
8255 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8257 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8258 darwin*) # darwin 5.x on
8259 # if running on 10.5 or later, the deployment target defaults
8260 # to the OS version, if on x86, and 10.4, the deployment
8261 # target defaults to 10.4. Don't you love it?
8262 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8263 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8264 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8266 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8268 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8272 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8273 _lt_dar_single_mod='$single_module'
8275 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8276 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8278 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8280 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8281 _lt_dsymutil='~$DSYMUTIL $lib || :'
8288 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8289 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8290 inttypes.h stdint.h unistd.h
8292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8293 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8296 cat >>confdefs.h <<_ACEOF
8297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8305 for ac_header in dlfcn.h
8307 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8309 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8310 cat >>confdefs.h <<_ACEOF
8311 #define HAVE_DLFCN_H 1
8332 # Check whether --enable-shared was given.
8333 if test "${enable_shared+set}" = set; then :
8334 enableval=$enable_shared; p=${PACKAGE-default}
8336 yes) enable_shared=yes ;;
8337 no) enable_shared=no ;;
8340 # Look at the argument we got. We use all the common list separators.
8341 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8342 for pkg in $enableval; do
8344 if test "X$pkg" = "X$p"; then
8363 # Check whether --enable-static was given.
8364 if test "${enable_static+set}" = set; then :
8365 enableval=$enable_static; p=${PACKAGE-default}
8367 yes) enable_static=yes ;;
8368 no) enable_static=no ;;
8371 # Look at the argument we got. We use all the common list separators.
8372 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8373 for pkg in $enableval; do
8375 if test "X$pkg" = "X$p"; then
8395 # Check whether --with-pic was given.
8396 if test "${with_pic+set}" = set; then :
8397 withval=$with_pic; lt_p=${PACKAGE-default}
8399 yes|no) pic_mode=$withval ;;
8402 # Look at the argument we got. We use all the common list separators.
8403 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8404 for lt_pkg in $withval; do
8406 if test "X$lt_pkg" = "X$lt_p"; then
8418 test -z "$pic_mode" && pic_mode=default
8426 # Check whether --enable-fast-install was given.
8427 if test "${enable_fast_install+set}" = set; then :
8428 enableval=$enable_fast_install; p=${PACKAGE-default}
8430 yes) enable_fast_install=yes ;;
8431 no) enable_fast_install=no ;;
8433 enable_fast_install=no
8434 # Look at the argument we got. We use all the common list separators.
8435 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8436 for pkg in $enableval; do
8438 if test "X$pkg" = "X$p"; then
8439 enable_fast_install=yes
8446 enable_fast_install=yes
8459 # This can be used to rebuild libtool when needed
8460 LIBTOOL_DEPS="$ltmain"
8462 # Always use our own libtool.
8463 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8494 test -z "$LN_S" && LN_S="ln -s"
8509 if test -n "${ZSH_VERSION+set}" ; then
8510 setopt NO_GLOB_SUBST
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8514 $as_echo_n "checking for objdir... " >&6; }
8515 if ${lt_cv_objdir+:} false; then :
8516 $as_echo_n "(cached) " >&6
8518 rm -f .libs 2>/dev/null
8519 mkdir .libs 2>/dev/null
8520 if test -d .libs; then
8523 # MS-DOS does not allow filenames that begin with a dot.
8526 rmdir .libs 2>/dev/null
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8529 $as_echo "$lt_cv_objdir" >&6; }
8530 objdir=$lt_cv_objdir
8536 cat >>confdefs.h <<_ACEOF
8537 #define LT_OBJDIR "$lt_cv_objdir/"
8545 # AIX sometimes has problems with the GCC collect2 program. For some
8546 # reason, if we set the COLLECT_NAMES environment variable, the problems
8547 # vanish in a puff of smoke.
8548 if test "X${COLLECT_NAMES+set}" != Xset; then
8550 export COLLECT_NAMES
8557 can_build_shared=yes
8559 # All known linkers require a `.a' archive for static linking (except MSVC,
8560 # which needs '.lib').
8563 with_gnu_ld="$lt_cv_prog_gnu_ld"
8566 old_CFLAGS="$CFLAGS"
8568 # Set sane defaults for various variables
8569 test -z "$CC" && CC=cc
8570 test -z "$LTCC" && LTCC=$CC
8571 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8572 test -z "$LD" && LD=ld
8573 test -z "$ac_objext" && ac_objext=o
8575 for cc_temp in $compiler""; do
8577 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8578 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8583 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8586 # Only perform the check for file, if the check method requires it
8587 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8588 case $deplibs_check_method in
8590 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8592 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8593 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8594 $as_echo_n "(cached) " >&6
8598 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8601 lt_save_MAGIC_CMD="$MAGIC_CMD"
8602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8603 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8604 for ac_dir in $ac_dummy; do
8606 test -z "$ac_dir" && ac_dir=.
8607 if test -f $ac_dir/${ac_tool_prefix}file; then
8608 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8609 if test -n "$file_magic_test_file"; then
8610 case $deplibs_check_method in
8612 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8613 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8614 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8615 $EGREP "$file_magic_regex" > /dev/null; then
8620 *** Warning: the command libtool uses to detect shared libraries,
8621 *** $file_magic_cmd, produces output that libtool cannot recognize.
8622 *** The result is that libtool may fail to recognize shared libraries
8623 *** as such. This will affect the creation of libtool libraries that
8624 *** depend on shared libraries, but programs linked with such libtool
8625 *** libraries will work regardless of this problem. Nevertheless, you
8626 *** may want to report the problem to your system manager and/or to
8627 *** bug-libtool@gnu.org
8637 MAGIC_CMD="$lt_save_MAGIC_CMD"
8642 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8643 if test -n "$MAGIC_CMD"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8645 $as_echo "$MAGIC_CMD" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648 $as_echo "no" >&6; }
8655 if test -z "$lt_cv_path_MAGIC_CMD"; then
8656 if test -n "$ac_tool_prefix"; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8658 $as_echo_n "checking for file... " >&6; }
8659 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8660 $as_echo_n "(cached) " >&6
8664 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8667 lt_save_MAGIC_CMD="$MAGIC_CMD"
8668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8669 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8670 for ac_dir in $ac_dummy; do
8672 test -z "$ac_dir" && ac_dir=.
8673 if test -f $ac_dir/file; then
8674 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8675 if test -n "$file_magic_test_file"; then
8676 case $deplibs_check_method in
8678 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8679 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8680 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8681 $EGREP "$file_magic_regex" > /dev/null; then
8686 *** Warning: the command libtool uses to detect shared libraries,
8687 *** $file_magic_cmd, produces output that libtool cannot recognize.
8688 *** The result is that libtool may fail to recognize shared libraries
8689 *** as such. This will affect the creation of libtool libraries that
8690 *** depend on shared libraries, but programs linked with such libtool
8691 *** libraries will work regardless of this problem. Nevertheless, you
8692 *** may want to report the problem to your system manager and/or to
8693 *** bug-libtool@gnu.org
8703 MAGIC_CMD="$lt_save_MAGIC_CMD"
8708 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8709 if test -n "$MAGIC_CMD"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8711 $as_echo "$MAGIC_CMD" >&6; }
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8727 # Use C for the default configuration in the libtool script
8731 ac_cpp='$CPP $CPPFLAGS'
8732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8737 # Source file extension for C test sources.
8740 # Object file extension for compiled C test sources.
8744 # Code to be used in simple compile tests
8745 lt_simple_compile_test_code="int some_variable = 0;"
8747 # Code to be used in simple link tests
8748 lt_simple_link_test_code='int main(){return(0);}'
8756 # If no C compiler was specified, use CC.
8759 # If no C compiler flags were specified, use CFLAGS.
8760 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8762 # Allow CC to be a program name with arguments.
8765 # Save the default compiler, since it gets overwritten when the other
8766 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8767 compiler_DEFAULT=$CC
8769 # save warnings/boilerplate of simple test code
8770 ac_outfile=conftest.$ac_objext
8771 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8772 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8773 _lt_compiler_boilerplate=`cat conftest.err`
8776 ac_outfile=conftest.$ac_objext
8777 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8778 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8779 _lt_linker_boilerplate=`cat conftest.err`
8784 ## There is no encapsulation within the following macros, do not change
8785 ## the running order or otherwise move them around unless you know exactly
8786 ## what you are doing...
8787 if test -n "$compiler"; then
8789 lt_prog_compiler_no_builtin_flag=
8791 if test "$GCC" = yes; then
8792 case $cc_basename in
8794 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8796 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8800 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8801 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8802 $as_echo_n "(cached) " >&6
8804 lt_cv_prog_compiler_rtti_exceptions=no
8805 ac_outfile=conftest.$ac_objext
8806 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8807 lt_compiler_flag="-fno-rtti -fno-exceptions"
8808 # Insert the option either (1) after the last *FLAGS variable, or
8809 # (2) before a word containing "conftest.", or (3) at the end.
8810 # Note that $ac_compile itself does not contain backslashes and begins
8811 # with a dollar sign (not a hyphen), so the echo should work correctly.
8812 # The option is referenced via a variable to avoid confusing sed.
8813 lt_compile=`echo "$ac_compile" | $SED \
8814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8816 -e 's:$: $lt_compiler_flag:'`
8817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8818 (eval "$lt_compile" 2>conftest.err)
8820 cat conftest.err >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 if (exit $ac_status) && test -s "$ac_outfile"; then
8823 # The compiler can only warn and ignore the option if not recognized
8824 # So say no if there are warnings other than the usual output.
8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8826 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8827 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8828 lt_cv_prog_compiler_rtti_exceptions=yes
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8835 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8837 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8838 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8850 lt_prog_compiler_wl=
8851 lt_prog_compiler_pic=
8852 lt_prog_compiler_static=
8855 if test "$GCC" = yes; then
8856 lt_prog_compiler_wl='-Wl,'
8857 lt_prog_compiler_static='-static'
8861 # All AIX code is PIC.
8862 if test "$host_cpu" = ia64; then
8863 # AIX 5 now supports IA64 processor
8864 lt_prog_compiler_static='-Bstatic'
8871 # see comment about AmigaOS4 .so support
8872 lt_prog_compiler_pic='-fPIC'
8875 # FIXME: we need at least 68020 code to build shared libraries, but
8876 # adding the `-m68020' flag to GCC prevents building anything better,
8878 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8883 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8884 # PIC is the default for these OSes.
8887 mingw* | cygwin* | pw32* | os2* | cegcc*)
8888 # This hack is so that the source file can tell whether it is being
8889 # built for inclusion in a dll (and should export symbols for example).
8890 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8891 # (--disable-auto-import) libraries
8892 lt_prog_compiler_pic='-DDLL_EXPORT'
8895 darwin* | rhapsody*)
8896 # PIC is the default on this platform
8897 # Common symbols not allowed in MH_DYLIB files
8898 lt_prog_compiler_pic='-fno-common'
8902 # PIC is the default for Haiku.
8903 # The "-static" flag exists, but is broken.
8904 lt_prog_compiler_static=
8908 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8909 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8910 # sets the default TLS model and affects inlining.
8916 lt_prog_compiler_pic='-fPIC'
8922 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8923 # Instead, we relocate shared libraries at runtime.
8927 # Just because we use GCC doesn't mean we suddenly get shared libraries
8928 # on systems that don't support them.
8929 lt_prog_compiler_can_build_shared=no
8934 # QNX uses GNU C++, but need to define -shared option too, otherwise
8936 lt_prog_compiler_pic='-fPIC -shared'
8940 if test -d /usr/nec; then
8941 lt_prog_compiler_pic=-Kconform_pic
8946 lt_prog_compiler_pic='-fPIC'
8950 case $cc_basename in
8951 nvcc*) # Cuda Compiler Driver 2.2
8952 lt_prog_compiler_wl='-Xlinker '
8953 if test -n "$lt_prog_compiler_pic"; then
8954 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8959 # PORTME Check for flag to pass linker flags through the system compiler.
8962 lt_prog_compiler_wl='-Wl,'
8963 if test "$host_cpu" = ia64; then
8964 # AIX 5 now supports IA64 processor
8965 lt_prog_compiler_static='-Bstatic'
8967 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8971 mingw* | cygwin* | pw32* | os2* | cegcc*)
8972 # This hack is so that the source file can tell whether it is being
8973 # built for inclusion in a dll (and should export symbols for example).
8974 lt_prog_compiler_pic='-DDLL_EXPORT'
8977 hpux9* | hpux10* | hpux11*)
8978 lt_prog_compiler_wl='-Wl,'
8979 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8986 lt_prog_compiler_pic='+Z'
8989 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8990 lt_prog_compiler_static='${wl}-a ${wl}archive'
8993 irix5* | irix6* | nonstopux*)
8994 lt_prog_compiler_wl='-Wl,'
8995 # PIC (with -KPIC) is the default.
8996 lt_prog_compiler_static='-non_shared'
8999 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9000 case $cc_basename in
9001 # old Intel for x86_64 which still supported -KPIC.
9003 lt_prog_compiler_wl='-Wl,'
9004 lt_prog_compiler_pic='-KPIC'
9005 lt_prog_compiler_static='-static'
9007 # icc used to be incompatible with GCC.
9008 # ICC 10 doesn't accept -KPIC any more.
9010 lt_prog_compiler_wl='-Wl,'
9011 lt_prog_compiler_pic='-fPIC'
9012 lt_prog_compiler_static='-static'
9014 # Lahey Fortran 8.1.
9016 lt_prog_compiler_wl='-Wl,'
9017 lt_prog_compiler_pic='--shared'
9018 lt_prog_compiler_static='--static'
9021 # NAG Fortran compiler
9022 lt_prog_compiler_wl='-Wl,-Wl,,'
9023 lt_prog_compiler_pic='-PIC'
9024 lt_prog_compiler_static='-Bstatic'
9026 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9027 # Portland Group compilers (*not* the Pentium gcc compiler,
9028 # which looks to be a dead project)
9029 lt_prog_compiler_wl='-Wl,'
9030 lt_prog_compiler_pic='-fpic'
9031 lt_prog_compiler_static='-Bstatic'
9034 lt_prog_compiler_wl='-Wl,'
9035 # All Alpha code is PIC.
9036 lt_prog_compiler_static='-non_shared'
9038 xl* | bgxl* | bgf* | mpixl*)
9039 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9040 lt_prog_compiler_wl='-Wl,'
9041 lt_prog_compiler_pic='-qpic'
9042 lt_prog_compiler_static='-qstaticlink'
9045 case `$CC -V 2>&1 | sed 5q` in
9046 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9047 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9048 lt_prog_compiler_pic='-KPIC'
9049 lt_prog_compiler_static='-Bstatic'
9050 lt_prog_compiler_wl=''
9052 *Sun\ F* | *Sun*Fortran*)
9053 lt_prog_compiler_pic='-KPIC'
9054 lt_prog_compiler_static='-Bstatic'
9055 lt_prog_compiler_wl='-Qoption ld '
9059 lt_prog_compiler_pic='-KPIC'
9060 lt_prog_compiler_static='-Bstatic'
9061 lt_prog_compiler_wl='-Wl,'
9063 *Intel*\ [CF]*Compiler*)
9064 lt_prog_compiler_wl='-Wl,'
9065 lt_prog_compiler_pic='-fPIC'
9066 lt_prog_compiler_static='-static'
9069 lt_prog_compiler_wl='-Wl,'
9070 lt_prog_compiler_pic='-fpic'
9071 lt_prog_compiler_static='-Bstatic'
9079 lt_prog_compiler_pic='-KPIC'
9080 lt_prog_compiler_static='-Bstatic'
9084 # QNX uses GNU C++, but need to define -shared option too, otherwise
9086 lt_prog_compiler_pic='-fPIC -shared'
9089 osf3* | osf4* | osf5*)
9090 lt_prog_compiler_wl='-Wl,'
9091 # All OSF/1 code is PIC.
9092 lt_prog_compiler_static='-non_shared'
9096 lt_prog_compiler_static='-non_shared'
9100 lt_prog_compiler_pic='-KPIC'
9101 lt_prog_compiler_static='-Bstatic'
9102 case $cc_basename in
9103 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9104 lt_prog_compiler_wl='-Qoption ld ';;
9106 lt_prog_compiler_wl='-Wl,';;
9111 lt_prog_compiler_wl='-Qoption ld '
9112 lt_prog_compiler_pic='-PIC'
9113 lt_prog_compiler_static='-Bstatic'
9116 sysv4 | sysv4.2uw2* | sysv4.3*)
9117 lt_prog_compiler_wl='-Wl,'
9118 lt_prog_compiler_pic='-KPIC'
9119 lt_prog_compiler_static='-Bstatic'
9123 if test -d /usr/nec ;then
9124 lt_prog_compiler_pic='-Kconform_pic'
9125 lt_prog_compiler_static='-Bstatic'
9129 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9130 lt_prog_compiler_wl='-Wl,'
9131 lt_prog_compiler_pic='-KPIC'
9132 lt_prog_compiler_static='-Bstatic'
9136 lt_prog_compiler_wl='-Wl,'
9137 lt_prog_compiler_can_build_shared=no
9141 lt_prog_compiler_pic='-pic'
9142 lt_prog_compiler_static='-Bstatic'
9146 lt_prog_compiler_can_build_shared=no
9152 # For platforms which do not support PIC, -DPIC is meaningless:
9154 lt_prog_compiler_pic=
9157 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9162 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9163 if ${lt_cv_prog_compiler_pic+:} false; then :
9164 $as_echo_n "(cached) " >&6
9166 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9169 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9170 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9173 # Check to make sure the PIC flag actually works.
9175 if test -n "$lt_prog_compiler_pic"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9177 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9178 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9179 $as_echo_n "(cached) " >&6
9181 lt_cv_prog_compiler_pic_works=no
9182 ac_outfile=conftest.$ac_objext
9183 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9184 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9185 # Insert the option either (1) after the last *FLAGS variable, or
9186 # (2) before a word containing "conftest.", or (3) at the end.
9187 # Note that $ac_compile itself does not contain backslashes and begins
9188 # with a dollar sign (not a hyphen), so the echo should work correctly.
9189 # The option is referenced via a variable to avoid confusing sed.
9190 lt_compile=`echo "$ac_compile" | $SED \
9191 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9193 -e 's:$: $lt_compiler_flag:'`
9194 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9195 (eval "$lt_compile" 2>conftest.err)
9197 cat conftest.err >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 if (exit $ac_status) && test -s "$ac_outfile"; then
9200 # The compiler can only warn and ignore the option if not recognized
9201 # So say no if there are warnings other than the usual output.
9202 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9203 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9204 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9205 lt_cv_prog_compiler_pic_works=yes
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9212 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9214 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9215 case $lt_prog_compiler_pic in
9217 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9220 lt_prog_compiler_pic=
9221 lt_prog_compiler_can_build_shared=no
9237 # Check to make sure the static flag actually works.
9239 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9241 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9242 if ${lt_cv_prog_compiler_static_works+:} false; then :
9243 $as_echo_n "(cached) " >&6
9245 lt_cv_prog_compiler_static_works=no
9246 save_LDFLAGS="$LDFLAGS"
9247 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9248 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9249 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9250 # The linker can only warn and ignore the option if not recognized
9251 # So say no if there are warnings
9252 if test -s conftest.err; then
9253 # Append any errors to the config.log.
9254 cat conftest.err 1>&5
9255 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9257 if diff conftest.exp conftest.er2 >/dev/null; then
9258 lt_cv_prog_compiler_static_works=yes
9261 lt_cv_prog_compiler_static_works=yes
9265 LDFLAGS="$save_LDFLAGS"
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9269 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9271 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9274 lt_prog_compiler_static=
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9284 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9285 if ${lt_cv_prog_compiler_c_o+:} false; then :
9286 $as_echo_n "(cached) " >&6
9288 lt_cv_prog_compiler_c_o=no
9289 $RM -r conftest 2>/dev/null
9293 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9295 lt_compiler_flag="-o out/conftest2.$ac_objext"
9296 # Insert the option either (1) after the last *FLAGS variable, or
9297 # (2) before a word containing "conftest.", or (3) at the end.
9298 # Note that $ac_compile itself does not contain backslashes and begins
9299 # with a dollar sign (not a hyphen), so the echo should work correctly.
9300 lt_compile=`echo "$ac_compile" | $SED \
9301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9303 -e 's:$: $lt_compiler_flag:'`
9304 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9305 (eval "$lt_compile" 2>out/conftest.err)
9307 cat out/conftest.err >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9311 # The compiler can only warn and ignore the option if not recognized
9312 # So say no if there are warnings
9313 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9314 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9315 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9316 lt_cv_prog_compiler_c_o=yes
9321 # SGI C++ compiler will create directory out/ii_files/ for
9322 # template instantiation
9323 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9324 $RM out/* && rmdir out
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9331 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9340 if ${lt_cv_prog_compiler_c_o+:} false; then :
9341 $as_echo_n "(cached) " >&6
9343 lt_cv_prog_compiler_c_o=no
9344 $RM -r conftest 2>/dev/null
9348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9350 lt_compiler_flag="-o out/conftest2.$ac_objext"
9351 # Insert the option either (1) after the last *FLAGS variable, or
9352 # (2) before a word containing "conftest.", or (3) at the end.
9353 # Note that $ac_compile itself does not contain backslashes and begins
9354 # with a dollar sign (not a hyphen), so the echo should work correctly.
9355 lt_compile=`echo "$ac_compile" | $SED \
9356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9358 -e 's:$: $lt_compiler_flag:'`
9359 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9360 (eval "$lt_compile" 2>out/conftest.err)
9362 cat out/conftest.err >&5
9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9366 # The compiler can only warn and ignore the option if not recognized
9367 # So say no if there are warnings
9368 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9369 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9370 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9371 lt_cv_prog_compiler_c_o=yes
9376 # SGI C++ compiler will create directory out/ii_files/ for
9377 # template instantiation
9378 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9379 $RM out/* && rmdir out
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9386 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9391 hard_links="nottested"
9392 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9393 # do not overwrite the value of need_locks provided by the user
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9395 $as_echo_n "checking if we can lock with hard links... " >&6; }
9398 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9400 ln conftest.a conftest.b 2>&5 || hard_links=no
9401 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9403 $as_echo "$hard_links" >&6; }
9404 if test "$hard_links" = no; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9406 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9419 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9422 allow_undefined_flag=
9423 always_export_symbols=no
9425 archive_expsym_cmds=
9426 compiler_needs_object=no
9427 enable_shared_with_static_runtimes=no
9428 export_dynamic_flag_spec=
9429 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9430 hardcode_automatic=no
9432 hardcode_direct_absolute=no
9433 hardcode_libdir_flag_spec=
9434 hardcode_libdir_separator=
9436 hardcode_shlibpath_var=unsupported
9438 link_all_deplibs=unknown
9441 old_archive_from_new_cmds=
9442 old_archive_from_expsyms_cmds=
9443 thread_safe_flag_spec=
9444 whole_archive_flag_spec=
9445 # include_expsyms should be a list of space-separated symbols to be *always*
9446 # included in the symbol list
9448 # exclude_expsyms can be an extended regexp of symbols to exclude
9449 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9450 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9451 # as well as any symbol that contains `d'.
9452 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9453 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9454 # platforms (ab)use it in PIC code, but their linkers get confused if
9455 # the symbol is explicitly referenced. Since portable code cannot
9456 # rely on this symbol name, it's probably fine to never include it in
9457 # preloaded symbol tables.
9458 # Exclude shared library initialization/finalization symbols.
9459 extract_expsyms_cmds=
9462 cygwin* | mingw* | pw32* | cegcc*)
9463 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9464 # When not using gcc, we currently assume that we are using
9465 # Microsoft Visual C++.
9466 if test "$GCC" != yes; then
9471 # we just hope/assume this is gcc and not c89 (= MSVC++)
9477 linux* | k*bsd*-gnu | gnu*)
9484 # On some targets, GNU ld is compatible enough with the native linker
9485 # that we're better off using the native interface for both.
9486 lt_use_gnu_ld_interface=no
9487 if test "$with_gnu_ld" = yes; then
9490 # The AIX port of GNU ld has always aspired to compatibility
9491 # with the native linker. However, as the warning in the GNU ld
9492 # block says, versions before 2.19.5* couldn't really create working
9493 # shared libraries, regardless of the interface used.
9494 case `$LD -v 2>&1` in
9495 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9496 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9497 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9499 lt_use_gnu_ld_interface=yes
9504 lt_use_gnu_ld_interface=yes
9509 if test "$lt_use_gnu_ld_interface" = yes; then
9510 # If archive_cmds runs LD, not CC, wlarc should be empty
9513 # Set some defaults for GNU ld with shared library support. These
9514 # are reset later if shared libraries are not supported. Putting them
9515 # here allows them to be overridden if necessary.
9516 runpath_var=LD_RUN_PATH
9517 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9518 export_dynamic_flag_spec='${wl}--export-dynamic'
9519 # ancient GNU ld didn't support --whole-archive et. al.
9520 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9521 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9523 whole_archive_flag_spec=
9525 supports_anon_versioning=no
9526 case `$LD -v 2>&1` in
9527 *GNU\ gold*) supports_anon_versioning=yes ;;
9528 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9529 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9530 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9531 *\ 2.11.*) ;; # other 2.11 versions
9532 *) supports_anon_versioning=yes ;;
9535 # See if GNU ld supports shared libraries.
9538 # On AIX/PPC, the GNU linker is very broken
9539 if test "$host_cpu" != ia64; then
9543 *** Warning: the GNU linker, at least up to release 2.19, is reported
9544 *** to be unable to reliably create shared libraries on AIX.
9545 *** Therefore, libtool is disabling shared libraries support. If you
9546 *** really care for shared libraries, you may want to install binutils
9547 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9548 *** You will then need to restart the configuration process.
9557 # see comment about AmigaOS4 .so support
9558 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9559 archive_expsym_cmds=''
9562 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)'
9563 hardcode_libdir_flag_spec='-L$libdir'
9564 hardcode_minus_L=yes
9570 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9571 allow_undefined_flag=unsupported
9572 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9573 # support --undefined. This deserves some investigation. FIXME
9574 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9580 cygwin* | mingw* | pw32* | cegcc*)
9581 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9582 # as there is no search path for DLLs.
9583 hardcode_libdir_flag_spec='-L$libdir'
9584 export_dynamic_flag_spec='${wl}--export-all-symbols'
9585 allow_undefined_flag=unsupported
9586 always_export_symbols=no
9587 enable_shared_with_static_runtimes=yes
9588 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'
9589 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9591 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9592 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9593 # If the export-symbols file already is a .def file (1st line
9594 # is EXPORTS), use it as is; otherwise, prepend...
9595 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9596 cp $export_symbols $output_objdir/$soname.def;
9598 echo EXPORTS > $output_objdir/$soname.def;
9599 cat $export_symbols >> $output_objdir/$soname.def;
9601 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9609 link_all_deplibs=yes
9614 hardcode_shlibpath_var=no
9615 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9616 export_dynamic_flag_spec='${wl}-E'
9617 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9618 # Instead, shared libraries are loaded at an image base (0x10000000 by
9619 # default) and relocated if they conflict, which is a slow very memory
9620 # consuming and fragmenting process. To avoid this, we pick a random,
9621 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9622 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9623 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9624 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'
9627 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9629 if test "$host_os" = linux-dietlibc; then
9630 case $cc_basename in
9631 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9634 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9635 && test "$tmp_diet" = no
9637 tmp_addflag=' $pic_flag'
9638 tmp_sharedflag='-shared'
9639 case $cc_basename,$host_cpu in
9640 pgcc*) # Portland Group C compiler
9641 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'
9642 tmp_addflag=' $pic_flag'
9644 pgf77* | pgf90* | pgf95* | pgfortran*)
9645 # Portland Group f77 and f90 compilers
9646 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'
9647 tmp_addflag=' $pic_flag -Mnomain' ;;
9648 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9649 tmp_addflag=' -i_dynamic' ;;
9650 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9651 tmp_addflag=' -i_dynamic -nofor_main' ;;
9652 ifc* | ifort*) # Intel Fortran compiler
9653 tmp_addflag=' -nofor_main' ;;
9654 lf95*) # Lahey Fortran 8.1
9655 whole_archive_flag_spec=
9656 tmp_sharedflag='--shared' ;;
9657 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9658 tmp_sharedflag='-qmkshrobj'
9660 nvcc*) # Cuda Compiler Driver 2.2
9661 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'
9662 compiler_needs_object=yes
9665 case `$CC -V 2>&1 | sed 5q` in
9666 *Sun\ C*) # Sun C 5.9
9667 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'
9668 compiler_needs_object=yes
9669 tmp_sharedflag='-G' ;;
9670 *Sun\ F*) # Sun Fortran 8.3
9671 tmp_sharedflag='-G' ;;
9673 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9675 if test "x$supports_anon_versioning" = xyes; then
9676 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9677 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9678 echo "local: *; };" >> $output_objdir/$libname.ver~
9679 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9682 case $cc_basename in
9683 xlf* | bgf* | bgxlf* | mpixlf*)
9684 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9685 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9686 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9687 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9688 if test "x$supports_anon_versioning" = xyes; then
9689 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9691 echo "local: *; };" >> $output_objdir/$libname.ver~
9692 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9701 netbsd* | netbsdelf*-gnu)
9702 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9703 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9706 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9707 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9712 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9716 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9717 *** create shared libraries on Solaris systems. Therefore, libtool
9718 *** is disabling shared libraries support. We urge you to upgrade GNU
9719 *** binutils to release 2.9.1 or newer. Another option is to modify
9720 *** your PATH or compiler configuration so that the native linker is
9721 *** used, and then restart.
9724 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9725 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9732 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9733 case `$LD -v 2>&1` in
9734 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9738 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9739 *** reliably create shared libraries on SCO systems. Therefore, libtool
9740 *** is disabling shared libraries support. We urge you to upgrade GNU
9741 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9742 *** your PATH or compiler configuration so that the native linker is
9743 *** used, and then restart.
9748 # For security reasons, it is highly recommended that you always
9749 # use absolute paths for naming shared libraries, and exclude the
9750 # DT_RUNPATH tag from executables and libraries. But doing so
9751 # requires that you compile everything twice, which is a pain.
9752 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9753 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9754 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9755 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9764 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9767 hardcode_shlibpath_var=no
9771 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9772 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9773 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9780 if test "$ld_shlibs" = no; then
9782 hardcode_libdir_flag_spec=
9783 export_dynamic_flag_spec=
9784 whole_archive_flag_spec=
9787 # PORTME fill in a description of your system's linker (not GNU ld)
9790 allow_undefined_flag=unsupported
9791 always_export_symbols=yes
9792 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'
9793 # Note: this linker hardcodes the directories in LIBPATH if there
9794 # are no directories specified by -L.
9795 hardcode_minus_L=yes
9796 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9797 # Neither direct hardcoding nor static linking is supported with a
9799 hardcode_direct=unsupported
9804 if test "$host_cpu" = ia64; then
9805 # On IA64, the linker does run time linking by default, so we don't
9806 # have to do anything special.
9807 aix_use_runtimelinking=no
9808 exp_sym_flag='-Bexport'
9811 # If we're using GNU nm, then we don't want the "-C" option.
9812 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9813 # Also, AIX nm treats weak defined symbols like other global
9814 # defined symbols, whereas GNU nm marks them as "W".
9815 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9816 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'
9818 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'
9820 aix_use_runtimelinking=no
9822 # Test if we are trying to use run time linking or normal
9823 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9824 # need to do runtime linking.
9825 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9826 for ld_flag in $LDFLAGS; do
9827 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9828 aix_use_runtimelinking=yes
9835 exp_sym_flag='-bexport'
9836 no_entry_flag='-bnoentry'
9839 # When large executables or shared objects are built, AIX ld can
9840 # have problems creating the table of contents. If linking a library
9841 # or program results in "error TOC overflow" add -mminimal-toc to
9842 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9843 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9847 hardcode_direct_absolute=yes
9848 hardcode_libdir_separator=':'
9849 link_all_deplibs=yes
9850 file_list_spec='${wl}-f,'
9852 if test "$GCC" = yes; then
9853 case $host_os in aix4.[012]|aix4.[012].*)
9854 # We only want to do this on AIX 4.2 and lower, the check
9855 # below for broken collect2 doesn't work under 4.3+
9856 collect2name=`${CC} -print-prog-name=collect2`
9857 if test -f "$collect2name" &&
9858 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9860 # We have reworked collect2
9863 # We have old collect2
9864 hardcode_direct=unsupported
9865 # It fails to find uninstalled libraries when the uninstalled
9866 # path is not listed in the libpath. Setting hardcode_minus_L
9867 # to unsupported forces relinking
9868 hardcode_minus_L=yes
9869 hardcode_libdir_flag_spec='-L$libdir'
9870 hardcode_libdir_separator=
9874 shared_flag='-shared'
9875 if test "$aix_use_runtimelinking" = yes; then
9876 shared_flag="$shared_flag "'${wl}-G'
9881 if test "$host_cpu" = ia64; then
9882 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9883 # chokes on -Wl,-G. The following line is correct:
9886 if test "$aix_use_runtimelinking" = yes; then
9887 shared_flag='${wl}-G'
9889 shared_flag='${wl}-bM:SRE'
9894 export_dynamic_flag_spec='${wl}-bexpall'
9895 # It seems that -bexpall does not export symbols beginning with
9896 # underscore (_), so it is better to generate a list of symbols to export.
9897 always_export_symbols=yes
9898 if test "$aix_use_runtimelinking" = yes; then
9899 # Warning - without using the other runtime loading flags (-brtl),
9900 # -berok will link without error, but may produce a broken library.
9901 allow_undefined_flag='-berok'
9902 # Determine the default libpath from the value encoded in an
9904 if test "${lt_cv_aix_libpath+set}" = set; then
9905 aix_libpath=$lt_cv_aix_libpath
9907 if ${lt_cv_aix_libpath_+:} false; then :
9908 $as_echo_n "(cached) " >&6
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9921 if ac_fn_c_try_link "$LINENO"; then :
9923 lt_aix_libpath_sed='
9924 /Import File Strings/,/^$/ {
9926 s/^0 *\([^ ]*\) *$/\1/
9930 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9931 # Check for a 64-bit object if we didn't find anything.
9932 if test -z "$lt_cv_aix_libpath_"; then
9933 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 if test -z "$lt_cv_aix_libpath_"; then
9939 lt_cv_aix_libpath_="/usr/lib:/lib"
9944 aix_libpath=$lt_cv_aix_libpath_
9947 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9948 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"
9950 if test "$host_cpu" = ia64; then
9951 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9952 allow_undefined_flag="-z nodefs"
9953 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"
9955 # Determine the default libpath from the value encoded in an
9957 if test "${lt_cv_aix_libpath+set}" = set; then
9958 aix_libpath=$lt_cv_aix_libpath
9960 if ${lt_cv_aix_libpath_+:} false; then :
9961 $as_echo_n "(cached) " >&6
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9974 if ac_fn_c_try_link "$LINENO"; then :
9976 lt_aix_libpath_sed='
9977 /Import File Strings/,/^$/ {
9979 s/^0 *\([^ ]*\) *$/\1/
9983 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9984 # Check for a 64-bit object if we didn't find anything.
9985 if test -z "$lt_cv_aix_libpath_"; then
9986 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 if test -z "$lt_cv_aix_libpath_"; then
9992 lt_cv_aix_libpath_="/usr/lib:/lib"
9997 aix_libpath=$lt_cv_aix_libpath_
10000 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10001 # Warning - without using the other run time loading flags,
10002 # -berok will link without error, but may produce a broken library.
10003 no_undefined_flag=' ${wl}-bernotok'
10004 allow_undefined_flag=' ${wl}-berok'
10005 if test "$with_gnu_ld" = yes; then
10006 # We only use this code for GNU lds that support --whole-archive.
10007 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10009 # Exported symbols can be pulled into shared objects from archives
10010 whole_archive_flag_spec='$convenience'
10012 archive_cmds_need_lc=yes
10013 # This is similar to how AIX traditionally builds its shared libraries.
10014 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'
10022 # see comment about AmigaOS4 .so support
10023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds=''
10027 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)'
10028 hardcode_libdir_flag_spec='-L$libdir'
10029 hardcode_minus_L=yes
10035 export_dynamic_flag_spec=-rdynamic
10038 cygwin* | mingw* | pw32* | cegcc*)
10039 # When not using gcc, we currently assume that we are using
10040 # Microsoft Visual C++.
10041 # hardcode_libdir_flag_spec is actually meaningless, as there is
10042 # no search path for DLLs.
10043 case $cc_basename in
10046 hardcode_libdir_flag_spec=' '
10047 allow_undefined_flag=unsupported
10048 always_export_symbols=yes
10050 # Tell ltmain to make .lib files, not .a files.
10052 # Tell ltmain to make .dll files, not .so files.
10054 # FIXME: Setting linknames here is a bad hack.
10055 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10056 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10057 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10059 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10061 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10063 # The linker will not automatically build a static lib if we build a DLL.
10064 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10065 enable_shared_with_static_runtimes=yes
10066 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10067 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10069 old_postinstall_cmds='chmod 644 $oldlib'
10070 postlink_cmds='lt_outputfile="@OUTPUT@"~
10071 lt_tool_outputfile="@TOOL_OUTPUT@"~
10072 case $lt_outputfile in
10075 lt_outputfile="$lt_outputfile.exe"
10076 lt_tool_outputfile="$lt_tool_outputfile.exe"
10079 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10080 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10081 $RM "$lt_outputfile.manifest";
10085 # Assume MSVC wrapper
10086 hardcode_libdir_flag_spec=' '
10087 allow_undefined_flag=unsupported
10088 # Tell ltmain to make .lib files, not .a files.
10090 # Tell ltmain to make .dll files, not .so files.
10092 # FIXME: Setting linknames here is a bad hack.
10093 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10094 # The linker will automatically build a .lib file if we build a DLL.
10095 old_archive_from_new_cmds='true'
10096 # FIXME: Should let the user specify the lib program.
10097 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10098 enable_shared_with_static_runtimes=yes
10103 darwin* | rhapsody*)
10106 archive_cmds_need_lc=no
10108 hardcode_automatic=yes
10109 hardcode_shlibpath_var=unsupported
10110 if test "$lt_cv_ld_force_load" = "yes"; then
10111 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\"`'
10114 whole_archive_flag_spec=''
10116 link_all_deplibs=yes
10117 allow_undefined_flag="$_lt_dar_allow_undefined"
10118 case $cc_basename in
10119 ifort*) _lt_dar_can_shared=yes ;;
10120 *) _lt_dar_can_shared=$GCC ;;
10122 if test "$_lt_dar_can_shared" = "yes"; then
10123 output_verbose_link_cmd=func_echo_all
10124 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10125 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10126 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}"
10127 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}"
10136 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10137 hardcode_libdir_flag_spec='-L$libdir'
10138 hardcode_shlibpath_var=no
10141 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10142 # support. Future versions do this automatically, but an explicit c++rt0.o
10143 # does not break anything, and helps significantly (at the cost of a little
10146 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10147 hardcode_libdir_flag_spec='-R$libdir'
10148 hardcode_direct=yes
10149 hardcode_shlibpath_var=no
10152 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10154 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10155 hardcode_direct=yes
10156 hardcode_minus_L=yes
10157 hardcode_shlibpath_var=no
10160 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10161 freebsd* | dragonfly*)
10162 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10163 hardcode_libdir_flag_spec='-R$libdir'
10164 hardcode_direct=yes
10165 hardcode_shlibpath_var=no
10169 if test "$GCC" = yes; then
10170 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'
10172 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'
10174 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10175 hardcode_libdir_separator=:
10176 hardcode_direct=yes
10178 # hardcode_minus_L: Not really in the search PATH,
10179 # but as the default location of the library.
10180 hardcode_minus_L=yes
10181 export_dynamic_flag_spec='${wl}-E'
10185 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10186 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10190 if test "$with_gnu_ld" = no; then
10191 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10192 hardcode_libdir_separator=:
10193 hardcode_direct=yes
10194 hardcode_direct_absolute=yes
10195 export_dynamic_flag_spec='${wl}-E'
10196 # hardcode_minus_L: Not really in the search PATH,
10197 # but as the default location of the library.
10198 hardcode_minus_L=yes
10203 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10206 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10212 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10225 # Older versions of the 11.00 compiler do not understand -b yet
10226 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10228 $as_echo_n "checking if $CC understands -b... " >&6; }
10229 if ${lt_cv_prog_compiler__b+:} false; then :
10230 $as_echo_n "(cached) " >&6
10232 lt_cv_prog_compiler__b=no
10233 save_LDFLAGS="$LDFLAGS"
10234 LDFLAGS="$LDFLAGS -b"
10235 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10236 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10237 # The linker can only warn and ignore the option if not recognized
10238 # So say no if there are warnings
10239 if test -s conftest.err; then
10240 # Append any errors to the config.log.
10241 cat conftest.err 1>&5
10242 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10244 if diff conftest.exp conftest.er2 >/dev/null; then
10245 lt_cv_prog_compiler__b=yes
10248 lt_cv_prog_compiler__b=yes
10252 LDFLAGS="$save_LDFLAGS"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10256 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10258 if test x"$lt_cv_prog_compiler__b" = xyes; then
10259 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10267 if test "$with_gnu_ld" = no; then
10268 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10269 hardcode_libdir_separator=:
10274 hardcode_shlibpath_var=no
10277 hardcode_direct=yes
10278 hardcode_direct_absolute=yes
10279 export_dynamic_flag_spec='${wl}-E'
10281 # hardcode_minus_L: Not really in the search PATH,
10282 # but as the default location of the library.
10283 hardcode_minus_L=yes
10289 irix5* | irix6* | nonstopux*)
10290 if test "$GCC" = yes; then
10291 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'
10292 # Try to use the -exported_symbol ld option, if it does not
10293 # work, assume that -exports_file does not work either and
10294 # implicitly export all symbols.
10295 # This should be the same for all languages, so no per-tag cache variable.
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10297 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10298 if ${lt_cv_irix_exported_symbol+:} false; then :
10299 $as_echo_n "(cached) " >&6
10301 save_LDFLAGS="$LDFLAGS"
10302 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int foo (void) { return 0; }
10307 if ac_fn_c_try_link "$LINENO"; then :
10308 lt_cv_irix_exported_symbol=yes
10310 lt_cv_irix_exported_symbol=no
10312 rm -f core conftest.err conftest.$ac_objext \
10313 conftest$ac_exeext conftest.$ac_ext
10314 LDFLAGS="$save_LDFLAGS"
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10317 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10318 if test "$lt_cv_irix_exported_symbol" = yes; then
10319 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'
10322 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'
10323 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'
10325 archive_cmds_need_lc='no'
10326 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10327 hardcode_libdir_separator=:
10329 link_all_deplibs=yes
10332 netbsd* | netbsdelf*-gnu)
10333 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10334 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10336 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10338 hardcode_libdir_flag_spec='-R$libdir'
10339 hardcode_direct=yes
10340 hardcode_shlibpath_var=no
10344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345 hardcode_direct=yes
10346 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10347 hardcode_libdir_separator=:
10348 hardcode_shlibpath_var=no
10355 if test -f /usr/libexec/ld.so; then
10356 hardcode_direct=yes
10357 hardcode_shlibpath_var=no
10358 hardcode_direct_absolute=yes
10359 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10360 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10362 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10363 export_dynamic_flag_spec='${wl}-E'
10366 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10367 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10368 hardcode_libdir_flag_spec='-R$libdir'
10371 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10372 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10382 hardcode_libdir_flag_spec='-L$libdir'
10383 hardcode_minus_L=yes
10384 allow_undefined_flag=unsupported
10385 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'
10386 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10390 if test "$GCC" = yes; then
10391 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10392 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'
10394 allow_undefined_flag=' -expect_unresolved \*'
10395 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'
10397 archive_cmds_need_lc='no'
10398 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10399 hardcode_libdir_separator=:
10402 osf4* | osf5*) # as osf3* with the addition of -msym flag
10403 if test "$GCC" = yes; then
10404 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10405 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'
10406 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10408 allow_undefined_flag=' -expect_unresolved \*'
10409 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'
10410 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~
10411 $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'
10413 # Both c and cxx compiler support -rpath directly
10414 hardcode_libdir_flag_spec='-rpath $libdir'
10416 archive_cmds_need_lc='no'
10417 hardcode_libdir_separator=:
10421 no_undefined_flag=' -z defs'
10422 if test "$GCC" = yes; then
10424 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10426 $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'
10428 case `$CC -V 2>&1` in
10431 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10432 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10433 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10437 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10438 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10439 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10443 hardcode_libdir_flag_spec='-R$libdir'
10444 hardcode_shlibpath_var=no
10446 solaris2.[0-5] | solaris2.[0-5].*) ;;
10448 # The compiler driver will combine and reorder linker options,
10449 # but understands `-z linker_flag'. GCC discards it without `$wl',
10450 # but is careful enough not to reorder.
10451 # Supported since Solaris 2.6 (maybe 2.5.1?)
10452 if test "$GCC" = yes; then
10453 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10455 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10459 link_all_deplibs=yes
10463 if test "x$host_vendor" = xsequent; then
10464 # Use $CC to link under sequent, because it throws in some extra .o
10465 # files that make .init and .fini sections work.
10466 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10468 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10470 hardcode_libdir_flag_spec='-L$libdir'
10471 hardcode_direct=yes
10472 hardcode_minus_L=yes
10473 hardcode_shlibpath_var=no
10477 case $host_vendor in
10479 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10480 hardcode_direct=yes # is this really true???
10483 ## LD is ld it makes a PLAMLIB
10484 ## CC just makes a GrossModule.
10485 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10486 reload_cmds='$CC -r -o $output$reload_objs'
10490 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10491 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10494 runpath_var='LD_RUN_PATH'
10495 hardcode_shlibpath_var=no
10499 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10500 hardcode_shlibpath_var=no
10501 export_dynamic_flag_spec='-Bexport'
10505 if test -d /usr/nec; then
10506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10507 hardcode_shlibpath_var=no
10508 runpath_var=LD_RUN_PATH
10509 hardcode_runpath_var=yes
10514 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10515 no_undefined_flag='${wl}-z,text'
10516 archive_cmds_need_lc=no
10517 hardcode_shlibpath_var=no
10518 runpath_var='LD_RUN_PATH'
10520 if test "$GCC" = yes; then
10521 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10522 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10524 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10525 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10529 sysv5* | sco3.2v5* | sco5v6*)
10530 # Note: We can NOT use -z defs as we might desire, because we do not
10531 # link with -lc, and that would cause any symbols used from libc to
10532 # always be unresolved, which means just about no library would
10533 # ever link correctly. If we're not using GNU ld we use -z text
10534 # though, which does catch some bad symbols but isn't as heavy-handed
10536 no_undefined_flag='${wl}-z,text'
10537 allow_undefined_flag='${wl}-z,nodefs'
10538 archive_cmds_need_lc=no
10539 hardcode_shlibpath_var=no
10540 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10541 hardcode_libdir_separator=':'
10542 link_all_deplibs=yes
10543 export_dynamic_flag_spec='${wl}-Bexport'
10544 runpath_var='LD_RUN_PATH'
10546 if test "$GCC" = yes; then
10547 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10548 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10550 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10557 hardcode_libdir_flag_spec='-L$libdir'
10558 hardcode_shlibpath_var=no
10566 if test x$host_vendor = xsni; then
10568 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10569 export_dynamic_flag_spec='${wl}-Blargedynsym'
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10576 $as_echo "$ld_shlibs" >&6; }
10577 test "$ld_shlibs" = no && can_build_shared=no
10579 with_gnu_ld=$with_gnu_ld
10596 # Do we need to explicitly link libc?
10598 case "x$archive_cmds_need_lc" in
10600 # Assume -lc should be added
10601 archive_cmds_need_lc=yes
10603 if test "$enable_shared" = yes && test "$GCC" = yes; then
10604 case $archive_cmds in
10606 # FIXME: we may have to deal with multi-command sequences.
10609 # Test whether the compiler implicitly links with -lc since on some
10610 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10611 # to ld, don't add -lc before -lgcc.
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10613 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10614 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10615 $as_echo_n "(cached) " >&6
10618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10621 (eval $ac_compile) 2>&5
10623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10624 test $ac_status = 0; } 2>conftest.err; then
10627 libobjs=conftest.$ac_objext
10629 wl=$lt_prog_compiler_wl
10630 pic_flag=$lt_prog_compiler_pic
10636 lt_save_allow_undefined_flag=$allow_undefined_flag
10637 allow_undefined_flag=
10638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10639 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10642 test $ac_status = 0; }
10644 lt_cv_archive_cmds_need_lc=no
10646 lt_cv_archive_cmds_need_lc=yes
10648 allow_undefined_flag=$lt_save_allow_undefined_flag
10650 cat conftest.err 1>&5
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10656 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10657 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10816 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10818 if test "$GCC" = yes; then
10820 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10821 *) lt_awk_arg="/^libraries:/" ;;
10824 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10825 *) lt_sed_strip_eq="s,=/,/,g" ;;
10827 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10828 case $lt_search_path_spec in
10830 # if the path contains ";" then we assume it to be the separator
10831 # otherwise default to the standard path separator (i.e. ":") - it is
10832 # assumed that no part of a normal pathname contains ";" but that should
10833 # okay in the real world where ";" in dirpaths is itself problematic.
10834 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10837 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10840 # Ok, now we have the path, separated by spaces, we can step through it
10841 # and add multilib dir if necessary.
10842 lt_tmp_lt_search_path_spec=
10843 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10844 for lt_sys_path in $lt_search_path_spec; do
10845 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10846 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10848 test -d "$lt_sys_path" && \
10849 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10852 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10853 BEGIN {RS=" "; FS="/|\n";} {
10856 for (lt_i = NF; lt_i > 0; lt_i--) {
10857 if ($lt_i != "" && $lt_i != ".") {
10858 if ($lt_i == "..") {
10861 if (lt_count == 0) {
10862 lt_foo="/" $lt_i lt_foo;
10869 if (lt_foo != "") { lt_freq[lt_foo]++; }
10870 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10872 # AWK program above erroneously prepends '/' to C:/dos/paths
10875 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10876 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10878 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10880 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10882 library_names_spec=
10883 libname_spec='lib$name'
10887 postuninstall_cmds=
10891 shlibpath_overrides_runpath=unknown
10893 dynamic_linker="$host_os ld.so"
10894 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10895 need_lib_prefix=unknown
10896 hardcode_into_libs=no
10898 # when you set need_version to no, make sure it does not cause -set_version
10899 # flags to be left without arguments
10900 need_version=unknown
10904 version_type=linux # correct to gnu/linux during the next big refactor
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10906 shlibpath_var=LIBPATH
10908 # AIX 3 has no versioning support, so we append a major version to the name.
10909 soname_spec='${libname}${release}${shared_ext}$major'
10913 version_type=linux # correct to gnu/linux during the next big refactor
10916 hardcode_into_libs=yes
10917 if test "$host_cpu" = ia64; then
10918 # AIX 5 supports IA64
10919 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10920 shlibpath_var=LD_LIBRARY_PATH
10922 # With GCC up to 2.95.x, collect2 would create an import file
10923 # for dependence libraries. The import file would start with
10924 # the line `#! .'. This would cause the generated library to
10925 # depend on `.', always an invalid library. This was fixed in
10926 # development snapshots of GCC prior to 3.0.
10928 aix4 | aix4.[01] | aix4.[01].*)
10929 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10931 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10934 can_build_shared=no
10938 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10939 # soname into executable. Probably we can add versioning support to
10940 # collect2, so additional links can be useful in future.
10941 if test "$aix_use_runtimelinking" = yes; then
10942 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10943 # instead of lib<name>.a to let people know that these are not
10944 # typical AIX shared libraries.
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 # We preserve .a as extension for shared libraries through AIX4.2
10948 # and later when we are not doing run time linking.
10949 library_names_spec='${libname}${release}.a $libname.a'
10950 soname_spec='${libname}${release}${shared_ext}$major'
10952 shlibpath_var=LIBPATH
10959 # Since July 2007 AmigaOS4 officially supports .so libraries.
10960 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964 library_names_spec='$libname.ixlibrary $libname.a'
10965 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10966 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'
10972 library_names_spec='${libname}${shared_ext}'
10973 dynamic_linker="$host_os ld.so"
10974 shlibpath_var=LIBRARY_PATH
10978 version_type=linux # correct to gnu/linux during the next big refactor
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10985 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10986 # the default ld.so.conf also contains /usr/contrib/lib and
10987 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10988 # libtool to hard-code these into programs
10991 cygwin* | mingw* | pw32* | cegcc*)
10992 version_type=windows
10997 case $GCC,$cc_basename in
11000 library_names_spec='$libname.dll.a'
11001 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11002 postinstall_cmds='base_file=`basename \${file}`~
11003 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11004 dldir=$destdir/`dirname \$dlpath`~
11005 test -d \$dldir || mkdir -p \$dldir~
11006 $install_prog $dir/$dlname \$dldir/$dlname~
11007 chmod a+x \$dldir/$dlname~
11008 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11009 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11011 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11012 dlpath=$dir/\$dldll~
11014 shlibpath_overrides_runpath=yes
11018 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11019 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11021 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11024 # MinGW DLLs use traditional 'lib' prefix
11025 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11028 # pw32 DLLs use 'pw' prefix rather than 'lib'
11029 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11032 dynamic_linker='Win32 ld.exe'
11037 libname_spec='$name'
11038 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11039 library_names_spec='${libname}.dll.lib'
11043 sys_lib_search_path_spec=
11046 for lt_path in $LIB
11049 # Let DOS variable expansion print the short 8.3 style file name.
11050 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11051 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11054 # Convert to MSYS style.
11055 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11058 # Convert to unix form, then to dos form, then back to unix form
11059 # but this time dos style (no spaces!) so that the unix form looks
11060 # like /cygdrive/c/PROGRA~1:/cygdr...
11061 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11062 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11063 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11066 sys_lib_search_path_spec="$LIB"
11067 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11068 # It is most probably a Windows format PATH.
11069 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11071 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11073 # FIXME: find the short name or the path components, as spaces are
11074 # common. (e.g. "Program Files" -> "PROGRA~1")
11078 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11079 postinstall_cmds='base_file=`basename \${file}`~
11080 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11081 dldir=$destdir/`dirname \$dlpath`~
11082 test -d \$dldir || mkdir -p \$dldir~
11083 $install_prog $dir/$dlname \$dldir/$dlname'
11084 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11085 dlpath=$dir/\$dldll~
11087 shlibpath_overrides_runpath=yes
11088 dynamic_linker='Win32 link.exe'
11092 # Assume MSVC wrapper
11093 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11094 dynamic_linker='Win32 ld.exe'
11097 # FIXME: first we should search . and the directory the executable is in
11101 darwin* | rhapsody*)
11102 dynamic_linker="$host_os dyld"
11103 version_type=darwin
11106 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11107 soname_spec='${libname}${release}${major}$shared_ext'
11108 shlibpath_overrides_runpath=yes
11109 shlibpath_var=DYLD_LIBRARY_PATH
11110 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11112 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11113 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11117 version_type=linux # correct to gnu/linux during the next big refactor
11120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11121 soname_spec='${libname}${release}${shared_ext}$major'
11122 shlibpath_var=LD_LIBRARY_PATH
11125 freebsd* | dragonfly*)
11126 # DragonFly does not have aout. When/if they implement a new
11127 # versioning mechanism, adjust this.
11128 if test -x /usr/bin/objformat; then
11129 objformat=`/usr/bin/objformat`
11132 freebsd[23].*) objformat=aout ;;
11133 *) objformat=elf ;;
11136 version_type=freebsd-$objformat
11137 case $version_type in
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11148 shlibpath_var=LD_LIBRARY_PATH
11151 shlibpath_overrides_runpath=yes
11153 freebsd3.[01]* | freebsdelf3.[01]*)
11154 shlibpath_overrides_runpath=yes
11155 hardcode_into_libs=yes
11157 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11158 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11159 shlibpath_overrides_runpath=no
11160 hardcode_into_libs=yes
11162 *) # from 4.6 on, and DragonFly
11163 shlibpath_overrides_runpath=yes
11164 hardcode_into_libs=yes
11170 version_type=linux # correct to gnu/linux during the next big refactor
11173 dynamic_linker="$host_os runtime_loader"
11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11175 soname_spec='${libname}${release}${shared_ext}$major'
11176 shlibpath_var=LIBRARY_PATH
11177 shlibpath_overrides_runpath=yes
11178 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11179 hardcode_into_libs=yes
11182 hpux9* | hpux10* | hpux11*)
11183 # Give a soname corresponding to the major version so that dld.sl refuses to
11184 # link against other versions.
11191 hardcode_into_libs=yes
11192 dynamic_linker="$host_os dld.so"
11193 shlibpath_var=LD_LIBRARY_PATH
11194 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 soname_spec='${libname}${release}${shared_ext}$major'
11197 if test "X$HPUX_IA64_MODE" = X32; then
11198 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11200 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11202 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11206 hardcode_into_libs=yes
11207 dynamic_linker="$host_os dld.sl"
11208 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11209 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11211 soname_spec='${libname}${release}${shared_ext}$major'
11212 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11213 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11217 dynamic_linker="$host_os dld.sl"
11218 shlibpath_var=SHLIB_PATH
11219 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 soname_spec='${libname}${release}${shared_ext}$major'
11224 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11225 postinstall_cmds='chmod 555 $lib'
11226 # or fails outright, so override atomically:
11227 install_override_mode=555
11231 version_type=linux # correct to gnu/linux during the next big refactor
11234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11235 soname_spec='${libname}${release}${shared_ext}$major'
11236 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11237 shlibpath_var=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath=no
11239 hardcode_into_libs=yes
11242 irix5* | irix6* | nonstopux*)
11244 nonstopux*) version_type=nonstopux ;;
11246 if test "$lt_cv_prog_gnu_ld" = yes; then
11247 version_type=linux # correct to gnu/linux during the next big refactor
11254 soname_spec='${libname}${release}${shared_ext}$major'
11255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11257 irix5* | nonstopux*)
11258 libsuff= shlibsuff=
11261 case $LD in # libtool.m4 will add one of these switches to LD
11262 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11263 libsuff= shlibsuff= libmagic=32-bit;;
11264 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11265 libsuff=32 shlibsuff=N32 libmagic=N32;;
11266 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11267 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11268 *) libsuff= shlibsuff= libmagic=never-match;;
11272 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11273 shlibpath_overrides_runpath=no
11274 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11275 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11276 hardcode_into_libs=yes
11279 # No shared lib support for Linux oldld, aout, or coff.
11280 linux*oldld* | linux*aout* | linux*coff*)
11284 # This must be glibc/ELF.
11285 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11286 version_type=linux # correct to gnu/linux during the next big refactor
11289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11290 soname_spec='${libname}${release}${shared_ext}$major'
11291 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11292 shlibpath_var=LD_LIBRARY_PATH
11293 shlibpath_overrides_runpath=no
11295 # Some binutils ld are patched to set DT_RUNPATH
11296 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11297 $as_echo_n "(cached) " >&6
11299 lt_cv_shlibpath_overrides_runpath=no
11300 save_LDFLAGS=$LDFLAGS
11301 save_libdir=$libdir
11302 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11303 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11317 lt_cv_shlibpath_overrides_runpath=yes
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LDFLAGS=$save_LDFLAGS
11323 libdir=$save_libdir
11327 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11329 # This implies no fast_install, which is unacceptable.
11330 # Some rework will be needed to allow for fast_install
11331 # before this can be enabled.
11332 hardcode_into_libs=yes
11334 # Append ld.so.conf contents to the search path
11335 if test -f /etc/ld.so.conf; then
11336 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' ' '`
11337 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11340 # We used to test for /lib/ld.so.1 and disable shared libraries on
11341 # powerpc, because MkLinux only supported shared libraries with the
11342 # GNU dynamic linker. Since this was broken with cross compilers,
11343 # most powerpc-linux boxes support dynamic linking these days and
11344 # people can always --disable-shared, the test was removed, and we
11345 # assume the GNU/Linux dynamic linker is in use.
11346 dynamic_linker='GNU/Linux ld.so'
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11355 shlibpath_var=LD_LIBRARY_PATH
11356 shlibpath_overrides_runpath=no
11357 hardcode_into_libs=yes
11358 dynamic_linker='NetBSD ld.elf_so'
11365 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11368 dynamic_linker='NetBSD (a.out) ld.so'
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 dynamic_linker='NetBSD ld.elf_so'
11374 shlibpath_var=LD_LIBRARY_PATH
11375 shlibpath_overrides_runpath=yes
11376 hardcode_into_libs=yes
11380 version_type=linux # correct to gnu/linux during the next big refactor
11381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382 shlibpath_var=LD_LIBRARY_PATH
11383 shlibpath_overrides_runpath=yes
11390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391 soname_spec='${libname}${release}${shared_ext}$major'
11392 shlibpath_var=LD_LIBRARY_PATH
11393 shlibpath_overrides_runpath=no
11394 hardcode_into_libs=yes
11395 dynamic_linker='ldqnx.so'
11400 sys_lib_dlsearch_path_spec="/usr/lib"
11402 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11404 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11405 *) need_version=no ;;
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11408 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11409 shlibpath_var=LD_LIBRARY_PATH
11410 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11412 openbsd2.[89] | openbsd2.[89].*)
11413 shlibpath_overrides_runpath=no
11416 shlibpath_overrides_runpath=yes
11420 shlibpath_overrides_runpath=yes
11425 libname_spec='$name'
11428 library_names_spec='$libname${shared_ext} $libname.a'
11429 dynamic_linker='OS/2 ld.exe'
11430 shlibpath_var=LIBPATH
11433 osf3* | osf4* | osf5*)
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11439 shlibpath_var=LD_LIBRARY_PATH
11440 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11441 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11449 version_type=linux # correct to gnu/linux during the next big refactor
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11453 soname_spec='${libname}${release}${shared_ext}$major'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=yes
11456 hardcode_into_libs=yes
11457 # ldd complains unless libraries are executable
11458 postinstall_cmds='chmod +x $lib'
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11464 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11465 shlibpath_var=LD_LIBRARY_PATH
11466 shlibpath_overrides_runpath=yes
11467 if test "$with_gnu_ld" = yes; then
11474 version_type=linux # correct to gnu/linux during the next big refactor
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 soname_spec='${libname}${release}${shared_ext}$major'
11477 shlibpath_var=LD_LIBRARY_PATH
11478 case $host_vendor in
11480 shlibpath_overrides_runpath=no
11482 runpath_var=LD_RUN_PATH
11490 shlibpath_overrides_runpath=no
11491 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11497 if test -d /usr/nec ;then
11498 version_type=linux # correct to gnu/linux during the next big refactor
11499 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11500 soname_spec='$libname${shared_ext}.$major'
11501 shlibpath_var=LD_LIBRARY_PATH
11505 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11506 version_type=freebsd-elf
11509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11510 soname_spec='${libname}${release}${shared_ext}$major'
11511 shlibpath_var=LD_LIBRARY_PATH
11512 shlibpath_overrides_runpath=yes
11513 hardcode_into_libs=yes
11514 if test "$with_gnu_ld" = yes; then
11515 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11517 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11520 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11524 sys_lib_dlsearch_path_spec='/usr/lib'
11528 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11529 version_type=linux # correct to gnu/linux during the next big refactor
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 shlibpath_var=LD_LIBRARY_PATH
11534 shlibpath_overrides_runpath=no
11535 hardcode_into_libs=yes
11539 version_type=linux # correct to gnu/linux during the next big refactor
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 shlibpath_var=LD_LIBRARY_PATH
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11550 $as_echo "$dynamic_linker" >&6; }
11551 test "$dynamic_linker" = no && can_build_shared=no
11553 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11554 if test "$GCC" = yes; then
11555 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11558 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11559 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11561 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11562 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11657 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11659 if test -n "$hardcode_libdir_flag_spec" ||
11660 test -n "$runpath_var" ||
11661 test "X$hardcode_automatic" = "Xyes" ; then
11663 # We can hardcode non-existent directories.
11664 if test "$hardcode_direct" != no &&
11665 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11666 # have to relink, otherwise we might link with an installed library
11667 # when we should be linking with a yet-to-be-installed one
11668 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11669 test "$hardcode_minus_L" != no; then
11670 # Linking always hardcodes the temporary library directory.
11671 hardcode_action=relink
11673 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11674 hardcode_action=immediate
11677 # We cannot hardcode anything, or else we can only hardcode existing
11679 hardcode_action=unsupported
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11682 $as_echo "$hardcode_action" >&6; }
11684 if test "$hardcode_action" = relink ||
11685 test "$inherit_rpath" = yes; then
11686 # Fast installation is not supported
11687 enable_fast_install=no
11688 elif test "$shlibpath_overrides_runpath" = yes ||
11689 test "$enable_shared" = no; then
11690 # Fast installation is not necessary
11691 enable_fast_install=needless
11699 if test "x$enable_dlopen" != xyes; then
11700 enable_dlopen=unknown
11701 enable_dlopen_self=unknown
11702 enable_dlopen_self_static=unknown
11709 lt_cv_dlopen="load_add_on"
11711 lt_cv_dlopen_self=yes
11714 mingw* | pw32* | cegcc*)
11715 lt_cv_dlopen="LoadLibrary"
11720 lt_cv_dlopen="dlopen"
11725 # if libdl is installed we need to link against it
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11727 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11728 if ${ac_cv_lib_dl_dlopen+:} false; then :
11729 $as_echo_n "(cached) " >&6
11731 ac_check_lib_save_LIBS=$LIBS
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11751 if ac_fn_c_try_link "$LINENO"; then :
11752 ac_cv_lib_dl_dlopen=yes
11754 ac_cv_lib_dl_dlopen=no
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_lib_save_LIBS
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11761 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11762 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11763 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11766 lt_cv_dlopen="dyld"
11768 lt_cv_dlopen_self=yes
11775 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11776 if test "x$ac_cv_func_shl_load" = xyes; then :
11777 lt_cv_dlopen="shl_load"
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11780 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11781 if ${ac_cv_lib_dld_shl_load+:} false; then :
11782 $as_echo_n "(cached) " >&6
11784 ac_check_lib_save_LIBS=$LIBS
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11799 return shl_load ();
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 ac_cv_lib_dld_shl_load=yes
11807 ac_cv_lib_dld_shl_load=no
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_lib_save_LIBS
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11814 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11815 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11816 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11818 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11819 if test "x$ac_cv_func_dlopen" = xyes; then :
11820 lt_cv_dlopen="dlopen"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11823 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11824 if ${ac_cv_lib_dl_dlopen+:} false; then :
11825 $as_echo_n "(cached) " >&6
11827 ac_check_lib_save_LIBS=$LIBS
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 ac_cv_lib_dl_dlopen=yes
11850 ac_cv_lib_dl_dlopen=no
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_lib_save_LIBS
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11857 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11858 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11859 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11862 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11863 if ${ac_cv_lib_svld_dlopen+:} false; then :
11864 $as_echo_n "(cached) " >&6
11866 ac_check_lib_save_LIBS=$LIBS
11867 LIBS="-lsvld $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_svld_dlopen=yes
11889 ac_cv_lib_svld_dlopen=no
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11896 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11897 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11898 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11901 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11902 if ${ac_cv_lib_dld_dld_link+:} false; then :
11903 $as_echo_n "(cached) " >&6
11905 ac_check_lib_save_LIBS=$LIBS
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11920 return dld_link ();
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 ac_cv_lib_dld_dld_link=yes
11928 ac_cv_lib_dld_dld_link=no
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 LIBS=$ac_check_lib_save_LIBS
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11935 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11936 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11937 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11958 if test "x$lt_cv_dlopen" != xno; then
11964 case $lt_cv_dlopen in
11966 save_CPPFLAGS="$CPPFLAGS"
11967 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11969 save_LDFLAGS="$LDFLAGS"
11970 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11973 LIBS="$lt_cv_dlopen_libs $LIBS"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11976 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11977 if ${lt_cv_dlopen_self+:} false; then :
11978 $as_echo_n "(cached) " >&6
11980 if test "$cross_compiling" = yes; then :
11981 lt_cv_dlopen_self=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=yes ;;
12064 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12065 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12068 # compilation failed
12069 lt_cv_dlopen_self=no
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12077 $as_echo "$lt_cv_dlopen_self" >&6; }
12079 if test "x$lt_cv_dlopen_self" = xyes; then
12080 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12082 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12083 if ${lt_cv_dlopen_self_static+:} false; then :
12084 $as_echo_n "(cached) " >&6
12086 if test "$cross_compiling" = yes; then :
12087 lt_cv_dlopen_self_static=cross
12089 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12090 lt_status=$lt_dlunknown
12091 cat > conftest.$ac_ext <<_LT_EOF
12092 #line $LINENO "configure"
12093 #include "confdefs.h"
12102 # define LT_DLGLOBAL RTLD_GLOBAL
12105 # define LT_DLGLOBAL DL_GLOBAL
12107 # define LT_DLGLOBAL 0
12111 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12112 find out it does not work in some platform. */
12113 #ifndef LT_DLLAZY_OR_NOW
12115 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12118 # define LT_DLLAZY_OR_NOW DL_LAZY
12121 # define LT_DLLAZY_OR_NOW RTLD_NOW
12124 # define LT_DLLAZY_OR_NOW DL_NOW
12126 # define LT_DLLAZY_OR_NOW 0
12133 /* When -fvisbility=hidden is used, assume the code has been annotated
12134 correspondingly for the symbols needed. */
12135 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12136 int fnord () __attribute__((visibility("default")));
12139 int fnord () { return 42; }
12142 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12143 int status = $lt_dlunknown;
12147 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12150 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12151 else puts (dlerror ());
12153 /* dlclose (self); */
12161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12162 (eval $ac_link) 2>&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12165 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12166 (./conftest; exit; ) >&5 2>/dev/null
12168 case x$lt_status in
12169 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12170 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12171 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12174 # compilation failed
12175 lt_cv_dlopen_self_static=no
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12183 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12186 CPPFLAGS="$save_CPPFLAGS"
12187 LDFLAGS="$save_LDFLAGS"
12192 case $lt_cv_dlopen_self in
12193 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12194 *) enable_dlopen_self=unknown ;;
12197 case $lt_cv_dlopen_self_static in
12198 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12199 *) enable_dlopen_self_static=unknown ;;
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12222 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12223 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12224 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12225 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12227 $as_echo "yes" >&6; }
12229 # FIXME - insert some real tests, host_os isn't really good enough
12232 if test -n "$STRIP" ; then
12233 striplib="$STRIP -x"
12234 old_striplib="$STRIP -S"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12236 $as_echo "yes" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 $as_echo "no" >&6; }
12260 # Report which library types will actually be built
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12262 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12264 $as_echo "$can_build_shared" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12267 $as_echo_n "checking whether to build shared libraries... " >&6; }
12268 test "$can_build_shared" = "no" && enable_shared=no
12270 # On AIX, shared libraries and static libraries use the same namespace, and
12271 # are all built from PIC.
12274 test "$enable_shared" = yes && enable_static=no
12275 if test -n "$RANLIB"; then
12276 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12277 postinstall_cmds='$RANLIB $lib'
12282 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12283 test "$enable_shared" = yes && enable_static=no
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12288 $as_echo "$enable_shared" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12291 $as_echo_n "checking whether to build static libraries... " >&6; }
12292 # Make sure either enable_shared or enable_static is yes.
12293 test "$enable_shared" = yes || enable_static=yes
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12295 $as_echo "$enable_static" >&6; }
12302 ac_cpp='$CPP $CPPFLAGS'
12303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12323 ac_config_commands="$ac_config_commands libtool"
12328 # Only expand once:
12339 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12340 if test -n "$ac_tool_prefix"; then
12341 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12342 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12346 $as_echo_n "(cached) " >&6
12348 case $PKG_CONFIG in
12350 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12372 if test -n "$PKG_CONFIG"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12374 $as_echo "$PKG_CONFIG" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12382 if test -z "$ac_cv_path_PKG_CONFIG"; then
12383 ac_pt_PKG_CONFIG=$PKG_CONFIG
12384 # Extract the first word of "pkg-config", so it can be a program name with args.
12385 set dummy pkg-config; ac_word=$2
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12387 $as_echo_n "checking for $ac_word... " >&6; }
12388 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12389 $as_echo_n "(cached) " >&6
12391 case $ac_pt_PKG_CONFIG in
12393 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12414 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12415 if test -n "$ac_pt_PKG_CONFIG"; then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12417 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12423 if test "x$ac_pt_PKG_CONFIG" = x; then
12426 case $cross_compiling:$ac_tool_warned in
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12430 ac_tool_warned=yes ;;
12432 PKG_CONFIG=$ac_pt_PKG_CONFIG
12435 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12439 if test -n "$PKG_CONFIG"; then
12440 _pkg_min_version=0.9.0
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12442 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12443 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12445 $as_echo "yes" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSSDP" >&5
12455 $as_echo_n "checking for LIBGSSDP... " >&6; }
12457 if test -n "$LIBGSSDP_CFLAGS"; then
12458 pkg_cv_LIBGSSDP_CFLAGS="$LIBGSSDP_CFLAGS"
12459 elif test -n "$PKG_CONFIG"; then
12460 if test -n "$PKG_CONFIG" && \
12461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32 \\
12462 gobject-2.0 >= 2.32 \\
12464 libsoup-2.4 >= 2.26.1\""; } >&5
12465 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12466 gobject-2.0 >= 2.32 \
12468 libsoup-2.4 >= 2.26.1") 2>&5
12470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12471 test $ac_status = 0; }; then
12472 pkg_cv_LIBGSSDP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32 \
12473 gobject-2.0 >= 2.32 \
12475 libsoup-2.4 >= 2.26.1" 2>/dev/null`
12476 test "x$?" != "x0" && pkg_failed=yes
12483 if test -n "$LIBGSSDP_LIBS"; then
12484 pkg_cv_LIBGSSDP_LIBS="$LIBGSSDP_LIBS"
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 \"glib-2.0 >= 2.32 \\
12488 gobject-2.0 >= 2.32 \\
12490 libsoup-2.4 >= 2.26.1\""; } >&5
12491 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12492 gobject-2.0 >= 2.32 \
12494 libsoup-2.4 >= 2.26.1") 2>&5
12496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12497 test $ac_status = 0; }; then
12498 pkg_cv_LIBGSSDP_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32 \
12499 gobject-2.0 >= 2.32 \
12501 libsoup-2.4 >= 2.26.1" 2>/dev/null`
12502 test "x$?" != "x0" && pkg_failed=yes
12512 if test $pkg_failed = yes; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12514 $as_echo "no" >&6; }
12516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12517 _pkg_short_errors_supported=yes
12519 _pkg_short_errors_supported=no
12521 if test $_pkg_short_errors_supported = yes; then
12522 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12523 gobject-2.0 >= 2.32 \
12525 libsoup-2.4 >= 2.26.1" 2>&1`
12527 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12528 gobject-2.0 >= 2.32 \
12530 libsoup-2.4 >= 2.26.1" 2>&1`
12532 # Put the nasty error message in config.log where it belongs
12533 echo "$LIBGSSDP_PKG_ERRORS" >&5
12535 as_fn_error $? "Package requirements (glib-2.0 >= 2.32 \
12536 gobject-2.0 >= 2.32 \
12538 libsoup-2.4 >= 2.26.1) were not met:
12540 $LIBGSSDP_PKG_ERRORS
12542 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12543 installed software in a non-standard prefix.
12545 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12546 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12547 See the pkg-config man page for more details." "$LINENO" 5
12548 elif test $pkg_failed = untried; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12553 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12554 is in your PATH or set the PKG_CONFIG environment variable to the full
12555 path to pkg-config.
12557 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12558 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12559 See the pkg-config man page for more details.
12561 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12562 See \`config.log' for more details" "$LINENO" 5; }
12564 LIBGSSDP_CFLAGS=$pkg_cv_LIBGSSDP_CFLAGS
12565 LIBGSSDP_LIBS=$pkg_cv_LIBGSSDP_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12567 $as_echo "yes" >&6; }
12571 LIBGTK_REQUIRED=3.0
12574 # Check whether --with-gtk was given.
12575 if test "${with_gtk+set}" = set; then :
12576 withval=$with_gtk; try_gtk=$withval
12583 if test x$try_gtk = xyes ; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGTK" >&5
12587 $as_echo_n "checking for LIBGTK... " >&6; }
12589 if test -n "$LIBGTK_CFLAGS"; then
12590 pkg_cv_LIBGTK_CFLAGS="$LIBGTK_CFLAGS"
12591 elif test -n "$PKG_CONFIG"; then
12592 if test -n "$PKG_CONFIG" && \
12593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12594 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12597 test $ac_status = 0; }; then
12598 pkg_cv_LIBGTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12599 test "x$?" != "x0" && pkg_failed=yes
12606 if test -n "$LIBGTK_LIBS"; then
12607 pkg_cv_LIBGTK_LIBS="$LIBGTK_LIBS"
12608 elif test -n "$PKG_CONFIG"; then
12609 if test -n "$PKG_CONFIG" && \
12610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12611 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12614 test $ac_status = 0; }; then
12615 pkg_cv_LIBGTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12616 test "x$?" != "x0" && pkg_failed=yes
12626 if test $pkg_failed = yes; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
12630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12631 _pkg_short_errors_supported=yes
12633 _pkg_short_errors_supported=no
12635 if test $_pkg_short_errors_supported = yes; then
12636 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12638 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12640 # Put the nasty error message in config.log where it belongs
12641 echo "$LIBGTK_PKG_ERRORS" >&5
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12646 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12648 elif test $pkg_failed = untried; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12650 $as_echo "no" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12654 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12657 LIBGTK_CFLAGS=$pkg_cv_LIBGTK_CFLAGS
12658 LIBGTK_LIBS=$pkg_cv_LIBGTK_LIBS
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12660 $as_echo "yes" >&6; }
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: gtk+ usage disabled, some tools may not build." >&5
12669 $as_echo "$as_me: gtk+ usage disabled, some tools may not build." >&6;}
12672 if test x$HAVE_LIBGTK = xno; then
12677 $as_echo "#define HAVE_LIBGTK /**/" >>confdefs.h
12682 if test x$USE_LIBGTK = xyes; then
12684 USE_LIBGTK_FALSE='#'
12686 USE_LIBGTK_TRUE='#'
12692 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12696 # Check whether --enable-debug was given.
12697 if test "${enable_debug+set}" = set; then :
12698 enableval=$enable_debug;
12703 if test "x$enable_debug" = "xyes"; then
12704 CFLAGS="$CFLAGS -g -Wall"
12707 # Check whether --enable-strict-c was given.
12708 if test "${enable_strict_c+set}" = set; then :
12709 enableval=$enable_strict_c;
12714 if test "x$enable_strict_c" = "xyes"; then :
12715 CFLAGS="$CFLAGS -Werror"
12721 # Check whether --enable-introspection was given.
12722 if test "${enable_introspection+set}" = set; then :
12723 enableval=$enable_introspection;
12725 enable_introspection=auto
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12730 $as_echo_n "checking for gobject-introspection... " >&6; }
12732 case $enable_introspection in #(
12734 found_introspection="no (disabled, use --enable-introspection to enable)"
12737 if test -n "$PKG_CONFIG" && \
12738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12739 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12742 test $ac_status = 0; }; then
12745 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12747 if test -n "$PKG_CONFIG" && \
12748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12749 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752 test $ac_status = 0; }; then
12753 found_introspection=yes
12755 as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build gssdp" "$LINENO" 5
12759 if test -n "$PKG_CONFIG" && \
12760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12761 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12764 test $ac_status = 0; }; then
12765 found_introspection=yes
12767 found_introspection=no
12771 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12775 $as_echo "$found_introspection" >&6; }
12777 INTROSPECTION_SCANNER=
12778 INTROSPECTION_COMPILER=
12779 INTROSPECTION_GENERATE=
12780 INTROSPECTION_GIRDIR=
12781 INTROSPECTION_TYPELIBDIR=
12782 if test "x$found_introspection" = "xyes"; then
12783 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12784 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12785 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12786 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12787 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12788 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12789 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12790 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12801 if test "x$found_introspection" = "xyes"; then
12802 HAVE_INTROSPECTION_TRUE=
12803 HAVE_INTROSPECTION_FALSE='#'
12805 HAVE_INTROSPECTION_TRUE='#'
12806 HAVE_INTROSPECTION_FALSE=
12814 if test "x$found_introspection" = "xyes"; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12817 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12818 VAPIGEN_MIN_VERSION=0.14
12819 if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12822 $as_echo "yes" >&6; }
12823 VAPIGEN_MIN_VERSION=0.20
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12830 # Extract the first word of "vapigen", so it can be a program name with args.
12831 set dummy vapigen; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if ${ac_cv_path_VAPIGEN+:} false; then :
12835 $as_echo_n "(cached) " >&6
12839 ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12849 ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 VAPIGEN=$ac_cv_path_VAPIGEN
12861 if test -n "$VAPIGEN"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12863 $as_echo "$VAPIGEN" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12870 if test -z "$VAPIGEN"; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12872 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12874 if test -n "$VAPIGEN_MIN_VERSION"; then :
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12876 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12877 am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
12878 as_arg_v1=$VAPIGEN_MIN_VERSION
12879 as_arg_v2="$am__vapigen_version"
12880 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12884 $as_echo "yes" >&6; } ;; #(
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12887 $as_echo "yes" >&6; } ;; #(
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12892 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12904 if test "x$VAPIGEN" != "x"; then :
12907 if test "x$VAPIGEN" != "x"; then
12909 HAVE_VAPIGEN_FALSE='#'
12911 HAVE_VAPIGEN_TRUE='#'
12912 HAVE_VAPIGEN_FALSE=
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
12917 $as_echo_n "checking for Win32... " >&6; }
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12927 $as_echo "$os_win32" >&6; }
12928 if test $os_win32 = yes; then
12940 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12941 set dummy gtkdoc-check; ac_word=$2
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12943 $as_echo_n "checking for $ac_word... " >&6; }
12944 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12945 $as_echo_n "(cached) " >&6
12947 case $GTKDOC_CHECK in
12949 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12953 for as_dir in $PATH
12956 test -z "$as_dir" && as_dir=.
12957 for ac_exec_ext in '' $ac_executable_extensions; do
12958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12959 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12970 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12971 if test -n "$GTKDOC_CHECK"; then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12973 $as_echo "$GTKDOC_CHECK" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12976 $as_echo "no" >&6; }
12980 for ac_prog in gtkdoc-rebase
12982 # Extract the first word of "$ac_prog", so it can be a program name with args.
12983 set dummy $ac_prog; ac_word=$2
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12985 $as_echo_n "checking for $ac_word... " >&6; }
12986 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12987 $as_echo_n "(cached) " >&6
12989 case $GTKDOC_REBASE in
12991 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13012 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13013 if test -n "$GTKDOC_REBASE"; then
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13015 $as_echo "$GTKDOC_REBASE" >&6; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13018 $as_echo "no" >&6; }
13022 test -n "$GTKDOC_REBASE" && break
13024 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13026 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13027 set dummy gtkdoc-mkpdf; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13029 $as_echo_n "checking for $ac_word... " >&6; }
13030 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13031 $as_echo_n "(cached) " >&6
13033 case $GTKDOC_MKPDF in
13035 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13045 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13057 if test -n "$GTKDOC_MKPDF"; then
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13059 $as_echo "$GTKDOC_MKPDF" >&6; }
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13062 $as_echo "no" >&6; }
13068 # Check whether --with-html-dir was given.
13069 if test "${with_html_dir+set}" = set; then :
13070 withval=$with_html_dir;
13072 with_html_dir='${datadir}/gtk-doc/html'
13075 HTML_DIR="$with_html_dir"
13078 # Check whether --enable-gtk-doc was given.
13079 if test "${enable_gtk_doc+set}" = set; then :
13080 enableval=$enable_gtk_doc;
13086 if test x$enable_gtk_doc = xyes; then
13087 if test -n "$PKG_CONFIG" && \
13088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
13089 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092 test $ac_status = 0; }; then
13095 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
13097 if test "x$PACKAGE_NAME" != "xglib"; then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13101 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13103 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13104 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13105 elif test -n "$PKG_CONFIG"; then
13106 if test -n "$PKG_CONFIG" && \
13107 { { $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
13108 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13111 test $ac_status = 0; }; then
13112 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13113 test "x$?" != "x0" && pkg_failed=yes
13120 if test -n "$GTKDOC_DEPS_LIBS"; then
13121 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13122 elif test -n "$PKG_CONFIG"; then
13123 if test -n "$PKG_CONFIG" && \
13124 { { $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
13125 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128 test $ac_status = 0; }; then
13129 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13130 test "x$?" != "x0" && pkg_failed=yes
13140 if test $pkg_failed = yes; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13145 _pkg_short_errors_supported=yes
13147 _pkg_short_errors_supported=no
13149 if test $_pkg_short_errors_supported = yes; then
13150 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`
13152 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13154 # Put the nasty error message in config.log where it belongs
13155 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13157 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13159 $GTKDOC_DEPS_PKG_ERRORS
13161 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13162 installed software in a non-standard prefix.
13164 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13165 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13166 See the pkg-config man page for more details." "$LINENO" 5
13167 elif test $pkg_failed = untried; then
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169 $as_echo "no" >&6; }
13170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13172 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13173 is in your PATH or set the PKG_CONFIG environment variable to the full
13174 path to pkg-config.
13176 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13177 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13178 See the pkg-config man page for more details.
13180 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13181 See \`config.log' for more details" "$LINENO" 5; }
13183 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13184 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13186 $as_echo "yes" >&6; }
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13193 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13195 $as_echo "$enable_gtk_doc" >&6; }
13197 # Check whether --enable-gtk-doc-html was given.
13198 if test "${enable_gtk_doc_html+set}" = set; then :
13199 enableval=$enable_gtk_doc_html;
13201 enable_gtk_doc_html=yes
13204 # Check whether --enable-gtk-doc-pdf was given.
13205 if test "${enable_gtk_doc_pdf+set}" = set; then :
13206 enableval=$enable_gtk_doc_pdf;
13208 enable_gtk_doc_pdf=no
13212 if test -z "$GTKDOC_MKPDF"; then
13213 enable_gtk_doc_pdf=no
13217 if test x$enable_gtk_doc = xyes; then
13218 ENABLE_GTK_DOC_TRUE=
13219 ENABLE_GTK_DOC_FALSE='#'
13221 ENABLE_GTK_DOC_TRUE='#'
13222 ENABLE_GTK_DOC_FALSE=
13225 if test x$enable_gtk_doc_html = xyes; then
13226 GTK_DOC_BUILD_HTML_TRUE=
13227 GTK_DOC_BUILD_HTML_FALSE='#'
13229 GTK_DOC_BUILD_HTML_TRUE='#'
13230 GTK_DOC_BUILD_HTML_FALSE=
13233 if test x$enable_gtk_doc_pdf = xyes; then
13234 GTK_DOC_BUILD_PDF_TRUE=
13235 GTK_DOC_BUILD_PDF_FALSE='#'
13237 GTK_DOC_BUILD_PDF_TRUE='#'
13238 GTK_DOC_BUILD_PDF_FALSE=
13241 if test -n "$LIBTOOL"; then
13242 GTK_DOC_USE_LIBTOOL_TRUE=
13243 GTK_DOC_USE_LIBTOOL_FALSE='#'
13245 GTK_DOC_USE_LIBTOOL_TRUE='#'
13246 GTK_DOC_USE_LIBTOOL_FALSE=
13249 if test -n "$GTKDOC_REBASE"; then
13250 GTK_DOC_USE_REBASE_TRUE=
13251 GTK_DOC_USE_REBASE_FALSE='#'
13253 GTK_DOC_USE_REBASE_TRUE='#'
13254 GTK_DOC_USE_REBASE_FALSE=
13259 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"
13261 cat >confcache <<\_ACEOF
13262 # This file is a shell script that caches the results of configure
13263 # tests run on this system so they can be shared between configure
13264 # scripts and configure runs, see configure's option --config-cache.
13265 # It is not useful on other systems. If it contains results you don't
13266 # want to keep, you may remove or edit it.
13268 # config.status only pays attention to the cache file if you give it
13269 # the --recheck option to rerun configure.
13271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13273 # following values.
13277 # The following way of writing the cache mishandles newlines in values,
13278 # but we know of no workaround that is simple, portable, and efficient.
13279 # So, we kill variables containing newlines.
13280 # Ultrix sh set writes to stderr and can't be redirected directly,
13281 # and sets the high bit in the cache file unless we assign to the vars.
13283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13284 eval ac_val=\$$ac_var
13288 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13292 _ | IFS | as_nl) ;; #(
13293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13294 *) { eval $ac_var=; unset $ac_var;} ;;
13300 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13301 *${as_nl}ac_space=\ *)
13302 # `set' does not quote correctly, so add quotes: double-quote
13303 # substitution turns \\\\ into \\, and sed turns \\ into \.
13306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13309 # `set' quotes correctly as required by POSIX, so do not add quotes.
13310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13323 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13324 if test -w "$cache_file"; then
13325 if test "x$cache_file" != "x/dev/null"; then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13327 $as_echo "$as_me: updating cache $cache_file" >&6;}
13328 if test ! -f "$cache_file" || test -h "$cache_file"; then
13329 cat confcache >"$cache_file"
13331 case $cache_file in #(
13333 mv -f confcache "$cache_file"$$ &&
13334 mv -f "$cache_file"$$ "$cache_file" ;; #(
13336 mv -f confcache "$cache_file" ;;
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13342 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13347 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13348 # Let make expand exec_prefix.
13349 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13351 DEFS=-DHAVE_CONFIG_H
13356 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13357 # 1. Remove the extension, and $U if already installed.
13358 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13359 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13360 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13361 # will be set to the directory where LIBOBJS objects are built.
13362 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13363 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13365 LIBOBJS=$ac_libobjs
13367 LTLIBOBJS=$ac_ltlibobjs
13370 if test -n "$EXEEXT"; then
13372 am__EXEEXT_FALSE='#'
13374 am__EXEEXT_TRUE='#'
13378 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13379 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13382 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13383 as_fn_error $? "conditional \"AMDEP\" was never defined.
13384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13387 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13391 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13394 if test -z "${USE_LIBGTK_TRUE}" && test -z "${USE_LIBGTK_FALSE}"; then
13395 as_fn_error $? "conditional \"USE_LIBGTK\" was never defined.
13396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13398 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13399 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13402 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13403 as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13406 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13407 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13410 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13411 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13414 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13415 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13418 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13419 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13422 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13423 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13426 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13427 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13431 : "${CONFIG_STATUS=./config.status}"
13433 ac_clean_files_save=$ac_clean_files
13434 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13436 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13438 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13440 # Generated by $as_me.
13441 # Run this file to recreate the current configuration.
13442 # Compiler output produced by configure, useful for debugging
13443 # configure, is in config.log if it exists.
13446 ac_cs_recheck=false
13449 SHELL=\${CONFIG_SHELL-$SHELL}
13452 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13453 ## -------------------- ##
13454 ## M4sh Initialization. ##
13455 ## -------------------- ##
13457 # Be more Bourne compatible
13458 DUALCASE=1; export DUALCASE # for MKS sh
13459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13462 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13463 # is contrary to our usage. Disable this feature.
13464 alias -g '${1+"$@"}'='"$@"'
13465 setopt NO_GLOB_SUBST
13467 case `(set -o) 2>/dev/null` in #(
13479 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13480 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13483 # Prefer a ksh shell builtin over an external printf program on Solaris,
13484 # but without wasting forks for bash or zsh.
13485 if test -z "$BASH_VERSION$ZSH_VERSION" \
13486 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13487 as_echo='print -r --'
13488 as_echo_n='print -rn --'
13489 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13490 as_echo='printf %s\n'
13491 as_echo_n='printf %s'
13493 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13494 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13495 as_echo_n='/usr/ucb/echo -n'
13497 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13498 as_echo_n_body='eval
13502 expr "X$arg" : "X\\(.*\\)$as_nl";
13503 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13505 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13507 export as_echo_n_body
13508 as_echo_n='sh -c $as_echo_n_body as_echo'
13510 export as_echo_body
13511 as_echo='sh -c $as_echo_body as_echo'
13514 # The user is always right.
13515 if test "${PATH_SEPARATOR+set}" != set; then
13517 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13518 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13525 # We need space, tab and new line, in precisely that order. Quoting is
13526 # there to prevent editors from complaining about space-tab.
13527 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13528 # splitting by setting IFS to empty value.)
13531 # Find who we are. Look in the path if we contain no directory separator.
13534 *[\\/]* ) as_myself=$0 ;;
13535 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13536 for as_dir in $PATH
13539 test -z "$as_dir" && as_dir=.
13540 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13546 # We did not find ourselves, most probably we were run as `sh COMMAND'
13547 # in which case we are not to be found in the path.
13548 if test "x$as_myself" = x; then
13551 if test ! -f "$as_myself"; then
13552 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13556 # Unset variables that we do not need and which cause bugs (e.g. in
13557 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13558 # suppresses any "Segmentation fault" message there. '((' could
13559 # trigger a bug in pdksh 5.2.14.
13560 for as_var in BASH_ENV ENV MAIL MAILPATH
13561 do eval test x\${$as_var+set} = xset \
13562 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13575 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13578 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13579 # ----------------------------------------
13580 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13581 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13582 # script with STATUS, using 1 if that was 0.
13585 as_status=$1; test $as_status -eq 0 && as_status=1
13587 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13588 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13590 $as_echo "$as_me: error: $2" >&2
13591 as_fn_exit $as_status
13595 # as_fn_set_status STATUS
13596 # -----------------------
13597 # Set $? to STATUS, without forking.
13598 as_fn_set_status ()
13601 } # as_fn_set_status
13603 # as_fn_exit STATUS
13604 # -----------------
13605 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13609 as_fn_set_status $1
13615 # Portably unset VAR.
13618 { eval $1=; unset $1;}
13620 as_unset=as_fn_unset
13621 # as_fn_append VAR VALUE
13622 # ----------------------
13623 # Append the text in VALUE to the end of the definition contained in VAR. Take
13624 # advantage of any shell optimizations that allow amortized linear growth over
13625 # repeated appends, instead of the typical quadratic growth present in naive
13627 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13628 eval 'as_fn_append ()
13639 # as_fn_arith ARG...
13640 # ------------------
13641 # Perform arithmetic evaluation on the ARGs, and store the result in the
13642 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13643 # must be portable across $(()) and expr.
13644 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13645 eval 'as_fn_arith ()
13652 as_val=`expr "$@" || test $? -eq 1`
13657 if expr a : '\(a\)' >/dev/null 2>&1 &&
13658 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13664 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13665 as_basename=basename
13670 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13676 as_me=`$as_basename -- "$0" ||
13677 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13678 X"$0" : 'X\(//\)$' \| \
13679 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13681 sed '/^.*\/\([^/][^/]*\)\/*$/{
13695 # Avoid depending upon Character Ranges.
13696 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13697 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13698 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13699 as_cr_digits='0123456789'
13700 as_cr_alnum=$as_cr_Letters$as_cr_digits
13702 ECHO_C= ECHO_N= ECHO_T=
13703 case `echo -n x` in #(((((
13705 case `echo 'xy\c'` in
13706 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13708 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13715 rm -f conf$$ conf$$.exe conf$$.file
13716 if test -d conf$$.dir; then
13717 rm -f conf$$.dir/conf$$.file
13720 mkdir conf$$.dir 2>/dev/null
13722 if (echo >conf$$.file) 2>/dev/null; then
13723 if ln -s conf$$.file conf$$ 2>/dev/null; then
13725 # ... but there are two gotchas:
13726 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13727 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13728 # In both cases, we have to default to `cp -pR'.
13729 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13731 elif ln conf$$.file conf$$ 2>/dev/null; then
13739 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13740 rmdir conf$$.dir 2>/dev/null
13745 # Create "$as_dir" as a directory, including parents if necessary.
13750 -*) as_dir=./$as_dir;;
13752 test -d "$as_dir" || eval $as_mkdir_p || {
13756 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13757 *) as_qdir=$as_dir;;
13759 as_dirs="'$as_qdir' $as_dirs"
13760 as_dir=`$as_dirname -- "$as_dir" ||
13761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13762 X"$as_dir" : 'X\(//\)[^/]' \| \
13763 X"$as_dir" : 'X\(//\)$' \| \
13764 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13765 $as_echo X"$as_dir" |
13766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13770 /^X\(\/\/\)[^/].*/{
13783 test -d "$as_dir" && break
13785 test -z "$as_dirs" || eval "mkdir $as_dirs"
13786 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13790 if mkdir -p . 2>/dev/null; then
13791 as_mkdir_p='mkdir -p "$as_dir"'
13793 test -d ./-p && rmdir ./-p
13798 # as_fn_executable_p FILE
13799 # -----------------------
13800 # Test if FILE is an executable regular file.
13801 as_fn_executable_p ()
13803 test -f "$1" && test -x "$1"
13804 } # as_fn_executable_p
13805 as_test_x='test -x'
13806 as_executable_p=as_fn_executable_p
13808 # Sed expression to map a string onto a valid CPP name.
13809 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13811 # Sed expression to map a string onto a valid variable name.
13812 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13816 ## ----------------------------------- ##
13817 ## Main body of $CONFIG_STATUS script. ##
13818 ## ----------------------------------- ##
13820 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13823 # Save the log message, to keep $0 and so on meaningful, and to
13824 # report actual input values of CONFIG_FILES etc. instead of their
13825 # values after options handling.
13827 This file was extended by gssdp $as_me 0.14.4, which was
13828 generated by GNU Autoconf 2.69. Invocation command line was
13830 CONFIG_FILES = $CONFIG_FILES
13831 CONFIG_HEADERS = $CONFIG_HEADERS
13832 CONFIG_LINKS = $CONFIG_LINKS
13833 CONFIG_COMMANDS = $CONFIG_COMMANDS
13836 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13841 case $ac_config_files in *"
13842 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13845 case $ac_config_headers in *"
13846 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13851 # Files that config.status was made for.
13852 config_files="$ac_config_files"
13853 config_headers="$ac_config_headers"
13854 config_commands="$ac_config_commands"
13858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13860 \`$as_me' instantiates files and other configuration actions
13861 from templates according to the current configuration. Unless the files
13862 and actions are specified as TAGs, all are instantiated by default.
13864 Usage: $0 [OPTION]... [TAG]...
13866 -h, --help print this help, then exit
13867 -V, --version print version number and configuration settings, then exit
13868 --config print configuration, then exit
13869 -q, --quiet, --silent
13870 do not print progress messages
13871 -d, --debug don't remove temporary files
13872 --recheck update $as_me by reconfiguring in the same conditions
13873 --file=FILE[:TEMPLATE]
13874 instantiate the configuration file FILE
13875 --header=FILE[:TEMPLATE]
13876 instantiate the configuration header FILE
13878 Configuration files:
13881 Configuration headers:
13884 Configuration commands:
13887 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
13888 gssdp home page: <http://www.gupnp.org/>."
13891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13892 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13894 gssdp config.status 0.14.4
13895 configured by $0, generated by GNU Autoconf 2.69,
13896 with options \\"\$ac_cs_config\\"
13898 Copyright (C) 2012 Free Software Foundation, Inc.
13899 This config.status script is free software; the Free Software Foundation
13900 gives unlimited permission to copy, distribute and modify it."
13907 test -n "\$AWK" || AWK=awk
13910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13911 # The default lists apply if the user does not specify any file.
13917 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13918 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13922 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13934 # Handling of the options.
13935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13937 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13938 $as_echo "$ac_cs_version"; exit ;;
13939 --config | --confi | --conf | --con | --co | --c )
13940 $as_echo "$ac_cs_config"; exit ;;
13941 --debug | --debu | --deb | --de | --d | -d )
13943 --file | --fil | --fi | --f )
13946 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13947 '') as_fn_error $? "missing file argument" ;;
13949 as_fn_append CONFIG_FILES " '$ac_optarg'"
13950 ac_need_defaults=false;;
13951 --header | --heade | --head | --hea )
13954 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13956 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13957 ac_need_defaults=false;;
13959 # Conflict between --help and --header
13960 as_fn_error $? "ambiguous option: \`$1'
13961 Try \`$0 --help' for more information.";;
13962 --help | --hel | -h )
13963 $as_echo "$ac_cs_usage"; exit ;;
13964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13965 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13968 # This is an error.
13969 -*) as_fn_error $? "unrecognized option: \`$1'
13970 Try \`$0 --help' for more information." ;;
13972 *) as_fn_append ac_config_targets " $1"
13973 ac_need_defaults=false ;;
13979 ac_configure_extra_args=
13981 if $ac_cs_silent; then
13983 ac_configure_extra_args="$ac_configure_extra_args --silent"
13987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13988 if \$ac_cs_recheck; then
13989 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13991 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13992 CONFIG_SHELL='$SHELL'
13993 export CONFIG_SHELL
13998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14002 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14003 ## Running $as_me. ##
14009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14013 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14016 # The HP-UX ksh and POSIX shell print the target directory to stdout
14017 # if CDPATH is set.
14018 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14020 sed_quote_subst='$sed_quote_subst'
14021 double_quote_subst='$double_quote_subst'
14022 delay_variable_subst='$delay_variable_subst'
14023 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14024 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14025 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14026 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14027 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14028 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14029 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14030 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14031 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14032 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14033 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14034 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14035 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14036 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14037 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14038 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14039 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14040 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14041 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14042 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14043 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14044 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14045 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14046 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14047 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14048 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14049 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14050 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14051 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14052 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14053 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14054 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14055 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14056 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14057 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14058 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14059 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14060 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14061 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14062 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14063 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14064 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14065 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14066 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14067 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14068 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14069 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14070 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14071 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14072 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14073 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14074 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14075 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14076 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14077 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14078 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14079 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"`'
14080 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14081 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14082 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14083 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14084 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14085 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14086 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14087 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14088 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14089 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14090 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14091 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14092 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14093 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14094 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14095 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14096 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14097 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14098 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14099 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14100 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14101 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14102 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14103 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14104 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14105 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14106 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14107 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14108 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14109 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14110 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14111 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14112 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14113 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14114 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14115 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14116 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14117 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14118 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14119 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14120 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14121 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14122 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14123 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14124 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14125 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14126 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14127 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14128 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14129 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14130 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14131 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14132 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14133 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14134 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14135 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14136 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14137 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14138 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14139 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14140 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14141 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14142 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14143 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14144 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14145 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14146 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14147 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14148 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14149 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14150 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14151 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14152 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14155 LTCFLAGS='$LTCFLAGS'
14156 compiler='$compiler_DEFAULT'
14158 # A function that is used when there is no print builtin or printf.
14159 func_fallback_echo ()
14161 eval 'cat <<_LTECHO_EOF
14166 # Quote evaled strings.
14181 deplibs_check_method \
14186 sharedlib_from_linklib_cmd \
14189 archiver_list_spec \
14195 lt_cv_sys_global_symbol_pipe \
14196 lt_cv_sys_global_symbol_to_cdecl \
14197 lt_cv_sys_global_symbol_to_c_name_address \
14198 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14199 nm_file_list_spec \
14200 lt_prog_compiler_no_builtin_flag \
14201 lt_prog_compiler_pic \
14202 lt_prog_compiler_wl \
14203 lt_prog_compiler_static \
14204 lt_cv_prog_compiler_c_o \
14213 export_dynamic_flag_spec \
14214 whole_archive_flag_spec \
14215 compiler_needs_object \
14217 allow_undefined_flag \
14218 no_undefined_flag \
14219 hardcode_libdir_flag_spec \
14220 hardcode_libdir_separator \
14224 variables_saved_for_relink \
14226 library_names_spec \
14228 install_override_mode \
14232 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14233 *[\\\\\\\`\\"\\\$]*)
14234 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14237 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14242 # Double-quote double-evaled strings.
14243 for var in reload_cmds \
14244 old_postinstall_cmds \
14245 old_postuninstall_cmds \
14247 extract_expsyms_cmds \
14248 old_archive_from_new_cmds \
14249 old_archive_from_expsyms_cmds \
14251 archive_expsym_cmds \
14253 module_expsym_cmds \
14254 export_symbols_cmds \
14258 postuninstall_cmds \
14260 sys_lib_search_path_spec \
14261 sys_lib_dlsearch_path_spec; do
14262 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14263 *[\\\\\\\`\\"\\\$]*)
14264 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14267 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14272 ac_aux_dir='$ac_aux_dir'
14273 xsi_shell='$xsi_shell'
14274 lt_shell_append='$lt_shell_append'
14276 # See if we are running on zsh, and set the options which allow our
14277 # commands through without removal of \ escapes INIT.
14278 if test -n "\${ZSH_VERSION+set}" ; then
14279 setopt NO_GLOB_SUBST
14285 TIMESTAMP='$TIMESTAMP'
14294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14296 # Handling of arguments.
14297 for ac_config_target in $ac_config_targets
14299 case $ac_config_target in
14300 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14301 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14302 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14303 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14304 "libgssdp/Makefile") CONFIG_FILES="$CONFIG_FILES libgssdp/Makefile" ;;
14305 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14306 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14307 "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
14308 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14309 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14310 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14311 "gssdp-1.0.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0.pc" ;;
14312 "gssdp-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0-uninstalled.pc" ;;
14314 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14319 # If the user did not use the arguments to specify the items to instantiate,
14320 # then the envvar interface is used. Set only those that are not.
14321 # We use the long form for the default assignment because of an extremely
14322 # bizarre bug on SunOS 4.1.3.
14323 if $ac_need_defaults; then
14324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14325 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14329 # Have a temporary directory for convenience. Make it in the build tree
14330 # simply because there is no reason against having it here, and in addition,
14331 # creating and moving files from /tmp can sometimes cause problems.
14332 # Hook for its removal unless debugging.
14333 # Note that there is a small window in which the directory will not be cleaned:
14334 # after its creation but before its name has been assigned to `$tmp'.
14338 trap 'exit_status=$?
14339 : "${ac_tmp:=$tmp}"
14340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14342 trap 'as_fn_exit 1' 1 2 13 15
14344 # Create a (secure) tmp directory for tmp files.
14347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14351 tmp=./conf$$-$RANDOM
14352 (umask 077 && mkdir "$tmp")
14353 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14356 # Set up the scripts for CONFIG_FILES section.
14357 # No need to generate them if there are no CONFIG_FILES.
14358 # This happens for instance with `./config.status config.h'.
14359 if test -n "$CONFIG_FILES"; then
14362 ac_cr=`echo X | tr X '\015'`
14363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14364 # But we know of no other shell where ac_cr would be empty at this
14365 # point, so we can use a bashism as a fallback.
14366 if test "x$ac_cr" = x; then
14367 eval ac_cr=\$\'\\r\'
14369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14373 ac_cs_awk_cr=$ac_cr
14376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14381 echo "cat >conf$$subs.awk <<_ACEOF" &&
14382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14384 } >conf$$subs.sh ||
14385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14388 for ac_last_try in false false false false false :; do
14389 . ./conf$$subs.sh ||
14390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14393 if test $ac_delim_n = $ac_delim_num; then
14395 elif $ac_last_try; then
14396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14401 rm -f conf$$subs.sh
14403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14404 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14408 s/^/S["/; s/!.*/"]=/
14418 s/\(.\{148\}\)..*/\1/
14420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14432 s/\(.\{148\}\)..*/\1/
14434 s/["\\]/\\&/g; s/^/"/; s/$/"/
14438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14443 ' <conf$$subs.awk | sed '
14448 ' >>$CONFIG_STATUS || ac_write_fail=1
14449 rm -f conf$$subs.awk
14450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14452 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14453 for (key in S) S_is_set[key] = 1
14459 nfields = split(line, field, "@")
14461 len = length(field[1])
14462 for (i = 2; i < nfields; i++) {
14464 keylen = length(key)
14465 if (S_is_set[key]) {
14467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14468 len += length(value) + length(field[++i])
14479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14484 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14485 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14490 # trailing colons and then remove the whole line if VPATH becomes empty
14491 # (actually we leave an empty line to preserve line numbers).
14492 if test "x$srcdir" = x.; then
14493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14512 fi # test -n "$CONFIG_FILES"
14514 # Set up the scripts for CONFIG_HEADERS section.
14515 # No need to generate them if there are no CONFIG_HEADERS.
14516 # This happens for instance with `./config.status Makefile'.
14517 if test -n "$CONFIG_HEADERS"; then
14518 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14522 # Transform confdefs.h into an awk script `defines.awk', embedded as
14523 # here-document in config.status, that substitutes the proper values into
14524 # config.h.in to produce config.h.
14526 # Create a delimiter string that does not exist in confdefs.h, to ease
14527 # handling of long lines.
14529 for ac_last_try in false false :; do
14530 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14531 if test -z "$ac_tt"; then
14533 elif $ac_last_try; then
14534 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14540 # For the awk script, D is an array of macro values keyed by name,
14541 # likewise P contains macro parameters if any. Preserve backslash
14542 # newline sequences.
14544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14546 s/.\{148\}/&'"$ac_delim"'/g
14549 s/^[ ]*#[ ]*define[ ][ ]*/ /
14556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14563 D["\1"]=" \3\\\\\\n"\\/p
14565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14570 s/.\{148\}/&'"$ac_delim"'/g
14575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14580 ' <confdefs.h | sed '
14581 s/'"$ac_delim"'/"\\\
14582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14585 for (key in D) D_is_set[key] = 1
14588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14590 split(line, arg, " ")
14591 if (arg[1] == "#") {
14595 defundef = substr(arg[1], 2)
14598 split(mac1, mac2, "(") #)
14600 prefix = substr(line, 1, index(line, defundef) - 1)
14601 if (D_is_set[macro]) {
14602 # Preserve the white space surrounding the "#".
14603 print prefix "define", macro P[macro] D[macro]
14606 # Replace #undef with comments. This is necessary, for example,
14607 # in the case of _POSIX_SOURCE, which is predefined and required
14608 # on some systems where configure will not decide to define it.
14609 if (defundef == "undef") {
14610 print "/*", prefix defundef, macro, "*/"
14618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14619 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14620 fi # test -n "$CONFIG_HEADERS"
14623 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14628 :[FHLC]) ac_mode=$ac_tag; continue;;
14630 case $ac_mode$ac_tag in
14632 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14633 :[FH]-) ac_tag=-:-;;
14634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14651 -) ac_f="$ac_tmp/stdin";;
14652 *) # Look for the file first in the build tree, then in the source tree
14653 # (if the path is not absolute). The absolute path cannot be DOS-style,
14654 # because $ac_f cannot contain `:'.
14658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14663 as_fn_append ac_file_inputs " '$ac_f'"
14666 # Let's still pretend it is `configure' which instantiates (i.e., don't
14667 # use $as_me), people would be surprised to read:
14668 # /* config.h. Generated by config.status. */
14669 configure_input='Generated from '`
14670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14672 if test x"$ac_file" != x-; then
14673 configure_input="$ac_file. $configure_input"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14675 $as_echo "$as_me: creating $ac_file" >&6;}
14677 # Neutralize special characters interpreted by sed in replacement strings.
14678 case $configure_input in #(
14679 *\&* | *\|* | *\\* )
14680 ac_sed_conf_input=`$as_echo "$configure_input" |
14681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14682 *) ac_sed_conf_input=$configure_input;;
14686 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14692 ac_dir=`$as_dirname -- "$ac_file" ||
14693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14694 X"$ac_file" : 'X\(//\)[^/]' \| \
14695 X"$ac_file" : 'X\(//\)$' \| \
14696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14697 $as_echo X"$ac_file" |
14698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14702 /^X\(\/\/\)[^/].*/{
14715 as_dir="$ac_dir"; as_fn_mkdir_p
14719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14722 # A ".." for each directory in $ac_dir_suffix.
14723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14724 case $ac_top_builddir_sub in
14725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14729 ac_abs_top_builddir=$ac_pwd
14730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14731 # for backward compatibility:
14732 ac_top_builddir=$ac_top_build_prefix
14735 .) # We are building in place.
14737 ac_top_srcdir=$ac_top_builddir_sub
14738 ac_abs_top_srcdir=$ac_pwd ;;
14739 [\\/]* | ?:[\\/]* ) # Absolute name.
14740 ac_srcdir=$srcdir$ac_dir_suffix;
14741 ac_top_srcdir=$srcdir
14742 ac_abs_top_srcdir=$srcdir ;;
14743 *) # Relative name.
14744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14745 ac_top_srcdir=$ac_top_build_prefix$srcdir
14746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14761 ac_MKDIR_P=$MKDIR_P
14763 [\\/$]* | ?:[\\/]* ) ;;
14764 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14769 # If the template does not know about datarootdir, expand it.
14770 # FIXME: This hack should be removed a few years after 2.60.
14771 ac_datarootdir_hack=; ac_datarootdir_seen=
14782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14783 *datarootdir*) ac_datarootdir_seen=yes;;
14784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14789 ac_datarootdir_hack='
14790 s&@datadir@&$datadir&g
14791 s&@docdir@&$docdir&g
14792 s&@infodir@&$infodir&g
14793 s&@localedir@&$localedir&g
14794 s&@mandir@&$mandir&g
14795 s&\\\${datarootdir}&$datarootdir&g' ;;
14799 # Neutralize VPATH when `$srcdir' = `.'.
14800 # Shell code in configure.ac might set extrasub.
14801 # FIXME: do we really want to maintain this feature?
14802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14803 ac_sed_extra="$ac_vpsub
14806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14809 s|@configure_input@|$ac_sed_conf_input|;t t
14810 s&@top_builddir@&$ac_top_builddir_sub&;t t
14811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14812 s&@srcdir@&$ac_srcdir&;t t
14813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14814 s&@top_srcdir@&$ac_top_srcdir&;t t
14815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14816 s&@builddir@&$ac_builddir&;t t
14817 s&@abs_builddir@&$ac_abs_builddir&;t t
14818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14819 s&@INSTALL@&$ac_INSTALL&;t t
14820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14821 $ac_datarootdir_hack
14823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14824 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14827 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14829 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14831 which seems to be undefined. Please make sure it is defined" >&5
14832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14833 which seems to be undefined. Please make sure it is defined" >&2;}
14835 rm -f "$ac_tmp/stdin"
14837 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14838 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14846 if test x"$ac_file" != x-; then
14848 $as_echo "/* $configure_input */" \
14849 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14850 } >"$ac_tmp/config.h" \
14851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14852 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14857 mv "$ac_tmp/config.h" "$ac_file" \
14858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14861 $as_echo "/* $configure_input */" \
14862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14863 || as_fn_error $? "could not create -" "$LINENO" 5
14865 # Compute "$ac_file"'s index in $config_headers.
14868 for _am_header in $config_headers :; do
14869 case $_am_header in
14870 $_am_arg | $_am_arg:* )
14873 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14876 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14877 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14878 X"$_am_arg" : 'X\(//\)[^/]' \| \
14879 X"$_am_arg" : 'X\(//\)$' \| \
14880 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14881 $as_echo X"$_am_arg" |
14882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14886 /^X\(\/\/\)[^/].*/{
14898 s/.*/./; q'`/stamp-h$_am_stamp_count
14901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14902 $as_echo "$as_me: executing $ac_file commands" >&6;}
14907 case $ac_file$ac_mode in
14908 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14909 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14910 # are listed without --file. Let's play safe and only enable the eval
14911 # if we detect the quoting.
14912 case $CONFIG_FILES in
14913 *\'*) eval set x "$CONFIG_FILES" ;;
14914 *) set x $CONFIG_FILES ;;
14919 # Strip MF so we end up with the name of the file.
14920 mf=`echo "$mf" | sed -e 's/:.*$//'`
14921 # Check whether this is an Automake generated Makefile or not.
14922 # We used to match only the files named `Makefile.in', but
14923 # some people rename them; so instead we look at the file content.
14924 # Grep'ing the first line is not enough: some people post-process
14925 # each Makefile.in and add a new line on top of each file to say so.
14926 # Grep'ing the whole file is not good either: AIX grep has a line
14927 # limit of 2048, but all sed's we know have understand at least 4000.
14928 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14929 dirpart=`$as_dirname -- "$mf" ||
14930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14931 X"$mf" : 'X\(//\)[^/]' \| \
14932 X"$mf" : 'X\(//\)$' \| \
14933 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14939 /^X\(\/\/\)[^/].*/{
14955 # Extract the definition of DEPDIR, am__include, and am__quote
14956 # from the Makefile without running `make'.
14957 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14958 test -z "$DEPDIR" && continue
14959 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14960 test -z "am__include" && continue
14961 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14962 # When using ansi2knr, U may be empty or an underscore; expand it
14963 U=`sed -n 's/^U = //p' < "$mf"`
14964 # Find all dependency output files, they are included files with
14965 # $(DEPDIR) in their names. We invoke sed twice because it is the
14966 # simplest approach to changing $(DEPDIR) to its actual value in the
14968 for file in `sed -n "
14969 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14970 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14971 # Make sure the directory exists.
14972 test -f "$dirpart/$file" && continue
14973 fdir=`$as_dirname -- "$file" ||
14974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14975 X"$file" : 'X\(//\)[^/]' \| \
14976 X"$file" : 'X\(//\)$' \| \
14977 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14978 $as_echo X"$file" |
14979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14983 /^X\(\/\/\)[^/].*/{
14996 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14997 # echo "creating $dirpart/$file"
14998 echo '# dummy' > "$dirpart/$file"
15005 # See if we are running on zsh, and set the options which allow our
15006 # commands through without removal of \ escapes.
15007 if test -n "${ZSH_VERSION+set}" ; then
15008 setopt NO_GLOB_SUBST
15011 cfgfile="${ofile}T"
15012 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15015 cat <<_LT_EOF >> "$cfgfile"
15018 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15019 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15021 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15023 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15024 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15026 # Written by Gordon Matzigkeit, 1996
15028 # This file is part of GNU Libtool.
15030 # GNU Libtool is free software; you can redistribute it and/or
15031 # modify it under the terms of the GNU General Public License as
15032 # published by the Free Software Foundation; either version 2 of
15033 # the License, or (at your option) any later version.
15035 # As a special exception to the GNU General Public License,
15036 # if you distribute this file as part of a program or library that
15037 # is built using GNU Libtool, you may include this file under the
15038 # same distribution terms that you use for the rest of that program.
15040 # GNU Libtool is distributed in the hope that it will be useful,
15041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15043 # GNU General Public License for more details.
15045 # You should have received a copy of the GNU General Public License
15046 # along with GNU Libtool; see the file COPYING. If not, a copy
15047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15048 # obtained by writing to the Free Software Foundation, Inc.,
15049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15052 # The names of the tagged configurations supported by this script.
15055 # ### BEGIN LIBTOOL CONFIG
15057 # Which release of libtool.m4 was used?
15058 macro_version=$macro_version
15059 macro_revision=$macro_revision
15061 # Whether or not to build shared libraries.
15062 build_libtool_libs=$enable_shared
15064 # Whether or not to build static libraries.
15065 build_old_libs=$enable_static
15067 # What type of objects to build.
15070 # Whether or not to optimize for fast installation.
15071 fast_install=$enable_fast_install
15073 # Shell to use when invoking shell scripts.
15076 # An echo program that protects backslashes.
15079 # The PATH separator for the build system.
15080 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15083 host_alias=$host_alias
15087 # The build system.
15088 build_alias=$build_alias
15092 # A sed program that does not truncate output.
15095 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15096 Xsed="\$SED -e 1s/^X//"
15098 # A grep program that handles long lines.
15104 # A literal string matcher.
15107 # A BSD- or MS-compatible name lister.
15110 # Whether we need soft or hard links.
15113 # What is the maximum length of a command?
15114 max_cmd_len=$max_cmd_len
15116 # Object file suffix (normally "o").
15119 # Executable file suffix (normally "").
15122 # whether the shell understands "unset".
15125 # turn spaces into newlines.
15128 # turn newlines into spaces.
15131 # convert \$build file names to \$host format.
15132 to_host_file_cmd=$lt_cv_to_host_file_cmd
15134 # convert \$build files to toolchain format.
15135 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15137 # An object symbol dumper.
15138 OBJDUMP=$lt_OBJDUMP
15140 # Method to check whether dependent libraries are shared objects.
15141 deplibs_check_method=$lt_deplibs_check_method
15143 # Command to use when deplibs_check_method = "file_magic".
15144 file_magic_cmd=$lt_file_magic_cmd
15146 # How to find potential files when deplibs_check_method = "file_magic".
15147 file_magic_glob=$lt_file_magic_glob
15149 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15150 want_nocaseglob=$lt_want_nocaseglob
15152 # DLL creation program.
15153 DLLTOOL=$lt_DLLTOOL
15155 # Command to associate shared and link libraries.
15156 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15161 # Flags to create an archive.
15162 AR_FLAGS=$lt_AR_FLAGS
15164 # How to feed a file listing to the archiver.
15165 archiver_list_spec=$lt_archiver_list_spec
15167 # A symbol stripping program.
15170 # Commands used to install an old-style archive.
15172 old_postinstall_cmds=$lt_old_postinstall_cmds
15173 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15175 # Whether to use a lock for old archive extraction.
15176 lock_old_archive_extraction=$lock_old_archive_extraction
15181 # LTCC compiler flags.
15182 LTCFLAGS=$lt_CFLAGS
15184 # Take the output of nm and produce a listing of raw symbols and C names.
15185 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15187 # Transform the output of nm in a proper C declaration.
15188 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15190 # Transform the output of nm in a C name address pair.
15191 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15193 # Transform the output of nm in a C name address pair when lib prefix is needed.
15194 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15196 # Specify filename containing input files for \$NM.
15197 nm_file_list_spec=$lt_nm_file_list_spec
15199 # The root where to search for dependent libraries,and in which our libraries should be installed.
15200 lt_sysroot=$lt_sysroot
15202 # The name of the directory that contains temporary libtool files.
15205 # Used to examine libraries when file_magic_cmd begins with "file".
15206 MAGIC_CMD=$MAGIC_CMD
15208 # Must we lock files when doing compilation?
15209 need_locks=$lt_need_locks
15212 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15214 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15215 DSYMUTIL=$lt_DSYMUTIL
15217 # Tool to change global to local symbols on Mac OS X.
15220 # Tool to manipulate fat objects and archives on Mac OS X.
15223 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15226 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15227 OTOOL64=$lt_OTOOL64
15229 # Old archive suffix (normally "a").
15232 # Shared library suffix (normally ".so").
15233 shrext_cmds=$lt_shrext_cmds
15235 # The commands to extract the exported symbol list from a shared archive.
15236 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15238 # Variables whose values should be saved in libtool wrapper scripts and
15239 # restored at link time.
15240 variables_saved_for_relink=$lt_variables_saved_for_relink
15242 # Do we need the "lib" prefix for modules?
15243 need_lib_prefix=$need_lib_prefix
15245 # Do we need a version for libraries?
15246 need_version=$need_version
15248 # Library versioning type.
15249 version_type=$version_type
15251 # Shared library runtime path variable.
15252 runpath_var=$runpath_var
15254 # Shared library path variable.
15255 shlibpath_var=$shlibpath_var
15257 # Is shlibpath searched before the hard-coded library search path?
15258 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15260 # Format of library name prefix.
15261 libname_spec=$lt_libname_spec
15263 # List of archive names. First name is the real one, the rest are links.
15264 # The last name is the one that the linker finds with -lNAME
15265 library_names_spec=$lt_library_names_spec
15267 # The coded name of the library, if different from the real name.
15268 soname_spec=$lt_soname_spec
15270 # Permission mode override for installation of shared libraries.
15271 install_override_mode=$lt_install_override_mode
15273 # Command to use after installation of a shared archive.
15274 postinstall_cmds=$lt_postinstall_cmds
15276 # Command to use after uninstallation of a shared archive.
15277 postuninstall_cmds=$lt_postuninstall_cmds
15279 # Commands used to finish a libtool library installation in a directory.
15280 finish_cmds=$lt_finish_cmds
15282 # As "finish_cmds", except a single script fragment to be evaled but
15284 finish_eval=$lt_finish_eval
15286 # Whether we should hardcode library paths into libraries.
15287 hardcode_into_libs=$hardcode_into_libs
15289 # Compile-time system search path for libraries.
15290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15292 # Run-time system search path for libraries.
15293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15295 # Whether dlopen is supported.
15296 dlopen_support=$enable_dlopen
15298 # Whether dlopen of programs is supported.
15299 dlopen_self=$enable_dlopen_self
15301 # Whether dlopen of statically linked programs is supported.
15302 dlopen_self_static=$enable_dlopen_self_static
15304 # Commands to strip libraries.
15305 old_striplib=$lt_old_striplib
15306 striplib=$lt_striplib
15309 # The linker used to build libraries.
15312 # How to create reloadable object files.
15313 reload_flag=$lt_reload_flag
15314 reload_cmds=$lt_reload_cmds
15316 # Commands used to build an old-style archive.
15317 old_archive_cmds=$lt_old_archive_cmds
15319 # A language specific compiler.
15322 # Is the compiler the GNU compiler?
15325 # Compiler flag to turn off builtin functions.
15326 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15328 # Additional compiler flags for building library objects.
15329 pic_flag=$lt_lt_prog_compiler_pic
15331 # How to pass a linker flag through the compiler.
15332 wl=$lt_lt_prog_compiler_wl
15334 # Compiler flag to prevent dynamic linking.
15335 link_static_flag=$lt_lt_prog_compiler_static
15337 # Does compiler simultaneously support -c and -o options?
15338 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15340 # Whether or not to add -lc for building shared libraries.
15341 build_libtool_need_lc=$archive_cmds_need_lc
15343 # Whether or not to disallow shared libs when runtime libs are static.
15344 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15346 # Compiler flag to allow reflexive dlopens.
15347 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15349 # Compiler flag to generate shared objects directly from archives.
15350 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15352 # Whether the compiler copes with passing no objects directly.
15353 compiler_needs_object=$lt_compiler_needs_object
15355 # Create an old-style archive from a shared archive.
15356 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15358 # Create a temporary old-style archive to link instead of a shared archive.
15359 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15361 # Commands used to build a shared archive.
15362 archive_cmds=$lt_archive_cmds
15363 archive_expsym_cmds=$lt_archive_expsym_cmds
15365 # Commands used to build a loadable module if different from building
15366 # a shared archive.
15367 module_cmds=$lt_module_cmds
15368 module_expsym_cmds=$lt_module_expsym_cmds
15370 # Whether we are building with GNU ld or not.
15371 with_gnu_ld=$lt_with_gnu_ld
15373 # Flag that allows shared libraries with undefined symbols to be built.
15374 allow_undefined_flag=$lt_allow_undefined_flag
15376 # Flag that enforces no undefined symbols.
15377 no_undefined_flag=$lt_no_undefined_flag
15379 # Flag to hardcode \$libdir into a binary during linking.
15380 # This must work even if \$libdir does not exist
15381 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15383 # Whether we need a single "-rpath" flag with a separated argument.
15384 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15386 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15387 # DIR into the resulting binary.
15388 hardcode_direct=$hardcode_direct
15390 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15391 # DIR into the resulting binary and the resulting library dependency is
15392 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15393 # library is relocated.
15394 hardcode_direct_absolute=$hardcode_direct_absolute
15396 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15397 # into the resulting binary.
15398 hardcode_minus_L=$hardcode_minus_L
15400 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15401 # into the resulting binary.
15402 hardcode_shlibpath_var=$hardcode_shlibpath_var
15404 # Set to "yes" if building a shared library automatically hardcodes DIR
15405 # into the library and all subsequent libraries and executables linked
15407 hardcode_automatic=$hardcode_automatic
15409 # Set to yes if linker adds runtime paths of dependent libraries
15410 # to runtime path list.
15411 inherit_rpath=$inherit_rpath
15413 # Whether libtool must link a program against all its dependency libraries.
15414 link_all_deplibs=$link_all_deplibs
15416 # Set to "yes" if exported symbols are required.
15417 always_export_symbols=$always_export_symbols
15419 # The commands to list exported symbols.
15420 export_symbols_cmds=$lt_export_symbols_cmds
15422 # Symbols that should not be listed in the preloaded symbols.
15423 exclude_expsyms=$lt_exclude_expsyms
15425 # Symbols that must always be exported.
15426 include_expsyms=$lt_include_expsyms
15428 # Commands necessary for linking programs (against libraries) with templates.
15429 prelink_cmds=$lt_prelink_cmds
15431 # Commands necessary for finishing linking programs.
15432 postlink_cmds=$lt_postlink_cmds
15434 # Specify filename containing input files.
15435 file_list_spec=$lt_file_list_spec
15437 # How to hardcode a shared library path into an executable.
15438 hardcode_action=$hardcode_action
15440 # ### END LIBTOOL CONFIG
15446 cat <<\_LT_EOF >> "$cfgfile"
15447 # AIX sometimes has problems with the GCC collect2 program. For some
15448 # reason, if we set the COLLECT_NAMES environment variable, the problems
15449 # vanish in a puff of smoke.
15450 if test "X${COLLECT_NAMES+set}" != Xset; then
15452 export COLLECT_NAMES
15459 ltmain="$ac_aux_dir/ltmain.sh"
15462 # We use sed instead of cat because bash on DJGPP gets confused if
15463 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15464 # text mode, it properly converts lines to CR/LF. This bash problem
15465 # is reportedly fixed, but why not run on old versions too?
15466 sed '$q' "$ltmain" >> "$cfgfile" \
15467 || (rm -f "$cfgfile"; exit 1)
15469 if test x"$xsi_shell" = xyes; then
15470 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15474 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15475 \ * ) func_dirname_result="${3}" ;;\
15477 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15478 && mv -f "$cfgfile.tmp" "$cfgfile" \
15479 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15480 test 0 -eq $? || _lt_function_replace_fail=:
15483 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15486 \ func_basename_result="${1##*/}"\
15487 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15488 && mv -f "$cfgfile.tmp" "$cfgfile" \
15489 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15490 test 0 -eq $? || _lt_function_replace_fail=:
15493 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15494 func_dirname_and_basename ()\
15497 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15498 \ * ) func_dirname_result="${3}" ;;\
15500 \ func_basename_result="${1##*/}"\
15501 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15502 && mv -f "$cfgfile.tmp" "$cfgfile" \
15503 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15504 test 0 -eq $? || _lt_function_replace_fail=:
15507 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15510 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15511 \ # positional parameters, so assign one to ordinary parameter first.\
15512 \ func_stripname_result=${3}\
15513 \ func_stripname_result=${func_stripname_result#"${1}"}\
15514 \ func_stripname_result=${func_stripname_result%"${2}"}\
15515 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15516 && mv -f "$cfgfile.tmp" "$cfgfile" \
15517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15518 test 0 -eq $? || _lt_function_replace_fail=:
15521 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15522 func_split_long_opt ()\
15524 \ func_split_long_opt_name=${1%%=*}\
15525 \ func_split_long_opt_arg=${1#*=}\
15526 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15527 && mv -f "$cfgfile.tmp" "$cfgfile" \
15528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15529 test 0 -eq $? || _lt_function_replace_fail=:
15532 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15533 func_split_short_opt ()\
15535 \ func_split_short_opt_arg=${1#??}\
15536 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15537 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15538 && mv -f "$cfgfile.tmp" "$cfgfile" \
15539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15540 test 0 -eq $? || _lt_function_replace_fail=:
15543 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15547 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15548 \ *) func_lo2o_result=${1} ;;\
15550 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15551 && mv -f "$cfgfile.tmp" "$cfgfile" \
15552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15553 test 0 -eq $? || _lt_function_replace_fail=:
15556 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15559 func_xform_result=${1%.*}.lo\
15560 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15561 && mv -f "$cfgfile.tmp" "$cfgfile" \
15562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15563 test 0 -eq $? || _lt_function_replace_fail=:
15566 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15569 func_arith_result=$(( $* ))\
15570 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15571 && mv -f "$cfgfile.tmp" "$cfgfile" \
15572 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15573 test 0 -eq $? || _lt_function_replace_fail=:
15576 sed -e '/^func_len ()$/,/^} # func_len /c\
15579 func_len_result=${#1}\
15580 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15581 && mv -f "$cfgfile.tmp" "$cfgfile" \
15582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15583 test 0 -eq $? || _lt_function_replace_fail=:
15587 if test x"$lt_shell_append" = xyes; then
15588 sed -e '/^func_append ()$/,/^} # func_append /c\
15591 eval "${1}+=\\${2}"\
15592 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15593 && mv -f "$cfgfile.tmp" "$cfgfile" \
15594 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15595 test 0 -eq $? || _lt_function_replace_fail=:
15598 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15599 func_append_quoted ()\
15601 \ func_quote_for_eval "${2}"\
15602 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15603 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15604 && mv -f "$cfgfile.tmp" "$cfgfile" \
15605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15606 test 0 -eq $? || _lt_function_replace_fail=:
15609 # Save a `func_append' function call where possible by direct use of '+='
15610 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15611 && mv -f "$cfgfile.tmp" "$cfgfile" \
15612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15613 test 0 -eq $? || _lt_function_replace_fail=:
15615 # Save a `func_append' function call even when '+=' is not available
15616 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15617 && mv -f "$cfgfile.tmp" "$cfgfile" \
15618 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15619 test 0 -eq $? || _lt_function_replace_fail=:
15622 if test x"$_lt_function_replace_fail" = x":"; then
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15624 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15628 mv -f "$cfgfile" "$ofile" ||
15629 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15640 ac_clean_files=$ac_clean_files_save
15642 test $ac_write_fail = 0 ||
15643 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15646 # configure is writing to config.log, and then calls config.status.
15647 # config.status does its own redirection, appending to config.log.
15648 # Unfortunately, on DOS this fails, as config.log is still kept open
15649 # by configure, so config.status won't be able to write to it; its
15650 # output is simply discarded. So we exec the FD to /dev/null,
15651 # effectively closing config.log, so it can be properly (re)opened and
15652 # appended to by config.status. When coming back to configure, we
15653 # need to make the FD available again.
15654 if test "$no_create" != yes; then
15656 ac_config_status_args=
15657 test "$silent" = yes &&
15658 ac_config_status_args="$ac_config_status_args --quiet"
15660 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15662 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15663 # would make configure fail if this is the last instruction.
15664 $ac_cs_success || as_fn_exit 1
15666 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15668 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15673 ${PACKAGE} ${VERSION}
15674 ---------------------
15677 GObject-Introspection: ${found_introspection}
15678 VALA bindings: ${have_vapigen}