2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for fuse 2.9.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
569 PACKAGE_TARNAME='fuse'
570 PACKAGE_VERSION='2.9.0'
571 PACKAGE_STRING='fuse 2.9.0'
575 # Factoring default headers for most tests.
576 ac_includes_default="\
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
588 # ifdef HAVE_STDLIB_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
611 ac_subst_vars='am__EXEEXT_FALSE
679 INSTALL_STRIP_PROGRAM
733 program_transform_name
746 enable_option_checking
752 enable_dependency_tracking
764 ac_precious_vars='build_alias
775 # Initialize some variables set by options.
777 ac_init_version=false
778 ac_unrecognized_opts=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name=s,x,x,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir='${exec_prefix}/bin'
804 sbindir='${exec_prefix}/sbin'
805 libexecdir='${exec_prefix}/libexec'
806 datarootdir='${prefix}/share'
807 datadir='${datarootdir}'
808 sysconfdir='${prefix}/etc'
809 sharedstatedir='${prefix}/com'
810 localstatedir='${prefix}/var'
811 includedir='${prefix}/include'
812 oldincludedir='/usr/include'
813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
814 infodir='${datarootdir}/info'
819 libdir='${exec_prefix}/lib'
820 localedir='${datarootdir}/locale'
821 mandir='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\$ac_option
835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840 # Accept the important Cygnus configure options, so we can diagnose typos.
842 case $ac_dashdash$ac_option in
846 -bindir | --bindir | --bindi | --bind | --bin | --bi)
848 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 -build | --build | --buil | --bui | --bu)
852 ac_prev=build_alias ;;
853 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
854 build_alias=$ac_optarg ;;
856 -cache-file | --cache-file | --cache-fil | --cache-fi \
857 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
858 ac_prev=cache_file ;;
859 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
860 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
861 cache_file=$ac_optarg ;;
864 cache_file=config.cache ;;
866 -datadir | --datadir | --datadi | --datad)
868 -datadir=* | --datadir=* | --datadi=* | --datad=*)
869 datadir=$ac_optarg ;;
871 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872 | --dataroo | --dataro | --datar)
873 ac_prev=datarootdir ;;
874 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876 datarootdir=$ac_optarg ;;
878 -disable-* | --disable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error $? "invalid feature name: $ac_useropt"
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
892 eval enable_$ac_useropt=no ;;
894 -docdir | --docdir | --docdi | --doc | --do)
896 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904 -enable-* | --enable-*)
905 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908 as_fn_error $? "invalid feature name: $ac_useropt"
909 ac_useropt_orig=$ac_useropt
910 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916 ac_unrecognized_sep=', ';;
918 eval enable_$ac_useropt=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
933 -help | --help | --hel | --he | -h)
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993 # Obsolete; use --without-fp.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1082 -site=* | --site=* | --sit=*)
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1109 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112 as_fn_error $? "invalid package name: $ac_useropt"
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1122 eval with_$ac_useropt=\$ac_optarg ;;
1124 -without-* | --without-*)
1125 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error $? "invalid package name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1138 eval with_$ac_useropt=no ;;
1141 # Obsolete; use --with-x.
1144 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1145 | --x-incl | --x-inc | --x-in | --x-i)
1146 ac_prev=x_includes ;;
1147 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1148 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1149 x_includes=$ac_optarg ;;
1151 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1152 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1153 ac_prev=x_libraries ;;
1154 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1155 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1156 x_libraries=$ac_optarg ;;
1158 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1159 Try \`$0 --help' for more information"
1163 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1164 # Reject names that are not valid shell variable names.
1165 case $ac_envvar in #(
1166 '' | [0-9]* | *[!_$as_cr_alnum]* )
1167 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1169 eval $ac_envvar=\$ac_optarg
1170 export $ac_envvar ;;
1173 # FIXME: should be removed in autoconf 3.0.
1174 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1183 if test -n "$ac_prev"; then
1184 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1185 as_fn_error $? "missing argument to $ac_option"
1188 if test -n "$ac_unrecognized_opts"; then
1189 case $enable_option_checking in
1191 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196 # Check all directory arguments for consistency.
1197 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198 datadir sysconfdir sharedstatedir localstatedir includedir \
1199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200 libdir localedir mandir
1202 eval ac_val=\$$ac_var
1203 # Remove trailing slashes.
1206 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207 eval $ac_var=\$ac_val;;
1209 # Be sure to have absolute directory names.
1211 [\\/$]* | ?:[\\/]* ) continue;;
1212 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1214 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1222 target=$target_alias
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x; then
1226 if test "x$build_alias" = x; then
1227 cross_compiling=maybe
1228 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1229 If a cross compiler is detected then cross compile mode will be used" >&2
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $? "pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures fuse 2.9.0 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/fuse]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1378 --build=BUILD configure for building on BUILD [guessed]
1379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1380 --target=TARGET configure for building compilers for TARGET [HOST]
1384 if test -n "$ac_init_help"; then
1385 case $ac_init_help in
1386 short | recursive ) echo "Configuration of fuse 2.9.0:";;
1391 --disable-option-checking ignore unrecognized --enable/--with options
1392 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1393 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1394 --enable-silent-rules less verbose build output (undo: `make V=1')
1395 --disable-silent-rules verbose build output (undo: `make V=0')
1396 --enable-shared[=PKGS] build shared libraries [default=yes]
1397 --enable-static[=PKGS] build static libraries [default=yes]
1398 --enable-fast-install[=PKGS]
1399 optimize for fast installation [default=yes]
1400 --disable-dependency-tracking speeds up one-time build
1401 --enable-dependency-tracking do not reject slow dependency extractors
1402 --disable-libtool-lock avoid locking (might break parallel builds)
1403 --enable-lib Compile with library
1404 --enable-util Compile with util
1405 --enable-example Compile with examples
1406 --disable-mtab Disable and ignore usage of /etc/mtab
1407 --disable-rpath do not hardcode runtime library paths
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1412 --with-pic try to use only PIC/non-PIC objects [default=use
1414 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1415 --with-sysroot=DIR Search for dependent libraries within DIR
1416 (or the compiler's sysroot if not specified).
1417 --with-pkgconfigdir=DIR pkgconfig file in DIR [LIBDIR/pkgconfig]
1418 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1419 --with-gnu-ld assume the C compiler uses GNU ld default=no
1420 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1421 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1423 Some influential environment variables:
1424 CC C compiler command
1425 CFLAGS C compiler flags
1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1427 nonstandard directory <lib dir>
1428 LIBS libraries to pass to the linker, e.g. -l<library>
1429 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1430 you have headers in a nonstandard directory <include dir>
1433 Use these variables to override the choices made by `configure' or to help
1434 it to find libraries and programs with nonstandard names/locations.
1436 Report bugs to the package provider.
1441 if test "$ac_init_help" = "recursive"; then
1442 # If there are subdirs, report their specific --help.
1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444 test -d "$ac_dir" ||
1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1466 .) # We are building in place.
1468 ac_top_srcdir=$ac_top_builddir_sub
1469 ac_abs_top_srcdir=$ac_pwd ;;
1470 [\\/]* | ?:[\\/]* ) # Absolute name.
1471 ac_srcdir=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir=$srcdir
1473 ac_abs_top_srcdir=$srcdir ;;
1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" || { ac_status=$?; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 cd "$ac_pwd" || { ac_status=$?; break; }
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1499 fuse configure 2.9.0
1500 generated by GNU Autoconf 2.68
1502 Copyright (C) 2010 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1509 ## ------------------------ ##
1510 ## Autoconf initialization. ##
1511 ## ------------------------ ##
1513 # ac_fn_c_try_compile LINENO
1514 # --------------------------
1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_compile ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 rm -f conftest.$ac_objext
1520 if { { ac_try="$ac_compile"
1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_compile") 2>conftest.err
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } && {
1536 test -z "$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1538 } && test -s conftest.$ac_objext; then :
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 as_fn_set_status $ac_retval
1549 } # ac_fn_c_try_compile
1551 # ac_fn_c_try_link LINENO
1552 # -----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded.
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext conftest$ac_exeext
1558 if { { ac_try="$ac_link"
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_link") 2>conftest.err
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest$ac_exeext && {
1577 test "$cross_compiling" = yes ||
1578 $as_test_x conftest$ac_exeext
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1589 # interfere with the next link command; also delete a directory that is
1590 # left behind by Apple's compiler. We do this before executing the actions.
1591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status $ac_retval
1595 } # ac_fn_c_try_link
1597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists and can be compiled using the include files in
1600 # INCLUDES, setting the cache variable VAR accordingly.
1601 ac_fn_c_check_header_compile ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval \${$3+:} false; then :
1607 $as_echo_n "(cached) " >&6
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1614 if ac_fn_c_try_compile "$LINENO"; then :
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 } # ac_fn_c_check_header_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if { { ac_try="$ac_cpp conftest.$ac_ext"
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } > conftest.i && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_try_run LINENO
1666 # ----------------------
1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1668 # that executables *can* be run.
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 if { { ac_try="$ac_link"
1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_link") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1683 { { case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_try") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; }; }; then :
1695 $as_echo "$as_me: program exited with status $ac_status" >&5
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1699 ac_retval=$ac_status
1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1707 # ac_fn_c_check_func LINENO FUNC VAR
1708 # ----------------------------------
1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1710 ac_fn_c_check_func ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1720 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1722 #define $2 innocuous_$2
1724 /* System header to define __stub macros and hopefully few prototypes,
1725 which can conflict with char $2 (); below.
1726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1727 <limits.h> exists even on freestanding compilers. */
1730 # include <limits.h>
1732 # include <assert.h>
1737 /* Override any GCC internal prototype to avoid an error.
1738 Use char because int might match the return type of a GCC
1739 builtin and then its argument prototype would still apply. */
1744 /* The GNU C library defines this for functions which it implements
1745 to always fail with ENOSYS. Some functions are actually named
1746 something starting with __ and the normal name is an alias. */
1747 #if defined __stub_$2 || defined __stub___$2
1759 if ac_fn_c_try_link "$LINENO"; then :
1764 rm -f core conftest.err conftest.$ac_objext \
1765 conftest$ac_exeext conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 } # ac_fn_c_check_func
1774 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1775 # ----------------------------------------------------
1776 # Tries to find if the field MEMBER exists in type AGGR, after including
1777 # INCLUDES, setting cache variable VAR accordingly.
1778 ac_fn_c_check_member ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1782 $as_echo_n "checking for $2.$3... " >&6; }
1783 if eval \${$4+:} false; then :
1784 $as_echo_n "(cached) " >&6
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1799 if ac_fn_c_try_compile "$LINENO"; then :
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1809 if (sizeof ac_aggr.$3)
1815 if ac_fn_c_try_compile "$LINENO"; then :
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_c_check_member
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1834 It was created by fuse $as_me 2.9.0, which was
1835 generated by GNU Autoconf 2.68. Invocation command line was
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1856 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1857 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1860 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1861 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1862 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 test -z "$as_dir" && as_dir=.
1871 $as_echo "PATH: $as_dir"
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1895 ac_must_keep_next=false
1901 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903 | -silent | --silent | --silen | --sile | --sil)
1906 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1909 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1911 as_fn_append ac_configure_args1 " '$ac_arg'"
1912 if test $ac_must_keep_next = true; then
1913 ac_must_keep_next=false # Got value, back to normal.
1916 *=* | --config-cache | -C | -disable-* | --disable-* \
1917 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919 | -with-* | --with-* | -without-* | --without-* | --x)
1920 case "$ac_configure_args0 " in
1921 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1924 -* ) ac_must_keep_next=true ;;
1927 as_fn_append ac_configure_args " '$ac_arg'"
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log. We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941 # Save into config.log some information that might help in debugging.
1945 $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1949 # The following way of writing the cache mishandles newlines in values,
1951 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952 eval ac_val=\$$ac_var
1956 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1960 _ | IFS | as_nl) ;; #(
1961 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962 *) { eval $ac_var=; unset $ac_var;} ;;
1967 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968 *${as_nl}ac_space=\ *)
1970 "s/'\''/'\''\\\\'\'''\''/g;
1971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1981 $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1985 for ac_var in $ac_subst_vars
1987 eval ac_val=\$$ac_var
1989 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1991 $as_echo "$ac_var='\''$ac_val'\''"
1995 if test -n "$ac_subst_files"; then
1996 $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
2000 for ac_var in $ac_subst_files
2002 eval ac_val=\$$ac_var
2004 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2006 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -s confdefs.h; then
2012 $as_echo "## ----------- ##
2019 test "$ac_signal" != 0 &&
2020 $as_echo "$as_me: caught signal $ac_signal"
2021 $as_echo "$as_me: exit $exit_status"
2023 rm -f core *.core core.conftest.* &&
2024 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2027 for ac_signal in 1 2 13 15; do
2028 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2035 $as_echo "/* confdefs.h */" > confdefs.h
2037 # Predefined preprocessor variables.
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2068 if test -n "$CONFIG_SITE"; then
2069 # We do not want a PATH search for config.site.
2070 case $CONFIG_SITE in #((
2071 -*) ac_site_file1=./$CONFIG_SITE;;
2072 */*) ac_site_file1=$CONFIG_SITE;;
2073 *) ac_site_file1=./$CONFIG_SITE;;
2075 elif test "x$prefix" != xNONE; then
2076 ac_site_file1=$prefix/share/config.site
2077 ac_site_file2=$prefix/etc/config.site
2079 ac_site_file1=$ac_default_prefix/share/config.site
2080 ac_site_file2=$ac_default_prefix/etc/config.site
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2084 test "x$ac_site_file" = xNONE && continue
2085 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088 sed 's/^/| /' "$ac_site_file" >&5
2090 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2097 if test -r "$cache_file"; then
2098 # Some versions of bash will fail to source /dev/null (special files
2099 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2100 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2104 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105 *) . "./$cache_file";;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114 # Check that the precious variables saved in the cache have kept the same
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119 eval ac_new_set=\$ac_env_${ac_var}_set
2120 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121 eval ac_new_val=\$ac_env_${ac_var}_value
2122 case $ac_old_set,$ac_new_set in
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126 ac_cache_corrupted=: ;;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130 ac_cache_corrupted=: ;;
2133 if test "x$ac_old_val" != "x$ac_new_val"; then
2134 # differences in whitespace do not lead to failure.
2135 ac_old_val_w=`echo x $ac_old_val`
2136 ac_new_val_w=`echo x $ac_new_val`
2137 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140 ac_cache_corrupted=:
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144 eval $ac_var=\$ac_old_val
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2147 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2152 # Pass precious variables to config.status.
2153 if test "$ac_new_set" = set; then
2155 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 *) ac_arg=$ac_var=$ac_new_val ;;
2158 case " $ac_configure_args " in
2159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2160 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2164 if $ac_cache_corrupted; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2185 if test -f "$ac_dir/install-sh"; then
2187 ac_install_sh="$ac_aux_dir/install-sh -c"
2189 elif test -f "$ac_dir/install.sh"; then
2191 ac_install_sh="$ac_aux_dir/install.sh -c"
2193 elif test -f "$ac_dir/shtool"; then
2195 ac_install_sh="$ac_aux_dir/shtool install -c"
2199 if test -z "$ac_aux_dir"; then
2200 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2203 # These three variables are undocumented and unsupported,
2204 # and are intended to be withdrawn in a future Autoconf release.
2205 # They can cause serious problems if a builder's source tree is in a directory
2206 # whose full name contains unusual characters.
2207 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2208 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2209 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2212 # Make sure we can run config.sub.
2213 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2214 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2217 $as_echo_n "checking build system type... " >&6; }
2218 if ${ac_cv_build+:} false; then :
2219 $as_echo_n "(cached) " >&6
2221 ac_build_alias=$build_alias
2222 test "x$ac_build_alias" = x &&
2223 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2224 test "x$ac_build_alias" = x &&
2225 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2226 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2231 $as_echo "$ac_cv_build" >&6; }
2232 case $ac_cv_build in
2234 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2237 ac_save_IFS=$IFS; IFS='-'
2243 # Remember, the first character of IFS is used to create $*,
2244 # except with old shells:
2247 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2251 $as_echo_n "checking host system type... " >&6; }
2252 if ${ac_cv_host+:} false; then :
2253 $as_echo_n "(cached) " >&6
2255 if test "x$host_alias" = x; then
2256 ac_cv_host=$ac_cv_build
2258 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2259 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2264 $as_echo "$ac_cv_host" >&6; }
2267 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2270 ac_save_IFS=$IFS; IFS='-'
2276 # Remember, the first character of IFS is used to create $*,
2277 # except with old shells:
2280 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2284 $as_echo_n "checking target system type... " >&6; }
2285 if ${ac_cv_target+:} false; then :
2286 $as_echo_n "(cached) " >&6
2288 if test "x$target_alias" = x; then
2289 ac_cv_target=$ac_cv_host
2291 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2292 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2297 $as_echo "$ac_cv_target" >&6; }
2298 case $ac_cv_target in
2300 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2302 target=$ac_cv_target
2303 ac_save_IFS=$IFS; IFS='-'
2309 # Remember, the first character of IFS is used to create $*,
2310 # except with old shells:
2313 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2316 # The aliases save the names the user supplied, while $host etc.
2317 # will get canonicalized.
2318 test -n "$target_alias" &&
2319 test "$program_prefix$program_suffix$program_transform_name" = \
2321 program_prefix=${target_alias}-
2322 am__api_version='1.11'
2324 # Find a good install program. We prefer a C program (faster),
2325 # so one script is as good as another. But avoid the broken or
2326 # incompatible versions:
2327 # SysV /etc/install, /usr/sbin/install
2328 # SunOS /usr/etc/install
2329 # IRIX /sbin/install
2331 # AmigaOS /C/install, which installs bootblocks on floppy discs
2332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2335 # OS/2's system install, which has a completely different semantic
2336 # ./install, which can be erroneously created by make from ./install.sh.
2337 # Reject install programs that cannot install multiple files.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2340 if test -z "$INSTALL"; then
2341 if ${ac_cv_path_install+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 # Account for people who put trailing slashes in PATH elements.
2350 case $as_dir/ in #((
2351 ./ | .// | /[cC]/* | \
2352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2353 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2356 # OSF1 and SCO ODT 3.0 have their own names for install.
2357 # Don't use installbsd from OSF since it installs stuff as root
2359 for ac_prog in ginstall scoinst install; do
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2362 if test $ac_prog = install &&
2363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2364 # AIX install. It has an incompatible calling convention.
2366 elif test $ac_prog = install &&
2367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2368 # program-specific install script used by HP pwplus--don't use.
2371 rm -rf conftest.one conftest.two conftest.dir
2372 echo one > conftest.one
2373 echo two > conftest.two
2375 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2376 test -s conftest.one && test -s conftest.two &&
2377 test -s conftest.dir/conftest.one &&
2378 test -s conftest.dir/conftest.two
2380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2393 rm -rf conftest.one conftest.two conftest.dir
2396 if test "${ac_cv_path_install+set}" = set; then
2397 INSTALL=$ac_cv_path_install
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for INSTALL within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 INSTALL=$ac_install_sh
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2407 $as_echo "$INSTALL" >&6; }
2409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2410 # It thinks the first close brace ends the variable substitution.
2411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2418 $as_echo_n "checking whether build environment is sane... " >&6; }
2421 echo timestamp > conftest.file
2422 # Reject unsafe characters in $srcdir or the absolute working directory
2423 # name. Accept space and tab only in the latter.
2427 *[\\\"\#\$\&\'\`$am_lf]*)
2428 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2431 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2432 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2435 # Do `set' in a subshell so we don't clobber the current shell's
2436 # arguments. Must try -L first in case configure is actually a
2437 # symlink; some systems play weird games with the mod time of symlinks
2438 # (eg FreeBSD returns the mod time of the symlink's containing
2441 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2442 if test "$*" = "X"; then
2444 set X `ls -t "$srcdir/configure" conftest.file`
2447 if test "$*" != "X $srcdir/configure conftest.file" \
2448 && test "$*" != "X conftest.file $srcdir/configure"; then
2450 # If neither matched, then we have a broken ls. This can happen
2451 # if, for instance, CONFIG_SHELL is bash and it inherits a
2452 # broken ls alias from the environment. This has actually
2453 # happened. Such a system could not be considered "sane".
2454 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2455 alias in your environment" "$LINENO" 5
2458 test "$2" = conftest.file
2464 as_fn_error $? "newly created file is older than distributed files!
2465 Check your system clock" "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468 $as_echo "yes" >&6; }
2469 test "$program_prefix" != NONE &&
2470 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE &&
2473 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2479 # expand $ac_aux_dir to an absolute path
2480 am_aux_dir=`cd $ac_aux_dir && pwd`
2482 if test x"${MISSING+set}" != xset; then
2485 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2487 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2490 # Use eval to expand $SHELL
2491 if eval "$MISSING --run true"; then
2492 am_missing_run="$MISSING --run "
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2496 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2499 if test x"${install_sh}" != xset; then
2502 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2504 install_sh="\${SHELL} $am_aux_dir/install-sh"
2508 # Installed binaries are usually stripped using `strip' when the user
2509 # run `make install-strip'. However `strip' might not be the right
2510 # tool to use in cross-compilation environments, therefore Automake
2511 # will honor the `STRIP' environment variable to overrule this program.
2512 if test "$cross_compiling" != no; then
2513 if test -n "$ac_tool_prefix"; then
2514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2515 set dummy ${ac_tool_prefix}strip; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_STRIP+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$STRIP"; then
2522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 STRIP=$ac_cv_prog_STRIP
2542 if test -n "$STRIP"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2544 $as_echo "$STRIP" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2552 if test -z "$ac_cv_prog_STRIP"; then
2554 # Extract the first word of "strip", so it can be a program name with args.
2555 set dummy strip; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$ac_ct_STRIP"; then
2562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_ac_ct_STRIP="strip"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2582 if test -n "$ac_ct_STRIP"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2584 $as_echo "$ac_ct_STRIP" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2590 if test "x$ac_ct_STRIP" = x; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2597 ac_tool_warned=yes ;;
2602 STRIP="$ac_cv_prog_STRIP"
2606 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2609 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2610 if test -z "$MKDIR_P"; then
2611 if ${ac_cv_path_mkdir+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2618 test -z "$as_dir" && as_dir=.
2619 for ac_prog in mkdir gmkdir; do
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2622 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2623 'mkdir (GNU coreutils) '* | \
2624 'mkdir (coreutils) '* | \
2625 'mkdir (fileutils) '4.1*)
2626 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2636 test -d ./--version && rmdir ./--version
2637 if test "${ac_cv_path_mkdir+set}" = set; then
2638 MKDIR_P="$ac_cv_path_mkdir -p"
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for MKDIR_P within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 MKDIR_P="$ac_install_sh -d"
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2648 $as_echo "$MKDIR_P" >&6; }
2652 [\\/$]* | ?:[\\/]*) ;;
2653 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2656 for ac_prog in gawk mawk nawk awk
2658 # Extract the first word of "$ac_prog", so it can be a program name with args.
2659 set dummy $ac_prog; ac_word=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_AWK+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$AWK"; then
2666 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 ac_cv_prog_AWK="$ac_prog"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$AWK"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2688 $as_echo "$AWK" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2695 test -n "$AWK" && break
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2699 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2702 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2703 $as_echo_n "(cached) " >&6
2705 cat >conftest.make <<\_ACEOF
2708 @echo '@@@%%%=$(MAKE)=@@@%%%'
2710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713 eval ac_cv_prog_make_${ac_make}_set=yes;;
2715 eval ac_cv_prog_make_${ac_make}_set=no;;
2719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2726 SET_MAKE="MAKE=${MAKE-make}"
2729 rm -rf .tst 2>/dev/null
2730 mkdir .tst 2>/dev/null
2731 if test -d .tst; then
2736 rmdir .tst 2>/dev/null
2738 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2739 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2740 # is not polluted with repeated "-I."
2741 am__isrc=' -I$(srcdir)'
2742 # test to see if srcdir already configured
2743 if test -f $srcdir/config.status; then
2744 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2748 # test whether we have cygpath
2749 if test -z "$CYGPATH_W"; then
2750 if (cygpath --version) >/dev/null 2>/dev/null; then
2751 CYGPATH_W='cygpath -w'
2758 # Define the identity of the package.
2763 cat >>confdefs.h <<_ACEOF
2764 #define PACKAGE "$PACKAGE"
2768 cat >>confdefs.h <<_ACEOF
2769 #define VERSION "$VERSION"
2772 # Some tools Automake needs.
2774 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2777 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2780 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2783 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2786 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2788 # We need awk for the "check" target. The system "awk" is bad on
2790 # Always define AMTAR for backward compatibility.
2792 AMTAR=${AMTAR-"${am_missing_run}tar"}
2794 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2800 # Check whether --enable-silent-rules was given.
2801 if test "${enable_silent_rules+set}" = set; then :
2802 enableval=$enable_silent_rules;
2805 case $enable_silent_rules in
2806 yes) AM_DEFAULT_VERBOSITY=0;;
2807 no) AM_DEFAULT_VERBOSITY=1;;
2808 *) AM_DEFAULT_VERBOSITY=0;;
2812 ac_config_headers="$ac_config_headers include/config.h"
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2818 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2824 macro_revision='1.3293'
2838 ltmain="$ac_aux_dir/ltmain.sh"
2840 # Backslashify metacharacters that are still active within
2841 # double-quoted strings.
2842 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2844 # Same as above, but do not quote variable references.
2845 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2847 # Sed substitution to delay expansion of an escaped shell variable in a
2848 # double_quote_subst'ed string.
2849 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2851 # Sed substitution to delay expansion of an escaped single quote.
2852 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2854 # Sed substitution to avoid accidental globbing in evaled expressions
2855 no_glob_subst='s/\*/\\\*/g'
2857 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2858 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2859 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2862 $as_echo_n "checking how to print strings... " >&6; }
2863 # Test print first, because it will be a builtin if present.
2864 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2865 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2867 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2870 # Use this function as a fallback that always works.
2871 func_fallback_echo ()
2873 eval 'cat <<_LTECHO_EOF
2877 ECHO='func_fallback_echo'
2880 # func_echo_all arg...
2881 # Invoke $ECHO with all args, space-separated.
2888 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2889 $as_echo "printf" >&6; } ;;
2890 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2891 $as_echo "print -r" >&6; } ;;
2892 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2893 $as_echo "cat" >&6; } ;;
2909 DEPDIR="${am__leading_dot}deps"
2911 ac_config_commands="$ac_config_commands depfiles"
2914 am_make=${MAKE-make}
2915 cat > confinc << 'END'
2917 @echo this is the am__doit target
2920 # If we don't find an include directive, just comment out the code.
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2922 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2926 # First try GNU make style include.
2927 echo "include confinc" > confmf
2928 # Ignore all kinds of additional output from `make'.
2929 case `$am_make -s -f confmf 2> /dev/null` in #(
2930 *the\ am__doit\ target*)
2936 # Now try BSD make style include.
2937 if test "$am__include" = "#"; then
2938 echo '.include "confinc"' > confmf
2939 case `$am_make -s -f confmf 2> /dev/null` in #(
2940 *the\ am__doit\ target*)
2941 am__include=.include
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2950 $as_echo "$_am_result" >&6; }
2951 rm -f confinc confmf
2953 # Check whether --enable-dependency-tracking was given.
2954 if test "${enable_dependency_tracking+set}" = set; then :
2955 enableval=$enable_dependency_tracking;
2958 if test "x$enable_dependency_tracking" != xno; then
2959 am_depcomp="$ac_aux_dir/depcomp"
2962 if test "x$enable_dependency_tracking" != xno; then
2972 ac_cpp='$CPP $CPPFLAGS'
2973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2976 if test -n "$ac_tool_prefix"; then
2977 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CC+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$CC"; then
2985 ac_cv_prog_CC="$CC" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3015 if test -z "$ac_cv_prog_CC"; then
3017 # Extract the first word of "gcc", so it can be a program name with args.
3018 set dummy gcc; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$ac_ct_CC"; then
3025 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_ac_ct_CC="gcc"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3045 if test -n "$ac_ct_CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047 $as_echo "$ac_ct_CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3053 if test "x$ac_ct_CC" = x; then
3056 case $cross_compiling:$ac_tool_warned in
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3060 ac_tool_warned=yes ;;
3068 if test -z "$CC"; then
3069 if test -n "$ac_tool_prefix"; then
3070 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3071 set dummy ${ac_tool_prefix}cc; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_CC+:} false; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_CC="${ac_tool_prefix}cc"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 if test -n "$CC"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100 $as_echo "$CC" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3109 if test -z "$CC"; then
3110 # Extract the first word of "cc", so it can be a program name with args.
3111 set dummy cc; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3129 ac_prog_rejected=yes
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test $ac_prog_rejected = yes; then
3141 # We found a bogon in the path, so make sure we never use it.
3142 set dummy $ac_cv_prog_CC
3144 if test $# != 0; then
3145 # We chose a different compiler from the bogus one.
3146 # However, it has the same basename, so the bogon will be chosen
3147 # first if we set CC to just the basename; use the full file name.
3149 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3155 if test -n "$CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 $as_echo "$CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3165 if test -z "$CC"; then
3166 if test -n "$ac_tool_prefix"; then
3167 for ac_prog in cl.exe
3169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3170 set dummy $ac_tool_prefix$ac_prog; 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_CC+:} false; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3206 test -n "$CC" && break
3209 if test -z "$CC"; then
3211 for ac_prog in cl.exe
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy $ac_prog; ac_word=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$ac_ct_CC"; then
3221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_ac_ct_CC="$ac_prog"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3241 if test -n "$ac_ct_CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3243 $as_echo "$ac_ct_CC" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3250 test -n "$ac_ct_CC" && break
3253 if test "x$ac_ct_CC" = x; then
3256 case $cross_compiling:$ac_tool_warned in
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3260 ac_tool_warned=yes ;;
3269 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error $? "no acceptable C compiler found in \$PATH
3272 See \`config.log' for more details" "$LINENO" 5; }
3274 # Provide some information about the compiler.
3275 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3278 for ac_option in --version -v -V -qversion; do
3279 { { ac_try="$ac_compiler $ac_option >&5"
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288 if test -s conftest.err; then
3290 ... rest of stderr output deleted ...
3291 10q' conftest.err >conftest.er1
3292 cat conftest.er1 >&5
3294 rm -f conftest.er1 conftest.err
3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296 test $ac_status = 0; }
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3310 ac_clean_files_save=$ac_clean_files
3311 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3312 # Try to create an executable without -o first, disregard a.out.
3313 # It will help us diagnose broken compilers, and finding out an intuition
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3316 $as_echo_n "checking whether the C compiler works... " >&6; }
3317 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319 # The possible output files:
3320 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3323 for ac_file in $ac_files
3326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3327 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3332 if { { ac_try="$ac_link_default"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338 $as_echo "$ac_try_echo"; } >&5
3339 (eval "$ac_link_default") 2>&5
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }; then :
3343 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3344 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3345 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3346 # so that the user can short-circuit this test for compilers unknown to
3348 for ac_file in $ac_files ''
3350 test -f "$ac_file" || continue
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3355 # We found the default executable, but exeext='' is most
3359 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3361 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 # We set ac_cv_exeext here because the later test for it is not
3364 # safe: cross compilers may not add the suffix if given an `-o'
3365 # argument, so we may need to know it at that point already.
3366 # Even if this section looks crufty: it has the advantage of
3373 test "$ac_cv_exeext" = no && ac_cv_exeext=
3378 if test -z "$ac_file"; then :
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3381 $as_echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error 77 "C compiler cannot create executables
3387 See \`config.log' for more details" "$LINENO" 5; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3390 $as_echo "yes" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3393 $as_echo_n "checking for C compiler default output file name... " >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3395 $as_echo "$ac_file" >&6; }
3396 ac_exeext=$ac_cv_exeext
3398 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3399 ac_clean_files=$ac_clean_files_save
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3401 $as_echo_n "checking for suffix of executables... " >&6; }
3402 if { { ac_try="$ac_link"
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_link") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }; then :
3413 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3414 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3415 # work properly (i.e., refer to `conftest.exe'), while it won't with
3417 for ac_file in conftest.exe conftest conftest.*; do
3418 test -f "$ac_file" || continue
3420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3421 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3430 See \`config.log' for more details" "$LINENO" 5; }
3432 rm -f conftest conftest$ac_cv_exeext
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3434 $as_echo "$ac_cv_exeext" >&6; }
3436 rm -f conftest.$ac_ext
3437 EXEEXT=$ac_cv_exeext
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3445 FILE *f = fopen ("conftest.out", "w");
3446 return ferror (f) || fclose (f) != 0;
3452 ac_clean_files="$ac_clean_files conftest.out"
3453 # Check that the compiler produces executables we can run. If not, either
3454 # the compiler is broken, or we cross compile.
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3456 $as_echo_n "checking whether we are cross compiling... " >&6; }
3457 if test "$cross_compiling" != yes; then
3458 { { ac_try="$ac_link"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_link") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }
3469 if { ac_try='./conftest$ac_cv_exeext'
3470 { { case "(($ac_try" in
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476 (eval "$ac_try") 2>&5
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }; }; then
3482 if test "$cross_compiling" = maybe; then
3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 as_fn_error $? "cannot run C compiled programs.
3488 If you meant to cross compile, use \`--host'.
3489 See \`config.log' for more details" "$LINENO" 5; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3494 $as_echo "$cross_compiling" >&6; }
3496 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3497 ac_clean_files=$ac_clean_files_save
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3499 $as_echo_n "checking for suffix of object files... " >&6; }
3500 if ${ac_cv_objext+:} false; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 rm -f conftest.o conftest.obj
3515 if { { ac_try="$ac_compile"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_compile") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 for ac_file in conftest.o conftest.obj conftest.*; do
3527 test -f "$ac_file" || continue;
3529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3530 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 as_fn_error $? "cannot compute suffix of object files: cannot compile
3541 See \`config.log' for more details" "$LINENO" 5; }
3543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3546 $as_echo "$ac_cv_objext" >&6; }
3547 OBJEXT=$ac_cv_objext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3551 if ${ac_cv_c_compiler_gnu+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3578 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3579 if test $ac_compiler_gnu = yes; then
3584 ac_test_CFLAGS=${CFLAGS+set}
3585 ac_save_CFLAGS=$CFLAGS
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3587 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3588 if ${ac_cv_prog_cc_g+:} false; then :
3589 $as_echo_n "(cached) " >&6
3591 ac_save_c_werror_flag=$ac_c_werror_flag
3592 ac_c_werror_flag=yes
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 if ac_fn_c_try_compile "$LINENO"; then :
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3624 ac_c_werror_flag=$ac_save_c_werror_flag
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 if ac_fn_c_try_compile "$LINENO"; then :
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 ac_c_werror_flag=$ac_save_c_werror_flag
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3648 $as_echo "$ac_cv_prog_cc_g" >&6; }
3649 if test "$ac_test_CFLAGS" = set; then
3650 CFLAGS=$ac_save_CFLAGS
3651 elif test $ac_cv_prog_cc_g = yes; then
3652 if test "$GCC" = yes; then
3658 if test "$GCC" = yes; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3665 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3666 if ${ac_cv_prog_cc_c89+:} false; then :
3667 $as_echo_n "(cached) " >&6
3669 ac_cv_prog_cc_c89=no
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3675 #include <sys/types.h>
3676 #include <sys/stat.h>
3677 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3678 struct buf { int x; };
3679 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3680 static char *e (p, i)
3686 static char *f (char * (*g) (char **, int), char **p, ...)
3691 s = g (p, va_arg (v,int));
3696 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3697 function prototypes and stuff, but not '\xHH' hex character constants.
3698 These don't provoke an error unfortunately, instead are silently treated
3699 as 'x'. The following induces an error, until -std is added to get
3700 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3701 array size at least. It's necessary to write '\x00'==0 to get something
3702 that's true only with -std. */
3703 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3705 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3706 inside strings and character constants. */
3708 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3710 int test (int i, double x);
3711 struct s1 {int (*f) (int a);};
3712 struct s2 {int (*f) (double a);};
3713 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3719 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3724 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3725 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3727 CC="$ac_save_CC $ac_arg"
3728 if ac_fn_c_try_compile "$LINENO"; then :
3729 ac_cv_prog_cc_c89=$ac_arg
3731 rm -f core conftest.err conftest.$ac_objext
3732 test "x$ac_cv_prog_cc_c89" != "xno" && break
3734 rm -f conftest.$ac_ext
3739 case "x$ac_cv_prog_cc_c89" in
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3742 $as_echo "none needed" >&6; } ;;
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3745 $as_echo "unsupported" >&6; } ;;
3747 CC="$CC $ac_cv_prog_cc_c89"
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3749 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 if test "x$ac_cv_prog_cc_c89" != xno; then :
3756 ac_cpp='$CPP $CPPFLAGS'
3757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3761 depcc="$CC" am_compiler_list=
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3764 $as_echo_n "checking dependency style of $depcc... " >&6; }
3765 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3769 # We make a subdir and do the tests there. Otherwise we can end up
3770 # making bogus files that we don't know about and never remove. For
3771 # instance it was reported that on HP-UX the gcc test will end up
3772 # making a dummy file named `D' -- because `-MD' means `put the output
3775 # Copy depcomp to subdir because otherwise we won't find it if we're
3776 # using a relative directory.
3777 cp "$am_depcomp" conftest.dir
3779 # We will build objects and dependencies in a subdirectory because
3780 # it helps to detect inapplicable dependency modes. For instance
3781 # both Tru64's cc and ICC support -MD to output dependencies as a
3782 # side effect of compilation, but ICC will put the dependencies in
3783 # the current directory while Tru64 will put them in the object
3787 am_cv_CC_dependencies_compiler_type=none
3788 if test "$am_compiler_list" = ""; then
3789 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3792 case " $depcc " in #(
3793 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3796 for depmode in $am_compiler_list; do
3797 # Setup a source with many dependencies, because some compilers
3798 # like to wrap large dependency lists on column 80 (with \), and
3799 # we should not choose a depcomp mode which is confused by this.
3801 # We need to recreate these files for each test, as the compiler may
3802 # overwrite some of them when testing with obscure command lines.
3803 # This happens at least with the AIX C compiler.
3805 for i in 1 2 3 4 5 6; do
3806 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3807 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3808 # Solaris 8's {/usr,}/bin/sh.
3809 touch sub/conftst$i.h
3811 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3813 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3814 # mode. It turns out that the SunPro C++ compiler does not properly
3815 # handle `-M -o', and we need to detect this. Also, some Intel
3816 # versions had trouble with output in subdirs
3817 am__obj=sub/conftest.${OBJEXT-o}
3818 am__minus_obj="-o $am__obj"
3821 # This depmode causes a compiler race in universal mode.
3822 test "$am__universal" = false || continue
3825 # after this tag, mechanisms are not by side-effect, so they'll
3826 # only be used when explicitly requested
3827 if test "x$enable_dependency_tracking" = xyes; then
3833 msvisualcpp | msvcmsys)
3834 # This compiler won't grok `-c -o', but also, the minuso test has
3835 # not run yet. These depmodes are late enough in the game, and
3836 # so weak that their functioning should not be impacted.
3837 am__obj=conftest.${OBJEXT-o}
3842 if depmode=$depmode \
3843 source=sub/conftest.c object=$am__obj \
3844 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3845 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3846 >/dev/null 2>conftest.err &&
3847 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3848 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3849 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3850 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3851 # icc doesn't choke on unknown options, it will just issue warnings
3852 # or remarks (even with -Werror). So we grep stderr for any message
3853 # that says an option was ignored or not supported.
3854 # When given -MP, icc 7.0 and 7.1 complain thusly:
3855 # icc: Command line warning: ignoring option '-M'; no argument required
3856 # The diagnosis changed in icc 8.0:
3857 # icc: Command line remark: option '-MP' not supported
3858 if (grep 'ignoring option' conftest.err ||
3859 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3860 am_cv_CC_dependencies_compiler_type=$depmode
3869 am_cv_CC_dependencies_compiler_type=none
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3874 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3875 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3878 test "x$enable_dependency_tracking" != xno \
3879 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3881 am__fastdepCC_FALSE='#'
3883 am__fastdepCC_TRUE='#'
3884 am__fastdepCC_FALSE=
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3889 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3890 if ${ac_cv_path_SED+:} false; then :
3891 $as_echo_n "(cached) " >&6
3893 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3894 for ac_i in 1 2 3 4 5 6 7; do
3895 ac_script="$ac_script$as_nl$ac_script"
3897 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3898 { ac_script=; unset ac_script;}
3899 if test -z "$SED"; then
3900 ac_path_SED_found=false
3901 # Loop through the user's path and test for each of PROGNAME-LIST
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir=.
3907 for ac_prog in sed gsed; do
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3910 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3911 # Check for GNU ac_path_SED and select it if it is found.
3912 # Check for GNU $ac_path_SED
3913 case `"$ac_path_SED" --version 2>&1` in
3915 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3918 $as_echo_n 0123456789 >"conftest.in"
3921 cat "conftest.in" "conftest.in" >"conftest.tmp"
3922 mv "conftest.tmp" "conftest.in"
3923 cp "conftest.in" "conftest.nl"
3924 $as_echo '' >> "conftest.nl"
3925 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3926 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3927 as_fn_arith $ac_count + 1 && ac_count=$as_val
3928 if test $ac_count -gt ${ac_path_SED_max-0}; then
3929 # Best one so far, save it but keep looking for a better one
3930 ac_cv_path_SED="$ac_path_SED"
3931 ac_path_SED_max=$ac_count
3933 # 10*(2^10) chars as input seems more than enough
3934 test $ac_count -gt 10 && break
3936 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939 $ac_path_SED_found && break 3
3944 if test -z "$ac_cv_path_SED"; then
3945 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3953 $as_echo "$ac_cv_path_SED" >&6; }
3954 SED="$ac_cv_path_SED"
3957 test -z "$SED" && SED=sed
3958 Xsed="$SED -e 1s/^X//"
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3971 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3972 if ${ac_cv_path_GREP+:} false; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -z "$GREP"; then
3976 ac_path_GREP_found=false
3977 # Loop through the user's path and test for each of PROGNAME-LIST
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3982 test -z "$as_dir" && as_dir=.
3983 for ac_prog in grep ggrep; do
3984 for ac_exec_ext in '' $ac_executable_extensions; do
3985 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3986 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3987 # Check for GNU ac_path_GREP and select it if it is found.
3988 # Check for GNU $ac_path_GREP
3989 case `"$ac_path_GREP" --version 2>&1` in
3991 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3994 $as_echo_n 0123456789 >"conftest.in"
3997 cat "conftest.in" "conftest.in" >"conftest.tmp"
3998 mv "conftest.tmp" "conftest.in"
3999 cp "conftest.in" "conftest.nl"
4000 $as_echo 'GREP' >> "conftest.nl"
4001 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4003 as_fn_arith $ac_count + 1 && ac_count=$as_val
4004 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4005 # Best one so far, save it but keep looking for a better one
4006 ac_cv_path_GREP="$ac_path_GREP"
4007 ac_path_GREP_max=$ac_count
4009 # 10*(2^10) chars as input seems more than enough
4010 test $ac_count -gt 10 && break
4012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4015 $ac_path_GREP_found && break 3
4020 if test -z "$ac_cv_path_GREP"; then
4021 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4024 ac_cv_path_GREP=$GREP
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4029 $as_echo "$ac_cv_path_GREP" >&6; }
4030 GREP="$ac_cv_path_GREP"
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4034 $as_echo_n "checking for egrep... " >&6; }
4035 if ${ac_cv_path_EGREP+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4039 then ac_cv_path_EGREP="$GREP -E"
4041 if test -z "$EGREP"; then
4042 ac_path_EGREP_found=false
4043 # Loop through the user's path and test for each of PROGNAME-LIST
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4048 test -z "$as_dir" && as_dir=.
4049 for ac_prog in egrep; do
4050 for ac_exec_ext in '' $ac_executable_extensions; do
4051 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4052 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4053 # Check for GNU ac_path_EGREP and select it if it is found.
4054 # Check for GNU $ac_path_EGREP
4055 case `"$ac_path_EGREP" --version 2>&1` in
4057 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4060 $as_echo_n 0123456789 >"conftest.in"
4063 cat "conftest.in" "conftest.in" >"conftest.tmp"
4064 mv "conftest.tmp" "conftest.in"
4065 cp "conftest.in" "conftest.nl"
4066 $as_echo 'EGREP' >> "conftest.nl"
4067 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4069 as_fn_arith $ac_count + 1 && ac_count=$as_val
4070 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4071 # Best one so far, save it but keep looking for a better one
4072 ac_cv_path_EGREP="$ac_path_EGREP"
4073 ac_path_EGREP_max=$ac_count
4075 # 10*(2^10) chars as input seems more than enough
4076 test $ac_count -gt 10 && break
4078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4081 $ac_path_EGREP_found && break 3
4086 if test -z "$ac_cv_path_EGREP"; then
4087 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4090 ac_cv_path_EGREP=$EGREP
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4096 $as_echo "$ac_cv_path_EGREP" >&6; }
4097 EGREP="$ac_cv_path_EGREP"
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4101 $as_echo_n "checking for fgrep... " >&6; }
4102 if ${ac_cv_path_FGREP+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4106 then ac_cv_path_FGREP="$GREP -F"
4108 if test -z "$FGREP"; then
4109 ac_path_FGREP_found=false
4110 # Loop through the user's path and test for each of PROGNAME-LIST
4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4115 test -z "$as_dir" && as_dir=.
4116 for ac_prog in fgrep; do
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4119 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4120 # Check for GNU ac_path_FGREP and select it if it is found.
4121 # Check for GNU $ac_path_FGREP
4122 case `"$ac_path_FGREP" --version 2>&1` in
4124 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4127 $as_echo_n 0123456789 >"conftest.in"
4130 cat "conftest.in" "conftest.in" >"conftest.tmp"
4131 mv "conftest.tmp" "conftest.in"
4132 cp "conftest.in" "conftest.nl"
4133 $as_echo 'FGREP' >> "conftest.nl"
4134 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4135 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4136 as_fn_arith $ac_count + 1 && ac_count=$as_val
4137 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4138 # Best one so far, save it but keep looking for a better one
4139 ac_cv_path_FGREP="$ac_path_FGREP"
4140 ac_path_FGREP_max=$ac_count
4142 # 10*(2^10) chars as input seems more than enough
4143 test $ac_count -gt 10 && break
4145 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4148 $ac_path_FGREP_found && break 3
4153 if test -z "$ac_cv_path_FGREP"; then
4154 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4157 ac_cv_path_FGREP=$FGREP
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4163 $as_echo "$ac_cv_path_FGREP" >&6; }
4164 FGREP="$ac_cv_path_FGREP"
4167 test -z "$GREP" && GREP=grep
4187 # Check whether --with-gnu-ld was given.
4188 if test "${with_gnu_ld+set}" = set; then :
4189 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4195 if test "$GCC" = yes; then
4196 # Check if gcc -print-prog-name=ld gives a path.
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4198 $as_echo_n "checking for ld used by $CC... " >&6; }
4201 # gcc leaves a trailing carriage return which upsets mingw
4202 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4204 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4207 # Accept absolute paths.
4209 re_direlt='/[^/][^/]*/\.\./'
4210 # Canonicalize the pathname of ld
4211 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4212 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4213 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4215 test -z "$LD" && LD="$ac_prog"
4218 # If it fails, then pretend we aren't using GCC.
4222 # If it is relative, then search for the first ld in PATH.
4226 elif test "$with_gnu_ld" = yes; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4228 $as_echo_n "checking for GNU ld... " >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4231 $as_echo_n "checking for non-GNU ld... " >&6; }
4233 if ${lt_cv_path_LD+:} false; then :
4234 $as_echo_n "(cached) " >&6
4236 if test -z "$LD"; then
4237 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4238 for ac_dir in $PATH; do
4240 test -z "$ac_dir" && ac_dir=.
4241 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4242 lt_cv_path_LD="$ac_dir/$ac_prog"
4243 # Check to see if the program is GNU ld. I'd rather use --version,
4244 # but apparently some variants of GNU ld only accept -v.
4245 # Break only if it was the GNU/non-GNU ld that we prefer.
4246 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4247 *GNU* | *'with BFD'*)
4248 test "$with_gnu_ld" != no && break
4251 test "$with_gnu_ld" != yes && break
4258 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4263 if test -n "$LD"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4265 $as_echo "$LD" >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4270 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4272 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4273 if ${lt_cv_prog_gnu_ld+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4277 case `$LD -v 2>&1 </dev/null` in
4278 *GNU* | *'with BFD'*)
4279 lt_cv_prog_gnu_ld=yes
4282 lt_cv_prog_gnu_ld=no
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4287 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4288 with_gnu_ld=$lt_cv_prog_gnu_ld
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4299 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4300 if ${lt_cv_path_NM+:} false; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$NM"; then
4304 # Let the user override the test.
4307 lt_nm_to_check="${ac_tool_prefix}nm"
4308 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4309 lt_nm_to_check="$lt_nm_to_check nm"
4311 for lt_tmp_nm in $lt_nm_to_check; do
4312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4313 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4315 test -z "$ac_dir" && ac_dir=.
4316 tmp_nm="$ac_dir/$lt_tmp_nm"
4317 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4318 # Check to see if the nm accepts a BSD-compat flag.
4319 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4320 # nm: unknown option "B" ignored
4321 # Tru64's nm complains that /dev/null is an invalid object file
4322 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4323 */dev/null* | *'Invalid file or object type'*)
4324 lt_cv_path_NM="$tmp_nm -B"
4328 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4330 lt_cv_path_NM="$tmp_nm -p"
4334 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4335 continue # so that we can try to find one that supports BSD flags
4344 : ${lt_cv_path_NM=no}
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4348 $as_echo "$lt_cv_path_NM" >&6; }
4349 if test "$lt_cv_path_NM" != "no"; then
4352 # Didn't find any BSD compatible name lister, look for dumpbin.
4353 if test -n "$DUMPBIN"; then :
4354 # Let the user override the test.
4356 if test -n "$ac_tool_prefix"; then
4357 for ac_prog in dumpbin "link -dump"
4359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if ${ac_cv_prog_DUMPBIN+:} false; then :
4364 $as_echo_n "(cached) " >&6
4366 if test -n "$DUMPBIN"; then
4367 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 DUMPBIN=$ac_cv_prog_DUMPBIN
4387 if test -n "$DUMPBIN"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4389 $as_echo "$DUMPBIN" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 test -n "$DUMPBIN" && break
4399 if test -z "$DUMPBIN"; then
4400 ac_ct_DUMPBIN=$DUMPBIN
4401 for ac_prog in dumpbin "link -dump"
4403 # Extract the first word of "$ac_prog", so it can be a program name with args.
4404 set dummy $ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -n "$ac_ct_DUMPBIN"; then
4411 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4420 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4431 if test -n "$ac_ct_DUMPBIN"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4433 $as_echo "$ac_ct_DUMPBIN" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$ac_ct_DUMPBIN" && break
4443 if test "x$ac_ct_DUMPBIN" = x; then
4446 case $cross_compiling:$ac_tool_warned in
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4450 ac_tool_warned=yes ;;
4452 DUMPBIN=$ac_ct_DUMPBIN
4456 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4458 DUMPBIN="$DUMPBIN -symbols"
4466 if test "$DUMPBIN" != ":"; then
4470 test -z "$NM" && NM=nm
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4478 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4479 if ${lt_cv_nm_interface+:} false; then :
4480 $as_echo_n "(cached) " >&6
4482 lt_cv_nm_interface="BSD nm"
4483 echo "int some_variable = 0;" > conftest.$ac_ext
4484 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4485 (eval "$ac_compile" 2>conftest.err)
4486 cat conftest.err >&5
4487 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4488 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4489 cat conftest.err >&5
4490 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4491 cat conftest.out >&5
4492 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4493 lt_cv_nm_interface="MS dumpbin"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4498 $as_echo "$lt_cv_nm_interface" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4501 $as_echo_n "checking whether ln -s works... " >&6; }
4503 if test "$LN_S" = "ln -s"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4505 $as_echo "yes" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4508 $as_echo "no, using $LN_S" >&6; }
4511 # find the maximum length of command line arguments
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4513 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4514 if ${lt_cv_sys_max_cmd_len+:} false; then :
4515 $as_echo_n "(cached) " >&6
4522 # On DJGPP, this test can blow up pretty badly due to problems in libc
4523 # (any single argument exceeding 2000 bytes causes a buffer overrun
4524 # during glob expansion). Even if it were fixed, the result of this
4525 # check would be larger than it should be.
4526 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4530 # Under GNU Hurd, this test is not required because there is
4531 # no limit to the length of command line arguments.
4532 # Libtool will interpret -1 as no limit whatsoever
4533 lt_cv_sys_max_cmd_len=-1;
4536 cygwin* | mingw* | cegcc*)
4537 # On Win9x/ME, this test blows up -- it succeeds, but takes
4538 # about 5 minutes as the teststring grows exponentially.
4539 # Worse, since 9x/ME are not pre-emptively multitasking,
4540 # you end up with a "frozen" computer, even though with patience
4541 # the test eventually succeeds (with a max line length of 256k).
4542 # Instead, let's just punt: use the minimum linelength reported by
4543 # all of the supported platforms: 8192 (on NT/2K/XP).
4544 lt_cv_sys_max_cmd_len=8192;
4548 # On MiNT this can take a long time and run out of memory.
4549 lt_cv_sys_max_cmd_len=8192;
4553 # On AmigaOS with pdksh, this test takes hours, literally.
4554 # So we just punt and use a minimum line length of 8192.
4555 lt_cv_sys_max_cmd_len=8192;
4558 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4559 # This has been around since 386BSD, at least. Likely further.
4560 if test -x /sbin/sysctl; then
4561 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4562 elif test -x /usr/sbin/sysctl; then
4563 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4565 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4567 # And add a safety zone
4568 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4569 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4573 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4574 lt_cv_sys_max_cmd_len=196608
4578 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4579 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4580 # nice to cause kernel panics so lets avoid the loop below.
4581 # First set a reasonable default.
4582 lt_cv_sys_max_cmd_len=16384
4584 if test -x /sbin/sysconfig; then
4585 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4586 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4591 lt_cv_sys_max_cmd_len=102400
4593 sysv5* | sco5v6* | sysv4.2uw2*)
4594 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4595 if test -n "$kargmax"; then
4596 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4598 lt_cv_sys_max_cmd_len=32768
4602 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4603 if test -n "$lt_cv_sys_max_cmd_len"; then
4604 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4605 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4607 # Make teststring a little bigger before we do anything with it.
4608 # a 1K string should be a reasonable start.
4609 for i in 1 2 3 4 5 6 7 8 ; do
4610 teststring=$teststring$teststring
4612 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4613 # If test is not a shell built-in, we'll probably end up computing a
4614 # maximum length that is only half of the actual maximum length, but
4616 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4617 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4618 test $i != 17 # 1/2 MB should be enough
4621 teststring=$teststring$teststring
4623 # Only check the string length outside the loop.
4624 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4626 # Add a significant safety factor because C++ compilers can tack on
4627 # massive amounts of additional arguments before passing them to the
4628 # linker. It appears as though 1/2 is a usable value.
4629 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4636 if test -n $lt_cv_sys_max_cmd_len ; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4638 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4641 $as_echo "none" >&6; }
4643 max_cmd_len=$lt_cv_sys_max_cmd_len
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4655 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4656 # Try some XSI features
4659 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4661 && eval 'test $(( 1 + 1 )) -eq 2 \
4662 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4665 $as_echo "$xsi_shell" >&6; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4669 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4671 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4673 && lt_shell_append=yes
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4675 $as_echo "$lt_shell_append" >&6; }
4678 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4688 # test EBCDIC or ASCII
4689 case `echo X|tr X '\101'` in
4690 A) # ASCII based system
4691 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4692 lt_SP2NL='tr \040 \012'
4693 lt_NL2SP='tr \015\012 \040\040'
4695 *) # EBCDIC based system
4696 lt_SP2NL='tr \100 \n'
4697 lt_NL2SP='tr \r\n \100\100'
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4710 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4711 if ${lt_cv_to_host_file_cmd+:} false; then :
4712 $as_echo_n "(cached) " >&6
4717 *-*-mingw* ) # actually msys
4718 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4721 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4723 * ) # otherwise, assume *nix
4724 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4730 *-*-mingw* ) # actually msys
4731 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4734 lt_cv_to_host_file_cmd=func_convert_file_noop
4736 * ) # otherwise, assume *nix
4737 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4741 * ) # unhandled hosts (and "normal" native builds)
4742 lt_cv_to_host_file_cmd=func_convert_file_noop
4748 to_host_file_cmd=$lt_cv_to_host_file_cmd
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4750 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4757 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4758 if ${lt_cv_to_tool_file_cmd+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 #assume ordinary cross tools, or native build.
4762 lt_cv_to_tool_file_cmd=func_convert_file_noop
4766 *-*-mingw* ) # actually msys
4767 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4775 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4777 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4784 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4785 if ${lt_cv_ld_reload_flag+:} false; then :
4786 $as_echo_n "(cached) " >&6
4788 lt_cv_ld_reload_flag='-r'
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4791 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4792 reload_flag=$lt_cv_ld_reload_flag
4793 case $reload_flag in
4795 *) reload_flag=" $reload_flag" ;;
4797 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4799 cygwin* | mingw* | pw32* | cegcc*)
4800 if test "$GCC" != yes; then
4805 if test "$GCC" = yes; then
4806 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4823 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if ${ac_cv_prog_OBJDUMP+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$OBJDUMP"; then
4830 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 OBJDUMP=$ac_cv_prog_OBJDUMP
4850 if test -n "$OBJDUMP"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4852 $as_echo "$OBJDUMP" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_OBJDUMP"; then
4861 ac_ct_OBJDUMP=$OBJDUMP
4862 # Extract the first word of "objdump", so it can be a program name with args.
4863 set dummy objdump; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_OBJDUMP"; then
4870 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4890 if test -n "$ac_ct_OBJDUMP"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4892 $as_echo "$ac_ct_OBJDUMP" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_OBJDUMP" = x; then
4901 case $cross_compiling:$ac_tool_warned in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned=yes ;;
4907 OBJDUMP=$ac_ct_OBJDUMP
4910 OBJDUMP="$ac_cv_prog_OBJDUMP"
4913 test -z "$OBJDUMP" && OBJDUMP=objdump
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4924 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4925 if ${lt_cv_deplibs_check_method+:} false; then :
4926 $as_echo_n "(cached) " >&6
4928 lt_cv_file_magic_cmd='$MAGIC_CMD'
4929 lt_cv_file_magic_test_file=
4930 lt_cv_deplibs_check_method='unknown'
4931 # Need to set the preceding variable on all platforms that support
4932 # interlibrary dependencies.
4933 # 'none' -- dependencies not supported.
4934 # `unknown' -- same as none, but documents that we really don't know.
4935 # 'pass_all' -- all dependencies passed with no checks.
4936 # 'test_compile' -- check by making test program.
4937 # 'file_magic [[regex]]' -- check by looking for files in library path
4938 # which responds to the $file_magic_cmd with a given extended regex.
4939 # If you have `file' or equivalent on your system and you're not sure
4940 # whether `pass_all' will *always* work, you probably want this one.
4944 lt_cv_deplibs_check_method=pass_all
4948 lt_cv_deplibs_check_method=pass_all
4952 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4953 lt_cv_file_magic_cmd='/usr/bin/file -L'
4954 lt_cv_file_magic_test_file=/shlib/libc.so
4958 # func_win32_libid is a shell function defined in ltmain.sh
4959 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4960 lt_cv_file_magic_cmd='func_win32_libid'
4964 # Base MSYS/MinGW do not provide the 'file' command needed by
4965 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4966 # unless we find 'file', for example because we are cross-compiling.
4967 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4968 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4969 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4970 lt_cv_file_magic_cmd='func_win32_libid'
4972 # Keep this pattern in sync with the one in func_win32_libid.
4973 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4974 lt_cv_file_magic_cmd='$OBJDUMP -f'
4979 # use the weaker test based on 'objdump'. See mingw*.
4980 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4981 lt_cv_file_magic_cmd='$OBJDUMP -f'
4984 darwin* | rhapsody*)
4985 lt_cv_deplibs_check_method=pass_all
4988 freebsd* | dragonfly*)
4989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4992 # Not sure whether the presence of OpenBSD here was a mistake.
4993 # Let's accept both of them until this is cleared up.
4994 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4995 lt_cv_file_magic_cmd=/usr/bin/file
4996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5000 lt_cv_deplibs_check_method=pass_all
5005 lt_cv_deplibs_check_method=pass_all
5009 lt_cv_deplibs_check_method=pass_all
5012 hpux10.20* | hpux11*)
5013 lt_cv_file_magic_cmd=/usr/bin/file
5016 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5017 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5020 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]'
5021 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5024 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5025 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5031 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5032 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5035 irix5* | irix6* | nonstopux*)
5037 *-32|*"-32 ") libmagic=32-bit;;
5038 *-n32|*"-n32 ") libmagic=N32;;
5039 *-64|*"-64 ") libmagic=64-bit;;
5040 *) libmagic=never-match;;
5042 lt_cv_deplibs_check_method=pass_all
5045 # This must be Linux ELF.
5046 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5047 lt_cv_deplibs_check_method=pass_all
5051 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5059 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5060 lt_cv_file_magic_cmd=/usr/bin/file
5061 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5065 lt_cv_deplibs_check_method=pass_all
5069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5070 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5076 osf3* | osf4* | osf5*)
5077 lt_cv_deplibs_check_method=pass_all
5081 lt_cv_deplibs_check_method=pass_all
5085 lt_cv_deplibs_check_method=pass_all
5088 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5089 lt_cv_deplibs_check_method=pass_all
5093 case $host_vendor in
5095 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]'
5096 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5099 lt_cv_deplibs_check_method=pass_all
5102 lt_cv_file_magic_cmd='/bin/file'
5103 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5106 lt_cv_file_magic_cmd='/bin/file'
5107 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5108 lt_cv_file_magic_test_file=/lib/libc.so
5111 lt_cv_deplibs_check_method=pass_all
5114 lt_cv_deplibs_check_method=pass_all
5120 lt_cv_deplibs_check_method=pass_all
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5126 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5130 if test "$build" = "$host"; then
5133 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5136 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5142 file_magic_cmd=$lt_cv_file_magic_cmd
5143 deplibs_check_method=$lt_cv_deplibs_check_method
5144 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5167 if test -n "$ac_tool_prefix"; then
5168 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5169 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_DLLTOOL+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 if test -n "$DLLTOOL"; then
5176 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 DLLTOOL=$ac_cv_prog_DLLTOOL
5196 if test -n "$DLLTOOL"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5198 $as_echo "$DLLTOOL" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5206 if test -z "$ac_cv_prog_DLLTOOL"; then
5207 ac_ct_DLLTOOL=$DLLTOOL
5208 # Extract the first word of "dlltool", so it can be a program name with args.
5209 set dummy dlltool; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$ac_ct_DLLTOOL"; then
5216 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5236 if test -n "$ac_ct_DLLTOOL"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5238 $as_echo "$ac_ct_DLLTOOL" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5244 if test "x$ac_ct_DLLTOOL" = x; then
5247 case $cross_compiling:$ac_tool_warned in
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned=yes ;;
5253 DLLTOOL=$ac_ct_DLLTOOL
5256 DLLTOOL="$ac_cv_prog_DLLTOOL"
5259 test -z "$DLLTOOL" && DLLTOOL=dlltool
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5271 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5272 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5273 $as_echo_n "(cached) " >&6
5275 lt_cv_sharedlib_from_linklib_cmd='unknown'
5278 cygwin* | mingw* | pw32* | cegcc*)
5279 # two different shell functions defined in ltmain.sh
5280 # decide which to use based on capabilities of $DLLTOOL
5281 case `$DLLTOOL --help 2>&1` in
5282 *--identify-strict*)
5283 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5286 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5291 # fallback: assume linklib IS sharedlib
5292 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5298 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5299 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5300 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5309 if test -n "$ac_tool_prefix"; then
5312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_AR+:} false; then :
5317 $as_echo_n "(cached) " >&6
5319 if test -n "$AR"; then
5320 ac_cv_prog_AR="$AR" # Let the user override the test.
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 if test -n "$AR"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5342 $as_echo "$AR" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$AR" && break
5352 if test -z "$AR"; then
5356 # Extract the first word of "$ac_prog", so it can be a program name with args.
5357 set dummy $ac_prog; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR="$ac_prog"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5386 $as_echo "$ac_ct_AR" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 test -n "$ac_ct_AR" && break
5396 if test "x$ac_ct_AR" = x; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned=yes ;;
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5423 $as_echo_n "checking for archiver @FILE support... " >&6; }
5424 if ${lt_cv_ar_at_file+:} false; then :
5425 $as_echo_n "(cached) " >&6
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5439 if ac_fn_c_try_compile "$LINENO"; then :
5440 echo conftest.$ac_objext > conftest.lst
5441 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5442 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5443 (eval $lt_ar_try) 2>&5
5445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5446 test $ac_status = 0; }
5447 if test "$ac_status" -eq 0; then
5448 # Ensure the archiver fails upon bogus file names.
5449 rm -f conftest.$ac_objext libconftest.a
5450 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5451 (eval $lt_ar_try) 2>&5
5453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5454 test $ac_status = 0; }
5455 if test "$ac_status" -ne 0; then
5459 rm -f conftest.* libconftest.a
5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5466 $as_echo "$lt_cv_ar_at_file" >&6; }
5468 if test "x$lt_cv_ar_at_file" = xno; then
5471 archiver_list_spec=$lt_cv_ar_at_file
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5482 set dummy ${ac_tool_prefix}strip; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_STRIP+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$STRIP"; then
5489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 STRIP=$ac_cv_prog_STRIP
5509 if test -n "$STRIP"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5511 $as_echo "$STRIP" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5519 if test -z "$ac_cv_prog_STRIP"; then
5521 # Extract the first word of "strip", so it can be a program name with args.
5522 set dummy strip; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$ac_ct_STRIP"; then
5529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_ac_ct_STRIP="strip"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5549 if test -n "$ac_ct_STRIP"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5551 $as_echo "$ac_ct_STRIP" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5557 if test "x$ac_ct_STRIP" = x; then
5560 case $cross_compiling:$ac_tool_warned in
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564 ac_tool_warned=yes ;;
5569 STRIP="$ac_cv_prog_STRIP"
5572 test -z "$STRIP" && STRIP=:
5579 if test -n "$ac_tool_prefix"; then
5580 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5581 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_RANLIB+:} false; then :
5585 $as_echo_n "(cached) " >&6
5587 if test -n "$RANLIB"; then
5588 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 RANLIB=$ac_cv_prog_RANLIB
5608 if test -n "$RANLIB"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5610 $as_echo "$RANLIB" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5618 if test -z "$ac_cv_prog_RANLIB"; then
5619 ac_ct_RANLIB=$RANLIB
5620 # Extract the first word of "ranlib", so it can be a program name with args.
5621 set dummy ranlib; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5625 $as_echo_n "(cached) " >&6
5627 if test -n "$ac_ct_RANLIB"; then
5628 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_ac_ct_RANLIB="ranlib"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5648 if test -n "$ac_ct_RANLIB"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5650 $as_echo "$ac_ct_RANLIB" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5656 if test "x$ac_ct_RANLIB" = x; then
5659 case $cross_compiling:$ac_tool_warned in
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5663 ac_tool_warned=yes ;;
5665 RANLIB=$ac_ct_RANLIB
5668 RANLIB="$ac_cv_prog_RANLIB"
5671 test -z "$RANLIB" && RANLIB=:
5678 # Determine commands to create old-style static archives.
5679 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5680 old_postinstall_cmds='chmod 644 $oldlib'
5681 old_postuninstall_cmds=
5683 if test -n "$RANLIB"; then
5686 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5689 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5692 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5697 lock_old_archive_extraction=yes ;;
5699 lock_old_archive_extraction=no ;;
5740 # If no C compiler was specified, use CC.
5743 # If no C compiler flags were specified, use CFLAGS.
5744 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5746 # Allow CC to be a program name with arguments.
5750 # Check for command to grab the raw symbol name followed by C symbol from nm.
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5752 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5753 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5754 $as_echo_n "(cached) " >&6
5757 # These are sane defaults that work on at least a few old systems.
5758 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5760 # Character class describing NM global symbol codes.
5761 symcode='[BCDEGRST]'
5763 # Regexp to match symbols that can be accessed directly from C.
5764 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5766 # Define system-specific variables.
5771 cygwin* | mingw* | pw32* | cegcc*)
5772 symcode='[ABCDGISTW]'
5775 if test "$host_cpu" = ia64; then
5776 symcode='[ABCDEGRST]'
5780 symcode='[BCDEGRST]'
5783 symcode='[BCDEGQRST]'
5794 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5802 # If we're using GNU nm, then use its standard symbol codes.
5803 case `$NM -V 2>&1` in
5804 *GNU* | *'with BFD'*)
5805 symcode='[ABCDGIRSTW]' ;;
5808 # Transform an extracted symbol line into a proper C declaration.
5809 # Some systems (esp. on ia64) link data and code symbols differently,
5810 # so use this general approach.
5811 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5813 # Transform an extracted symbol line into symbol name and symbol address
5814 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5815 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'"
5817 # Handle CRLF in mingw tool chain
5821 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5825 # Try without a prefix underscore, then with it.
5826 for ac_symprfx in "" "_"; do
5828 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5829 symxfrm="\\1 $ac_symprfx\\2 \\2"
5831 # Write the raw and C identifiers.
5832 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5833 # Fake it for dumpbin and say T for any non-static function
5834 # and D for any global variable.
5835 # Also find C++ and __fastcall symbols from MSVC++,
5836 # which start with @ or ?.
5837 lt_cv_sys_global_symbol_pipe="$AWK '"\
5838 " {last_section=section; section=\$ 3};"\
5839 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5840 " \$ 0!~/External *\|/{next};"\
5841 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5842 " {if(hide[section]) next};"\
5843 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5844 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5845 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5846 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5847 " ' prfx=^$ac_symprfx"
5849 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5851 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5853 # Check to see that the pipe works correctly.
5857 cat > conftest.$ac_ext <<_LT_EOF
5862 void nm_test_func(void);
5863 void nm_test_func(void){}
5867 int main(){nm_test_var='a';nm_test_func();return(0);}
5870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5871 (eval $ac_compile) 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874 test $ac_status = 0; }; then
5875 # Now try to grab the symbols.
5877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5878 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5881 test $ac_status = 0; } && test -s "$nlist"; then
5882 # Try sorting and uniquifying the output.
5883 if sort "$nlist" | uniq > "$nlist"T; then
5884 mv -f "$nlist"T "$nlist"
5889 # Make sure that we snagged all the symbols we need.
5890 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5891 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5892 cat <<_LT_EOF > conftest.$ac_ext
5893 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5894 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5895 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5896 relocations are performed -- see ld's documentation on pseudo-relocs. */
5897 # define LT_DLSYM_CONST
5898 #elif defined(__osf__)
5899 /* This system does not cope well with relocations in const data. */
5900 # define LT_DLSYM_CONST
5902 # define LT_DLSYM_CONST const
5910 # Now generate the symbol file.
5911 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5913 cat <<_LT_EOF >> conftest.$ac_ext
5915 /* The mapping between symbol names and symbols. */
5916 LT_DLSYM_CONST struct {
5920 lt__PROGRAM__LTX_preloaded_symbols[] =
5922 { "@PROGRAM@", (void *) 0 },
5924 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5925 cat <<\_LT_EOF >> conftest.$ac_ext
5929 /* This works around a problem in FreeBSD linker */
5930 #ifdef FREEBSD_WORKAROUND
5931 static const void *lt_preloaded_setup() {
5932 return lt__PROGRAM__LTX_preloaded_symbols;
5940 # Now try linking the two files.
5941 mv conftest.$ac_objext conftstm.$ac_objext
5942 lt_globsym_save_LIBS=$LIBS
5943 lt_globsym_save_CFLAGS=$CFLAGS
5944 LIBS="conftstm.$ac_objext"
5945 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5947 (eval $ac_link) 2>&5
5949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5950 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5953 LIBS=$lt_globsym_save_LIBS
5954 CFLAGS=$lt_globsym_save_CFLAGS
5956 echo "cannot find nm_test_func in $nlist" >&5
5959 echo "cannot find nm_test_var in $nlist" >&5
5962 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5965 echo "$progname: failed program was:" >&5
5966 cat conftest.$ac_ext >&5
5968 rm -rf conftest* conftst*
5970 # Do not use the global_symbol_pipe unless it works.
5971 if test "$pipe_works" = yes; then
5974 lt_cv_sys_global_symbol_pipe=
5980 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5981 lt_cv_sys_global_symbol_to_cdecl=
5983 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5985 $as_echo "failed" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5988 $as_echo "ok" >&6; }
5991 # Response file support.
5992 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5993 nm_file_list_spec='@'
5994 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5995 nm_file_list_spec='@'
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6025 $as_echo_n "checking for sysroot... " >&6; }
6027 # Check whether --with-sysroot was given.
6028 if test "${with_sysroot+set}" = set; then :
6029 withval=$with_sysroot;
6036 case ${with_sysroot} in #(
6038 if test "$GCC" = yes; then
6039 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6043 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6049 $as_echo "${with_sysroot}" >&6; }
6050 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6055 $as_echo "${lt_sysroot:-no}" >&6; }
6061 # Check whether --enable-libtool-lock was given.
6062 if test "${enable_libtool_lock+set}" = set; then :
6063 enableval=$enable_libtool_lock;
6066 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6068 # Some flags need to be propagated to the compiler or linker for good
6072 # Find out which ABI we are using.
6073 echo 'int i;' > conftest.$ac_ext
6074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6075 (eval $ac_compile) 2>&5
6077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6078 test $ac_status = 0; }; then
6079 case `/usr/bin/file conftest.$ac_objext` in
6091 # Find out which ABI we are using.
6092 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6094 (eval $ac_compile) 2>&5
6096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 test $ac_status = 0; }; then
6098 if test "$lt_cv_prog_gnu_ld" = yes; then
6099 case `/usr/bin/file conftest.$ac_objext` in
6101 LD="${LD-ld} -melf32bsmip"
6104 LD="${LD-ld} -melf32bmipn32"
6107 LD="${LD-ld} -melf64bmip"
6111 case `/usr/bin/file conftest.$ac_objext` in
6127 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6128 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6129 # Find out which ABI we are using.
6130 echo 'int i;' > conftest.$ac_ext
6131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6132 (eval $ac_compile) 2>&5
6134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6135 test $ac_status = 0; }; then
6136 case `/usr/bin/file conftest.o` in
6139 x86_64-*kfreebsd*-gnu)
6140 LD="${LD-ld} -m elf_i386_fbsd"
6143 LD="${LD-ld} -m elf_i386"
6145 ppc64-*linux*|powerpc64-*linux*)
6146 LD="${LD-ld} -m elf32ppclinux"
6149 LD="${LD-ld} -m elf_s390"
6152 LD="${LD-ld} -m elf32_sparc"
6158 x86_64-*kfreebsd*-gnu)
6159 LD="${LD-ld} -m elf_x86_64_fbsd"
6162 LD="${LD-ld} -m elf_x86_64"
6164 ppc*-*linux*|powerpc*-*linux*)
6165 LD="${LD-ld} -m elf64ppc"
6167 s390*-*linux*|s390*-*tpf*)
6168 LD="${LD-ld} -m elf64_s390"
6171 LD="${LD-ld} -m elf64_sparc"
6181 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6182 SAVE_CFLAGS="$CFLAGS"
6183 CFLAGS="$CFLAGS -belf"
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6185 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6186 if ${lt_cv_cc_needs_belf+:} false; then :
6187 $as_echo_n "(cached) " >&6
6190 ac_cpp='$CPP $CPPFLAGS'
6191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6206 if ac_fn_c_try_link "$LINENO"; then :
6207 lt_cv_cc_needs_belf=yes
6209 lt_cv_cc_needs_belf=no
6211 rm -f core conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6214 ac_cpp='$CPP $CPPFLAGS'
6215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6221 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6222 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6223 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6224 CFLAGS="$SAVE_CFLAGS"
6228 # Find out which ABI we are using.
6229 echo 'int i;' > conftest.$ac_ext
6230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6231 (eval $ac_compile) 2>&5
6233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6234 test $ac_status = 0; }; then
6235 case `/usr/bin/file conftest.o` in
6237 case $lt_cv_prog_gnu_ld in
6238 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6240 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6252 need_locks="$enable_libtool_lock"
6254 if test -n "$ac_tool_prefix"; then
6255 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6256 set dummy ${ac_tool_prefix}mt; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6260 $as_echo_n "(cached) " >&6
6262 if test -n "$MANIFEST_TOOL"; then
6263 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6283 if test -n "$MANIFEST_TOOL"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6285 $as_echo "$MANIFEST_TOOL" >&6; }
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6293 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6294 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6295 # Extract the first word of "mt", so it can be a program name with args.
6296 set dummy mt; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$ac_ct_MANIFEST_TOOL"; then
6303 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6323 if test -n "$ac_ct_MANIFEST_TOOL"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6325 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6331 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6334 case $cross_compiling:$ac_tool_warned in
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6338 ac_tool_warned=yes ;;
6340 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6343 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6346 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6348 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6349 if ${lt_cv_path_mainfest_tool+:} false; then :
6350 $as_echo_n "(cached) " >&6
6352 lt_cv_path_mainfest_tool=no
6353 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6354 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6355 cat conftest.err >&5
6356 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6357 lt_cv_path_mainfest_tool=yes
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6362 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6363 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6373 rhapsody* | darwin*)
6374 if test -n "$ac_tool_prefix"; then
6375 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6376 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6380 $as_echo_n "(cached) " >&6
6382 if test -n "$DSYMUTIL"; then
6383 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6403 if test -n "$DSYMUTIL"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6405 $as_echo "$DSYMUTIL" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408 $as_echo "no" >&6; }
6413 if test -z "$ac_cv_prog_DSYMUTIL"; then
6414 ac_ct_DSYMUTIL=$DSYMUTIL
6415 # Extract the first word of "dsymutil", so it can be a program name with args.
6416 set dummy dsymutil; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6420 $as_echo_n "(cached) " >&6
6422 if test -n "$ac_ct_DSYMUTIL"; then
6423 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6443 if test -n "$ac_ct_DSYMUTIL"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6445 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6451 if test "x$ac_ct_DSYMUTIL" = x; then
6454 case $cross_compiling:$ac_tool_warned in
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6458 ac_tool_warned=yes ;;
6460 DSYMUTIL=$ac_ct_DSYMUTIL
6463 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$NMEDIT"; then
6475 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 NMEDIT=$ac_cv_prog_NMEDIT
6495 if test -n "$NMEDIT"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6497 $as_echo "$NMEDIT" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if test -z "$ac_cv_prog_NMEDIT"; then
6506 ac_ct_NMEDIT=$NMEDIT
6507 # Extract the first word of "nmedit", so it can be a program name with args.
6508 set dummy nmedit; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6512 $as_echo_n "(cached) " >&6
6514 if test -n "$ac_ct_NMEDIT"; then
6515 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6535 if test -n "$ac_ct_NMEDIT"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6537 $as_echo "$ac_ct_NMEDIT" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6543 if test "x$ac_ct_NMEDIT" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6552 NMEDIT=$ac_ct_NMEDIT
6555 NMEDIT="$ac_cv_prog_NMEDIT"
6558 if test -n "$ac_tool_prefix"; then
6559 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_LIPO+:} false; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$LIPO"; then
6567 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 LIPO=$ac_cv_prog_LIPO
6587 if test -n "$LIPO"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6589 $as_echo "$LIPO" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if test -z "$ac_cv_prog_LIPO"; then
6599 # Extract the first word of "lipo", so it can be a program name with args.
6600 set dummy lipo; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6604 $as_echo_n "(cached) " >&6
6606 if test -n "$ac_ct_LIPO"; then
6607 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_ac_ct_LIPO="lipo"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6627 if test -n "$ac_ct_LIPO"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6629 $as_echo "$ac_ct_LIPO" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6635 if test "x$ac_ct_LIPO" = x; then
6638 case $cross_compiling:$ac_tool_warned in
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642 ac_tool_warned=yes ;;
6647 LIPO="$ac_cv_prog_LIPO"
6650 if test -n "$ac_tool_prefix"; then
6651 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6652 set dummy ${ac_tool_prefix}otool; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_OTOOL+:} false; then :
6656 $as_echo_n "(cached) " >&6
6658 if test -n "$OTOOL"; then
6659 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 OTOOL=$ac_cv_prog_OTOOL
6679 if test -n "$OTOOL"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6681 $as_echo "$OTOOL" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6689 if test -z "$ac_cv_prog_OTOOL"; then
6691 # Extract the first word of "otool", so it can be a program name with args.
6692 set dummy otool; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$ac_ct_OTOOL"; then
6699 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_ac_ct_OTOOL="otool"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6719 if test -n "$ac_ct_OTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6721 $as_echo "$ac_ct_OTOOL" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6727 if test "x$ac_ct_OTOOL" = x; then
6730 case $cross_compiling:$ac_tool_warned in
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6739 OTOOL="$ac_cv_prog_OTOOL"
6742 if test -n "$ac_tool_prefix"; then
6743 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6744 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746 $as_echo_n "checking for $ac_word... " >&6; }
6747 if ${ac_cv_prog_OTOOL64+:} false; then :
6748 $as_echo_n "(cached) " >&6
6750 if test -n "$OTOOL64"; then
6751 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 test -z "$as_dir" && as_dir=.
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 OTOOL64=$ac_cv_prog_OTOOL64
6771 if test -n "$OTOOL64"; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6773 $as_echo "$OTOOL64" >&6; }
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 $as_echo "no" >&6; }
6781 if test -z "$ac_cv_prog_OTOOL64"; then
6782 ac_ct_OTOOL64=$OTOOL64
6783 # Extract the first word of "otool64", so it can be a program name with args.
6784 set dummy otool64; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 if test -n "$ac_ct_OTOOL64"; then
6791 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6800 ac_cv_prog_ac_ct_OTOOL64="otool64"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6811 if test -n "$ac_ct_OTOOL64"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6813 $as_echo "$ac_ct_OTOOL64" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6819 if test "x$ac_ct_OTOOL64" = x; then
6822 case $cross_compiling:$ac_tool_warned in
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6828 OTOOL64=$ac_ct_OTOOL64
6831 OTOOL64="$ac_cv_prog_OTOOL64"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6861 $as_echo_n "checking for -single_module linker flag... " >&6; }
6862 if ${lt_cv_apple_cc_single_mod+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 lt_cv_apple_cc_single_mod=no
6866 if test -z "${LT_MULTI_MODULE}"; then
6867 # By default we will add the -single_module flag. You can override
6868 # by either setting the environment variable LT_MULTI_MODULE
6869 # non-empty at configure time, or by adding -multi_module to the
6871 rm -rf libconftest.dylib*
6872 echo "int foo(void){return 1;}" > conftest.c
6873 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6874 -dynamiclib -Wl,-single_module conftest.c" >&5
6875 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6876 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6878 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6879 lt_cv_apple_cc_single_mod=yes
6881 cat conftest.err >&5
6883 rm -rf libconftest.dylib*
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6888 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6890 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6891 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 lt_cv_ld_exported_symbols_list=no
6895 save_LDFLAGS=$LDFLAGS
6896 echo "_main" > conftest.sym
6897 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6909 if ac_fn_c_try_link "$LINENO"; then :
6910 lt_cv_ld_exported_symbols_list=yes
6912 lt_cv_ld_exported_symbols_list=no
6914 rm -f core conftest.err conftest.$ac_objext \
6915 conftest$ac_exeext conftest.$ac_ext
6916 LDFLAGS="$save_LDFLAGS"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6920 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6922 $as_echo_n "checking for -force_load linker flag... " >&6; }
6923 if ${lt_cv_ld_force_load+:} false; then :
6924 $as_echo_n "(cached) " >&6
6926 lt_cv_ld_force_load=no
6927 cat > conftest.c << _LT_EOF
6928 int forced_loaded() { return 2;}
6930 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6931 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6932 echo "$AR cru libconftest.a conftest.o" >&5
6933 $AR cru libconftest.a conftest.o 2>&5
6934 echo "$RANLIB libconftest.a" >&5
6935 $RANLIB libconftest.a 2>&5
6936 cat > conftest.c << _LT_EOF
6937 int main() { return 0;}
6939 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6940 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6942 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6943 lt_cv_ld_force_load=yes
6945 cat conftest.err >&5
6947 rm -f conftest.err libconftest.a conftest conftest.c
6948 rm -rf conftest.dSYM
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6952 $as_echo "$lt_cv_ld_force_load" >&6; }
6954 rhapsody* | darwin1.[012])
6955 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6957 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6958 darwin*) # darwin 5.x on
6959 # if running on 10.5 or later, the deployment target defaults
6960 # to the OS version, if on x86, and 10.4, the deployment
6961 # target defaults to 10.4. Don't you love it?
6962 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6963 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6964 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6966 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6968 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6972 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6973 _lt_dar_single_mod='$single_module'
6975 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6976 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6978 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6980 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6981 _lt_dsymutil='~$DSYMUTIL $lib || :'
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6994 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6995 # On Suns, sometimes $CPP names a directory.
6996 if test -n "$CPP" && test -d "$CPP"; then
6999 if test -z "$CPP"; then
7000 if ${ac_cv_prog_CPP+:} false; then :
7001 $as_echo_n "(cached) " >&6
7003 # Double quotes because CPP needs to be expanded
7004 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7007 for ac_c_preproc_warn_flag in '' yes
7009 # Use a header file that comes with gcc, so configuring glibc
7010 # with a fresh cross-compiler works.
7011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7012 # <limits.h> exists even on freestanding compilers.
7013 # On the NeXT, cc -E runs the code through the compiler's parser,
7014 # not just through cpp. "Syntax error" is here to catch this case.
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7018 # include <limits.h>
7020 # include <assert.h>
7024 if ac_fn_c_try_cpp "$LINENO"; then :
7027 # Broken: fails on valid input.
7030 rm -f conftest.err conftest.i conftest.$ac_ext
7032 # OK, works on sane cases. Now check whether nonexistent headers
7033 # can be detected and how.
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <ac_nonexistent.h>
7038 if ac_fn_c_try_cpp "$LINENO"; then :
7039 # Broken: success on invalid input.
7042 # Passes both tests.
7046 rm -f conftest.err conftest.i conftest.$ac_ext
7049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7050 rm -f conftest.i conftest.err conftest.$ac_ext
7051 if $ac_preproc_ok; then :
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7064 $as_echo "$CPP" >&6; }
7066 for ac_c_preproc_warn_flag in '' yes
7068 # Use a header file that comes with gcc, so configuring glibc
7069 # with a fresh cross-compiler works.
7070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7071 # <limits.h> exists even on freestanding compilers.
7072 # On the NeXT, cc -E runs the code through the compiler's parser,
7073 # not just through cpp. "Syntax error" is here to catch this case.
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7077 # include <limits.h>
7079 # include <assert.h>
7083 if ac_fn_c_try_cpp "$LINENO"; then :
7086 # Broken: fails on valid input.
7089 rm -f conftest.err conftest.i conftest.$ac_ext
7091 # OK, works on sane cases. Now check whether nonexistent headers
7092 # can be detected and how.
7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7095 #include <ac_nonexistent.h>
7097 if ac_fn_c_try_cpp "$LINENO"; then :
7098 # Broken: success on invalid input.
7101 # Passes both tests.
7105 rm -f conftest.err conftest.i conftest.$ac_ext
7108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7109 rm -f conftest.i conftest.err conftest.$ac_ext
7110 if $ac_preproc_ok; then :
7113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7115 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7116 See \`config.log' for more details" "$LINENO" 5; }
7120 ac_cpp='$CPP $CPPFLAGS'
7121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7127 $as_echo_n "checking for ANSI C header files... " >&6; }
7128 if ${ac_cv_header_stdc+:} false; then :
7129 $as_echo_n "(cached) " >&6
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147 ac_cv_header_stdc=yes
7149 ac_cv_header_stdc=no
7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 if test $ac_cv_header_stdc = yes; then
7154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7161 $EGREP "memchr" >/dev/null 2>&1; then :
7164 ac_cv_header_stdc=no
7170 if test $ac_cv_header_stdc = yes; then
7171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7178 $EGREP "free" >/dev/null 2>&1; then :
7181 ac_cv_header_stdc=no
7187 if test $ac_cv_header_stdc = yes; then
7188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7189 if test "$cross_compiling" = yes; then :
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 #if ((' ' & 0x0FF) == 0x020)
7197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7200 # define ISLOWER(c) \
7201 (('a' <= (c) && (c) <= 'i') \
7202 || ('j' <= (c) && (c) <= 'r') \
7203 || ('s' <= (c) && (c) <= 'z'))
7204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7212 for (i = 0; i < 256; i++)
7213 if (XOR (islower (i), ISLOWER (i))
7214 || toupper (i) != TOUPPER (i))
7219 if ac_fn_c_try_run "$LINENO"; then :
7222 ac_cv_header_stdc=no
7224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7225 conftest.$ac_objext conftest.beam conftest.$ac_ext
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7231 $as_echo "$ac_cv_header_stdc" >&6; }
7232 if test $ac_cv_header_stdc = yes; then
7234 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7238 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7239 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7240 inttypes.h stdint.h unistd.h
7242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7245 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7246 cat >>confdefs.h <<_ACEOF
7247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7255 for ac_header in dlfcn.h
7257 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7259 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7260 cat >>confdefs.h <<_ACEOF
7261 #define HAVE_DLFCN_H 1
7282 # Check whether --enable-shared was given.
7283 if test "${enable_shared+set}" = set; then :
7284 enableval=$enable_shared; p=${PACKAGE-default}
7286 yes) enable_shared=yes ;;
7287 no) enable_shared=no ;;
7290 # Look at the argument we got. We use all the common list separators.
7291 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7292 for pkg in $enableval; do
7294 if test "X$pkg" = "X$p"; then
7313 # Check whether --enable-static was given.
7314 if test "${enable_static+set}" = set; then :
7315 enableval=$enable_static; p=${PACKAGE-default}
7317 yes) enable_static=yes ;;
7318 no) enable_static=no ;;
7321 # Look at the argument we got. We use all the common list separators.
7322 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7323 for pkg in $enableval; do
7325 if test "X$pkg" = "X$p"; then
7345 # Check whether --with-pic was given.
7346 if test "${with_pic+set}" = set; then :
7347 withval=$with_pic; pic_mode="$withval"
7353 test -z "$pic_mode" && pic_mode=default
7361 # Check whether --enable-fast-install was given.
7362 if test "${enable_fast_install+set}" = set; then :
7363 enableval=$enable_fast_install; p=${PACKAGE-default}
7365 yes) enable_fast_install=yes ;;
7366 no) enable_fast_install=no ;;
7368 enable_fast_install=no
7369 # Look at the argument we got. We use all the common list separators.
7370 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7371 for pkg in $enableval; do
7373 if test "X$pkg" = "X$p"; then
7374 enable_fast_install=yes
7381 enable_fast_install=yes
7394 # This can be used to rebuild libtool when needed
7395 LIBTOOL_DEPS="$ltmain"
7397 # Always use our own libtool.
7398 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7425 test -z "$LN_S" && LN_S="ln -s"
7440 if test -n "${ZSH_VERSION+set}" ; then
7441 setopt NO_GLOB_SUBST
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7445 $as_echo_n "checking for objdir... " >&6; }
7446 if ${lt_cv_objdir+:} false; then :
7447 $as_echo_n "(cached) " >&6
7449 rm -f .libs 2>/dev/null
7450 mkdir .libs 2>/dev/null
7451 if test -d .libs; then
7454 # MS-DOS does not allow filenames that begin with a dot.
7457 rmdir .libs 2>/dev/null
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7460 $as_echo "$lt_cv_objdir" >&6; }
7461 objdir=$lt_cv_objdir
7467 cat >>confdefs.h <<_ACEOF
7468 #define LT_OBJDIR "$lt_cv_objdir/"
7476 # AIX sometimes has problems with the GCC collect2 program. For some
7477 # reason, if we set the COLLECT_NAMES environment variable, the problems
7478 # vanish in a puff of smoke.
7479 if test "X${COLLECT_NAMES+set}" != Xset; then
7481 export COLLECT_NAMES
7488 can_build_shared=yes
7490 # All known linkers require a `.a' archive for static linking (except MSVC,
7491 # which needs '.lib').
7494 with_gnu_ld="$lt_cv_prog_gnu_ld"
7497 old_CFLAGS="$CFLAGS"
7499 # Set sane defaults for various variables
7500 test -z "$CC" && CC=cc
7501 test -z "$LTCC" && LTCC=$CC
7502 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7503 test -z "$LD" && LD=ld
7504 test -z "$ac_objext" && ac_objext=o
7506 for cc_temp in $compiler""; do
7508 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7509 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7514 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7517 # Only perform the check for file, if the check method requires it
7518 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7519 case $deplibs_check_method in
7521 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7523 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7524 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7525 $as_echo_n "(cached) " >&6
7529 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7532 lt_save_MAGIC_CMD="$MAGIC_CMD"
7533 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7534 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7535 for ac_dir in $ac_dummy; do
7537 test -z "$ac_dir" && ac_dir=.
7538 if test -f $ac_dir/${ac_tool_prefix}file; then
7539 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7540 if test -n "$file_magic_test_file"; then
7541 case $deplibs_check_method in
7543 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7544 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7545 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7546 $EGREP "$file_magic_regex" > /dev/null; then
7551 *** Warning: the command libtool uses to detect shared libraries,
7552 *** $file_magic_cmd, produces output that libtool cannot recognize.
7553 *** The result is that libtool may fail to recognize shared libraries
7554 *** as such. This will affect the creation of libtool libraries that
7555 *** depend on shared libraries, but programs linked with such libtool
7556 *** libraries will work regardless of this problem. Nevertheless, you
7557 *** may want to report the problem to your system manager and/or to
7558 *** bug-libtool@gnu.org
7568 MAGIC_CMD="$lt_save_MAGIC_CMD"
7573 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7574 if test -n "$MAGIC_CMD"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7576 $as_echo "$MAGIC_CMD" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7586 if test -z "$lt_cv_path_MAGIC_CMD"; then
7587 if test -n "$ac_tool_prefix"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7589 $as_echo_n "checking for file... " >&6; }
7590 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7591 $as_echo_n "(cached) " >&6
7595 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7598 lt_save_MAGIC_CMD="$MAGIC_CMD"
7599 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7600 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7601 for ac_dir in $ac_dummy; do
7603 test -z "$ac_dir" && ac_dir=.
7604 if test -f $ac_dir/file; then
7605 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7606 if test -n "$file_magic_test_file"; then
7607 case $deplibs_check_method in
7609 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7610 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7611 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7612 $EGREP "$file_magic_regex" > /dev/null; then
7617 *** Warning: the command libtool uses to detect shared libraries,
7618 *** $file_magic_cmd, produces output that libtool cannot recognize.
7619 *** The result is that libtool may fail to recognize shared libraries
7620 *** as such. This will affect the creation of libtool libraries that
7621 *** depend on shared libraries, but programs linked with such libtool
7622 *** libraries will work regardless of this problem. Nevertheless, you
7623 *** may want to report the problem to your system manager and/or to
7624 *** bug-libtool@gnu.org
7634 MAGIC_CMD="$lt_save_MAGIC_CMD"
7639 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7640 if test -n "$MAGIC_CMD"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7642 $as_echo "$MAGIC_CMD" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7658 # Use C for the default configuration in the libtool script
7662 ac_cpp='$CPP $CPPFLAGS'
7663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7668 # Source file extension for C test sources.
7671 # Object file extension for compiled C test sources.
7675 # Code to be used in simple compile tests
7676 lt_simple_compile_test_code="int some_variable = 0;"
7678 # Code to be used in simple link tests
7679 lt_simple_link_test_code='int main(){return(0);}'
7687 # If no C compiler was specified, use CC.
7690 # If no C compiler flags were specified, use CFLAGS.
7691 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7693 # Allow CC to be a program name with arguments.
7696 # Save the default compiler, since it gets overwritten when the other
7697 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7698 compiler_DEFAULT=$CC
7700 # save warnings/boilerplate of simple test code
7701 ac_outfile=conftest.$ac_objext
7702 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7703 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7704 _lt_compiler_boilerplate=`cat conftest.err`
7707 ac_outfile=conftest.$ac_objext
7708 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7709 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7710 _lt_linker_boilerplate=`cat conftest.err`
7715 ## There is no encapsulation within the following macros, do not change
7716 ## the running order or otherwise move them around unless you know exactly
7717 ## what you are doing...
7718 if test -n "$compiler"; then
7720 lt_prog_compiler_no_builtin_flag=
7722 if test "$GCC" = yes; then
7723 case $cc_basename in
7725 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7727 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7731 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7732 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7733 $as_echo_n "(cached) " >&6
7735 lt_cv_prog_compiler_rtti_exceptions=no
7736 ac_outfile=conftest.$ac_objext
7737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7738 lt_compiler_flag="-fno-rtti -fno-exceptions"
7739 # Insert the option either (1) after the last *FLAGS variable, or
7740 # (2) before a word containing "conftest.", or (3) at the end.
7741 # Note that $ac_compile itself does not contain backslashes and begins
7742 # with a dollar sign (not a hyphen), so the echo should work correctly.
7743 # The option is referenced via a variable to avoid confusing sed.
7744 lt_compile=`echo "$ac_compile" | $SED \
7745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7747 -e 's:$: $lt_compiler_flag:'`
7748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7749 (eval "$lt_compile" 2>conftest.err)
7751 cat conftest.err >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 if (exit $ac_status) && test -s "$ac_outfile"; then
7754 # The compiler can only warn and ignore the option if not recognized
7755 # So say no if there are warnings other than the usual output.
7756 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7757 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7758 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7759 lt_cv_prog_compiler_rtti_exceptions=yes
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7766 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7768 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7769 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7781 lt_prog_compiler_wl=
7782 lt_prog_compiler_pic=
7783 lt_prog_compiler_static=
7786 if test "$GCC" = yes; then
7787 lt_prog_compiler_wl='-Wl,'
7788 lt_prog_compiler_static='-static'
7792 # All AIX code is PIC.
7793 if test "$host_cpu" = ia64; then
7794 # AIX 5 now supports IA64 processor
7795 lt_prog_compiler_static='-Bstatic'
7802 # see comment about AmigaOS4 .so support
7803 lt_prog_compiler_pic='-fPIC'
7806 # FIXME: we need at least 68020 code to build shared libraries, but
7807 # adding the `-m68020' flag to GCC prevents building anything better,
7809 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7814 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7815 # PIC is the default for these OSes.
7818 mingw* | cygwin* | pw32* | os2* | cegcc*)
7819 # This hack is so that the source file can tell whether it is being
7820 # built for inclusion in a dll (and should export symbols for example).
7821 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7822 # (--disable-auto-import) libraries
7823 lt_prog_compiler_pic='-DDLL_EXPORT'
7826 darwin* | rhapsody*)
7827 # PIC is the default on this platform
7828 # Common symbols not allowed in MH_DYLIB files
7829 lt_prog_compiler_pic='-fno-common'
7833 # PIC is the default for Haiku.
7834 # The "-static" flag exists, but is broken.
7835 lt_prog_compiler_static=
7839 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7840 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7841 # sets the default TLS model and affects inlining.
7847 lt_prog_compiler_pic='-fPIC'
7853 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7854 # Instead, we relocate shared libraries at runtime.
7858 # Just because we use GCC doesn't mean we suddenly get shared libraries
7859 # on systems that don't support them.
7860 lt_prog_compiler_can_build_shared=no
7865 # QNX uses GNU C++, but need to define -shared option too, otherwise
7867 lt_prog_compiler_pic='-fPIC -shared'
7871 if test -d /usr/nec; then
7872 lt_prog_compiler_pic=-Kconform_pic
7877 lt_prog_compiler_pic='-fPIC'
7881 case $cc_basename in
7882 nvcc*) # Cuda Compiler Driver 2.2
7883 lt_prog_compiler_wl='-Xlinker '
7884 lt_prog_compiler_pic='-Xcompiler -fPIC'
7888 # PORTME Check for flag to pass linker flags through the system compiler.
7891 lt_prog_compiler_wl='-Wl,'
7892 if test "$host_cpu" = ia64; then
7893 # AIX 5 now supports IA64 processor
7894 lt_prog_compiler_static='-Bstatic'
7896 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7900 mingw* | cygwin* | pw32* | os2* | cegcc*)
7901 # This hack is so that the source file can tell whether it is being
7902 # built for inclusion in a dll (and should export symbols for example).
7903 lt_prog_compiler_pic='-DDLL_EXPORT'
7906 hpux9* | hpux10* | hpux11*)
7907 lt_prog_compiler_wl='-Wl,'
7908 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7915 lt_prog_compiler_pic='+Z'
7918 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7919 lt_prog_compiler_static='${wl}-a ${wl}archive'
7922 irix5* | irix6* | nonstopux*)
7923 lt_prog_compiler_wl='-Wl,'
7924 # PIC (with -KPIC) is the default.
7925 lt_prog_compiler_static='-non_shared'
7928 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7929 case $cc_basename in
7930 # old Intel for x86_64 which still supported -KPIC.
7932 lt_prog_compiler_wl='-Wl,'
7933 lt_prog_compiler_pic='-KPIC'
7934 lt_prog_compiler_static='-static'
7936 # icc used to be incompatible with GCC.
7937 # ICC 10 doesn't accept -KPIC any more.
7939 lt_prog_compiler_wl='-Wl,'
7940 lt_prog_compiler_pic='-fPIC'
7941 lt_prog_compiler_static='-static'
7943 # Lahey Fortran 8.1.
7945 lt_prog_compiler_wl='-Wl,'
7946 lt_prog_compiler_pic='--shared'
7947 lt_prog_compiler_static='--static'
7950 # NAG Fortran compiler
7951 lt_prog_compiler_wl='-Wl,-Wl,,'
7952 lt_prog_compiler_pic='-PIC'
7953 lt_prog_compiler_static='-Bstatic'
7955 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7956 # Portland Group compilers (*not* the Pentium gcc compiler,
7957 # which looks to be a dead project)
7958 lt_prog_compiler_wl='-Wl,'
7959 lt_prog_compiler_pic='-fpic'
7960 lt_prog_compiler_static='-Bstatic'
7963 lt_prog_compiler_wl='-Wl,'
7964 # All Alpha code is PIC.
7965 lt_prog_compiler_static='-non_shared'
7967 xl* | bgxl* | bgf* | mpixl*)
7968 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7969 lt_prog_compiler_wl='-Wl,'
7970 lt_prog_compiler_pic='-qpic'
7971 lt_prog_compiler_static='-qstaticlink'
7974 case `$CC -V 2>&1 | sed 5q` in
7975 *Sun\ F* | *Sun*Fortran*)
7976 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7977 lt_prog_compiler_pic='-KPIC'
7978 lt_prog_compiler_static='-Bstatic'
7979 lt_prog_compiler_wl=''
7983 lt_prog_compiler_pic='-KPIC'
7984 lt_prog_compiler_static='-Bstatic'
7985 lt_prog_compiler_wl='-Wl,'
7993 lt_prog_compiler_pic='-KPIC'
7994 lt_prog_compiler_static='-Bstatic'
7998 # QNX uses GNU C++, but need to define -shared option too, otherwise
8000 lt_prog_compiler_pic='-fPIC -shared'
8003 osf3* | osf4* | osf5*)
8004 lt_prog_compiler_wl='-Wl,'
8005 # All OSF/1 code is PIC.
8006 lt_prog_compiler_static='-non_shared'
8010 lt_prog_compiler_static='-non_shared'
8014 lt_prog_compiler_pic='-KPIC'
8015 lt_prog_compiler_static='-Bstatic'
8016 case $cc_basename in
8017 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8018 lt_prog_compiler_wl='-Qoption ld ';;
8020 lt_prog_compiler_wl='-Wl,';;
8025 lt_prog_compiler_wl='-Qoption ld '
8026 lt_prog_compiler_pic='-PIC'
8027 lt_prog_compiler_static='-Bstatic'
8030 sysv4 | sysv4.2uw2* | sysv4.3*)
8031 lt_prog_compiler_wl='-Wl,'
8032 lt_prog_compiler_pic='-KPIC'
8033 lt_prog_compiler_static='-Bstatic'
8037 if test -d /usr/nec ;then
8038 lt_prog_compiler_pic='-Kconform_pic'
8039 lt_prog_compiler_static='-Bstatic'
8043 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8044 lt_prog_compiler_wl='-Wl,'
8045 lt_prog_compiler_pic='-KPIC'
8046 lt_prog_compiler_static='-Bstatic'
8050 lt_prog_compiler_wl='-Wl,'
8051 lt_prog_compiler_can_build_shared=no
8055 lt_prog_compiler_pic='-pic'
8056 lt_prog_compiler_static='-Bstatic'
8060 lt_prog_compiler_can_build_shared=no
8066 # For platforms which do not support PIC, -DPIC is meaningless:
8068 lt_prog_compiler_pic=
8071 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8076 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8077 if ${lt_cv_prog_compiler_pic+:} false; then :
8078 $as_echo_n "(cached) " >&6
8080 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8083 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8084 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8087 # Check to make sure the PIC flag actually works.
8089 if test -n "$lt_prog_compiler_pic"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8091 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8092 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8093 $as_echo_n "(cached) " >&6
8095 lt_cv_prog_compiler_pic_works=no
8096 ac_outfile=conftest.$ac_objext
8097 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8098 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8099 # Insert the option either (1) after the last *FLAGS variable, or
8100 # (2) before a word containing "conftest.", or (3) at the end.
8101 # Note that $ac_compile itself does not contain backslashes and begins
8102 # with a dollar sign (not a hyphen), so the echo should work correctly.
8103 # The option is referenced via a variable to avoid confusing sed.
8104 lt_compile=`echo "$ac_compile" | $SED \
8105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8107 -e 's:$: $lt_compiler_flag:'`
8108 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8109 (eval "$lt_compile" 2>conftest.err)
8111 cat conftest.err >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 if (exit $ac_status) && test -s "$ac_outfile"; then
8114 # The compiler can only warn and ignore the option if not recognized
8115 # So say no if there are warnings other than the usual output.
8116 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8117 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8118 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8119 lt_cv_prog_compiler_pic_works=yes
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8126 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8128 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8129 case $lt_prog_compiler_pic in
8131 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8134 lt_prog_compiler_pic=
8135 lt_prog_compiler_can_build_shared=no
8151 # Check to make sure the static flag actually works.
8153 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8155 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8156 if ${lt_cv_prog_compiler_static_works+:} false; then :
8157 $as_echo_n "(cached) " >&6
8159 lt_cv_prog_compiler_static_works=no
8160 save_LDFLAGS="$LDFLAGS"
8161 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8162 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8163 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8164 # The linker can only warn and ignore the option if not recognized
8165 # So say no if there are warnings
8166 if test -s conftest.err; then
8167 # Append any errors to the config.log.
8168 cat conftest.err 1>&5
8169 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8170 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8171 if diff conftest.exp conftest.er2 >/dev/null; then
8172 lt_cv_prog_compiler_static_works=yes
8175 lt_cv_prog_compiler_static_works=yes
8179 LDFLAGS="$save_LDFLAGS"
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8183 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8185 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8188 lt_prog_compiler_static=
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8198 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8199 if ${lt_cv_prog_compiler_c_o+:} false; then :
8200 $as_echo_n "(cached) " >&6
8202 lt_cv_prog_compiler_c_o=no
8203 $RM -r conftest 2>/dev/null
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8209 lt_compiler_flag="-o out/conftest2.$ac_objext"
8210 # Insert the option either (1) after the last *FLAGS variable, or
8211 # (2) before a word containing "conftest.", or (3) at the end.
8212 # Note that $ac_compile itself does not contain backslashes and begins
8213 # with a dollar sign (not a hyphen), so the echo should work correctly.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>out/conftest.err)
8221 cat out/conftest.err >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8225 # The compiler can only warn and ignore the option if not recognized
8226 # So say no if there are warnings
8227 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8228 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8229 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8230 lt_cv_prog_compiler_c_o=yes
8235 # SGI C++ compiler will create directory out/ii_files/ for
8236 # template instantiation
8237 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8238 $RM out/* && rmdir out
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8245 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8254 if ${lt_cv_prog_compiler_c_o+:} false; then :
8255 $as_echo_n "(cached) " >&6
8257 lt_cv_prog_compiler_c_o=no
8258 $RM -r conftest 2>/dev/null
8262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8264 lt_compiler_flag="-o out/conftest2.$ac_objext"
8265 # Insert the option either (1) after the last *FLAGS variable, or
8266 # (2) before a word containing "conftest.", or (3) at the end.
8267 # Note that $ac_compile itself does not contain backslashes and begins
8268 # with a dollar sign (not a hyphen), so the echo should work correctly.
8269 lt_compile=`echo "$ac_compile" | $SED \
8270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8272 -e 's:$: $lt_compiler_flag:'`
8273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8274 (eval "$lt_compile" 2>out/conftest.err)
8276 cat out/conftest.err >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8280 # The compiler can only warn and ignore the option if not recognized
8281 # So say no if there are warnings
8282 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8283 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8284 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8285 lt_cv_prog_compiler_c_o=yes
8290 # SGI C++ compiler will create directory out/ii_files/ for
8291 # template instantiation
8292 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8293 $RM out/* && rmdir out
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8300 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8305 hard_links="nottested"
8306 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8307 # do not overwrite the value of need_locks provided by the user
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8309 $as_echo_n "checking if we can lock with hard links... " >&6; }
8312 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8314 ln conftest.a conftest.b 2>&5 || hard_links=no
8315 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8317 $as_echo "$hard_links" >&6; }
8318 if test "$hard_links" = no; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8320 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8333 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8336 allow_undefined_flag=
8337 always_export_symbols=no
8339 archive_expsym_cmds=
8340 compiler_needs_object=no
8341 enable_shared_with_static_runtimes=no
8342 export_dynamic_flag_spec=
8343 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8344 hardcode_automatic=no
8346 hardcode_direct_absolute=no
8347 hardcode_libdir_flag_spec=
8348 hardcode_libdir_flag_spec_ld=
8349 hardcode_libdir_separator=
8351 hardcode_shlibpath_var=unsupported
8353 link_all_deplibs=unknown
8356 old_archive_from_new_cmds=
8357 old_archive_from_expsyms_cmds=
8358 thread_safe_flag_spec=
8359 whole_archive_flag_spec=
8360 # include_expsyms should be a list of space-separated symbols to be *always*
8361 # included in the symbol list
8363 # exclude_expsyms can be an extended regexp of symbols to exclude
8364 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8365 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8366 # as well as any symbol that contains `d'.
8367 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8368 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8369 # platforms (ab)use it in PIC code, but their linkers get confused if
8370 # the symbol is explicitly referenced. Since portable code cannot
8371 # rely on this symbol name, it's probably fine to never include it in
8372 # preloaded symbol tables.
8373 # Exclude shared library initialization/finalization symbols.
8374 extract_expsyms_cmds=
8377 cygwin* | mingw* | pw32* | cegcc*)
8378 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8379 # When not using gcc, we currently assume that we are using
8380 # Microsoft Visual C++.
8381 if test "$GCC" != yes; then
8386 # we just hope/assume this is gcc and not c89 (= MSVC++)
8396 # On some targets, GNU ld is compatible enough with the native linker
8397 # that we're better off using the native interface for both.
8398 lt_use_gnu_ld_interface=no
8399 if test "$with_gnu_ld" = yes; then
8402 # The AIX port of GNU ld has always aspired to compatibility
8403 # with the native linker. However, as the warning in the GNU ld
8404 # block says, versions before 2.19.5* couldn't really create working
8405 # shared libraries, regardless of the interface used.
8406 case `$LD -v 2>&1` in
8407 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8408 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8409 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8411 lt_use_gnu_ld_interface=yes
8416 lt_use_gnu_ld_interface=yes
8421 if test "$lt_use_gnu_ld_interface" = yes; then
8422 # If archive_cmds runs LD, not CC, wlarc should be empty
8425 # Set some defaults for GNU ld with shared library support. These
8426 # are reset later if shared libraries are not supported. Putting them
8427 # here allows them to be overridden if necessary.
8428 runpath_var=LD_RUN_PATH
8429 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8430 export_dynamic_flag_spec='${wl}--export-dynamic'
8431 # ancient GNU ld didn't support --whole-archive et. al.
8432 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8433 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8435 whole_archive_flag_spec=
8437 supports_anon_versioning=no
8438 case `$LD -v 2>&1` in
8439 *GNU\ gold*) supports_anon_versioning=yes ;;
8440 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8441 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8442 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8443 *\ 2.11.*) ;; # other 2.11 versions
8444 *) supports_anon_versioning=yes ;;
8447 # See if GNU ld supports shared libraries.
8450 # On AIX/PPC, the GNU linker is very broken
8451 if test "$host_cpu" != ia64; then
8455 *** Warning: the GNU linker, at least up to release 2.19, is reported
8456 *** to be unable to reliably create shared libraries on AIX.
8457 *** Therefore, libtool is disabling shared libraries support. If you
8458 *** really care for shared libraries, you may want to install binutils
8459 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8460 *** You will then need to restart the configuration process.
8469 # see comment about AmigaOS4 .so support
8470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8471 archive_expsym_cmds=''
8474 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)'
8475 hardcode_libdir_flag_spec='-L$libdir'
8476 hardcode_minus_L=yes
8482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8483 allow_undefined_flag=unsupported
8484 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8485 # support --undefined. This deserves some investigation. FIXME
8486 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8492 cygwin* | mingw* | pw32* | cegcc*)
8493 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8494 # as there is no search path for DLLs.
8495 hardcode_libdir_flag_spec='-L$libdir'
8496 export_dynamic_flag_spec='${wl}--export-all-symbols'
8497 allow_undefined_flag=unsupported
8498 always_export_symbols=no
8499 enable_shared_with_static_runtimes=yes
8500 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'
8501 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8503 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8504 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8505 # If the export-symbols file already is a .def file (1st line
8506 # is EXPORTS), use it as is; otherwise, prepend...
8507 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8508 cp $export_symbols $output_objdir/$soname.def;
8510 echo EXPORTS > $output_objdir/$soname.def;
8511 cat $export_symbols >> $output_objdir/$soname.def;
8513 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8521 link_all_deplibs=yes
8526 hardcode_shlibpath_var=no
8527 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8528 export_dynamic_flag_spec='${wl}-E'
8529 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8530 # Instead, shared libraries are loaded at an image base (0x10000000 by
8531 # default) and relocated if they conflict, which is a slow very memory
8532 # consuming and fragmenting process. To avoid this, we pick a random,
8533 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8534 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8535 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8536 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'
8539 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8541 if test "$host_os" = linux-dietlibc; then
8542 case $cc_basename in
8543 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8546 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8547 && test "$tmp_diet" = no
8549 tmp_addflag=' $pic_flag'
8550 tmp_sharedflag='-shared'
8551 case $cc_basename,$host_cpu in
8552 pgcc*) # Portland Group C compiler
8553 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'
8554 tmp_addflag=' $pic_flag'
8556 pgf77* | pgf90* | pgf95* | pgfortran*)
8557 # Portland Group f77 and f90 compilers
8558 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'
8559 tmp_addflag=' $pic_flag -Mnomain' ;;
8560 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8561 tmp_addflag=' -i_dynamic' ;;
8562 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8563 tmp_addflag=' -i_dynamic -nofor_main' ;;
8564 ifc* | ifort*) # Intel Fortran compiler
8565 tmp_addflag=' -nofor_main' ;;
8566 lf95*) # Lahey Fortran 8.1
8567 whole_archive_flag_spec=
8568 tmp_sharedflag='--shared' ;;
8569 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8570 tmp_sharedflag='-qmkshrobj'
8572 nvcc*) # Cuda Compiler Driver 2.2
8573 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'
8574 compiler_needs_object=yes
8577 case `$CC -V 2>&1 | sed 5q` in
8578 *Sun\ C*) # Sun C 5.9
8579 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'
8580 compiler_needs_object=yes
8581 tmp_sharedflag='-G' ;;
8582 *Sun\ F*) # Sun Fortran 8.3
8583 tmp_sharedflag='-G' ;;
8585 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8587 if test "x$supports_anon_versioning" = xyes; then
8588 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8589 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8590 echo "local: *; };" >> $output_objdir/$libname.ver~
8591 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8594 case $cc_basename in
8595 xlf* | bgf* | bgxlf* | mpixlf*)
8596 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8597 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8598 hardcode_libdir_flag_spec=
8599 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8600 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8601 if test "x$supports_anon_versioning" = xyes; then
8602 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8603 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8604 echo "local: *; };" >> $output_objdir/$libname.ver~
8605 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8615 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8616 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8619 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8620 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8625 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8629 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8630 *** create shared libraries on Solaris systems. Therefore, libtool
8631 *** is disabling shared libraries support. We urge you to upgrade GNU
8632 *** binutils to release 2.9.1 or newer. Another option is to modify
8633 *** your PATH or compiler configuration so that the native linker is
8634 *** used, and then restart.
8637 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8638 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8639 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8645 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8646 case `$LD -v 2>&1` in
8647 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8651 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8652 *** reliably create shared libraries on SCO systems. Therefore, libtool
8653 *** is disabling shared libraries support. We urge you to upgrade GNU
8654 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8655 *** your PATH or compiler configuration so that the native linker is
8656 *** used, and then restart.
8661 # For security reasons, it is highly recommended that you always
8662 # use absolute paths for naming shared libraries, and exclude the
8663 # DT_RUNPATH tag from executables and libraries. But doing so
8664 # requires that you compile everything twice, which is a pain.
8665 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8666 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8668 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8677 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8680 hardcode_shlibpath_var=no
8684 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8685 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8693 if test "$ld_shlibs" = no; then
8695 hardcode_libdir_flag_spec=
8696 export_dynamic_flag_spec=
8697 whole_archive_flag_spec=
8700 # PORTME fill in a description of your system's linker (not GNU ld)
8703 allow_undefined_flag=unsupported
8704 always_export_symbols=yes
8705 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'
8706 # Note: this linker hardcodes the directories in LIBPATH if there
8707 # are no directories specified by -L.
8708 hardcode_minus_L=yes
8709 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8710 # Neither direct hardcoding nor static linking is supported with a
8712 hardcode_direct=unsupported
8717 if test "$host_cpu" = ia64; then
8718 # On IA64, the linker does run time linking by default, so we don't
8719 # have to do anything special.
8720 aix_use_runtimelinking=no
8721 exp_sym_flag='-Bexport'
8724 # If we're using GNU nm, then we don't want the "-C" option.
8725 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8726 # Also, AIX nm treats weak defined symbols like other global
8727 # defined symbols, whereas GNU nm marks them as "W".
8728 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8729 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'
8731 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'
8733 aix_use_runtimelinking=no
8735 # Test if we are trying to use run time linking or normal
8736 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8737 # need to do runtime linking.
8738 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8739 for ld_flag in $LDFLAGS; do
8740 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8741 aix_use_runtimelinking=yes
8748 exp_sym_flag='-bexport'
8749 no_entry_flag='-bnoentry'
8752 # When large executables or shared objects are built, AIX ld can
8753 # have problems creating the table of contents. If linking a library
8754 # or program results in "error TOC overflow" add -mminimal-toc to
8755 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8756 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8760 hardcode_direct_absolute=yes
8761 hardcode_libdir_separator=':'
8762 link_all_deplibs=yes
8763 file_list_spec='${wl}-f,'
8765 if test "$GCC" = yes; then
8766 case $host_os in aix4.[012]|aix4.[012].*)
8767 # We only want to do this on AIX 4.2 and lower, the check
8768 # below for broken collect2 doesn't work under 4.3+
8769 collect2name=`${CC} -print-prog-name=collect2`
8770 if test -f "$collect2name" &&
8771 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8773 # We have reworked collect2
8776 # We have old collect2
8777 hardcode_direct=unsupported
8778 # It fails to find uninstalled libraries when the uninstalled
8779 # path is not listed in the libpath. Setting hardcode_minus_L
8780 # to unsupported forces relinking
8781 hardcode_minus_L=yes
8782 hardcode_libdir_flag_spec='-L$libdir'
8783 hardcode_libdir_separator=
8787 shared_flag='-shared'
8788 if test "$aix_use_runtimelinking" = yes; then
8789 shared_flag="$shared_flag "'${wl}-G'
8793 if test "$host_cpu" = ia64; then
8794 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8795 # chokes on -Wl,-G. The following line is correct:
8798 if test "$aix_use_runtimelinking" = yes; then
8799 shared_flag='${wl}-G'
8801 shared_flag='${wl}-bM:SRE'
8806 export_dynamic_flag_spec='${wl}-bexpall'
8807 # It seems that -bexpall does not export symbols beginning with
8808 # underscore (_), so it is better to generate a list of symbols to export.
8809 always_export_symbols=yes
8810 if test "$aix_use_runtimelinking" = yes; then
8811 # Warning - without using the other runtime loading flags (-brtl),
8812 # -berok will link without error, but may produce a broken library.
8813 allow_undefined_flag='-berok'
8814 # Determine the default libpath from the value encoded in an
8816 if test "${lt_cv_aix_libpath+set}" = set; then
8817 aix_libpath=$lt_cv_aix_libpath
8819 if ${lt_cv_aix_libpath_+:} false; then :
8820 $as_echo_n "(cached) " >&6
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8833 if ac_fn_c_try_link "$LINENO"; then :
8835 lt_aix_libpath_sed='
8836 /Import File Strings/,/^$/ {
8838 s/^0 *\([^ ]*\) *$/\1/
8842 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8843 # Check for a 64-bit object if we didn't find anything.
8844 if test -z "$lt_cv_aix_libpath_"; then
8845 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 if test -z "$lt_cv_aix_libpath_"; then
8851 lt_cv_aix_libpath_="/usr/lib:/lib"
8856 aix_libpath=$lt_cv_aix_libpath_
8859 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8860 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"
8862 if test "$host_cpu" = ia64; then
8863 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8864 allow_undefined_flag="-z nodefs"
8865 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"
8867 # Determine the default libpath from the value encoded in an
8869 if test "${lt_cv_aix_libpath+set}" = set; then
8870 aix_libpath=$lt_cv_aix_libpath
8872 if ${lt_cv_aix_libpath_+:} false; then :
8873 $as_echo_n "(cached) " >&6
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8886 if ac_fn_c_try_link "$LINENO"; then :
8888 lt_aix_libpath_sed='
8889 /Import File Strings/,/^$/ {
8891 s/^0 *\([^ ]*\) *$/\1/
8895 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8896 # Check for a 64-bit object if we didn't find anything.
8897 if test -z "$lt_cv_aix_libpath_"; then
8898 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8903 if test -z "$lt_cv_aix_libpath_"; then
8904 lt_cv_aix_libpath_="/usr/lib:/lib"
8909 aix_libpath=$lt_cv_aix_libpath_
8912 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8913 # Warning - without using the other run time loading flags,
8914 # -berok will link without error, but may produce a broken library.
8915 no_undefined_flag=' ${wl}-bernotok'
8916 allow_undefined_flag=' ${wl}-berok'
8917 if test "$with_gnu_ld" = yes; then
8918 # We only use this code for GNU lds that support --whole-archive.
8919 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8921 # Exported symbols can be pulled into shared objects from archives
8922 whole_archive_flag_spec='$convenience'
8924 archive_cmds_need_lc=yes
8925 # This is similar to how AIX traditionally builds its shared libraries.
8926 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'
8934 # see comment about AmigaOS4 .so support
8935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 archive_expsym_cmds=''
8939 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)'
8940 hardcode_libdir_flag_spec='-L$libdir'
8941 hardcode_minus_L=yes
8947 export_dynamic_flag_spec=-rdynamic
8950 cygwin* | mingw* | pw32* | cegcc*)
8951 # When not using gcc, we currently assume that we are using
8952 # Microsoft Visual C++.
8953 # hardcode_libdir_flag_spec is actually meaningless, as there is
8954 # no search path for DLLs.
8955 case $cc_basename in
8958 hardcode_libdir_flag_spec=' '
8959 allow_undefined_flag=unsupported
8960 always_export_symbols=yes
8962 # Tell ltmain to make .lib files, not .a files.
8964 # Tell ltmain to make .dll files, not .so files.
8966 # FIXME: Setting linknames here is a bad hack.
8967 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8968 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8969 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8971 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8973 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8975 # The linker will not automatically build a static lib if we build a DLL.
8976 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8977 enable_shared_with_static_runtimes=yes
8978 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8980 old_postinstall_cmds='chmod 644 $oldlib'
8981 postlink_cmds='lt_outputfile="@OUTPUT@"~
8982 lt_tool_outputfile="@TOOL_OUTPUT@"~
8983 case $lt_outputfile in
8986 lt_outputfile="$lt_outputfile.exe"
8987 lt_tool_outputfile="$lt_tool_outputfile.exe"
8990 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8991 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8992 $RM "$lt_outputfile.manifest";
8996 # Assume MSVC wrapper
8997 hardcode_libdir_flag_spec=' '
8998 allow_undefined_flag=unsupported
8999 # Tell ltmain to make .lib files, not .a files.
9001 # Tell ltmain to make .dll files, not .so files.
9003 # FIXME: Setting linknames here is a bad hack.
9004 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9005 # The linker will automatically build a .lib file if we build a DLL.
9006 old_archive_from_new_cmds='true'
9007 # FIXME: Should let the user specify the lib program.
9008 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9009 enable_shared_with_static_runtimes=yes
9014 darwin* | rhapsody*)
9017 archive_cmds_need_lc=no
9019 hardcode_automatic=yes
9020 hardcode_shlibpath_var=unsupported
9021 if test "$lt_cv_ld_force_load" = "yes"; then
9022 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\"`'
9024 whole_archive_flag_spec=''
9026 link_all_deplibs=yes
9027 allow_undefined_flag="$_lt_dar_allow_undefined"
9028 case $cc_basename in
9029 ifort*) _lt_dar_can_shared=yes ;;
9030 *) _lt_dar_can_shared=$GCC ;;
9032 if test "$_lt_dar_can_shared" = "yes"; then
9033 output_verbose_link_cmd=func_echo_all
9034 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9035 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9036 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}"
9037 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}"
9046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_libdir_flag_spec='-L$libdir'
9048 hardcode_shlibpath_var=no
9055 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9056 # support. Future versions do this automatically, but an explicit c++rt0.o
9057 # does not break anything, and helps significantly (at the cost of a little
9060 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9061 hardcode_libdir_flag_spec='-R$libdir'
9063 hardcode_shlibpath_var=no
9066 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9068 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9070 hardcode_minus_L=yes
9071 hardcode_shlibpath_var=no
9074 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9075 freebsd* | dragonfly*)
9076 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9077 hardcode_libdir_flag_spec='-R$libdir'
9079 hardcode_shlibpath_var=no
9083 if test "$GCC" = yes; then
9084 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'
9086 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'
9088 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9089 hardcode_libdir_separator=:
9092 # hardcode_minus_L: Not really in the search PATH,
9093 # but as the default location of the library.
9094 hardcode_minus_L=yes
9095 export_dynamic_flag_spec='${wl}-E'
9099 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9100 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9102 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9104 if test "$with_gnu_ld" = no; then
9105 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9106 hardcode_libdir_flag_spec_ld='+b $libdir'
9107 hardcode_libdir_separator=:
9109 hardcode_direct_absolute=yes
9110 export_dynamic_flag_spec='${wl}-E'
9111 # hardcode_minus_L: Not really in the search PATH,
9112 # but as the default location of the library.
9113 hardcode_minus_L=yes
9118 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9121 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9136 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9140 # Older versions of the 11.00 compiler do not understand -b yet
9141 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9143 $as_echo_n "checking if $CC understands -b... " >&6; }
9144 if ${lt_cv_prog_compiler__b+:} false; then :
9145 $as_echo_n "(cached) " >&6
9147 lt_cv_prog_compiler__b=no
9148 save_LDFLAGS="$LDFLAGS"
9149 LDFLAGS="$LDFLAGS -b"
9150 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9152 # The linker can only warn and ignore the option if not recognized
9153 # So say no if there are warnings
9154 if test -s conftest.err; then
9155 # Append any errors to the config.log.
9156 cat conftest.err 1>&5
9157 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9159 if diff conftest.exp conftest.er2 >/dev/null; then
9160 lt_cv_prog_compiler__b=yes
9163 lt_cv_prog_compiler__b=yes
9167 LDFLAGS="$save_LDFLAGS"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9171 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9173 if test x"$lt_cv_prog_compiler__b" = xyes; then
9174 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9176 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9182 if test "$with_gnu_ld" = no; then
9183 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9184 hardcode_libdir_separator=:
9189 hardcode_shlibpath_var=no
9193 hardcode_direct_absolute=yes
9194 export_dynamic_flag_spec='${wl}-E'
9196 # hardcode_minus_L: Not really in the search PATH,
9197 # but as the default location of the library.
9198 hardcode_minus_L=yes
9204 irix5* | irix6* | nonstopux*)
9205 if test "$GCC" = yes; then
9206 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'
9207 # Try to use the -exported_symbol ld option, if it does not
9208 # work, assume that -exports_file does not work either and
9209 # implicitly export all symbols.
9210 # This should be the same for all languages, so no per-tag cache variable.
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9212 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9213 if ${lt_cv_irix_exported_symbol+:} false; then :
9214 $as_echo_n "(cached) " >&6
9216 save_LDFLAGS="$LDFLAGS"
9217 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9220 int foo (void) { return 0; }
9222 if ac_fn_c_try_link "$LINENO"; then :
9223 lt_cv_irix_exported_symbol=yes
9225 lt_cv_irix_exported_symbol=no
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 LDFLAGS="$save_LDFLAGS"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9232 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9233 if test "$lt_cv_irix_exported_symbol" = yes; then
9234 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'
9237 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'
9238 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'
9240 archive_cmds_need_lc='no'
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 hardcode_libdir_separator=:
9244 link_all_deplibs=yes
9248 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9249 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9251 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9253 hardcode_libdir_flag_spec='-R$libdir'
9255 hardcode_shlibpath_var=no
9259 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9262 hardcode_libdir_separator=:
9263 hardcode_shlibpath_var=no
9270 if test -f /usr/libexec/ld.so; then
9272 hardcode_shlibpath_var=no
9273 hardcode_direct_absolute=yes
9274 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9275 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9276 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9277 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9278 export_dynamic_flag_spec='${wl}-E'
9281 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9282 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9283 hardcode_libdir_flag_spec='-R$libdir'
9286 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9287 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9297 hardcode_libdir_flag_spec='-L$libdir'
9298 hardcode_minus_L=yes
9299 allow_undefined_flag=unsupported
9300 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'
9301 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9305 if test "$GCC" = yes; then
9306 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9307 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'
9309 allow_undefined_flag=' -expect_unresolved \*'
9310 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'
9312 archive_cmds_need_lc='no'
9313 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9314 hardcode_libdir_separator=:
9317 osf4* | osf5*) # as osf3* with the addition of -msym flag
9318 if test "$GCC" = yes; then
9319 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9320 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'
9321 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9323 allow_undefined_flag=' -expect_unresolved \*'
9324 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'
9325 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~
9326 $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'
9328 # Both c and cxx compiler support -rpath directly
9329 hardcode_libdir_flag_spec='-rpath $libdir'
9331 archive_cmds_need_lc='no'
9332 hardcode_libdir_separator=:
9336 no_undefined_flag=' -z defs'
9337 if test "$GCC" = yes; then
9339 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9341 $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'
9343 case `$CC -V 2>&1` in
9346 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9347 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9348 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9352 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9354 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9358 hardcode_libdir_flag_spec='-R$libdir'
9359 hardcode_shlibpath_var=no
9361 solaris2.[0-5] | solaris2.[0-5].*) ;;
9363 # The compiler driver will combine and reorder linker options,
9364 # but understands `-z linker_flag'. GCC discards it without `$wl',
9365 # but is careful enough not to reorder.
9366 # Supported since Solaris 2.6 (maybe 2.5.1?)
9367 if test "$GCC" = yes; then
9368 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9370 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9374 link_all_deplibs=yes
9378 if test "x$host_vendor" = xsequent; then
9379 # Use $CC to link under sequent, because it throws in some extra .o
9380 # files that make .init and .fini sections work.
9381 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9385 hardcode_libdir_flag_spec='-L$libdir'
9387 hardcode_minus_L=yes
9388 hardcode_shlibpath_var=no
9392 case $host_vendor in
9394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9395 hardcode_direct=yes # is this really true???
9398 ## LD is ld it makes a PLAMLIB
9399 ## CC just makes a GrossModule.
9400 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9401 reload_cmds='$CC -r -o $output$reload_objs'
9405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9406 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9409 runpath_var='LD_RUN_PATH'
9410 hardcode_shlibpath_var=no
9414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_shlibpath_var=no
9416 export_dynamic_flag_spec='-Bexport'
9420 if test -d /usr/nec; then
9421 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9422 hardcode_shlibpath_var=no
9423 runpath_var=LD_RUN_PATH
9424 hardcode_runpath_var=yes
9429 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9430 no_undefined_flag='${wl}-z,text'
9431 archive_cmds_need_lc=no
9432 hardcode_shlibpath_var=no
9433 runpath_var='LD_RUN_PATH'
9435 if test "$GCC" = yes; then
9436 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9437 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9444 sysv5* | sco3.2v5* | sco5v6*)
9445 # Note: We can NOT use -z defs as we might desire, because we do not
9446 # link with -lc, and that would cause any symbols used from libc to
9447 # always be unresolved, which means just about no library would
9448 # ever link correctly. If we're not using GNU ld we use -z text
9449 # though, which does catch some bad symbols but isn't as heavy-handed
9451 no_undefined_flag='${wl}-z,text'
9452 allow_undefined_flag='${wl}-z,nodefs'
9453 archive_cmds_need_lc=no
9454 hardcode_shlibpath_var=no
9455 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9456 hardcode_libdir_separator=':'
9457 link_all_deplibs=yes
9458 export_dynamic_flag_spec='${wl}-Bexport'
9459 runpath_var='LD_RUN_PATH'
9461 if test "$GCC" = yes; then
9462 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9463 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9466 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9472 hardcode_libdir_flag_spec='-L$libdir'
9473 hardcode_shlibpath_var=no
9481 if test x$host_vendor = xsni; then
9483 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9484 export_dynamic_flag_spec='${wl}-Blargedynsym'
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9491 $as_echo "$ld_shlibs" >&6; }
9492 test "$ld_shlibs" = no && can_build_shared=no
9494 with_gnu_ld=$with_gnu_ld
9511 # Do we need to explicitly link libc?
9513 case "x$archive_cmds_need_lc" in
9515 # Assume -lc should be added
9516 archive_cmds_need_lc=yes
9518 if test "$enable_shared" = yes && test "$GCC" = yes; then
9519 case $archive_cmds in
9521 # FIXME: we may have to deal with multi-command sequences.
9524 # Test whether the compiler implicitly links with -lc since on some
9525 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9526 # to ld, don't add -lc before -lgcc.
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9528 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9529 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9530 $as_echo_n "(cached) " >&6
9533 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9536 (eval $ac_compile) 2>&5
9538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9539 test $ac_status = 0; } 2>conftest.err; then
9542 libobjs=conftest.$ac_objext
9544 wl=$lt_prog_compiler_wl
9545 pic_flag=$lt_prog_compiler_pic
9551 lt_save_allow_undefined_flag=$allow_undefined_flag
9552 allow_undefined_flag=
9553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9554 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9557 test $ac_status = 0; }
9559 lt_cv_archive_cmds_need_lc=no
9561 lt_cv_archive_cmds_need_lc=yes
9563 allow_undefined_flag=$lt_save_allow_undefined_flag
9565 cat conftest.err 1>&5
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9571 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9572 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9736 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9738 if test "$GCC" = yes; then
9740 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9741 *) lt_awk_arg="/^libraries:/" ;;
9744 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9745 *) lt_sed_strip_eq="s,=/,/,g" ;;
9747 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9748 case $lt_search_path_spec in
9750 # if the path contains ";" then we assume it to be the separator
9751 # otherwise default to the standard path separator (i.e. ":") - it is
9752 # assumed that no part of a normal pathname contains ";" but that should
9753 # okay in the real world where ";" in dirpaths is itself problematic.
9754 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9757 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9760 # Ok, now we have the path, separated by spaces, we can step through it
9761 # and add multilib dir if necessary.
9762 lt_tmp_lt_search_path_spec=
9763 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9764 for lt_sys_path in $lt_search_path_spec; do
9765 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9766 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9768 test -d "$lt_sys_path" && \
9769 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9772 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9773 BEGIN {RS=" "; FS="/|\n";} {
9776 for (lt_i = NF; lt_i > 0; lt_i--) {
9777 if ($lt_i != "" && $lt_i != ".") {
9778 if ($lt_i == "..") {
9781 if (lt_count == 0) {
9782 lt_foo="/" $lt_i lt_foo;
9789 if (lt_foo != "") { lt_freq[lt_foo]++; }
9790 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9792 # AWK program above erroneously prepends '/' to C:/dos/paths
9795 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9796 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9798 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9800 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9803 libname_spec='lib$name'
9811 shlibpath_overrides_runpath=unknown
9813 dynamic_linker="$host_os ld.so"
9814 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9815 need_lib_prefix=unknown
9816 hardcode_into_libs=no
9818 # when you set need_version to no, make sure it does not cause -set_version
9819 # flags to be left without arguments
9820 need_version=unknown
9825 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9826 shlibpath_var=LIBPATH
9828 # AIX 3 has no versioning support, so we append a major version to the name.
9829 soname_spec='${libname}${release}${shared_ext}$major'
9836 hardcode_into_libs=yes
9837 if test "$host_cpu" = ia64; then
9838 # AIX 5 supports IA64
9839 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9840 shlibpath_var=LD_LIBRARY_PATH
9842 # With GCC up to 2.95.x, collect2 would create an import file
9843 # for dependence libraries. The import file would start with
9844 # the line `#! .'. This would cause the generated library to
9845 # depend on `.', always an invalid library. This was fixed in
9846 # development snapshots of GCC prior to 3.0.
9848 aix4 | aix4.[01] | aix4.[01].*)
9849 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9851 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9858 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9859 # soname into executable. Probably we can add versioning support to
9860 # collect2, so additional links can be useful in future.
9861 if test "$aix_use_runtimelinking" = yes; then
9862 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9863 # instead of lib<name>.a to let people know that these are not
9864 # typical AIX shared libraries.
9865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867 # We preserve .a as extension for shared libraries through AIX4.2
9868 # and later when we are not doing run time linking.
9869 library_names_spec='${libname}${release}.a $libname.a'
9870 soname_spec='${libname}${release}${shared_ext}$major'
9872 shlibpath_var=LIBPATH
9879 # Since July 2007 AmigaOS4 officially supports .so libraries.
9880 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 library_names_spec='$libname.ixlibrary $libname.a'
9885 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9886 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'
9892 library_names_spec='${libname}${shared_ext}'
9893 dynamic_linker="$host_os ld.so"
9894 shlibpath_var=LIBRARY_PATH
9900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9901 soname_spec='${libname}${release}${shared_ext}$major'
9902 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9903 shlibpath_var=LD_LIBRARY_PATH
9904 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9905 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9906 # the default ld.so.conf also contains /usr/contrib/lib and
9907 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9908 # libtool to hard-code these into programs
9911 cygwin* | mingw* | pw32* | cegcc*)
9912 version_type=windows
9917 case $GCC,$cc_basename in
9920 library_names_spec='$libname.dll.a'
9921 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9922 postinstall_cmds='base_file=`basename \${file}`~
9923 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9924 dldir=$destdir/`dirname \$dlpath`~
9925 test -d \$dldir || mkdir -p \$dldir~
9926 $install_prog $dir/$dlname \$dldir/$dlname~
9927 chmod a+x \$dldir/$dlname~
9928 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9929 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9931 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9932 dlpath=$dir/\$dldll~
9934 shlibpath_overrides_runpath=yes
9938 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9939 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9941 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9944 # MinGW DLLs use traditional 'lib' prefix
9945 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9948 # pw32 DLLs use 'pw' prefix rather than 'lib'
9949 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9952 dynamic_linker='Win32 ld.exe'
9957 libname_spec='$name'
9958 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9959 library_names_spec='${libname}.dll.lib'
9963 sys_lib_search_path_spec=
9969 # Let DOS variable expansion print the short 8.3 style file name.
9970 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9971 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9974 # Convert to MSYS style.
9975 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9978 # Convert to unix form, then to dos form, then back to unix form
9979 # but this time dos style (no spaces!) so that the unix form looks
9980 # like /cygdrive/c/PROGRA~1:/cygdr...
9981 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9982 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9983 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9986 sys_lib_search_path_spec="$LIB"
9987 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9988 # It is most probably a Windows format PATH.
9989 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9991 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9993 # FIXME: find the short name or the path components, as spaces are
9994 # common. (e.g. "Program Files" -> "PROGRA~1")
9998 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9999 postinstall_cmds='base_file=`basename \${file}`~
10000 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10001 dldir=$destdir/`dirname \$dlpath`~
10002 test -d \$dldir || mkdir -p \$dldir~
10003 $install_prog $dir/$dlname \$dldir/$dlname'
10004 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10005 dlpath=$dir/\$dldll~
10007 shlibpath_overrides_runpath=yes
10008 dynamic_linker='Win32 link.exe'
10012 # Assume MSVC wrapper
10013 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10014 dynamic_linker='Win32 ld.exe'
10017 # FIXME: first we should search . and the directory the executable is in
10021 darwin* | rhapsody*)
10022 dynamic_linker="$host_os dyld"
10023 version_type=darwin
10026 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10027 soname_spec='${libname}${release}${major}$shared_ext'
10028 shlibpath_overrides_runpath=yes
10029 shlibpath_var=DYLD_LIBRARY_PATH
10030 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10032 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10033 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 shlibpath_var=LD_LIBRARY_PATH
10049 freebsd* | dragonfly*)
10050 # DragonFly does not have aout. When/if they implement a new
10051 # versioning mechanism, adjust this.
10052 if test -x /usr/bin/objformat; then
10053 objformat=`/usr/bin/objformat`
10056 freebsd[123]*) objformat=aout ;;
10057 *) objformat=elf ;;
10060 version_type=freebsd-$objformat
10061 case $version_type in
10063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10068 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10072 shlibpath_var=LD_LIBRARY_PATH
10075 shlibpath_overrides_runpath=yes
10077 freebsd3.[01]* | freebsdelf3.[01]*)
10078 shlibpath_overrides_runpath=yes
10079 hardcode_into_libs=yes
10081 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10082 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10083 shlibpath_overrides_runpath=no
10084 hardcode_into_libs=yes
10086 *) # from 4.6 on, and DragonFly
10087 shlibpath_overrides_runpath=yes
10088 hardcode_into_libs=yes
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10098 soname_spec='${libname}${release}${shared_ext}$major'
10099 shlibpath_var=LD_LIBRARY_PATH
10100 hardcode_into_libs=yes
10107 dynamic_linker="$host_os runtime_loader"
10108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10109 soname_spec='${libname}${release}${shared_ext}$major'
10110 shlibpath_var=LIBRARY_PATH
10111 shlibpath_overrides_runpath=yes
10112 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10113 hardcode_into_libs=yes
10116 hpux9* | hpux10* | hpux11*)
10117 # Give a soname corresponding to the major version so that dld.sl refuses to
10118 # link against other versions.
10125 hardcode_into_libs=yes
10126 dynamic_linker="$host_os dld.so"
10127 shlibpath_var=LD_LIBRARY_PATH
10128 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10130 soname_spec='${libname}${release}${shared_ext}$major'
10131 if test "X$HPUX_IA64_MODE" = X32; then
10132 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10134 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10136 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10140 hardcode_into_libs=yes
10141 dynamic_linker="$host_os dld.sl"
10142 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10143 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10145 soname_spec='${libname}${release}${shared_ext}$major'
10146 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10147 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10151 dynamic_linker="$host_os dld.sl"
10152 shlibpath_var=SHLIB_PATH
10153 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155 soname_spec='${libname}${release}${shared_ext}$major'
10158 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10159 postinstall_cmds='chmod 555 $lib'
10160 # or fails outright, so override atomically:
10161 install_override_mode=555
10168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10169 soname_spec='${libname}${release}${shared_ext}$major'
10170 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10171 shlibpath_var=LD_LIBRARY_PATH
10172 shlibpath_overrides_runpath=no
10173 hardcode_into_libs=yes
10176 irix5* | irix6* | nonstopux*)
10178 nonstopux*) version_type=nonstopux ;;
10180 if test "$lt_cv_prog_gnu_ld" = yes; then
10188 soname_spec='${libname}${release}${shared_ext}$major'
10189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10191 irix5* | nonstopux*)
10192 libsuff= shlibsuff=
10195 case $LD in # libtool.m4 will add one of these switches to LD
10196 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10197 libsuff= shlibsuff= libmagic=32-bit;;
10198 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10199 libsuff=32 shlibsuff=N32 libmagic=N32;;
10200 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10201 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10202 *) libsuff= shlibsuff= libmagic=never-match;;
10206 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10207 shlibpath_overrides_runpath=no
10208 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10209 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10210 hardcode_into_libs=yes
10213 # No shared lib support for Linux oldld, aout, or coff.
10214 linux*oldld* | linux*aout* | linux*coff*)
10218 # This must be Linux ELF.
10219 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10224 soname_spec='${libname}${release}${shared_ext}$major'
10225 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10226 shlibpath_var=LD_LIBRARY_PATH
10227 shlibpath_overrides_runpath=no
10229 # Some binutils ld are patched to set DT_RUNPATH
10230 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10231 $as_echo_n "(cached) " >&6
10233 lt_cv_shlibpath_overrides_runpath=no
10234 save_LDFLAGS=$LDFLAGS
10235 save_libdir=$libdir
10236 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10237 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10251 lt_cv_shlibpath_overrides_runpath=yes
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 LDFLAGS=$save_LDFLAGS
10257 libdir=$save_libdir
10261 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10263 # This implies no fast_install, which is unacceptable.
10264 # Some rework will be needed to allow for fast_install
10265 # before this can be enabled.
10266 hardcode_into_libs=yes
10268 # Append ld.so.conf contents to the search path
10269 if test -f /etc/ld.so.conf; then
10270 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' ' '`
10271 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10274 # We used to test for /lib/ld.so.1 and disable shared libraries on
10275 # powerpc, because MkLinux only supported shared libraries with the
10276 # GNU dynamic linker. Since this was broken with cross compilers,
10277 # most powerpc-linux boxes support dynamic linking these days and
10278 # people can always --disable-shared, the test was removed, and we
10279 # assume the GNU/Linux dynamic linker is in use.
10280 dynamic_linker='GNU/Linux ld.so'
10287 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10290 dynamic_linker='NetBSD (a.out) ld.so'
10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10293 soname_spec='${libname}${release}${shared_ext}$major'
10294 dynamic_linker='NetBSD ld.elf_so'
10296 shlibpath_var=LD_LIBRARY_PATH
10297 shlibpath_overrides_runpath=yes
10298 hardcode_into_libs=yes
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 shlibpath_var=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath=yes
10312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 soname_spec='${libname}${release}${shared_ext}$major'
10314 shlibpath_var=LD_LIBRARY_PATH
10315 shlibpath_overrides_runpath=no
10316 hardcode_into_libs=yes
10317 dynamic_linker='ldqnx.so'
10322 sys_lib_dlsearch_path_spec="/usr/lib"
10324 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10326 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10327 *) need_version=no ;;
10329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10330 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10331 shlibpath_var=LD_LIBRARY_PATH
10332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10334 openbsd2.[89] | openbsd2.[89].*)
10335 shlibpath_overrides_runpath=no
10338 shlibpath_overrides_runpath=yes
10342 shlibpath_overrides_runpath=yes
10347 libname_spec='$name'
10350 library_names_spec='$libname${shared_ext} $libname.a'
10351 dynamic_linker='OS/2 ld.exe'
10352 shlibpath_var=LIBPATH
10355 osf3* | osf4* | osf5*)
10359 soname_spec='${libname}${release}${shared_ext}$major'
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 shlibpath_var=LD_LIBRARY_PATH
10362 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10363 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 soname_spec='${libname}${release}${shared_ext}$major'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath=yes
10378 hardcode_into_libs=yes
10379 # ldd complains unless libraries are executable
10380 postinstall_cmds='chmod +x $lib'
10385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10386 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10387 shlibpath_var=LD_LIBRARY_PATH
10388 shlibpath_overrides_runpath=yes
10389 if test "$with_gnu_ld" = yes; then
10397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398 soname_spec='${libname}${release}${shared_ext}$major'
10399 shlibpath_var=LD_LIBRARY_PATH
10400 case $host_vendor in
10402 shlibpath_overrides_runpath=no
10404 runpath_var=LD_RUN_PATH
10412 shlibpath_overrides_runpath=no
10413 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10419 if test -d /usr/nec ;then
10421 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10422 soname_spec='$libname${shared_ext}.$major'
10423 shlibpath_var=LD_LIBRARY_PATH
10427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10428 version_type=freebsd-elf
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10432 soname_spec='${libname}${release}${shared_ext}$major'
10433 shlibpath_var=LD_LIBRARY_PATH
10434 shlibpath_overrides_runpath=yes
10435 hardcode_into_libs=yes
10436 if test "$with_gnu_ld" = yes; then
10437 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10439 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10442 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10446 sys_lib_dlsearch_path_spec='/usr/lib'
10450 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 shlibpath_var=LD_LIBRARY_PATH
10456 shlibpath_overrides_runpath=no
10457 hardcode_into_libs=yes
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec='${libname}${release}${shared_ext}$major'
10464 shlibpath_var=LD_LIBRARY_PATH
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10472 $as_echo "$dynamic_linker" >&6; }
10473 test "$dynamic_linker" = no && can_build_shared=no
10475 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10476 if test "$GCC" = yes; then
10477 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10480 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10481 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10483 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10484 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10579 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10581 if test -n "$hardcode_libdir_flag_spec" ||
10582 test -n "$runpath_var" ||
10583 test "X$hardcode_automatic" = "Xyes" ; then
10585 # We can hardcode non-existent directories.
10586 if test "$hardcode_direct" != no &&
10587 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10588 # have to relink, otherwise we might link with an installed library
10589 # when we should be linking with a yet-to-be-installed one
10590 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10591 test "$hardcode_minus_L" != no; then
10592 # Linking always hardcodes the temporary library directory.
10593 hardcode_action=relink
10595 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10596 hardcode_action=immediate
10599 # We cannot hardcode anything, or else we can only hardcode existing
10601 hardcode_action=unsupported
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10604 $as_echo "$hardcode_action" >&6; }
10606 if test "$hardcode_action" = relink ||
10607 test "$inherit_rpath" = yes; then
10608 # Fast installation is not supported
10609 enable_fast_install=no
10610 elif test "$shlibpath_overrides_runpath" = yes ||
10611 test "$enable_shared" = no; then
10612 # Fast installation is not necessary
10613 enable_fast_install=needless
10621 if test "x$enable_dlopen" != xyes; then
10622 enable_dlopen=unknown
10623 enable_dlopen_self=unknown
10624 enable_dlopen_self_static=unknown
10631 lt_cv_dlopen="load_add_on"
10633 lt_cv_dlopen_self=yes
10636 mingw* | pw32* | cegcc*)
10637 lt_cv_dlopen="LoadLibrary"
10642 lt_cv_dlopen="dlopen"
10647 # if libdl is installed we need to link against it
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10650 if ${ac_cv_lib_dl_dlopen+:} false; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_lib_save_LIBS=$LIBS
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_lib_dl_dlopen=yes
10676 ac_cv_lib_dl_dlopen=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10684 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10685 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10688 lt_cv_dlopen="dyld"
10690 lt_cv_dlopen_self=yes
10697 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10698 if test "x$ac_cv_func_shl_load" = xyes; then :
10699 lt_cv_dlopen="shl_load"
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10702 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10703 if ${ac_cv_lib_dld_shl_load+:} false; then :
10704 $as_echo_n "(cached) " >&6
10706 ac_check_lib_save_LIBS=$LIBS
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10721 return shl_load ();
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_dld_shl_load=yes
10729 ac_cv_lib_dld_shl_load=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10736 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10737 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10738 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10740 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10741 if test "x$ac_cv_func_dlopen" = xyes; then :
10742 lt_cv_dlopen="dlopen"
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10745 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10746 if ${ac_cv_lib_dl_dlopen+:} false; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS=$LIBS
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_dl_dlopen=yes
10772 ac_cv_lib_dl_dlopen=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10779 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10780 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10781 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10784 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10785 if ${ac_cv_lib_svld_dlopen+:} false; then :
10786 $as_echo_n "(cached) " >&6
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lsvld $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_svld_dlopen=yes
10811 ac_cv_lib_svld_dlopen=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10818 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10819 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10820 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10823 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10824 if ${ac_cv_lib_dld_dld_link+:} false; then :
10825 $as_echo_n "(cached) " >&6
10827 ac_check_lib_save_LIBS=$LIBS
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10842 return dld_link ();
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 ac_cv_lib_dld_dld_link=yes
10850 ac_cv_lib_dld_dld_link=no
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10857 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10858 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10859 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10880 if test "x$lt_cv_dlopen" != xno; then
10886 case $lt_cv_dlopen in
10888 save_CPPFLAGS="$CPPFLAGS"
10889 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10891 save_LDFLAGS="$LDFLAGS"
10892 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10895 LIBS="$lt_cv_dlopen_libs $LIBS"
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10898 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10899 if ${lt_cv_dlopen_self+:} false; then :
10900 $as_echo_n "(cached) " >&6
10902 if test "$cross_compiling" = yes; then :
10903 lt_cv_dlopen_self=cross
10905 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10906 lt_status=$lt_dlunknown
10907 cat > conftest.$ac_ext <<_LT_EOF
10908 #line $LINENO "configure"
10909 #include "confdefs.h"
10918 # define LT_DLGLOBAL RTLD_GLOBAL
10921 # define LT_DLGLOBAL DL_GLOBAL
10923 # define LT_DLGLOBAL 0
10927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10928 find out it does not work in some platform. */
10929 #ifndef LT_DLLAZY_OR_NOW
10931 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10934 # define LT_DLLAZY_OR_NOW DL_LAZY
10937 # define LT_DLLAZY_OR_NOW RTLD_NOW
10940 # define LT_DLLAZY_OR_NOW DL_NOW
10942 # define LT_DLLAZY_OR_NOW 0
10949 /* When -fvisbility=hidden is used, assume the code has been annotated
10950 correspondingly for the symbols needed. */
10951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10952 int fnord () __attribute__((visibility("default")));
10955 int fnord () { return 42; }
10958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10959 int status = $lt_dlunknown;
10963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10966 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10967 else puts (dlerror ());
10969 /* dlclose (self); */
10977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10978 (eval $ac_link) 2>&5
10980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10982 (./conftest; exit; ) >&5 2>/dev/null
10984 case x$lt_status in
10985 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10986 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10987 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10990 # compilation failed
10991 lt_cv_dlopen_self=no
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10999 $as_echo "$lt_cv_dlopen_self" >&6; }
11001 if test "x$lt_cv_dlopen_self" = xyes; then
11002 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11004 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11005 if ${lt_cv_dlopen_self_static+:} false; then :
11006 $as_echo_n "(cached) " >&6
11008 if test "$cross_compiling" = yes; then :
11009 lt_cv_dlopen_self_static=cross
11011 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11012 lt_status=$lt_dlunknown
11013 cat > conftest.$ac_ext <<_LT_EOF
11014 #line $LINENO "configure"
11015 #include "confdefs.h"
11024 # define LT_DLGLOBAL RTLD_GLOBAL
11027 # define LT_DLGLOBAL DL_GLOBAL
11029 # define LT_DLGLOBAL 0
11033 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11034 find out it does not work in some platform. */
11035 #ifndef LT_DLLAZY_OR_NOW
11037 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11040 # define LT_DLLAZY_OR_NOW DL_LAZY
11043 # define LT_DLLAZY_OR_NOW RTLD_NOW
11046 # define LT_DLLAZY_OR_NOW DL_NOW
11048 # define LT_DLLAZY_OR_NOW 0
11055 /* When -fvisbility=hidden is used, assume the code has been annotated
11056 correspondingly for the symbols needed. */
11057 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11058 int fnord () __attribute__((visibility("default")));
11061 int fnord () { return 42; }
11064 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11065 int status = $lt_dlunknown;
11069 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11072 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11073 else puts (dlerror ());
11075 /* dlclose (self); */
11083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11084 (eval $ac_link) 2>&5
11086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11087 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11088 (./conftest; exit; ) >&5 2>/dev/null
11090 case x$lt_status in
11091 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11092 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11093 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11096 # compilation failed
11097 lt_cv_dlopen_self_static=no
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11105 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11108 CPPFLAGS="$save_CPPFLAGS"
11109 LDFLAGS="$save_LDFLAGS"
11114 case $lt_cv_dlopen_self in
11115 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11116 *) enable_dlopen_self=unknown ;;
11119 case $lt_cv_dlopen_self_static in
11120 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11121 *) enable_dlopen_self_static=unknown ;;
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11144 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11145 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11146 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11147 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11149 $as_echo "yes" >&6; }
11151 # FIXME - insert some real tests, host_os isn't really good enough
11154 if test -n "$STRIP" ; then
11155 striplib="$STRIP -x"
11156 old_striplib="$STRIP -S"
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11158 $as_echo "yes" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11161 $as_echo "no" >&6; }
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11166 $as_echo "no" >&6; }
11182 # Report which library types will actually be built
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11184 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11186 $as_echo "$can_build_shared" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11189 $as_echo_n "checking whether to build shared libraries... " >&6; }
11190 test "$can_build_shared" = "no" && enable_shared=no
11192 # On AIX, shared libraries and static libraries use the same namespace, and
11193 # are all built from PIC.
11196 test "$enable_shared" = yes && enable_static=no
11197 if test -n "$RANLIB"; then
11198 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11199 postinstall_cmds='$RANLIB $lib'
11204 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11205 test "$enable_shared" = yes && enable_static=no
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11210 $as_echo "$enable_shared" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11213 $as_echo_n "checking whether to build static libraries... " >&6; }
11214 # Make sure either enable_shared or enable_static is yes.
11215 test "$enable_shared" = yes || enable_static=yes
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11217 $as_echo "$enable_static" >&6; }
11224 ac_cpp='$CPP $CPPFLAGS'
11225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11243 ac_config_commands="$ac_config_commands libtool"
11248 # Only expand once:
11252 ac_cpp='$CPP $CPPFLAGS'
11253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256 if test -n "$ac_tool_prefix"; then
11257 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11260 $as_echo_n "checking for $ac_word... " >&6; }
11261 if ${ac_cv_prog_CC+:} false; then :
11262 $as_echo_n "(cached) " >&6
11264 if test -n "$CC"; then
11265 ac_cv_prog_CC="$CC" # Let the user override the test.
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11274 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11285 if test -n "$CC"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11287 $as_echo "$CC" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290 $as_echo "no" >&6; }
11295 if test -z "$ac_cv_prog_CC"; then
11297 # Extract the first word of "gcc", so it can be a program name with args.
11298 set dummy gcc; ac_word=$2
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11300 $as_echo_n "checking for $ac_word... " >&6; }
11301 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11302 $as_echo_n "(cached) " >&6
11304 if test -n "$ac_ct_CC"; then
11305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11308 for as_dir in $PATH
11311 test -z "$as_dir" && as_dir=.
11312 for ac_exec_ext in '' $ac_executable_extensions; do
11313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11314 ac_cv_prog_ac_ct_CC="gcc"
11315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11325 if test -n "$ac_ct_CC"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11327 $as_echo "$ac_ct_CC" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11333 if test "x$ac_ct_CC" = x; then
11336 case $cross_compiling:$ac_tool_warned in
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11340 ac_tool_warned=yes ;;
11345 CC="$ac_cv_prog_CC"
11348 if test -z "$CC"; then
11349 if test -n "$ac_tool_prefix"; then
11350 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11351 set dummy ${ac_tool_prefix}cc; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_prog_CC+:} false; then :
11355 $as_echo_n "(cached) " >&6
11357 if test -n "$CC"; then
11358 ac_cv_prog_CC="$CC" # Let the user override the test.
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11364 test -z "$as_dir" && as_dir=.
11365 for ac_exec_ext in '' $ac_executable_extensions; do
11366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367 ac_cv_prog_CC="${ac_tool_prefix}cc"
11368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 if test -n "$CC"; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11380 $as_echo "$CC" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11389 if test -z "$CC"; then
11390 # Extract the first word of "cc", so it can be a program name with args.
11391 set dummy cc; ac_word=$2
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11393 $as_echo_n "checking for $ac_word... " >&6; }
11394 if ${ac_cv_prog_CC+:} false; then :
11395 $as_echo_n "(cached) " >&6
11397 if test -n "$CC"; then
11398 ac_cv_prog_CC="$CC" # Let the user override the test.
11400 ac_prog_rejected=no
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11408 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11409 ac_prog_rejected=yes
11413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11420 if test $ac_prog_rejected = yes; then
11421 # We found a bogon in the path, so make sure we never use it.
11422 set dummy $ac_cv_prog_CC
11424 if test $# != 0; then
11425 # We chose a different compiler from the bogus one.
11426 # However, it has the same basename, so the bogon will be chosen
11427 # first if we set CC to just the basename; use the full file name.
11429 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11435 if test -n "$CC"; then
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11437 $as_echo "$CC" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11440 $as_echo "no" >&6; }
11445 if test -z "$CC"; then
11446 if test -n "$ac_tool_prefix"; then
11447 for ac_prog in cl.exe
11449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11452 $as_echo_n "checking for $ac_word... " >&6; }
11453 if ${ac_cv_prog_CC+:} false; then :
11454 $as_echo_n "(cached) " >&6
11456 if test -n "$CC"; then
11457 ac_cv_prog_CC="$CC" # Let the user override the test.
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11463 test -z "$as_dir" && as_dir=.
11464 for ac_exec_ext in '' $ac_executable_extensions; do
11465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11477 if test -n "$CC"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11479 $as_echo "$CC" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11482 $as_echo "no" >&6; }
11486 test -n "$CC" && break
11489 if test -z "$CC"; then
11491 for ac_prog in cl.exe
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11498 $as_echo_n "(cached) " >&6
11500 if test -n "$ac_ct_CC"; then
11501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_prog_ac_ct_CC="$ac_prog"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11521 if test -n "$ac_ct_CC"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11523 $as_echo "$ac_ct_CC" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11530 test -n "$ac_ct_CC" && break
11533 if test "x$ac_ct_CC" = x; then
11536 case $cross_compiling:$ac_tool_warned in
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11540 ac_tool_warned=yes ;;
11549 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11551 as_fn_error $? "no acceptable C compiler found in \$PATH
11552 See \`config.log' for more details" "$LINENO" 5; }
11554 # Provide some information about the compiler.
11555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11558 for ac_option in --version -v -V -qversion; do
11559 { { ac_try="$ac_compiler $ac_option >&5"
11560 case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11565 $as_echo "$ac_try_echo"; } >&5
11566 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11568 if test -s conftest.err; then
11570 ... rest of stderr output deleted ...
11571 10q' conftest.err >conftest.er1
11572 cat conftest.er1 >&5
11574 rm -f conftest.er1 conftest.err
11575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576 test $ac_status = 0; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11580 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11581 if ${ac_cv_c_compiler_gnu+:} false; then :
11582 $as_echo_n "(cached) " >&6
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11598 if ac_fn_c_try_compile "$LINENO"; then :
11599 ac_compiler_gnu=yes
11603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11604 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11608 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11609 if test $ac_compiler_gnu = yes; then
11614 ac_test_CFLAGS=${CFLAGS+set}
11615 ac_save_CFLAGS=$CFLAGS
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11617 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11618 if ${ac_cv_prog_cc_g+:} false; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_save_c_werror_flag=$ac_c_werror_flag
11622 ac_c_werror_flag=yes
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11636 if ac_fn_c_try_compile "$LINENO"; then :
11637 ac_cv_prog_cc_g=yes
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11651 if ac_fn_c_try_compile "$LINENO"; then :
11654 ac_c_werror_flag=$ac_save_c_werror_flag
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11667 if ac_fn_c_try_compile "$LINENO"; then :
11668 ac_cv_prog_cc_g=yes
11670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11675 ac_c_werror_flag=$ac_save_c_werror_flag
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11678 $as_echo "$ac_cv_prog_cc_g" >&6; }
11679 if test "$ac_test_CFLAGS" = set; then
11680 CFLAGS=$ac_save_CFLAGS
11681 elif test $ac_cv_prog_cc_g = yes; then
11682 if test "$GCC" = yes; then
11688 if test "$GCC" = yes; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11695 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11696 if ${ac_cv_prog_cc_c89+:} false; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_cv_prog_cc_c89=no
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 #include <stdarg.h>
11705 #include <sys/types.h>
11706 #include <sys/stat.h>
11707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11708 struct buf { int x; };
11709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11710 static char *e (p, i)
11716 static char *f (char * (*g) (char **, int), char **p, ...)
11721 s = g (p, va_arg (v,int));
11726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11727 function prototypes and stuff, but not '\xHH' hex character constants.
11728 These don't provoke an error unfortunately, instead are silently treated
11729 as 'x'. The following induces an error, until -std is added to get
11730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11731 array size at least. It's necessary to write '\x00'==0 to get something
11732 that's true only with -std. */
11733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11735 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11736 inside strings and character constants. */
11738 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11740 int test (int i, double x);
11741 struct s1 {int (*f) (int a);};
11742 struct s2 {int (*f) (double a);};
11743 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11749 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11754 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11757 CC="$ac_save_CC $ac_arg"
11758 if ac_fn_c_try_compile "$LINENO"; then :
11759 ac_cv_prog_cc_c89=$ac_arg
11761 rm -f core conftest.err conftest.$ac_objext
11762 test "x$ac_cv_prog_cc_c89" != "xno" && break
11764 rm -f conftest.$ac_ext
11769 case "x$ac_cv_prog_cc_c89" in
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11772 $as_echo "none needed" >&6; } ;;
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11775 $as_echo "unsupported" >&6; } ;;
11777 CC="$CC $ac_cv_prog_cc_c89"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11779 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11781 if test "x$ac_cv_prog_cc_c89" != xno; then :
11786 ac_cpp='$CPP $CPPFLAGS'
11787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791 depcc="$CC" am_compiler_list=
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11794 $as_echo_n "checking dependency style of $depcc... " >&6; }
11795 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11796 $as_echo_n "(cached) " >&6
11798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11799 # We make a subdir and do the tests there. Otherwise we can end up
11800 # making bogus files that we don't know about and never remove. For
11801 # instance it was reported that on HP-UX the gcc test will end up
11802 # making a dummy file named `D' -- because `-MD' means `put the output
11805 # Copy depcomp to subdir because otherwise we won't find it if we're
11806 # using a relative directory.
11807 cp "$am_depcomp" conftest.dir
11809 # We will build objects and dependencies in a subdirectory because
11810 # it helps to detect inapplicable dependency modes. For instance
11811 # both Tru64's cc and ICC support -MD to output dependencies as a
11812 # side effect of compilation, but ICC will put the dependencies in
11813 # the current directory while Tru64 will put them in the object
11817 am_cv_CC_dependencies_compiler_type=none
11818 if test "$am_compiler_list" = ""; then
11819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11821 am__universal=false
11822 case " $depcc " in #(
11823 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11826 for depmode in $am_compiler_list; do
11827 # Setup a source with many dependencies, because some compilers
11828 # like to wrap large dependency lists on column 80 (with \), and
11829 # we should not choose a depcomp mode which is confused by this.
11831 # We need to recreate these files for each test, as the compiler may
11832 # overwrite some of them when testing with obscure command lines.
11833 # This happens at least with the AIX C compiler.
11835 for i in 1 2 3 4 5 6; do
11836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11837 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11838 # Solaris 8's {/usr,}/bin/sh.
11839 touch sub/conftst$i.h
11841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11843 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11844 # mode. It turns out that the SunPro C++ compiler does not properly
11845 # handle `-M -o', and we need to detect this. Also, some Intel
11846 # versions had trouble with output in subdirs
11847 am__obj=sub/conftest.${OBJEXT-o}
11848 am__minus_obj="-o $am__obj"
11851 # This depmode causes a compiler race in universal mode.
11852 test "$am__universal" = false || continue
11855 # after this tag, mechanisms are not by side-effect, so they'll
11856 # only be used when explicitly requested
11857 if test "x$enable_dependency_tracking" = xyes; then
11863 msvisualcpp | msvcmsys)
11864 # This compiler won't grok `-c -o', but also, the minuso test has
11865 # not run yet. These depmodes are late enough in the game, and
11866 # so weak that their functioning should not be impacted.
11867 am__obj=conftest.${OBJEXT-o}
11872 if depmode=$depmode \
11873 source=sub/conftest.c object=$am__obj \
11874 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11875 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11876 >/dev/null 2>conftest.err &&
11877 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11878 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11879 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11880 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11881 # icc doesn't choke on unknown options, it will just issue warnings
11882 # or remarks (even with -Werror). So we grep stderr for any message
11883 # that says an option was ignored or not supported.
11884 # When given -MP, icc 7.0 and 7.1 complain thusly:
11885 # icc: Command line warning: ignoring option '-M'; no argument required
11886 # The diagnosis changed in icc 8.0:
11887 # icc: Command line remark: option '-MP' not supported
11888 if (grep 'ignoring option' conftest.err ||
11889 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11890 am_cv_CC_dependencies_compiler_type=$depmode
11897 rm -rf conftest.dir
11899 am_cv_CC_dependencies_compiler_type=none
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11904 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11905 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11908 test "x$enable_dependency_tracking" != xno \
11909 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11910 am__fastdepCC_TRUE=
11911 am__fastdepCC_FALSE='#'
11913 am__fastdepCC_TRUE='#'
11914 am__fastdepCC_FALSE=
11918 if test "x$CC" != xcc; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11920 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11923 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11925 set dummy $CC; ac_cc=`$as_echo "$2" |
11926 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11927 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11941 # Make sure it works both with $CC and with simple cc.
11942 # We do the test twice because some compilers refuse to overwrite an
11943 # existing .o file with -o, though they will create one.
11944 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11946 if { { case "(($ac_try" in
11947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11948 *) ac_try_echo=$ac_try;;
11950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11951 $as_echo "$ac_try_echo"; } >&5
11952 (eval "$ac_try") 2>&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11955 test $ac_status = 0; } &&
11956 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11958 *) ac_try_echo=$ac_try;;
11960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11961 $as_echo "$ac_try_echo"; } >&5
11962 (eval "$ac_try") 2>&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11965 test $ac_status = 0; };
11967 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11968 if test "x$CC" != xcc; then
11969 # Test first that cc exists at all.
11970 if { ac_try='cc -c conftest.$ac_ext >&5'
11971 { { case "(($ac_try" in
11972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 *) ac_try_echo=$ac_try;;
11975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11976 $as_echo "$ac_try_echo"; } >&5
11977 (eval "$ac_try") 2>&5
11979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11980 test $ac_status = 0; }; }; then
11981 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11983 if { { case "(($ac_try" in
11984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11985 *) ac_try_echo=$ac_try;;
11987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11988 $as_echo "$ac_try_echo"; } >&5
11989 (eval "$ac_try") 2>&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11992 test $ac_status = 0; } &&
11993 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11995 *) ac_try_echo=$ac_try;;
11997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11998 $as_echo "$ac_try_echo"; } >&5
11999 (eval "$ac_try") 2>&5
12001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12002 test $ac_status = 0; };
12007 # cc exists but doesn't like -o.
12008 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12013 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12015 rm -f core conftest*
12018 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12020 $as_echo "yes" >&6; }
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12023 $as_echo "no" >&6; }
12025 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12029 # FIXME: we rely on the cache variable name because
12030 # there is no other way.
12032 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12033 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12034 if test "$am_t" != yes; then
12035 # Losing compiler, so override with the script.
12036 # FIXME: It is wrong to rewrite CC.
12037 # But if we don't then we get into trouble of one sort or another.
12038 # A longer-term fix would be to have automake use am__CC in this case,
12039 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12040 CC="$am_aux_dir/compile $CC"
12045 # compatibility for automake < 1.8
12046 if test -z "$mkdir_p"; then
12047 mkdir_p="../mkinstalldirs"
12052 *linux*) arch=linux;;
12053 *netbsd*) arch=netbsd;;
12058 if test "$ac_env_CFLAGS_set" != set; then
12059 CFLAGS="-Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing"
12062 # Check whether --enable-lib was given.
12063 if test "${enable_lib+set}" = set; then :
12064 enableval=$enable_lib;
12067 # Check whether --enable-util was given.
12068 if test "${enable_util+set}" = set; then :
12069 enableval=$enable_util;
12072 # Check whether --enable-example was given.
12073 if test "${enable_example+set}" = set; then :
12074 enableval=$enable_example;
12077 # Check whether --enable-mtab was given.
12078 if test "${enable_mtab+set}" = set; then :
12079 enableval=$enable_mtab;
12084 # Check whether --with-pkgconfigdir was given.
12085 if test "${with_pkgconfigdir+set}" = set; then :
12086 withval=$with_pkgconfigdir; pkgconfigdir=$withval
12088 pkgconfigdir='${libdir}/pkgconfig'
12095 if test "$enable_lib" != "no"; then
12096 subdirs2="$subdirs2 lib";
12098 if test "$arch" = linux -a "$enable_util" != "no"; then
12099 subdirs2="$subdirs2 util";
12101 if test "$enable_example" != "no"; then
12102 subdirs2="$subdirs2 example";
12104 if test "$enable_mtab" = "no"; then
12106 $as_echo "#define IGNORE_MTAB 1" >>confdefs.h
12110 for ac_func in fork setxattr fdatasync splice vmsplice utimensat
12112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12115 cat >>confdefs.h <<_ACEOF
12116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12122 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12123 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
12125 cat >>confdefs.h <<_ACEOF
12126 #define HAVE_STRUCT_STAT_ST_ATIM 1
12132 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
12133 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
12135 cat >>confdefs.h <<_ACEOF
12136 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12143 libfuse_libs="-pthread"
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12146 $as_echo_n "checking for library containing dlopen... " >&6; }
12147 if ${ac_cv_search_dlopen+:} false; then :
12148 $as_echo_n "(cached) " >&6
12150 ac_func_search_save_LIBS=$LIBS
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12169 for ac_lib in '' dl; do
12170 if test -z "$ac_lib"; then
12171 ac_res="none required"
12174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_search_dlopen=$ac_res
12179 rm -f core conftest.err conftest.$ac_objext \
12181 if ${ac_cv_search_dlopen+:} false; then :
12185 if ${ac_cv_search_dlopen+:} false; then :
12188 ac_cv_search_dlopen=no
12190 rm conftest.$ac_ext
12191 LIBS=$ac_func_search_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12194 $as_echo "$ac_cv_search_dlopen" >&6; }
12195 ac_res=$ac_cv_search_dlopen
12196 if test "$ac_res" != no; then :
12197 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
12202 $as_echo_n "checking for library containing clock_gettime... " >&6; }
12203 if ${ac_cv_search_clock_gettime+:} false; then :
12204 $as_echo_n "(cached) " >&6
12206 ac_func_search_save_LIBS=$LIBS
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12216 char clock_gettime ();
12220 return clock_gettime ();
12225 for ac_lib in '' rt; do
12226 if test -z "$ac_lib"; then
12227 ac_res="none required"
12230 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12232 if ac_fn_c_try_link "$LINENO"; then :
12233 ac_cv_search_clock_gettime=$ac_res
12235 rm -f core conftest.err conftest.$ac_objext \
12237 if ${ac_cv_search_clock_gettime+:} false; then :
12241 if ${ac_cv_search_clock_gettime+:} false; then :
12244 ac_cv_search_clock_gettime=no
12246 rm conftest.$ac_ext
12247 LIBS=$ac_func_search_save_LIBS
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
12250 $as_echo "$ac_cv_search_clock_gettime" >&6; }
12251 ac_res=$ac_cv_search_clock_gettime
12252 if test "$ac_res" != no; then :
12253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12257 libfuse_libs="$libfuse_libs $LIBS"
12260 # Check whether --with-libiconv-prefix was given.
12261 if test "${with_libiconv_prefix+set}" = set; then :
12262 withval=$with_libiconv_prefix;
12263 for dir in `echo "$withval" | tr : ' '`; do
12264 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
12265 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
12271 if test "X$prefix" = "XNONE"; then
12272 acl_final_prefix="$ac_default_prefix"
12274 acl_final_prefix="$prefix"
12276 if test "X$exec_prefix" = "XNONE"; then
12277 acl_final_exec_prefix='${prefix}'
12279 acl_final_exec_prefix="$exec_prefix"
12281 acl_save_prefix="$prefix"
12282 prefix="$acl_final_prefix"
12283 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12284 prefix="$acl_save_prefix"
12287 # Check whether --with-gnu-ld was given.
12288 if test "${with_gnu_ld+set}" = set; then :
12289 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12294 # Prepare PATH_SEPARATOR.
12295 # The user is always right.
12296 if test "${PATH_SEPARATOR+set}" != set; then
12297 echo "#! /bin/sh" >conf$$.sh
12298 echo "exit 0" >>conf$$.sh
12300 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12308 if test "$GCC" = yes; then
12309 # Check if gcc -print-prog-name=ld gives a path.
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12311 $as_echo_n "checking for ld used by GCC... " >&6; }
12314 # gcc leaves a trailing carriage return which upsets mingw
12315 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12317 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12320 # Accept absolute paths.
12321 [\\/]* | [A-Za-z]:[\\/]*)
12322 re_direlt='/[^/][^/]*/\.\./'
12323 # Canonicalize the path of ld
12324 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12325 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12326 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12328 test -z "$LD" && LD="$ac_prog"
12331 # If it fails, then pretend we aren't using GCC.
12335 # If it is relative, then search for the first ld in PATH.
12336 with_gnu_ld=unknown
12339 elif test "$with_gnu_ld" = yes; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12341 $as_echo_n "checking for GNU ld... " >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12344 $as_echo_n "checking for non-GNU ld... " >&6; }
12346 if ${acl_cv_path_LD+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 if test -z "$LD"; then
12350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12351 for ac_dir in $PATH; do
12352 test -z "$ac_dir" && ac_dir=.
12353 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12354 acl_cv_path_LD="$ac_dir/$ac_prog"
12355 # Check to see if the program is GNU ld. I'd rather use --version,
12356 # but apparently some GNU ld's only accept -v.
12357 # Break only if it was the GNU/non-GNU ld that we prefer.
12358 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12359 *GNU* | *'with BFD'*)
12360 test "$with_gnu_ld" != no && break ;;
12362 test "$with_gnu_ld" != yes && break ;;
12368 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12372 LD="$acl_cv_path_LD"
12373 if test -n "$LD"; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12375 $as_echo "$LD" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 $as_echo "no" >&6; }
12380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12383 if ${acl_cv_prog_gnu_ld+:} false; then :
12384 $as_echo_n "(cached) " >&6
12386 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12387 case `$LD -v 2>&1 </dev/null` in
12388 *GNU* | *'with BFD'*)
12389 acl_cv_prog_gnu_ld=yes ;;
12391 acl_cv_prog_gnu_ld=no ;;
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12395 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12396 with_gnu_ld=$acl_cv_prog_gnu_ld
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12402 $as_echo_n "checking for shared library run path origin... " >&6; }
12403 if ${acl_cv_rpath+:} false; then :
12404 $as_echo_n "(cached) " >&6
12407 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12408 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12410 rm -f ./conftest.sh
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12415 $as_echo "$acl_cv_rpath" >&6; }
12417 acl_libext="$acl_cv_libext"
12418 acl_shlibext="$acl_cv_shlibext"
12419 acl_libname_spec="$acl_cv_libname_spec"
12420 acl_library_names_spec="$acl_cv_library_names_spec"
12421 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12422 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12423 acl_hardcode_direct="$acl_cv_hardcode_direct"
12424 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12425 # Check whether --enable-rpath was given.
12426 if test "${enable_rpath+set}" = set; then :
12427 enableval=$enable_rpath; :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
12440 $as_echo_n "checking for 64-bit host... " >&6; }
12441 if ${gl_cv_solaris_64bit+:} false; then :
12442 $as_echo_n "(cached) " >&6
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12453 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
12454 gl_cv_solaris_64bit=yes
12456 gl_cv_solaris_64bit=no
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
12463 $as_echo "$gl_cv_solaris_64bit" >&6; }
12464 if test $gl_cv_solaris_64bit = yes; then
12465 acl_libdirstem=lib/64
12466 case "$host_cpu" in
12467 sparc*) acl_libdirstem2=lib/sparcv9 ;;
12468 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
12473 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12474 if test -n "$searchpath"; then
12475 acl_save_IFS="${IFS= }"; IFS=":"
12476 for searchdir in $searchpath; do
12477 if test -d "$searchdir"; then
12478 case "$searchdir" in
12479 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12481 # Better ignore directories of this form. They are misleading.
12483 *) searchdir=`cd "$searchdir" && pwd`
12484 case "$searchdir" in
12485 */lib64 ) acl_libdirstem=lib64 ;;
12490 IFS="$acl_save_IFS"
12494 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
12509 acl_save_prefix="$prefix"
12510 prefix="$acl_final_prefix"
12511 acl_save_exec_prefix="$exec_prefix"
12512 exec_prefix="$acl_final_exec_prefix"
12514 eval additional_includedir=\"$includedir\"
12515 eval additional_libdir=\"$libdir\"
12517 exec_prefix="$acl_save_exec_prefix"
12518 prefix="$acl_save_prefix"
12521 # Check whether --with-libiconv-prefix was given.
12522 if test "${with_libiconv_prefix+set}" = set; then :
12523 withval=$with_libiconv_prefix;
12524 if test "X$withval" = "Xno"; then
12527 if test "X$withval" = "X"; then
12529 acl_save_prefix="$prefix"
12530 prefix="$acl_final_prefix"
12531 acl_save_exec_prefix="$exec_prefix"
12532 exec_prefix="$acl_final_exec_prefix"
12534 eval additional_includedir=\"$includedir\"
12535 eval additional_libdir=\"$libdir\"
12537 exec_prefix="$acl_save_exec_prefix"
12538 prefix="$acl_save_prefix"
12541 additional_includedir="$withval/include"
12542 additional_libdir="$withval/$acl_libdirstem"
12543 if test "$acl_libdirstem2" != "$acl_libdirstem" \
12544 && ! test -d "$withval/$acl_libdirstem"; then
12545 additional_libdir="$withval/$acl_libdirstem2"
12559 names_already_handled=
12560 names_next_round='iconv '
12561 while test -n "$names_next_round"; do
12562 names_this_round="$names_next_round"
12564 for name in $names_this_round; do
12566 for n in $names_already_handled; do
12567 if test "$n" = "$name"; then
12568 already_handled=yes
12572 if test -z "$already_handled"; then
12573 names_already_handled="$names_already_handled $name"
12574 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12575 eval value=\"\$HAVE_LIB$uppername\"
12576 if test -n "$value"; then
12577 if test "$value" = yes; then
12578 eval value=\"\$LIB$uppername\"
12579 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12580 eval value=\"\$LTLIB$uppername\"
12581 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12590 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12591 if test -n "$acl_shlibext"; then
12592 shrext=".$acl_shlibext" # typically: shrext=.so
12596 if test $use_additional = yes; then
12597 dir="$additional_libdir"
12598 if test -n "$acl_shlibext"; then
12599 if test -f "$dir/$libname$shrext"; then
12601 found_so="$dir/$libname$shrext"
12603 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12604 ver=`(cd "$dir" && \
12605 for f in "$libname$shrext".*; do echo "$f"; done \
12606 | sed -e "s,^$libname$shrext\\\\.,," \
12607 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12608 | sed 1q ) 2>/dev/null`
12609 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12611 found_so="$dir/$libname$shrext.$ver"
12614 eval library_names=\"$acl_library_names_spec\"
12615 for f in $library_names; do
12616 if test -f "$dir/$f"; then
12625 if test "X$found_dir" = "X"; then
12626 if test -f "$dir/$libname.$acl_libext"; then
12628 found_a="$dir/$libname.$acl_libext"
12631 if test "X$found_dir" != "X"; then
12632 if test -f "$dir/$libname.la"; then
12633 found_la="$dir/$libname.la"
12637 if test "X$found_dir" = "X"; then
12638 for x in $LDFLAGS $LTLIBICONV; do
12640 acl_save_prefix="$prefix"
12641 prefix="$acl_final_prefix"
12642 acl_save_exec_prefix="$exec_prefix"
12643 exec_prefix="$acl_final_exec_prefix"
12645 exec_prefix="$acl_save_exec_prefix"
12646 prefix="$acl_save_prefix"
12650 dir=`echo "X$x" | sed -e 's/^X-L//'`
12651 if test -n "$acl_shlibext"; then
12652 if test -f "$dir/$libname$shrext"; then
12654 found_so="$dir/$libname$shrext"
12656 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12657 ver=`(cd "$dir" && \
12658 for f in "$libname$shrext".*; do echo "$f"; done \
12659 | sed -e "s,^$libname$shrext\\\\.,," \
12660 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12661 | sed 1q ) 2>/dev/null`
12662 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12664 found_so="$dir/$libname$shrext.$ver"
12667 eval library_names=\"$acl_library_names_spec\"
12668 for f in $library_names; do
12669 if test -f "$dir/$f"; then
12678 if test "X$found_dir" = "X"; then
12679 if test -f "$dir/$libname.$acl_libext"; then
12681 found_a="$dir/$libname.$acl_libext"
12684 if test "X$found_dir" != "X"; then
12685 if test -f "$dir/$libname.la"; then
12686 found_la="$dir/$libname.la"
12691 if test "X$found_dir" != "X"; then
12696 if test "X$found_dir" != "X"; then
12697 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12698 if test "X$found_so" != "X"; then
12699 if test "$enable_rpath" = no \
12700 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
12701 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
12702 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12705 for x in $ltrpathdirs; do
12706 if test "X$x" = "X$found_dir"; then
12711 if test -z "$haveit"; then
12712 ltrpathdirs="$ltrpathdirs $found_dir"
12714 if test "$acl_hardcode_direct" = yes; then
12715 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12717 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12718 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12720 for x in $rpathdirs; do
12721 if test "X$x" = "X$found_dir"; then
12726 if test -z "$haveit"; then
12727 rpathdirs="$rpathdirs $found_dir"
12731 for x in $LDFLAGS $LIBICONV; do
12733 acl_save_prefix="$prefix"
12734 prefix="$acl_final_prefix"
12735 acl_save_exec_prefix="$exec_prefix"
12736 exec_prefix="$acl_final_exec_prefix"
12738 exec_prefix="$acl_save_exec_prefix"
12739 prefix="$acl_save_prefix"
12741 if test "X$x" = "X-L$found_dir"; then
12746 if test -z "$haveit"; then
12747 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12749 if test "$acl_hardcode_minus_L" != no; then
12750 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12752 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12758 if test "X$found_a" != "X"; then
12759 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12761 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12764 additional_includedir=
12765 case "$found_dir" in
12766 */$acl_libdirstem | */$acl_libdirstem/)
12767 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12768 if test "$name" = 'iconv'; then
12769 LIBICONV_PREFIX="$basedir"
12771 additional_includedir="$basedir/include"
12773 */$acl_libdirstem2 | */$acl_libdirstem2/)
12774 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
12775 if test "$name" = 'iconv'; then
12776 LIBICONV_PREFIX="$basedir"
12778 additional_includedir="$basedir/include"
12781 if test "X$additional_includedir" != "X"; then
12782 if test "X$additional_includedir" != "X/usr/include"; then
12784 if test "X$additional_includedir" = "X/usr/local/include"; then
12785 if test -n "$GCC"; then
12787 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12791 if test -z "$haveit"; then
12792 for x in $CPPFLAGS $INCICONV; do
12794 acl_save_prefix="$prefix"
12795 prefix="$acl_final_prefix"
12796 acl_save_exec_prefix="$exec_prefix"
12797 exec_prefix="$acl_final_exec_prefix"
12799 exec_prefix="$acl_save_exec_prefix"
12800 prefix="$acl_save_prefix"
12802 if test "X$x" = "X-I$additional_includedir"; then
12807 if test -z "$haveit"; then
12808 if test -d "$additional_includedir"; then
12809 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12815 if test -n "$found_la"; then
12816 save_libdir="$libdir"
12817 case "$found_la" in
12818 */* | *\\*) . "$found_la" ;;
12819 *) . "./$found_la" ;;
12821 libdir="$save_libdir"
12822 for dep in $dependency_libs; do
12825 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12826 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
12827 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
12829 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
12830 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
12831 if test -n "$GCC"; then
12833 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12837 if test -z "$haveit"; then
12839 for x in $LDFLAGS $LIBICONV; do
12841 acl_save_prefix="$prefix"
12842 prefix="$acl_final_prefix"
12843 acl_save_exec_prefix="$exec_prefix"
12844 exec_prefix="$acl_final_exec_prefix"
12846 exec_prefix="$acl_save_exec_prefix"
12847 prefix="$acl_save_prefix"
12849 if test "X$x" = "X-L$additional_libdir"; then
12854 if test -z "$haveit"; then
12855 if test -d "$additional_libdir"; then
12856 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12860 for x in $LDFLAGS $LTLIBICONV; do
12862 acl_save_prefix="$prefix"
12863 prefix="$acl_final_prefix"
12864 acl_save_exec_prefix="$exec_prefix"
12865 exec_prefix="$acl_final_exec_prefix"
12867 exec_prefix="$acl_save_exec_prefix"
12868 prefix="$acl_save_prefix"
12870 if test "X$x" = "X-L$additional_libdir"; then
12875 if test -z "$haveit"; then
12876 if test -d "$additional_libdir"; then
12877 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12884 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12885 if test "$enable_rpath" != no; then
12887 for x in $rpathdirs; do
12888 if test "X$x" = "X$dir"; then
12893 if test -z "$haveit"; then
12894 rpathdirs="$rpathdirs $dir"
12897 for x in $ltrpathdirs; do
12898 if test "X$x" = "X$dir"; then
12903 if test -z "$haveit"; then
12904 ltrpathdirs="$ltrpathdirs $dir"
12909 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12912 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12915 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12922 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12929 if test "X$rpathdirs" != "X"; then
12930 if test -n "$acl_hardcode_libdir_separator"; then
12932 for found_dir in $rpathdirs; do
12933 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12935 acl_save_libdir="$libdir"
12937 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12938 libdir="$acl_save_libdir"
12939 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12941 for found_dir in $rpathdirs; do
12942 acl_save_libdir="$libdir"
12943 libdir="$found_dir"
12944 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12945 libdir="$acl_save_libdir"
12946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12950 if test "X$ltrpathdirs" != "X"; then
12951 for found_dir in $ltrpathdirs; do
12952 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12967 am_save_CPPFLAGS="$CPPFLAGS"
12969 for element in $INCICONV; do
12971 for x in $CPPFLAGS; do
12973 acl_save_prefix="$prefix"
12974 prefix="$acl_final_prefix"
12975 acl_save_exec_prefix="$exec_prefix"
12976 exec_prefix="$acl_final_exec_prefix"
12978 exec_prefix="$acl_save_exec_prefix"
12979 prefix="$acl_save_prefix"
12981 if test "X$x" = "X$element"; then
12986 if test -z "$haveit"; then
12987 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12993 $as_echo_n "checking for iconv... " >&6; }
12994 if ${am_cv_func_iconv+:} false; then :
12995 $as_echo_n "(cached) " >&6
12998 am_cv_func_iconv="no, consider installing GNU libiconv"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13002 #include <stdlib.h>
13007 iconv_t cd = iconv_open("","");
13008 iconv(cd,NULL,NULL,NULL,NULL);
13014 if ac_fn_c_try_link "$LINENO"; then :
13015 am_cv_func_iconv=yes
13017 rm -f core conftest.err conftest.$ac_objext \
13018 conftest$ac_exeext conftest.$ac_ext
13019 if test "$am_cv_func_iconv" != yes; then
13020 am_save_LIBS="$LIBS"
13021 LIBS="$LIBS $LIBICONV"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13024 #include <stdlib.h>
13029 iconv_t cd = iconv_open("","");
13030 iconv(cd,NULL,NULL,NULL,NULL);
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 am_cv_lib_iconv=yes
13038 am_cv_func_iconv=yes
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS="$am_save_LIBS"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13047 $as_echo "$am_cv_func_iconv" >&6; }
13048 if test "$am_cv_func_iconv" = yes; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13050 $as_echo_n "checking for working iconv... " >&6; }
13051 if ${am_cv_func_iconv_works+:} false; then :
13052 $as_echo_n "(cached) " >&6
13055 am_save_LIBS="$LIBS"
13056 if test $am_cv_lib_iconv = yes; then
13057 LIBS="$LIBS $LIBICONV"
13059 if test "$cross_compiling" = yes; then :
13061 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13062 *) am_cv_func_iconv_works="guessing yes" ;;
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13069 #include <string.h>
13072 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13075 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13076 if (cd_utf8_to_88591 != (iconv_t)(-1))
13078 static const char input[] = "\342\202\254"; /* EURO SIGN */
13080 const char *inptr = input;
13081 size_t inbytesleft = strlen (input);
13082 char *outptr = buf;
13083 size_t outbytesleft = sizeof (buf);
13084 size_t res = iconv (cd_utf8_to_88591,
13085 (char **) &inptr, &inbytesleft,
13086 &outptr, &outbytesleft);
13091 /* Test against Solaris 10 bug: Failures are not distinguishable from
13092 successful returns. */
13094 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13095 if (cd_ascii_to_88591 != (iconv_t)(-1))
13097 static const char input[] = "\263";
13099 const char *inptr = input;
13100 size_t inbytesleft = strlen (input);
13101 char *outptr = buf;
13102 size_t outbytesleft = sizeof (buf);
13103 size_t res = iconv (cd_ascii_to_88591,
13104 (char **) &inptr, &inbytesleft,
13105 &outptr, &outbytesleft);
13110 #if 0 /* This bug could be worked around by the caller. */
13111 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13113 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13114 if (cd_88591_to_utf8 != (iconv_t)(-1))
13116 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13118 const char *inptr = input;
13119 size_t inbytesleft = strlen (input);
13120 char *outptr = buf;
13121 size_t outbytesleft = sizeof (buf);
13122 size_t res = iconv (cd_88591_to_utf8,
13123 (char **) &inptr, &inbytesleft,
13124 &outptr, &outbytesleft);
13130 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13132 if (/* Try standardized names. */
13133 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13134 /* Try IRIX, OSF/1 names. */
13135 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13136 /* Try AIX names. */
13137 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13138 /* Try HP-UX names. */
13139 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13144 if ac_fn_c_try_run "$LINENO"; then :
13145 am_cv_func_iconv_works=yes
13147 am_cv_func_iconv_works=no
13149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13150 conftest.$ac_objext conftest.beam conftest.$ac_ext
13153 LIBS="$am_save_LIBS"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13157 $as_echo "$am_cv_func_iconv_works" >&6; }
13158 case "$am_cv_func_iconv_works" in
13159 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13160 *) am_func_iconv=yes ;;
13163 am_func_iconv=no am_cv_lib_iconv=no
13165 if test "$am_func_iconv" = yes; then
13167 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13170 if test "$am_cv_lib_iconv" = yes; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13172 $as_echo_n "checking how to link with libiconv... " >&6; }
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13174 $as_echo "$LIBICONV" >&6; }
13176 CPPFLAGS="$am_save_CPPFLAGS"
13183 if test "$am_cv_func_iconv" = yes; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13185 $as_echo_n "checking for iconv declaration... " >&6; }
13186 if ${am_cv_proto_iconv+:} false; then :
13187 $as_echo_n "(cached) " >&6
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 #include <stdlib.h>
13199 #if defined(__STDC__) || defined(__cplusplus)
13200 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13213 if ac_fn_c_try_compile "$LINENO"; then :
13214 am_cv_proto_iconv_arg1=""
13216 am_cv_proto_iconv_arg1="const"
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13222 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
13224 $am_cv_proto_iconv" >&5
13226 $am_cv_proto_iconv" >&6; }
13228 cat >>confdefs.h <<_ACEOF
13229 #define ICONV_CONST $am_cv_proto_iconv_arg1
13234 libfuse_libs="$libfuse_libs $LTLIBICONV"
13235 if test "$am_cv_func_iconv" = yes; then
13245 if test -z "$MOUNT_FUSE_PATH"; then
13246 MOUNT_FUSE_PATH=/sbin
13249 if test -z "$UDEV_RULES_PATH"; then
13250 UDEV_RULES_PATH=/etc/udev/rules.d
13253 if test -z "$INIT_D_PATH"; then
13254 INIT_D_PATH=/etc/init.d
13260 if test "$arch" = linux; then
13268 if test "$arch" = netbsd; then
13276 if test "$arch" = bsd; then
13286 if test "$arch" = linux -a "$cross_compiling" != "yes"; then
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umount supports --fake --no-canonicalize" >&5
13288 $as_echo_n "checking if umount supports --fake --no-canonicalize... " >&6; }
13289 # exit code of umount is 1 if option is unrecognised, 2 otherwise
13290 umount --fake --no-canonicalize > /dev/null 2>&1
13291 if test $? != 1; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13293 $as_echo "yes" >&6; }
13295 firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $firstline" >&5
13297 $as_echo "$firstline" >&6; }
13302 ac_config_files="$ac_config_files fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile"
13304 cat >confcache <<\_ACEOF
13305 # This file is a shell script that caches the results of configure
13306 # tests run on this system so they can be shared between configure
13307 # scripts and configure runs, see configure's option --config-cache.
13308 # It is not useful on other systems. If it contains results you don't
13309 # want to keep, you may remove or edit it.
13311 # config.status only pays attention to the cache file if you give it
13312 # the --recheck option to rerun configure.
13314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13316 # following values.
13320 # The following way of writing the cache mishandles newlines in values,
13321 # but we know of no workaround that is simple, portable, and efficient.
13322 # So, we kill variables containing newlines.
13323 # Ultrix sh set writes to stderr and can't be redirected directly,
13324 # and sets the high bit in the cache file unless we assign to the vars.
13326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13327 eval ac_val=\$$ac_var
13331 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13335 _ | IFS | as_nl) ;; #(
13336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13337 *) { eval $ac_var=; unset $ac_var;} ;;
13343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13344 *${as_nl}ac_space=\ *)
13345 # `set' does not quote correctly, so add quotes: double-quote
13346 # substitution turns \\\\ into \\, and sed turns \\ into \.
13349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13352 # `set' quotes correctly as required by POSIX, so do not add quotes.
13353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13366 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13367 if test -w "$cache_file"; then
13368 if test "x$cache_file" != "x/dev/null"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13370 $as_echo "$as_me: updating cache $cache_file" >&6;}
13371 if test ! -f "$cache_file" || test -h "$cache_file"; then
13372 cat confcache >"$cache_file"
13374 case $cache_file in #(
13376 mv -f confcache "$cache_file"$$ &&
13377 mv -f "$cache_file"$$ "$cache_file" ;; #(
13379 mv -f confcache "$cache_file" ;;
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13391 # Let make expand exec_prefix.
13392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13394 DEFS=-DHAVE_CONFIG_H
13399 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13400 # 1. Remove the extension, and $U if already installed.
13401 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13402 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13403 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13404 # will be set to the directory where LIBOBJS objects are built.
13405 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13406 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13408 LIBOBJS=$ac_libobjs
13410 LTLIBOBJS=$ac_ltlibobjs
13413 if test -n "$EXEEXT"; then
13415 am__EXEEXT_FALSE='#'
13417 am__EXEEXT_TRUE='#'
13421 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13422 as_fn_error $? "conditional \"AMDEP\" was never defined.
13423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13425 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13426 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13429 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13430 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13433 if test -z "${ICONV_TRUE}" && test -z "${ICONV_FALSE}"; then
13434 as_fn_error $? "conditional \"ICONV\" was never defined.
13435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13437 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
13438 as_fn_error $? "conditional \"LINUX\" was never defined.
13439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13441 if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
13442 as_fn_error $? "conditional \"NETBSD\" was never defined.
13443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13445 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
13446 as_fn_error $? "conditional \"BSD\" was never defined.
13447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13450 : "${CONFIG_STATUS=./config.status}"
13452 ac_clean_files_save=$ac_clean_files
13453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13455 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13457 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13459 # Generated by $as_me.
13460 # Run this file to recreate the current configuration.
13461 # Compiler output produced by configure, useful for debugging
13462 # configure, is in config.log if it exists.
13465 ac_cs_recheck=false
13468 SHELL=\${CONFIG_SHELL-$SHELL}
13471 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13472 ## -------------------- ##
13473 ## M4sh Initialization. ##
13474 ## -------------------- ##
13476 # Be more Bourne compatible
13477 DUALCASE=1; export DUALCASE # for MKS sh
13478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13481 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13482 # is contrary to our usage. Disable this feature.
13483 alias -g '${1+"$@"}'='"$@"'
13484 setopt NO_GLOB_SUBST
13486 case `(set -o) 2>/dev/null` in #(
13498 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13499 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13500 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13501 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13502 # Prefer a ksh shell builtin over an external printf program on Solaris,
13503 # but without wasting forks for bash or zsh.
13504 if test -z "$BASH_VERSION$ZSH_VERSION" \
13505 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13506 as_echo='print -r --'
13507 as_echo_n='print -rn --'
13508 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13509 as_echo='printf %s\n'
13510 as_echo_n='printf %s'
13512 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13513 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13514 as_echo_n='/usr/ucb/echo -n'
13516 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13517 as_echo_n_body='eval
13521 expr "X$arg" : "X\\(.*\\)$as_nl";
13522 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13524 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13526 export as_echo_n_body
13527 as_echo_n='sh -c $as_echo_n_body as_echo'
13529 export as_echo_body
13530 as_echo='sh -c $as_echo_body as_echo'
13533 # The user is always right.
13534 if test "${PATH_SEPARATOR+set}" != set; then
13536 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13537 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13544 # We need space, tab and new line, in precisely that order. Quoting is
13545 # there to prevent editors from complaining about space-tab.
13546 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13547 # splitting by setting IFS to empty value.)
13550 # Find who we are. Look in the path if we contain no directory separator.
13553 *[\\/]* ) as_myself=$0 ;;
13554 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13555 for as_dir in $PATH
13558 test -z "$as_dir" && as_dir=.
13559 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13565 # We did not find ourselves, most probably we were run as `sh COMMAND'
13566 # in which case we are not to be found in the path.
13567 if test "x$as_myself" = x; then
13570 if test ! -f "$as_myself"; then
13571 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13575 # Unset variables that we do not need and which cause bugs (e.g. in
13576 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13577 # suppresses any "Segmentation fault" message there. '((' could
13578 # trigger a bug in pdksh 5.2.14.
13579 for as_var in BASH_ENV ENV MAIL MAILPATH
13580 do eval test x\${$as_var+set} = xset \
13581 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13594 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13597 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13598 # ----------------------------------------
13599 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13600 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13601 # script with STATUS, using 1 if that was 0.
13604 as_status=$1; test $as_status -eq 0 && as_status=1
13606 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13607 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13609 $as_echo "$as_me: error: $2" >&2
13610 as_fn_exit $as_status
13614 # as_fn_set_status STATUS
13615 # -----------------------
13616 # Set $? to STATUS, without forking.
13617 as_fn_set_status ()
13620 } # as_fn_set_status
13622 # as_fn_exit STATUS
13623 # -----------------
13624 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13628 as_fn_set_status $1
13634 # Portably unset VAR.
13637 { eval $1=; unset $1;}
13639 as_unset=as_fn_unset
13640 # as_fn_append VAR VALUE
13641 # ----------------------
13642 # Append the text in VALUE to the end of the definition contained in VAR. Take
13643 # advantage of any shell optimizations that allow amortized linear growth over
13644 # repeated appends, instead of the typical quadratic growth present in naive
13646 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13647 eval 'as_fn_append ()
13658 # as_fn_arith ARG...
13659 # ------------------
13660 # Perform arithmetic evaluation on the ARGs, and store the result in the
13661 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13662 # must be portable across $(()) and expr.
13663 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13664 eval 'as_fn_arith ()
13671 as_val=`expr "$@" || test $? -eq 1`
13676 if expr a : '\(a\)' >/dev/null 2>&1 &&
13677 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13683 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13684 as_basename=basename
13689 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13695 as_me=`$as_basename -- "$0" ||
13696 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13697 X"$0" : 'X\(//\)$' \| \
13698 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13700 sed '/^.*\/\([^/][^/]*\)\/*$/{
13714 # Avoid depending upon Character Ranges.
13715 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13716 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13717 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13718 as_cr_digits='0123456789'
13719 as_cr_alnum=$as_cr_Letters$as_cr_digits
13721 ECHO_C= ECHO_N= ECHO_T=
13722 case `echo -n x` in #(((((
13724 case `echo 'xy\c'` in
13725 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13727 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13734 rm -f conf$$ conf$$.exe conf$$.file
13735 if test -d conf$$.dir; then
13736 rm -f conf$$.dir/conf$$.file
13739 mkdir conf$$.dir 2>/dev/null
13741 if (echo >conf$$.file) 2>/dev/null; then
13742 if ln -s conf$$.file conf$$ 2>/dev/null; then
13744 # ... but there are two gotchas:
13745 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13746 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13747 # In both cases, we have to default to `cp -p'.
13748 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13750 elif ln conf$$.file conf$$ 2>/dev/null; then
13758 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13759 rmdir conf$$.dir 2>/dev/null
13764 # Create "$as_dir" as a directory, including parents if necessary.
13769 -*) as_dir=./$as_dir;;
13771 test -d "$as_dir" || eval $as_mkdir_p || {
13775 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13776 *) as_qdir=$as_dir;;
13778 as_dirs="'$as_qdir' $as_dirs"
13779 as_dir=`$as_dirname -- "$as_dir" ||
13780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13781 X"$as_dir" : 'X\(//\)[^/]' \| \
13782 X"$as_dir" : 'X\(//\)$' \| \
13783 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13784 $as_echo X"$as_dir" |
13785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13789 /^X\(\/\/\)[^/].*/{
13802 test -d "$as_dir" && break
13804 test -z "$as_dirs" || eval "mkdir $as_dirs"
13805 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13809 if mkdir -p . 2>/dev/null; then
13810 as_mkdir_p='mkdir -p "$as_dir"'
13812 test -d ./-p && rmdir ./-p
13816 if test -x / >/dev/null 2>&1; then
13817 as_test_x='test -x'
13819 if ls -dL / >/dev/null 2>&1; then
13826 if test -d "$1"; then
13832 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13833 ???[sx]*):;;*)false;;esac;fi
13837 as_executable_p=$as_test_x
13839 # Sed expression to map a string onto a valid CPP name.
13840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13842 # Sed expression to map a string onto a valid variable name.
13843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13847 ## ----------------------------------- ##
13848 ## Main body of $CONFIG_STATUS script. ##
13849 ## ----------------------------------- ##
13851 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13854 # Save the log message, to keep $0 and so on meaningful, and to
13855 # report actual input values of CONFIG_FILES etc. instead of their
13856 # values after options handling.
13858 This file was extended by fuse $as_me 2.9.0, which was
13859 generated by GNU Autoconf 2.68. Invocation command line was
13861 CONFIG_FILES = $CONFIG_FILES
13862 CONFIG_HEADERS = $CONFIG_HEADERS
13863 CONFIG_LINKS = $CONFIG_LINKS
13864 CONFIG_COMMANDS = $CONFIG_COMMANDS
13867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13872 case $ac_config_files in *"
13873 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13876 case $ac_config_headers in *"
13877 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13882 # Files that config.status was made for.
13883 config_files="$ac_config_files"
13884 config_headers="$ac_config_headers"
13885 config_commands="$ac_config_commands"
13889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13891 \`$as_me' instantiates files and other configuration actions
13892 from templates according to the current configuration. Unless the files
13893 and actions are specified as TAGs, all are instantiated by default.
13895 Usage: $0 [OPTION]... [TAG]...
13897 -h, --help print this help, then exit
13898 -V, --version print version number and configuration settings, then exit
13899 --config print configuration, then exit
13900 -q, --quiet, --silent
13901 do not print progress messages
13902 -d, --debug don't remove temporary files
13903 --recheck update $as_me by reconfiguring in the same conditions
13904 --file=FILE[:TEMPLATE]
13905 instantiate the configuration file FILE
13906 --header=FILE[:TEMPLATE]
13907 instantiate the configuration header FILE
13909 Configuration files:
13912 Configuration headers:
13915 Configuration commands:
13918 Report bugs to the package provider."
13921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13922 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13924 fuse config.status 2.9.0
13925 configured by $0, generated by GNU Autoconf 2.68,
13926 with options \\"\$ac_cs_config\\"
13928 Copyright (C) 2010 Free Software Foundation, Inc.
13929 This config.status script is free software; the Free Software Foundation
13930 gives unlimited permission to copy, distribute and modify it."
13937 test -n "\$AWK" || AWK=awk
13940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13941 # The default lists apply if the user does not specify any file.
13947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13948 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13952 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13964 # Handling of the options.
13965 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13967 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13968 $as_echo "$ac_cs_version"; exit ;;
13969 --config | --confi | --conf | --con | --co | --c )
13970 $as_echo "$ac_cs_config"; exit ;;
13971 --debug | --debu | --deb | --de | --d | -d )
13973 --file | --fil | --fi | --f )
13976 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13977 '') as_fn_error $? "missing file argument" ;;
13979 as_fn_append CONFIG_FILES " '$ac_optarg'"
13980 ac_need_defaults=false;;
13981 --header | --heade | --head | --hea )
13984 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13986 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13987 ac_need_defaults=false;;
13989 # Conflict between --help and --header
13990 as_fn_error $? "ambiguous option: \`$1'
13991 Try \`$0 --help' for more information.";;
13992 --help | --hel | -h )
13993 $as_echo "$ac_cs_usage"; exit ;;
13994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13995 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13998 # This is an error.
13999 -*) as_fn_error $? "unrecognized option: \`$1'
14000 Try \`$0 --help' for more information." ;;
14002 *) as_fn_append ac_config_targets " $1"
14003 ac_need_defaults=false ;;
14009 ac_configure_extra_args=
14011 if $ac_cs_silent; then
14013 ac_configure_extra_args="$ac_configure_extra_args --silent"
14017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14018 if \$ac_cs_recheck; then
14019 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14021 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14022 CONFIG_SHELL='$SHELL'
14023 export CONFIG_SHELL
14028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14032 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14033 ## Running $as_me. ##
14039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14043 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14046 # The HP-UX ksh and POSIX shell print the target directory to stdout
14047 # if CDPATH is set.
14048 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14050 sed_quote_subst='$sed_quote_subst'
14051 double_quote_subst='$double_quote_subst'
14052 delay_variable_subst='$delay_variable_subst'
14053 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14054 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14055 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14056 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14057 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14058 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14059 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14060 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14061 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14062 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14063 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14064 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14065 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14066 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14067 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14068 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14069 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14070 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14071 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14072 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14073 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14074 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14075 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14076 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14077 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14078 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14079 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14080 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14081 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14082 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14083 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14084 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14085 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14086 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14087 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14088 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14089 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14090 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14091 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14092 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14093 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14094 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14095 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14096 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14097 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14098 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14099 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14100 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14101 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14102 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14103 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14104 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14105 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14106 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14107 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14108 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"`'
14109 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14110 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14111 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14112 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14113 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14114 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14115 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14116 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14117 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14118 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14119 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14120 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14121 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14122 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14123 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14124 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14125 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14126 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14127 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14128 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14129 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14130 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14131 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14132 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14133 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14134 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14135 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14136 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14137 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14138 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14139 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14140 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14141 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14142 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14143 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14144 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14145 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14146 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14147 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14148 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14149 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14150 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14151 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14152 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14153 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14154 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14155 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14156 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14157 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14158 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14159 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14160 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14161 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14162 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14163 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14164 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14165 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14166 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14167 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14168 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14169 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14170 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14171 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14172 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14173 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14174 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14175 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14176 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14177 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14178 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14179 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14180 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14181 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14182 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14185 LTCFLAGS='$LTCFLAGS'
14186 compiler='$compiler_DEFAULT'
14188 # A function that is used when there is no print builtin or printf.
14189 func_fallback_echo ()
14191 eval 'cat <<_LTECHO_EOF
14196 # Quote evaled strings.
14210 deplibs_check_method \
14215 sharedlib_from_linklib_cmd \
14218 archiver_list_spec \
14224 lt_cv_sys_global_symbol_pipe \
14225 lt_cv_sys_global_symbol_to_cdecl \
14226 lt_cv_sys_global_symbol_to_c_name_address \
14227 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14228 nm_file_list_spec \
14229 lt_prog_compiler_no_builtin_flag \
14230 lt_prog_compiler_pic \
14231 lt_prog_compiler_wl \
14232 lt_prog_compiler_static \
14233 lt_cv_prog_compiler_c_o \
14242 export_dynamic_flag_spec \
14243 whole_archive_flag_spec \
14244 compiler_needs_object \
14246 allow_undefined_flag \
14247 no_undefined_flag \
14248 hardcode_libdir_flag_spec \
14249 hardcode_libdir_flag_spec_ld \
14250 hardcode_libdir_separator \
14254 variables_saved_for_relink \
14256 library_names_spec \
14258 install_override_mode \
14262 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14263 *[\\\\\\\`\\"\\\$]*)
14264 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14267 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14272 # Double-quote double-evaled strings.
14273 for var in reload_cmds \
14274 old_postinstall_cmds \
14275 old_postuninstall_cmds \
14277 extract_expsyms_cmds \
14278 old_archive_from_new_cmds \
14279 old_archive_from_expsyms_cmds \
14281 archive_expsym_cmds \
14283 module_expsym_cmds \
14284 export_symbols_cmds \
14288 postuninstall_cmds \
14290 sys_lib_search_path_spec \
14291 sys_lib_dlsearch_path_spec; do
14292 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14293 *[\\\\\\\`\\"\\\$]*)
14294 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14297 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14302 ac_aux_dir='$ac_aux_dir'
14303 xsi_shell='$xsi_shell'
14304 lt_shell_append='$lt_shell_append'
14306 # See if we are running on zsh, and set the options which allow our
14307 # commands through without removal of \ escapes INIT.
14308 if test -n "\${ZSH_VERSION+set}" ; then
14309 setopt NO_GLOB_SUBST
14315 TIMESTAMP='$TIMESTAMP'
14324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14326 # Handling of arguments.
14327 for ac_config_target in $ac_config_targets
14329 case $ac_config_target in
14330 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14331 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14332 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14333 "fuse.pc") CONFIG_FILES="$CONFIG_FILES fuse.pc" ;;
14334 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14335 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14336 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
14337 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
14338 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14339 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14341 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14346 # If the user did not use the arguments to specify the items to instantiate,
14347 # then the envvar interface is used. Set only those that are not.
14348 # We use the long form for the default assignment because of an extremely
14349 # bizarre bug on SunOS 4.1.3.
14350 if $ac_need_defaults; then
14351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14353 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14356 # Have a temporary directory for convenience. Make it in the build tree
14357 # simply because there is no reason against having it here, and in addition,
14358 # creating and moving files from /tmp can sometimes cause problems.
14359 # Hook for its removal unless debugging.
14360 # Note that there is a small window in which the directory will not be cleaned:
14361 # after its creation but before its name has been assigned to `$tmp'.
14365 trap 'exit_status=$?
14366 : "${ac_tmp:=$tmp}"
14367 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14369 trap 'as_fn_exit 1' 1 2 13 15
14371 # Create a (secure) tmp directory for tmp files.
14374 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14378 tmp=./conf$$-$RANDOM
14379 (umask 077 && mkdir "$tmp")
14380 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14383 # Set up the scripts for CONFIG_FILES section.
14384 # No need to generate them if there are no CONFIG_FILES.
14385 # This happens for instance with `./config.status config.h'.
14386 if test -n "$CONFIG_FILES"; then
14389 ac_cr=`echo X | tr X '\015'`
14390 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14391 # But we know of no other shell where ac_cr would be empty at this
14392 # point, so we can use a bashism as a fallback.
14393 if test "x$ac_cr" = x; then
14394 eval ac_cr=\$\'\\r\'
14396 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14397 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14400 ac_cs_awk_cr=$ac_cr
14403 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14408 echo "cat >conf$$subs.awk <<_ACEOF" &&
14409 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14411 } >conf$$subs.sh ||
14412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14413 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14415 for ac_last_try in false false false false false :; do
14416 . ./conf$$subs.sh ||
14417 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14419 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14420 if test $ac_delim_n = $ac_delim_num; then
14422 elif $ac_last_try; then
14423 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14428 rm -f conf$$subs.sh
14430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14431 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14435 s/^/S["/; s/!.*/"]=/
14445 s/\(.\{148\}\)..*/\1/
14447 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14452 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14459 s/\(.\{148\}\)..*/\1/
14461 s/["\\]/\\&/g; s/^/"/; s/$/"/
14465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14470 ' <conf$$subs.awk | sed '
14475 ' >>$CONFIG_STATUS || ac_write_fail=1
14476 rm -f conf$$subs.awk
14477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14479 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14480 for (key in S) S_is_set[key] = 1
14486 nfields = split(line, field, "@")
14488 len = length(field[1])
14489 for (i = 2; i < nfields; i++) {
14491 keylen = length(key)
14492 if (S_is_set[key]) {
14494 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14495 len += length(value) + length(field[++i])
14506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14507 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14508 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14511 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14512 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14515 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14516 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14517 # trailing colons and then remove the whole line if VPATH becomes empty
14518 # (actually we leave an empty line to preserve line numbers).
14519 if test "x$srcdir" = x.; then
14520 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14539 fi # test -n "$CONFIG_FILES"
14541 # Set up the scripts for CONFIG_HEADERS section.
14542 # No need to generate them if there are no CONFIG_HEADERS.
14543 # This happens for instance with `./config.status Makefile'.
14544 if test -n "$CONFIG_HEADERS"; then
14545 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14549 # Transform confdefs.h into an awk script `defines.awk', embedded as
14550 # here-document in config.status, that substitutes the proper values into
14551 # config.h.in to produce config.h.
14553 # Create a delimiter string that does not exist in confdefs.h, to ease
14554 # handling of long lines.
14556 for ac_last_try in false false :; do
14557 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14558 if test -z "$ac_tt"; then
14560 elif $ac_last_try; then
14561 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14567 # For the awk script, D is an array of macro values keyed by name,
14568 # likewise P contains macro parameters if any. Preserve backslash
14569 # newline sequences.
14571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14573 s/.\{148\}/&'"$ac_delim"'/g
14576 s/^[ ]*#[ ]*define[ ][ ]*/ /
14583 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14590 D["\1"]=" \3\\\\\\n"\\/p
14592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14597 s/.\{148\}/&'"$ac_delim"'/g
14602 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14605 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14607 ' <confdefs.h | sed '
14608 s/'"$ac_delim"'/"\\\
14609 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14612 for (key in D) D_is_set[key] = 1
14615 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14617 split(line, arg, " ")
14618 if (arg[1] == "#") {
14622 defundef = substr(arg[1], 2)
14625 split(mac1, mac2, "(") #)
14627 prefix = substr(line, 1, index(line, defundef) - 1)
14628 if (D_is_set[macro]) {
14629 # Preserve the white space surrounding the "#".
14630 print prefix "define", macro P[macro] D[macro]
14633 # Replace #undef with comments. This is necessary, for example,
14634 # in the case of _POSIX_SOURCE, which is predefined and required
14635 # on some systems where configure will not decide to define it.
14636 if (defundef == "undef") {
14637 print "/*", prefix defundef, macro, "*/"
14645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14646 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14647 fi # test -n "$CONFIG_HEADERS"
14650 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14655 :[FHLC]) ac_mode=$ac_tag; continue;;
14657 case $ac_mode$ac_tag in
14659 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14660 :[FH]-) ac_tag=-:-;;
14661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14678 -) ac_f="$ac_tmp/stdin";;
14679 *) # Look for the file first in the build tree, then in the source tree
14680 # (if the path is not absolute). The absolute path cannot be DOS-style,
14681 # because $ac_f cannot contain `:'.
14685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14687 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14689 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14690 as_fn_append ac_file_inputs " '$ac_f'"
14693 # Let's still pretend it is `configure' which instantiates (i.e., don't
14694 # use $as_me), people would be surprised to read:
14695 # /* config.h. Generated by config.status. */
14696 configure_input='Generated from '`
14697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14699 if test x"$ac_file" != x-; then
14700 configure_input="$ac_file. $configure_input"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14702 $as_echo "$as_me: creating $ac_file" >&6;}
14704 # Neutralize special characters interpreted by sed in replacement strings.
14705 case $configure_input in #(
14706 *\&* | *\|* | *\\* )
14707 ac_sed_conf_input=`$as_echo "$configure_input" |
14708 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14709 *) ac_sed_conf_input=$configure_input;;
14713 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14719 ac_dir=`$as_dirname -- "$ac_file" ||
14720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14721 X"$ac_file" : 'X\(//\)[^/]' \| \
14722 X"$ac_file" : 'X\(//\)$' \| \
14723 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14724 $as_echo X"$ac_file" |
14725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14729 /^X\(\/\/\)[^/].*/{
14742 as_dir="$ac_dir"; as_fn_mkdir_p
14746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14748 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14749 # A ".." for each directory in $ac_dir_suffix.
14750 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14751 case $ac_top_builddir_sub in
14752 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14753 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14756 ac_abs_top_builddir=$ac_pwd
14757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14758 # for backward compatibility:
14759 ac_top_builddir=$ac_top_build_prefix
14762 .) # We are building in place.
14764 ac_top_srcdir=$ac_top_builddir_sub
14765 ac_abs_top_srcdir=$ac_pwd ;;
14766 [\\/]* | ?:[\\/]* ) # Absolute name.
14767 ac_srcdir=$srcdir$ac_dir_suffix;
14768 ac_top_srcdir=$srcdir
14769 ac_abs_top_srcdir=$srcdir ;;
14770 *) # Relative name.
14771 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14772 ac_top_srcdir=$ac_top_build_prefix$srcdir
14773 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14785 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14786 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14788 ac_MKDIR_P=$MKDIR_P
14790 [\\/$]* | ?:[\\/]* ) ;;
14791 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14796 # If the template does not know about datarootdir, expand it.
14797 # FIXME: This hack should be removed a few years after 2.60.
14798 ac_datarootdir_hack=; ac_datarootdir_seen=
14809 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14810 *datarootdir*) ac_datarootdir_seen=yes;;
14811 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14813 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14816 ac_datarootdir_hack='
14817 s&@datadir@&$datadir&g
14818 s&@docdir@&$docdir&g
14819 s&@infodir@&$infodir&g
14820 s&@localedir@&$localedir&g
14821 s&@mandir@&$mandir&g
14822 s&\\\${datarootdir}&$datarootdir&g' ;;
14826 # Neutralize VPATH when `$srcdir' = `.'.
14827 # Shell code in configure.ac might set extrasub.
14828 # FIXME: do we really want to maintain this feature?
14829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14830 ac_sed_extra="$ac_vpsub
14833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14835 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14836 s|@configure_input@|$ac_sed_conf_input|;t t
14837 s&@top_builddir@&$ac_top_builddir_sub&;t t
14838 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14839 s&@srcdir@&$ac_srcdir&;t t
14840 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14841 s&@top_srcdir@&$ac_top_srcdir&;t t
14842 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14843 s&@builddir@&$ac_builddir&;t t
14844 s&@abs_builddir@&$ac_abs_builddir&;t t
14845 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14846 s&@INSTALL@&$ac_INSTALL&;t t
14847 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14848 $ac_datarootdir_hack
14850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14851 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14856 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14858 which seems to be undefined. Please make sure it is defined" >&5
14859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14860 which seems to be undefined. Please make sure it is defined" >&2;}
14862 rm -f "$ac_tmp/stdin"
14864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14873 if test x"$ac_file" != x-; then
14875 $as_echo "/* $configure_input */" \
14876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14877 } >"$ac_tmp/config.h" \
14878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14879 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14881 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14884 mv "$ac_tmp/config.h" "$ac_file" \
14885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14888 $as_echo "/* $configure_input */" \
14889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14890 || as_fn_error $? "could not create -" "$LINENO" 5
14892 # Compute "$ac_file"'s index in $config_headers.
14895 for _am_header in $config_headers :; do
14896 case $_am_header in
14897 $_am_arg | $_am_arg:* )
14900 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14903 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14904 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14905 X"$_am_arg" : 'X\(//\)[^/]' \| \
14906 X"$_am_arg" : 'X\(//\)$' \| \
14907 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14908 $as_echo X"$_am_arg" |
14909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14913 /^X\(\/\/\)[^/].*/{
14925 s/.*/./; q'`/stamp-h$_am_stamp_count
14928 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14929 $as_echo "$as_me: executing $ac_file commands" >&6;}
14934 case $ac_file$ac_mode in
14935 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14936 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14937 # are listed without --file. Let's play safe and only enable the eval
14938 # if we detect the quoting.
14939 case $CONFIG_FILES in
14940 *\'*) eval set x "$CONFIG_FILES" ;;
14941 *) set x $CONFIG_FILES ;;
14946 # Strip MF so we end up with the name of the file.
14947 mf=`echo "$mf" | sed -e 's/:.*$//'`
14948 # Check whether this is an Automake generated Makefile or not.
14949 # We used to match only the files named `Makefile.in', but
14950 # some people rename them; so instead we look at the file content.
14951 # Grep'ing the first line is not enough: some people post-process
14952 # each Makefile.in and add a new line on top of each file to say so.
14953 # Grep'ing the whole file is not good either: AIX grep has a line
14954 # limit of 2048, but all sed's we know have understand at least 4000.
14955 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14956 dirpart=`$as_dirname -- "$mf" ||
14957 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14958 X"$mf" : 'X\(//\)[^/]' \| \
14959 X"$mf" : 'X\(//\)$' \| \
14960 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14966 /^X\(\/\/\)[^/].*/{
14982 # Extract the definition of DEPDIR, am__include, and am__quote
14983 # from the Makefile without running `make'.
14984 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14985 test -z "$DEPDIR" && continue
14986 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14987 test -z "am__include" && continue
14988 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14989 # When using ansi2knr, U may be empty or an underscore; expand it
14990 U=`sed -n 's/^U = //p' < "$mf"`
14991 # Find all dependency output files, they are included files with
14992 # $(DEPDIR) in their names. We invoke sed twice because it is the
14993 # simplest approach to changing $(DEPDIR) to its actual value in the
14995 for file in `sed -n "
14996 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14997 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14998 # Make sure the directory exists.
14999 test -f "$dirpart/$file" && continue
15000 fdir=`$as_dirname -- "$file" ||
15001 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15002 X"$file" : 'X\(//\)[^/]' \| \
15003 X"$file" : 'X\(//\)$' \| \
15004 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15005 $as_echo X"$file" |
15006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15010 /^X\(\/\/\)[^/].*/{
15023 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15024 # echo "creating $dirpart/$file"
15025 echo '# dummy' > "$dirpart/$file"
15032 # See if we are running on zsh, and set the options which allow our
15033 # commands through without removal of \ escapes.
15034 if test -n "${ZSH_VERSION+set}" ; then
15035 setopt NO_GLOB_SUBST
15038 cfgfile="${ofile}T"
15039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15042 cat <<_LT_EOF >> "$cfgfile"
15045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15050 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15051 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15053 # Written by Gordon Matzigkeit, 1996
15055 # This file is part of GNU Libtool.
15057 # GNU Libtool is free software; you can redistribute it and/or
15058 # modify it under the terms of the GNU General Public License as
15059 # published by the Free Software Foundation; either version 2 of
15060 # the License, or (at your option) any later version.
15062 # As a special exception to the GNU General Public License,
15063 # if you distribute this file as part of a program or library that
15064 # is built using GNU Libtool, you may include this file under the
15065 # same distribution terms that you use for the rest of that program.
15067 # GNU Libtool is distributed in the hope that it will be useful,
15068 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15069 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15070 # GNU General Public License for more details.
15072 # You should have received a copy of the GNU General Public License
15073 # along with GNU Libtool; see the file COPYING. If not, a copy
15074 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15075 # obtained by writing to the Free Software Foundation, Inc.,
15076 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15079 # The names of the tagged configurations supported by this script.
15082 # ### BEGIN LIBTOOL CONFIG
15084 # Which release of libtool.m4 was used?
15085 macro_version=$macro_version
15086 macro_revision=$macro_revision
15088 # Whether or not to build shared libraries.
15089 build_libtool_libs=$enable_shared
15091 # Whether or not to build static libraries.
15092 build_old_libs=$enable_static
15094 # What type of objects to build.
15097 # Whether or not to optimize for fast installation.
15098 fast_install=$enable_fast_install
15100 # Shell to use when invoking shell scripts.
15103 # An echo program that protects backslashes.
15107 host_alias=$host_alias
15111 # The build system.
15112 build_alias=$build_alias
15116 # A sed program that does not truncate output.
15119 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15120 Xsed="\$SED -e 1s/^X//"
15122 # A grep program that handles long lines.
15128 # A literal string matcher.
15131 # A BSD- or MS-compatible name lister.
15134 # Whether we need soft or hard links.
15137 # What is the maximum length of a command?
15138 max_cmd_len=$max_cmd_len
15140 # Object file suffix (normally "o").
15143 # Executable file suffix (normally "").
15146 # whether the shell understands "unset".
15149 # turn spaces into newlines.
15152 # turn newlines into spaces.
15155 # convert \$build file names to \$host format.
15156 to_host_file_cmd=$lt_cv_to_host_file_cmd
15158 # convert \$build files to toolchain format.
15159 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15161 # An object symbol dumper.
15162 OBJDUMP=$lt_OBJDUMP
15164 # Method to check whether dependent libraries are shared objects.
15165 deplibs_check_method=$lt_deplibs_check_method
15167 # Command to use when deplibs_check_method = "file_magic".
15168 file_magic_cmd=$lt_file_magic_cmd
15170 # How to find potential files when deplibs_check_method = "file_magic".
15171 file_magic_glob=$lt_file_magic_glob
15173 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15174 want_nocaseglob=$lt_want_nocaseglob
15176 # DLL creation program.
15177 DLLTOOL=$lt_DLLTOOL
15179 # Command to associate shared and link libraries.
15180 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15185 # Flags to create an archive.
15186 AR_FLAGS=$lt_AR_FLAGS
15188 # How to feed a file listing to the archiver.
15189 archiver_list_spec=$lt_archiver_list_spec
15191 # A symbol stripping program.
15194 # Commands used to install an old-style archive.
15196 old_postinstall_cmds=$lt_old_postinstall_cmds
15197 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15199 # Whether to use a lock for old archive extraction.
15200 lock_old_archive_extraction=$lock_old_archive_extraction
15205 # LTCC compiler flags.
15206 LTCFLAGS=$lt_CFLAGS
15208 # Take the output of nm and produce a listing of raw symbols and C names.
15209 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15211 # Transform the output of nm in a proper C declaration.
15212 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15214 # Transform the output of nm in a C name address pair.
15215 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15217 # Transform the output of nm in a C name address pair when lib prefix is needed.
15218 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15220 # Specify filename containing input files for \$NM.
15221 nm_file_list_spec=$lt_nm_file_list_spec
15223 # The root where to search for dependent libraries,and in which our libraries should be installed.
15224 lt_sysroot=$lt_sysroot
15226 # The name of the directory that contains temporary libtool files.
15229 # Used to examine libraries when file_magic_cmd begins with "file".
15230 MAGIC_CMD=$MAGIC_CMD
15232 # Must we lock files when doing compilation?
15233 need_locks=$lt_need_locks
15236 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15238 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15239 DSYMUTIL=$lt_DSYMUTIL
15241 # Tool to change global to local symbols on Mac OS X.
15244 # Tool to manipulate fat objects and archives on Mac OS X.
15247 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15250 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15251 OTOOL64=$lt_OTOOL64
15253 # Old archive suffix (normally "a").
15256 # Shared library suffix (normally ".so").
15257 shrext_cmds=$lt_shrext_cmds
15259 # The commands to extract the exported symbol list from a shared archive.
15260 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15262 # Variables whose values should be saved in libtool wrapper scripts and
15263 # restored at link time.
15264 variables_saved_for_relink=$lt_variables_saved_for_relink
15266 # Do we need the "lib" prefix for modules?
15267 need_lib_prefix=$need_lib_prefix
15269 # Do we need a version for libraries?
15270 need_version=$need_version
15272 # Library versioning type.
15273 version_type=$version_type
15275 # Shared library runtime path variable.
15276 runpath_var=$runpath_var
15278 # Shared library path variable.
15279 shlibpath_var=$shlibpath_var
15281 # Is shlibpath searched before the hard-coded library search path?
15282 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15284 # Format of library name prefix.
15285 libname_spec=$lt_libname_spec
15287 # List of archive names. First name is the real one, the rest are links.
15288 # The last name is the one that the linker finds with -lNAME
15289 library_names_spec=$lt_library_names_spec
15291 # The coded name of the library, if different from the real name.
15292 soname_spec=$lt_soname_spec
15294 # Permission mode override for installation of shared libraries.
15295 install_override_mode=$lt_install_override_mode
15297 # Command to use after installation of a shared archive.
15298 postinstall_cmds=$lt_postinstall_cmds
15300 # Command to use after uninstallation of a shared archive.
15301 postuninstall_cmds=$lt_postuninstall_cmds
15303 # Commands used to finish a libtool library installation in a directory.
15304 finish_cmds=$lt_finish_cmds
15306 # As "finish_cmds", except a single script fragment to be evaled but
15308 finish_eval=$lt_finish_eval
15310 # Whether we should hardcode library paths into libraries.
15311 hardcode_into_libs=$hardcode_into_libs
15313 # Compile-time system search path for libraries.
15314 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15316 # Run-time system search path for libraries.
15317 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15319 # Whether dlopen is supported.
15320 dlopen_support=$enable_dlopen
15322 # Whether dlopen of programs is supported.
15323 dlopen_self=$enable_dlopen_self
15325 # Whether dlopen of statically linked programs is supported.
15326 dlopen_self_static=$enable_dlopen_self_static
15328 # Commands to strip libraries.
15329 old_striplib=$lt_old_striplib
15330 striplib=$lt_striplib
15333 # The linker used to build libraries.
15336 # How to create reloadable object files.
15337 reload_flag=$lt_reload_flag
15338 reload_cmds=$lt_reload_cmds
15340 # Commands used to build an old-style archive.
15341 old_archive_cmds=$lt_old_archive_cmds
15343 # A language specific compiler.
15346 # Is the compiler the GNU compiler?
15349 # Compiler flag to turn off builtin functions.
15350 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15352 # Additional compiler flags for building library objects.
15353 pic_flag=$lt_lt_prog_compiler_pic
15355 # How to pass a linker flag through the compiler.
15356 wl=$lt_lt_prog_compiler_wl
15358 # Compiler flag to prevent dynamic linking.
15359 link_static_flag=$lt_lt_prog_compiler_static
15361 # Does compiler simultaneously support -c and -o options?
15362 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15364 # Whether or not to add -lc for building shared libraries.
15365 build_libtool_need_lc=$archive_cmds_need_lc
15367 # Whether or not to disallow shared libs when runtime libs are static.
15368 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15370 # Compiler flag to allow reflexive dlopens.
15371 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15373 # Compiler flag to generate shared objects directly from archives.
15374 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15376 # Whether the compiler copes with passing no objects directly.
15377 compiler_needs_object=$lt_compiler_needs_object
15379 # Create an old-style archive from a shared archive.
15380 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15382 # Create a temporary old-style archive to link instead of a shared archive.
15383 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15385 # Commands used to build a shared archive.
15386 archive_cmds=$lt_archive_cmds
15387 archive_expsym_cmds=$lt_archive_expsym_cmds
15389 # Commands used to build a loadable module if different from building
15390 # a shared archive.
15391 module_cmds=$lt_module_cmds
15392 module_expsym_cmds=$lt_module_expsym_cmds
15394 # Whether we are building with GNU ld or not.
15395 with_gnu_ld=$lt_with_gnu_ld
15397 # Flag that allows shared libraries with undefined symbols to be built.
15398 allow_undefined_flag=$lt_allow_undefined_flag
15400 # Flag that enforces no undefined symbols.
15401 no_undefined_flag=$lt_no_undefined_flag
15403 # Flag to hardcode \$libdir into a binary during linking.
15404 # This must work even if \$libdir does not exist
15405 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15407 # If ld is used when linking, flag to hardcode \$libdir into a binary
15408 # during linking. This must work even if \$libdir does not exist.
15409 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15411 # Whether we need a single "-rpath" flag with a separated argument.
15412 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15414 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15415 # DIR into the resulting binary.
15416 hardcode_direct=$hardcode_direct
15418 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15419 # DIR into the resulting binary and the resulting library dependency is
15420 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15421 # library is relocated.
15422 hardcode_direct_absolute=$hardcode_direct_absolute
15424 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15425 # into the resulting binary.
15426 hardcode_minus_L=$hardcode_minus_L
15428 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15429 # into the resulting binary.
15430 hardcode_shlibpath_var=$hardcode_shlibpath_var
15432 # Set to "yes" if building a shared library automatically hardcodes DIR
15433 # into the library and all subsequent libraries and executables linked
15435 hardcode_automatic=$hardcode_automatic
15437 # Set to yes if linker adds runtime paths of dependent libraries
15438 # to runtime path list.
15439 inherit_rpath=$inherit_rpath
15441 # Whether libtool must link a program against all its dependency libraries.
15442 link_all_deplibs=$link_all_deplibs
15444 # Set to "yes" if exported symbols are required.
15445 always_export_symbols=$always_export_symbols
15447 # The commands to list exported symbols.
15448 export_symbols_cmds=$lt_export_symbols_cmds
15450 # Symbols that should not be listed in the preloaded symbols.
15451 exclude_expsyms=$lt_exclude_expsyms
15453 # Symbols that must always be exported.
15454 include_expsyms=$lt_include_expsyms
15456 # Commands necessary for linking programs (against libraries) with templates.
15457 prelink_cmds=$lt_prelink_cmds
15459 # Commands necessary for finishing linking programs.
15460 postlink_cmds=$lt_postlink_cmds
15462 # Specify filename containing input files.
15463 file_list_spec=$lt_file_list_spec
15465 # How to hardcode a shared library path into an executable.
15466 hardcode_action=$hardcode_action
15468 # ### END LIBTOOL CONFIG
15474 cat <<\_LT_EOF >> "$cfgfile"
15475 # AIX sometimes has problems with the GCC collect2 program. For some
15476 # reason, if we set the COLLECT_NAMES environment variable, the problems
15477 # vanish in a puff of smoke.
15478 if test "X${COLLECT_NAMES+set}" != Xset; then
15480 export COLLECT_NAMES
15487 ltmain="$ac_aux_dir/ltmain.sh"
15490 # We use sed instead of cat because bash on DJGPP gets confused if
15491 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15492 # text mode, it properly converts lines to CR/LF. This bash problem
15493 # is reportedly fixed, but why not run on old versions too?
15494 sed '$q' "$ltmain" >> "$cfgfile" \
15495 || (rm -f "$cfgfile"; exit 1)
15497 if test x"$xsi_shell" = xyes; then
15498 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15502 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15503 \ * ) func_dirname_result="${3}" ;;\
15505 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15506 && mv -f "$cfgfile.tmp" "$cfgfile" \
15507 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15508 test 0 -eq $? || _lt_function_replace_fail=:
15511 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15514 \ func_basename_result="${1##*/}"\
15515 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15516 && mv -f "$cfgfile.tmp" "$cfgfile" \
15517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15518 test 0 -eq $? || _lt_function_replace_fail=:
15521 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15522 func_dirname_and_basename ()\
15525 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15526 \ * ) func_dirname_result="${3}" ;;\
15528 \ func_basename_result="${1##*/}"\
15529 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15530 && mv -f "$cfgfile.tmp" "$cfgfile" \
15531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15532 test 0 -eq $? || _lt_function_replace_fail=:
15535 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15538 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15539 \ # positional parameters, so assign one to ordinary parameter first.\
15540 \ func_stripname_result=${3}\
15541 \ func_stripname_result=${func_stripname_result#"${1}"}\
15542 \ func_stripname_result=${func_stripname_result%"${2}"}\
15543 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15544 && mv -f "$cfgfile.tmp" "$cfgfile" \
15545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15546 test 0 -eq $? || _lt_function_replace_fail=:
15549 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15550 func_split_long_opt ()\
15552 \ func_split_long_opt_name=${1%%=*}\
15553 \ func_split_long_opt_arg=${1#*=}\
15554 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15555 && mv -f "$cfgfile.tmp" "$cfgfile" \
15556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15557 test 0 -eq $? || _lt_function_replace_fail=:
15560 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15561 func_split_short_opt ()\
15563 \ func_split_short_opt_arg=${1#??}\
15564 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15565 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15566 && mv -f "$cfgfile.tmp" "$cfgfile" \
15567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15568 test 0 -eq $? || _lt_function_replace_fail=:
15571 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15575 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15576 \ *) func_lo2o_result=${1} ;;\
15578 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15579 && mv -f "$cfgfile.tmp" "$cfgfile" \
15580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15581 test 0 -eq $? || _lt_function_replace_fail=:
15584 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15587 func_xform_result=${1%.*}.lo\
15588 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15589 && mv -f "$cfgfile.tmp" "$cfgfile" \
15590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15591 test 0 -eq $? || _lt_function_replace_fail=:
15594 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15597 func_arith_result=$(( $* ))\
15598 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15599 && mv -f "$cfgfile.tmp" "$cfgfile" \
15600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15601 test 0 -eq $? || _lt_function_replace_fail=:
15604 sed -e '/^func_len ()$/,/^} # func_len /c\
15607 func_len_result=${#1}\
15608 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15609 && mv -f "$cfgfile.tmp" "$cfgfile" \
15610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15611 test 0 -eq $? || _lt_function_replace_fail=:
15615 if test x"$lt_shell_append" = xyes; then
15616 sed -e '/^func_append ()$/,/^} # func_append /c\
15619 eval "${1}+=\\${2}"\
15620 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15621 && mv -f "$cfgfile.tmp" "$cfgfile" \
15622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15623 test 0 -eq $? || _lt_function_replace_fail=:
15626 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15627 func_append_quoted ()\
15629 \ func_quote_for_eval "${2}"\
15630 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15631 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15632 && mv -f "$cfgfile.tmp" "$cfgfile" \
15633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15634 test 0 -eq $? || _lt_function_replace_fail=:
15637 # Save a `func_append' function call where possible by direct use of '+='
15638 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15639 && mv -f "$cfgfile.tmp" "$cfgfile" \
15640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15641 test 0 -eq $? || _lt_function_replace_fail=:
15643 # Save a `func_append' function call even when '+=' is not available
15644 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15645 && mv -f "$cfgfile.tmp" "$cfgfile" \
15646 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15647 test 0 -eq $? || _lt_function_replace_fail=:
15650 if test x"$_lt_function_replace_fail" = x":"; then
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15652 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15656 mv -f "$cfgfile" "$ofile" ||
15657 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15668 ac_clean_files=$ac_clean_files_save
15670 test $ac_write_fail = 0 ||
15671 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15674 # configure is writing to config.log, and then calls config.status.
15675 # config.status does its own redirection, appending to config.log.
15676 # Unfortunately, on DOS this fails, as config.log is still kept open
15677 # by configure, so config.status won't be able to write to it; its
15678 # output is simply discarded. So we exec the FD to /dev/null,
15679 # effectively closing config.log, so it can be properly (re)opened and
15680 # appended to by config.status. When coming back to configure, we
15681 # need to make the FD available again.
15682 if test "$no_create" != yes; then
15684 ac_config_status_args=
15685 test "$silent" = yes &&
15686 ac_config_status_args="$ac_config_status_args --quiet"
15688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15691 # would make configure fail if this is the last instruction.
15692 $ac_cs_success || as_fn_exit 1
15694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15700 if test "$util_linux_ok" = no; then
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15702 ******************************************************************
15703 * Please install util-linux version 2.18 or later which supports *
15704 * --fake and --no-canonicalize options in mount and umount *
15705 ******************************************************************" >&5
15706 $as_echo "$as_me: WARNING:
15707 ******************************************************************
15708 * Please install util-linux version 2.18 or later which supports *
15709 * --fake and --no-canonicalize options in mount and umount *
15710 ******************************************************************" >&2;}