2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for glib-networking 2.32.3.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='glib-networking'
573 PACKAGE_TARNAME='glib-networking'
574 PACKAGE_VERSION='2.32.3'
575 PACKAGE_STRING='glib-networking 2.32.3'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network'
579 ac_unique_file="proxy/libproxy/glibproxyresolver.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
630 HAVE_GNOME_PROXY_FALSE
631 HAVE_GNOME_PROXY_TRUE
632 GSETTINGS_DESKTOP_SCHEMAS_LIBS
633 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
640 GLIB_COMPILE_RESOURCES
669 INTLTOOL_SERVICE_RULE
671 INTLTOOL_SCHEMAS_RULE
673 INTLTOOL_XML_NOMERGE_RULE
678 INTLTOOL_SOUNDLIST_RULE
685 INTLTOOL_DIRECTORY_RULE
686 INTLTOOL_DESKTOP_RULE
687 intltool__v_merge_options_0
688 intltool__v_merge_options_
689 INTLTOOL_V_MERGE_OPTIONS
749 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
815 enable_maintainer_mode
821 enable_dependency_tracking
835 ac_precious_vars='build_alias
849 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
850 GSETTINGS_DESKTOP_SCHEMAS_LIBS
857 # Initialize some variables set by options.
859 ac_init_version=false
860 ac_unrecognized_opts=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
871 program_transform_name=s,x,x,
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir='${exec_prefix}/bin'
886 sbindir='${exec_prefix}/sbin'
887 libexecdir='${exec_prefix}/libexec'
888 datarootdir='${prefix}/share'
889 datadir='${datarootdir}'
890 sysconfdir='${prefix}/etc'
891 sharedstatedir='${prefix}/com'
892 localstatedir='${prefix}/var'
893 includedir='${prefix}/include'
894 oldincludedir='/usr/include'
895 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
896 infodir='${datarootdir}/info'
901 libdir='${exec_prefix}/lib'
902 localedir='${datarootdir}/locale'
903 mandir='${datarootdir}/man'
909 # If the previous option needs an argument, assign it.
910 if test -n "$ac_prev"; then
911 eval $ac_prev=\$ac_option
917 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
946 cache_file=config.cache ;;
948 -datadir | --datadir | --datadi | --datad)
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
960 -disable-* | --disable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error $? "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
974 eval enable_$ac_useropt=no ;;
976 -docdir | --docdir | --docdi | --doc | --do)
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
986 -enable-* | --enable-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error $? "invalid feature name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
1000 eval enable_$ac_useropt=\$ac_optarg ;;
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1031 htmldir=$ac_optarg ;;
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1045 -libdir | --libdir | --libdi | --libd)
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1136 -psdir | --psdir | --psdi | --psd | --ps)
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149 sbindir=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160 sharedstatedir=$ac_optarg ;;
1162 -site | --site | --sit)
1164 -site=* | --site=* | --sit=*)
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=\$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error $? "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1220 eval with_$ac_useropt=no ;;
1223 # Obsolete; use --with-x.
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev=x_includes ;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes=$ac_optarg ;;
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev=x_libraries ;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;;
1240 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $? "missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308 if test "x$build_alias" = x; then
1309 cross_compiling=maybe
1310 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used" >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320 test "$silent" = yes && exec 6>/dev/null
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $? "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $? "pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var in $ac_precious_vars; do
1384 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_${ac_var}_value=\$${ac_var}
1386 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures glib-networking 2.32.3 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/glib-networking]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1460 --build=BUILD configure for building on BUILD [guessed]
1461 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short | recursive ) echo "Configuration of glib-networking 2.32.3:";;
1472 --disable-option-checking ignore unrecognized --enable/--with options
1473 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1474 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1475 --disable-maintainer-mode disable make rules and dependencies not useful
1476 (and sometimes confusing) to the casual installer
1477 --enable-silent-rules less verbose build output (undo: `make V=1')
1478 --disable-silent-rules verbose build output (undo: `make V=0')
1479 --enable-shared[=PKGS] build shared libraries [default=yes]
1480 --enable-static[=PKGS] build static libraries [default=yes]
1481 --enable-fast-install[=PKGS]
1482 optimize for fast installation [default=yes]
1483 --disable-dependency-tracking speeds up one-time build
1484 --enable-dependency-tracking do not reject slow dependency extractors
1485 --disable-libtool-lock avoid locking (might break parallel builds)
1486 --disable-nls do not use Native Language Support
1487 --disable-glibtest do not try to compile and run a test GLIB program
1488 --enable-gcov Enable gcov
1489 --disable-more-warnings Inhibit compiler warnings
1492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1494 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1496 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1497 --with-sysroot=DIR Search for dependent libraries within DIR
1498 (or the compiler's sysroot if not specified).
1499 --with-libproxy support for libproxy [default=check]
1500 --with-gnome-proxy support for GNOME proxy configuration
1502 --with-gnutls support for GNUTLS [default=yes]
1503 --with-ca-certificates=[path]
1504 path to system Certificate Authority list
1505 --with-pkcs11 support for pkcs11 [default=check]
1507 Some influential environment variables:
1508 CC C compiler command
1509 CFLAGS C compiler flags
1510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1511 nonstandard directory <lib dir>
1512 LIBS libraries to pass to the linker, e.g. -l<library>
1513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1514 you have headers in a nonstandard directory <include dir>
1516 PKG_CONFIG path to pkg-config utility
1518 directories to add to pkg-config's search path
1520 path overriding pkg-config's built-in search path
1522 C compiler flags for LIBPROXY, overriding pkg-config
1524 linker flags for LIBPROXY, overriding pkg-config
1525 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
1526 C compiler flags for GSETTINGS_DESKTOP_SCHEMAS, overriding
1528 GSETTINGS_DESKTOP_SCHEMAS_LIBS
1529 linker flags for GSETTINGS_DESKTOP_SCHEMAS, overriding
1532 C compiler flags for GNUTLS, overriding pkg-config
1533 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
1535 C compiler flags for PKCS11, overriding pkg-config
1536 PKCS11_LIBS linker flags for PKCS11, overriding pkg-config
1538 Use these variables to override the choices made by `configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1541 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>.
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1571 .) # We are building in place.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" || { ac_status=$?; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 glib-networking configure 2.32.3
1605 generated by GNU Autoconf 2.68
1607 Copyright (C) 2010 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 rm -f conftest.$ac_objext
1625 if { { ac_try="$ac_compile"
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_link LINENO
1657 # -----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 rm -f conftest.$ac_objext conftest$ac_exeext
1663 if { { ac_try="$ac_link"
1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>conftest.err
1672 if test -s conftest.err; then
1673 grep -v '^ *+' conftest.err >conftest.er1
1674 cat conftest.er1 >&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && {
1679 test -z "$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1681 } && test -s conftest$ac_exeext && {
1682 test "$cross_compiling" = yes ||
1683 $as_test_x conftest$ac_exeext
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1692 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1693 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1694 # interfere with the next link command; also delete a directory that is
1695 # left behind by Apple's compiler. We do this before executing the actions.
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status $ac_retval
1700 } # ac_fn_c_try_link
1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1703 # -------------------------------------------------------
1704 # Tests whether HEADER exists and can be compiled using the include files in
1705 # INCLUDES, setting the cache variable VAR accordingly.
1706 ac_fn_c_check_header_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712 $as_echo_n "(cached) " >&6
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1719 if ac_fn_c_try_compile "$LINENO"; then :
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 } # ac_fn_c_check_header_compile
1733 # ac_fn_c_try_cpp LINENO
1734 # ----------------------
1735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 if { { ac_try="$ac_cpp conftest.$ac_ext"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } > conftest.i && {
1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_try_run LINENO
1771 # ----------------------
1772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1773 # that executables *can* be run.
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if { { ac_try="$ac_link"
1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_link") 2>&5
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1788 { { case "(($ac_try" in
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_try") 2>&5
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; }; }; then :
1800 $as_echo "$as_me: program exited with status $ac_status" >&5
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=$ac_status
1806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1812 # ac_fn_c_check_func LINENO FUNC VAR
1813 # ----------------------------------
1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1815 ac_fn_c_check_func ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1835 # include <limits.h>
1837 # include <assert.h>
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1864 if ac_fn_c_try_link "$LINENO"; then :
1869 rm -f core conftest.err conftest.$ac_objext \
1870 conftest$ac_exeext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_func
1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882 # the include files in INCLUDES and setting the cache variable VAR
1884 ac_fn_c_check_header_mongrel ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if eval \${$3+:} false; then :
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 # Is the header compilable?
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899 $as_echo_n "checking $2 usability... " >&6; }
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 ac_header_compiler=yes
1908 ac_header_compiler=no
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912 $as_echo "$ac_header_compiler" >&6; }
1914 # Is the header present?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916 $as_echo_n "checking $2 presence... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1921 if ac_fn_c_try_cpp "$LINENO"; then :
1922 ac_header_preproc=yes
1924 ac_header_preproc=no
1926 rm -f conftest.err conftest.i conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928 $as_echo "$ac_header_preproc" >&6; }
1930 # So? What about this header?
1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1942 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1946 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 ( $as_echo "## ------------------------------------------------------------------------------------- ##
1950 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network ##
1951 ## ------------------------------------------------------------------------------------- ##"
1952 ) | sed "s/^/$as_me: WARNING: /" >&2
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \${$3+:} false; then :
1958 $as_echo_n "(cached) " >&6
1960 eval "$3=\$ac_header_compiler"
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_header_mongrel
1969 cat >config.log <<_ACEOF
1970 This file contains any messages produced by compilers while
1971 running configure, to aid debugging if configure makes a mistake.
1973 It was created by glib-networking $as_me 2.32.3, which was
1974 generated by GNU Autoconf 2.68. Invocation command line was
1986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1993 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1995 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1996 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1998 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1999 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2000 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2001 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir=.
2010 $as_echo "PATH: $as_dir"
2026 # Keep a trace of the command line.
2027 # Strip out --no-create and --no-recursion so they do not pile up.
2028 # Strip out --silent because we don't want to record it for future runs.
2029 # Also quote any args containing shell meta-characters.
2030 # Make two passes to allow for proper duplicate-argument suppression.
2034 ac_must_keep_next=false
2040 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2042 | -silent | --silent | --silen | --sile | --sil)
2045 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2048 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2050 as_fn_append ac_configure_args1 " '$ac_arg'"
2051 if test $ac_must_keep_next = true; then
2052 ac_must_keep_next=false # Got value, back to normal.
2055 *=* | --config-cache | -C | -disable-* | --disable-* \
2056 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2057 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2058 | -with-* | --with-* | -without-* | --without-* | --x)
2059 case "$ac_configure_args0 " in
2060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2063 -* ) ac_must_keep_next=true ;;
2066 as_fn_append ac_configure_args " '$ac_arg'"
2071 { ac_configure_args0=; unset ac_configure_args0;}
2072 { ac_configure_args1=; unset ac_configure_args1;}
2074 # When interrupted or exit'd, cleanup temporary files, and complete
2075 # config.log. We remove comments because anyway the quotes in there
2076 # would cause problems or look ugly.
2077 # WARNING: Use '\'' to represent an apostrophe within the trap.
2078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2079 trap 'exit_status=$?
2080 # Save into config.log some information that might help in debugging.
2084 $as_echo "## ---------------- ##
2085 ## Cache variables. ##
2086 ## ---------------- ##"
2088 # The following way of writing the cache mishandles newlines in values,
2090 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2091 eval ac_val=\$$ac_var
2095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2099 _ | IFS | as_nl) ;; #(
2100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2101 *) { eval $ac_var=; unset $ac_var;} ;;
2106 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2107 *${as_nl}ac_space=\ *)
2109 "s/'\''/'\''\\\\'\'''\''/g;
2110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120 $as_echo "## ----------------- ##
2121 ## Output variables. ##
2122 ## ----------------- ##"
2124 for ac_var in $ac_subst_vars
2126 eval ac_val=\$$ac_var
2128 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -n "$ac_subst_files"; then
2135 $as_echo "## ------------------- ##
2136 ## File substitutions. ##
2137 ## ------------------- ##"
2139 for ac_var in $ac_subst_files
2141 eval ac_val=\$$ac_var
2143 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145 $as_echo "$ac_var='\''$ac_val'\''"
2150 if test -s confdefs.h; then
2151 $as_echo "## ----------- ##
2158 test "$ac_signal" != 0 &&
2159 $as_echo "$as_me: caught signal $ac_signal"
2160 $as_echo "$as_me: exit $exit_status"
2162 rm -f core *.core core.conftest.* &&
2163 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2166 for ac_signal in 1 2 13 15; do
2167 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2172 rm -f -r conftest* confdefs.h
2174 $as_echo "/* confdefs.h */" > confdefs.h
2176 # Predefined preprocessor variables.
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_NAME "$PACKAGE_NAME"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_STRING "$PACKAGE_STRING"
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_URL "$PACKAGE_URL"
2203 # Let the site file select an alternate cache file if it wants to.
2204 # Prefer an explicitly selected file to automatically selected ones.
2207 if test -n "$CONFIG_SITE"; then
2208 # We do not want a PATH search for config.site.
2209 case $CONFIG_SITE in #((
2210 -*) ac_site_file1=./$CONFIG_SITE;;
2211 */*) ac_site_file1=$CONFIG_SITE;;
2212 *) ac_site_file1=./$CONFIG_SITE;;
2214 elif test "x$prefix" != xNONE; then
2215 ac_site_file1=$prefix/share/config.site
2216 ac_site_file2=$prefix/etc/config.site
2218 ac_site_file1=$ac_default_prefix/share/config.site
2219 ac_site_file2=$ac_default_prefix/etc/config.site
2221 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 test "x$ac_site_file" = xNONE && continue
2224 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2227 sed 's/^/| /' "$ac_site_file" >&5
2229 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2231 as_fn_error $? "failed to load site script $ac_site_file
2232 See \`config.log' for more details" "$LINENO" 5; }
2236 if test -r "$cache_file"; then
2237 # Some versions of bash will fail to source /dev/null (special files
2238 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2239 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2241 $as_echo "$as_me: loading cache $cache_file" >&6;}
2243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244 *) . "./$cache_file";;
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2249 $as_echo "$as_me: creating cache $cache_file" >&6;}
2253 # Check that the precious variables saved in the cache have kept the same
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258 eval ac_new_set=\$ac_env_${ac_var}_set
2259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260 eval ac_new_val=\$ac_env_${ac_var}_value
2261 case $ac_old_set,$ac_new_set in
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2264 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2268 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2272 if test "x$ac_old_val" != "x$ac_new_val"; then
2273 # differences in whitespace do not lead to failure.
2274 ac_old_val_w=`echo x $ac_old_val`
2275 ac_new_val_w=`echo x $ac_new_val`
2276 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2279 ac_cache_corrupted=:
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2283 eval $ac_var=\$ac_old_val
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2286 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2288 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2291 # Pass precious variables to config.status.
2292 if test "$ac_new_set" = set; then
2294 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2295 *) ac_arg=$ac_var=$ac_new_val ;;
2297 case " $ac_configure_args " in
2298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2299 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2303 if $ac_cache_corrupted; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2308 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2310 ## -------------------- ##
2311 ## Main body of script. ##
2312 ## -------------------- ##
2315 ac_cpp='$CPP $CPPFLAGS'
2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 ac_config_headers="$ac_config_headers config.h"
2326 am__api_version='1.11'
2329 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2330 if test -f "$ac_dir/install-sh"; then
2332 ac_install_sh="$ac_aux_dir/install-sh -c"
2334 elif test -f "$ac_dir/install.sh"; then
2336 ac_install_sh="$ac_aux_dir/install.sh -c"
2338 elif test -f "$ac_dir/shtool"; then
2340 ac_install_sh="$ac_aux_dir/shtool install -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 # Find a good install program. We prefer a C program (faster),
2358 # so one script is as good as another. But avoid the broken or
2359 # incompatible versions:
2360 # SysV /etc/install, /usr/sbin/install
2361 # SunOS /usr/etc/install
2362 # IRIX /sbin/install
2364 # AmigaOS /C/install, which installs bootblocks on floppy discs
2365 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2368 # OS/2's system install, which has a completely different semantic
2369 # ./install, which can be erroneously created by make from ./install.sh.
2370 # Reject install programs that cannot install multiple files.
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2372 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2373 if test -z "$INSTALL"; then
2374 if ${ac_cv_path_install+:} false; then :
2375 $as_echo_n "(cached) " >&6
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 test -z "$as_dir" && as_dir=.
2382 # Account for people who put trailing slashes in PATH elements.
2383 case $as_dir/ in #((
2384 ./ | .// | /[cC]/* | \
2385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2386 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2389 # OSF1 and SCO ODT 3.0 have their own names for install.
2390 # Don't use installbsd from OSF since it installs stuff as root
2392 for ac_prog in ginstall scoinst install; do
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2395 if test $ac_prog = install &&
2396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2397 # AIX install. It has an incompatible calling convention.
2399 elif test $ac_prog = install &&
2400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2401 # program-specific install script used by HP pwplus--don't use.
2404 rm -rf conftest.one conftest.two conftest.dir
2405 echo one > conftest.one
2406 echo two > conftest.two
2408 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2409 test -s conftest.one && test -s conftest.two &&
2410 test -s conftest.dir/conftest.one &&
2411 test -s conftest.dir/conftest.two
2413 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2426 rm -rf conftest.one conftest.two conftest.dir
2429 if test "${ac_cv_path_install+set}" = set; then
2430 INSTALL=$ac_cv_path_install
2432 # As a last resort, use the slow shell script. Don't cache a
2433 # value for INSTALL within a source directory, because that will
2434 # break other packages using the cache if that directory is
2435 # removed, or if the value is a relative name.
2436 INSTALL=$ac_install_sh
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2440 $as_echo "$INSTALL" >&6; }
2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2443 # It thinks the first close brace ends the variable substitution.
2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2451 $as_echo_n "checking whether build environment is sane... " >&6; }
2454 echo timestamp > conftest.file
2455 # Reject unsafe characters in $srcdir or the absolute working directory
2456 # name. Accept space and tab only in the latter.
2460 *[\\\"\#\$\&\'\`$am_lf]*)
2461 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2464 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2465 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2468 # Do `set' in a subshell so we don't clobber the current shell's
2469 # arguments. Must try -L first in case configure is actually a
2470 # symlink; some systems play weird games with the mod time of symlinks
2471 # (eg FreeBSD returns the mod time of the symlink's containing
2474 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2475 if test "$*" = "X"; then
2477 set X `ls -t "$srcdir/configure" conftest.file`
2480 if test "$*" != "X $srcdir/configure conftest.file" \
2481 && test "$*" != "X conftest.file $srcdir/configure"; then
2483 # If neither matched, then we have a broken ls. This can happen
2484 # if, for instance, CONFIG_SHELL is bash and it inherits a
2485 # broken ls alias from the environment. This has actually
2486 # happened. Such a system could not be considered "sane".
2487 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2488 alias in your environment" "$LINENO" 5
2491 test "$2" = conftest.file
2497 as_fn_error $? "newly created file is older than distributed files!
2498 Check your system clock" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2502 test "$program_prefix" != NONE &&
2503 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2504 # Use a double $ so make ignores it.
2505 test "$program_suffix" != NONE &&
2506 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2507 # Double any \ or $.
2508 # By default was `s,x,x', remove it if useless.
2509 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2510 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2512 # expand $ac_aux_dir to an absolute path
2513 am_aux_dir=`cd $ac_aux_dir && pwd`
2515 if test x"${MISSING+set}" != xset; then
2518 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2520 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2523 # Use eval to expand $SHELL
2524 if eval "$MISSING --run true"; then
2525 am_missing_run="$MISSING --run "
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2529 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2532 if test x"${install_sh}" != xset; then
2535 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2537 install_sh="\${SHELL} $am_aux_dir/install-sh"
2541 # Installed binaries are usually stripped using `strip' when the user
2542 # run `make install-strip'. However `strip' might not be the right
2543 # tool to use in cross-compilation environments, therefore Automake
2544 # will honor the `STRIP' environment variable to overrule this program.
2545 if test "$cross_compiling" != no; then
2546 if test -n "$ac_tool_prefix"; then
2547 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2548 set dummy ${ac_tool_prefix}strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_STRIP+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$STRIP"; then
2555 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 STRIP=$ac_cv_prog_STRIP
2575 if test -n "$STRIP"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2577 $as_echo "$STRIP" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2585 if test -z "$ac_cv_prog_STRIP"; then
2587 # Extract the first word of "strip", so it can be a program name with args.
2588 set dummy strip; ac_word=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2592 $as_echo_n "(cached) " >&6
2594 if test -n "$ac_ct_STRIP"; then
2595 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_ac_ct_STRIP="strip"
2605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2615 if test -n "$ac_ct_STRIP"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2617 $as_echo "$ac_ct_STRIP" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2623 if test "x$ac_ct_STRIP" = x; then
2626 case $cross_compiling:$ac_tool_warned in
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2630 ac_tool_warned=yes ;;
2635 STRIP="$ac_cv_prog_STRIP"
2639 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2642 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2643 if test -z "$MKDIR_P"; then
2644 if ${ac_cv_path_mkdir+:} false; then :
2645 $as_echo_n "(cached) " >&6
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2651 test -z "$as_dir" && as_dir=.
2652 for ac_prog in mkdir gmkdir; do
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2655 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2656 'mkdir (GNU coreutils) '* | \
2657 'mkdir (coreutils) '* | \
2658 'mkdir (fileutils) '4.1*)
2659 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2669 test -d ./--version && rmdir ./--version
2670 if test "${ac_cv_path_mkdir+set}" = set; then
2671 MKDIR_P="$ac_cv_path_mkdir -p"
2673 # As a last resort, use the slow shell script. Don't cache a
2674 # value for MKDIR_P within a source directory, because that will
2675 # break other packages using the cache if that directory is
2676 # removed, or if the value is a relative name.
2677 MKDIR_P="$ac_install_sh -d"
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2681 $as_echo "$MKDIR_P" >&6; }
2685 [\\/$]* | ?:[\\/]*) ;;
2686 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2689 for ac_prog in gawk mawk nawk awk
2691 # Extract the first word of "$ac_prog", so it can be a program name with args.
2692 set dummy $ac_prog; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_AWK+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$AWK"; then
2699 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_AWK="$ac_prog"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$AWK"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2721 $as_echo "$AWK" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2728 test -n "$AWK" && break
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2732 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2734 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2735 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2736 $as_echo_n "(cached) " >&6
2738 cat >conftest.make <<\_ACEOF
2741 @echo '@@@%%%=$(MAKE)=@@@%%%'
2743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2746 eval ac_cv_prog_make_${ac_make}_set=yes;;
2748 eval ac_cv_prog_make_${ac_make}_set=no;;
2752 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2754 $as_echo "yes" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2759 SET_MAKE="MAKE=${MAKE-make}"
2762 rm -rf .tst 2>/dev/null
2763 mkdir .tst 2>/dev/null
2764 if test -d .tst; then
2769 rmdir .tst 2>/dev/null
2771 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2772 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2773 # is not polluted with repeated "-I."
2774 am__isrc=' -I$(srcdir)'
2775 # test to see if srcdir already configured
2776 if test -f $srcdir/config.status; then
2777 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2781 # test whether we have cygpath
2782 if test -z "$CYGPATH_W"; then
2783 if (cygpath --version) >/dev/null 2>/dev/null; then
2784 CYGPATH_W='cygpath -w'
2791 # Define the identity of the package.
2792 PACKAGE='glib-networking'
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE "$PACKAGE"
2801 cat >>confdefs.h <<_ACEOF
2802 #define VERSION "$VERSION"
2805 # Some tools Automake needs.
2807 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2810 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2813 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2816 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2819 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2821 # We need awk for the "check" target. The system "awk" is bad on
2823 # Always define AMTAR for backward compatibility. Yes, it's still used
2824 # in the wild :-( We should find a proper way to deprecate it ...
2827 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2835 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2836 # Check whether --enable-maintainer-mode was given.
2837 if test "${enable_maintainer_mode+set}" = set; then :
2838 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2840 USE_MAINTAINER_MODE=yes
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2844 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2845 if test $USE_MAINTAINER_MODE = yes; then
2846 MAINTAINER_MODE_TRUE=
2847 MAINTAINER_MODE_FALSE='#'
2849 MAINTAINER_MODE_TRUE='#'
2850 MAINTAINER_MODE_FALSE=
2853 MAINT=$MAINTAINER_MODE_TRUE
2856 # Check whether --enable-silent-rules was given.
2857 if test "${enable_silent_rules+set}" = set; then :
2858 enableval=$enable_silent_rules;
2861 case $enable_silent_rules in
2862 yes) AM_DEFAULT_VERBOSITY=0;;
2863 no) AM_DEFAULT_VERBOSITY=1;;
2864 *) AM_DEFAULT_VERBOSITY=0;;
2866 am_make=${MAKE-make}
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2868 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2869 if ${am_cv_make_support_nested_variables+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 if $as_echo 'TRUE=$(BAR$(V))
2878 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2879 am_cv_make_support_nested_variables=yes
2881 am_cv_make_support_nested_variables=no
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2885 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2886 if test $am_cv_make_support_nested_variables = yes; then
2888 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2890 AM_V=$AM_DEFAULT_VERBOSITY
2891 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2898 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2903 macro_version='2.4.2'
2904 macro_revision='1.3337'
2918 ltmain="$ac_aux_dir/ltmain.sh"
2920 # Make sure we can run config.sub.
2921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2922 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2925 $as_echo_n "checking build system type... " >&6; }
2926 if ${ac_cv_build+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 ac_build_alias=$build_alias
2930 test "x$ac_build_alias" = x &&
2931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2932 test "x$ac_build_alias" = x &&
2933 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2939 $as_echo "$ac_cv_build" >&6; }
2940 case $ac_cv_build in
2942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2945 ac_save_IFS=$IFS; IFS='-'
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2959 $as_echo_n "checking host system type... " >&6; }
2960 if ${ac_cv_host+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 if test "x$host_alias" = x; then
2964 ac_cv_host=$ac_cv_build
2966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2967 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2972 $as_echo "$ac_cv_host" >&6; }
2975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2978 ac_save_IFS=$IFS; IFS='-'
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2991 # Backslashify metacharacters that are still active within
2992 # double-quoted strings.
2993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2995 # Same as above, but do not quote variable references.
2996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2998 # Sed substitution to delay expansion of an escaped shell variable in a
2999 # double_quote_subst'ed string.
3000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3002 # Sed substitution to delay expansion of an escaped single quote.
3003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3005 # Sed substitution to avoid accidental globbing in evaled expressions
3006 no_glob_subst='s/\*/\\\*/g'
3008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3013 $as_echo_n "checking how to print strings... " >&6; }
3014 # Test print first, because it will be a builtin if present.
3015 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3016 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3021 # Use this function as a fallback that always works.
3022 func_fallback_echo ()
3024 eval 'cat <<_LTECHO_EOF
3028 ECHO='func_fallback_echo'
3031 # func_echo_all arg...
3032 # Invoke $ECHO with all args, space-separated.
3039 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3040 $as_echo "printf" >&6; } ;;
3041 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3042 $as_echo "print -r" >&6; } ;;
3043 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3044 $as_echo "cat" >&6; } ;;
3060 DEPDIR="${am__leading_dot}deps"
3062 ac_config_commands="$ac_config_commands depfiles"
3065 am_make=${MAKE-make}
3066 cat > confinc << 'END'
3068 @echo this is the am__doit target
3071 # If we don't find an include directive, just comment out the code.
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3073 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3077 # First try GNU make style include.
3078 echo "include confinc" > confmf
3079 # Ignore all kinds of additional output from `make'.
3080 case `$am_make -s -f confmf 2> /dev/null` in #(
3081 *the\ am__doit\ target*)
3087 # Now try BSD make style include.
3088 if test "$am__include" = "#"; then
3089 echo '.include "confinc"' > confmf
3090 case `$am_make -s -f confmf 2> /dev/null` in #(
3091 *the\ am__doit\ target*)
3092 am__include=.include
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3101 $as_echo "$_am_result" >&6; }
3102 rm -f confinc confmf
3104 # Check whether --enable-dependency-tracking was given.
3105 if test "${enable_dependency_tracking+set}" = set; then :
3106 enableval=$enable_dependency_tracking;
3109 if test "x$enable_dependency_tracking" != xno; then
3110 am_depcomp="$ac_aux_dir/depcomp"
3114 if test "x$enable_dependency_tracking" != xno; then
3124 ac_cpp='$CPP $CPPFLAGS'
3125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3128 if test -n "$ac_tool_prefix"; then
3129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3130 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC="$CC" # Let the user override the test.
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3146 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 if test -n "$CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3167 if test -z "$ac_cv_prog_CC"; then
3169 # Extract the first word of "gcc", so it can be a program name with args.
3170 set dummy gcc; ac_word=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$ac_ct_CC"; then
3177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_ac_ct_CC="gcc"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3197 if test -n "$ac_ct_CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3199 $as_echo "$ac_ct_CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3205 if test "x$ac_ct_CC" = x; then
3208 case $cross_compiling:$ac_tool_warned in
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212 ac_tool_warned=yes ;;
3220 if test -z "$CC"; then
3221 if test -n "$ac_tool_prefix"; then
3222 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3223 set dummy ${ac_tool_prefix}cc; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_CC+:} false; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$CC"; then
3230 ac_cv_prog_CC="$CC" # Let the user override the test.
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239 ac_cv_prog_CC="${ac_tool_prefix}cc"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 if test -n "$CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252 $as_echo "$CC" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3261 if test -z "$CC"; then
3262 # Extract the first word of "cc", so it can be a program name with args.
3263 set dummy cc; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC="$CC" # Let the user override the test.
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir=.
3278 for ac_exec_ext in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3281 ac_prog_rejected=yes
3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test $ac_prog_rejected = yes; then
3293 # We found a bogon in the path, so make sure we never use it.
3294 set dummy $ac_cv_prog_CC
3296 if test $# != 0; then
3297 # We chose a different compiler from the bogus one.
3298 # However, it has the same basename, so the bogon will be chosen
3299 # first if we set CC to just the basename; use the full file name.
3301 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3307 if test -n "$CC"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3309 $as_echo "$CC" >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3317 if test -z "$CC"; then
3318 if test -n "$ac_tool_prefix"; then
3319 for ac_prog in cl.exe
3321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3322 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326 $as_echo_n "(cached) " >&6
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC="$CC" # Let the user override the test.
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3338 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3358 test -n "$CC" && break
3361 if test -z "$CC"; then
3363 for ac_prog in cl.exe
3365 # Extract the first word of "$ac_prog", so it can be a program name with args.
3366 set dummy $ac_prog; ac_word=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$ac_ct_CC"; then
3373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CC="$ac_prog"
3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3393 if test -n "$ac_ct_CC"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3395 $as_echo "$ac_ct_CC" >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3402 test -n "$ac_ct_CC" && break
3405 if test "x$ac_ct_CC" = x; then
3408 case $cross_compiling:$ac_tool_warned in
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3412 ac_tool_warned=yes ;;
3421 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $? "no acceptable C compiler found in \$PATH
3424 See \`config.log' for more details" "$LINENO" 5; }
3426 # Provide some information about the compiler.
3427 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3430 for ac_option in --version -v -V -qversion; do
3431 { { ac_try="$ac_compiler $ac_option >&5"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3440 if test -s conftest.err; then
3442 ... rest of stderr output deleted ...
3443 10q' conftest.err >conftest.er1
3444 cat conftest.er1 >&5
3446 rm -f conftest.er1 conftest.err
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3462 ac_clean_files_save=$ac_clean_files
3463 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3464 # Try to create an executable without -o first, disregard a.out.
3465 # It will help us diagnose broken compilers, and finding out an intuition
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3468 $as_echo_n "checking whether the C compiler works... " >&6; }
3469 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3471 # The possible output files:
3472 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3475 for ac_file in $ac_files
3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3479 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3484 if { { ac_try="$ac_link_default"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_link_default") 2>&5
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }; then :
3495 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3496 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3497 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3498 # so that the user can short-circuit this test for compilers unknown to
3500 for ac_file in $ac_files ''
3502 test -f "$ac_file" || continue
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3507 # We found the default executable, but exeext='' is most
3511 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3513 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3515 # We set ac_cv_exeext here because the later test for it is not
3516 # safe: cross compilers may not add the suffix if given an `-o'
3517 # argument, so we may need to know it at that point already.
3518 # Even if this section looks crufty: it has the advantage of
3525 test "$ac_cv_exeext" = no && ac_cv_exeext=
3530 if test -z "$ac_file"; then :
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3533 $as_echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error 77 "C compiler cannot create executables
3539 See \`config.log' for more details" "$LINENO" 5; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3542 $as_echo "yes" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3545 $as_echo_n "checking for C compiler default output file name... " >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3547 $as_echo "$ac_file" >&6; }
3548 ac_exeext=$ac_cv_exeext
3550 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3551 ac_clean_files=$ac_clean_files_save
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3553 $as_echo_n "checking for suffix of executables... " >&6; }
3554 if { { ac_try="$ac_link"
3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_link") 2>&5
3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564 test $ac_status = 0; }; then :
3565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3567 # work properly (i.e., refer to `conftest.exe'), while it won't with
3569 for ac_file in conftest.exe conftest conftest.*; do
3570 test -f "$ac_file" || continue
3572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3582 See \`config.log' for more details" "$LINENO" 5; }
3584 rm -f conftest conftest$ac_cv_exeext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3586 $as_echo "$ac_cv_exeext" >&6; }
3588 rm -f conftest.$ac_ext
3589 EXEEXT=$ac_cv_exeext
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3597 FILE *f = fopen ("conftest.out", "w");
3598 return ferror (f) || fclose (f) != 0;
3604 ac_clean_files="$ac_clean_files conftest.out"
3605 # Check that the compiler produces executables we can run. If not, either
3606 # the compiler is broken, or we cross compile.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3608 $as_echo_n "checking whether we are cross compiling... " >&6; }
3609 if test "$cross_compiling" != yes; then
3610 { { ac_try="$ac_link"
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_link") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; }
3621 if { ac_try='./conftest$ac_cv_exeext'
3622 { { case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628 (eval "$ac_try") 2>&5
3630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631 test $ac_status = 0; }; }; then
3634 if test "$cross_compiling" = maybe; then
3637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 as_fn_error $? "cannot run C compiled programs.
3640 If you meant to cross compile, use \`--host'.
3641 See \`config.log' for more details" "$LINENO" 5; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3646 $as_echo "$cross_compiling" >&6; }
3648 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3649 ac_clean_files=$ac_clean_files_save
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3651 $as_echo_n "checking for suffix of object files... " >&6; }
3652 if ${ac_cv_objext+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3666 rm -f conftest.o conftest.obj
3667 if { { ac_try="$ac_compile"
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_compile") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }; then :
3678 for ac_file in conftest.o conftest.obj conftest.*; do
3679 test -f "$ac_file" || continue;
3681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3682 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3687 $as_echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error $? "cannot compute suffix of object files: cannot compile
3693 See \`config.log' for more details" "$LINENO" 5; }
3695 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3698 $as_echo "$ac_cv_objext" >&6; }
3699 OBJEXT=$ac_cv_objext
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3702 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3703 if ${ac_cv_c_compiler_gnu+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3720 if ac_fn_c_try_compile "$LINENO"; then :
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3730 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3731 if test $ac_compiler_gnu = yes; then
3736 ac_test_CFLAGS=${CFLAGS+set}
3737 ac_save_CFLAGS=$CFLAGS
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3739 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3740 if ${ac_cv_prog_cc_g+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 ac_save_c_werror_flag=$ac_c_werror_flag
3744 ac_c_werror_flag=yes
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3758 if ac_fn_c_try_compile "$LINENO"; then :
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3776 ac_c_werror_flag=$ac_save_c_werror_flag
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_c_try_compile "$LINENO"; then :
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 ac_c_werror_flag=$ac_save_c_werror_flag
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3800 $as_echo "$ac_cv_prog_cc_g" >&6; }
3801 if test "$ac_test_CFLAGS" = set; then
3802 CFLAGS=$ac_save_CFLAGS
3803 elif test $ac_cv_prog_cc_g = yes; then
3804 if test "$GCC" = yes; then
3810 if test "$GCC" = yes; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3817 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3818 if ${ac_cv_prog_cc_c89+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 ac_cv_prog_cc_c89=no
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3827 #include <sys/types.h>
3828 #include <sys/stat.h>
3829 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3830 struct buf { int x; };
3831 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3832 static char *e (p, i)
3838 static char *f (char * (*g) (char **, int), char **p, ...)
3843 s = g (p, va_arg (v,int));
3848 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3849 function prototypes and stuff, but not '\xHH' hex character constants.
3850 These don't provoke an error unfortunately, instead are silently treated
3851 as 'x'. The following induces an error, until -std is added to get
3852 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3853 array size at least. It's necessary to write '\x00'==0 to get something
3854 that's true only with -std. */
3855 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3857 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3858 inside strings and character constants. */
3860 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3862 int test (int i, double x);
3863 struct s1 {int (*f) (int a);};
3864 struct s2 {int (*f) (double a);};
3865 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3871 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3876 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3877 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3879 CC="$ac_save_CC $ac_arg"
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881 ac_cv_prog_cc_c89=$ac_arg
3883 rm -f core conftest.err conftest.$ac_objext
3884 test "x$ac_cv_prog_cc_c89" != "xno" && break
3886 rm -f conftest.$ac_ext
3891 case "x$ac_cv_prog_cc_c89" in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3894 $as_echo "none needed" >&6; } ;;
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3897 $as_echo "unsupported" >&6; } ;;
3899 CC="$CC $ac_cv_prog_cc_c89"
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3901 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3903 if test "x$ac_cv_prog_cc_c89" != xno; then :
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 depcc="$CC" am_compiler_list=
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
3917 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921 # We make a subdir and do the tests there. Otherwise we can end up
3922 # making bogus files that we don't know about and never remove. For
3923 # instance it was reported that on HP-UX the gcc test will end up
3924 # making a dummy file named `D' -- because `-MD' means `put the output
3928 # Copy depcomp to subdir because otherwise we won't find it if we're
3929 # using a relative directory.
3930 cp "$am_depcomp" conftest.dir
3932 # We will build objects and dependencies in a subdirectory because
3933 # it helps to detect inapplicable dependency modes. For instance
3934 # both Tru64's cc and ICC support -MD to output dependencies as a
3935 # side effect of compilation, but ICC will put the dependencies in
3936 # the current directory while Tru64 will put them in the object
3940 am_cv_CC_dependencies_compiler_type=none
3941 if test "$am_compiler_list" = ""; then
3942 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945 case " $depcc " in #(
3946 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3949 for depmode in $am_compiler_list; do
3950 # Setup a source with many dependencies, because some compilers
3951 # like to wrap large dependency lists on column 80 (with \), and
3952 # we should not choose a depcomp mode which is confused by this.
3954 # We need to recreate these files for each test, as the compiler may
3955 # overwrite some of them when testing with obscure command lines.
3956 # This happens at least with the AIX C compiler.
3958 for i in 1 2 3 4 5 6; do
3959 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3960 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3961 # Solaris 8's {/usr,}/bin/sh.
3962 touch sub/conftst$i.h
3964 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3966 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3967 # mode. It turns out that the SunPro C++ compiler does not properly
3968 # handle `-M -o', and we need to detect this. Also, some Intel
3969 # versions had trouble with output in subdirs
3970 am__obj=sub/conftest.${OBJEXT-o}
3971 am__minus_obj="-o $am__obj"
3974 # This depmode causes a compiler race in universal mode.
3975 test "$am__universal" = false || continue
3978 # after this tag, mechanisms are not by side-effect, so they'll
3979 # only be used when explicitly requested
3980 if test "x$enable_dependency_tracking" = xyes; then
3986 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3987 # This compiler won't grok `-c -o', but also, the minuso test has
3988 # not run yet. These depmodes are late enough in the game, and
3989 # so weak that their functioning should not be impacted.
3990 am__obj=conftest.${OBJEXT-o}
3995 if depmode=$depmode \
3996 source=sub/conftest.c object=$am__obj \
3997 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3998 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3999 >/dev/null 2>conftest.err &&
4000 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4001 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4002 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4003 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4004 # icc doesn't choke on unknown options, it will just issue warnings
4005 # or remarks (even with -Werror). So we grep stderr for any message
4006 # that says an option was ignored or not supported.
4007 # When given -MP, icc 7.0 and 7.1 complain thusly:
4008 # icc: Command line warning: ignoring option '-M'; no argument required
4009 # The diagnosis changed in icc 8.0:
4010 # icc: Command line remark: option '-MP' not supported
4011 if (grep 'ignoring option' conftest.err ||
4012 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4013 am_cv_CC_dependencies_compiler_type=$depmode
4022 am_cv_CC_dependencies_compiler_type=none
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4027 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4028 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4031 test "x$enable_dependency_tracking" != xno \
4032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4034 am__fastdepCC_FALSE='#'
4036 am__fastdepCC_TRUE='#'
4037 am__fastdepCC_FALSE=
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4042 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4043 if ${ac_cv_path_SED+:} false; then :
4044 $as_echo_n "(cached) " >&6
4046 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4047 for ac_i in 1 2 3 4 5 6 7; do
4048 ac_script="$ac_script$as_nl$ac_script"
4050 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4051 { ac_script=; unset ac_script;}
4052 if test -z "$SED"; then
4053 ac_path_SED_found=false
4054 # Loop through the user's path and test for each of PROGNAME-LIST
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir=.
4060 for ac_prog in sed gsed; do
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4063 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4064 # Check for GNU ac_path_SED and select it if it is found.
4065 # Check for GNU $ac_path_SED
4066 case `"$ac_path_SED" --version 2>&1` in
4068 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4071 $as_echo_n 0123456789 >"conftest.in"
4074 cat "conftest.in" "conftest.in" >"conftest.tmp"
4075 mv "conftest.tmp" "conftest.in"
4076 cp "conftest.in" "conftest.nl"
4077 $as_echo '' >> "conftest.nl"
4078 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4079 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4080 as_fn_arith $ac_count + 1 && ac_count=$as_val
4081 if test $ac_count -gt ${ac_path_SED_max-0}; then
4082 # Best one so far, save it but keep looking for a better one
4083 ac_cv_path_SED="$ac_path_SED"
4084 ac_path_SED_max=$ac_count
4086 # 10*(2^10) chars as input seems more than enough
4087 test $ac_count -gt 10 && break
4089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092 $ac_path_SED_found && break 3
4097 if test -z "$ac_cv_path_SED"; then
4098 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4106 $as_echo "$ac_cv_path_SED" >&6; }
4107 SED="$ac_cv_path_SED"
4110 test -z "$SED" && SED=sed
4111 Xsed="$SED -e 1s/^X//"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4125 if ${ac_cv_path_GREP+:} false; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -z "$GREP"; then
4129 ac_path_GREP_found=false
4130 # Loop through the user's path and test for each of PROGNAME-LIST
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4135 test -z "$as_dir" && as_dir=.
4136 for ac_prog in grep ggrep; do
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4139 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4140 # Check for GNU ac_path_GREP and select it if it is found.
4141 # Check for GNU $ac_path_GREP
4142 case `"$ac_path_GREP" --version 2>&1` in
4144 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4147 $as_echo_n 0123456789 >"conftest.in"
4150 cat "conftest.in" "conftest.in" >"conftest.tmp"
4151 mv "conftest.tmp" "conftest.in"
4152 cp "conftest.in" "conftest.nl"
4153 $as_echo 'GREP' >> "conftest.nl"
4154 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4155 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4156 as_fn_arith $ac_count + 1 && ac_count=$as_val
4157 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4158 # Best one so far, save it but keep looking for a better one
4159 ac_cv_path_GREP="$ac_path_GREP"
4160 ac_path_GREP_max=$ac_count
4162 # 10*(2^10) chars as input seems more than enough
4163 test $ac_count -gt 10 && break
4165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4168 $ac_path_GREP_found && break 3
4173 if test -z "$ac_cv_path_GREP"; then
4174 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4177 ac_cv_path_GREP=$GREP
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4182 $as_echo "$ac_cv_path_GREP" >&6; }
4183 GREP="$ac_cv_path_GREP"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4187 $as_echo_n "checking for egrep... " >&6; }
4188 if ${ac_cv_path_EGREP+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4192 then ac_cv_path_EGREP="$GREP -E"
4194 if test -z "$EGREP"; then
4195 ac_path_EGREP_found=false
4196 # Loop through the user's path and test for each of PROGNAME-LIST
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4201 test -z "$as_dir" && as_dir=.
4202 for ac_prog in egrep; do
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4205 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4206 # Check for GNU ac_path_EGREP and select it if it is found.
4207 # Check for GNU $ac_path_EGREP
4208 case `"$ac_path_EGREP" --version 2>&1` in
4210 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4213 $as_echo_n 0123456789 >"conftest.in"
4216 cat "conftest.in" "conftest.in" >"conftest.tmp"
4217 mv "conftest.tmp" "conftest.in"
4218 cp "conftest.in" "conftest.nl"
4219 $as_echo 'EGREP' >> "conftest.nl"
4220 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4221 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4222 as_fn_arith $ac_count + 1 && ac_count=$as_val
4223 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4224 # Best one so far, save it but keep looking for a better one
4225 ac_cv_path_EGREP="$ac_path_EGREP"
4226 ac_path_EGREP_max=$ac_count
4228 # 10*(2^10) chars as input seems more than enough
4229 test $ac_count -gt 10 && break
4231 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4234 $ac_path_EGREP_found && break 3
4239 if test -z "$ac_cv_path_EGREP"; then
4240 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4243 ac_cv_path_EGREP=$EGREP
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4249 $as_echo "$ac_cv_path_EGREP" >&6; }
4250 EGREP="$ac_cv_path_EGREP"
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4254 $as_echo_n "checking for fgrep... " >&6; }
4255 if ${ac_cv_path_FGREP+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4259 then ac_cv_path_FGREP="$GREP -F"
4261 if test -z "$FGREP"; then
4262 ac_path_FGREP_found=false
4263 # Loop through the user's path and test for each of PROGNAME-LIST
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4268 test -z "$as_dir" && as_dir=.
4269 for ac_prog in fgrep; do
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4272 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4273 # Check for GNU ac_path_FGREP and select it if it is found.
4274 # Check for GNU $ac_path_FGREP
4275 case `"$ac_path_FGREP" --version 2>&1` in
4277 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4280 $as_echo_n 0123456789 >"conftest.in"
4283 cat "conftest.in" "conftest.in" >"conftest.tmp"
4284 mv "conftest.tmp" "conftest.in"
4285 cp "conftest.in" "conftest.nl"
4286 $as_echo 'FGREP' >> "conftest.nl"
4287 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4288 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4289 as_fn_arith $ac_count + 1 && ac_count=$as_val
4290 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4291 # Best one so far, save it but keep looking for a better one
4292 ac_cv_path_FGREP="$ac_path_FGREP"
4293 ac_path_FGREP_max=$ac_count
4295 # 10*(2^10) chars as input seems more than enough
4296 test $ac_count -gt 10 && break
4298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4301 $ac_path_FGREP_found && break 3
4306 if test -z "$ac_cv_path_FGREP"; then
4307 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4310 ac_cv_path_FGREP=$FGREP
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4316 $as_echo "$ac_cv_path_FGREP" >&6; }
4317 FGREP="$ac_cv_path_FGREP"
4320 test -z "$GREP" && GREP=grep
4340 # Check whether --with-gnu-ld was given.
4341 if test "${with_gnu_ld+set}" = set; then :
4342 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4348 if test "$GCC" = yes; then
4349 # Check if gcc -print-prog-name=ld gives a path.
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4351 $as_echo_n "checking for ld used by $CC... " >&6; }
4354 # gcc leaves a trailing carriage return which upsets mingw
4355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4360 # Accept absolute paths.
4362 re_direlt='/[^/][^/]*/\.\./'
4363 # Canonicalize the pathname of ld
4364 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4365 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4366 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4368 test -z "$LD" && LD="$ac_prog"
4371 # If it fails, then pretend we aren't using GCC.
4375 # If it is relative, then search for the first ld in PATH.
4379 elif test "$with_gnu_ld" = yes; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4381 $as_echo_n "checking for GNU ld... " >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4384 $as_echo_n "checking for non-GNU ld... " >&6; }
4386 if ${lt_cv_path_LD+:} false; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -z "$LD"; then
4390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4391 for ac_dir in $PATH; do
4393 test -z "$ac_dir" && ac_dir=.
4394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4395 lt_cv_path_LD="$ac_dir/$ac_prog"
4396 # Check to see if the program is GNU ld. I'd rather use --version,
4397 # but apparently some variants of GNU ld only accept -v.
4398 # Break only if it was the GNU/non-GNU ld that we prefer.
4399 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 test "$with_gnu_ld" != no && break
4404 test "$with_gnu_ld" != yes && break
4411 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4416 if test -n "$LD"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4418 $as_echo "$LD" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4423 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4426 if ${lt_cv_prog_gnu_ld+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4430 case `$LD -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 lt_cv_prog_gnu_ld=yes
4435 lt_cv_prog_gnu_ld=no
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4441 with_gnu_ld=$lt_cv_prog_gnu_ld
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4452 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4453 if ${lt_cv_path_NM+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -n "$NM"; then
4457 # Let the user override the test.
4460 lt_nm_to_check="${ac_tool_prefix}nm"
4461 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4462 lt_nm_to_check="$lt_nm_to_check nm"
4464 for lt_tmp_nm in $lt_nm_to_check; do
4465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4466 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4468 test -z "$ac_dir" && ac_dir=.
4469 tmp_nm="$ac_dir/$lt_tmp_nm"
4470 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4471 # Check to see if the nm accepts a BSD-compat flag.
4472 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4473 # nm: unknown option "B" ignored
4474 # Tru64's nm complains that /dev/null is an invalid object file
4475 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4476 */dev/null* | *'Invalid file or object type'*)
4477 lt_cv_path_NM="$tmp_nm -B"
4481 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4483 lt_cv_path_NM="$tmp_nm -p"
4487 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4488 continue # so that we can try to find one that supports BSD flags
4497 : ${lt_cv_path_NM=no}
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4501 $as_echo "$lt_cv_path_NM" >&6; }
4502 if test "$lt_cv_path_NM" != "no"; then
4505 # Didn't find any BSD compatible name lister, look for dumpbin.
4506 if test -n "$DUMPBIN"; then :
4507 # Let the user override the test.
4509 if test -n "$ac_tool_prefix"; then
4510 for ac_prog in dumpbin "link -dump"
4512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_prog_DUMPBIN+:} false; then :
4517 $as_echo_n "(cached) " >&6
4519 if test -n "$DUMPBIN"; then
4520 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 DUMPBIN=$ac_cv_prog_DUMPBIN
4540 if test -n "$DUMPBIN"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4542 $as_echo "$DUMPBIN" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4549 test -n "$DUMPBIN" && break
4552 if test -z "$DUMPBIN"; then
4553 ac_ct_DUMPBIN=$DUMPBIN
4554 for ac_prog in dumpbin "link -dump"
4556 # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$ac_ct_DUMPBIN"; then
4564 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4584 if test -n "$ac_ct_DUMPBIN"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4586 $as_echo "$ac_ct_DUMPBIN" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4593 test -n "$ac_ct_DUMPBIN" && break
4596 if test "x$ac_ct_DUMPBIN" = x; then
4599 case $cross_compiling:$ac_tool_warned in
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4603 ac_tool_warned=yes ;;
4605 DUMPBIN=$ac_ct_DUMPBIN
4609 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4611 DUMPBIN="$DUMPBIN -symbols"
4619 if test "$DUMPBIN" != ":"; then
4623 test -z "$NM" && NM=nm
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4632 if ${lt_cv_nm_interface+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 lt_cv_nm_interface="BSD nm"
4636 echo "int some_variable = 0;" > conftest.$ac_ext
4637 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4638 (eval "$ac_compile" 2>conftest.err)
4639 cat conftest.err >&5
4640 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4641 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4642 cat conftest.err >&5
4643 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4644 cat conftest.out >&5
4645 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4646 lt_cv_nm_interface="MS dumpbin"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4651 $as_echo "$lt_cv_nm_interface" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4654 $as_echo_n "checking whether ln -s works... " >&6; }
4656 if test "$LN_S" = "ln -s"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4658 $as_echo "yes" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4661 $as_echo "no, using $LN_S" >&6; }
4664 # find the maximum length of command line arguments
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4667 if ${lt_cv_sys_max_cmd_len+:} false; then :
4668 $as_echo_n "(cached) " >&6
4675 # On DJGPP, this test can blow up pretty badly due to problems in libc
4676 # (any single argument exceeding 2000 bytes causes a buffer overrun
4677 # during glob expansion). Even if it were fixed, the result of this
4678 # check would be larger than it should be.
4679 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4683 # Under GNU Hurd, this test is not required because there is
4684 # no limit to the length of command line arguments.
4685 # Libtool will interpret -1 as no limit whatsoever
4686 lt_cv_sys_max_cmd_len=-1;
4689 cygwin* | mingw* | cegcc*)
4690 # On Win9x/ME, this test blows up -- it succeeds, but takes
4691 # about 5 minutes as the teststring grows exponentially.
4692 # Worse, since 9x/ME are not pre-emptively multitasking,
4693 # you end up with a "frozen" computer, even though with patience
4694 # the test eventually succeeds (with a max line length of 256k).
4695 # Instead, let's just punt: use the minimum linelength reported by
4696 # all of the supported platforms: 8192 (on NT/2K/XP).
4697 lt_cv_sys_max_cmd_len=8192;
4701 # On MiNT this can take a long time and run out of memory.
4702 lt_cv_sys_max_cmd_len=8192;
4706 # On AmigaOS with pdksh, this test takes hours, literally.
4707 # So we just punt and use a minimum line length of 8192.
4708 lt_cv_sys_max_cmd_len=8192;
4711 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4712 # This has been around since 386BSD, at least. Likely further.
4713 if test -x /sbin/sysctl; then
4714 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4715 elif test -x /usr/sbin/sysctl; then
4716 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4718 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4720 # And add a safety zone
4721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4726 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4727 lt_cv_sys_max_cmd_len=196608
4731 # The test takes a long time on OS/2.
4732 lt_cv_sys_max_cmd_len=8192
4736 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4737 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4738 # nice to cause kernel panics so lets avoid the loop below.
4739 # First set a reasonable default.
4740 lt_cv_sys_max_cmd_len=16384
4742 if test -x /sbin/sysconfig; then
4743 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4744 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4749 lt_cv_sys_max_cmd_len=102400
4751 sysv5* | sco5v6* | sysv4.2uw2*)
4752 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4753 if test -n "$kargmax"; then
4754 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4756 lt_cv_sys_max_cmd_len=32768
4760 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4761 if test -n "$lt_cv_sys_max_cmd_len"; then
4762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4763 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4765 # Make teststring a little bigger before we do anything with it.
4766 # a 1K string should be a reasonable start.
4767 for i in 1 2 3 4 5 6 7 8 ; do
4768 teststring=$teststring$teststring
4770 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4771 # If test is not a shell built-in, we'll probably end up computing a
4772 # maximum length that is only half of the actual maximum length, but
4774 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4775 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4776 test $i != 17 # 1/2 MB should be enough
4779 teststring=$teststring$teststring
4781 # Only check the string length outside the loop.
4782 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4784 # Add a significant safety factor because C++ compilers can tack on
4785 # massive amounts of additional arguments before passing them to the
4786 # linker. It appears as though 1/2 is a usable value.
4787 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4794 if test -n $lt_cv_sys_max_cmd_len ; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4796 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4799 $as_echo "none" >&6; }
4801 max_cmd_len=$lt_cv_sys_max_cmd_len
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4813 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4814 # Try some XSI features
4817 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4819 && eval 'test $(( 1 + 1 )) -eq 2 \
4820 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4823 $as_echo "$xsi_shell" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4827 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4829 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4831 && lt_shell_append=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4833 $as_echo "$lt_shell_append" >&6; }
4836 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4846 # test EBCDIC or ASCII
4847 case `echo X|tr X '\101'` in
4848 A) # ASCII based system
4849 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4850 lt_SP2NL='tr \040 \012'
4851 lt_NL2SP='tr \015\012 \040\040'
4853 *) # EBCDIC based system
4854 lt_SP2NL='tr \100 \n'
4855 lt_NL2SP='tr \r\n \100\100'
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4868 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4869 if ${lt_cv_to_host_file_cmd+:} false; then :
4870 $as_echo_n "(cached) " >&6
4875 *-*-mingw* ) # actually msys
4876 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4879 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4881 * ) # otherwise, assume *nix
4882 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4888 *-*-mingw* ) # actually msys
4889 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4892 lt_cv_to_host_file_cmd=func_convert_file_noop
4894 * ) # otherwise, assume *nix
4895 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4899 * ) # unhandled hosts (and "normal" native builds)
4900 lt_cv_to_host_file_cmd=func_convert_file_noop
4906 to_host_file_cmd=$lt_cv_to_host_file_cmd
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4908 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4915 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4916 if ${lt_cv_to_tool_file_cmd+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 #assume ordinary cross tools, or native build.
4920 lt_cv_to_tool_file_cmd=func_convert_file_noop
4924 *-*-mingw* ) # actually msys
4925 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4933 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4935 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4942 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4943 if ${lt_cv_ld_reload_flag+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 lt_cv_ld_reload_flag='-r'
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4949 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4950 reload_flag=$lt_cv_ld_reload_flag
4951 case $reload_flag in
4953 *) reload_flag=" $reload_flag" ;;
4955 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4957 cygwin* | mingw* | pw32* | cegcc*)
4958 if test "$GCC" != yes; then
4963 if test "$GCC" = yes; then
4964 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4966 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_OBJDUMP+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$OBJDUMP"; then
4988 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 OBJDUMP=$ac_cv_prog_OBJDUMP
5008 if test -n "$OBJDUMP"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5010 $as_echo "$OBJDUMP" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5018 if test -z "$ac_cv_prog_OBJDUMP"; then
5019 ac_ct_OBJDUMP=$OBJDUMP
5020 # Extract the first word of "objdump", so it can be a program name with args.
5021 set dummy objdump; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$ac_ct_OBJDUMP"; then
5028 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5048 if test -n "$ac_ct_OBJDUMP"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5050 $as_echo "$ac_ct_OBJDUMP" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5056 if test "x$ac_ct_OBJDUMP" = x; then
5059 case $cross_compiling:$ac_tool_warned in
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned=yes ;;
5065 OBJDUMP=$ac_ct_OBJDUMP
5068 OBJDUMP="$ac_cv_prog_OBJDUMP"
5071 test -z "$OBJDUMP" && OBJDUMP=objdump
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5082 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5083 if ${lt_cv_deplibs_check_method+:} false; then :
5084 $as_echo_n "(cached) " >&6
5086 lt_cv_file_magic_cmd='$MAGIC_CMD'
5087 lt_cv_file_magic_test_file=
5088 lt_cv_deplibs_check_method='unknown'
5089 # Need to set the preceding variable on all platforms that support
5090 # interlibrary dependencies.
5091 # 'none' -- dependencies not supported.
5092 # `unknown' -- same as none, but documents that we really don't know.
5093 # 'pass_all' -- all dependencies passed with no checks.
5094 # 'test_compile' -- check by making test program.
5095 # 'file_magic [[regex]]' -- check by looking for files in library path
5096 # which responds to the $file_magic_cmd with a given extended regex.
5097 # If you have `file' or equivalent on your system and you're not sure
5098 # whether `pass_all' will *always* work, you probably want this one.
5102 lt_cv_deplibs_check_method=pass_all
5106 lt_cv_deplibs_check_method=pass_all
5110 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5111 lt_cv_file_magic_cmd='/usr/bin/file -L'
5112 lt_cv_file_magic_test_file=/shlib/libc.so
5116 # func_win32_libid is a shell function defined in ltmain.sh
5117 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5118 lt_cv_file_magic_cmd='func_win32_libid'
5122 # Base MSYS/MinGW do not provide the 'file' command needed by
5123 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5124 # unless we find 'file', for example because we are cross-compiling.
5125 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5126 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5127 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5128 lt_cv_file_magic_cmd='func_win32_libid'
5130 # Keep this pattern in sync with the one in func_win32_libid.
5131 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5132 lt_cv_file_magic_cmd='$OBJDUMP -f'
5137 # use the weaker test based on 'objdump'. See mingw*.
5138 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5139 lt_cv_file_magic_cmd='$OBJDUMP -f'
5142 darwin* | rhapsody*)
5143 lt_cv_deplibs_check_method=pass_all
5146 freebsd* | dragonfly*)
5147 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5150 # Not sure whether the presence of OpenBSD here was a mistake.
5151 # Let's accept both of them until this is cleared up.
5152 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5153 lt_cv_file_magic_cmd=/usr/bin/file
5154 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5158 lt_cv_deplibs_check_method=pass_all
5163 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_deplibs_check_method=pass_all
5170 hpux10.20* | hpux11*)
5171 lt_cv_file_magic_cmd=/usr/bin/file
5174 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5175 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5178 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]'
5179 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5182 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5183 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5189 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5193 irix5* | irix6* | nonstopux*)
5195 *-32|*"-32 ") libmagic=32-bit;;
5196 *-n32|*"-n32 ") libmagic=N32;;
5197 *-64|*"-64 ") libmagic=64-bit;;
5198 *) libmagic=never-match;;
5200 lt_cv_deplibs_check_method=pass_all
5203 # This must be glibc/ELF.
5204 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5205 lt_cv_deplibs_check_method=pass_all
5209 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5212 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5217 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5218 lt_cv_file_magic_cmd=/usr/bin/file
5219 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5223 lt_cv_deplibs_check_method=pass_all
5227 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5230 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5234 osf3* | osf4* | osf5*)
5235 lt_cv_deplibs_check_method=pass_all
5239 lt_cv_deplibs_check_method=pass_all
5243 lt_cv_deplibs_check_method=pass_all
5246 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5247 lt_cv_deplibs_check_method=pass_all
5251 case $host_vendor in
5253 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]'
5254 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5257 lt_cv_deplibs_check_method=pass_all
5260 lt_cv_file_magic_cmd='/bin/file'
5261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5264 lt_cv_file_magic_cmd='/bin/file'
5265 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5266 lt_cv_file_magic_test_file=/lib/libc.so
5269 lt_cv_deplibs_check_method=pass_all
5272 lt_cv_deplibs_check_method=pass_all
5278 lt_cv_deplibs_check_method=pass_all
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5284 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5288 if test "$build" = "$host"; then
5291 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5294 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5300 file_magic_cmd=$lt_cv_file_magic_cmd
5301 deplibs_check_method=$lt_cv_deplibs_check_method
5302 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_DLLTOOL+:} false; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$DLLTOOL"; then
5334 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5343 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 DLLTOOL=$ac_cv_prog_DLLTOOL
5354 if test -n "$DLLTOOL"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5356 $as_echo "$DLLTOOL" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 if test -z "$ac_cv_prog_DLLTOOL"; then
5365 ac_ct_DLLTOOL=$DLLTOOL
5366 # Extract the first word of "dlltool", so it can be a program name with args.
5367 set dummy dlltool; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$ac_ct_DLLTOOL"; then
5374 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5394 if test -n "$ac_ct_DLLTOOL"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5396 $as_echo "$ac_ct_DLLTOOL" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5402 if test "x$ac_ct_DLLTOOL" = x; then
5405 case $cross_compiling:$ac_tool_warned in
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned=yes ;;
5411 DLLTOOL=$ac_ct_DLLTOOL
5414 DLLTOOL="$ac_cv_prog_DLLTOOL"
5417 test -z "$DLLTOOL" && DLLTOOL=dlltool
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5429 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5430 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 lt_cv_sharedlib_from_linklib_cmd='unknown'
5436 cygwin* | mingw* | pw32* | cegcc*)
5437 # two different shell functions defined in ltmain.sh
5438 # decide which to use based on capabilities of $DLLTOOL
5439 case `$DLLTOOL --help 2>&1` in
5440 *--identify-strict*)
5441 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5444 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5449 # fallback: assume linklib IS sharedlib
5450 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5456 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5457 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5458 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5467 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_AR+:} false; then :
5475 $as_echo_n "(cached) " >&6
5477 if test -n "$AR"; then
5478 ac_cv_prog_AR="$AR" # Let the user override the test.
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 if test -n "$AR"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5500 $as_echo "$AR" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507 test -n "$AR" && break
5510 if test -z "$AR"; then
5514 # Extract the first word of "$ac_prog", so it can be a program name with args.
5515 set dummy $ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$ac_ct_AR"; then
5522 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_ac_ct_AR="$ac_prog"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5542 if test -n "$ac_ct_AR"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5544 $as_echo "$ac_ct_AR" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551 test -n "$ac_ct_AR" && break
5554 if test "x$ac_ct_AR" = x; then
5557 case $cross_compiling:$ac_tool_warned in
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5561 ac_tool_warned=yes ;;
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5581 $as_echo_n "checking for archiver @FILE support... " >&6; }
5582 if ${lt_cv_ar_at_file+:} false; then :
5583 $as_echo_n "(cached) " >&6
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5597 if ac_fn_c_try_compile "$LINENO"; then :
5598 echo conftest.$ac_objext > conftest.lst
5599 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5600 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5601 (eval $lt_ar_try) 2>&5
5603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5604 test $ac_status = 0; }
5605 if test "$ac_status" -eq 0; then
5606 # Ensure the archiver fails upon bogus file names.
5607 rm -f conftest.$ac_objext libconftest.a
5608 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5609 (eval $lt_ar_try) 2>&5
5611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5612 test $ac_status = 0; }
5613 if test "$ac_status" -ne 0; then
5617 rm -f conftest.* libconftest.a
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5624 $as_echo "$lt_cv_ar_at_file" >&6; }
5626 if test "x$lt_cv_ar_at_file" = xno; then
5629 archiver_list_spec=$lt_cv_ar_at_file
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}strip; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_STRIP+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$STRIP"; then
5647 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 STRIP=$ac_cv_prog_STRIP
5667 if test -n "$STRIP"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5669 $as_echo "$STRIP" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if test -z "$ac_cv_prog_STRIP"; then
5679 # Extract the first word of "strip", so it can be a program name with args.
5680 set dummy strip; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$ac_ct_STRIP"; then
5687 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696 ac_cv_prog_ac_ct_STRIP="strip"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5707 if test -n "$ac_ct_STRIP"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5709 $as_echo "$ac_ct_STRIP" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5715 if test "x$ac_ct_STRIP" = x; then
5718 case $cross_compiling:$ac_tool_warned in
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5727 STRIP="$ac_cv_prog_STRIP"
5730 test -z "$STRIP" && STRIP=:
5737 if test -n "$ac_tool_prefix"; then
5738 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_RANLIB+:} false; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$RANLIB"; then
5746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 RANLIB=$ac_cv_prog_RANLIB
5766 if test -n "$RANLIB"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5768 $as_echo "$RANLIB" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5776 if test -z "$ac_cv_prog_RANLIB"; then
5777 ac_ct_RANLIB=$RANLIB
5778 # Extract the first word of "ranlib", so it can be a program name with args.
5779 set dummy ranlib; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5783 $as_echo_n "(cached) " >&6
5785 if test -n "$ac_ct_RANLIB"; then
5786 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5795 ac_cv_prog_ac_ct_RANLIB="ranlib"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5806 if test -n "$ac_ct_RANLIB"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5808 $as_echo "$ac_ct_RANLIB" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5814 if test "x$ac_ct_RANLIB" = x; then
5817 case $cross_compiling:$ac_tool_warned in
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821 ac_tool_warned=yes ;;
5823 RANLIB=$ac_ct_RANLIB
5826 RANLIB="$ac_cv_prog_RANLIB"
5829 test -z "$RANLIB" && RANLIB=:
5836 # Determine commands to create old-style static archives.
5837 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5838 old_postinstall_cmds='chmod 644 $oldlib'
5839 old_postuninstall_cmds=
5841 if test -n "$RANLIB"; then
5844 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5847 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5850 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5855 lock_old_archive_extraction=yes ;;
5857 lock_old_archive_extraction=no ;;
5898 # If no C compiler was specified, use CC.
5901 # If no C compiler flags were specified, use CFLAGS.
5902 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5904 # Allow CC to be a program name with arguments.
5908 # Check for command to grab the raw symbol name followed by C symbol from nm.
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5910 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5911 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5912 $as_echo_n "(cached) " >&6
5915 # These are sane defaults that work on at least a few old systems.
5916 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5918 # Character class describing NM global symbol codes.
5919 symcode='[BCDEGRST]'
5921 # Regexp to match symbols that can be accessed directly from C.
5922 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5924 # Define system-specific variables.
5929 cygwin* | mingw* | pw32* | cegcc*)
5930 symcode='[ABCDGISTW]'
5933 if test "$host_cpu" = ia64; then
5934 symcode='[ABCDEGRST]'
5938 symcode='[BCDEGRST]'
5941 symcode='[BCDEGQRST]'
5952 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5960 # If we're using GNU nm, then use its standard symbol codes.
5961 case `$NM -V 2>&1` in
5962 *GNU* | *'with BFD'*)
5963 symcode='[ABCDGIRSTW]' ;;
5966 # Transform an extracted symbol line into a proper C declaration.
5967 # Some systems (esp. on ia64) link data and code symbols differently,
5968 # so use this general approach.
5969 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5971 # Transform an extracted symbol line into symbol name and symbol address
5972 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5973 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'"
5975 # Handle CRLF in mingw tool chain
5979 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5983 # Try without a prefix underscore, then with it.
5984 for ac_symprfx in "" "_"; do
5986 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5987 symxfrm="\\1 $ac_symprfx\\2 \\2"
5989 # Write the raw and C identifiers.
5990 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5991 # Fake it for dumpbin and say T for any non-static function
5992 # and D for any global variable.
5993 # Also find C++ and __fastcall symbols from MSVC++,
5994 # which start with @ or ?.
5995 lt_cv_sys_global_symbol_pipe="$AWK '"\
5996 " {last_section=section; section=\$ 3};"\
5997 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5998 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5999 " \$ 0!~/External *\|/{next};"\
6000 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6001 " {if(hide[section]) next};"\
6002 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6003 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6004 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6005 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6006 " ' prfx=^$ac_symprfx"
6008 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6010 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6012 # Check to see that the pipe works correctly.
6016 cat > conftest.$ac_ext <<_LT_EOF
6021 void nm_test_func(void);
6022 void nm_test_func(void){}
6026 int main(){nm_test_var='a';nm_test_func();return(0);}
6029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6030 (eval $ac_compile) 2>&5
6032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6033 test $ac_status = 0; }; then
6034 # Now try to grab the symbols.
6036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6037 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6040 test $ac_status = 0; } && test -s "$nlist"; then
6041 # Try sorting and uniquifying the output.
6042 if sort "$nlist" | uniq > "$nlist"T; then
6043 mv -f "$nlist"T "$nlist"
6048 # Make sure that we snagged all the symbols we need.
6049 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6050 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6051 cat <<_LT_EOF > conftest.$ac_ext
6052 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6053 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6054 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6055 relocations are performed -- see ld's documentation on pseudo-relocs. */
6056 # define LT_DLSYM_CONST
6057 #elif defined(__osf__)
6058 /* This system does not cope well with relocations in const data. */
6059 # define LT_DLSYM_CONST
6061 # define LT_DLSYM_CONST const
6069 # Now generate the symbol file.
6070 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6072 cat <<_LT_EOF >> conftest.$ac_ext
6074 /* The mapping between symbol names and symbols. */
6075 LT_DLSYM_CONST struct {
6079 lt__PROGRAM__LTX_preloaded_symbols[] =
6081 { "@PROGRAM@", (void *) 0 },
6083 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6084 cat <<\_LT_EOF >> conftest.$ac_ext
6088 /* This works around a problem in FreeBSD linker */
6089 #ifdef FREEBSD_WORKAROUND
6090 static const void *lt_preloaded_setup() {
6091 return lt__PROGRAM__LTX_preloaded_symbols;
6099 # Now try linking the two files.
6100 mv conftest.$ac_objext conftstm.$ac_objext
6101 lt_globsym_save_LIBS=$LIBS
6102 lt_globsym_save_CFLAGS=$CFLAGS
6103 LIBS="conftstm.$ac_objext"
6104 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6106 (eval $ac_link) 2>&5
6108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6112 LIBS=$lt_globsym_save_LIBS
6113 CFLAGS=$lt_globsym_save_CFLAGS
6115 echo "cannot find nm_test_func in $nlist" >&5
6118 echo "cannot find nm_test_var in $nlist" >&5
6121 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6124 echo "$progname: failed program was:" >&5
6125 cat conftest.$ac_ext >&5
6127 rm -rf conftest* conftst*
6129 # Do not use the global_symbol_pipe unless it works.
6130 if test "$pipe_works" = yes; then
6133 lt_cv_sys_global_symbol_pipe=
6139 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6140 lt_cv_sys_global_symbol_to_cdecl=
6142 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6144 $as_echo "failed" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6147 $as_echo "ok" >&6; }
6150 # Response file support.
6151 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6152 nm_file_list_spec='@'
6153 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6154 nm_file_list_spec='@'
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6184 $as_echo_n "checking for sysroot... " >&6; }
6186 # Check whether --with-sysroot was given.
6187 if test "${with_sysroot+set}" = set; then :
6188 withval=$with_sysroot;
6195 case ${with_sysroot} in #(
6197 if test "$GCC" = yes; then
6198 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6202 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6208 $as_echo "${with_sysroot}" >&6; }
6209 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6214 $as_echo "${lt_sysroot:-no}" >&6; }
6220 # Check whether --enable-libtool-lock was given.
6221 if test "${enable_libtool_lock+set}" = set; then :
6222 enableval=$enable_libtool_lock;
6225 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6227 # Some flags need to be propagated to the compiler or linker for good
6231 # Find out which ABI we are using.
6232 echo 'int i;' > conftest.$ac_ext
6233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234 (eval $ac_compile) 2>&5
6236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237 test $ac_status = 0; }; then
6238 case `/usr/bin/file conftest.$ac_objext` in
6250 # Find out which ABI we are using.
6251 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6253 (eval $ac_compile) 2>&5
6255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256 test $ac_status = 0; }; then
6257 if test "$lt_cv_prog_gnu_ld" = yes; then
6258 case `/usr/bin/file conftest.$ac_objext` in
6260 LD="${LD-ld} -melf32bsmip"
6263 LD="${LD-ld} -melf32bmipn32"
6266 LD="${LD-ld} -melf64bmip"
6270 case `/usr/bin/file conftest.$ac_objext` in
6286 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6287 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6288 # Find out which ABI we are using.
6289 echo 'int i;' > conftest.$ac_ext
6290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6291 (eval $ac_compile) 2>&5
6293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6294 test $ac_status = 0; }; then
6295 case `/usr/bin/file conftest.o` in
6298 x86_64-*kfreebsd*-gnu)
6299 LD="${LD-ld} -m elf_i386_fbsd"
6302 LD="${LD-ld} -m elf_i386"
6304 ppc64-*linux*|powerpc64-*linux*)
6305 LD="${LD-ld} -m elf32ppclinux"
6308 LD="${LD-ld} -m elf_s390"
6311 LD="${LD-ld} -m elf32_sparc"
6317 x86_64-*kfreebsd*-gnu)
6318 LD="${LD-ld} -m elf_x86_64_fbsd"
6321 LD="${LD-ld} -m elf_x86_64"
6323 ppc*-*linux*|powerpc*-*linux*)
6324 LD="${LD-ld} -m elf64ppc"
6326 s390*-*linux*|s390*-*tpf*)
6327 LD="${LD-ld} -m elf64_s390"
6330 LD="${LD-ld} -m elf64_sparc"
6340 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6341 SAVE_CFLAGS="$CFLAGS"
6342 CFLAGS="$CFLAGS -belf"
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6344 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6345 if ${lt_cv_cc_needs_belf+:} false; then :
6346 $as_echo_n "(cached) " >&6
6349 ac_cpp='$CPP $CPPFLAGS'
6350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6365 if ac_fn_c_try_link "$LINENO"; then :
6366 lt_cv_cc_needs_belf=yes
6368 lt_cv_cc_needs_belf=no
6370 rm -f core conftest.err conftest.$ac_objext \
6371 conftest$ac_exeext conftest.$ac_ext
6373 ac_cpp='$CPP $CPPFLAGS'
6374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6380 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6381 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6382 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6383 CFLAGS="$SAVE_CFLAGS"
6387 # Find out which ABI we are using.
6388 echo 'int i;' > conftest.$ac_ext
6389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6390 (eval $ac_compile) 2>&5
6392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6393 test $ac_status = 0; }; then
6394 case `/usr/bin/file conftest.o` in
6396 case $lt_cv_prog_gnu_ld in
6400 LD="${LD-ld} -m elf_x86_64"
6403 LD="${LD-ld} -m elf64_sparc"
6406 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6407 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6412 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6424 need_locks="$enable_libtool_lock"
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}mt; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6432 $as_echo_n "(cached) " >&6
6434 if test -n "$MANIFEST_TOOL"; then
6435 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6455 if test -n "$MANIFEST_TOOL"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6457 $as_echo "$MANIFEST_TOOL" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6465 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6466 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6467 # Extract the first word of "mt", so it can be a program name with args.
6468 set dummy mt; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$ac_ct_MANIFEST_TOOL"; then
6475 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6495 if test -n "$ac_ct_MANIFEST_TOOL"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6497 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6503 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6506 case $cross_compiling:$ac_tool_warned in
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned=yes ;;
6512 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6515 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6518 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6520 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6521 if ${lt_cv_path_mainfest_tool+:} false; then :
6522 $as_echo_n "(cached) " >&6
6524 lt_cv_path_mainfest_tool=no
6525 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6526 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6527 cat conftest.err >&5
6528 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6529 lt_cv_path_mainfest_tool=yes
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6534 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6535 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6545 rhapsody* | darwin*)
6546 if test -n "$ac_tool_prefix"; then
6547 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6548 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6552 $as_echo_n "(cached) " >&6
6554 if test -n "$DSYMUTIL"; then
6555 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6575 if test -n "$DSYMUTIL"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6577 $as_echo "$DSYMUTIL" >&6; }
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6585 if test -z "$ac_cv_prog_DSYMUTIL"; then
6586 ac_ct_DSYMUTIL=$DSYMUTIL
6587 # Extract the first word of "dsymutil", so it can be a program name with args.
6588 set dummy dsymutil; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6592 $as_echo_n "(cached) " >&6
6594 if test -n "$ac_ct_DSYMUTIL"; then
6595 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6604 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6615 if test -n "$ac_ct_DSYMUTIL"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6617 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6623 if test "x$ac_ct_DSYMUTIL" = x; then
6626 case $cross_compiling:$ac_tool_warned in
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6630 ac_tool_warned=yes ;;
6632 DSYMUTIL=$ac_ct_DSYMUTIL
6635 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6638 if test -n "$ac_tool_prefix"; then
6639 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6640 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_NMEDIT+:} false; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$NMEDIT"; then
6647 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 NMEDIT=$ac_cv_prog_NMEDIT
6667 if test -n "$NMEDIT"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6669 $as_echo "$NMEDIT" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6677 if test -z "$ac_cv_prog_NMEDIT"; then
6678 ac_ct_NMEDIT=$NMEDIT
6679 # Extract the first word of "nmedit", so it can be a program name with args.
6680 set dummy nmedit; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$ac_ct_NMEDIT"; then
6687 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6707 if test -n "$ac_ct_NMEDIT"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6709 $as_echo "$ac_ct_NMEDIT" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6715 if test "x$ac_ct_NMEDIT" = x; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6724 NMEDIT=$ac_ct_NMEDIT
6727 NMEDIT="$ac_cv_prog_NMEDIT"
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_LIPO+:} false; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$LIPO"; then
6739 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 LIPO=$ac_cv_prog_LIPO
6759 if test -n "$LIPO"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6761 $as_echo "$LIPO" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6769 if test -z "$ac_cv_prog_LIPO"; then
6771 # Extract the first word of "lipo", so it can be a program name with args.
6772 set dummy lipo; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$ac_ct_LIPO"; then
6779 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788 ac_cv_prog_ac_ct_LIPO="lipo"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6799 if test -n "$ac_ct_LIPO"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6801 $as_echo "$ac_ct_LIPO" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6807 if test "x$ac_ct_LIPO" = x; then
6810 case $cross_compiling:$ac_tool_warned in
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6819 LIPO="$ac_cv_prog_LIPO"
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}otool; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_prog_OTOOL+:} false; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$OTOOL"; then
6831 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 OTOOL=$ac_cv_prog_OTOOL
6851 if test -n "$OTOOL"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6853 $as_echo "$OTOOL" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 if test -z "$ac_cv_prog_OTOOL"; then
6863 # Extract the first word of "otool", so it can be a program name with args.
6864 set dummy otool; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6868 $as_echo_n "(cached) " >&6
6870 if test -n "$ac_ct_OTOOL"; then
6871 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_ac_ct_OTOOL="otool"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6891 if test -n "$ac_ct_OTOOL"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6893 $as_echo "$ac_ct_OTOOL" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6899 if test "x$ac_ct_OTOOL" = x; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6911 OTOOL="$ac_cv_prog_OTOOL"
6914 if test -n "$ac_tool_prefix"; then
6915 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_OTOOL64+:} false; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$OTOOL64"; then
6923 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 OTOOL64=$ac_cv_prog_OTOOL64
6943 if test -n "$OTOOL64"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6945 $as_echo "$OTOOL64" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6953 if test -z "$ac_cv_prog_OTOOL64"; then
6954 ac_ct_OTOOL64=$OTOOL64
6955 # Extract the first word of "otool64", so it can be a program name with args.
6956 set dummy otool64; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6960 $as_echo_n "(cached) " >&6
6962 if test -n "$ac_ct_OTOOL64"; then
6963 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972 ac_cv_prog_ac_ct_OTOOL64="otool64"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6983 if test -n "$ac_ct_OTOOL64"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6985 $as_echo "$ac_ct_OTOOL64" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6991 if test "x$ac_ct_OTOOL64" = x; then
6994 case $cross_compiling:$ac_tool_warned in
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned=yes ;;
7000 OTOOL64=$ac_ct_OTOOL64
7003 OTOOL64="$ac_cv_prog_OTOOL64"
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7033 $as_echo_n "checking for -single_module linker flag... " >&6; }
7034 if ${lt_cv_apple_cc_single_mod+:} false; then :
7035 $as_echo_n "(cached) " >&6
7037 lt_cv_apple_cc_single_mod=no
7038 if test -z "${LT_MULTI_MODULE}"; then
7039 # By default we will add the -single_module flag. You can override
7040 # by either setting the environment variable LT_MULTI_MODULE
7041 # non-empty at configure time, or by adding -multi_module to the
7043 rm -rf libconftest.dylib*
7044 echo "int foo(void){return 1;}" > conftest.c
7045 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7046 -dynamiclib -Wl,-single_module conftest.c" >&5
7047 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7048 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7050 # If there is a non-empty error log, and "single_module"
7051 # appears in it, assume the flag caused a linker warning
7052 if test -s conftest.err && $GREP single_module conftest.err; then
7053 cat conftest.err >&5
7054 # Otherwise, if the output was created with a 0 exit code from
7055 # the compiler, it worked.
7056 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7057 lt_cv_apple_cc_single_mod=yes
7059 cat conftest.err >&5
7061 rm -rf libconftest.dylib*
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7066 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7069 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7070 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7071 $as_echo_n "(cached) " >&6
7073 lt_cv_ld_exported_symbols_list=no
7074 save_LDFLAGS=$LDFLAGS
7075 echo "_main" > conftest.sym
7076 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7088 if ac_fn_c_try_link "$LINENO"; then :
7089 lt_cv_ld_exported_symbols_list=yes
7091 lt_cv_ld_exported_symbols_list=no
7093 rm -f core conftest.err conftest.$ac_objext \
7094 conftest$ac_exeext conftest.$ac_ext
7095 LDFLAGS="$save_LDFLAGS"
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7099 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7102 $as_echo_n "checking for -force_load linker flag... " >&6; }
7103 if ${lt_cv_ld_force_load+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 lt_cv_ld_force_load=no
7107 cat > conftest.c << _LT_EOF
7108 int forced_loaded() { return 2;}
7110 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7111 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7112 echo "$AR cru libconftest.a conftest.o" >&5
7113 $AR cru libconftest.a conftest.o 2>&5
7114 echo "$RANLIB libconftest.a" >&5
7115 $RANLIB libconftest.a 2>&5
7116 cat > conftest.c << _LT_EOF
7117 int main() { return 0;}
7119 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7120 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7122 if test -s conftest.err && $GREP force_load conftest.err; then
7123 cat conftest.err >&5
7124 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7125 lt_cv_ld_force_load=yes
7127 cat conftest.err >&5
7129 rm -f conftest.err libconftest.a conftest conftest.c
7130 rm -rf conftest.dSYM
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7134 $as_echo "$lt_cv_ld_force_load" >&6; }
7136 rhapsody* | darwin1.[012])
7137 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7139 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7140 darwin*) # darwin 5.x on
7141 # if running on 10.5 or later, the deployment target defaults
7142 # to the OS version, if on x86, and 10.4, the deployment
7143 # target defaults to 10.4. Don't you love it?
7144 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7145 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7146 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7148 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7150 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7154 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7155 _lt_dar_single_mod='$single_module'
7157 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7158 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7160 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7162 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7163 _lt_dsymutil='~$DSYMUTIL $lib || :'
7171 ac_cpp='$CPP $CPPFLAGS'
7172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7176 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7177 # On Suns, sometimes $CPP names a directory.
7178 if test -n "$CPP" && test -d "$CPP"; then
7181 if test -z "$CPP"; then
7182 if ${ac_cv_prog_CPP+:} false; then :
7183 $as_echo_n "(cached) " >&6
7185 # Double quotes because CPP needs to be expanded
7186 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7189 for ac_c_preproc_warn_flag in '' yes
7191 # Use a header file that comes with gcc, so configuring glibc
7192 # with a fresh cross-compiler works.
7193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7194 # <limits.h> exists even on freestanding compilers.
7195 # On the NeXT, cc -E runs the code through the compiler's parser,
7196 # not just through cpp. "Syntax error" is here to catch this case.
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7200 # include <limits.h>
7202 # include <assert.h>
7206 if ac_fn_c_try_cpp "$LINENO"; then :
7209 # Broken: fails on valid input.
7212 rm -f conftest.err conftest.i conftest.$ac_ext
7214 # OK, works on sane cases. Now check whether nonexistent headers
7215 # can be detected and how.
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #include <ac_nonexistent.h>
7220 if ac_fn_c_try_cpp "$LINENO"; then :
7221 # Broken: success on invalid input.
7224 # Passes both tests.
7228 rm -f conftest.err conftest.i conftest.$ac_ext
7231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7232 rm -f conftest.i conftest.err conftest.$ac_ext
7233 if $ac_preproc_ok; then :
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7246 $as_echo "$CPP" >&6; }
7248 for ac_c_preproc_warn_flag in '' yes
7250 # Use a header file that comes with gcc, so configuring glibc
7251 # with a fresh cross-compiler works.
7252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7253 # <limits.h> exists even on freestanding compilers.
7254 # On the NeXT, cc -E runs the code through the compiler's parser,
7255 # not just through cpp. "Syntax error" is here to catch this case.
7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7259 # include <limits.h>
7261 # include <assert.h>
7265 if ac_fn_c_try_cpp "$LINENO"; then :
7268 # Broken: fails on valid input.
7271 rm -f conftest.err conftest.i conftest.$ac_ext
7273 # OK, works on sane cases. Now check whether nonexistent headers
7274 # can be detected and how.
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <ac_nonexistent.h>
7279 if ac_fn_c_try_cpp "$LINENO"; then :
7280 # Broken: success on invalid input.
7283 # Passes both tests.
7287 rm -f conftest.err conftest.i conftest.$ac_ext
7290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7291 rm -f conftest.i conftest.err conftest.$ac_ext
7292 if $ac_preproc_ok; then :
7295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7297 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7298 See \`config.log' for more details" "$LINENO" 5; }
7302 ac_cpp='$CPP $CPPFLAGS'
7303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7309 $as_echo_n "checking for ANSI C header files... " >&6; }
7310 if ${ac_cv_header_stdc+:} false; then :
7311 $as_echo_n "(cached) " >&6
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7328 if ac_fn_c_try_compile "$LINENO"; then :
7329 ac_cv_header_stdc=yes
7331 ac_cv_header_stdc=no
7333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7335 if test $ac_cv_header_stdc = yes; then
7336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338 /* end confdefs.h. */
7342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7343 $EGREP "memchr" >/dev/null 2>&1; then :
7346 ac_cv_header_stdc=no
7352 if test $ac_cv_header_stdc = yes; then
7353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h. */
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 $EGREP "free" >/dev/null 2>&1; then :
7363 ac_cv_header_stdc=no
7369 if test $ac_cv_header_stdc = yes; then
7370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7371 if test "$cross_compiling" = yes; then :
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7378 #if ((' ' & 0x0FF) == 0x020)
7379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7382 # define ISLOWER(c) \
7383 (('a' <= (c) && (c) <= 'i') \
7384 || ('j' <= (c) && (c) <= 'r') \
7385 || ('s' <= (c) && (c) <= 'z'))
7386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7394 for (i = 0; i < 256; i++)
7395 if (XOR (islower (i), ISLOWER (i))
7396 || toupper (i) != TOUPPER (i))
7401 if ac_fn_c_try_run "$LINENO"; then :
7404 ac_cv_header_stdc=no
7406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7407 conftest.$ac_objext conftest.beam conftest.$ac_ext
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7413 $as_echo "$ac_cv_header_stdc" >&6; }
7414 if test $ac_cv_header_stdc = yes; then
7416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7421 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7422 inttypes.h stdint.h unistd.h
7424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7428 cat >>confdefs.h <<_ACEOF
7429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7437 for ac_header in dlfcn.h
7439 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7441 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7442 cat >>confdefs.h <<_ACEOF
7443 #define HAVE_DLFCN_H 1
7464 # Check whether --enable-shared was given.
7465 if test "${enable_shared+set}" = set; then :
7466 enableval=$enable_shared; p=${PACKAGE-default}
7468 yes) enable_shared=yes ;;
7469 no) enable_shared=no ;;
7472 # Look at the argument we got. We use all the common list separators.
7473 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7474 for pkg in $enableval; do
7476 if test "X$pkg" = "X$p"; then
7495 # Check whether --enable-static was given.
7496 if test "${enable_static+set}" = set; then :
7497 enableval=$enable_static; p=${PACKAGE-default}
7499 yes) enable_static=yes ;;
7500 no) enable_static=no ;;
7503 # Look at the argument we got. We use all the common list separators.
7504 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7505 for pkg in $enableval; do
7507 if test "X$pkg" = "X$p"; then
7527 # Check whether --with-pic was given.
7528 if test "${with_pic+set}" = set; then :
7529 withval=$with_pic; lt_p=${PACKAGE-default}
7531 yes|no) pic_mode=$withval ;;
7534 # Look at the argument we got. We use all the common list separators.
7535 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7536 for lt_pkg in $withval; do
7538 if test "X$lt_pkg" = "X$lt_p"; then
7550 test -z "$pic_mode" && pic_mode=default
7558 # Check whether --enable-fast-install was given.
7559 if test "${enable_fast_install+set}" = set; then :
7560 enableval=$enable_fast_install; p=${PACKAGE-default}
7562 yes) enable_fast_install=yes ;;
7563 no) enable_fast_install=no ;;
7565 enable_fast_install=no
7566 # Look at the argument we got. We use all the common list separators.
7567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7568 for pkg in $enableval; do
7570 if test "X$pkg" = "X$p"; then
7571 enable_fast_install=yes
7578 enable_fast_install=yes
7591 # This can be used to rebuild libtool when needed
7592 LIBTOOL_DEPS="$ltmain"
7594 # Always use our own libtool.
7595 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7626 test -z "$LN_S" && LN_S="ln -s"
7641 if test -n "${ZSH_VERSION+set}" ; then
7642 setopt NO_GLOB_SUBST
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7646 $as_echo_n "checking for objdir... " >&6; }
7647 if ${lt_cv_objdir+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 rm -f .libs 2>/dev/null
7651 mkdir .libs 2>/dev/null
7652 if test -d .libs; then
7655 # MS-DOS does not allow filenames that begin with a dot.
7658 rmdir .libs 2>/dev/null
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7661 $as_echo "$lt_cv_objdir" >&6; }
7662 objdir=$lt_cv_objdir
7668 cat >>confdefs.h <<_ACEOF
7669 #define LT_OBJDIR "$lt_cv_objdir/"
7677 # AIX sometimes has problems with the GCC collect2 program. For some
7678 # reason, if we set the COLLECT_NAMES environment variable, the problems
7679 # vanish in a puff of smoke.
7680 if test "X${COLLECT_NAMES+set}" != Xset; then
7682 export COLLECT_NAMES
7689 can_build_shared=yes
7691 # All known linkers require a `.a' archive for static linking (except MSVC,
7692 # which needs '.lib').
7695 with_gnu_ld="$lt_cv_prog_gnu_ld"
7698 old_CFLAGS="$CFLAGS"
7700 # Set sane defaults for various variables
7701 test -z "$CC" && CC=cc
7702 test -z "$LTCC" && LTCC=$CC
7703 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7704 test -z "$LD" && LD=ld
7705 test -z "$ac_objext" && ac_objext=o
7707 for cc_temp in $compiler""; do
7709 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7710 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7715 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7718 # Only perform the check for file, if the check method requires it
7719 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7720 case $deplibs_check_method in
7722 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7724 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7725 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7726 $as_echo_n "(cached) " >&6
7730 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7733 lt_save_MAGIC_CMD="$MAGIC_CMD"
7734 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7735 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7736 for ac_dir in $ac_dummy; do
7738 test -z "$ac_dir" && ac_dir=.
7739 if test -f $ac_dir/${ac_tool_prefix}file; then
7740 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7741 if test -n "$file_magic_test_file"; then
7742 case $deplibs_check_method in
7744 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7745 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7746 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7747 $EGREP "$file_magic_regex" > /dev/null; then
7752 *** Warning: the command libtool uses to detect shared libraries,
7753 *** $file_magic_cmd, produces output that libtool cannot recognize.
7754 *** The result is that libtool may fail to recognize shared libraries
7755 *** as such. This will affect the creation of libtool libraries that
7756 *** depend on shared libraries, but programs linked with such libtool
7757 *** libraries will work regardless of this problem. Nevertheless, you
7758 *** may want to report the problem to your system manager and/or to
7759 *** bug-libtool@gnu.org
7769 MAGIC_CMD="$lt_save_MAGIC_CMD"
7774 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7775 if test -n "$MAGIC_CMD"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7777 $as_echo "$MAGIC_CMD" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7787 if test -z "$lt_cv_path_MAGIC_CMD"; then
7788 if test -n "$ac_tool_prefix"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7790 $as_echo_n "checking for file... " >&6; }
7791 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7792 $as_echo_n "(cached) " >&6
7796 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7799 lt_save_MAGIC_CMD="$MAGIC_CMD"
7800 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7801 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7802 for ac_dir in $ac_dummy; do
7804 test -z "$ac_dir" && ac_dir=.
7805 if test -f $ac_dir/file; then
7806 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7807 if test -n "$file_magic_test_file"; then
7808 case $deplibs_check_method in
7810 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7811 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7812 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7813 $EGREP "$file_magic_regex" > /dev/null; then
7818 *** Warning: the command libtool uses to detect shared libraries,
7819 *** $file_magic_cmd, produces output that libtool cannot recognize.
7820 *** The result is that libtool may fail to recognize shared libraries
7821 *** as such. This will affect the creation of libtool libraries that
7822 *** depend on shared libraries, but programs linked with such libtool
7823 *** libraries will work regardless of this problem. Nevertheless, you
7824 *** may want to report the problem to your system manager and/or to
7825 *** bug-libtool@gnu.org
7835 MAGIC_CMD="$lt_save_MAGIC_CMD"
7840 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7841 if test -n "$MAGIC_CMD"; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7843 $as_echo "$MAGIC_CMD" >&6; }
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7859 # Use C for the default configuration in the libtool script
7863 ac_cpp='$CPP $CPPFLAGS'
7864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7869 # Source file extension for C test sources.
7872 # Object file extension for compiled C test sources.
7876 # Code to be used in simple compile tests
7877 lt_simple_compile_test_code="int some_variable = 0;"
7879 # Code to be used in simple link tests
7880 lt_simple_link_test_code='int main(){return(0);}'
7888 # If no C compiler was specified, use CC.
7891 # If no C compiler flags were specified, use CFLAGS.
7892 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7894 # Allow CC to be a program name with arguments.
7897 # Save the default compiler, since it gets overwritten when the other
7898 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7899 compiler_DEFAULT=$CC
7901 # save warnings/boilerplate of simple test code
7902 ac_outfile=conftest.$ac_objext
7903 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7904 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7905 _lt_compiler_boilerplate=`cat conftest.err`
7908 ac_outfile=conftest.$ac_objext
7909 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7910 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7911 _lt_linker_boilerplate=`cat conftest.err`
7915 if test -n "$compiler"; then
7917 lt_prog_compiler_no_builtin_flag=
7919 if test "$GCC" = yes; then
7920 case $cc_basename in
7922 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7924 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7928 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7929 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7930 $as_echo_n "(cached) " >&6
7932 lt_cv_prog_compiler_rtti_exceptions=no
7933 ac_outfile=conftest.$ac_objext
7934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7935 lt_compiler_flag="-fno-rtti -fno-exceptions"
7936 # Insert the option either (1) after the last *FLAGS variable, or
7937 # (2) before a word containing "conftest.", or (3) at the end.
7938 # Note that $ac_compile itself does not contain backslashes and begins
7939 # with a dollar sign (not a hyphen), so the echo should work correctly.
7940 # The option is referenced via a variable to avoid confusing sed.
7941 lt_compile=`echo "$ac_compile" | $SED \
7942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7944 -e 's:$: $lt_compiler_flag:'`
7945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7946 (eval "$lt_compile" 2>conftest.err)
7948 cat conftest.err >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 if (exit $ac_status) && test -s "$ac_outfile"; then
7951 # The compiler can only warn and ignore the option if not recognized
7952 # So say no if there are warnings other than the usual output.
7953 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7956 lt_cv_prog_compiler_rtti_exceptions=yes
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7963 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7965 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7966 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7978 lt_prog_compiler_wl=
7979 lt_prog_compiler_pic=
7980 lt_prog_compiler_static=
7983 if test "$GCC" = yes; then
7984 lt_prog_compiler_wl='-Wl,'
7985 lt_prog_compiler_static='-static'
7989 # All AIX code is PIC.
7990 if test "$host_cpu" = ia64; then
7991 # AIX 5 now supports IA64 processor
7992 lt_prog_compiler_static='-Bstatic'
7999 # see comment about AmigaOS4 .so support
8000 lt_prog_compiler_pic='-fPIC'
8003 # FIXME: we need at least 68020 code to build shared libraries, but
8004 # adding the `-m68020' flag to GCC prevents building anything better,
8006 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8011 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8012 # PIC is the default for these OSes.
8015 mingw* | cygwin* | pw32* | os2* | cegcc*)
8016 # This hack is so that the source file can tell whether it is being
8017 # built for inclusion in a dll (and should export symbols for example).
8018 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8019 # (--disable-auto-import) libraries
8020 lt_prog_compiler_pic='-DDLL_EXPORT'
8023 darwin* | rhapsody*)
8024 # PIC is the default on this platform
8025 # Common symbols not allowed in MH_DYLIB files
8026 lt_prog_compiler_pic='-fno-common'
8030 # PIC is the default for Haiku.
8031 # The "-static" flag exists, but is broken.
8032 lt_prog_compiler_static=
8036 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8037 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8038 # sets the default TLS model and affects inlining.
8044 lt_prog_compiler_pic='-fPIC'
8050 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8051 # Instead, we relocate shared libraries at runtime.
8055 # Just because we use GCC doesn't mean we suddenly get shared libraries
8056 # on systems that don't support them.
8057 lt_prog_compiler_can_build_shared=no
8062 # QNX uses GNU C++, but need to define -shared option too, otherwise
8064 lt_prog_compiler_pic='-fPIC -shared'
8068 if test -d /usr/nec; then
8069 lt_prog_compiler_pic=-Kconform_pic
8074 lt_prog_compiler_pic='-fPIC'
8078 case $cc_basename in
8079 nvcc*) # Cuda Compiler Driver 2.2
8080 lt_prog_compiler_wl='-Xlinker '
8081 if test -n "$lt_prog_compiler_pic"; then
8082 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8087 # PORTME Check for flag to pass linker flags through the system compiler.
8090 lt_prog_compiler_wl='-Wl,'
8091 if test "$host_cpu" = ia64; then
8092 # AIX 5 now supports IA64 processor
8093 lt_prog_compiler_static='-Bstatic'
8095 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8099 mingw* | cygwin* | pw32* | os2* | cegcc*)
8100 # This hack is so that the source file can tell whether it is being
8101 # built for inclusion in a dll (and should export symbols for example).
8102 lt_prog_compiler_pic='-DDLL_EXPORT'
8105 hpux9* | hpux10* | hpux11*)
8106 lt_prog_compiler_wl='-Wl,'
8107 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8114 lt_prog_compiler_pic='+Z'
8117 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8118 lt_prog_compiler_static='${wl}-a ${wl}archive'
8121 irix5* | irix6* | nonstopux*)
8122 lt_prog_compiler_wl='-Wl,'
8123 # PIC (with -KPIC) is the default.
8124 lt_prog_compiler_static='-non_shared'
8127 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8128 case $cc_basename in
8129 # old Intel for x86_64 which still supported -KPIC.
8131 lt_prog_compiler_wl='-Wl,'
8132 lt_prog_compiler_pic='-KPIC'
8133 lt_prog_compiler_static='-static'
8135 # icc used to be incompatible with GCC.
8136 # ICC 10 doesn't accept -KPIC any more.
8138 lt_prog_compiler_wl='-Wl,'
8139 lt_prog_compiler_pic='-fPIC'
8140 lt_prog_compiler_static='-static'
8142 # Lahey Fortran 8.1.
8144 lt_prog_compiler_wl='-Wl,'
8145 lt_prog_compiler_pic='--shared'
8146 lt_prog_compiler_static='--static'
8149 # NAG Fortran compiler
8150 lt_prog_compiler_wl='-Wl,-Wl,,'
8151 lt_prog_compiler_pic='-PIC'
8152 lt_prog_compiler_static='-Bstatic'
8154 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8155 # Portland Group compilers (*not* the Pentium gcc compiler,
8156 # which looks to be a dead project)
8157 lt_prog_compiler_wl='-Wl,'
8158 lt_prog_compiler_pic='-fpic'
8159 lt_prog_compiler_static='-Bstatic'
8162 lt_prog_compiler_wl='-Wl,'
8163 # All Alpha code is PIC.
8164 lt_prog_compiler_static='-non_shared'
8166 xl* | bgxl* | bgf* | mpixl*)
8167 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8168 lt_prog_compiler_wl='-Wl,'
8169 lt_prog_compiler_pic='-qpic'
8170 lt_prog_compiler_static='-qstaticlink'
8173 case `$CC -V 2>&1 | sed 5q` in
8174 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8175 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8176 lt_prog_compiler_pic='-KPIC'
8177 lt_prog_compiler_static='-Bstatic'
8178 lt_prog_compiler_wl=''
8180 *Sun\ F* | *Sun*Fortran*)
8181 lt_prog_compiler_pic='-KPIC'
8182 lt_prog_compiler_static='-Bstatic'
8183 lt_prog_compiler_wl='-Qoption ld '
8187 lt_prog_compiler_pic='-KPIC'
8188 lt_prog_compiler_static='-Bstatic'
8189 lt_prog_compiler_wl='-Wl,'
8191 *Intel*\ [CF]*Compiler*)
8192 lt_prog_compiler_wl='-Wl,'
8193 lt_prog_compiler_pic='-fPIC'
8194 lt_prog_compiler_static='-static'
8197 lt_prog_compiler_wl='-Wl,'
8198 lt_prog_compiler_pic='-fpic'
8199 lt_prog_compiler_static='-Bstatic'
8207 lt_prog_compiler_pic='-KPIC'
8208 lt_prog_compiler_static='-Bstatic'
8212 # QNX uses GNU C++, but need to define -shared option too, otherwise
8214 lt_prog_compiler_pic='-fPIC -shared'
8217 osf3* | osf4* | osf5*)
8218 lt_prog_compiler_wl='-Wl,'
8219 # All OSF/1 code is PIC.
8220 lt_prog_compiler_static='-non_shared'
8224 lt_prog_compiler_static='-non_shared'
8228 lt_prog_compiler_pic='-KPIC'
8229 lt_prog_compiler_static='-Bstatic'
8230 case $cc_basename in
8231 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8232 lt_prog_compiler_wl='-Qoption ld ';;
8234 lt_prog_compiler_wl='-Wl,';;
8239 lt_prog_compiler_wl='-Qoption ld '
8240 lt_prog_compiler_pic='-PIC'
8241 lt_prog_compiler_static='-Bstatic'
8244 sysv4 | sysv4.2uw2* | sysv4.3*)
8245 lt_prog_compiler_wl='-Wl,'
8246 lt_prog_compiler_pic='-KPIC'
8247 lt_prog_compiler_static='-Bstatic'
8251 if test -d /usr/nec ;then
8252 lt_prog_compiler_pic='-Kconform_pic'
8253 lt_prog_compiler_static='-Bstatic'
8257 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8258 lt_prog_compiler_wl='-Wl,'
8259 lt_prog_compiler_pic='-KPIC'
8260 lt_prog_compiler_static='-Bstatic'
8264 lt_prog_compiler_wl='-Wl,'
8265 lt_prog_compiler_can_build_shared=no
8269 lt_prog_compiler_pic='-pic'
8270 lt_prog_compiler_static='-Bstatic'
8274 lt_prog_compiler_can_build_shared=no
8280 # For platforms which do not support PIC, -DPIC is meaningless:
8282 lt_prog_compiler_pic=
8285 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8290 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8291 if ${lt_cv_prog_compiler_pic+:} false; then :
8292 $as_echo_n "(cached) " >&6
8294 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8297 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8298 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8301 # Check to make sure the PIC flag actually works.
8303 if test -n "$lt_prog_compiler_pic"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8305 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8306 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8307 $as_echo_n "(cached) " >&6
8309 lt_cv_prog_compiler_pic_works=no
8310 ac_outfile=conftest.$ac_objext
8311 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8312 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8313 # Insert the option either (1) after the last *FLAGS variable, or
8314 # (2) before a word containing "conftest.", or (3) at the end.
8315 # Note that $ac_compile itself does not contain backslashes and begins
8316 # with a dollar sign (not a hyphen), so the echo should work correctly.
8317 # The option is referenced via a variable to avoid confusing sed.
8318 lt_compile=`echo "$ac_compile" | $SED \
8319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8321 -e 's:$: $lt_compiler_flag:'`
8322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8323 (eval "$lt_compile" 2>conftest.err)
8325 cat conftest.err >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 if (exit $ac_status) && test -s "$ac_outfile"; then
8328 # The compiler can only warn and ignore the option if not recognized
8329 # So say no if there are warnings other than the usual output.
8330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8331 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8332 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8333 lt_cv_prog_compiler_pic_works=yes
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8340 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8342 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8343 case $lt_prog_compiler_pic in
8345 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8348 lt_prog_compiler_pic=
8349 lt_prog_compiler_can_build_shared=no
8365 # Check to make sure the static flag actually works.
8367 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8369 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8370 if ${lt_cv_prog_compiler_static_works+:} false; then :
8371 $as_echo_n "(cached) " >&6
8373 lt_cv_prog_compiler_static_works=no
8374 save_LDFLAGS="$LDFLAGS"
8375 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8376 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8377 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8378 # The linker can only warn and ignore the option if not recognized
8379 # So say no if there are warnings
8380 if test -s conftest.err; then
8381 # Append any errors to the config.log.
8382 cat conftest.err 1>&5
8383 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8385 if diff conftest.exp conftest.er2 >/dev/null; then
8386 lt_cv_prog_compiler_static_works=yes
8389 lt_cv_prog_compiler_static_works=yes
8393 LDFLAGS="$save_LDFLAGS"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8397 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8399 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8402 lt_prog_compiler_static=
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8412 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8413 if ${lt_cv_prog_compiler_c_o+:} false; then :
8414 $as_echo_n "(cached) " >&6
8416 lt_cv_prog_compiler_c_o=no
8417 $RM -r conftest 2>/dev/null
8421 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8423 lt_compiler_flag="-o out/conftest2.$ac_objext"
8424 # Insert the option either (1) after the last *FLAGS variable, or
8425 # (2) before a word containing "conftest.", or (3) at the end.
8426 # Note that $ac_compile itself does not contain backslashes and begins
8427 # with a dollar sign (not a hyphen), so the echo should work correctly.
8428 lt_compile=`echo "$ac_compile" | $SED \
8429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431 -e 's:$: $lt_compiler_flag:'`
8432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433 (eval "$lt_compile" 2>out/conftest.err)
8435 cat out/conftest.err >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8439 # The compiler can only warn and ignore the option if not recognized
8440 # So say no if there are warnings
8441 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8442 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8443 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8444 lt_cv_prog_compiler_c_o=yes
8449 # SGI C++ compiler will create directory out/ii_files/ for
8450 # template instantiation
8451 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8452 $RM out/* && rmdir out
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8459 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8467 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8468 if ${lt_cv_prog_compiler_c_o+:} false; then :
8469 $as_echo_n "(cached) " >&6
8471 lt_cv_prog_compiler_c_o=no
8472 $RM -r conftest 2>/dev/null
8476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8478 lt_compiler_flag="-o out/conftest2.$ac_objext"
8479 # Insert the option either (1) after the last *FLAGS variable, or
8480 # (2) before a word containing "conftest.", or (3) at the end.
8481 # Note that $ac_compile itself does not contain backslashes and begins
8482 # with a dollar sign (not a hyphen), so the echo should work correctly.
8483 lt_compile=`echo "$ac_compile" | $SED \
8484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8486 -e 's:$: $lt_compiler_flag:'`
8487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8488 (eval "$lt_compile" 2>out/conftest.err)
8490 cat out/conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8494 # The compiler can only warn and ignore the option if not recognized
8495 # So say no if there are warnings
8496 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8497 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8498 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8499 lt_cv_prog_compiler_c_o=yes
8504 # SGI C++ compiler will create directory out/ii_files/ for
8505 # template instantiation
8506 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8507 $RM out/* && rmdir out
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8514 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8519 hard_links="nottested"
8520 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8521 # do not overwrite the value of need_locks provided by the user
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8523 $as_echo_n "checking if we can lock with hard links... " >&6; }
8526 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8528 ln conftest.a conftest.b 2>&5 || hard_links=no
8529 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8531 $as_echo "$hard_links" >&6; }
8532 if test "$hard_links" = no; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8534 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8547 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8550 allow_undefined_flag=
8551 always_export_symbols=no
8553 archive_expsym_cmds=
8554 compiler_needs_object=no
8555 enable_shared_with_static_runtimes=no
8556 export_dynamic_flag_spec=
8557 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8558 hardcode_automatic=no
8560 hardcode_direct_absolute=no
8561 hardcode_libdir_flag_spec=
8562 hardcode_libdir_separator=
8564 hardcode_shlibpath_var=unsupported
8566 link_all_deplibs=unknown
8569 old_archive_from_new_cmds=
8570 old_archive_from_expsyms_cmds=
8571 thread_safe_flag_spec=
8572 whole_archive_flag_spec=
8573 # include_expsyms should be a list of space-separated symbols to be *always*
8574 # included in the symbol list
8576 # exclude_expsyms can be an extended regexp of symbols to exclude
8577 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8578 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8579 # as well as any symbol that contains `d'.
8580 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8581 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8582 # platforms (ab)use it in PIC code, but their linkers get confused if
8583 # the symbol is explicitly referenced. Since portable code cannot
8584 # rely on this symbol name, it's probably fine to never include it in
8585 # preloaded symbol tables.
8586 # Exclude shared library initialization/finalization symbols.
8587 extract_expsyms_cmds=
8590 cygwin* | mingw* | pw32* | cegcc*)
8591 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8592 # When not using gcc, we currently assume that we are using
8593 # Microsoft Visual C++.
8594 if test "$GCC" != yes; then
8599 # we just hope/assume this is gcc and not c89 (= MSVC++)
8609 # On some targets, GNU ld is compatible enough with the native linker
8610 # that we're better off using the native interface for both.
8611 lt_use_gnu_ld_interface=no
8612 if test "$with_gnu_ld" = yes; then
8615 # The AIX port of GNU ld has always aspired to compatibility
8616 # with the native linker. However, as the warning in the GNU ld
8617 # block says, versions before 2.19.5* couldn't really create working
8618 # shared libraries, regardless of the interface used.
8619 case `$LD -v 2>&1` in
8620 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8621 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8622 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8624 lt_use_gnu_ld_interface=yes
8629 lt_use_gnu_ld_interface=yes
8634 if test "$lt_use_gnu_ld_interface" = yes; then
8635 # If archive_cmds runs LD, not CC, wlarc should be empty
8638 # Set some defaults for GNU ld with shared library support. These
8639 # are reset later if shared libraries are not supported. Putting them
8640 # here allows them to be overridden if necessary.
8641 runpath_var=LD_RUN_PATH
8642 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643 export_dynamic_flag_spec='${wl}--export-dynamic'
8644 # ancient GNU ld didn't support --whole-archive et. al.
8645 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8646 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8648 whole_archive_flag_spec=
8650 supports_anon_versioning=no
8651 case `$LD -v 2>&1` in
8652 *GNU\ gold*) supports_anon_versioning=yes ;;
8653 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8654 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8655 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8656 *\ 2.11.*) ;; # other 2.11 versions
8657 *) supports_anon_versioning=yes ;;
8660 # See if GNU ld supports shared libraries.
8663 # On AIX/PPC, the GNU linker is very broken
8664 if test "$host_cpu" != ia64; then
8668 *** Warning: the GNU linker, at least up to release 2.19, is reported
8669 *** to be unable to reliably create shared libraries on AIX.
8670 *** Therefore, libtool is disabling shared libraries support. If you
8671 *** really care for shared libraries, you may want to install binutils
8672 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8673 *** You will then need to restart the configuration process.
8682 # see comment about AmigaOS4 .so support
8683 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8684 archive_expsym_cmds=''
8687 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)'
8688 hardcode_libdir_flag_spec='-L$libdir'
8689 hardcode_minus_L=yes
8695 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8696 allow_undefined_flag=unsupported
8697 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8698 # support --undefined. This deserves some investigation. FIXME
8699 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705 cygwin* | mingw* | pw32* | cegcc*)
8706 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8707 # as there is no search path for DLLs.
8708 hardcode_libdir_flag_spec='-L$libdir'
8709 export_dynamic_flag_spec='${wl}--export-all-symbols'
8710 allow_undefined_flag=unsupported
8711 always_export_symbols=no
8712 enable_shared_with_static_runtimes=yes
8713 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'
8714 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8716 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8718 # If the export-symbols file already is a .def file (1st line
8719 # is EXPORTS), use it as is; otherwise, prepend...
8720 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8721 cp $export_symbols $output_objdir/$soname.def;
8723 echo EXPORTS > $output_objdir/$soname.def;
8724 cat $export_symbols >> $output_objdir/$soname.def;
8726 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734 link_all_deplibs=yes
8739 hardcode_shlibpath_var=no
8740 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8741 export_dynamic_flag_spec='${wl}-E'
8742 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8743 # Instead, shared libraries are loaded at an image base (0x10000000 by
8744 # default) and relocated if they conflict, which is a slow very memory
8745 # consuming and fragmenting process. To avoid this, we pick a random,
8746 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8747 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8748 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8749 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'
8752 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8754 if test "$host_os" = linux-dietlibc; then
8755 case $cc_basename in
8756 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8759 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8760 && test "$tmp_diet" = no
8762 tmp_addflag=' $pic_flag'
8763 tmp_sharedflag='-shared'
8764 case $cc_basename,$host_cpu in
8765 pgcc*) # Portland Group C compiler
8766 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'
8767 tmp_addflag=' $pic_flag'
8769 pgf77* | pgf90* | pgf95* | pgfortran*)
8770 # Portland Group f77 and f90 compilers
8771 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'
8772 tmp_addflag=' $pic_flag -Mnomain' ;;
8773 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8774 tmp_addflag=' -i_dynamic' ;;
8775 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8776 tmp_addflag=' -i_dynamic -nofor_main' ;;
8777 ifc* | ifort*) # Intel Fortran compiler
8778 tmp_addflag=' -nofor_main' ;;
8779 lf95*) # Lahey Fortran 8.1
8780 whole_archive_flag_spec=
8781 tmp_sharedflag='--shared' ;;
8782 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8783 tmp_sharedflag='-qmkshrobj'
8785 nvcc*) # Cuda Compiler Driver 2.2
8786 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'
8787 compiler_needs_object=yes
8790 case `$CC -V 2>&1 | sed 5q` in
8791 *Sun\ C*) # Sun C 5.9
8792 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'
8793 compiler_needs_object=yes
8794 tmp_sharedflag='-G' ;;
8795 *Sun\ F*) # Sun Fortran 8.3
8796 tmp_sharedflag='-G' ;;
8798 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8800 if test "x$supports_anon_versioning" = xyes; then
8801 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8802 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8803 echo "local: *; };" >> $output_objdir/$libname.ver~
8804 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8807 case $cc_basename in
8808 xlf* | bgf* | bgxlf* | mpixlf*)
8809 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8810 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8812 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8813 if test "x$supports_anon_versioning" = xyes; then
8814 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816 echo "local: *; };" >> $output_objdir/$libname.ver~
8817 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8827 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8828 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8831 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8837 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8841 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8842 *** create shared libraries on Solaris systems. Therefore, libtool
8843 *** is disabling shared libraries support. We urge you to upgrade GNU
8844 *** binutils to release 2.9.1 or newer. Another option is to modify
8845 *** your PATH or compiler configuration so that the native linker is
8846 *** used, and then restart.
8849 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8850 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8857 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8858 case `$LD -v 2>&1` in
8859 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8863 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8864 *** reliably create shared libraries on SCO systems. Therefore, libtool
8865 *** is disabling shared libraries support. We urge you to upgrade GNU
8866 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8867 *** your PATH or compiler configuration so that the native linker is
8868 *** used, and then restart.
8873 # For security reasons, it is highly recommended that you always
8874 # use absolute paths for naming shared libraries, and exclude the
8875 # DT_RUNPATH tag from executables and libraries. But doing so
8876 # requires that you compile everything twice, which is a pain.
8877 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8878 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8879 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8880 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8889 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8892 hardcode_shlibpath_var=no
8896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8897 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8898 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8905 if test "$ld_shlibs" = no; then
8907 hardcode_libdir_flag_spec=
8908 export_dynamic_flag_spec=
8909 whole_archive_flag_spec=
8912 # PORTME fill in a description of your system's linker (not GNU ld)
8915 allow_undefined_flag=unsupported
8916 always_export_symbols=yes
8917 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'
8918 # Note: this linker hardcodes the directories in LIBPATH if there
8919 # are no directories specified by -L.
8920 hardcode_minus_L=yes
8921 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8922 # Neither direct hardcoding nor static linking is supported with a
8924 hardcode_direct=unsupported
8929 if test "$host_cpu" = ia64; then
8930 # On IA64, the linker does run time linking by default, so we don't
8931 # have to do anything special.
8932 aix_use_runtimelinking=no
8933 exp_sym_flag='-Bexport'
8936 # If we're using GNU nm, then we don't want the "-C" option.
8937 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8938 # Also, AIX nm treats weak defined symbols like other global
8939 # defined symbols, whereas GNU nm marks them as "W".
8940 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8941 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'
8943 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'
8945 aix_use_runtimelinking=no
8947 # Test if we are trying to use run time linking or normal
8948 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8949 # need to do runtime linking.
8950 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8951 for ld_flag in $LDFLAGS; do
8952 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8953 aix_use_runtimelinking=yes
8960 exp_sym_flag='-bexport'
8961 no_entry_flag='-bnoentry'
8964 # When large executables or shared objects are built, AIX ld can
8965 # have problems creating the table of contents. If linking a library
8966 # or program results in "error TOC overflow" add -mminimal-toc to
8967 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8968 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8972 hardcode_direct_absolute=yes
8973 hardcode_libdir_separator=':'
8974 link_all_deplibs=yes
8975 file_list_spec='${wl}-f,'
8977 if test "$GCC" = yes; then
8978 case $host_os in aix4.[012]|aix4.[012].*)
8979 # We only want to do this on AIX 4.2 and lower, the check
8980 # below for broken collect2 doesn't work under 4.3+
8981 collect2name=`${CC} -print-prog-name=collect2`
8982 if test -f "$collect2name" &&
8983 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8985 # We have reworked collect2
8988 # We have old collect2
8989 hardcode_direct=unsupported
8990 # It fails to find uninstalled libraries when the uninstalled
8991 # path is not listed in the libpath. Setting hardcode_minus_L
8992 # to unsupported forces relinking
8993 hardcode_minus_L=yes
8994 hardcode_libdir_flag_spec='-L$libdir'
8995 hardcode_libdir_separator=
8999 shared_flag='-shared'
9000 if test "$aix_use_runtimelinking" = yes; then
9001 shared_flag="$shared_flag "'${wl}-G'
9005 if test "$host_cpu" = ia64; then
9006 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9007 # chokes on -Wl,-G. The following line is correct:
9010 if test "$aix_use_runtimelinking" = yes; then
9011 shared_flag='${wl}-G'
9013 shared_flag='${wl}-bM:SRE'
9018 export_dynamic_flag_spec='${wl}-bexpall'
9019 # It seems that -bexpall does not export symbols beginning with
9020 # underscore (_), so it is better to generate a list of symbols to export.
9021 always_export_symbols=yes
9022 if test "$aix_use_runtimelinking" = yes; then
9023 # Warning - without using the other runtime loading flags (-brtl),
9024 # -berok will link without error, but may produce a broken library.
9025 allow_undefined_flag='-berok'
9026 # Determine the default libpath from the value encoded in an
9028 if test "${lt_cv_aix_libpath+set}" = set; then
9029 aix_libpath=$lt_cv_aix_libpath
9031 if ${lt_cv_aix_libpath_+:} false; then :
9032 $as_echo_n "(cached) " >&6
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9045 if ac_fn_c_try_link "$LINENO"; then :
9047 lt_aix_libpath_sed='
9048 /Import File Strings/,/^$/ {
9050 s/^0 *\([^ ]*\) *$/\1/
9054 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9055 # Check for a 64-bit object if we didn't find anything.
9056 if test -z "$lt_cv_aix_libpath_"; then
9057 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9060 rm -f core conftest.err conftest.$ac_objext \
9061 conftest$ac_exeext conftest.$ac_ext
9062 if test -z "$lt_cv_aix_libpath_"; then
9063 lt_cv_aix_libpath_="/usr/lib:/lib"
9068 aix_libpath=$lt_cv_aix_libpath_
9071 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9072 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"
9074 if test "$host_cpu" = ia64; then
9075 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9076 allow_undefined_flag="-z nodefs"
9077 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"
9079 # Determine the default libpath from the value encoded in an
9081 if test "${lt_cv_aix_libpath+set}" = set; then
9082 aix_libpath=$lt_cv_aix_libpath
9084 if ${lt_cv_aix_libpath_+:} false; then :
9085 $as_echo_n "(cached) " >&6
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9098 if ac_fn_c_try_link "$LINENO"; then :
9100 lt_aix_libpath_sed='
9101 /Import File Strings/,/^$/ {
9103 s/^0 *\([^ ]*\) *$/\1/
9107 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9108 # Check for a 64-bit object if we didn't find anything.
9109 if test -z "$lt_cv_aix_libpath_"; then
9110 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9113 rm -f core conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9115 if test -z "$lt_cv_aix_libpath_"; then
9116 lt_cv_aix_libpath_="/usr/lib:/lib"
9121 aix_libpath=$lt_cv_aix_libpath_
9124 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9125 # Warning - without using the other run time loading flags,
9126 # -berok will link without error, but may produce a broken library.
9127 no_undefined_flag=' ${wl}-bernotok'
9128 allow_undefined_flag=' ${wl}-berok'
9129 if test "$with_gnu_ld" = yes; then
9130 # We only use this code for GNU lds that support --whole-archive.
9131 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9133 # Exported symbols can be pulled into shared objects from archives
9134 whole_archive_flag_spec='$convenience'
9136 archive_cmds_need_lc=yes
9137 # This is similar to how AIX traditionally builds its shared libraries.
9138 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'
9146 # see comment about AmigaOS4 .so support
9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148 archive_expsym_cmds=''
9151 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)'
9152 hardcode_libdir_flag_spec='-L$libdir'
9153 hardcode_minus_L=yes
9159 export_dynamic_flag_spec=-rdynamic
9162 cygwin* | mingw* | pw32* | cegcc*)
9163 # When not using gcc, we currently assume that we are using
9164 # Microsoft Visual C++.
9165 # hardcode_libdir_flag_spec is actually meaningless, as there is
9166 # no search path for DLLs.
9167 case $cc_basename in
9170 hardcode_libdir_flag_spec=' '
9171 allow_undefined_flag=unsupported
9172 always_export_symbols=yes
9174 # Tell ltmain to make .lib files, not .a files.
9176 # Tell ltmain to make .dll files, not .so files.
9178 # FIXME: Setting linknames here is a bad hack.
9179 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9180 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9181 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9183 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9185 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9187 # The linker will not automatically build a static lib if we build a DLL.
9188 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9189 enable_shared_with_static_runtimes=yes
9190 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9191 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9193 old_postinstall_cmds='chmod 644 $oldlib'
9194 postlink_cmds='lt_outputfile="@OUTPUT@"~
9195 lt_tool_outputfile="@TOOL_OUTPUT@"~
9196 case $lt_outputfile in
9199 lt_outputfile="$lt_outputfile.exe"
9200 lt_tool_outputfile="$lt_tool_outputfile.exe"
9203 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9204 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9205 $RM "$lt_outputfile.manifest";
9209 # Assume MSVC wrapper
9210 hardcode_libdir_flag_spec=' '
9211 allow_undefined_flag=unsupported
9212 # Tell ltmain to make .lib files, not .a files.
9214 # Tell ltmain to make .dll files, not .so files.
9216 # FIXME: Setting linknames here is a bad hack.
9217 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9218 # The linker will automatically build a .lib file if we build a DLL.
9219 old_archive_from_new_cmds='true'
9220 # FIXME: Should let the user specify the lib program.
9221 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9222 enable_shared_with_static_runtimes=yes
9227 darwin* | rhapsody*)
9230 archive_cmds_need_lc=no
9232 hardcode_automatic=yes
9233 hardcode_shlibpath_var=unsupported
9234 if test "$lt_cv_ld_force_load" = "yes"; then
9235 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\"`'
9238 whole_archive_flag_spec=''
9240 link_all_deplibs=yes
9241 allow_undefined_flag="$_lt_dar_allow_undefined"
9242 case $cc_basename in
9243 ifort*) _lt_dar_can_shared=yes ;;
9244 *) _lt_dar_can_shared=$GCC ;;
9246 if test "$_lt_dar_can_shared" = "yes"; then
9247 output_verbose_link_cmd=func_echo_all
9248 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9249 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9250 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}"
9251 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}"
9260 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261 hardcode_libdir_flag_spec='-L$libdir'
9262 hardcode_shlibpath_var=no
9265 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9266 # support. Future versions do this automatically, but an explicit c++rt0.o
9267 # does not break anything, and helps significantly (at the cost of a little
9270 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9271 hardcode_libdir_flag_spec='-R$libdir'
9273 hardcode_shlibpath_var=no
9276 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9278 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9280 hardcode_minus_L=yes
9281 hardcode_shlibpath_var=no
9284 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9285 freebsd* | dragonfly*)
9286 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9287 hardcode_libdir_flag_spec='-R$libdir'
9289 hardcode_shlibpath_var=no
9293 if test "$GCC" = yes; then
9294 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'
9296 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'
9298 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9299 hardcode_libdir_separator=:
9302 # hardcode_minus_L: Not really in the search PATH,
9303 # but as the default location of the library.
9304 hardcode_minus_L=yes
9305 export_dynamic_flag_spec='${wl}-E'
9309 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9310 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9312 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9314 if test "$with_gnu_ld" = no; then
9315 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9316 hardcode_libdir_separator=:
9318 hardcode_direct_absolute=yes
9319 export_dynamic_flag_spec='${wl}-E'
9320 # hardcode_minus_L: Not really in the search PATH,
9321 # but as the default location of the library.
9322 hardcode_minus_L=yes
9327 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9330 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9333 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9345 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9349 # Older versions of the 11.00 compiler do not understand -b yet
9350 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9352 $as_echo_n "checking if $CC understands -b... " >&6; }
9353 if ${lt_cv_prog_compiler__b+:} false; then :
9354 $as_echo_n "(cached) " >&6
9356 lt_cv_prog_compiler__b=no
9357 save_LDFLAGS="$LDFLAGS"
9358 LDFLAGS="$LDFLAGS -b"
9359 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9360 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9361 # The linker can only warn and ignore the option if not recognized
9362 # So say no if there are warnings
9363 if test -s conftest.err; then
9364 # Append any errors to the config.log.
9365 cat conftest.err 1>&5
9366 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9367 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9368 if diff conftest.exp conftest.er2 >/dev/null; then
9369 lt_cv_prog_compiler__b=yes
9372 lt_cv_prog_compiler__b=yes
9376 LDFLAGS="$save_LDFLAGS"
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9380 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9382 if test x"$lt_cv_prog_compiler__b" = xyes; then
9383 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9391 if test "$with_gnu_ld" = no; then
9392 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9393 hardcode_libdir_separator=:
9398 hardcode_shlibpath_var=no
9402 hardcode_direct_absolute=yes
9403 export_dynamic_flag_spec='${wl}-E'
9405 # hardcode_minus_L: Not really in the search PATH,
9406 # but as the default location of the library.
9407 hardcode_minus_L=yes
9413 irix5* | irix6* | nonstopux*)
9414 if test "$GCC" = yes; then
9415 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'
9416 # Try to use the -exported_symbol ld option, if it does not
9417 # work, assume that -exports_file does not work either and
9418 # implicitly export all symbols.
9419 # This should be the same for all languages, so no per-tag cache variable.
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9421 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9422 if ${lt_cv_irix_exported_symbol+:} false; then :
9423 $as_echo_n "(cached) " >&6
9425 save_LDFLAGS="$LDFLAGS"
9426 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int foo (void) { return 0; }
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 lt_cv_irix_exported_symbol=yes
9434 lt_cv_irix_exported_symbol=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LDFLAGS="$save_LDFLAGS"
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9441 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9442 if test "$lt_cv_irix_exported_symbol" = yes; then
9443 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'
9446 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'
9447 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'
9449 archive_cmds_need_lc='no'
9450 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9451 hardcode_libdir_separator=:
9453 link_all_deplibs=yes
9457 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9458 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9460 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9462 hardcode_libdir_flag_spec='-R$libdir'
9464 hardcode_shlibpath_var=no
9468 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9471 hardcode_libdir_separator=:
9472 hardcode_shlibpath_var=no
9479 if test -f /usr/libexec/ld.so; then
9481 hardcode_shlibpath_var=no
9482 hardcode_direct_absolute=yes
9483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9484 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9486 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9487 export_dynamic_flag_spec='${wl}-E'
9490 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9491 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 hardcode_libdir_flag_spec='-R$libdir'
9495 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9496 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9506 hardcode_libdir_flag_spec='-L$libdir'
9507 hardcode_minus_L=yes
9508 allow_undefined_flag=unsupported
9509 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'
9510 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9514 if test "$GCC" = yes; then
9515 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9516 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'
9518 allow_undefined_flag=' -expect_unresolved \*'
9519 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'
9521 archive_cmds_need_lc='no'
9522 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523 hardcode_libdir_separator=:
9526 osf4* | osf5*) # as osf3* with the addition of -msym flag
9527 if test "$GCC" = yes; then
9528 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9529 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'
9530 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9532 allow_undefined_flag=' -expect_unresolved \*'
9533 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'
9534 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~
9535 $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'
9537 # Both c and cxx compiler support -rpath directly
9538 hardcode_libdir_flag_spec='-rpath $libdir'
9540 archive_cmds_need_lc='no'
9541 hardcode_libdir_separator=:
9545 no_undefined_flag=' -z defs'
9546 if test "$GCC" = yes; then
9548 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9549 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9550 $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'
9552 case `$CC -V 2>&1` in
9555 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9556 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9557 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9561 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9562 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9567 hardcode_libdir_flag_spec='-R$libdir'
9568 hardcode_shlibpath_var=no
9570 solaris2.[0-5] | solaris2.[0-5].*) ;;
9572 # The compiler driver will combine and reorder linker options,
9573 # but understands `-z linker_flag'. GCC discards it without `$wl',
9574 # but is careful enough not to reorder.
9575 # Supported since Solaris 2.6 (maybe 2.5.1?)
9576 if test "$GCC" = yes; then
9577 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9579 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9583 link_all_deplibs=yes
9587 if test "x$host_vendor" = xsequent; then
9588 # Use $CC to link under sequent, because it throws in some extra .o
9589 # files that make .init and .fini sections work.
9590 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9594 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_minus_L=yes
9597 hardcode_shlibpath_var=no
9601 case $host_vendor in
9603 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604 hardcode_direct=yes # is this really true???
9607 ## LD is ld it makes a PLAMLIB
9608 ## CC just makes a GrossModule.
9609 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9610 reload_cmds='$CC -r -o $output$reload_objs'
9614 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9618 runpath_var='LD_RUN_PATH'
9619 hardcode_shlibpath_var=no
9623 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_shlibpath_var=no
9625 export_dynamic_flag_spec='-Bexport'
9629 if test -d /usr/nec; then
9630 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_shlibpath_var=no
9632 runpath_var=LD_RUN_PATH
9633 hardcode_runpath_var=yes
9638 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9639 no_undefined_flag='${wl}-z,text'
9640 archive_cmds_need_lc=no
9641 hardcode_shlibpath_var=no
9642 runpath_var='LD_RUN_PATH'
9644 if test "$GCC" = yes; then
9645 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9653 sysv5* | sco3.2v5* | sco5v6*)
9654 # Note: We can NOT use -z defs as we might desire, because we do not
9655 # link with -lc, and that would cause any symbols used from libc to
9656 # always be unresolved, which means just about no library would
9657 # ever link correctly. If we're not using GNU ld we use -z text
9658 # though, which does catch some bad symbols but isn't as heavy-handed
9660 no_undefined_flag='${wl}-z,text'
9661 allow_undefined_flag='${wl}-z,nodefs'
9662 archive_cmds_need_lc=no
9663 hardcode_shlibpath_var=no
9664 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9665 hardcode_libdir_separator=':'
9666 link_all_deplibs=yes
9667 export_dynamic_flag_spec='${wl}-Bexport'
9668 runpath_var='LD_RUN_PATH'
9670 if test "$GCC" = yes; then
9671 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9681 hardcode_libdir_flag_spec='-L$libdir'
9682 hardcode_shlibpath_var=no
9690 if test x$host_vendor = xsni; then
9692 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9693 export_dynamic_flag_spec='${wl}-Blargedynsym'
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9700 $as_echo "$ld_shlibs" >&6; }
9701 test "$ld_shlibs" = no && can_build_shared=no
9703 with_gnu_ld=$with_gnu_ld
9720 # Do we need to explicitly link libc?
9722 case "x$archive_cmds_need_lc" in
9724 # Assume -lc should be added
9725 archive_cmds_need_lc=yes
9727 if test "$enable_shared" = yes && test "$GCC" = yes; then
9728 case $archive_cmds in
9730 # FIXME: we may have to deal with multi-command sequences.
9733 # Test whether the compiler implicitly links with -lc since on some
9734 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9735 # to ld, don't add -lc before -lgcc.
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9737 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9738 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9739 $as_echo_n "(cached) " >&6
9742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9745 (eval $ac_compile) 2>&5
9747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9748 test $ac_status = 0; } 2>conftest.err; then
9751 libobjs=conftest.$ac_objext
9753 wl=$lt_prog_compiler_wl
9754 pic_flag=$lt_prog_compiler_pic
9760 lt_save_allow_undefined_flag=$allow_undefined_flag
9761 allow_undefined_flag=
9762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9763 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9766 test $ac_status = 0; }
9768 lt_cv_archive_cmds_need_lc=no
9770 lt_cv_archive_cmds_need_lc=yes
9772 allow_undefined_flag=$lt_save_allow_undefined_flag
9774 cat conftest.err 1>&5
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9780 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9781 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9940 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9942 if test "$GCC" = yes; then
9944 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9945 *) lt_awk_arg="/^libraries:/" ;;
9948 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9949 *) lt_sed_strip_eq="s,=/,/,g" ;;
9951 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9952 case $lt_search_path_spec in
9954 # if the path contains ";" then we assume it to be the separator
9955 # otherwise default to the standard path separator (i.e. ":") - it is
9956 # assumed that no part of a normal pathname contains ";" but that should
9957 # okay in the real world where ";" in dirpaths is itself problematic.
9958 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9961 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9964 # Ok, now we have the path, separated by spaces, we can step through it
9965 # and add multilib dir if necessary.
9966 lt_tmp_lt_search_path_spec=
9967 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9968 for lt_sys_path in $lt_search_path_spec; do
9969 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9970 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9972 test -d "$lt_sys_path" && \
9973 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9976 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9977 BEGIN {RS=" "; FS="/|\n";} {
9980 for (lt_i = NF; lt_i > 0; lt_i--) {
9981 if ($lt_i != "" && $lt_i != ".") {
9982 if ($lt_i == "..") {
9985 if (lt_count == 0) {
9986 lt_foo="/" $lt_i lt_foo;
9993 if (lt_foo != "") { lt_freq[lt_foo]++; }
9994 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9996 # AWK program above erroneously prepends '/' to C:/dos/paths
9999 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10000 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10002 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10004 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10006 library_names_spec=
10007 libname_spec='lib$name'
10011 postuninstall_cmds=
10015 shlibpath_overrides_runpath=unknown
10017 dynamic_linker="$host_os ld.so"
10018 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10019 need_lib_prefix=unknown
10020 hardcode_into_libs=no
10022 # when you set need_version to no, make sure it does not cause -set_version
10023 # flags to be left without arguments
10024 need_version=unknown
10028 version_type=linux # correct to gnu/linux during the next big refactor
10029 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10030 shlibpath_var=LIBPATH
10032 # AIX 3 has no versioning support, so we append a major version to the name.
10033 soname_spec='${libname}${release}${shared_ext}$major'
10037 version_type=linux # correct to gnu/linux during the next big refactor
10040 hardcode_into_libs=yes
10041 if test "$host_cpu" = ia64; then
10042 # AIX 5 supports IA64
10043 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10044 shlibpath_var=LD_LIBRARY_PATH
10046 # With GCC up to 2.95.x, collect2 would create an import file
10047 # for dependence libraries. The import file would start with
10048 # the line `#! .'. This would cause the generated library to
10049 # depend on `.', always an invalid library. This was fixed in
10050 # development snapshots of GCC prior to 3.0.
10052 aix4 | aix4.[01] | aix4.[01].*)
10053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10055 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10058 can_build_shared=no
10062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10063 # soname into executable. Probably we can add versioning support to
10064 # collect2, so additional links can be useful in future.
10065 if test "$aix_use_runtimelinking" = yes; then
10066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10067 # instead of lib<name>.a to let people know that these are not
10068 # typical AIX shared libraries.
10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10071 # We preserve .a as extension for shared libraries through AIX4.2
10072 # and later when we are not doing run time linking.
10073 library_names_spec='${libname}${release}.a $libname.a'
10074 soname_spec='${libname}${release}${shared_ext}$major'
10076 shlibpath_var=LIBPATH
10083 # Since July 2007 AmigaOS4 officially supports .so libraries.
10084 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10088 library_names_spec='$libname.ixlibrary $libname.a'
10089 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10090 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'
10096 library_names_spec='${libname}${shared_ext}'
10097 dynamic_linker="$host_os ld.so"
10098 shlibpath_var=LIBRARY_PATH
10102 version_type=linux # correct to gnu/linux during the next big refactor
10104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105 soname_spec='${libname}${release}${shared_ext}$major'
10106 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10107 shlibpath_var=LD_LIBRARY_PATH
10108 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10109 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10110 # the default ld.so.conf also contains /usr/contrib/lib and
10111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10112 # libtool to hard-code these into programs
10115 cygwin* | mingw* | pw32* | cegcc*)
10116 version_type=windows
10121 case $GCC,$cc_basename in
10124 library_names_spec='$libname.dll.a'
10125 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10126 postinstall_cmds='base_file=`basename \${file}`~
10127 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10128 dldir=$destdir/`dirname \$dlpath`~
10129 test -d \$dldir || mkdir -p \$dldir~
10130 $install_prog $dir/$dlname \$dldir/$dlname~
10131 chmod a+x \$dldir/$dlname~
10132 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10133 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10135 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10136 dlpath=$dir/\$dldll~
10138 shlibpath_overrides_runpath=yes
10142 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10143 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10145 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10148 # MinGW DLLs use traditional 'lib' prefix
10149 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10152 # pw32 DLLs use 'pw' prefix rather than 'lib'
10153 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10156 dynamic_linker='Win32 ld.exe'
10161 libname_spec='$name'
10162 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163 library_names_spec='${libname}.dll.lib'
10167 sys_lib_search_path_spec=
10170 for lt_path in $LIB
10173 # Let DOS variable expansion print the short 8.3 style file name.
10174 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10175 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10178 # Convert to MSYS style.
10179 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10182 # Convert to unix form, then to dos form, then back to unix form
10183 # but this time dos style (no spaces!) so that the unix form looks
10184 # like /cygdrive/c/PROGRA~1:/cygdr...
10185 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10186 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10187 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10190 sys_lib_search_path_spec="$LIB"
10191 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10192 # It is most probably a Windows format PATH.
10193 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10195 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10197 # FIXME: find the short name or the path components, as spaces are
10198 # common. (e.g. "Program Files" -> "PROGRA~1")
10202 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10203 postinstall_cmds='base_file=`basename \${file}`~
10204 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10205 dldir=$destdir/`dirname \$dlpath`~
10206 test -d \$dldir || mkdir -p \$dldir~
10207 $install_prog $dir/$dlname \$dldir/$dlname'
10208 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10209 dlpath=$dir/\$dldll~
10211 shlibpath_overrides_runpath=yes
10212 dynamic_linker='Win32 link.exe'
10216 # Assume MSVC wrapper
10217 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10218 dynamic_linker='Win32 ld.exe'
10221 # FIXME: first we should search . and the directory the executable is in
10225 darwin* | rhapsody*)
10226 dynamic_linker="$host_os dyld"
10227 version_type=darwin
10230 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10231 soname_spec='${libname}${release}${major}$shared_ext'
10232 shlibpath_overrides_runpath=yes
10233 shlibpath_var=DYLD_LIBRARY_PATH
10234 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10236 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10237 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10241 version_type=linux # correct to gnu/linux during the next big refactor
10244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10245 soname_spec='${libname}${release}${shared_ext}$major'
10246 shlibpath_var=LD_LIBRARY_PATH
10249 freebsd* | dragonfly*)
10250 # DragonFly does not have aout. When/if they implement a new
10251 # versioning mechanism, adjust this.
10252 if test -x /usr/bin/objformat; then
10253 objformat=`/usr/bin/objformat`
10256 freebsd[23].*) objformat=aout ;;
10257 *) objformat=elf ;;
10260 version_type=freebsd-$objformat
10261 case $version_type in
10263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10268 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10272 shlibpath_var=LD_LIBRARY_PATH
10275 shlibpath_overrides_runpath=yes
10277 freebsd3.[01]* | freebsdelf3.[01]*)
10278 shlibpath_overrides_runpath=yes
10279 hardcode_into_libs=yes
10281 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10282 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10283 shlibpath_overrides_runpath=no
10284 hardcode_into_libs=yes
10286 *) # from 4.6 on, and DragonFly
10287 shlibpath_overrides_runpath=yes
10288 hardcode_into_libs=yes
10294 version_type=linux # correct to gnu/linux during the next big refactor
10297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10298 soname_spec='${libname}${release}${shared_ext}$major'
10299 shlibpath_var=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath=no
10301 hardcode_into_libs=yes
10305 version_type=linux # correct to gnu/linux during the next big refactor
10308 dynamic_linker="$host_os runtime_loader"
10309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10310 soname_spec='${libname}${release}${shared_ext}$major'
10311 shlibpath_var=LIBRARY_PATH
10312 shlibpath_overrides_runpath=yes
10313 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10314 hardcode_into_libs=yes
10317 hpux9* | hpux10* | hpux11*)
10318 # Give a soname corresponding to the major version so that dld.sl refuses to
10319 # link against other versions.
10326 hardcode_into_libs=yes
10327 dynamic_linker="$host_os dld.so"
10328 shlibpath_var=LD_LIBRARY_PATH
10329 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10331 soname_spec='${libname}${release}${shared_ext}$major'
10332 if test "X$HPUX_IA64_MODE" = X32; then
10333 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10335 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10337 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10341 hardcode_into_libs=yes
10342 dynamic_linker="$host_os dld.sl"
10343 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10344 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346 soname_spec='${libname}${release}${shared_ext}$major'
10347 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10348 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10352 dynamic_linker="$host_os dld.sl"
10353 shlibpath_var=SHLIB_PATH
10354 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356 soname_spec='${libname}${release}${shared_ext}$major'
10359 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10360 postinstall_cmds='chmod 555 $lib'
10361 # or fails outright, so override atomically:
10362 install_override_mode=555
10366 version_type=linux # correct to gnu/linux during the next big refactor
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10371 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10372 shlibpath_var=LD_LIBRARY_PATH
10373 shlibpath_overrides_runpath=no
10374 hardcode_into_libs=yes
10377 irix5* | irix6* | nonstopux*)
10379 nonstopux*) version_type=nonstopux ;;
10381 if test "$lt_cv_prog_gnu_ld" = yes; then
10382 version_type=linux # correct to gnu/linux during the next big refactor
10389 soname_spec='${libname}${release}${shared_ext}$major'
10390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10392 irix5* | nonstopux*)
10393 libsuff= shlibsuff=
10396 case $LD in # libtool.m4 will add one of these switches to LD
10397 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10398 libsuff= shlibsuff= libmagic=32-bit;;
10399 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10400 libsuff=32 shlibsuff=N32 libmagic=N32;;
10401 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10402 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10403 *) libsuff= shlibsuff= libmagic=never-match;;
10407 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10408 shlibpath_overrides_runpath=no
10409 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10410 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10411 hardcode_into_libs=yes
10414 # No shared lib support for Linux oldld, aout, or coff.
10415 linux*oldld* | linux*aout* | linux*coff*)
10419 # This must be glibc/ELF.
10420 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10421 version_type=linux # correct to gnu/linux during the next big refactor
10424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425 soname_spec='${libname}${release}${shared_ext}$major'
10426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10427 shlibpath_var=LD_LIBRARY_PATH
10428 shlibpath_overrides_runpath=no
10430 # Some binutils ld are patched to set DT_RUNPATH
10431 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10432 $as_echo_n "(cached) " >&6
10434 lt_cv_shlibpath_overrides_runpath=no
10435 save_LDFLAGS=$LDFLAGS
10436 save_libdir=$libdir
10437 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10438 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10452 lt_cv_shlibpath_overrides_runpath=yes
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 LDFLAGS=$save_LDFLAGS
10458 libdir=$save_libdir
10462 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10464 # This implies no fast_install, which is unacceptable.
10465 # Some rework will be needed to allow for fast_install
10466 # before this can be enabled.
10467 hardcode_into_libs=yes
10469 # Add ABI-specific directories to the system library path.
10470 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10472 # Append ld.so.conf contents to the search path
10473 if test -f /etc/ld.so.conf; then
10474 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' ' '`
10475 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10479 # We used to test for /lib/ld.so.1 and disable shared libraries on
10480 # powerpc, because MkLinux only supported shared libraries with the
10481 # GNU dynamic linker. Since this was broken with cross compilers,
10482 # most powerpc-linux boxes support dynamic linking these days and
10483 # people can always --disable-shared, the test was removed, and we
10484 # assume the GNU/Linux dynamic linker is in use.
10485 dynamic_linker='GNU/Linux ld.so'
10492 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10494 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10495 dynamic_linker='NetBSD (a.out) ld.so'
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10499 dynamic_linker='NetBSD ld.elf_so'
10501 shlibpath_var=LD_LIBRARY_PATH
10502 shlibpath_overrides_runpath=yes
10503 hardcode_into_libs=yes
10507 version_type=linux # correct to gnu/linux during the next big refactor
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 shlibpath_var=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath=yes
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 soname_spec='${libname}${release}${shared_ext}$major'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 shlibpath_overrides_runpath=no
10521 hardcode_into_libs=yes
10522 dynamic_linker='ldqnx.so'
10527 sys_lib_dlsearch_path_spec="/usr/lib"
10529 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10531 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10532 *) need_version=no ;;
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10535 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10536 shlibpath_var=LD_LIBRARY_PATH
10537 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10539 openbsd2.[89] | openbsd2.[89].*)
10540 shlibpath_overrides_runpath=no
10543 shlibpath_overrides_runpath=yes
10547 shlibpath_overrides_runpath=yes
10552 libname_spec='$name'
10555 library_names_spec='$libname${shared_ext} $libname.a'
10556 dynamic_linker='OS/2 ld.exe'
10557 shlibpath_var=LIBPATH
10560 osf3* | osf4* | osf5*)
10564 soname_spec='${libname}${release}${shared_ext}$major'
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10568 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10576 version_type=linux # correct to gnu/linux during the next big refactor
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 shlibpath_var=LD_LIBRARY_PATH
10582 shlibpath_overrides_runpath=yes
10583 hardcode_into_libs=yes
10584 # ldd complains unless libraries are executable
10585 postinstall_cmds='chmod +x $lib'
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10591 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10592 shlibpath_var=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath=yes
10594 if test "$with_gnu_ld" = yes; then
10601 version_type=linux # correct to gnu/linux during the next big refactor
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 soname_spec='${libname}${release}${shared_ext}$major'
10604 shlibpath_var=LD_LIBRARY_PATH
10605 case $host_vendor in
10607 shlibpath_overrides_runpath=no
10609 runpath_var=LD_RUN_PATH
10617 shlibpath_overrides_runpath=no
10618 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10624 if test -d /usr/nec ;then
10625 version_type=linux # correct to gnu/linux during the next big refactor
10626 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10627 soname_spec='$libname${shared_ext}.$major'
10628 shlibpath_var=LD_LIBRARY_PATH
10632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10633 version_type=freebsd-elf
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 shlibpath_var=LD_LIBRARY_PATH
10639 shlibpath_overrides_runpath=yes
10640 hardcode_into_libs=yes
10641 if test "$with_gnu_ld" = yes; then
10642 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10644 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10647 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10651 sys_lib_dlsearch_path_spec='/usr/lib'
10655 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10656 version_type=linux # correct to gnu/linux during the next big refactor
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath=no
10662 hardcode_into_libs=yes
10666 version_type=linux # correct to gnu/linux during the next big refactor
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 soname_spec='${libname}${release}${shared_ext}$major'
10669 shlibpath_var=LD_LIBRARY_PATH
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10677 $as_echo "$dynamic_linker" >&6; }
10678 test "$dynamic_linker" = no && can_build_shared=no
10680 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10681 if test "$GCC" = yes; then
10682 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10685 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10686 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10688 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10689 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10786 if test -n "$hardcode_libdir_flag_spec" ||
10787 test -n "$runpath_var" ||
10788 test "X$hardcode_automatic" = "Xyes" ; then
10790 # We can hardcode non-existent directories.
10791 if test "$hardcode_direct" != no &&
10792 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10793 # have to relink, otherwise we might link with an installed library
10794 # when we should be linking with a yet-to-be-installed one
10795 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10796 test "$hardcode_minus_L" != no; then
10797 # Linking always hardcodes the temporary library directory.
10798 hardcode_action=relink
10800 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10801 hardcode_action=immediate
10804 # We cannot hardcode anything, or else we can only hardcode existing
10806 hardcode_action=unsupported
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10809 $as_echo "$hardcode_action" >&6; }
10811 if test "$hardcode_action" = relink ||
10812 test "$inherit_rpath" = yes; then
10813 # Fast installation is not supported
10814 enable_fast_install=no
10815 elif test "$shlibpath_overrides_runpath" = yes ||
10816 test "$enable_shared" = no; then
10817 # Fast installation is not necessary
10818 enable_fast_install=needless
10826 if test "x$enable_dlopen" != xyes; then
10827 enable_dlopen=unknown
10828 enable_dlopen_self=unknown
10829 enable_dlopen_self_static=unknown
10836 lt_cv_dlopen="load_add_on"
10838 lt_cv_dlopen_self=yes
10841 mingw* | pw32* | cegcc*)
10842 lt_cv_dlopen="LoadLibrary"
10847 lt_cv_dlopen="dlopen"
10852 # if libdl is installed we need to link against it
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10855 if ${ac_cv_lib_dl_dlopen+:} false; then :
10856 $as_echo_n "(cached) " >&6
10858 ac_check_lib_save_LIBS=$LIBS
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 ac_cv_lib_dl_dlopen=yes
10881 ac_cv_lib_dl_dlopen=no
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10890 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10893 lt_cv_dlopen="dyld"
10895 lt_cv_dlopen_self=yes
10902 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10903 if test "x$ac_cv_func_shl_load" = xyes; then :
10904 lt_cv_dlopen="shl_load"
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10908 if ${ac_cv_lib_dld_shl_load+:} false; then :
10909 $as_echo_n "(cached) " >&6
10911 ac_check_lib_save_LIBS=$LIBS
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10926 return shl_load ();
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 ac_cv_lib_dld_shl_load=yes
10934 ac_cv_lib_dld_shl_load=no
10936 rm -f core conftest.err conftest.$ac_objext \
10937 conftest$ac_exeext conftest.$ac_ext
10938 LIBS=$ac_check_lib_save_LIBS
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10942 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10943 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10945 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10946 if test "x$ac_cv_func_dlopen" = xyes; then :
10947 lt_cv_dlopen="dlopen"
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10951 if ${ac_cv_lib_dl_dlopen+:} false; then :
10952 $as_echo_n "(cached) " >&6
10954 ac_check_lib_save_LIBS=$LIBS
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 ac_cv_lib_dl_dlopen=yes
10977 ac_cv_lib_dl_dlopen=no
10979 rm -f core conftest.err conftest.$ac_objext \
10980 conftest$ac_exeext conftest.$ac_ext
10981 LIBS=$ac_check_lib_save_LIBS
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10985 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10986 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10990 if ${ac_cv_lib_svld_dlopen+:} false; then :
10991 $as_echo_n "(cached) " >&6
10993 ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lsvld $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 ac_cv_lib_svld_dlopen=yes
11016 ac_cv_lib_svld_dlopen=no
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11024 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11025 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11029 if ${ac_cv_lib_dld_dld_link+:} false; then :
11030 $as_echo_n "(cached) " >&6
11032 ac_check_lib_save_LIBS=$LIBS
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11047 return dld_link ();
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 ac_cv_lib_dld_dld_link=yes
11055 ac_cv_lib_dld_dld_link=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11063 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11064 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11085 if test "x$lt_cv_dlopen" != xno; then
11091 case $lt_cv_dlopen in
11093 save_CPPFLAGS="$CPPFLAGS"
11094 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11096 save_LDFLAGS="$LDFLAGS"
11097 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11100 LIBS="$lt_cv_dlopen_libs $LIBS"
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11103 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11104 if ${lt_cv_dlopen_self+:} false; then :
11105 $as_echo_n "(cached) " >&6
11107 if test "$cross_compiling" = yes; then :
11108 lt_cv_dlopen_self=cross
11110 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11111 lt_status=$lt_dlunknown
11112 cat > conftest.$ac_ext <<_LT_EOF
11113 #line $LINENO "configure"
11114 #include "confdefs.h"
11123 # define LT_DLGLOBAL RTLD_GLOBAL
11126 # define LT_DLGLOBAL DL_GLOBAL
11128 # define LT_DLGLOBAL 0
11132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11133 find out it does not work in some platform. */
11134 #ifndef LT_DLLAZY_OR_NOW
11136 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11139 # define LT_DLLAZY_OR_NOW DL_LAZY
11142 # define LT_DLLAZY_OR_NOW RTLD_NOW
11145 # define LT_DLLAZY_OR_NOW DL_NOW
11147 # define LT_DLLAZY_OR_NOW 0
11154 /* When -fvisbility=hidden is used, assume the code has been annotated
11155 correspondingly for the symbols needed. */
11156 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11157 int fnord () __attribute__((visibility("default")));
11160 int fnord () { return 42; }
11163 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11164 int status = $lt_dlunknown;
11168 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11171 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11172 else puts (dlerror ());
11174 /* dlclose (self); */
11182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11183 (eval $ac_link) 2>&5
11185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11186 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11187 (./conftest; exit; ) >&5 2>/dev/null
11189 case x$lt_status in
11190 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11191 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11192 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11195 # compilation failed
11196 lt_cv_dlopen_self=no
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11204 $as_echo "$lt_cv_dlopen_self" >&6; }
11206 if test "x$lt_cv_dlopen_self" = xyes; then
11207 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11209 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11210 if ${lt_cv_dlopen_self_static+:} false; then :
11211 $as_echo_n "(cached) " >&6
11213 if test "$cross_compiling" = yes; then :
11214 lt_cv_dlopen_self_static=cross
11216 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11217 lt_status=$lt_dlunknown
11218 cat > conftest.$ac_ext <<_LT_EOF
11219 #line $LINENO "configure"
11220 #include "confdefs.h"
11229 # define LT_DLGLOBAL RTLD_GLOBAL
11232 # define LT_DLGLOBAL DL_GLOBAL
11234 # define LT_DLGLOBAL 0
11238 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11239 find out it does not work in some platform. */
11240 #ifndef LT_DLLAZY_OR_NOW
11242 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11245 # define LT_DLLAZY_OR_NOW DL_LAZY
11248 # define LT_DLLAZY_OR_NOW RTLD_NOW
11251 # define LT_DLLAZY_OR_NOW DL_NOW
11253 # define LT_DLLAZY_OR_NOW 0
11260 /* When -fvisbility=hidden is used, assume the code has been annotated
11261 correspondingly for the symbols needed. */
11262 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11263 int fnord () __attribute__((visibility("default")));
11266 int fnord () { return 42; }
11269 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11270 int status = $lt_dlunknown;
11274 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11277 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11278 else puts (dlerror ());
11280 /* dlclose (self); */
11288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11289 (eval $ac_link) 2>&5
11291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11292 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11293 (./conftest; exit; ) >&5 2>/dev/null
11295 case x$lt_status in
11296 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11297 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11298 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11301 # compilation failed
11302 lt_cv_dlopen_self_static=no
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11310 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11313 CPPFLAGS="$save_CPPFLAGS"
11314 LDFLAGS="$save_LDFLAGS"
11319 case $lt_cv_dlopen_self in
11320 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11321 *) enable_dlopen_self=unknown ;;
11324 case $lt_cv_dlopen_self_static in
11325 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11326 *) enable_dlopen_self_static=unknown ;;
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11349 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11350 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11351 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11352 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11354 $as_echo "yes" >&6; }
11356 # FIXME - insert some real tests, host_os isn't really good enough
11359 if test -n "$STRIP" ; then
11360 striplib="$STRIP -x"
11361 old_striplib="$STRIP -S"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11366 $as_echo "no" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11371 $as_echo "no" >&6; }
11387 # Report which library types will actually be built
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11389 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11391 $as_echo "$can_build_shared" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11394 $as_echo_n "checking whether to build shared libraries... " >&6; }
11395 test "$can_build_shared" = "no" && enable_shared=no
11397 # On AIX, shared libraries and static libraries use the same namespace, and
11398 # are all built from PIC.
11401 test "$enable_shared" = yes && enable_static=no
11402 if test -n "$RANLIB"; then
11403 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11404 postinstall_cmds='$RANLIB $lib'
11409 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11410 test "$enable_shared" = yes && enable_static=no
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11415 $as_echo "$enable_shared" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11418 $as_echo_n "checking whether to build static libraries... " >&6; }
11419 # Make sure either enable_shared or enable_static is yes.
11420 test "$enable_shared" = yes || enable_static=yes
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11422 $as_echo "$enable_static" >&6; }
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11450 ac_config_commands="$ac_config_commands libtool"
11455 # Only expand once:
11460 ac_cpp='$CPP $CPPFLAGS'
11461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11464 if test -n "$ac_tool_prefix"; then
11465 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if ${ac_cv_prog_CC+:} false; then :
11470 $as_echo_n "(cached) " >&6
11472 if test -n "$CC"; then
11473 ac_cv_prog_CC="$CC" # Let the user override the test.
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $PATH
11479 test -z "$as_dir" && as_dir=.
11480 for ac_exec_ext in '' $ac_executable_extensions; do
11481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11482 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11493 if test -n "$CC"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11495 $as_echo "$CC" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11503 if test -z "$ac_cv_prog_CC"; then
11505 # Extract the first word of "gcc", so it can be a program name with args.
11506 set dummy gcc; ac_word=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11508 $as_echo_n "checking for $ac_word... " >&6; }
11509 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11510 $as_echo_n "(cached) " >&6
11512 if test -n "$ac_ct_CC"; then
11513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11516 for as_dir in $PATH
11519 test -z "$as_dir" && as_dir=.
11520 for ac_exec_ext in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_prog_ac_ct_CC="gcc"
11523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11533 if test -n "$ac_ct_CC"; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11535 $as_echo "$ac_ct_CC" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11541 if test "x$ac_ct_CC" = x; then
11544 case $cross_compiling:$ac_tool_warned in
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11548 ac_tool_warned=yes ;;
11553 CC="$ac_cv_prog_CC"
11556 if test -z "$CC"; then
11557 if test -n "$ac_tool_prefix"; then
11558 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11559 set dummy ${ac_tool_prefix}cc; ac_word=$2
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11561 $as_echo_n "checking for $ac_word... " >&6; }
11562 if ${ac_cv_prog_CC+:} false; then :
11563 $as_echo_n "(cached) " >&6
11565 if test -n "$CC"; then
11566 ac_cv_prog_CC="$CC" # Let the user override the test.
11568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11572 test -z "$as_dir" && as_dir=.
11573 for ac_exec_ext in '' $ac_executable_extensions; do
11574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11575 ac_cv_prog_CC="${ac_tool_prefix}cc"
11576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 if test -n "$CC"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11588 $as_echo "$CC" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11591 $as_echo "no" >&6; }
11597 if test -z "$CC"; then
11598 # Extract the first word of "cc", so it can be a program name with args.
11599 set dummy cc; ac_word=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if ${ac_cv_prog_CC+:} false; then :
11603 $as_echo_n "(cached) " >&6
11605 if test -n "$CC"; then
11606 ac_cv_prog_CC="$CC" # Let the user override the test.
11608 ac_prog_rejected=no
11609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11610 for as_dir in $PATH
11613 test -z "$as_dir" && as_dir=.
11614 for ac_exec_ext in '' $ac_executable_extensions; do
11615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11617 ac_prog_rejected=yes
11621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11628 if test $ac_prog_rejected = yes; then
11629 # We found a bogon in the path, so make sure we never use it.
11630 set dummy $ac_cv_prog_CC
11632 if test $# != 0; then
11633 # We chose a different compiler from the bogus one.
11634 # However, it has the same basename, so the bogon will be chosen
11635 # first if we set CC to just the basename; use the full file name.
11637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11643 if test -n "$CC"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11645 $as_echo "$CC" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11653 if test -z "$CC"; then
11654 if test -n "$ac_tool_prefix"; then
11655 for ac_prog in cl.exe
11657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11660 $as_echo_n "checking for $ac_word... " >&6; }
11661 if ${ac_cv_prog_CC+:} false; then :
11662 $as_echo_n "(cached) " >&6
11664 if test -n "$CC"; then
11665 ac_cv_prog_CC="$CC" # Let the user override the test.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11685 if test -n "$CC"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11687 $as_echo "$CC" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11694 test -n "$CC" && break
11697 if test -z "$CC"; then
11699 for ac_prog in cl.exe
11701 # Extract the first word of "$ac_prog", so it can be a program name with args.
11702 set dummy $ac_prog; ac_word=$2
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 $as_echo_n "checking for $ac_word... " >&6; }
11705 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11706 $as_echo_n "(cached) " >&6
11708 if test -n "$ac_ct_CC"; then
11709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11712 for as_dir in $PATH
11715 test -z "$as_dir" && as_dir=.
11716 for ac_exec_ext in '' $ac_executable_extensions; do
11717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11718 ac_cv_prog_ac_ct_CC="$ac_prog"
11719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11729 if test -n "$ac_ct_CC"; then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11731 $as_echo "$ac_ct_CC" >&6; }
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11734 $as_echo "no" >&6; }
11738 test -n "$ac_ct_CC" && break
11741 if test "x$ac_ct_CC" = x; then
11744 case $cross_compiling:$ac_tool_warned in
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11748 ac_tool_warned=yes ;;
11757 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11759 as_fn_error $? "no acceptable C compiler found in \$PATH
11760 See \`config.log' for more details" "$LINENO" 5; }
11762 # Provide some information about the compiler.
11763 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11766 for ac_option in --version -v -V -qversion; do
11767 { { ac_try="$ac_compiler $ac_option >&5"
11768 case "(($ac_try" in
11769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11770 *) ac_try_echo=$ac_try;;
11772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11773 $as_echo "$ac_try_echo"; } >&5
11774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11776 if test -s conftest.err; then
11778 ... rest of stderr output deleted ...
11779 10q' conftest.err >conftest.er1
11780 cat conftest.er1 >&5
11782 rm -f conftest.er1 conftest.err
11783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11784 test $ac_status = 0; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11788 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11789 if ${ac_cv_c_compiler_gnu+:} false; then :
11790 $as_echo_n "(cached) " >&6
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11806 if ac_fn_c_try_compile "$LINENO"; then :
11807 ac_compiler_gnu=yes
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11812 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11816 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11817 if test $ac_compiler_gnu = yes; then
11822 ac_test_CFLAGS=${CFLAGS+set}
11823 ac_save_CFLAGS=$CFLAGS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11825 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11826 if ${ac_cv_prog_cc_g+:} false; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_save_c_werror_flag=$ac_c_werror_flag
11830 ac_c_werror_flag=yes
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11844 if ac_fn_c_try_compile "$LINENO"; then :
11845 ac_cv_prog_cc_g=yes
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11859 if ac_fn_c_try_compile "$LINENO"; then :
11862 ac_c_werror_flag=$ac_save_c_werror_flag
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11875 if ac_fn_c_try_compile "$LINENO"; then :
11876 ac_cv_prog_cc_g=yes
11878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883 ac_c_werror_flag=$ac_save_c_werror_flag
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11886 $as_echo "$ac_cv_prog_cc_g" >&6; }
11887 if test "$ac_test_CFLAGS" = set; then
11888 CFLAGS=$ac_save_CFLAGS
11889 elif test $ac_cv_prog_cc_g = yes; then
11890 if test "$GCC" = yes; then
11896 if test "$GCC" = yes; then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11903 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11904 if ${ac_cv_prog_cc_c89+:} false; then :
11905 $as_echo_n "(cached) " >&6
11907 ac_cv_prog_cc_c89=no
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #include <stdarg.h>
11913 #include <sys/types.h>
11914 #include <sys/stat.h>
11915 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11916 struct buf { int x; };
11917 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11918 static char *e (p, i)
11924 static char *f (char * (*g) (char **, int), char **p, ...)
11929 s = g (p, va_arg (v,int));
11934 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11935 function prototypes and stuff, but not '\xHH' hex character constants.
11936 These don't provoke an error unfortunately, instead are silently treated
11937 as 'x'. The following induces an error, until -std is added to get
11938 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11939 array size at least. It's necessary to write '\x00'==0 to get something
11940 that's true only with -std. */
11941 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11943 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11944 inside strings and character constants. */
11946 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11948 int test (int i, double x);
11949 struct s1 {int (*f) (int a);};
11950 struct s2 {int (*f) (double a);};
11951 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11957 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11962 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11963 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11965 CC="$ac_save_CC $ac_arg"
11966 if ac_fn_c_try_compile "$LINENO"; then :
11967 ac_cv_prog_cc_c89=$ac_arg
11969 rm -f core conftest.err conftest.$ac_objext
11970 test "x$ac_cv_prog_cc_c89" != "xno" && break
11972 rm -f conftest.$ac_ext
11977 case "x$ac_cv_prog_cc_c89" in
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11980 $as_echo "none needed" >&6; } ;;
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11983 $as_echo "unsupported" >&6; } ;;
11985 CC="$CC $ac_cv_prog_cc_c89"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11987 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11989 if test "x$ac_cv_prog_cc_c89" != xno; then :
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11999 depcc="$CC" am_compiler_list=
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12002 $as_echo_n "checking dependency style of $depcc... " >&6; }
12003 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12004 $as_echo_n "(cached) " >&6
12006 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12007 # We make a subdir and do the tests there. Otherwise we can end up
12008 # making bogus files that we don't know about and never remove. For
12009 # instance it was reported that on HP-UX the gcc test will end up
12010 # making a dummy file named `D' -- because `-MD' means `put the output
12012 rm -rf conftest.dir
12014 # Copy depcomp to subdir because otherwise we won't find it if we're
12015 # using a relative directory.
12016 cp "$am_depcomp" conftest.dir
12018 # We will build objects and dependencies in a subdirectory because
12019 # it helps to detect inapplicable dependency modes. For instance
12020 # both Tru64's cc and ICC support -MD to output dependencies as a
12021 # side effect of compilation, but ICC will put the dependencies in
12022 # the current directory while Tru64 will put them in the object
12026 am_cv_CC_dependencies_compiler_type=none
12027 if test "$am_compiler_list" = ""; then
12028 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12030 am__universal=false
12031 case " $depcc " in #(
12032 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12035 for depmode in $am_compiler_list; do
12036 # Setup a source with many dependencies, because some compilers
12037 # like to wrap large dependency lists on column 80 (with \), and
12038 # we should not choose a depcomp mode which is confused by this.
12040 # We need to recreate these files for each test, as the compiler may
12041 # overwrite some of them when testing with obscure command lines.
12042 # This happens at least with the AIX C compiler.
12044 for i in 1 2 3 4 5 6; do
12045 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12046 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12047 # Solaris 8's {/usr,}/bin/sh.
12048 touch sub/conftst$i.h
12050 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12052 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12053 # mode. It turns out that the SunPro C++ compiler does not properly
12054 # handle `-M -o', and we need to detect this. Also, some Intel
12055 # versions had trouble with output in subdirs
12056 am__obj=sub/conftest.${OBJEXT-o}
12057 am__minus_obj="-o $am__obj"
12060 # This depmode causes a compiler race in universal mode.
12061 test "$am__universal" = false || continue
12064 # after this tag, mechanisms are not by side-effect, so they'll
12065 # only be used when explicitly requested
12066 if test "x$enable_dependency_tracking" = xyes; then
12072 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12073 # This compiler won't grok `-c -o', but also, the minuso test has
12074 # not run yet. These depmodes are late enough in the game, and
12075 # so weak that their functioning should not be impacted.
12076 am__obj=conftest.${OBJEXT-o}
12081 if depmode=$depmode \
12082 source=sub/conftest.c object=$am__obj \
12083 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12084 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12085 >/dev/null 2>conftest.err &&
12086 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12087 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12088 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12089 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12090 # icc doesn't choke on unknown options, it will just issue warnings
12091 # or remarks (even with -Werror). So we grep stderr for any message
12092 # that says an option was ignored or not supported.
12093 # When given -MP, icc 7.0 and 7.1 complain thusly:
12094 # icc: Command line warning: ignoring option '-M'; no argument required
12095 # The diagnosis changed in icc 8.0:
12096 # icc: Command line remark: option '-MP' not supported
12097 if (grep 'ignoring option' conftest.err ||
12098 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12099 am_cv_CC_dependencies_compiler_type=$depmode
12106 rm -rf conftest.dir
12108 am_cv_CC_dependencies_compiler_type=none
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12113 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12114 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12117 test "x$enable_dependency_tracking" != xno \
12118 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12119 am__fastdepCC_TRUE=
12120 am__fastdepCC_FALSE='#'
12122 am__fastdepCC_TRUE='#'
12123 am__fastdepCC_FALSE=
12127 if test "x$CC" != xcc; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12129 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12132 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12134 set dummy $CC; ac_cc=`$as_echo "$2" |
12135 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12136 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12137 $as_echo_n "(cached) " >&6
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12150 # Make sure it works both with $CC and with simple cc.
12151 # We do the test twice because some compilers refuse to overwrite an
12152 # existing .o file with -o, though they will create one.
12153 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12155 if { { case "(($ac_try" in
12156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12157 *) ac_try_echo=$ac_try;;
12159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12160 $as_echo "$ac_try_echo"; } >&5
12161 (eval "$ac_try") 2>&5
12163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12164 test $ac_status = 0; } &&
12165 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12170 $as_echo "$ac_try_echo"; } >&5
12171 (eval "$ac_try") 2>&5
12173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174 test $ac_status = 0; };
12176 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12177 if test "x$CC" != xcc; then
12178 # Test first that cc exists at all.
12179 if { ac_try='cc -c conftest.$ac_ext >&5'
12180 { { case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12185 $as_echo "$ac_try_echo"; } >&5
12186 (eval "$ac_try") 2>&5
12188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12189 test $ac_status = 0; }; }; then
12190 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12192 if { { case "(($ac_try" in
12193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12194 *) ac_try_echo=$ac_try;;
12196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12197 $as_echo "$ac_try_echo"; } >&5
12198 (eval "$ac_try") 2>&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201 test $ac_status = 0; } &&
12202 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12204 *) ac_try_echo=$ac_try;;
12206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12207 $as_echo "$ac_try_echo"; } >&5
12208 (eval "$ac_try") 2>&5
12210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12211 test $ac_status = 0; };
12216 # cc exists but doesn't like -o.
12217 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12222 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12224 rm -f core conftest*
12227 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12234 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12238 # FIXME: we rely on the cache variable name because
12239 # there is no other way.
12241 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12242 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12243 if test "$am_t" != yes; then
12244 # Losing compiler, so override with the script.
12245 # FIXME: It is wrong to rewrite CC.
12246 # But if we don't then we get into trouble of one sort or another.
12247 # A longer-term fix would be to have automake use am__CC in this case,
12248 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12249 CC="$am_aux_dir/compile $CC"
12254 ac_cpp='$CPP $CPPFLAGS'
12255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12260 # On Suns, sometimes $CPP names a directory.
12261 if test -n "$CPP" && test -d "$CPP"; then
12264 if test -z "$CPP"; then
12265 if ${ac_cv_prog_CPP+:} false; then :
12266 $as_echo_n "(cached) " >&6
12268 # Double quotes because CPP needs to be expanded
12269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12271 ac_preproc_ok=false
12272 for ac_c_preproc_warn_flag in '' yes
12274 # Use a header file that comes with gcc, so configuring glibc
12275 # with a fresh cross-compiler works.
12276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12277 # <limits.h> exists even on freestanding compilers.
12278 # On the NeXT, cc -E runs the code through the compiler's parser,
12279 # not just through cpp. "Syntax error" is here to catch this case.
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 # include <limits.h>
12285 # include <assert.h>
12289 if ac_fn_c_try_cpp "$LINENO"; then :
12292 # Broken: fails on valid input.
12295 rm -f conftest.err conftest.i conftest.$ac_ext
12297 # OK, works on sane cases. Now check whether nonexistent headers
12298 # can be detected and how.
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #include <ac_nonexistent.h>
12303 if ac_fn_c_try_cpp "$LINENO"; then :
12304 # Broken: success on invalid input.
12307 # Passes both tests.
12311 rm -f conftest.err conftest.i conftest.$ac_ext
12314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12315 rm -f conftest.i conftest.err conftest.$ac_ext
12316 if $ac_preproc_ok; then :
12321 ac_cv_prog_CPP=$CPP
12324 CPP=$ac_cv_prog_CPP
12326 ac_cv_prog_CPP=$CPP
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12329 $as_echo "$CPP" >&6; }
12330 ac_preproc_ok=false
12331 for ac_c_preproc_warn_flag in '' yes
12333 # Use a header file that comes with gcc, so configuring glibc
12334 # with a fresh cross-compiler works.
12335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12336 # <limits.h> exists even on freestanding compilers.
12337 # On the NeXT, cc -E runs the code through the compiler's parser,
12338 # not just through cpp. "Syntax error" is here to catch this case.
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 # include <limits.h>
12344 # include <assert.h>
12348 if ac_fn_c_try_cpp "$LINENO"; then :
12351 # Broken: fails on valid input.
12354 rm -f conftest.err conftest.i conftest.$ac_ext
12356 # OK, works on sane cases. Now check whether nonexistent headers
12357 # can be detected and how.
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12360 #include <ac_nonexistent.h>
12362 if ac_fn_c_try_cpp "$LINENO"; then :
12363 # Broken: success on invalid input.
12366 # Passes both tests.
12370 rm -f conftest.err conftest.i conftest.$ac_ext
12373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12374 rm -f conftest.i conftest.err conftest.$ac_ext
12375 if $ac_preproc_ok; then :
12378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12381 See \`config.log' for more details" "$LINENO" 5; }
12385 ac_cpp='$CPP $CPPFLAGS'
12386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12395 $as_echo_n "checking whether NLS is requested... " >&6; }
12396 # Check whether --enable-nls was given.
12397 if test "${enable_nls+set}" = set; then :
12398 enableval=$enable_nls; USE_NLS=$enableval
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12404 $as_echo "$USE_NLS" >&6; }
12409 case "$am__api_version" in
12411 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12417 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12418 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12419 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12420 if test -n "0.35.0"; then
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12422 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12424 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12425 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12426 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
12429 # Extract the first word of "intltool-update", so it can be a program name with args.
12430 set dummy intltool-update; ac_word=$2
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12432 $as_echo_n "checking for $ac_word... " >&6; }
12433 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12434 $as_echo_n "(cached) " >&6
12436 case $INTLTOOL_UPDATE in
12438 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12442 for as_dir in $PATH
12445 test -z "$as_dir" && as_dir=.
12446 for ac_exec_ext in '' $ac_executable_extensions; do
12447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12448 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12459 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12460 if test -n "$INTLTOOL_UPDATE"; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12462 $as_echo "$INTLTOOL_UPDATE" >&6; }
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465 $as_echo "no" >&6; }
12469 # Extract the first word of "intltool-merge", so it can be a program name with args.
12470 set dummy intltool-merge; ac_word=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12472 $as_echo_n "checking for $ac_word... " >&6; }
12473 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12474 $as_echo_n "(cached) " >&6
12476 case $INTLTOOL_MERGE in
12478 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12482 for as_dir in $PATH
12485 test -z "$as_dir" && as_dir=.
12486 for ac_exec_ext in '' $ac_executable_extensions; do
12487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12488 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12499 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12500 if test -n "$INTLTOOL_MERGE"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12502 $as_echo "$INTLTOOL_MERGE" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12509 # Extract the first word of "intltool-extract", so it can be a program name with args.
12510 set dummy intltool-extract; ac_word=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512 $as_echo_n "checking for $ac_word... " >&6; }
12513 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12514 $as_echo_n "(cached) " >&6
12516 case $INTLTOOL_EXTRACT in
12518 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522 for as_dir in $PATH
12525 test -z "$as_dir" && as_dir=.
12526 for ac_exec_ext in '' $ac_executable_extensions; do
12527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12528 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12540 if test -n "$INTLTOOL_EXTRACT"; then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12542 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12549 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12550 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12553 if test -z "$AM_DEFAULT_VERBOSITY"; then
12554 AM_DEFAULT_VERBOSITY=1
12558 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12559 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12560 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12565 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12566 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12567 intltool__v_merge_options_0='-q'
12572 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12573 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12574 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12575 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12576 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12577 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12578 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12579 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12580 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12581 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12582 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12583 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12584 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12586 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12588 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12589 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12590 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12591 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12592 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12593 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12594 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12692 # Check the gettext tools to make sure they are GNU
12693 # Extract the first word of "xgettext", so it can be a program name with args.
12694 set dummy xgettext; ac_word=$2
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12696 $as_echo_n "checking for $ac_word... " >&6; }
12697 if ${ac_cv_path_XGETTEXT+:} false; then :
12698 $as_echo_n "(cached) " >&6
12702 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12706 for as_dir in $PATH
12709 test -z "$as_dir" && as_dir=.
12710 for ac_exec_ext in '' $ac_executable_extensions; do
12711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12712 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12723 XGETTEXT=$ac_cv_path_XGETTEXT
12724 if test -n "$XGETTEXT"; then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12726 $as_echo "$XGETTEXT" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12733 # Extract the first word of "msgmerge", so it can be a program name with args.
12734 set dummy msgmerge; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12736 $as_echo_n "checking for $ac_word... " >&6; }
12737 if ${ac_cv_path_MSGMERGE+:} false; then :
12738 $as_echo_n "(cached) " >&6
12742 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746 for as_dir in $PATH
12749 test -z "$as_dir" && as_dir=.
12750 for ac_exec_ext in '' $ac_executable_extensions; do
12751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12752 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12763 MSGMERGE=$ac_cv_path_MSGMERGE
12764 if test -n "$MSGMERGE"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12766 $as_echo "$MSGMERGE" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12773 # Extract the first word of "msgfmt", so it can be a program name with args.
12774 set dummy msgfmt; ac_word=$2
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12776 $as_echo_n "checking for $ac_word... " >&6; }
12777 if ${ac_cv_path_MSGFMT+:} false; then :
12778 $as_echo_n "(cached) " >&6
12782 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12786 for as_dir in $PATH
12789 test -z "$as_dir" && as_dir=.
12790 for ac_exec_ext in '' $ac_executable_extensions; do
12791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12792 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 MSGFMT=$ac_cv_path_MSGFMT
12804 if test -n "$MSGFMT"; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12806 $as_echo "$MSGFMT" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12813 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12814 set dummy gmsgfmt; ac_word=$2
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12816 $as_echo_n "checking for $ac_word... " >&6; }
12817 if ${ac_cv_path_GMSGFMT+:} false; then :
12818 $as_echo_n "(cached) " >&6
12822 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12829 test -z "$as_dir" && as_dir=.
12830 for ac_exec_ext in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12840 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12844 GMSGFMT=$ac_cv_path_GMSGFMT
12845 if test -n "$GMSGFMT"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12847 $as_echo "$GMSGFMT" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12854 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12855 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12857 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12858 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12859 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12860 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12861 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12864 # Extract the first word of "perl", so it can be a program name with args.
12865 set dummy perl; ac_word=$2
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12867 $as_echo_n "checking for $ac_word... " >&6; }
12868 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12869 $as_echo_n "(cached) " >&6
12871 case $INTLTOOL_PERL in
12873 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877 for as_dir in $PATH
12880 test -z "$as_dir" && as_dir=.
12881 for ac_exec_ext in '' $ac_executable_extensions; do
12882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12895 if test -n "$INTLTOOL_PERL"; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12897 $as_echo "$INTLTOOL_PERL" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900 $as_echo "no" >&6; }
12904 if test -z "$INTLTOOL_PERL"; then
12905 as_fn_error $? "perl not found" "$LINENO" 5
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12908 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12909 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12910 if test $? -ne 0; then
12911 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12913 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12915 $as_echo "$IT_PERL_VERSION" >&6; }
12917 if test "x" != "xno-xml"; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12919 $as_echo_n "checking for XML::Parser... " >&6; }
12920 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12922 $as_echo "ok" >&6; }
12924 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12928 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12931 # Set DATADIRNAME correctly if it is not set yet
12932 # (copied from glib-gettext.m4)
12933 if test -z "$DATADIRNAME"; then
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12940 extern int _nl_msg_cat_cntr;
12941 return _nl_msg_cat_cntr
12946 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12952 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12972 GETTEXT_PACKAGE=glib-networking
12976 cat >>confdefs.h <<_ACEOF
12977 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12981 for ac_header in locale.h
12983 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12984 if test "x$ac_cv_header_locale_h" = xyes; then :
12985 cat >>confdefs.h <<_ACEOF
12986 #define HAVE_LOCALE_H 1
12993 if test $ac_cv_header_locale_h = yes; then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12995 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12996 if ${am_cv_val_LC_MESSAGES+:} false; then :
12997 $as_echo_n "(cached) " >&6
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13001 #include <locale.h>
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 am_cv_val_LC_MESSAGES=yes
13013 am_cv_val_LC_MESSAGES=no
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13019 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13020 if test $am_cv_val_LC_MESSAGES = yes; then
13022 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13029 gt_cv_have_gettext=no
13035 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13036 if test "x$ac_cv_header_libintl_h" = xyes; then :
13037 gt_cv_func_dgettext_libintl="no"
13038 libintl_extra_libs=""
13041 # First check in libc
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13044 $as_echo_n "checking for ngettext in libc... " >&6; }
13045 if ${gt_cv_func_ngettext_libc+:} false; then :
13046 $as_echo_n "(cached) " >&6
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13051 #include <libintl.h>
13056 return !ngettext ("","", 1)
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 gt_cv_func_ngettext_libc=yes
13064 gt_cv_func_ngettext_libc=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13071 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
13073 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13075 $as_echo_n "checking for dgettext in libc... " >&6; }
13076 if ${gt_cv_func_dgettext_libc+:} false; then :
13077 $as_echo_n "(cached) " >&6
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 #include <libintl.h>
13087 return !dgettext ("","")
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 gt_cv_func_dgettext_libc=yes
13095 gt_cv_func_dgettext_libc=no
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13102 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
13105 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13106 for ac_func in bind_textdomain_codeset
13108 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13109 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13120 # If we don't have everything we want, check in libintl
13122 if test "$gt_cv_func_dgettext_libc" != "yes" \
13123 || test "$gt_cv_func_ngettext_libc" != "yes" \
13124 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13127 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13128 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13129 $as_echo_n "(cached) " >&6
13131 ac_check_lib_save_LIBS=$LIBS
13132 LIBS="-lintl $LIBS"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13142 char bindtextdomain ();
13146 return bindtextdomain ();
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_lib_intl_bindtextdomain=yes
13154 ac_cv_lib_intl_bindtextdomain=no
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_lib_save_LIBS
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13161 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13162 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13164 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13165 if ${ac_cv_lib_intl_ngettext+:} false; then :
13166 $as_echo_n "(cached) " >&6
13168 ac_check_lib_save_LIBS=$LIBS
13169 LIBS="-lintl $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13183 return ngettext ();
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 ac_cv_lib_intl_ngettext=yes
13191 ac_cv_lib_intl_ngettext=no
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_lib_save_LIBS
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13198 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13199 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13201 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13202 if ${ac_cv_lib_intl_dgettext+:} false; then :
13203 $as_echo_n "(cached) " >&6
13205 ac_check_lib_save_LIBS=$LIBS
13206 LIBS="-lintl $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13220 return dgettext ();
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 ac_cv_lib_intl_dgettext=yes
13228 ac_cv_lib_intl_dgettext=no
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_lib_save_LIBS
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13235 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13236 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13237 gt_cv_func_dgettext_libintl=yes
13245 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13247 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13251 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13252 if ${ac_cv_lib_intl_ngettext+:} false; then :
13253 $as_echo_n "(cached) " >&6
13255 ac_check_lib_save_LIBS=$LIBS
13256 LIBS="-lintl -liconv $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13270 return ngettext ();
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 ac_cv_lib_intl_ngettext=yes
13278 ac_cv_lib_intl_ngettext=no
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13285 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13286 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13288 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
13289 if ${ac_cv_lib_intl_dcgettext+:} false; then :
13290 $as_echo_n "(cached) " >&6
13292 ac_check_lib_save_LIBS=$LIBS
13293 LIBS="-lintl -liconv $LIBS"
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13307 return dcgettext ();
13312 if ac_fn_c_try_link "$LINENO"; then :
13313 ac_cv_lib_intl_dcgettext=yes
13315 ac_cv_lib_intl_dcgettext=no
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13322 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13323 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13324 gt_cv_func_dgettext_libintl=yes
13325 libintl_extra_libs=-liconv
13337 # If we found libintl, then check in it for bind_textdomain_codeset();
13338 # we'll prefer libc if neither have bind_textdomain_codeset(),
13339 # and both have dgettext and ngettext
13341 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13342 glib_save_LIBS="$LIBS"
13343 LIBS="$LIBS -lintl $libintl_extra_libs"
13344 unset ac_cv_func_bind_textdomain_codeset
13345 for ac_func in bind_textdomain_codeset
13347 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13348 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13349 cat >>confdefs.h <<_ACEOF
13350 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13356 LIBS="$glib_save_LIBS"
13358 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13359 gt_cv_func_dgettext_libc=no
13361 if test "$gt_cv_func_dgettext_libc" = "yes" \
13362 && test "$gt_cv_func_ngettext_libc" = "yes"; then
13363 gt_cv_func_dgettext_libintl=no
13369 if test "$gt_cv_func_dgettext_libc" = "yes" \
13370 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13371 gt_cv_have_gettext=yes
13374 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13375 INTLLIBS="-lintl $libintl_extra_libs"
13378 if test "$gt_cv_have_gettext" = "yes"; then
13380 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13382 # Extract the first word of "msgfmt", so it can be a program name with args.
13383 set dummy msgfmt; ac_word=$2
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13385 $as_echo_n "checking for $ac_word... " >&6; }
13386 if ${ac_cv_path_MSGFMT+:} false; then :
13387 $as_echo_n "(cached) " >&6
13391 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13395 for ac_dir in $PATH; do
13396 test -z "$ac_dir" && ac_dir=.
13397 if test -f $ac_dir/$ac_word; then
13398 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13399 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13405 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13409 MSGFMT="$ac_cv_path_MSGFMT"
13410 if test "$MSGFMT" != "no"; then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13412 $as_echo "$MSGFMT" >&6; }
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13417 if test "$MSGFMT" != "no"; then
13418 glib_save_LIBS="$LIBS"
13419 LIBS="$LIBS $INTLLIBS"
13420 for ac_func in dcgettext
13422 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13423 if test "x$ac_cv_func_dcgettext" = xyes; then :
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_DCGETTEXT 1
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13433 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
13434 cat >conftest.foo <<_ACEOF
13438 "Content-Type: text/plain; charset=UTF-8\n"
13439 "Project-Id-Version: test 1.0\n"
13440 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
13441 "Last-Translator: test <foo@bar.xx>\n"
13442 "Language-Team: C <LL@li.org>\n"
13443 "MIME-Version: 1.0\n"
13444 "Content-Transfer-Encoding: 8bit\n"
13447 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13448 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13451 test $ac_status = 0; }; then
13452 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13453 $as_echo "yes" >&6; }
13454 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455 $as_echo "no" >&6; }
13456 echo "$as_me: failed input was:" >&5
13457 sed 's/^/| /' conftest.foo >&5
13460 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13461 set dummy gmsgfmt; ac_word=$2
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13463 $as_echo_n "checking for $ac_word... " >&6; }
13464 if ${ac_cv_path_GMSGFMT+:} false; then :
13465 $as_echo_n "(cached) " >&6
13469 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13476 test -z "$as_dir" && as_dir=.
13477 for ac_exec_ext in '' $ac_executable_extensions; do
13478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13479 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13487 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13491 GMSGFMT=$ac_cv_path_GMSGFMT
13492 if test -n "$GMSGFMT"; then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13494 $as_echo "$GMSGFMT" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13497 $as_echo "no" >&6; }
13501 # Extract the first word of "xgettext", so it can be a program name with args.
13502 set dummy xgettext; ac_word=$2
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13504 $as_echo_n "checking for $ac_word... " >&6; }
13505 if ${ac_cv_path_XGETTEXT+:} false; then :
13506 $as_echo_n "(cached) " >&6
13508 case "$XGETTEXT" in
13510 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13514 for ac_dir in $PATH; do
13515 test -z "$ac_dir" && ac_dir=.
13516 if test -f $ac_dir/$ac_word; then
13517 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13518 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13524 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13528 XGETTEXT="$ac_cv_path_XGETTEXT"
13529 if test "$XGETTEXT" != ":"; then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13531 $as_echo "$XGETTEXT" >&6; }
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13543 extern int _nl_msg_cat_cntr;
13544 return _nl_msg_cat_cntr
13549 if ac_fn_c_try_link "$LINENO"; then :
13555 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13556 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS="$glib_save_LIBS"
13580 gt_cv_have_gettext=no
13588 if test "$gt_cv_have_gettext" = "yes" ; then
13590 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13594 if test "$XGETTEXT" != ":"; then
13595 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13599 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13604 # We need to process the po/ directory.
13607 ac_config_commands="$ac_config_commands default-1"
13610 for lang in $ALL_LINGUAS; do
13611 GMOFILES="$GMOFILES $lang.gmo"
13612 POFILES="$POFILES $lang.po"
13627 if test "$gt_cv_have_gettext" = "yes"; then
13628 if test "x$ALL_LINGUAS" = "x"; then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13632 $as_echo_n "checking for catalogs to be installed... " >&6; }
13634 for presentlang in $ALL_LINGUAS; do
13636 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13637 desiredlanguages="$LINGUAS"
13639 desiredlanguages="$ALL_LINGUAS"
13641 for desiredlang in $desiredlanguages; do
13642 # Use the presentlang catalog if desiredlang is
13643 # a. equal to presentlang, or
13644 # b. a variant of presentlang (because in this case,
13645 # presentlang can be used as a fallback for messages
13646 # which are not translated in the desiredlang catalog).
13647 case "$desiredlang" in
13648 "$presentlang"*) useit=yes;;
13651 if test $useit = yes; then
13652 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13655 LINGUAS=$NEW_LINGUAS
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13657 $as_echo "$LINGUAS" >&6; }
13660 if test -n "$LINGUAS"; then
13661 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13666 if test -n "$ac_aux_dir"; then
13667 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13669 if test -z "$MKINSTALLDIRS"; then
13670 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13674 test -d po || mkdir po
13675 if test "x$srcdir" != "x."; then
13676 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13677 posrcprefix="$srcdir/"
13679 posrcprefix="../$srcdir/"
13685 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13686 < $srcdir/po/POTFILES.in > po/POTFILES
13689 # Check whether --enable-glibtest was given.
13690 if test "${enable_glibtest+set}" = set; then :
13691 enableval=$enable_glibtest;
13693 enable_glibtest=yes
13697 pkg_config_args=glib-2.0
13698 for module in . gio
13702 pkg_config_args="$pkg_config_args gmodule-2.0"
13705 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13708 pkg_config_args="$pkg_config_args gobject-2.0"
13711 pkg_config_args="$pkg_config_args gthread-2.0"
13714 pkg_config_args="$pkg_config_args $module-2.0"
13725 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13726 if test -n "$ac_tool_prefix"; then
13727 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13728 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13730 $as_echo_n "checking for $ac_word... " >&6; }
13731 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13732 $as_echo_n "(cached) " >&6
13734 case $PKG_CONFIG in
13736 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13740 for as_dir in $PATH
13743 test -z "$as_dir" && as_dir=.
13744 for ac_exec_ext in '' $ac_executable_extensions; do
13745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13746 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13757 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13758 if test -n "$PKG_CONFIG"; then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13760 $as_echo "$PKG_CONFIG" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13768 if test -z "$ac_cv_path_PKG_CONFIG"; then
13769 ac_pt_PKG_CONFIG=$PKG_CONFIG
13770 # Extract the first word of "pkg-config", so it can be a program name with args.
13771 set dummy pkg-config; ac_word=$2
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13773 $as_echo_n "checking for $ac_word... " >&6; }
13774 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13775 $as_echo_n "(cached) " >&6
13777 case $ac_pt_PKG_CONFIG in
13779 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13783 for as_dir in $PATH
13786 test -z "$as_dir" && as_dir=.
13787 for ac_exec_ext in '' $ac_executable_extensions; do
13788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13789 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13800 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13801 if test -n "$ac_pt_PKG_CONFIG"; then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13803 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13806 $as_echo "no" >&6; }
13809 if test "x$ac_pt_PKG_CONFIG" = x; then
13812 case $cross_compiling:$ac_tool_warned in
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13816 ac_tool_warned=yes ;;
13818 PKG_CONFIG=$ac_pt_PKG_CONFIG
13821 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13825 if test -n "$PKG_CONFIG"; then
13826 _pkg_min_version=0.16
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13828 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13829 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13831 $as_echo "yes" >&6; }
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834 $as_echo "no" >&6; }
13841 if test "x$PKG_CONFIG" = x ; then
13846 min_glib_version=2.31.6
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13848 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13850 if test x$PKG_CONFIG != xno ; then
13851 ## don't try to run the test against uninstalled libtool libs
13852 if $PKG_CONFIG --uninstalled $pkg_config_args; then
13853 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
13857 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
13864 if test x"$no_glib" = x ; then
13865 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13866 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
13867 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13868 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
13870 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13871 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13872 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
13873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13874 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
13875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13876 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
13877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13878 if test "x$enable_glibtest" = "xyes" ; then
13879 ac_save_CFLAGS="$CFLAGS"
13880 ac_save_LIBS="$LIBS"
13881 CFLAGS="$CFLAGS $GLIB_CFLAGS"
13882 LIBS="$GLIB_LIBS $LIBS"
13883 rm -f conf.glibtest
13884 if test "$cross_compiling" = yes; then :
13885 echo $ac_n "cross compiling; assumed OK... $ac_c"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13892 #include <stdlib.h>
13897 unsigned int major, minor, micro;
13900 fclose (fopen ("conf.glibtest", "w"));
13902 /* HP/UX 9 (%@#!) writes to sscanf strings */
13903 tmp_version = g_strdup("$min_glib_version");
13904 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
13905 printf("%s, bad version string\n", "$min_glib_version");
13909 if ((glib_major_version != $glib_config_major_version) ||
13910 (glib_minor_version != $glib_config_minor_version) ||
13911 (glib_micro_version != $glib_config_micro_version))
13913 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
13914 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
13915 glib_major_version, glib_minor_version, glib_micro_version);
13916 printf ("*** was found! If pkg-config was correct, then it is best\n");
13917 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
13918 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13919 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13920 printf("*** required on your system.\n");
13921 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
13922 printf("*** to point to the correct configuration files\n");
13924 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
13925 (glib_minor_version != GLIB_MINOR_VERSION) ||
13926 (glib_micro_version != GLIB_MICRO_VERSION))
13928 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
13929 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
13930 printf("*** library (version %d.%d.%d)\n",
13931 glib_major_version, glib_minor_version, glib_micro_version);
13935 if ((glib_major_version > major) ||
13936 ((glib_major_version == major) && (glib_minor_version > minor)) ||
13937 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
13943 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
13944 glib_major_version, glib_minor_version, glib_micro_version);
13945 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
13946 major, minor, micro);
13947 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
13949 printf("*** If you have already installed a sufficiently new version, this error\n");
13950 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
13951 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13952 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
13953 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
13954 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13955 printf("*** so that the correct libraries are found at run-time))\n");
13962 if ac_fn_c_try_run "$LINENO"; then :
13967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13968 conftest.$ac_objext conftest.beam conftest.$ac_ext
13971 CFLAGS="$ac_save_CFLAGS"
13972 LIBS="$ac_save_LIBS"
13975 if test "x$no_glib" = x ; then
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13977 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 $as_echo "no" >&6; }
13982 if test "$PKG_CONFIG" = "no" ; then
13983 echo "*** A new enough version of pkg-config was not found."
13984 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13986 if test -f conf.glibtest ; then
13989 echo "*** Could not run GLIB test program, checking why..."
13990 ac_save_CFLAGS="$CFLAGS"
13991 ac_save_LIBS="$LIBS"
13992 CFLAGS="$CFLAGS $GLIB_CFLAGS"
13993 LIBS="$LIBS $GLIB_LIBS"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
14003 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 echo "*** The test program compiled, but did not run. This usually means"
14010 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
14011 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
14012 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14013 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14014 echo "*** is required on your system"
14016 echo "*** If you have an old version installed, it is best to remove it, although"
14017 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14019 echo "*** The test program failed to compile or link. See the file config.log for the"
14020 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
14022 rm -f core conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 CFLAGS="$ac_save_CFLAGS"
14025 LIBS="$ac_save_LIBS"
14033 GLIB_COMPILE_RESOURCES=""
14034 as_fn_error $? "GLIB not found" "$LINENO" 5
14042 rm -f conf.glibtest
14045 GIO_MODULE_DIR=$($PKG_CONFIG --variable giomoduledir gio-2.0)
14046 if test "x$GIO_MODULE_DIR" = "x"; then :
14047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14049 as_fn_error $? "GIO_MODULE_DIR is missing from gio-2.0.pc
14050 See \`config.log' for more details" "$LINENO" 5; }
14054 # Extract the first word of "gio-querymodules", so it can be a program name with args.
14055 set dummy gio-querymodules; ac_word=$2
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14057 $as_echo_n "checking for $ac_word... " >&6; }
14058 if ${ac_cv_path_GIO_QUERYMODULES+:} false; then :
14059 $as_echo_n "(cached) " >&6
14061 case $GIO_QUERYMODULES in
14063 ac_cv_path_GIO_QUERYMODULES="$GIO_QUERYMODULES" # Let the user override the test with a path.
14066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14067 for as_dir in $PATH
14070 test -z "$as_dir" && as_dir=.
14071 for ac_exec_ext in '' $ac_executable_extensions; do
14072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14073 ac_cv_path_GIO_QUERYMODULES="$as_dir/$ac_word$ac_exec_ext"
14074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14084 GIO_QUERYMODULES=$ac_cv_path_GIO_QUERYMODULES
14085 if test -n "$GIO_QUERYMODULES"; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_QUERYMODULES" >&5
14087 $as_echo "$GIO_QUERYMODULES" >&6; }
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14090 $as_echo "no" >&6; }
14098 # Check whether --with-libproxy was given.
14099 if test "${with_libproxy+set}" = set; then :
14100 withval=$with_libproxy;
14102 with_libproxy=check
14105 if test "x$with_libproxy" != "xno"; then :
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPROXY" >&5
14109 $as_echo_n "checking for LIBPROXY... " >&6; }
14111 if test -n "$LIBPROXY_CFLAGS"; then
14112 pkg_cv_LIBPROXY_CFLAGS="$LIBPROXY_CFLAGS"
14113 elif test -n "$PKG_CONFIG"; then
14114 if test -n "$PKG_CONFIG" && \
14115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libproxy-1.0 >= 0.3.1\""; } >&5
14116 ($PKG_CONFIG --exists --print-errors "libproxy-1.0 >= 0.3.1") 2>&5
14118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119 test $ac_status = 0; }; then
14120 pkg_cv_LIBPROXY_CFLAGS=`$PKG_CONFIG --cflags "libproxy-1.0 >= 0.3.1" 2>/dev/null`
14127 if test -n "$LIBPROXY_LIBS"; then
14128 pkg_cv_LIBPROXY_LIBS="$LIBPROXY_LIBS"
14129 elif test -n "$PKG_CONFIG"; then
14130 if test -n "$PKG_CONFIG" && \
14131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libproxy-1.0 >= 0.3.1\""; } >&5
14132 ($PKG_CONFIG --exists --print-errors "libproxy-1.0 >= 0.3.1") 2>&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135 test $ac_status = 0; }; then
14136 pkg_cv_LIBPROXY_LIBS=`$PKG_CONFIG --libs "libproxy-1.0 >= 0.3.1" 2>/dev/null`
14146 if test $pkg_failed = yes; then
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148 $as_echo "no" >&6; }
14150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14151 _pkg_short_errors_supported=yes
14153 _pkg_short_errors_supported=no
14155 if test $_pkg_short_errors_supported = yes; then
14156 LIBPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libproxy-1.0 >= 0.3.1" 2>&1`
14158 LIBPROXY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libproxy-1.0 >= 0.3.1" 2>&1`
14160 # Put the nasty error message in config.log where it belongs
14161 echo "$LIBPROXY_PKG_ERRORS" >&5
14163 if test "x$with_libproxy" = "xyes"; then :
14164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14166 as_fn_error $? "\"$LIBPROXY_PKG_ERRORS\"
14167 See \`config.log' for more details" "$LINENO" 5; }
14169 elif test $pkg_failed = untried; then
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14171 $as_echo "no" >&6; }
14172 if test "x$with_libproxy" = "xyes"; then :
14173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14175 as_fn_error $? "\"$LIBPROXY_PKG_ERRORS\"
14176 See \`config.log' for more details" "$LINENO" 5; }
14179 LIBPROXY_CFLAGS=$pkg_cv_LIBPROXY_CFLAGS
14180 LIBPROXY_LIBS=$pkg_cv_LIBPROXY_LIBS
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14182 $as_echo "yes" >&6; }
14183 with_libproxy=yes; proxy_support=libproxy
14186 if test "x$with_libproxy" = "xyes"; then
14187 HAVE_LIBPROXY_TRUE=
14188 HAVE_LIBPROXY_FALSE='#'
14190 HAVE_LIBPROXY_TRUE='#'
14191 HAVE_LIBPROXY_FALSE=
14198 # Check whether --with-gnome-proxy was given.
14199 if test "${with_gnome_proxy+set}" = set; then :
14200 withval=$with_gnome_proxy;
14202 with_gnome_proxy=check
14205 if test "x$with_gnome_proxy" != "xno"; then :
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSETTINGS_DESKTOP_SCHEMAS" >&5
14209 $as_echo_n "checking for GSETTINGS_DESKTOP_SCHEMAS... " >&6; }
14211 if test -n "$GSETTINGS_DESKTOP_SCHEMAS_CFLAGS"; then
14212 pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS="$GSETTINGS_DESKTOP_SCHEMAS_CFLAGS"
14213 elif test -n "$PKG_CONFIG"; then
14214 if test -n "$PKG_CONFIG" && \
14215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
14216 ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
14218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14219 test $ac_status = 0; }; then
14220 pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS=`$PKG_CONFIG --cflags "gsettings-desktop-schemas" 2>/dev/null`
14227 if test -n "$GSETTINGS_DESKTOP_SCHEMAS_LIBS"; then
14228 pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS="$GSETTINGS_DESKTOP_SCHEMAS_LIBS"
14229 elif test -n "$PKG_CONFIG"; then
14230 if test -n "$PKG_CONFIG" && \
14231 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
14232 ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
14234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235 test $ac_status = 0; }; then
14236 pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS=`$PKG_CONFIG --libs "gsettings-desktop-schemas" 2>/dev/null`
14246 if test $pkg_failed = yes; then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14251 _pkg_short_errors_supported=yes
14253 _pkg_short_errors_supported=no
14255 if test $_pkg_short_errors_supported = yes; then
14256 GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gsettings-desktop-schemas" 2>&1`
14258 GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gsettings-desktop-schemas" 2>&1`
14260 # Put the nasty error message in config.log where it belongs
14261 echo "$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS" >&5
14263 if test "x$with_gnome_proxy" = "xyes"; then :
14264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14266 as_fn_error $? "\"$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS\"
14267 See \`config.log' for more details" "$LINENO" 5; }
14269 elif test $pkg_failed = untried; then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271 $as_echo "no" >&6; }
14272 if test "x$with_gnome_proxy" = "xyes"; then :
14273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14275 as_fn_error $? "\"$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS\"
14276 See \`config.log' for more details" "$LINENO" 5; }
14279 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS=$pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
14280 GSETTINGS_DESKTOP_SCHEMAS_LIBS=$pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14282 $as_echo "yes" >&6; }
14283 with_gnome_proxy=yes; proxy_support="gnome $proxy_support"
14286 if test "x$with_gnome_proxy" = "xyes"; then
14287 HAVE_GNOME_PROXY_TRUE=
14288 HAVE_GNOME_PROXY_FALSE='#'
14290 HAVE_GNOME_PROXY_TRUE='#'
14291 HAVE_GNOME_PROXY_FALSE=
14297 GNUTLS_MIN_REQUIRED=2.11.0
14298 GNUTLS_MIN_PKCS11=2.12.8
14301 # Check whether --with-gnutls was given.
14302 if test "${with_gnutls+set}" = set; then :
14303 withval=$with_gnutls;
14308 if test "x$with_gnutls" != "xno"; then
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
14312 $as_echo_n "checking for GNUTLS... " >&6; }
14314 if test -n "$GNUTLS_CFLAGS"; then
14315 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
14316 elif test -n "$PKG_CONFIG"; then
14317 if test -n "$PKG_CONFIG" && \
14318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_REQUIRED\""; } >&5
14319 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED") 2>&5
14321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14322 test $ac_status = 0; }; then
14323 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_MIN_REQUIRED" 2>/dev/null`
14330 if test -n "$GNUTLS_LIBS"; then
14331 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
14332 elif test -n "$PKG_CONFIG"; then
14333 if test -n "$PKG_CONFIG" && \
14334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_REQUIRED\""; } >&5
14335 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED") 2>&5
14337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14338 test $ac_status = 0; }; then
14339 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_MIN_REQUIRED" 2>/dev/null`
14349 if test $pkg_failed = yes; then
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14351 $as_echo "no" >&6; }
14353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14354 _pkg_short_errors_supported=yes
14356 _pkg_short_errors_supported=no
14358 if test $_pkg_short_errors_supported = yes; then
14359 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED" 2>&1`
14361 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED" 2>&1`
14363 # Put the nasty error message in config.log where it belongs
14364 echo "$GNUTLS_PKG_ERRORS" >&5
14366 if test "x$with_gnutls" = "xyes"; then :
14367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14369 as_fn_error $? "\"$GNUTLS_PKG_ERRORS\"
14370 See \`config.log' for more details" "$LINENO" 5; }
14372 elif test $pkg_failed = untried; then
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14374 $as_echo "no" >&6; }
14375 if test "x$with_gnutls" = "xyes"; then :
14376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14378 as_fn_error $? "\"$GNUTLS_PKG_ERRORS\"
14379 See \`config.log' for more details" "$LINENO" 5; }
14382 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
14383 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14385 $as_echo "yes" >&6; }
14387 tls_support="${tls_support}gnutls "
14390 if test "x$with_gnutls" = "xyes"; then
14392 HAVE_GNUTLS_FALSE='#'
14394 HAVE_GNUTLS_TRUE='#'
14401 if test "x$with_gnutls" = "xyes"; then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of system Certificate Authority list" >&5
14403 $as_echo_n "checking location of system Certificate Authority list... " >&6; }
14405 # Check whether --with-ca-certificates was given.
14406 if test "${with_ca_certificates+set}" = set; then :
14407 withval=$with_ca_certificates;
14410 if test "$with_ca_certificates" = "no"; then
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14412 $as_echo "disabled" >&6; }
14414 if test -z "$with_ca_certificates"; then
14415 for f in /etc/pki/tls/certs/ca-bundle.crt \
14416 /etc/ssl/certs/ca-certificates.crt \
14417 /etc/ssl/ca-bundle.pem; do
14418 if test -f "$f"; then
14419 with_ca_certificates="$f"
14422 if test -z "$with_ca_certificates"; then
14423 as_fn_error $? "could not find. Use --with-ca-certificates=path to set, or --without-ca-certificates to disable" "$LINENO" 5
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ca_certificates" >&5
14428 $as_echo "$with_ca_certificates" >&6; }
14430 cat >>confdefs.h <<_ACEOF
14431 #define GTLS_SYSTEM_CA_FILE "$with_ca_certificates"
14438 P11_KIT_REQUIRED=0.8
14441 # Check whether --with-pkcs11 was given.
14442 if test "${with_pkcs11+set}" = set; then :
14443 withval=$with_pkcs11;
14448 if test "x$with_pkcs11" != "xno"; then
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11" >&5
14452 $as_echo_n "checking for PKCS11... " >&6; }
14454 if test -n "$PKCS11_CFLAGS"; then
14455 pkg_cv_PKCS11_CFLAGS="$PKCS11_CFLAGS"
14456 elif test -n "$PKG_CONFIG"; then
14457 if test -n "$PKG_CONFIG" && \
14458 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= \$P11_KIT_REQUIRED gnutls >= \$GNUTLS_MIN_PKCS11\""; } >&5
14459 ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11") 2>&5
14461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14462 test $ac_status = 0; }; then
14463 pkg_cv_PKCS11_CFLAGS=`$PKG_CONFIG --cflags "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>/dev/null`
14470 if test -n "$PKCS11_LIBS"; then
14471 pkg_cv_PKCS11_LIBS="$PKCS11_LIBS"
14472 elif test -n "$PKG_CONFIG"; then
14473 if test -n "$PKG_CONFIG" && \
14474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= \$P11_KIT_REQUIRED gnutls >= \$GNUTLS_MIN_PKCS11\""; } >&5
14475 ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11") 2>&5
14477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14478 test $ac_status = 0; }; then
14479 pkg_cv_PKCS11_LIBS=`$PKG_CONFIG --libs "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>/dev/null`
14489 if test $pkg_failed = yes; then
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14491 $as_echo "no" >&6; }
14493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14494 _pkg_short_errors_supported=yes
14496 _pkg_short_errors_supported=no
14498 if test $_pkg_short_errors_supported = yes; then
14499 PKCS11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>&1`
14501 PKCS11_PKG_ERRORS=`$PKG_CONFIG --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>&1`
14503 # Put the nasty error message in config.log where it belongs
14504 echo "$PKCS11_PKG_ERRORS" >&5
14506 if test "x$with_pkcs11" = "xyes"; then :
14507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14509 as_fn_error $? "\"$PKCS11_PKG_ERRORS\"
14510 See \`config.log' for more details" "$LINENO" 5; }
14513 elif test $pkg_failed = untried; then
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14515 $as_echo "no" >&6; }
14516 if test "x$with_pkcs11" = "xyes"; then :
14517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14519 as_fn_error $? "\"$PKCS11_PKG_ERRORS\"
14520 See \`config.log' for more details" "$LINENO" 5; }
14524 PKCS11_CFLAGS=$pkg_cv_PKCS11_CFLAGS
14525 PKCS11_LIBS=$pkg_cv_PKCS11_LIBS
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14527 $as_echo "yes" >&6; }
14529 pkcs11_support=p11-kit
14530 tls_support="${tls_support}gnutls-pkcs11 "
14532 cat >>confdefs.h <<_ACEOF
14533 #define HAVE_PKCS11 1
14540 if test "x$with_pkcs11" = "xyes"; then
14542 HAVE_PKCS11_FALSE='#'
14544 HAVE_PKCS11_TRUE='#'
14552 # Check whether --enable-gcov was given.
14553 if test "${enable_gcov+set}" = set; then :
14554 enableval=$enable_gcov; use_gcov=$enableval
14560 if test "x$use_gcov" = "xyes"; then
14561 if test "$GCC" != "yes"; then
14562 as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
14565 ltp_version_list="1.6 1.7 1.8 1.9"
14566 # Extract the first word of "lcov", so it can be a program name with args.
14567 set dummy lcov; ac_word=$2
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14569 $as_echo_n "checking for $ac_word... " >&6; }
14570 if ${ac_cv_prog_LTP+:} false; then :
14571 $as_echo_n "(cached) " >&6
14573 if test -n "$LTP"; then
14574 ac_cv_prog_LTP="$LTP" # Let the user override the test.
14576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14577 for as_dir in $PATH
14580 test -z "$as_dir" && as_dir=.
14581 for ac_exec_ext in '' $ac_executable_extensions; do
14582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14583 ac_cv_prog_LTP="lcov"
14584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14593 LTP=$ac_cv_prog_LTP
14594 if test -n "$LTP"; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP" >&5
14596 $as_echo "$LTP" >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14599 $as_echo "no" >&6; }
14603 # Extract the first word of "genhtml", so it can be a program name with args.
14604 set dummy genhtml; ac_word=$2
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14606 $as_echo_n "checking for $ac_word... " >&6; }
14607 if ${ac_cv_prog_LTP_GENHTML+:} false; then :
14608 $as_echo_n "(cached) " >&6
14610 if test -n "$LTP_GENHTML"; then
14611 ac_cv_prog_LTP_GENHTML="$LTP_GENHTML" # Let the user override the test.
14613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14614 for as_dir in $PATH
14617 test -z "$as_dir" && as_dir=.
14618 for ac_exec_ext in '' $ac_executable_extensions; do
14619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14620 ac_cv_prog_LTP_GENHTML="genhtml"
14621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14630 LTP_GENHTML=$ac_cv_prog_LTP_GENHTML
14631 if test -n "$LTP_GENHTML"; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP_GENHTML" >&5
14633 $as_echo "$LTP_GENHTML" >&6; }
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14636 $as_echo "no" >&6; }
14641 if test "$LTP"; then
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ltp version" >&5
14643 $as_echo_n "checking for ltp version... " >&6; }
14644 if ${glib_cv_ltp_version+:} false; then :
14645 $as_echo_n "(cached) " >&6
14648 glib_cv_ltp_version=invalid
14649 ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
14650 for ltp_check_version in $ltp_version_list; do
14651 if test "$ltp_version" = "$ltp_check_version"; then
14652 glib_cv_ltp_version="$ltp_check_version (ok)"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_ltp_version" >&5
14658 $as_echo "$glib_cv_ltp_version" >&6; }
14660 ltp_msg="To enable code coverage reporting you must have one of the following LTP versions installed: $ltp_version_list"
14661 as_fn_error $? "$ltp_msg" "$LINENO" 5
14664 case $glib_cv_ltp_version in
14666 ltp_msg="You must have one of the following versions of LTP: $ltp_version_list (found: $ltp_version)."
14667 as_fn_error $? "$ltp_msg" "$LINENO" 5
14672 if test -z "$LTP_GENHTML"; then
14673 as_fn_error $? "Could not find genhtml from the LTP package" "$LINENO" 5
14677 $as_echo "#define HAVE_GCOV 1" >>confdefs.h
14681 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
14684 CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
14685 LDFLAGS="$LDFLAGS -lgcov"
14689 # Check whether --enable-more-warnings was given.
14690 if test "${enable_more_warnings+set}" = set; then :
14691 enableval=$enable_more_warnings; set_more_warnings=no
14695 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
14697 -Wall -Wstrict-prototypes -Werror=missing-prototypes \
14698 -Werror=implicit-function-declaration \
14699 -Werror=pointer-arith -Werror=init-self -Werror=format=2 \
14700 -Werror=missing-include-dirs \
14701 -Werror=declaration-after-statement"
14704 ac_config_files="$ac_config_files Makefile po/Makefile.in po/Makefile proxy/libproxy/Makefile proxy/gnome/Makefile proxy/tests/Makefile tls/gnutls/Makefile tls/pkcs11/Makefile tls/tests/Makefile"
14706 cat >confcache <<\_ACEOF
14707 # This file is a shell script that caches the results of configure
14708 # tests run on this system so they can be shared between configure
14709 # scripts and configure runs, see configure's option --config-cache.
14710 # It is not useful on other systems. If it contains results you don't
14711 # want to keep, you may remove or edit it.
14713 # config.status only pays attention to the cache file if you give it
14714 # the --recheck option to rerun configure.
14716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14718 # following values.
14722 # The following way of writing the cache mishandles newlines in values,
14723 # but we know of no workaround that is simple, portable, and efficient.
14724 # So, we kill variables containing newlines.
14725 # Ultrix sh set writes to stderr and can't be redirected directly,
14726 # and sets the high bit in the cache file unless we assign to the vars.
14728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14729 eval ac_val=\$$ac_var
14733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14737 _ | IFS | as_nl) ;; #(
14738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14739 *) { eval $ac_var=; unset $ac_var;} ;;
14745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14746 *${as_nl}ac_space=\ *)
14747 # `set' does not quote correctly, so add quotes: double-quote
14748 # substitution turns \\\\ into \\, and sed turns \\ into \.
14751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14754 # `set' quotes correctly as required by POSIX, so do not add quotes.
14755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14769 if test -w "$cache_file"; then
14770 if test "x$cache_file" != "x/dev/null"; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14772 $as_echo "$as_me: updating cache $cache_file" >&6;}
14773 if test ! -f "$cache_file" || test -h "$cache_file"; then
14774 cat confcache >"$cache_file"
14776 case $cache_file in #(
14778 mv -f confcache "$cache_file"$$ &&
14779 mv -f "$cache_file"$$ "$cache_file" ;; #(
14781 mv -f confcache "$cache_file" ;;
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14792 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14793 # Let make expand exec_prefix.
14794 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14796 DEFS=-DHAVE_CONFIG_H
14801 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14802 # 1. Remove the extension, and $U if already installed.
14803 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14804 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14806 # will be set to the directory where LIBOBJS objects are built.
14807 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14808 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14810 LIBOBJS=$ac_libobjs
14812 LTLIBOBJS=$ac_ltlibobjs
14815 if test -n "$EXEEXT"; then
14817 am__EXEEXT_FALSE='#'
14819 am__EXEEXT_TRUE='#'
14823 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14824 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14827 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14828 as_fn_error $? "conditional \"AMDEP\" was never defined.
14829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14831 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14832 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14835 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14836 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14840 ac_config_commands="$ac_config_commands po/stamp-it"
14843 if test -z "${HAVE_LIBPROXY_TRUE}" && test -z "${HAVE_LIBPROXY_FALSE}"; then
14844 as_fn_error $? "conditional \"HAVE_LIBPROXY\" was never defined.
14845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14847 if test -z "${HAVE_GNOME_PROXY_TRUE}" && test -z "${HAVE_GNOME_PROXY_FALSE}"; then
14848 as_fn_error $? "conditional \"HAVE_GNOME_PROXY\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14851 if test -z "${HAVE_GNUTLS_TRUE}" && test -z "${HAVE_GNUTLS_FALSE}"; then
14852 as_fn_error $? "conditional \"HAVE_GNUTLS\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14855 if test -z "${HAVE_PKCS11_TRUE}" && test -z "${HAVE_PKCS11_FALSE}"; then
14856 as_fn_error $? "conditional \"HAVE_PKCS11\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14860 : "${CONFIG_STATUS=./config.status}"
14862 ac_clean_files_save=$ac_clean_files
14863 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14865 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14867 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14869 # Generated by $as_me.
14870 # Run this file to recreate the current configuration.
14871 # Compiler output produced by configure, useful for debugging
14872 # configure, is in config.log if it exists.
14875 ac_cs_recheck=false
14878 SHELL=\${CONFIG_SHELL-$SHELL}
14881 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14882 ## -------------------- ##
14883 ## M4sh Initialization. ##
14884 ## -------------------- ##
14886 # Be more Bourne compatible
14887 DUALCASE=1; export DUALCASE # for MKS sh
14888 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14891 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14892 # is contrary to our usage. Disable this feature.
14893 alias -g '${1+"$@"}'='"$@"'
14894 setopt NO_GLOB_SUBST
14896 case `(set -o) 2>/dev/null` in #(
14908 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14909 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14910 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14912 # Prefer a ksh shell builtin over an external printf program on Solaris,
14913 # but without wasting forks for bash or zsh.
14914 if test -z "$BASH_VERSION$ZSH_VERSION" \
14915 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14916 as_echo='print -r --'
14917 as_echo_n='print -rn --'
14918 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14919 as_echo='printf %s\n'
14920 as_echo_n='printf %s'
14922 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14923 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14924 as_echo_n='/usr/ucb/echo -n'
14926 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14927 as_echo_n_body='eval
14931 expr "X$arg" : "X\\(.*\\)$as_nl";
14932 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14934 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14936 export as_echo_n_body
14937 as_echo_n='sh -c $as_echo_n_body as_echo'
14939 export as_echo_body
14940 as_echo='sh -c $as_echo_body as_echo'
14943 # The user is always right.
14944 if test "${PATH_SEPARATOR+set}" != set; then
14946 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14947 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14954 # We need space, tab and new line, in precisely that order. Quoting is
14955 # there to prevent editors from complaining about space-tab.
14956 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14957 # splitting by setting IFS to empty value.)
14960 # Find who we are. Look in the path if we contain no directory separator.
14963 *[\\/]* ) as_myself=$0 ;;
14964 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14968 test -z "$as_dir" && as_dir=.
14969 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14975 # We did not find ourselves, most probably we were run as `sh COMMAND'
14976 # in which case we are not to be found in the path.
14977 if test "x$as_myself" = x; then
14980 if test ! -f "$as_myself"; then
14981 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14985 # Unset variables that we do not need and which cause bugs (e.g. in
14986 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14987 # suppresses any "Segmentation fault" message there. '((' could
14988 # trigger a bug in pdksh 5.2.14.
14989 for as_var in BASH_ENV ENV MAIL MAILPATH
14990 do eval test x\${$as_var+set} = xset \
14991 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15007 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15008 # ----------------------------------------
15009 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15010 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15011 # script with STATUS, using 1 if that was 0.
15014 as_status=$1; test $as_status -eq 0 && as_status=1
15016 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15017 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15019 $as_echo "$as_me: error: $2" >&2
15020 as_fn_exit $as_status
15024 # as_fn_set_status STATUS
15025 # -----------------------
15026 # Set $? to STATUS, without forking.
15027 as_fn_set_status ()
15030 } # as_fn_set_status
15032 # as_fn_exit STATUS
15033 # -----------------
15034 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15038 as_fn_set_status $1
15044 # Portably unset VAR.
15047 { eval $1=; unset $1;}
15049 as_unset=as_fn_unset
15050 # as_fn_append VAR VALUE
15051 # ----------------------
15052 # Append the text in VALUE to the end of the definition contained in VAR. Take
15053 # advantage of any shell optimizations that allow amortized linear growth over
15054 # repeated appends, instead of the typical quadratic growth present in naive
15056 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15057 eval 'as_fn_append ()
15068 # as_fn_arith ARG...
15069 # ------------------
15070 # Perform arithmetic evaluation on the ARGs, and store the result in the
15071 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15072 # must be portable across $(()) and expr.
15073 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15074 eval 'as_fn_arith ()
15081 as_val=`expr "$@" || test $? -eq 1`
15086 if expr a : '\(a\)' >/dev/null 2>&1 &&
15087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15093 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15094 as_basename=basename
15099 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15105 as_me=`$as_basename -- "$0" ||
15106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15107 X"$0" : 'X\(//\)$' \| \
15108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15110 sed '/^.*\/\([^/][^/]*\)\/*$/{
15124 # Avoid depending upon Character Ranges.
15125 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15126 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15127 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15128 as_cr_digits='0123456789'
15129 as_cr_alnum=$as_cr_Letters$as_cr_digits
15131 ECHO_C= ECHO_N= ECHO_T=
15132 case `echo -n x` in #(((((
15134 case `echo 'xy\c'` in
15135 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15137 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15144 rm -f conf$$ conf$$.exe conf$$.file
15145 if test -d conf$$.dir; then
15146 rm -f conf$$.dir/conf$$.file
15149 mkdir conf$$.dir 2>/dev/null
15151 if (echo >conf$$.file) 2>/dev/null; then
15152 if ln -s conf$$.file conf$$ 2>/dev/null; then
15154 # ... but there are two gotchas:
15155 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15156 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15157 # In both cases, we have to default to `cp -p'.
15158 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15160 elif ln conf$$.file conf$$ 2>/dev/null; then
15168 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15169 rmdir conf$$.dir 2>/dev/null
15174 # Create "$as_dir" as a directory, including parents if necessary.
15179 -*) as_dir=./$as_dir;;
15181 test -d "$as_dir" || eval $as_mkdir_p || {
15185 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15186 *) as_qdir=$as_dir;;
15188 as_dirs="'$as_qdir' $as_dirs"
15189 as_dir=`$as_dirname -- "$as_dir" ||
15190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15191 X"$as_dir" : 'X\(//\)[^/]' \| \
15192 X"$as_dir" : 'X\(//\)$' \| \
15193 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15194 $as_echo X"$as_dir" |
15195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15199 /^X\(\/\/\)[^/].*/{
15212 test -d "$as_dir" && break
15214 test -z "$as_dirs" || eval "mkdir $as_dirs"
15215 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15219 if mkdir -p . 2>/dev/null; then
15220 as_mkdir_p='mkdir -p "$as_dir"'
15222 test -d ./-p && rmdir ./-p
15226 if test -x / >/dev/null 2>&1; then
15227 as_test_x='test -x'
15229 if ls -dL / >/dev/null 2>&1; then
15236 if test -d "$1"; then
15242 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15243 ???[sx]*):;;*)false;;esac;fi
15247 as_executable_p=$as_test_x
15249 # Sed expression to map a string onto a valid CPP name.
15250 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15252 # Sed expression to map a string onto a valid variable name.
15253 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15257 ## ----------------------------------- ##
15258 ## Main body of $CONFIG_STATUS script. ##
15259 ## ----------------------------------- ##
15261 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15264 # Save the log message, to keep $0 and so on meaningful, and to
15265 # report actual input values of CONFIG_FILES etc. instead of their
15266 # values after options handling.
15268 This file was extended by glib-networking $as_me 2.32.3, which was
15269 generated by GNU Autoconf 2.68. Invocation command line was
15271 CONFIG_FILES = $CONFIG_FILES
15272 CONFIG_HEADERS = $CONFIG_HEADERS
15273 CONFIG_LINKS = $CONFIG_LINKS
15274 CONFIG_COMMANDS = $CONFIG_COMMANDS
15277 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15282 case $ac_config_files in *"
15283 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15286 case $ac_config_headers in *"
15287 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15292 # Files that config.status was made for.
15293 config_files="$ac_config_files"
15294 config_headers="$ac_config_headers"
15295 config_commands="$ac_config_commands"
15299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15301 \`$as_me' instantiates files and other configuration actions
15302 from templates according to the current configuration. Unless the files
15303 and actions are specified as TAGs, all are instantiated by default.
15305 Usage: $0 [OPTION]... [TAG]...
15307 -h, --help print this help, then exit
15308 -V, --version print version number and configuration settings, then exit
15309 --config print configuration, then exit
15310 -q, --quiet, --silent
15311 do not print progress messages
15312 -d, --debug don't remove temporary files
15313 --recheck update $as_me by reconfiguring in the same conditions
15314 --file=FILE[:TEMPLATE]
15315 instantiate the configuration file FILE
15316 --header=FILE[:TEMPLATE]
15317 instantiate the configuration header FILE
15319 Configuration files:
15322 Configuration headers:
15325 Configuration commands:
15328 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>."
15331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15332 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15334 glib-networking config.status 2.32.3
15335 configured by $0, generated by GNU Autoconf 2.68,
15336 with options \\"\$ac_cs_config\\"
15338 Copyright (C) 2010 Free Software Foundation, Inc.
15339 This config.status script is free software; the Free Software Foundation
15340 gives unlimited permission to copy, distribute and modify it."
15347 test -n "\$AWK" || AWK=awk
15350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15351 # The default lists apply if the user does not specify any file.
15357 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15358 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15374 # Handling of the options.
15375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15377 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15378 $as_echo "$ac_cs_version"; exit ;;
15379 --config | --confi | --conf | --con | --co | --c )
15380 $as_echo "$ac_cs_config"; exit ;;
15381 --debug | --debu | --deb | --de | --d | -d )
15383 --file | --fil | --fi | --f )
15386 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15387 '') as_fn_error $? "missing file argument" ;;
15389 as_fn_append CONFIG_FILES " '$ac_optarg'"
15390 ac_need_defaults=false;;
15391 --header | --heade | --head | --hea )
15394 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15396 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15397 ac_need_defaults=false;;
15399 # Conflict between --help and --header
15400 as_fn_error $? "ambiguous option: \`$1'
15401 Try \`$0 --help' for more information.";;
15402 --help | --hel | -h )
15403 $as_echo "$ac_cs_usage"; exit ;;
15404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15405 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15408 # This is an error.
15409 -*) as_fn_error $? "unrecognized option: \`$1'
15410 Try \`$0 --help' for more information." ;;
15412 *) as_fn_append ac_config_targets " $1"
15413 ac_need_defaults=false ;;
15419 ac_configure_extra_args=
15421 if $ac_cs_silent; then
15423 ac_configure_extra_args="$ac_configure_extra_args --silent"
15427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15428 if \$ac_cs_recheck; then
15429 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15431 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15432 CONFIG_SHELL='$SHELL'
15433 export CONFIG_SHELL
15438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15442 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15443 ## Running $as_me. ##
15449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15453 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15456 # The HP-UX ksh and POSIX shell print the target directory to stdout
15457 # if CDPATH is set.
15458 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15460 sed_quote_subst='$sed_quote_subst'
15461 double_quote_subst='$double_quote_subst'
15462 delay_variable_subst='$delay_variable_subst'
15463 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15464 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15465 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15466 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15467 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15468 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15469 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15470 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15471 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15472 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15473 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15474 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15475 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15476 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15477 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15478 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15479 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15480 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15481 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15482 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15483 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15484 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15485 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15486 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15487 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15488 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15489 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15490 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15491 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15492 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15493 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15494 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15495 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15496 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15497 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15498 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15499 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15500 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15501 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15502 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15503 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15504 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15505 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15506 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15507 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15508 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15509 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15510 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15511 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15512 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15513 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15514 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15515 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15516 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15517 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15518 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15519 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"`'
15520 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15521 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15522 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15523 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15524 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15525 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15526 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15527 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15528 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15529 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15530 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15531 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15532 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15533 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15534 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15535 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15536 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15537 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15538 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15539 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15540 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15541 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15542 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15543 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15544 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15545 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15546 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15547 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15548 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15549 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15550 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15551 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15552 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15553 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15554 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15555 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15556 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15557 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15558 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15559 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15560 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15561 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15562 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15563 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15564 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15565 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15566 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15567 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15568 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15569 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15570 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15571 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15572 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15573 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15574 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15575 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15576 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15577 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15578 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15579 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15580 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15581 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15582 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15583 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15584 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15585 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15586 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15587 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15588 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15589 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15590 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15591 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15592 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15595 LTCFLAGS='$LTCFLAGS'
15596 compiler='$compiler_DEFAULT'
15598 # A function that is used when there is no print builtin or printf.
15599 func_fallback_echo ()
15601 eval 'cat <<_LTECHO_EOF
15606 # Quote evaled strings.
15621 deplibs_check_method \
15626 sharedlib_from_linklib_cmd \
15629 archiver_list_spec \
15635 lt_cv_sys_global_symbol_pipe \
15636 lt_cv_sys_global_symbol_to_cdecl \
15637 lt_cv_sys_global_symbol_to_c_name_address \
15638 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15639 nm_file_list_spec \
15640 lt_prog_compiler_no_builtin_flag \
15641 lt_prog_compiler_pic \
15642 lt_prog_compiler_wl \
15643 lt_prog_compiler_static \
15644 lt_cv_prog_compiler_c_o \
15653 export_dynamic_flag_spec \
15654 whole_archive_flag_spec \
15655 compiler_needs_object \
15657 allow_undefined_flag \
15658 no_undefined_flag \
15659 hardcode_libdir_flag_spec \
15660 hardcode_libdir_separator \
15664 variables_saved_for_relink \
15666 library_names_spec \
15668 install_override_mode \
15672 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15673 *[\\\\\\\`\\"\\\$]*)
15674 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15677 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15682 # Double-quote double-evaled strings.
15683 for var in reload_cmds \
15684 old_postinstall_cmds \
15685 old_postuninstall_cmds \
15687 extract_expsyms_cmds \
15688 old_archive_from_new_cmds \
15689 old_archive_from_expsyms_cmds \
15691 archive_expsym_cmds \
15693 module_expsym_cmds \
15694 export_symbols_cmds \
15698 postuninstall_cmds \
15700 sys_lib_search_path_spec \
15701 sys_lib_dlsearch_path_spec; do
15702 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15703 *[\\\\\\\`\\"\\\$]*)
15704 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15707 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15712 ac_aux_dir='$ac_aux_dir'
15713 xsi_shell='$xsi_shell'
15714 lt_shell_append='$lt_shell_append'
15716 # See if we are running on zsh, and set the options which allow our
15717 # commands through without removal of \ escapes INIT.
15718 if test -n "\${ZSH_VERSION+set}" ; then
15719 setopt NO_GLOB_SUBST
15725 TIMESTAMP='$TIMESTAMP'
15735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15737 # Handling of arguments.
15738 for ac_config_target in $ac_config_targets
15740 case $ac_config_target in
15741 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15742 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15743 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15744 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15745 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15747 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
15748 "proxy/libproxy/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/libproxy/Makefile" ;;
15749 "proxy/gnome/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/gnome/Makefile" ;;
15750 "proxy/tests/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/tests/Makefile" ;;
15751 "tls/gnutls/Makefile") CONFIG_FILES="$CONFIG_FILES tls/gnutls/Makefile" ;;
15752 "tls/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES tls/pkcs11/Makefile" ;;
15753 "tls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES tls/tests/Makefile" ;;
15754 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15756 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15761 # If the user did not use the arguments to specify the items to instantiate,
15762 # then the envvar interface is used. Set only those that are not.
15763 # We use the long form for the default assignment because of an extremely
15764 # bizarre bug on SunOS 4.1.3.
15765 if $ac_need_defaults; then
15766 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15767 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15768 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15771 # Have a temporary directory for convenience. Make it in the build tree
15772 # simply because there is no reason against having it here, and in addition,
15773 # creating and moving files from /tmp can sometimes cause problems.
15774 # Hook for its removal unless debugging.
15775 # Note that there is a small window in which the directory will not be cleaned:
15776 # after its creation but before its name has been assigned to `$tmp'.
15780 trap 'exit_status=$?
15781 : "${ac_tmp:=$tmp}"
15782 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15784 trap 'as_fn_exit 1' 1 2 13 15
15786 # Create a (secure) tmp directory for tmp files.
15789 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15793 tmp=./conf$$-$RANDOM
15794 (umask 077 && mkdir "$tmp")
15795 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15798 # Set up the scripts for CONFIG_FILES section.
15799 # No need to generate them if there are no CONFIG_FILES.
15800 # This happens for instance with `./config.status config.h'.
15801 if test -n "$CONFIG_FILES"; then
15804 ac_cr=`echo X | tr X '\015'`
15805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15806 # But we know of no other shell where ac_cr would be empty at this
15807 # point, so we can use a bashism as a fallback.
15808 if test "x$ac_cr" = x; then
15809 eval ac_cr=\$\'\\r\'
15811 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15815 ac_cs_awk_cr=$ac_cr
15818 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15823 echo "cat >conf$$subs.awk <<_ACEOF" &&
15824 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15826 } >conf$$subs.sh ||
15827 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15830 for ac_last_try in false false false false false :; do
15831 . ./conf$$subs.sh ||
15832 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15834 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15835 if test $ac_delim_n = $ac_delim_num; then
15837 elif $ac_last_try; then
15838 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15843 rm -f conf$$subs.sh
15845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15846 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15850 s/^/S["/; s/!.*/"]=/
15860 s/\(.\{148\}\)..*/\1/
15862 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15874 s/\(.\{148\}\)..*/\1/
15876 s/["\\]/\\&/g; s/^/"/; s/$/"/
15880 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15885 ' <conf$$subs.awk | sed '
15890 ' >>$CONFIG_STATUS || ac_write_fail=1
15891 rm -f conf$$subs.awk
15892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15894 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15895 for (key in S) S_is_set[key] = 1
15901 nfields = split(line, field, "@")
15903 len = length(field[1])
15904 for (i = 2; i < nfields; i++) {
15906 keylen = length(key)
15907 if (S_is_set[key]) {
15909 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15910 len += length(value) + length(field[++i])
15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15923 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15926 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15927 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15930 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15931 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15932 # trailing colons and then remove the whole line if VPATH becomes empty
15933 # (actually we leave an empty line to preserve line numbers).
15934 if test "x$srcdir" = x.; then
15935 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15954 fi # test -n "$CONFIG_FILES"
15956 # Set up the scripts for CONFIG_HEADERS section.
15957 # No need to generate them if there are no CONFIG_HEADERS.
15958 # This happens for instance with `./config.status Makefile'.
15959 if test -n "$CONFIG_HEADERS"; then
15960 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15964 # Transform confdefs.h into an awk script `defines.awk', embedded as
15965 # here-document in config.status, that substitutes the proper values into
15966 # config.h.in to produce config.h.
15968 # Create a delimiter string that does not exist in confdefs.h, to ease
15969 # handling of long lines.
15971 for ac_last_try in false false :; do
15972 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15973 if test -z "$ac_tt"; then
15975 elif $ac_last_try; then
15976 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15978 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15982 # For the awk script, D is an array of macro values keyed by name,
15983 # likewise P contains macro parameters if any. Preserve backslash
15984 # newline sequences.
15986 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15988 s/.\{148\}/&'"$ac_delim"'/g
15991 s/^[ ]*#[ ]*define[ ][ ]*/ /
15998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16000 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16004 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16005 D["\1"]=" \3\\\\\\n"\\/p
16007 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16012 s/.\{148\}/&'"$ac_delim"'/g
16017 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16020 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16022 ' <confdefs.h | sed '
16023 s/'"$ac_delim"'/"\\\
16024 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16027 for (key in D) D_is_set[key] = 1
16030 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16032 split(line, arg, " ")
16033 if (arg[1] == "#") {
16037 defundef = substr(arg[1], 2)
16040 split(mac1, mac2, "(") #)
16042 prefix = substr(line, 1, index(line, defundef) - 1)
16043 if (D_is_set[macro]) {
16044 # Preserve the white space surrounding the "#".
16045 print prefix "define", macro P[macro] D[macro]
16048 # Replace #undef with comments. This is necessary, for example,
16049 # in the case of _POSIX_SOURCE, which is predefined and required
16050 # on some systems where configure will not decide to define it.
16051 if (defundef == "undef") {
16052 print "/*", prefix defundef, macro, "*/"
16060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16061 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16062 fi # test -n "$CONFIG_HEADERS"
16065 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16070 :[FHLC]) ac_mode=$ac_tag; continue;;
16072 case $ac_mode$ac_tag in
16074 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16075 :[FH]-) ac_tag=-:-;;
16076 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16093 -) ac_f="$ac_tmp/stdin";;
16094 *) # Look for the file first in the build tree, then in the source tree
16095 # (if the path is not absolute). The absolute path cannot be DOS-style,
16096 # because $ac_f cannot contain `:'.
16100 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16102 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16104 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16105 as_fn_append ac_file_inputs " '$ac_f'"
16108 # Let's still pretend it is `configure' which instantiates (i.e., don't
16109 # use $as_me), people would be surprised to read:
16110 # /* config.h. Generated by config.status. */
16111 configure_input='Generated from '`
16112 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16114 if test x"$ac_file" != x-; then
16115 configure_input="$ac_file. $configure_input"
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16117 $as_echo "$as_me: creating $ac_file" >&6;}
16119 # Neutralize special characters interpreted by sed in replacement strings.
16120 case $configure_input in #(
16121 *\&* | *\|* | *\\* )
16122 ac_sed_conf_input=`$as_echo "$configure_input" |
16123 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16124 *) ac_sed_conf_input=$configure_input;;
16128 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16134 ac_dir=`$as_dirname -- "$ac_file" ||
16135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16136 X"$ac_file" : 'X\(//\)[^/]' \| \
16137 X"$ac_file" : 'X\(//\)$' \| \
16138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16139 $as_echo X"$ac_file" |
16140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16144 /^X\(\/\/\)[^/].*/{
16157 as_dir="$ac_dir"; as_fn_mkdir_p
16161 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16163 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16164 # A ".." for each directory in $ac_dir_suffix.
16165 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16166 case $ac_top_builddir_sub in
16167 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16168 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16171 ac_abs_top_builddir=$ac_pwd
16172 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16173 # for backward compatibility:
16174 ac_top_builddir=$ac_top_build_prefix
16177 .) # We are building in place.
16179 ac_top_srcdir=$ac_top_builddir_sub
16180 ac_abs_top_srcdir=$ac_pwd ;;
16181 [\\/]* | ?:[\\/]* ) # Absolute name.
16182 ac_srcdir=$srcdir$ac_dir_suffix;
16183 ac_top_srcdir=$srcdir
16184 ac_abs_top_srcdir=$srcdir ;;
16185 *) # Relative name.
16186 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16187 ac_top_srcdir=$ac_top_build_prefix$srcdir
16188 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16190 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16201 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16203 ac_MKDIR_P=$MKDIR_P
16205 [\\/$]* | ?:[\\/]* ) ;;
16206 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16211 # If the template does not know about datarootdir, expand it.
16212 # FIXME: This hack should be removed a few years after 2.60.
16213 ac_datarootdir_hack=; ac_datarootdir_seen=
16224 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16225 *datarootdir*) ac_datarootdir_seen=yes;;
16226 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16228 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16231 ac_datarootdir_hack='
16232 s&@datadir@&$datadir&g
16233 s&@docdir@&$docdir&g
16234 s&@infodir@&$infodir&g
16235 s&@localedir@&$localedir&g
16236 s&@mandir@&$mandir&g
16237 s&\\\${datarootdir}&$datarootdir&g' ;;
16241 # Neutralize VPATH when `$srcdir' = `.'.
16242 # Shell code in configure.ac might set extrasub.
16243 # FIXME: do we really want to maintain this feature?
16244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16245 ac_sed_extra="$ac_vpsub
16248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16251 s|@configure_input@|$ac_sed_conf_input|;t t
16252 s&@top_builddir@&$ac_top_builddir_sub&;t t
16253 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16254 s&@srcdir@&$ac_srcdir&;t t
16255 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16256 s&@top_srcdir@&$ac_top_srcdir&;t t
16257 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16258 s&@builddir@&$ac_builddir&;t t
16259 s&@abs_builddir@&$ac_abs_builddir&;t t
16260 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16261 s&@INSTALL@&$ac_INSTALL&;t t
16262 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16263 $ac_datarootdir_hack
16265 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16266 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16268 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16269 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16271 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16273 which seems to be undefined. Please make sure it is defined" >&5
16274 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16275 which seems to be undefined. Please make sure it is defined" >&2;}
16277 rm -f "$ac_tmp/stdin"
16279 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16280 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16288 if test x"$ac_file" != x-; then
16290 $as_echo "/* $configure_input */" \
16291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16292 } >"$ac_tmp/config.h" \
16293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16294 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16296 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16299 mv "$ac_tmp/config.h" "$ac_file" \
16300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16303 $as_echo "/* $configure_input */" \
16304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16305 || as_fn_error $? "could not create -" "$LINENO" 5
16307 # Compute "$ac_file"'s index in $config_headers.
16310 for _am_header in $config_headers :; do
16311 case $_am_header in
16312 $_am_arg | $_am_arg:* )
16315 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16318 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16319 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16320 X"$_am_arg" : 'X\(//\)[^/]' \| \
16321 X"$_am_arg" : 'X\(//\)$' \| \
16322 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16323 $as_echo X"$_am_arg" |
16324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16328 /^X\(\/\/\)[^/].*/{
16340 s/.*/./; q'`/stamp-h$_am_stamp_count
16343 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16344 $as_echo "$as_me: executing $ac_file commands" >&6;}
16349 case $ac_file$ac_mode in
16350 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16351 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16352 # are listed without --file. Let's play safe and only enable the eval
16353 # if we detect the quoting.
16354 case $CONFIG_FILES in
16355 *\'*) eval set x "$CONFIG_FILES" ;;
16356 *) set x $CONFIG_FILES ;;
16361 # Strip MF so we end up with the name of the file.
16362 mf=`echo "$mf" | sed -e 's/:.*$//'`
16363 # Check whether this is an Automake generated Makefile or not.
16364 # We used to match only the files named `Makefile.in', but
16365 # some people rename them; so instead we look at the file content.
16366 # Grep'ing the first line is not enough: some people post-process
16367 # each Makefile.in and add a new line on top of each file to say so.
16368 # Grep'ing the whole file is not good either: AIX grep has a line
16369 # limit of 2048, but all sed's we know have understand at least 4000.
16370 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16371 dirpart=`$as_dirname -- "$mf" ||
16372 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16373 X"$mf" : 'X\(//\)[^/]' \| \
16374 X"$mf" : 'X\(//\)$' \| \
16375 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16381 /^X\(\/\/\)[^/].*/{
16397 # Extract the definition of DEPDIR, am__include, and am__quote
16398 # from the Makefile without running `make'.
16399 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16400 test -z "$DEPDIR" && continue
16401 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16402 test -z "am__include" && continue
16403 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16404 # When using ansi2knr, U may be empty or an underscore; expand it
16405 U=`sed -n 's/^U = //p' < "$mf"`
16406 # Find all dependency output files, they are included files with
16407 # $(DEPDIR) in their names. We invoke sed twice because it is the
16408 # simplest approach to changing $(DEPDIR) to its actual value in the
16410 for file in `sed -n "
16411 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16412 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16413 # Make sure the directory exists.
16414 test -f "$dirpart/$file" && continue
16415 fdir=`$as_dirname -- "$file" ||
16416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417 X"$file" : 'X\(//\)[^/]' \| \
16418 X"$file" : 'X\(//\)$' \| \
16419 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$file" |
16421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16425 /^X\(\/\/\)[^/].*/{
16438 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16439 # echo "creating $dirpart/$file"
16440 echo '# dummy' > "$dirpart/$file"
16447 # See if we are running on zsh, and set the options which allow our
16448 # commands through without removal of \ escapes.
16449 if test -n "${ZSH_VERSION+set}" ; then
16450 setopt NO_GLOB_SUBST
16453 cfgfile="${ofile}T"
16454 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16457 cat <<_LT_EOF >> "$cfgfile"
16460 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16461 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16463 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16465 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16466 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16468 # Written by Gordon Matzigkeit, 1996
16470 # This file is part of GNU Libtool.
16472 # GNU Libtool is free software; you can redistribute it and/or
16473 # modify it under the terms of the GNU General Public License as
16474 # published by the Free Software Foundation; either version 2 of
16475 # the License, or (at your option) any later version.
16477 # As a special exception to the GNU General Public License,
16478 # if you distribute this file as part of a program or library that
16479 # is built using GNU Libtool, you may include this file under the
16480 # same distribution terms that you use for the rest of that program.
16482 # GNU Libtool is distributed in the hope that it will be useful,
16483 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16484 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16485 # GNU General Public License for more details.
16487 # You should have received a copy of the GNU General Public License
16488 # along with GNU Libtool; see the file COPYING. If not, a copy
16489 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16490 # obtained by writing to the Free Software Foundation, Inc.,
16491 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16494 # The names of the tagged configurations supported by this script.
16497 # ### BEGIN LIBTOOL CONFIG
16499 # Which release of libtool.m4 was used?
16500 macro_version=$macro_version
16501 macro_revision=$macro_revision
16503 # Whether or not to build shared libraries.
16504 build_libtool_libs=$enable_shared
16506 # Whether or not to build static libraries.
16507 build_old_libs=$enable_static
16509 # What type of objects to build.
16512 # Whether or not to optimize for fast installation.
16513 fast_install=$enable_fast_install
16515 # Shell to use when invoking shell scripts.
16518 # An echo program that protects backslashes.
16521 # The PATH separator for the build system.
16522 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16525 host_alias=$host_alias
16529 # The build system.
16530 build_alias=$build_alias
16534 # A sed program that does not truncate output.
16537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16538 Xsed="\$SED -e 1s/^X//"
16540 # A grep program that handles long lines.
16546 # A literal string matcher.
16549 # A BSD- or MS-compatible name lister.
16552 # Whether we need soft or hard links.
16555 # What is the maximum length of a command?
16556 max_cmd_len=$max_cmd_len
16558 # Object file suffix (normally "o").
16561 # Executable file suffix (normally "").
16564 # whether the shell understands "unset".
16567 # turn spaces into newlines.
16570 # turn newlines into spaces.
16573 # convert \$build file names to \$host format.
16574 to_host_file_cmd=$lt_cv_to_host_file_cmd
16576 # convert \$build files to toolchain format.
16577 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16579 # An object symbol dumper.
16580 OBJDUMP=$lt_OBJDUMP
16582 # Method to check whether dependent libraries are shared objects.
16583 deplibs_check_method=$lt_deplibs_check_method
16585 # Command to use when deplibs_check_method = "file_magic".
16586 file_magic_cmd=$lt_file_magic_cmd
16588 # How to find potential files when deplibs_check_method = "file_magic".
16589 file_magic_glob=$lt_file_magic_glob
16591 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16592 want_nocaseglob=$lt_want_nocaseglob
16594 # DLL creation program.
16595 DLLTOOL=$lt_DLLTOOL
16597 # Command to associate shared and link libraries.
16598 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16603 # Flags to create an archive.
16604 AR_FLAGS=$lt_AR_FLAGS
16606 # How to feed a file listing to the archiver.
16607 archiver_list_spec=$lt_archiver_list_spec
16609 # A symbol stripping program.
16612 # Commands used to install an old-style archive.
16614 old_postinstall_cmds=$lt_old_postinstall_cmds
16615 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16617 # Whether to use a lock for old archive extraction.
16618 lock_old_archive_extraction=$lock_old_archive_extraction
16623 # LTCC compiler flags.
16624 LTCFLAGS=$lt_CFLAGS
16626 # Take the output of nm and produce a listing of raw symbols and C names.
16627 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16629 # Transform the output of nm in a proper C declaration.
16630 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16632 # Transform the output of nm in a C name address pair.
16633 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16635 # Transform the output of nm in a C name address pair when lib prefix is needed.
16636 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16638 # Specify filename containing input files for \$NM.
16639 nm_file_list_spec=$lt_nm_file_list_spec
16641 # The root where to search for dependent libraries,and in which our libraries should be installed.
16642 lt_sysroot=$lt_sysroot
16644 # The name of the directory that contains temporary libtool files.
16647 # Used to examine libraries when file_magic_cmd begins with "file".
16648 MAGIC_CMD=$MAGIC_CMD
16650 # Must we lock files when doing compilation?
16651 need_locks=$lt_need_locks
16654 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16657 DSYMUTIL=$lt_DSYMUTIL
16659 # Tool to change global to local symbols on Mac OS X.
16662 # Tool to manipulate fat objects and archives on Mac OS X.
16665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16669 OTOOL64=$lt_OTOOL64
16671 # Old archive suffix (normally "a").
16674 # Shared library suffix (normally ".so").
16675 shrext_cmds=$lt_shrext_cmds
16677 # The commands to extract the exported symbol list from a shared archive.
16678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16680 # Variables whose values should be saved in libtool wrapper scripts and
16681 # restored at link time.
16682 variables_saved_for_relink=$lt_variables_saved_for_relink
16684 # Do we need the "lib" prefix for modules?
16685 need_lib_prefix=$need_lib_prefix
16687 # Do we need a version for libraries?
16688 need_version=$need_version
16690 # Library versioning type.
16691 version_type=$version_type
16693 # Shared library runtime path variable.
16694 runpath_var=$runpath_var
16696 # Shared library path variable.
16697 shlibpath_var=$shlibpath_var
16699 # Is shlibpath searched before the hard-coded library search path?
16700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16702 # Format of library name prefix.
16703 libname_spec=$lt_libname_spec
16705 # List of archive names. First name is the real one, the rest are links.
16706 # The last name is the one that the linker finds with -lNAME
16707 library_names_spec=$lt_library_names_spec
16709 # The coded name of the library, if different from the real name.
16710 soname_spec=$lt_soname_spec
16712 # Permission mode override for installation of shared libraries.
16713 install_override_mode=$lt_install_override_mode
16715 # Command to use after installation of a shared archive.
16716 postinstall_cmds=$lt_postinstall_cmds
16718 # Command to use after uninstallation of a shared archive.
16719 postuninstall_cmds=$lt_postuninstall_cmds
16721 # Commands used to finish a libtool library installation in a directory.
16722 finish_cmds=$lt_finish_cmds
16724 # As "finish_cmds", except a single script fragment to be evaled but
16726 finish_eval=$lt_finish_eval
16728 # Whether we should hardcode library paths into libraries.
16729 hardcode_into_libs=$hardcode_into_libs
16731 # Compile-time system search path for libraries.
16732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16734 # Run-time system search path for libraries.
16735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16737 # Whether dlopen is supported.
16738 dlopen_support=$enable_dlopen
16740 # Whether dlopen of programs is supported.
16741 dlopen_self=$enable_dlopen_self
16743 # Whether dlopen of statically linked programs is supported.
16744 dlopen_self_static=$enable_dlopen_self_static
16746 # Commands to strip libraries.
16747 old_striplib=$lt_old_striplib
16748 striplib=$lt_striplib
16751 # The linker used to build libraries.
16754 # How to create reloadable object files.
16755 reload_flag=$lt_reload_flag
16756 reload_cmds=$lt_reload_cmds
16758 # Commands used to build an old-style archive.
16759 old_archive_cmds=$lt_old_archive_cmds
16761 # A language specific compiler.
16764 # Is the compiler the GNU compiler?
16767 # Compiler flag to turn off builtin functions.
16768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16770 # Additional compiler flags for building library objects.
16771 pic_flag=$lt_lt_prog_compiler_pic
16773 # How to pass a linker flag through the compiler.
16774 wl=$lt_lt_prog_compiler_wl
16776 # Compiler flag to prevent dynamic linking.
16777 link_static_flag=$lt_lt_prog_compiler_static
16779 # Does compiler simultaneously support -c and -o options?
16780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16782 # Whether or not to add -lc for building shared libraries.
16783 build_libtool_need_lc=$archive_cmds_need_lc
16785 # Whether or not to disallow shared libs when runtime libs are static.
16786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16788 # Compiler flag to allow reflexive dlopens.
16789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16791 # Compiler flag to generate shared objects directly from archives.
16792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16794 # Whether the compiler copes with passing no objects directly.
16795 compiler_needs_object=$lt_compiler_needs_object
16797 # Create an old-style archive from a shared archive.
16798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16800 # Create a temporary old-style archive to link instead of a shared archive.
16801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16803 # Commands used to build a shared archive.
16804 archive_cmds=$lt_archive_cmds
16805 archive_expsym_cmds=$lt_archive_expsym_cmds
16807 # Commands used to build a loadable module if different from building
16808 # a shared archive.
16809 module_cmds=$lt_module_cmds
16810 module_expsym_cmds=$lt_module_expsym_cmds
16812 # Whether we are building with GNU ld or not.
16813 with_gnu_ld=$lt_with_gnu_ld
16815 # Flag that allows shared libraries with undefined symbols to be built.
16816 allow_undefined_flag=$lt_allow_undefined_flag
16818 # Flag that enforces no undefined symbols.
16819 no_undefined_flag=$lt_no_undefined_flag
16821 # Flag to hardcode \$libdir into a binary during linking.
16822 # This must work even if \$libdir does not exist
16823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16825 # Whether we need a single "-rpath" flag with a separated argument.
16826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16829 # DIR into the resulting binary.
16830 hardcode_direct=$hardcode_direct
16832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16833 # DIR into the resulting binary and the resulting library dependency is
16834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16835 # library is relocated.
16836 hardcode_direct_absolute=$hardcode_direct_absolute
16838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16839 # into the resulting binary.
16840 hardcode_minus_L=$hardcode_minus_L
16842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16843 # into the resulting binary.
16844 hardcode_shlibpath_var=$hardcode_shlibpath_var
16846 # Set to "yes" if building a shared library automatically hardcodes DIR
16847 # into the library and all subsequent libraries and executables linked
16849 hardcode_automatic=$hardcode_automatic
16851 # Set to yes if linker adds runtime paths of dependent libraries
16852 # to runtime path list.
16853 inherit_rpath=$inherit_rpath
16855 # Whether libtool must link a program against all its dependency libraries.
16856 link_all_deplibs=$link_all_deplibs
16858 # Set to "yes" if exported symbols are required.
16859 always_export_symbols=$always_export_symbols
16861 # The commands to list exported symbols.
16862 export_symbols_cmds=$lt_export_symbols_cmds
16864 # Symbols that should not be listed in the preloaded symbols.
16865 exclude_expsyms=$lt_exclude_expsyms
16867 # Symbols that must always be exported.
16868 include_expsyms=$lt_include_expsyms
16870 # Commands necessary for linking programs (against libraries) with templates.
16871 prelink_cmds=$lt_prelink_cmds
16873 # Commands necessary for finishing linking programs.
16874 postlink_cmds=$lt_postlink_cmds
16876 # Specify filename containing input files.
16877 file_list_spec=$lt_file_list_spec
16879 # How to hardcode a shared library path into an executable.
16880 hardcode_action=$hardcode_action
16882 # ### END LIBTOOL CONFIG
16888 cat <<\_LT_EOF >> "$cfgfile"
16889 # AIX sometimes has problems with the GCC collect2 program. For some
16890 # reason, if we set the COLLECT_NAMES environment variable, the problems
16891 # vanish in a puff of smoke.
16892 if test "X${COLLECT_NAMES+set}" != Xset; then
16894 export COLLECT_NAMES
16901 ltmain="$ac_aux_dir/ltmain.sh"
16904 # We use sed instead of cat because bash on DJGPP gets confused if
16905 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16906 # text mode, it properly converts lines to CR/LF. This bash problem
16907 # is reportedly fixed, but why not run on old versions too?
16908 sed '$q' "$ltmain" >> "$cfgfile" \
16909 || (rm -f "$cfgfile"; exit 1)
16911 if test x"$xsi_shell" = xyes; then
16912 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16916 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16917 \ * ) func_dirname_result="${3}" ;;\
16919 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16920 && mv -f "$cfgfile.tmp" "$cfgfile" \
16921 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16922 test 0 -eq $? || _lt_function_replace_fail=:
16925 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16928 \ func_basename_result="${1##*/}"\
16929 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16930 && mv -f "$cfgfile.tmp" "$cfgfile" \
16931 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16932 test 0 -eq $? || _lt_function_replace_fail=:
16935 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16936 func_dirname_and_basename ()\
16939 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16940 \ * ) func_dirname_result="${3}" ;;\
16942 \ func_basename_result="${1##*/}"\
16943 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16944 && mv -f "$cfgfile.tmp" "$cfgfile" \
16945 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 test 0 -eq $? || _lt_function_replace_fail=:
16949 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16952 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16953 \ # positional parameters, so assign one to ordinary parameter first.\
16954 \ func_stripname_result=${3}\
16955 \ func_stripname_result=${func_stripname_result#"${1}"}\
16956 \ func_stripname_result=${func_stripname_result%"${2}"}\
16957 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16958 && mv -f "$cfgfile.tmp" "$cfgfile" \
16959 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 test 0 -eq $? || _lt_function_replace_fail=:
16963 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16964 func_split_long_opt ()\
16966 \ func_split_long_opt_name=${1%%=*}\
16967 \ func_split_long_opt_arg=${1#*=}\
16968 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16969 && mv -f "$cfgfile.tmp" "$cfgfile" \
16970 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16971 test 0 -eq $? || _lt_function_replace_fail=:
16974 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16975 func_split_short_opt ()\
16977 \ func_split_short_opt_arg=${1#??}\
16978 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16979 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16980 && mv -f "$cfgfile.tmp" "$cfgfile" \
16981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16982 test 0 -eq $? || _lt_function_replace_fail=:
16985 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16989 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16990 \ *) func_lo2o_result=${1} ;;\
16992 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16993 && mv -f "$cfgfile.tmp" "$cfgfile" \
16994 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 test 0 -eq $? || _lt_function_replace_fail=:
16998 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17001 func_xform_result=${1%.*}.lo\
17002 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17003 && mv -f "$cfgfile.tmp" "$cfgfile" \
17004 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17005 test 0 -eq $? || _lt_function_replace_fail=:
17008 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17011 func_arith_result=$(( $* ))\
17012 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17013 && mv -f "$cfgfile.tmp" "$cfgfile" \
17014 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17015 test 0 -eq $? || _lt_function_replace_fail=:
17018 sed -e '/^func_len ()$/,/^} # func_len /c\
17021 func_len_result=${#1}\
17022 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17023 && mv -f "$cfgfile.tmp" "$cfgfile" \
17024 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17029 if test x"$lt_shell_append" = xyes; then
17030 sed -e '/^func_append ()$/,/^} # func_append /c\
17033 eval "${1}+=\\${2}"\
17034 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17035 && mv -f "$cfgfile.tmp" "$cfgfile" \
17036 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17037 test 0 -eq $? || _lt_function_replace_fail=:
17040 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17041 func_append_quoted ()\
17043 \ func_quote_for_eval "${2}"\
17044 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17045 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17046 && mv -f "$cfgfile.tmp" "$cfgfile" \
17047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17051 # Save a `func_append' function call where possible by direct use of '+='
17052 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17053 && mv -f "$cfgfile.tmp" "$cfgfile" \
17054 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055 test 0 -eq $? || _lt_function_replace_fail=:
17057 # Save a `func_append' function call even when '+=' is not available
17058 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17059 && mv -f "$cfgfile.tmp" "$cfgfile" \
17060 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17061 test 0 -eq $? || _lt_function_replace_fail=:
17064 if test x"$_lt_function_replace_fail" = x":"; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17066 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17070 mv -f "$cfgfile" "$ofile" ||
17071 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17075 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17076 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17079 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17080 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17082 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17087 '"s|^| $ac_top_srcdir/|" \
17088 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17090 sed '/^POTFILES =/,/[^\\]$/ {
17094 ' "po/Makefile.in" >"po/Makefile"
17095 rm -f "po/Makefile.tmp"
17096 mv "po/stamp-it.tmp" "po/stamp-it"
17105 ac_clean_files=$ac_clean_files_save
17107 test $ac_write_fail = 0 ||
17108 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17111 # configure is writing to config.log, and then calls config.status.
17112 # config.status does its own redirection, appending to config.log.
17113 # Unfortunately, on DOS this fails, as config.log is still kept open
17114 # by configure, so config.status won't be able to write to it; its
17115 # output is simply discarded. So we exec the FD to /dev/null,
17116 # effectively closing config.log, so it can be properly (re)opened and
17117 # appended to by config.status. When coming back to configure, we
17118 # need to make the FD available again.
17119 if test "$no_create" != yes; then
17121 ac_config_status_args=
17122 test "$silent" = yes &&
17123 ac_config_status_args="$ac_config_status_args --quiet"
17125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17128 # would make configure fail if this is the last instruction.
17129 $ac_cs_success || as_fn_exit 1
17131 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17133 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17138 echo " Proxy support: ${proxy_support:-no}"
17139 echo " TLS support: ${tls_support:-no}"
17140 if test "$tls_support" != "no"; then
17141 echo " PKCS#11 Support: $pkcs11_support"
17142 echo " TLS CA file: ${with_ca_certificates:-(none)}"
17143 if test -n "$with_ca_certificates"; then
17144 if ! test -f "$with_ca_certificates"; then
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified certificate authority file '$with_ca_certificates' does not exist" >&5
17146 $as_echo "$as_me: WARNING: Specified certificate authority file '$with_ca_certificates' does not exist" >&2;}