2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libnfs 0.0.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.
568 PACKAGE_NAME
='libnfs'
569 PACKAGE_TARNAME
='libnfs'
570 PACKAGE_VERSION
='0.0.0'
571 PACKAGE_STRING
='libnfs 0.0.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
672 INSTALL_STRIP_PROGRAM
714 program_transform_name
727 enable_option_checking
728 enable_dependency_tracking
739 ac_precious_vars
='build_alias
750 # Initialize some variables set by options.
752 ac_init_version
=false
753 ac_unrecognized_opts
=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name
=s
,x
,x
,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir
='${exec_prefix}/bin'
779 sbindir
='${exec_prefix}/sbin'
780 libexecdir
='${exec_prefix}/libexec'
781 datarootdir
='${prefix}/share'
782 datadir
='${datarootdir}'
783 sysconfdir
='${prefix}/etc'
784 sharedstatedir
='${prefix}/com'
785 localstatedir
='${prefix}/var'
786 includedir
='${prefix}/include'
787 oldincludedir
='/usr/include'
788 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir
='${datarootdir}/info'
794 libdir
='${exec_prefix}/lib'
795 localedir
='${datarootdir}/locale'
796 mandir
='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\
$ac_option
810 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
815 # Accept the important Cygnus configure options, so we can diagnose typos.
817 case $ac_dashdash$ac_option in
821 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
823 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
826 -build |
--build |
--buil |
--bui |
--bu)
827 ac_prev
=build_alias
;;
828 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
829 build_alias
=$ac_optarg ;;
831 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
832 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
833 ac_prev
=cache_file
;;
834 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
835 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
836 cache_file
=$ac_optarg ;;
839 cache_file
=config.cache
;;
841 -datadir |
--datadir |
--datadi |
--datad)
843 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
844 datadir
=$ac_optarg ;;
846 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
847 |
--dataroo |
--dataro |
--datar)
848 ac_prev
=datarootdir
;;
849 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
850 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
851 datarootdir
=$ac_optarg ;;
853 -disable-* |
--disable-*)
854 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
857 as_fn_error $?
"invalid feature name: $ac_useropt"
858 ac_useropt_orig
=$ac_useropt
859 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
864 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
865 ac_unrecognized_sep
=', ';;
867 eval enable_
$ac_useropt=no
;;
869 -docdir |
--docdir |
--docdi |
--doc |
--do)
871 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
874 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
876 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
879 -enable-* |
--enable-*)
880 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
883 as_fn_error $?
"invalid feature name: $ac_useropt"
884 ac_useropt_orig
=$ac_useropt
885 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
890 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
891 ac_unrecognized_sep
=', ';;
893 eval enable_
$ac_useropt=\
$ac_optarg ;;
895 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
896 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
897 |
--exec |
--exe |
--ex)
898 ac_prev
=exec_prefix
;;
899 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
900 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
901 |
--exec=* |
--exe=* |
--ex=*)
902 exec_prefix
=$ac_optarg ;;
904 -gas |
--gas |
--ga |
--g)
905 # Obsolete; use --with-gas.
908 -help |
--help |
--hel |
--he |
-h)
910 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
911 ac_init_help
=recursive
;;
912 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
913 ac_init_help
=short
;;
915 -host |
--host |
--hos |
--ho)
916 ac_prev
=host_alias
;;
917 -host=* |
--host=* |
--hos=* |
--ho=*)
918 host_alias
=$ac_optarg ;;
920 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
922 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
924 htmldir
=$ac_optarg ;;
926 -includedir |
--includedir |
--includedi |
--included |
--include \
927 |
--includ |
--inclu |
--incl |
--inc)
928 ac_prev
=includedir
;;
929 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
930 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
931 includedir
=$ac_optarg ;;
933 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
935 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
936 infodir
=$ac_optarg ;;
938 -libdir |
--libdir |
--libdi |
--libd)
940 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
943 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
944 |
--libexe |
--libex |
--libe)
945 ac_prev
=libexecdir
;;
946 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
947 |
--libexe=* |
--libex=* |
--libe=*)
948 libexecdir
=$ac_optarg ;;
950 -localedir |
--localedir |
--localedi |
--localed |
--locale)
952 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
953 localedir
=$ac_optarg ;;
955 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
956 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
957 ac_prev
=localstatedir
;;
958 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
959 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
960 localstatedir
=$ac_optarg ;;
962 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
964 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
968 # Obsolete; use --without-fp.
971 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
972 |
--no-cr |
--no-c |
-n)
975 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
976 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
979 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
980 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
981 |
--oldin |
--oldi |
--old |
--ol |
--o)
982 ac_prev
=oldincludedir
;;
983 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
984 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
985 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
986 oldincludedir
=$ac_optarg ;;
988 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
990 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
993 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
994 |
--program-pre |
--program-pr |
--program-p)
995 ac_prev
=program_prefix
;;
996 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
997 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
998 program_prefix
=$ac_optarg ;;
1000 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1001 |
--program-suf |
--program-su |
--program-s)
1002 ac_prev
=program_suffix
;;
1003 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1004 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1005 program_suffix
=$ac_optarg ;;
1007 -program-transform-name |
--program-transform-name \
1008 |
--program-transform-nam |
--program-transform-na \
1009 |
--program-transform-n |
--program-transform- \
1010 |
--program-transform |
--program-transfor \
1011 |
--program-transfo |
--program-transf \
1012 |
--program-trans |
--program-tran \
1013 |
--progr-tra |
--program-tr |
--program-t)
1014 ac_prev
=program_transform_name
;;
1015 -program-transform-name=* |
--program-transform-name=* \
1016 |
--program-transform-nam=* |
--program-transform-na=* \
1017 |
--program-transform-n=* |
--program-transform-=* \
1018 |
--program-transform=* |
--program-transfor=* \
1019 |
--program-transfo=* |
--program-transf=* \
1020 |
--program-trans=* |
--program-tran=* \
1021 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1022 program_transform_name
=$ac_optarg ;;
1024 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1026 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1027 pdfdir
=$ac_optarg ;;
1029 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1031 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1034 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1035 |
-silent |
--silent |
--silen |
--sile |
--sil)
1038 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1040 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1042 sbindir
=$ac_optarg ;;
1044 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1045 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1046 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1048 ac_prev
=sharedstatedir
;;
1049 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1050 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1051 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1053 sharedstatedir
=$ac_optarg ;;
1055 -site |
--site |
--sit)
1057 -site=* |
--site=* |
--sit=*)
1060 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1062 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1063 srcdir
=$ac_optarg ;;
1065 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1066 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1067 ac_prev
=sysconfdir
;;
1068 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1069 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1070 sysconfdir
=$ac_optarg ;;
1072 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1073 ac_prev
=target_alias
;;
1074 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1075 target_alias
=$ac_optarg ;;
1077 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1080 -version |
--version |
--versio |
--versi |
--vers |
-V)
1081 ac_init_version
=: ;;
1084 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error $?
"invalid package name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval with_
$ac_useropt=\
$ac_optarg ;;
1099 -without-* |
--without-*)
1100 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error $?
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1134 Try \`$0 --help' for more information"
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 case $ac_envvar in #(
1141 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1142 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 as_fn_error $?
"missing argument to $ac_option"
1163 if test -n "$ac_unrecognized_opts"; then
1164 case $enable_option_checking in
1166 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1167 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171 # Check all directory arguments for consistency.
1172 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir
1177 eval ac_val
=\$
$ac_var
1178 # Remove trailing slashes.
1181 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1182 eval $ac_var=\
$ac_val;;
1184 # Be sure to have absolute directory names.
1186 [\\/$
]* | ?
:[\\/]* ) continue;;
1187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1189 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used" >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 as_fn_error $?
"working directory cannot be determined"
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 as_fn_error $?
"pwd does not report name of working directory"
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$as_myself" ||
1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$as_myself" : 'X\(//\)[^/]' \| \
1231 X"$as_myself" : 'X\(//\)$' \| \
1232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1233 $as_echo X"$as_myself" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1262 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1266 # When building in place, set srcdir=.
1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 # Remove unnecessary trailing slashes from srcdir.
1271 # Double slashes in file names in object file debugging info
1272 # mess up M-x gdb in Emacs.
1274 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 for ac_var
in $ac_precious_vars; do
1277 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1279 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1284 # Report the --help message.
1286 if test "$ac_init_help" = "long"; then
1287 # Omit some internal or obsolete options to make the list less imposing.
1288 # This message is too long to be a string in the A/UX 3.1 sh.
1290 \`configure' configures libnfs 0.0.0 to adapt to many kinds of systems.
1292 Usage: $0 [OPTION]... [VAR=VALUE]...
1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1295 VAR=VALUE. See below for descriptions of some of the useful variables.
1297 Defaults for the options are specified in brackets.
1300 -h, --help display this help and exit
1301 --help=short display options specific to this package
1302 --help=recursive display the short help of all the included packages
1303 -V, --version display version information and exit
1304 -q, --quiet, --silent do not print \`checking ...' messages
1305 --cache-file=FILE cache test results in FILE [disabled]
1306 -C, --config-cache alias for \`--cache-file=config.cache'
1307 -n, --no-create do not create output files
1308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1310 Installation directories:
1311 --prefix=PREFIX install architecture-independent files in PREFIX
1312 [$ac_default_prefix]
1313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 By default, \`make install' will install all the files in
1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319 for instance \`--prefix=\$HOME'.
1321 For better control, use the options below.
1323 Fine tuning of the installation directories:
1324 --bindir=DIR user executables [EPREFIX/bin]
1325 --sbindir=DIR system admin executables [EPREFIX/sbin]
1326 --libexecdir=DIR program executables [EPREFIX/libexec]
1327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1330 --libdir=DIR object code libraries [EPREFIX/lib]
1331 --includedir=DIR C header files [PREFIX/include]
1332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1335 --infodir=DIR info documentation [DATAROOTDIR/info]
1336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1337 --mandir=DIR man documentation [DATAROOTDIR/man]
1338 --docdir=DIR documentation root [DATAROOTDIR/doc/libnfs]
1339 --htmldir=DIR html documentation [DOCDIR]
1340 --dvidir=DIR dvi documentation [DOCDIR]
1341 --pdfdir=DIR pdf documentation [DOCDIR]
1342 --psdir=DIR ps documentation [DOCDIR]
1348 --program-prefix=PREFIX prepend PREFIX to installed program names
1349 --program-suffix=SUFFIX append SUFFIX to installed program names
1350 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1353 --build=BUILD configure
for building on BUILD
[guessed
]
1354 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive
) echo "Configuration of libnfs 0.0.0:";;
1365 --disable-option-checking ignore unrecognized
--enable/--with options
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --disable-dependency-tracking speeds up one-time build
1369 --enable-dependency-tracking do not reject slow dependency extractors
1370 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1371 --enable-static[=PKGS
] build static libraries
[default
=yes]
1372 --enable-fast-install[=PKGS
]
1373 optimize
for fast installation
[default
=yes]
1374 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1375 --enable-examples Build example programs
1376 --enable-tirpc enable use of TI-RPC
[default
=no
]
1379 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1380 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1381 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1383 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1384 --with-sysroot=DIR Search
for dependent libraries within DIR
1385 (or the compiler
's sysroot if not specified).
1387 Some influential environment variables:
1388 CC C compiler command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1391 nonstandard directory <lib dir>
1392 LIBS libraries to pass to the linker, e.g. -l<library>
1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1394 you have headers in a nonstandard directory <include dir>
1397 Use these variables to override the choices made by `configure' or to
help
1398 it to
find libraries and programs with nonstandard names
/locations.
1400 Report bugs to the package provider.
1405 if test "$ac_init_help" = "recursive"; then
1406 # If there are subdirs, report their specific --help.
1407 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1408 test -d "$ac_dir" ||
1409 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1414 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1417 # A ".." for each directory in $ac_dir_suffix.
1418 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1419 case $ac_top_builddir_sub in
1420 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1421 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1424 ac_abs_top_builddir
=$ac_pwd
1425 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1426 # for backward compatibility:
1427 ac_top_builddir
=$ac_top_build_prefix
1430 .
) # We are building in place.
1432 ac_top_srcdir
=$ac_top_builddir_sub
1433 ac_abs_top_srcdir
=$ac_pwd ;;
1434 [\\/]* | ?
:[\\/]* ) # Absolute name.
1435 ac_srcdir
=$srcdir$ac_dir_suffix;
1436 ac_top_srcdir
=$srcdir
1437 ac_abs_top_srcdir
=$srcdir ;;
1439 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1440 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1441 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1443 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1445 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1446 # Check for guested configure.
1447 if test -f "$ac_srcdir/configure.gnu"; then
1449 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1450 elif test -f "$ac_srcdir/configure"; then
1452 $SHELL "$ac_srcdir/configure" --help=recursive
1454 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1456 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1460 test -n "$ac_init_help" && exit $ac_status
1461 if $ac_init_version; then
1463 libnfs configure
0.0.0
1464 generated by GNU Autoconf
2.68
1466 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1467 This configure
script is free software
; the Free Software Foundation
1468 gives unlimited permission to copy
, distribute and modify it.
1473 ## ------------------------ ##
1474 ## Autoconf initialization. ##
1475 ## ------------------------ ##
1477 # ac_fn_c_try_compile LINENO
1478 # --------------------------
1479 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_c_try_compile
()
1482 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1483 rm -f conftest.
$ac_objext
1484 if { { ac_try
="$ac_compile"
1486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;;
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_compile") 2>conftest.err
1493 if test -s conftest.err; then
1494 grep -v '^ *+' conftest.err >conftest.er1
1495 cat conftest.er1 >&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } && {
1500 test -z "$ac_c_werror_flag" ||
1501 test ! -s conftest.err
1502 } && test -s conftest.$ac_objext; then :
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status $ac_retval
1513 } # ac_fn_c_try_compile
1515 # ac_fn_c_try_link LINENO
1516 # -----------------------
1517 # Try to link conftest.$ac_ext, and return whether this succeeded.
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext conftest$ac_exeext
1522 if { { ac_try="$ac_link"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_link") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v '^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest
$ac_exeext && {
1541 test "$cross_compiling" = yes ||
1542 $as_test_x conftest
$ac_exeext
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.
$ac_ext >&5
1551 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1552 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1553 # interfere with the next link command; also delete a directory that is
1554 # left behind by Apple's compiler. We do this before executing the actions.
1555 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 as_fn_set_status
$ac_retval
1559 } # ac_fn_c_try_link
1561 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1562 # -------------------------------------------------------
1563 # Tests whether HEADER exists and can be compiled using the include files in
1564 # INCLUDES, setting the cache variable VAR accordingly.
1565 ac_fn_c_check_header_compile
()
1567 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 $as_echo_n "checking for $2... " >&6; }
1570 if eval \
${$3+:} false
; then :
1571 $as_echo_n "(cached) " >&6
1573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1578 if ac_fn_c_try_compile
"$LINENO"; then :
1583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587 $as_echo "$ac_res" >&6; }
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 } # ac_fn_c_check_header_compile
1592 # ac_fn_c_try_cpp LINENO
1593 # ----------------------
1594 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1598 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } > conftest.i && {
1614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1629 # ac_fn_c_try_run LINENO
1630 # ----------------------
1631 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1632 # that executables *can* be run.
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_link"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_link") 2>&5
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1647 { { case "(($ac_try" in
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_try") 2>&5
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; }; }; then :
1659 $as_echo "$as_me: program exited with status $ac_status" >&5
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1663 ac_retval=$ac_status
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1671 # ac_fn_c_check_func LINENO FUNC VAR
1672 # ----------------------------------
1673 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1674 ac_fn_c_check_func ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1684 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1686 #define $2 innocuous_$2
1688 /* System header to define __stub macros and hopefully few prototypes,
1689 which can conflict with char $2 (); below.
1690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1691 <limits.h> exists even on freestanding compilers. */
1694 # include <limits.h>
1696 # include <assert.h>
1701 /* Override any GCC internal prototype to avoid an error.
1702 Use char because int might match the return type of a GCC
1703 builtin and then its argument prototype would still apply. */
1708 /* The GNU C library defines this for functions which it implements
1709 to always fail with ENOSYS. Some functions are actually named
1710 something starting with __ and the normal name is an alias. */
1711 #if defined __stub_$2 || defined __stub___$2
1723 if ac_fn_c_try_link "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext \
1729 conftest$ac_exeext conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 } # ac_fn_c_check_func
1738 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1741 # the include files in INCLUDES and setting the cache variable VAR
1743 ac_fn_c_check_header_mongrel ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if eval \${$3+:} false; then :
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1756 # Is the header compilable?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1758 $as_echo_n "checking $2 usability... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 ac_header_compiler=yes
1767 ac_header_compiler=no
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1771 $as_echo "$ac_header_compiler" >&6; }
1773 # Is the header present?
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1775 $as_echo_n "checking $2 presence... " >&6; }
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1780 if ac_fn_c_try_cpp "$LINENO"; then :
1781 ac_header_preproc=yes
1783 ac_header_preproc=no
1785 rm -f conftest.err conftest.i conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1787 $as_echo "$ac_header_preproc" >&6; }
1789 # So? What about this header?
1790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1793 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1799 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1801 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1803 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1805 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 eval "$3=\$ac_header_compiler"
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_mongrel
1825 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1826 # ----------------------------------------------------
1827 # Tries to find if the field MEMBER exists in type AGGR, after including
1828 # INCLUDES, setting cache variable VAR accordingly.
1829 ac_fn_c_check_member ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1833 $as_echo_n "checking for $2.$3... " >&6; }
1834 if eval \${$4+:} false; then :
1835 $as_echo_n "(cached) " >&6
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1850 if ac_fn_c_try_compile "$LINENO"; then :
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1860 if (sizeof ac_aggr.$3)
1866 if ac_fn_c_try_compile "$LINENO"; then :
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 } # ac_fn_c_check_member
1881 cat >config.log <<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by libnfs $as_me 0.0.0, which was
1886 generated by GNU Autoconf 2.68. Invocation command line was
1898 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1899 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1900 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1901 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1902 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1904 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1905 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1907 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1908 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1909 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1910 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1911 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1912 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1913 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next=false
1952 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954 | -silent | --silent | --silen | --sile | --sil)
1957 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1 " '$ac_arg'"
1963 if test $ac_must_keep_next = true; then
1964 ac_must_keep_next=false # Got value, back to normal.
1967 *=* | --config-cache | -C | -disable-* | --disable-* \
1968 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970 | -with-* | --with-* | -without-* | --without-* | --x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next=true ;;
1978 as_fn_append ac_configure_args " '$ac_arg'"
1983 { ac_configure_args0=; unset ac_configure_args0;}
1984 { ac_configure_args1=; unset ac_configure_args1;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1996 $as_echo "## ---------------- ##
1997 ## Cache variables. ##
1998 ## ---------------- ##"
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2032 $as_echo "## ----------------- ##
2033 ## Output variables. ##
2034 ## ----------------- ##"
2036 for ac_var in $ac_subst_vars
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -n "$ac_subst_files"; then
2047 $as_echo "## ------------------- ##
2048 ## File substitutions. ##
2049 ## ------------------- ##"
2051 for ac_var in $ac_subst_files
2053 eval ac_val=\$$ac_var
2055 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -s confdefs.h; then
2063 $as_echo "## ----------- ##
2070 test "$ac_signal" != 0 &&
2071 $as_echo "$as_me: caught signal $ac_signal"
2072 $as_echo "$as_me: exit $exit_status"
2074 rm -f core *.core core.conftest.* &&
2075 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078 for ac_signal in 1 2 13 15; do
2079 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2084 rm -f -r conftest* confdefs.h
2086 $as_echo "/* confdefs.h */" > confdefs.h
2088 # Predefined preprocessor variables.
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_NAME "$PACKAGE_NAME"
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_STRING "$PACKAGE_STRING"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_URL "$PACKAGE_URL"
2115 # Let the site file select an alternate cache file if it wants to.
2116 # Prefer an explicitly selected file to automatically selected ones.
2119 if test -n "$CONFIG_SITE"; then
2120 # We do not want a PATH search for config.site.
2121 case $CONFIG_SITE in #((
2122 -*) ac_site_file1=./$CONFIG_SITE;;
2123 */*) ac_site_file1=$CONFIG_SITE;;
2124 *) ac_site_file1=./$CONFIG_SITE;;
2126 elif test "x$prefix" != xNONE; then
2127 ac_site_file1=$prefix/share/config.site
2128 ac_site_file2=$prefix/etc/config.site
2130 ac_site_file1=$ac_default_prefix/share/config.site
2131 ac_site_file2=$ac_default_prefix/etc/config.site
2133 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2135 test "x$ac_site_file" = xNONE && continue
2136 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2138 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2139 sed 's/^/| /' "$ac_site_file" >&5
2141 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 as_fn_error $? "failed to load site
script $ac_site_file
2144 See \
`config.log' for more details" "$LINENO" 5; }
2148 if test -r "$cache_file"; then
2149 # Some versions of bash will fail to source /dev/null (special files
2150 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2151 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153 $as_echo "$as_me: loading cache $cache_file" >&6;}
2155 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2156 *) . "./$cache_file";;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161 $as_echo "$as_me: creating cache $cache_file" >&6;}
2165 # Check that the precious variables saved in the cache have kept the same
2167 ac_cache_corrupted=false
2168 for ac_var in $ac_precious_vars; do
2169 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2170 eval ac_new_set=\$ac_env_${ac_var}_set
2171 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2172 eval ac_new_val=\$ac_env_${ac_var}_value
2173 case $ac_old_set,$ac_new_set in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2176 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177 ac_cache_corrupted=: ;;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2180 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2181 ac_cache_corrupted=: ;;
2184 if test "x$ac_old_val" != "x$ac_new_val"; then
2185 # differences in whitespace do not lead to failure.
2186 ac_old_val_w=`echo x
$ac_old_val`
2187 ac_new_val_w=`echo x
$ac_new_val`
2188 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2191 ac_cache_corrupted=:
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2194 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195 eval $ac_var=\$ac_old_val
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2203 # Pass precious variables to config.status.
2204 if test "$ac_new_set" = set; then
2206 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2207 *) ac_arg=$ac_var=$ac_new_val ;;
2209 case " $ac_configure_args " in
2210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2215 if $ac_cache_corrupted; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2222 ## -------------------- ##
2223 ## Main body of script. ##
2224 ## -------------------- ##
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 ac_config_headers="$ac_config_headers config.h"
2235 am__api_version='1.11'
2238 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2239 if test -f "$ac_dir/install-sh"; then
2241 ac_install_sh="$ac_aux_dir/install-sh -c"
2243 elif test -f "$ac_dir/install.sh"; then
2245 ac_install_sh="$ac_aux_dir/install.sh -c"
2247 elif test -f "$ac_dir/shtool"; then
2249 ac_install_sh="$ac_aux_dir/shtool install -c"
2253 if test -z "$ac_aux_dir"; then
2254 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2257 # These three variables are undocumented and unsupported,
2258 # and are intended to be withdrawn in a future Autoconf release.
2259 # They can cause serious problems if a builder's source tree is in a directory
2260 # whose full name contains unusual characters.
2261 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2262 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2263 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2266 # Find a good install program. We prefer a C program (faster),
2267 # so one script is as good as another. But avoid the broken or
2268 # incompatible versions:
2269 # SysV /etc/install, /usr/sbin/install
2270 # SunOS /usr/etc/install
2271 # IRIX /sbin/install
2273 # AmigaOS /C/install, which installs bootblocks on floppy discs
2274 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2275 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2276 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2277 # OS/2's system install, which has a completely different semantic
2278 # ./install, which can be erroneously created by make from ./install.sh.
2279 # Reject install programs that cannot install multiple files.
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2281 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2282 if test -z "$INSTALL"; then
2283 if ${ac_cv_path_install+:} false; then :
2284 $as_echo_n "(cached) " >&6
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 # Account for people who put trailing slashes in PATH elements.
2292 case $as_dir/ in #((
2293 ./ | .// | /[cC]/* | \
2294 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2295 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2298 # OSF1 and SCO ODT 3.0 have their own names for install.
2299 # Don't use installbsd from OSF since it installs stuff as root
2301 for ac_prog in ginstall scoinst install; do
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2304 if test $ac_prog = install &&
2305 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2306 # AIX install. It has an incompatible calling convention.
2308 elif test $ac_prog = install &&
2309 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2310 # program-specific install script used by HP pwplus--don't use.
2313 rm -rf conftest.one conftest.two conftest.dir
2314 echo one > conftest.one
2315 echo two > conftest.two
2317 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2318 test -s conftest.one && test -s conftest.two &&
2319 test -s conftest.dir/conftest.one &&
2320 test -s conftest.dir/conftest.two
2322 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2335 rm -rf conftest.one conftest.two conftest.dir
2338 if test "${ac_cv_path_install+set}" = set; then
2339 INSTALL=$ac_cv_path_install
2341 # As a last resort, use the slow shell script. Don't cache a
2342 # value for INSTALL within a source directory, because that will
2343 # break other packages using the cache if that directory is
2344 # removed, or if the value is a relative name.
2345 INSTALL=$ac_install_sh
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2349 $as_echo "$INSTALL" >&6; }
2351 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2352 # It thinks the first close brace ends the variable substitution.
2353 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2355 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2357 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2360 $as_echo_n "checking whether build environment is sane... " >&6; }
2363 echo timestamp > conftest.file
2364 # Reject unsafe characters in $srcdir or the absolute working directory
2365 # name. Accept space and tab only in the latter.
2369 *[\\\"\#\$\&\'\`$am_lf]*)
2370 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2373 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2374 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2377 # Do `set' in a subshell so we don't clobber the current shell's
2378 # arguments. Must try -L first in case configure is actually a
2379 # symlink; some systems play weird games with the mod time of symlinks
2380 # (eg FreeBSD returns the mod time of the symlink's containing
2383 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2384 if test "$*" = "X"; then
2386 set X
`ls -t "$srcdir/configure" conftest.file`
2389 if test "$*" != "X $srcdir/configure conftest.file" \
2390 && test "$*" != "X conftest.file $srcdir/configure"; then
2392 # If neither matched, then we have a broken ls. This can happen
2393 # if, for instance, CONFIG_SHELL is bash and it inherits a
2394 # broken ls alias from the environment. This has actually
2395 # happened. Such a system could not be considered "sane".
2396 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2397 alias in your environment" "$LINENO" 5
2400 test "$2" = conftest.
file
2406 as_fn_error $?
"newly created file is older than distributed files!
2407 Check your system clock" "$LINENO" 5
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2410 $as_echo "yes" >&6; }
2411 test "$program_prefix" != NONE
&&
2412 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2413 # Use a double $ so make ignores it.
2414 test "$program_suffix" != NONE
&&
2415 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2416 # Double any \ or $.
2417 # By default was `s,x,x', remove it if useless.
2418 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2419 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2421 # expand $ac_aux_dir to an absolute path
2422 am_aux_dir
=`cd $ac_aux_dir && pwd`
2424 if test x
"${MISSING+set}" != xset
; then
2427 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2429 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2432 # Use eval to expand $SHELL
2433 if eval "$MISSING --run true"; then
2434 am_missing_run
="$MISSING --run "
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2438 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2441 if test x
"${install_sh}" != xset
; then
2444 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2446 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2450 # Installed binaries are usually stripped using `strip' when the user
2451 # run `make install-strip'. However `strip' might not be the right
2452 # tool to use in cross-compilation environments, therefore Automake
2453 # will honor the `STRIP' environment variable to overrule this program.
2454 if test "$cross_compiling" != no
; then
2455 if test -n "$ac_tool_prefix"; then
2456 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2457 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
2460 if ${ac_cv_prog_STRIP+:} false
; then :
2461 $as_echo_n "(cached) " >&6
2463 if test -n "$STRIP"; then
2464 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir
=.
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 STRIP
=$ac_cv_prog_STRIP
2484 if test -n "$STRIP"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2486 $as_echo "$STRIP" >&6; }
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2489 $as_echo "no" >&6; }
2494 if test -z "$ac_cv_prog_STRIP"; then
2496 # Extract the first word of "strip", so it can be a program name with args.
2497 set dummy strip
; ac_word
=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$ac_ct_STRIP"; then
2504 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_exec_ext
in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_ac_ct_STRIP
="strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2524 if test -n "$ac_ct_STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2526 $as_echo "$ac_ct_STRIP" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2532 if test "x$ac_ct_STRIP" = x
; then
2535 case $cross_compiling:$ac_tool_warned in
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned
=yes ;;
2544 STRIP
="$ac_cv_prog_STRIP"
2548 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2551 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2552 if test -z "$MKDIR_P"; then
2553 if ${ac_cv_path_mkdir+:} false
; then :
2554 $as_echo_n "(cached) " >&6
2556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2557 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2560 test -z "$as_dir" && as_dir
=.
2561 for ac_prog
in mkdir gmkdir
; do
2562 for ac_exec_ext
in '' $ac_executable_extensions; do
2563 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2564 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2565 'mkdir (GNU coreutils) '* | \
2566 'mkdir (coreutils) '* | \
2567 'mkdir (fileutils) '4.1*)
2568 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2578 test -d .
/--version && rmdir .
/--version
2579 if test "${ac_cv_path_mkdir+set}" = set; then
2580 MKDIR_P
="$ac_cv_path_mkdir -p"
2582 # As a last resort, use the slow shell script. Don't cache a
2583 # value for MKDIR_P within a source directory, because that will
2584 # break other packages using the cache if that directory is
2585 # removed, or if the value is a relative name.
2586 MKDIR_P
="$ac_install_sh -d"
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2590 $as_echo "$MKDIR_P" >&6; }
2594 [\\/$
]* | ?
:[\\/]*) ;;
2595 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2598 for ac_prog
in gawk mawk nawk
awk
2600 # Extract the first word of "$ac_prog", so it can be a program name with args.
2601 set dummy
$ac_prog; ac_word
=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_AWK+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$AWK"; then
2608 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_AWK
="$ac_prog"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test -n "$AWK"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2630 $as_echo "$AWK" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2637 test -n "$AWK" && break
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2641 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2643 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2644 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 cat >conftest.
make <<\_ACEOF
2650 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2652 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2653 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2655 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2657 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2661 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2663 $as_echo "yes" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2668 SET_MAKE
="MAKE=${MAKE-make}"
2671 rm -rf .tst
2>/dev
/null
2672 mkdir .tst
2>/dev
/null
2673 if test -d .tst
; then
2678 rmdir .tst
2>/dev
/null
2680 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2681 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2682 # is not polluted with repeated "-I."
2683 am__isrc
=' -I$(srcdir)'
2684 # test to see if srcdir already configured
2685 if test -f $srcdir/config.status
; then
2686 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2690 # test whether we have cygpath
2691 if test -z "$CYGPATH_W"; then
2692 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2693 CYGPATH_W
='cygpath -w'
2700 # Define the identity of the package.
2705 cat >>confdefs.h
<<_ACEOF
2706 #define PACKAGE "$PACKAGE"
2710 cat >>confdefs.h
<<_ACEOF
2711 #define VERSION "$VERSION"
2714 # Some tools Automake needs.
2716 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2719 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2722 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2725 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2728 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2730 # We need awk for the "check" target. The system "awk" is bad on
2732 # Always define AMTAR for backward compatibility.
2734 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2736 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2742 # Make sure we can run config.sub.
2743 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2744 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2747 $as_echo_n "checking build system type... " >&6; }
2748 if ${ac_cv_build+:} false
; then :
2749 $as_echo_n "(cached) " >&6
2751 ac_build_alias
=$build_alias
2752 test "x$ac_build_alias" = x
&&
2753 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2754 test "x$ac_build_alias" = x
&&
2755 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2756 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2757 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2761 $as_echo "$ac_cv_build" >&6; }
2762 case $ac_cv_build in
2764 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2767 ac_save_IFS
=$IFS; IFS
='-'
2773 # Remember, the first character of IFS is used to create $*,
2774 # except with old shells:
2777 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2781 $as_echo_n "checking host system type... " >&6; }
2782 if ${ac_cv_host+:} false
; then :
2783 $as_echo_n "(cached) " >&6
2785 if test "x$host_alias" = x
; then
2786 ac_cv_host
=$ac_cv_build
2788 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2789 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2794 $as_echo "$ac_cv_host" >&6; }
2797 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2800 ac_save_IFS
=$IFS; IFS
='-'
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2810 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2814 # Work around stupid autoconf default cflags. pt 1
2815 SAVE_CFLAGS
="x${CFLAGS}"
2818 ac_cpp
='$CPP $CPPFLAGS'
2819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2822 if test -n "$ac_tool_prefix"; then
2823 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2824 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2826 $as_echo_n "checking for $ac_word... " >&6; }
2827 if ${ac_cv_prog_CC+:} false
; then :
2828 $as_echo_n "(cached) " >&6
2830 if test -n "$CC"; then
2831 ac_cv_prog_CC
="$CC" # Let the user override the test.
2833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir
=.
2838 for ac_exec_ext
in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 if test -n "$CC"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2853 $as_echo "$CC" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2861 if test -z "$ac_cv_prog_CC"; then
2863 # Extract the first word of "gcc", so it can be a program name with args.
2864 set dummy gcc
; ac_word
=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$ac_ct_CC"; then
2871 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_ac_ct_CC
="gcc"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2891 if test -n "$ac_ct_CC"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2893 $as_echo "$ac_ct_CC" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2899 if test "x$ac_ct_CC" = x
; then
2902 case $cross_compiling:$ac_tool_warned in
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2906 ac_tool_warned
=yes ;;
2914 if test -z "$CC"; then
2915 if test -n "$ac_tool_prefix"; then
2916 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2917 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_CC+:} false
; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC
="$CC" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2933 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2946 $as_echo "$CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2955 if test -z "$CC"; then
2956 # Extract the first word of "cc", so it can be a program name with args.
2957 set dummy cc
; ac_word
=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC
="$CC" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2975 ac_prog_rejected
=yes
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 if test $ac_prog_rejected = yes; then
2987 # We found a bogon in the path, so make sure we never use it.
2988 set dummy
$ac_cv_prog_CC
2990 if test $# != 0; then
2991 # We chose a different compiler from the bogus one.
2992 # However, it has the same basename, so the bogon will be chosen
2993 # first if we set CC to just the basename; use the full file name.
2995 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3011 if test -z "$CC"; then
3012 if test -n "$ac_tool_prefix"; then
3013 for ac_prog
in cl.exe
3015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3016 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_CC+:} false
; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$CC"; then
3023 ac_cv_prog_CC
="$CC" # Let the user override the test.
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test -n "$CC"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3045 $as_echo "$CC" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3052 test -n "$CC" && break
3055 if test -z "$CC"; then
3057 for ac_prog
in cl.exe
3059 # Extract the first word of "$ac_prog", so it can be a program name with args.
3060 set dummy
$ac_prog; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$ac_ct_CC"; then
3067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_ac_ct_CC
="$ac_prog"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3087 if test -n "$ac_ct_CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3089 $as_echo "$ac_ct_CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3096 test -n "$ac_ct_CC" && break
3099 if test "x$ac_ct_CC" = x
; then
3102 case $cross_compiling:$ac_tool_warned in
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3106 ac_tool_warned
=yes ;;
3115 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $?
"no acceptable C compiler found in \$PATH
3118 See \`config.log' for more details" "$LINENO" 5; }
3120 # Provide some information about the compiler.
3121 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3124 for ac_option
in --version -v -V -qversion; do
3125 { { ac_try
="$ac_compiler $ac_option >&5"
3127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3134 if test -s conftest.err; then
3136 ... rest of stderr output deleted ...
3137 10q' conftest.err >conftest.er1
3138 cat conftest.er1 >&5
3140 rm -f conftest.er1 conftest.err
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 ac_clean_files_save=$ac_clean_files
3157 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3158 # Try to create an executable without -o first, disregard a.out.
3159 # It will help us diagnose broken compilers, and finding out an intuition
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3162 $as_echo_n "checking whether the C compiler works... " >&6; }
3163 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3165 # The possible output files:
3166 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3169 for ac_file in $ac_files
3172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3173 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3178 if { { ac_try="$ac_link_default"
3180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3181 *) ac_try_echo
=$ac_try;;
3183 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_link_default") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; then :
3189 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3190 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3191 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3192 # so that the user can short-circuit this test for compilers unknown to
3194 for ac_file
in $ac_files ''
3196 test -f "$ac_file" ||
continue
3198 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3201 # We found the default executable, but exeext='' is most
3205 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3207 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3209 # We set ac_cv_exeext here because the later test for it is not
3210 # safe: cross compilers may not add the suffix if given an `-o'
3211 # argument, so we may need to know it at that point already.
3212 # Even if this section looks crufty: it has the advantage of
3219 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3224 if test -z "$ac_file"; then :
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 $as_echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.
$ac_ext >&5
3230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3232 as_fn_error
77 "C compiler cannot create executables
3233 See \`config.log' for more details" "$LINENO" 5; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3236 $as_echo "yes" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3239 $as_echo_n "checking for C compiler default output file name... " >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3241 $as_echo "$ac_file" >&6; }
3242 ac_exeext
=$ac_cv_exeext
3244 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3245 ac_clean_files
=$ac_clean_files_save
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3247 $as_echo_n "checking for suffix of executables... " >&6; }
3248 if { { ac_try
="$ac_link"
3250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3260 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3261 # work properly (i.e., refer to `conftest.exe'), while it won't with
3263 for ac_file
in conftest.exe conftest conftest.
*; do
3264 test -f "$ac_file" ||
continue
3266 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3267 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3276 See \`config.log' for more details" "$LINENO" 5; }
3278 rm -f conftest conftest
$ac_cv_exeext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3280 $as_echo "$ac_cv_exeext" >&6; }
3282 rm -f conftest.
$ac_ext
3283 EXEEXT
=$ac_cv_exeext
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3291 FILE *f = fopen ("conftest.out", "w");
3292 return ferror (f) || fclose (f) != 0;
3298 ac_clean_files
="$ac_clean_files conftest.out"
3299 # Check that the compiler produces executables we can run. If not, either
3300 # the compiler is broken, or we cross compile.
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3302 $as_echo_n "checking whether we are cross compiling... " >&6; }
3303 if test "$cross_compiling" != yes; then
3304 { { ac_try
="$ac_link"
3306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_link") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }
3315 if { ac_try='./conftest$ac_cv_exeext'
3316 { { case "(($ac_try" in
3317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3318 *) ac_try_echo
=$ac_try;;
3320 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321 $as_echo "$ac_try_echo"; } >&5
3322 (eval "$ac_try") 2>&5
3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325 test $ac_status = 0; }; }; then
3328 if test "$cross_compiling" = maybe
; then
3331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3333 as_fn_error $?
"cannot run C compiled programs.
3334 If you meant to cross compile, use \`--host'.
3335 See \`config.log' for more details" "$LINENO" 5; }
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3340 $as_echo "$cross_compiling" >&6; }
3342 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3343 ac_clean_files
=$ac_clean_files_save
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3345 $as_echo_n "checking for suffix of object files... " >&6; }
3346 if ${ac_cv_objext+:} false
; then :
3347 $as_echo_n "(cached) " >&6
3349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 rm -f conftest.o conftest.obj
3361 if { { ac_try
="$ac_compile"
3363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_compile") 2>&5
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }; then :
3372 for ac_file in conftest.o conftest.obj conftest.*; do
3373 test -f "$ac_file" || continue;
3375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3376 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
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 $? "cannot compute suffix of object files
: cannot compile
3387 See \
`config.log' for more details" "$LINENO" 5; }
3389 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3392 $as_echo "$ac_cv_objext" >&6; }
3393 OBJEXT=$ac_cv_objext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3396 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3397 if ${ac_cv_c_compiler_gnu+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3414 if ac_fn_c_try_compile "$LINENO"; then :
3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3420 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3424 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3425 if test $ac_compiler_gnu = yes; then
3430 ac_test_CFLAGS=${CFLAGS+set}
3431 ac_save_CFLAGS=$CFLAGS
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3433 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3434 if ${ac_cv_prog_cc_g+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 ac_save_c_werror_flag=$ac_c_werror_flag
3438 ac_c_werror_flag=yes
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3452 if ac_fn_c_try_compile "$LINENO"; then :
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 if ac_fn_c_try_compile "$LINENO"; then :
3470 ac_c_werror_flag=$ac_save_c_werror_flag
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_c_werror_flag=$ac_save_c_werror_flag
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3494 $as_echo "$ac_cv_prog_cc_g" >&6; }
3495 if test "$ac_test_CFLAGS" = set; then
3496 CFLAGS=$ac_save_CFLAGS
3497 elif test $ac_cv_prog_cc_g = yes; then
3498 if test "$GCC" = yes; then
3504 if test "$GCC" = yes; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3511 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3512 if ${ac_cv_prog_cc_c89+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 ac_cv_prog_cc_c89=no
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 #include <sys/types.h>
3522 #include <sys/stat.h>
3523 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3524 struct buf { int x; };
3525 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3526 static char *e (p, i)
3532 static char *f (char * (*g) (char **, int), char **p, ...)
3537 s = g (p, va_arg (v,int));
3542 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3543 function prototypes and stuff, but not '\xHH' hex character constants.
3544 These don't provoke an error unfortunately, instead are silently treated
3545 as 'x'. The following induces an error, until -std is added to get
3546 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3547 array size at least. It's necessary to write '\x00'==0 to get something
3548 that's true only with -std. */
3549 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3551 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3552 inside strings and character constants. */
3554 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3556 int test (int i, double x);
3557 struct s1 {int (*f) (int a);};
3558 struct s2 {int (*f) (double a);};
3559 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3565 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3571 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3573 CC="$ac_save_CC $ac_arg"
3574 if ac_fn_c_try_compile "$LINENO"; then :
3575 ac_cv_prog_cc_c89=$ac_arg
3577 rm -f core conftest.err conftest.$ac_objext
3578 test "x$ac_cv_prog_cc_c89" != "xno" && break
3580 rm -f conftest.$ac_ext
3585 case "x$ac_cv_prog_cc_c89" in
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3588 $as_echo "none needed" >&6; } ;;
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3591 $as_echo "unsupported" >&6; } ;;
3593 CC="$CC $ac_cv_prog_cc_c89"
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3595 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3597 if test "x$ac_cv_prog_cc_c89" != xno; then :
3602 ac_cpp='$CPP $CPPFLAGS'
3603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 DEPDIR="${am__leading_dot}deps"
3608 ac_config_commands="$ac_config_commands depfiles"
3611 am_make=${MAKE-make}
3612 cat > confinc << 'END'
3614 @echo this is the am__doit target
3617 # If we don't find an include directive, just comment out the code.
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3619 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3623 # First try GNU make style include.
3624 echo "include confinc" > confmf
3625 # Ignore all kinds of additional output from `make'.
3626 case `$am_make -s -f confmf 2> /dev/null` in #(
3627 *the\ am__doit\ target*)
3633 # Now try BSD make style include.
3634 if test "$am__include" = "#"; then
3635 echo '.include
"confinc"' > confmf
3636 case `$am_make -s -f confmf 2> /dev/null` in #(
3637 *the\ am__doit\ target*)
3638 am__include=.include
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3647 $as_echo "$_am_result" >&6; }
3648 rm -f confinc confmf
3650 # Check whether --enable-dependency-tracking was given.
3651 if test "${enable_dependency_tracking+set}" = set; then :
3652 enableval=$enable_dependency_tracking;
3655 if test "x$enable_dependency_tracking" != xno; then
3656 am_depcomp="$ac_aux_dir/depcomp"
3659 if test "x$enable_dependency_tracking" != xno
; then
3669 depcc
="$CC" am_compiler_list
=
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3672 $as_echo_n "checking dependency style of $depcc... " >&6; }
3673 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3677 # We make a subdir and do the tests there. Otherwise we can end up
3678 # making bogus files that we don't know about and never remove. For
3679 # instance it was reported that on HP-UX the gcc test will end up
3680 # making a dummy file named `D' -- because `-MD' means `put the output
3683 # Copy depcomp to subdir because otherwise we won't find it if we're
3684 # using a relative directory.
3685 cp "$am_depcomp" conftest.dir
3687 # We will build objects and dependencies in a subdirectory because
3688 # it helps to detect inapplicable dependency modes. For instance
3689 # both Tru64's cc and ICC support -MD to output dependencies as a
3690 # side effect of compilation, but ICC will put the dependencies in
3691 # the current directory while Tru64 will put them in the object
3695 am_cv_CC_dependencies_compiler_type
=none
3696 if test "$am_compiler_list" = ""; then
3697 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3700 case " $depcc " in #(
3701 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3704 for depmode
in $am_compiler_list; do
3705 # Setup a source with many dependencies, because some compilers
3706 # like to wrap large dependency lists on column 80 (with \), and
3707 # we should not choose a depcomp mode which is confused by this.
3709 # We need to recreate these files for each test, as the compiler may
3710 # overwrite some of them when testing with obscure command lines.
3711 # This happens at least with the AIX C compiler.
3713 for i
in 1 2 3 4 5 6; do
3714 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3715 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3716 # Solaris 8's {/usr,}/bin/sh.
3717 touch sub
/conftst
$i.h
3719 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3721 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3722 # mode. It turns out that the SunPro C++ compiler does not properly
3723 # handle `-M -o', and we need to detect this. Also, some Intel
3724 # versions had trouble with output in subdirs
3725 am__obj
=sub
/conftest.
${OBJEXT-o}
3726 am__minus_obj
="-o $am__obj"
3729 # This depmode causes a compiler race in universal mode.
3730 test "$am__universal" = false ||
continue
3733 # after this tag, mechanisms are not by side-effect, so they'll
3734 # only be used when explicitly requested
3735 if test "x$enable_dependency_tracking" = xyes
; then
3741 msvisualcpp | msvcmsys
)
3742 # This compiler won't grok `-c -o', but also, the minuso test has
3743 # not run yet. These depmodes are late enough in the game, and
3744 # so weak that their functioning should not be impacted.
3745 am__obj
=conftest.
${OBJEXT-o}
3750 if depmode
=$depmode \
3751 source=sub
/conftest.c object
=$am__obj \
3752 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3753 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3754 >/dev
/null
2>conftest.err
&&
3755 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3756 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3757 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3758 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3759 # icc doesn't choke on unknown options, it will just issue warnings
3760 # or remarks (even with -Werror). So we grep stderr for any message
3761 # that says an option was ignored or not supported.
3762 # When given -MP, icc 7.0 and 7.1 complain thusly:
3763 # icc: Command line warning: ignoring option '-M'; no argument required
3764 # The diagnosis changed in icc 8.0:
3765 # icc: Command line remark: option '-MP' not supported
3766 if (grep 'ignoring option' conftest.err ||
3767 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3768 am_cv_CC_dependencies_compiler_type
=$depmode
3777 am_cv_CC_dependencies_compiler_type
=none
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3782 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3783 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3786 test "x$enable_dependency_tracking" != xno \
3787 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3789 am__fastdepCC_FALSE
='#'
3791 am__fastdepCC_TRUE
='#'
3792 am__fastdepCC_FALSE
=
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3799 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3805 macro_revision
='1.3293'
3819 ltmain
="$ac_aux_dir/ltmain.sh"
3821 # Backslashify metacharacters that are still active within
3822 # double-quoted strings.
3823 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3825 # Same as above, but do not quote variable references.
3826 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3828 # Sed substitution to delay expansion of an escaped shell variable in a
3829 # double_quote_subst'ed string.
3830 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3832 # Sed substitution to delay expansion of an escaped single quote.
3833 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3835 # Sed substitution to avoid accidental globbing in evaled expressions
3836 no_glob_subst
='s/\*/\\\*/g'
3838 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3839 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3840 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3843 $as_echo_n "checking how to print strings... " >&6; }
3844 # Test print first, because it will be a builtin if present.
3845 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3846 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3848 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3851 # Use this function as a fallback that always works.
3852 func_fallback_echo ()
3854 eval 'cat <<_LTECHO_EOF
3858 ECHO='func_fallback_echo
'
3861 # func_echo_all arg...
3862 # Invoke $ECHO with all args, space-separated.
3869 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3870 $as_echo "printf" >&6; } ;;
3871 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3872 $as_echo "print -r" >&6; } ;;
3873 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3874 $as_echo "cat" >&6; } ;;
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3891 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3892 if ${ac_cv_path_SED+:} false; then :
3893 $as_echo_n "(cached) " >&6
3895 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3896 for ac_i in 1 2 3 4 5 6 7; do
3897 ac_script="$ac_script$as_nl$ac_script"
3899 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3900 { ac_script=; unset ac_script;}
3901 if test -z "$SED"; then
3902 ac_path_SED_found=false
3903 # Loop through the user's path and
test for each of PROGNAME-LIST
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_prog
in sed gsed
; do
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3912 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3913 # Check for GNU ac_path_SED and select it if it is found.
3914 # Check for GNU $ac_path_SED
3915 case `"$ac_path_SED" --version 2>&1` in
3917 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3920 $as_echo_n 0123456789 >"conftest.in"
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
3924 mv "conftest.tmp" "conftest.in"
3925 cp "conftest.in" "conftest.nl"
3926 $as_echo '' >> "conftest.nl"
3927 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3929 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3930 if test $ac_count -gt ${ac_path_SED_max-0}; then
3931 # Best one so far, save it but keep looking for a better one
3932 ac_cv_path_SED
="$ac_path_SED"
3933 ac_path_SED_max
=$ac_count
3935 # 10*(2^10) chars as input seems more than enough
3936 test $ac_count -gt 10 && break
3938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3941 $ac_path_SED_found && break 3
3946 if test -z "$ac_cv_path_SED"; then
3947 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3955 $as_echo "$ac_cv_path_SED" >&6; }
3956 SED
="$ac_cv_path_SED"
3959 test -z "$SED" && SED
=sed
3960 Xsed
="$SED -e 1s/^X//"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3973 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3974 if ${ac_cv_path_GREP+:} false
; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -z "$GREP"; then
3978 ac_path_GREP_found
=false
3979 # Loop through the user's path and test for each of PROGNAME-LIST
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3981 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_prog
in grep ggrep
; do
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3988 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3989 # Check for GNU ac_path_GREP and select it if it is found.
3990 # Check for GNU $ac_path_GREP
3991 case `"$ac_path_GREP" --version 2>&1` in
3993 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3996 $as_echo_n 0123456789 >"conftest.in"
3999 cat "conftest.in" "conftest.in" >"conftest.tmp"
4000 mv "conftest.tmp" "conftest.in"
4001 cp "conftest.in" "conftest.nl"
4002 $as_echo 'GREP' >> "conftest.nl"
4003 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4004 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4005 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4006 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4007 # Best one so far, save it but keep looking for a better one
4008 ac_cv_path_GREP
="$ac_path_GREP"
4009 ac_path_GREP_max
=$ac_count
4011 # 10*(2^10) chars as input seems more than enough
4012 test $ac_count -gt 10 && break
4014 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4017 $ac_path_GREP_found && break 3
4022 if test -z "$ac_cv_path_GREP"; then
4023 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4026 ac_cv_path_GREP
=$GREP
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4031 $as_echo "$ac_cv_path_GREP" >&6; }
4032 GREP
="$ac_cv_path_GREP"
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4036 $as_echo_n "checking for egrep... " >&6; }
4037 if ${ac_cv_path_EGREP+:} false
; then :
4038 $as_echo_n "(cached) " >&6
4040 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4041 then ac_cv_path_EGREP
="$GREP -E"
4043 if test -z "$EGREP"; then
4044 ac_path_EGREP_found
=false
4045 # Loop through the user's path and test for each of PROGNAME-LIST
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_prog
in egrep; do
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4054 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4055 # Check for GNU ac_path_EGREP and select it if it is found.
4056 # Check for GNU $ac_path_EGREP
4057 case `"$ac_path_EGREP" --version 2>&1` in
4059 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4062 $as_echo_n 0123456789 >"conftest.in"
4065 cat "conftest.in" "conftest.in" >"conftest.tmp"
4066 mv "conftest.tmp" "conftest.in"
4067 cp "conftest.in" "conftest.nl"
4068 $as_echo 'EGREP' >> "conftest.nl"
4069 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4070 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4071 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4072 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4073 # Best one so far, save it but keep looking for a better one
4074 ac_cv_path_EGREP
="$ac_path_EGREP"
4075 ac_path_EGREP_max
=$ac_count
4077 # 10*(2^10) chars as input seems more than enough
4078 test $ac_count -gt 10 && break
4080 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4083 $ac_path_EGREP_found && break 3
4088 if test -z "$ac_cv_path_EGREP"; then
4089 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4092 ac_cv_path_EGREP
=$EGREP
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4098 $as_echo "$ac_cv_path_EGREP" >&6; }
4099 EGREP
="$ac_cv_path_EGREP"
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4103 $as_echo_n "checking for fgrep... " >&6; }
4104 if ${ac_cv_path_FGREP+:} false
; then :
4105 $as_echo_n "(cached) " >&6
4107 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4108 then ac_cv_path_FGREP
="$GREP -F"
4110 if test -z "$FGREP"; then
4111 ac_path_FGREP_found
=false
4112 # Loop through the user's path and test for each of PROGNAME-LIST
4113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4117 test -z "$as_dir" && as_dir
=.
4118 for ac_prog
in fgrep
; do
4119 for ac_exec_ext
in '' $ac_executable_extensions; do
4120 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4121 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4122 # Check for GNU ac_path_FGREP and select it if it is found.
4123 # Check for GNU $ac_path_FGREP
4124 case `"$ac_path_FGREP" --version 2>&1` in
4126 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4129 $as_echo_n 0123456789 >"conftest.in"
4132 cat "conftest.in" "conftest.in" >"conftest.tmp"
4133 mv "conftest.tmp" "conftest.in"
4134 cp "conftest.in" "conftest.nl"
4135 $as_echo 'FGREP' >> "conftest.nl"
4136 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4137 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4138 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4139 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4140 # Best one so far, save it but keep looking for a better one
4141 ac_cv_path_FGREP
="$ac_path_FGREP"
4142 ac_path_FGREP_max
=$ac_count
4144 # 10*(2^10) chars as input seems more than enough
4145 test $ac_count -gt 10 && break
4147 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4150 $ac_path_FGREP_found && break 3
4155 if test -z "$ac_cv_path_FGREP"; then
4156 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4159 ac_cv_path_FGREP
=$FGREP
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4165 $as_echo "$ac_cv_path_FGREP" >&6; }
4166 FGREP
="$ac_cv_path_FGREP"
4169 test -z "$GREP" && GREP
=grep
4189 # Check whether --with-gnu-ld was given.
4190 if test "${with_gnu_ld+set}" = set; then :
4191 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4197 if test "$GCC" = yes; then
4198 # Check if gcc -print-prog-name=ld gives a path.
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4200 $as_echo_n "checking for ld used by $CC... " >&6; }
4203 # gcc leaves a trailing carriage return which upsets mingw
4204 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4206 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4209 # Accept absolute paths.
4211 re_direlt
='/[^/][^/]*/\.\./'
4212 # Canonicalize the pathname of ld
4213 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4214 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4215 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4217 test -z "$LD" && LD
="$ac_prog"
4220 # If it fails, then pretend we aren't using GCC.
4224 # If it is relative, then search for the first ld in PATH.
4228 elif test "$with_gnu_ld" = yes; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4230 $as_echo_n "checking for GNU ld... " >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4233 $as_echo_n "checking for non-GNU ld... " >&6; }
4235 if ${lt_cv_path_LD+:} false
; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -z "$LD"; then
4239 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4240 for ac_dir
in $PATH; do
4242 test -z "$ac_dir" && ac_dir
=.
4243 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4244 lt_cv_path_LD
="$ac_dir/$ac_prog"
4245 # Check to see if the program is GNU ld. I'd rather use --version,
4246 # but apparently some variants of GNU ld only accept -v.
4247 # Break only if it was the GNU/non-GNU ld that we prefer.
4248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4249 *GNU
* |
*'with BFD'*)
4250 test "$with_gnu_ld" != no
&& break
4253 test "$with_gnu_ld" != yes && break
4260 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4265 if test -n "$LD"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4267 $as_echo "$LD" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4272 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4275 if ${lt_cv_prog_gnu_ld+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4279 case `$LD -v 2>&1 </dev/null` in
4280 *GNU
* |
*'with BFD'*)
4281 lt_cv_prog_gnu_ld
=yes
4284 lt_cv_prog_gnu_ld
=no
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4290 with_gnu_ld
=$lt_cv_prog_gnu_ld
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4301 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4302 if ${lt_cv_path_NM+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$NM"; then
4306 # Let the user override the test.
4309 lt_nm_to_check
="${ac_tool_prefix}nm"
4310 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4311 lt_nm_to_check
="$lt_nm_to_check nm"
4313 for lt_tmp_nm
in $lt_nm_to_check; do
4314 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4315 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4317 test -z "$ac_dir" && ac_dir
=.
4318 tmp_nm
="$ac_dir/$lt_tmp_nm"
4319 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4320 # Check to see if the nm accepts a BSD-compat flag.
4321 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4322 # nm: unknown option "B" ignored
4323 # Tru64's nm complains that /dev/null is an invalid object file
4324 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4325 */dev
/null
* |
*'Invalid file or object type'*)
4326 lt_cv_path_NM
="$tmp_nm -B"
4330 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4332 lt_cv_path_NM
="$tmp_nm -p"
4336 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4337 continue # so that we can try to find one that supports BSD flags
4346 : ${lt_cv_path_NM=no}
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4350 $as_echo "$lt_cv_path_NM" >&6; }
4351 if test "$lt_cv_path_NM" != "no"; then
4354 # Didn't find any BSD compatible name lister, look for dumpbin.
4355 if test -n "$DUMPBIN"; then :
4356 # Let the user override the test.
4358 if test -n "$ac_tool_prefix"; then
4359 for ac_prog
in dumpbin
"link -dump"
4361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$DUMPBIN"; then
4369 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 DUMPBIN
=$ac_cv_prog_DUMPBIN
4389 if test -n "$DUMPBIN"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4391 $as_echo "$DUMPBIN" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4398 test -n "$DUMPBIN" && break
4401 if test -z "$DUMPBIN"; then
4402 ac_ct_DUMPBIN
=$DUMPBIN
4403 for ac_prog
in dumpbin
"link -dump"
4405 # Extract the first word of "$ac_prog", so it can be a program name with args.
4406 set dummy
$ac_prog; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$ac_ct_DUMPBIN"; then
4413 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4433 if test -n "$ac_ct_DUMPBIN"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4435 $as_echo "$ac_ct_DUMPBIN" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4442 test -n "$ac_ct_DUMPBIN" && break
4445 if test "x$ac_ct_DUMPBIN" = x
; then
4448 case $cross_compiling:$ac_tool_warned in
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4452 ac_tool_warned
=yes ;;
4454 DUMPBIN
=$ac_ct_DUMPBIN
4458 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4460 DUMPBIN
="$DUMPBIN -symbols"
4468 if test "$DUMPBIN" != ":"; then
4472 test -z "$NM" && NM
=nm
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4480 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4481 if ${lt_cv_nm_interface+:} false
; then :
4482 $as_echo_n "(cached) " >&6
4484 lt_cv_nm_interface
="BSD nm"
4485 echo "int some_variable = 0;" > conftest.
$ac_ext
4486 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4487 (eval "$ac_compile" 2>conftest.err
)
4488 cat conftest.err
>&5
4489 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4490 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4491 cat conftest.err
>&5
4492 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4493 cat conftest.out
>&5
4494 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4495 lt_cv_nm_interface
="MS dumpbin"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4500 $as_echo "$lt_cv_nm_interface" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4503 $as_echo_n "checking whether ln -s works... " >&6; }
4505 if test "$LN_S" = "ln -s"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4507 $as_echo "yes" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4510 $as_echo "no, using $LN_S" >&6; }
4513 # find the maximum length of command line arguments
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4515 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4516 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4517 $as_echo_n "(cached) " >&6
4524 # On DJGPP, this test can blow up pretty badly due to problems in libc
4525 # (any single argument exceeding 2000 bytes causes a buffer overrun
4526 # during glob expansion). Even if it were fixed, the result of this
4527 # check would be larger than it should be.
4528 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4532 # Under GNU Hurd, this test is not required because there is
4533 # no limit to the length of command line arguments.
4534 # Libtool will interpret -1 as no limit whatsoever
4535 lt_cv_sys_max_cmd_len
=-1;
4538 cygwin
* | mingw
* | cegcc
*)
4539 # On Win9x/ME, this test blows up -- it succeeds, but takes
4540 # about 5 minutes as the teststring grows exponentially.
4541 # Worse, since 9x/ME are not pre-emptively multitasking,
4542 # you end up with a "frozen" computer, even though with patience
4543 # the test eventually succeeds (with a max line length of 256k).
4544 # Instead, let's just punt: use the minimum linelength reported by
4545 # all of the supported platforms: 8192 (on NT/2K/XP).
4546 lt_cv_sys_max_cmd_len
=8192;
4550 # On MiNT this can take a long time and run out of memory.
4551 lt_cv_sys_max_cmd_len
=8192;
4555 # On AmigaOS with pdksh, this test takes hours, literally.
4556 # So we just punt and use a minimum line length of 8192.
4557 lt_cv_sys_max_cmd_len
=8192;
4560 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4561 # This has been around since 386BSD, at least. Likely further.
4562 if test -x /sbin
/sysctl
; then
4563 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4564 elif test -x /usr
/sbin
/sysctl
; then
4565 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4567 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4569 # And add a safety zone
4570 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4571 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4575 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4576 lt_cv_sys_max_cmd_len
=196608
4580 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4581 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4582 # nice to cause kernel panics so lets avoid the loop below.
4583 # First set a reasonable default.
4584 lt_cv_sys_max_cmd_len
=16384
4586 if test -x /sbin
/sysconfig
; then
4587 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4588 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4593 lt_cv_sys_max_cmd_len
=102400
4595 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4596 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4597 if test -n "$kargmax"; then
4598 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4600 lt_cv_sys_max_cmd_len
=32768
4604 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4605 if test -n "$lt_cv_sys_max_cmd_len"; then
4606 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4607 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4609 # Make teststring a little bigger before we do anything with it.
4610 # a 1K string should be a reasonable start.
4611 for i
in 1 2 3 4 5 6 7 8 ; do
4612 teststring
=$teststring$teststring
4614 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4615 # If test is not a shell built-in, we'll probably end up computing a
4616 # maximum length that is only half of the actual maximum length, but
4618 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4619 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4620 test $i != 17 # 1/2 MB should be enough
4623 teststring
=$teststring$teststring
4625 # Only check the string length outside the loop.
4626 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4628 # Add a significant safety factor because C++ compilers can tack on
4629 # massive amounts of additional arguments before passing them to the
4630 # linker. It appears as though 1/2 is a usable value.
4631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4638 if test -n $lt_cv_sys_max_cmd_len ; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4640 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4643 $as_echo "none" >&6; }
4645 max_cmd_len
=$lt_cv_sys_max_cmd_len
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4657 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4658 # Try some XSI features
4661 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4663 && eval 'test $(( 1 + 1 )) -eq 2 \
4664 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4667 $as_echo "$xsi_shell" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4671 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4673 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4675 && lt_shell_append=yes
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4677 $as_echo "$lt_shell_append" >&6; }
4680 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4690 # test EBCDIC or ASCII
4691 case `echo X|tr X '\101'` in
4692 A) # ASCII based system
4693 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4694 lt_SP2NL='tr \040 \012'
4695 lt_NL2SP='tr \015\012 \040\040'
4697 *) # EBCDIC based system
4698 lt_SP2NL='tr \100 \n'
4699 lt_NL2SP='tr \r\n \100\100'
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4712 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4713 if ${lt_cv_to_host_file_cmd+:} false; then :
4714 $as_echo_n "(cached
) " >&6
4719 *-*-mingw* ) # actually msys
4720 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4723 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4725 * ) # otherwise, assume *nix
4726 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4732 *-*-mingw* ) # actually msys
4733 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4736 lt_cv_to_host_file_cmd=func_convert_file_noop
4738 * ) # otherwise, assume *nix
4739 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4743 * ) # unhandled hosts (and "normal
" native builds)
4744 lt_cv_to_host_file_cmd=func_convert_file_noop
4750 to_host_file_cmd=$lt_cv_to_host_file_cmd
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4752 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4759 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4760 if ${lt_cv_to_tool_file_cmd+:} false; then :
4761 $as_echo_n "(cached
) " >&6
4763 #assume ordinary cross tools, or native build.
4764 lt_cv_to_tool_file_cmd=func_convert_file_noop
4768 *-*-mingw* ) # actually msys
4769 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4777 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4779 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4786 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4787 if ${lt_cv_ld_reload_flag+:} false; then :
4788 $as_echo_n "(cached
) " >&6
4790 lt_cv_ld_reload_flag='-r'
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4793 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4794 reload_flag=$lt_cv_ld_reload_flag
4795 case $reload_flag in
4797 *) reload_flag=" $reload_flag" ;;
4799 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4801 cygwin* | mingw* | pw32* | cegcc*)
4802 if test "$GCC" != yes; then
4807 if test "$GCC" = yes; then
4808 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4810 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4827 $as_echo_n "checking
for $ac_word...
" >&6; }
4828 if ${ac_cv_prog_OBJDUMP+:} false; then :
4829 $as_echo_n "(cached
) " >&6
4831 if test -n "$OBJDUMP"; then
4832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4841 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4851 OBJDUMP=$ac_cv_prog_OBJDUMP
4852 if test -n "$OBJDUMP"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4854 $as_echo "$OBJDUMP" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4857 $as_echo "no
" >&6; }
4862 if test -z "$ac_cv_prog_OBJDUMP"; then
4863 ac_ct_OBJDUMP=$OBJDUMP
4864 # Extract the first word of "objdump
", so it can be a program name with args.
4865 set dummy objdump; ac_word=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4867 $as_echo_n "checking
for $ac_word...
" >&6; }
4868 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4869 $as_echo_n "(cached
) " >&6
4871 if test -n "$ac_ct_OBJDUMP"; then
4872 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4881 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4891 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4892 if test -n "$ac_ct_OBJDUMP"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4894 $as_echo "$ac_ct_OBJDUMP" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4897 $as_echo "no
" >&6; }
4900 if test "x
$ac_ct_OBJDUMP" = x; then
4903 case $cross_compiling:$ac_tool_warned in
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4906 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4907 ac_tool_warned=yes ;;
4909 OBJDUMP=$ac_ct_OBJDUMP
4912 OBJDUMP="$ac_cv_prog_OBJDUMP"
4915 test -z "$OBJDUMP" && OBJDUMP=objdump
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4926 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4927 if ${lt_cv_deplibs_check_method+:} false; then :
4928 $as_echo_n "(cached
) " >&6
4930 lt_cv_file_magic_cmd='$MAGIC_CMD'
4931 lt_cv_file_magic_test_file=
4932 lt_cv_deplibs_check_method='unknown'
4933 # Need to set the preceding variable on all platforms that support
4934 # interlibrary dependencies.
4935 # 'none' -- dependencies not supported.
4936 # `unknown' -- same as none, but documents that we really don't know.
4937 # 'pass_all' -- all dependencies passed with no checks.
4938 # 'test_compile' -- check by making test program.
4939 # 'file_magic [[regex]]' -- check by looking for files in library path
4940 # which responds to the $file_magic_cmd with a given extended regex.
4941 # If you have `file' or equivalent on your system and you're not sure
4942 # whether `pass_all' will *always* work, you probably want this one.
4946 lt_cv_deplibs_check_method=pass_all
4950 lt_cv_deplibs_check_method=pass_all
4954 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4955 lt_cv_file_magic_cmd='/usr/bin/file -L'
4956 lt_cv_file_magic_test_file=/shlib/libc.so
4960 # func_win32_libid is a shell function defined in ltmain.sh
4961 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4962 lt_cv_file_magic_cmd='func_win32_libid'
4966 # Base MSYS/MinGW do not provide the 'file' command needed by
4967 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4968 # unless we find 'file', for example because we are cross-compiling.
4969 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4970 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4971 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4972 lt_cv_file_magic_cmd='func_win32_libid'
4974 # Keep this pattern in sync with the one in func_win32_libid.
4975 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4976 lt_cv_file_magic_cmd='$OBJDUMP -f'
4981 # use the weaker test based on 'objdump'. See mingw*.
4982 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4983 lt_cv_file_magic_cmd='$OBJDUMP -f'
4986 darwin* | rhapsody*)
4987 lt_cv_deplibs_check_method=pass_all
4990 freebsd* | dragonfly*)
4991 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4994 # Not sure whether the presence of OpenBSD here was a mistake.
4995 # Let's accept both of them until this is cleared up.
4996 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4997 lt_cv_file_magic_cmd=/usr/bin/file
4998 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5002 lt_cv_deplibs_check_method=pass_all
5007 lt_cv_deplibs_check_method=pass_all
5011 lt_cv_deplibs_check_method=pass_all
5014 hpux10.20* | hpux11*)
5015 lt_cv_file_magic_cmd=/usr/bin/file
5018 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5019 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5022 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]'
5023 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5026 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5027 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5033 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5034 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5037 irix5* | irix6* | nonstopux*)
5039 *-32|*"-32 ") libmagic=32-bit;;
5040 *-n32|*"-n32 ") libmagic=N32;;
5041 *-64|*"-64 ") libmagic=64-bit;;
5042 *) libmagic=never-match;;
5044 lt_cv_deplibs_check_method=pass_all
5047 # This must be Linux ELF.
5048 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5049 lt_cv_deplibs_check_method=pass_all
5052 netbsd* | netbsdelf*-gnu)
5053 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5062 lt_cv_file_magic_cmd=/usr/bin/file
5063 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5067 lt_cv_deplibs_check_method=pass_all
5071 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5078 osf3* | osf4* | osf5*)
5079 lt_cv_deplibs_check_method=pass_all
5083 lt_cv_deplibs_check_method=pass_all
5087 lt_cv_deplibs_check_method=pass_all
5090 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5091 lt_cv_deplibs_check_method=pass_all
5095 case $host_vendor in
5097 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]'
5098 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5101 lt_cv_deplibs_check_method=pass_all
5104 lt_cv_file_magic_cmd='/bin/file'
5105 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5108 lt_cv_file_magic_cmd='/bin/file'
5109 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5110 lt_cv_file_magic_test_file=/lib/libc.so
5113 lt_cv_deplibs_check_method=pass_all
5116 lt_cv_deplibs_check_method=pass_all
5122 lt_cv_deplibs_check_method=pass_all
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5128 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5132 if test "$build" = "$host"; then
5135 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5138 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5144 file_magic_cmd=$lt_cv_file_magic_cmd
5145 deplibs_check_method=$lt_cv_deplibs_check_method
5146 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5171 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5173 $as_echo_n "checking
for $ac_word...
" >&6; }
5174 if ${ac_cv_prog_DLLTOOL+:} false; then :
5175 $as_echo_n "(cached
) " >&6
5177 if test -n "$DLLTOOL"; then
5178 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5197 DLLTOOL=$ac_cv_prog_DLLTOOL
5198 if test -n "$DLLTOOL"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5200 $as_echo "$DLLTOOL" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5203 $as_echo "no
" >&6; }
5208 if test -z "$ac_cv_prog_DLLTOOL"; then
5209 ac_ct_DLLTOOL=$DLLTOOL
5210 # Extract the first word of "dlltool
", so it can be a program name with args.
5211 set dummy dlltool; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5213 $as_echo_n "checking
for $ac_word...
" >&6; }
5214 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5215 $as_echo_n "(cached
) " >&6
5217 if test -n "$ac_ct_DLLTOOL"; then
5218 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5238 if test -n "$ac_ct_DLLTOOL"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5240 $as_echo "$ac_ct_DLLTOOL" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5243 $as_echo "no
" >&6; }
5246 if test "x
$ac_ct_DLLTOOL" = x; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5252 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5253 ac_tool_warned=yes ;;
5255 DLLTOOL=$ac_ct_DLLTOOL
5258 DLLTOOL="$ac_cv_prog_DLLTOOL"
5261 test -z "$DLLTOOL" && DLLTOOL=dlltool
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5273 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5274 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5275 $as_echo_n "(cached
) " >&6
5277 lt_cv_sharedlib_from_linklib_cmd='unknown'
5280 cygwin* | mingw* | pw32* | cegcc*)
5281 # two different shell functions defined in ltmain.sh
5282 # decide which to use based on capabilities of $DLLTOOL
5283 case `$DLLTOOL --help 2>&1` in
5284 *--identify-strict*)
5285 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5288 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5293 # fallback: assume linklib IS sharedlib
5294 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5300 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5301 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5302 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5311 if test -n "$ac_tool_prefix"; then
5314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5317 $as_echo_n "checking
for $ac_word...
" >&6; }
5318 if ${ac_cv_prog_AR+:} false; then :
5319 $as_echo_n "(cached
) " >&6
5321 if test -n "$AR"; then
5322 ac_cv_prog_AR="$AR" # Let the user override the test.
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5331 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5342 if test -n "$AR"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5344 $as_echo "$AR" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5347 $as_echo "no
" >&6; }
5351 test -n "$AR" && break
5354 if test -z "$AR"; then
5358 # Extract the first word of "$ac_prog", so it can be a program name with args.
5359 set dummy $ac_prog; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5361 $as_echo_n "checking
for $ac_word...
" >&6; }
5362 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5363 $as_echo_n "(cached
) " >&6
5365 if test -n "$ac_ct_AR"; then
5366 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_prog_ac_ct_AR="$ac_prog"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5385 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5386 if test -n "$ac_ct_AR"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5388 $as_echo "$ac_ct_AR" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5391 $as_echo "no
" >&6; }
5395 test -n "$ac_ct_AR" && break
5398 if test "x
$ac_ct_AR" = x; then
5401 case $cross_compiling:$ac_tool_warned in
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5405 ac_tool_warned=yes ;;
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5425 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5426 if ${lt_cv_ar_at_file+:} false; then :
5427 $as_echo_n "(cached
) " >&6
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5441 if ac_fn_c_try_compile "$LINENO"; then :
5442 echo conftest.$ac_objext > conftest.lst
5443 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5444 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5445 (eval $lt_ar_try) 2>&5
5447 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5448 test $ac_status = 0; }
5449 if test "$ac_status" -eq 0; then
5450 # Ensure the archiver fails upon bogus file names.
5451 rm -f conftest.$ac_objext libconftest.a
5452 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5453 (eval $lt_ar_try) 2>&5
5455 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5456 test $ac_status = 0; }
5457 if test "$ac_status" -ne 0; then
5461 rm -f conftest.* libconftest.a
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5468 $as_echo "$lt_cv_ar_at_file" >&6; }
5470 if test "x
$lt_cv_ar_at_file" = xno; then
5473 archiver_list_spec=$lt_cv_ar_at_file
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}strip; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5486 $as_echo_n "checking
for $ac_word...
" >&6; }
5487 if ${ac_cv_prog_STRIP+:} false; then :
5488 $as_echo_n "(cached
) " >&6
5490 if test -n "$STRIP"; then
5491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5500 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5510 STRIP=$ac_cv_prog_STRIP
5511 if test -n "$STRIP"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5513 $as_echo "$STRIP" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5516 $as_echo "no
" >&6; }
5521 if test -z "$ac_cv_prog_STRIP"; then
5523 # Extract the first word of "strip
", so it can be a program name with args.
5524 set dummy strip; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5526 $as_echo_n "checking
for $ac_word...
" >&6; }
5527 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5528 $as_echo_n "(cached
) " >&6
5530 if test -n "$ac_ct_STRIP"; then
5531 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540 ac_cv_prog_ac_ct_STRIP="strip
"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5551 if test -n "$ac_ct_STRIP"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5553 $as_echo "$ac_ct_STRIP" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5556 $as_echo "no
" >&6; }
5559 if test "x
$ac_ct_STRIP" = x; then
5562 case $cross_compiling:$ac_tool_warned in
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5565 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5566 ac_tool_warned=yes ;;
5571 STRIP="$ac_cv_prog_STRIP"
5574 test -z "$STRIP" && STRIP=:
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5585 $as_echo_n "checking
for $ac_word...
" >&6; }
5586 if ${ac_cv_prog_RANLIB+:} false; then :
5587 $as_echo_n "(cached
) " >&6
5589 if test -n "$RANLIB"; then
5590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5609 RANLIB=$ac_cv_prog_RANLIB
5610 if test -n "$RANLIB"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5612 $as_echo "$RANLIB" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5615 $as_echo "no
" >&6; }
5620 if test -z "$ac_cv_prog_RANLIB"; then
5621 ac_ct_RANLIB=$RANLIB
5622 # Extract the first word of "ranlib
", so it can be a program name with args.
5623 set dummy ranlib; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5625 $as_echo_n "checking
for $ac_word...
" >&6; }
5626 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5627 $as_echo_n "(cached
) " >&6
5629 if test -n "$ac_ct_RANLIB"; then
5630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5650 if test -n "$ac_ct_RANLIB"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5652 $as_echo "$ac_ct_RANLIB" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5655 $as_echo "no
" >&6; }
5658 if test "x
$ac_ct_RANLIB" = x; then
5661 case $cross_compiling:$ac_tool_warned in
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5664 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5665 ac_tool_warned=yes ;;
5667 RANLIB=$ac_ct_RANLIB
5670 RANLIB="$ac_cv_prog_RANLIB"
5673 test -z "$RANLIB" && RANLIB=:
5680 # Determine commands to create old-style static archives.
5681 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5682 old_postinstall_cmds='chmod 644 $oldlib'
5683 old_postuninstall_cmds=
5685 if test -n "$RANLIB"; then
5688 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5691 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5694 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5699 lock_old_archive_extraction=yes ;;
5701 lock_old_archive_extraction=no ;;
5742 # If no C compiler was specified, use CC.
5745 # If no C compiler flags were specified, use CFLAGS.
5746 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5748 # Allow CC to be a program name with arguments.
5752 # Check for command to grab the raw symbol name followed by C symbol from nm.
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5754 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5755 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5756 $as_echo_n "(cached
) " >&6
5759 # These are sane defaults that work on at least a few old systems.
5760 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5762 # Character class describing NM global symbol codes.
5763 symcode='[BCDEGRST]'
5765 # Regexp to match symbols that can be accessed directly from C.
5766 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5768 # Define system-specific variables.
5773 cygwin* | mingw* | pw32* | cegcc*)
5774 symcode='[ABCDGISTW]'
5777 if test "$host_cpu" = ia64; then
5778 symcode='[ABCDEGRST]'
5782 symcode='[BCDEGRST]'
5785 symcode='[BCDEGQRST]'
5796 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5804 # If we're using GNU nm, then use its standard symbol codes.
5805 case `$NM -V 2>&1` in
5806 *GNU* | *'with BFD'*)
5807 symcode='[ABCDGIRSTW]' ;;
5810 # Transform an extracted symbol line into a proper C declaration.
5811 # Some systems (esp. on ia64) link data and code symbols differently,
5812 # so use this general approach.
5813 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5815 # Transform an extracted symbol line into symbol name and symbol address
5816 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5817 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'"
5819 # Handle CRLF in mingw tool chain
5823 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5827 # Try without a prefix underscore, then with it.
5828 for ac_symprfx in "" "_
"; do
5830 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5831 symxfrm="\\1 $ac_symprfx\\2 \\2"
5833 # Write the raw and C identifiers.
5834 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5835 # Fake it for dumpbin and say T for any non-static function
5836 # and D for any global variable.
5837 # Also find C++ and __fastcall symbols from MSVC++,
5838 # which start with @ or ?.
5839 lt_cv_sys_global_symbol_pipe="$AWK '"\
5840 " {last_section=section; section=\$ 3};"\
5841 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5842 " \$ 0!~/External *\|/{next};"\
5843 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5844 " {if(hide[section]) next};"\
5845 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5846 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5847 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5848 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5849 " ' prfx
=^
$ac_symprfx"
5851 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5853 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5855 # Check to see that the pipe works correctly.
5859 cat > conftest.$ac_ext <<_LT_EOF
5864 void nm_test_func(void);
5865 void nm_test_func(void){}
5869 int main(){nm_test_var='a';nm_test_func();return(0);}
5872 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5873 (eval $ac_compile) 2>&5
5875 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5876 test $ac_status = 0; }; then
5877 # Now try to grab the symbols.
5879 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5880 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5882 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5883 test $ac_status = 0; } && test -s "$nlist"; then
5884 # Try sorting and uniquifying the output.
5885 if sort "$nlist" | uniq > "$nlist"T; then
5886 mv -f "$nlist"T "$nlist"
5891 # Make sure that we snagged all the symbols we need.
5892 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5893 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5894 cat <<_LT_EOF > conftest.$ac_ext
5895 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5896 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5897 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5898 relocations are performed -- see ld's documentation on pseudo-relocs. */
5899 # define LT_DLSYM_CONST
5900 #elif defined(__osf__)
5901 /* This system does not cope well with relocations in const data. */
5902 # define LT_DLSYM_CONST
5904 # define LT_DLSYM_CONST const
5912 # Now generate the symbol file.
5913 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5915 cat <<_LT_EOF >> conftest.$ac_ext
5917 /* The mapping between symbol names and symbols. */
5918 LT_DLSYM_CONST struct {
5922 lt__PROGRAM__LTX_preloaded_symbols[] =
5924 { "@PROGRAM@
", (void *) 0 },
5926 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5927 cat <<\_LT_EOF >> conftest.$ac_ext
5931 /* This works around a problem in FreeBSD linker */
5932 #ifdef FREEBSD_WORKAROUND
5933 static const void *lt_preloaded_setup() {
5934 return lt__PROGRAM__LTX_preloaded_symbols;
5942 # Now try linking the two files.
5943 mv conftest.$ac_objext conftstm.$ac_objext
5944 lt_globsym_save_LIBS=$LIBS
5945 lt_globsym_save_CFLAGS=$CFLAGS
5946 LIBS="conftstm.
$ac_objext"
5947 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5948 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5949 (eval $ac_link) 2>&5
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5952 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5955 LIBS=$lt_globsym_save_LIBS
5956 CFLAGS=$lt_globsym_save_CFLAGS
5958 echo "cannot
find nm_test_func
in $nlist" >&5
5961 echo "cannot
find nm_test_var
in $nlist" >&5
5964 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5967 echo "$progname: failed program was
:" >&5
5968 cat conftest.$ac_ext >&5
5970 rm -rf conftest* conftst*
5972 # Do not use the global_symbol_pipe unless it works.
5973 if test "$pipe_works" = yes; then
5976 lt_cv_sys_global_symbol_pipe=
5982 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5983 lt_cv_sys_global_symbol_to_cdecl=
5985 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5987 $as_echo "failed
" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5990 $as_echo "ok
" >&6; }
5993 # Response file support.
5994 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5995 nm_file_list_spec='@'
5996 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5997 nm_file_list_spec='@'
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6027 $as_echo_n "checking
for sysroot...
" >&6; }
6029 # Check whether --with-sysroot was given.
6030 if test "${with_sysroot+set}" = set; then :
6031 withval=$with_sysroot;
6038 case ${with_sysroot} in #(
6040 if test "$GCC" = yes; then
6041 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6045 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6051 $as_echo "${with_sysroot}" >&6; }
6052 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6057 $as_echo "${lt_sysroot:-no}" >&6; }
6063 # Check whether --enable-libtool-lock was given.
6064 if test "${enable_libtool_lock+set}" = set; then :
6065 enableval=$enable_libtool_lock;
6068 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6070 # Some flags need to be propagated to the compiler or linker for good
6074 # Find out which ABI we are using.
6075 echo 'int i;' > conftest.$ac_ext
6076 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6077 (eval $ac_compile) 2>&5
6079 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6080 test $ac_status = 0; }; then
6081 case `/usr/bin/file conftest.$ac_objext` in
6093 # Find out which ABI we are using.
6094 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6095 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6096 (eval $ac_compile) 2>&5
6098 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6099 test $ac_status = 0; }; then
6100 if test "$lt_cv_prog_gnu_ld" = yes; then
6101 case `/usr/bin/file conftest.$ac_objext` in
6103 LD="${LD-ld} -melf32bsmip"
6106 LD="${LD-ld} -melf32bmipn32"
6109 LD="${LD-ld} -melf64bmip"
6113 case `/usr/bin/file conftest.$ac_objext` in
6129 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6130 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6131 # Find out which ABI we are using.
6132 echo 'int i;' > conftest.$ac_ext
6133 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6134 (eval $ac_compile) 2>&5
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6137 test $ac_status = 0; }; then
6138 case `/usr/bin/file conftest.o` in
6141 x86_64-*kfreebsd*-gnu)
6142 LD="${LD-ld} -m elf_i386_fbsd
"
6145 LD="${LD-ld} -m elf_i386
"
6147 ppc64-*linux*|powerpc64-*linux*)
6148 LD="${LD-ld} -m elf32ppclinux
"
6151 LD="${LD-ld} -m elf_s390
"
6154 LD="${LD-ld} -m elf32_sparc
"
6160 x86_64-*kfreebsd*-gnu)
6161 LD="${LD-ld} -m elf_x86_64_fbsd
"
6164 LD="${LD-ld} -m elf_x86_64
"
6166 ppc*-*linux*|powerpc*-*linux*)
6167 LD="${LD-ld} -m elf64ppc
"
6169 s390*-*linux*|s390*-*tpf*)
6170 LD="${LD-ld} -m elf64_s390
"
6173 LD="${LD-ld} -m elf64_sparc
"
6183 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6184 SAVE_CFLAGS="$CFLAGS"
6185 CFLAGS="$CFLAGS -belf"
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6187 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6188 if ${lt_cv_cc_needs_belf+:} false; then :
6189 $as_echo_n "(cached
) " >&6
6192 ac_cpp='$CPP $CPPFLAGS'
6193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6208 if ac_fn_c_try_link "$LINENO"; then :
6209 lt_cv_cc_needs_belf=yes
6211 lt_cv_cc_needs_belf=no
6213 rm -f core conftest.err conftest.$ac_objext \
6214 conftest$ac_exeext conftest.$ac_ext
6216 ac_cpp='$CPP $CPPFLAGS'
6217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6223 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6224 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6225 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6226 CFLAGS="$SAVE_CFLAGS"
6230 # Find out which ABI we are using.
6231 echo 'int i;' > conftest.$ac_ext
6232 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6233 (eval $ac_compile) 2>&5
6235 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6236 test $ac_status = 0; }; then
6237 case `/usr/bin/file conftest.o` in
6239 case $lt_cv_prog_gnu_ld in
6240 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6242 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6254 need_locks="$enable_libtool_lock"
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}mt; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6260 $as_echo_n "checking
for $ac_word...
" >&6; }
6261 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6262 $as_echo_n "(cached
) " >&6
6264 if test -n "$MANIFEST_TOOL"; then
6265 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6284 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6285 if test -n "$MANIFEST_TOOL"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6287 $as_echo "$MANIFEST_TOOL" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6290 $as_echo "no
" >&6; }
6295 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6296 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6297 # Extract the first word of "mt
", so it can be a program name with args.
6298 set dummy mt; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6300 $as_echo_n "checking
for $ac_word...
" >&6; }
6301 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6302 $as_echo_n "(cached
) " >&6
6304 if test -n "$ac_ct_MANIFEST_TOOL"; then
6305 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6324 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6325 if test -n "$ac_ct_MANIFEST_TOOL"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6327 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6330 $as_echo "no
" >&6; }
6333 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6336 case $cross_compiling:$ac_tool_warned in
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6339 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6340 ac_tool_warned=yes ;;
6342 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6345 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6348 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6350 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6351 if ${lt_cv_path_mainfest_tool+:} false; then :
6352 $as_echo_n "(cached
) " >&6
6354 lt_cv_path_mainfest_tool=no
6355 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6356 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6357 cat conftest.err >&5
6358 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6359 lt_cv_path_mainfest_tool=yes
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6364 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6365 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6375 rhapsody* | darwin*)
6376 if test -n "$ac_tool_prefix"; then
6377 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6378 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6380 $as_echo_n "checking
for $ac_word...
" >&6; }
6381 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6382 $as_echo_n "(cached
) " >&6
6384 if test -n "$DSYMUTIL"; then
6385 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6404 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6405 if test -n "$DSYMUTIL"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6407 $as_echo "$DSYMUTIL" >&6; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6410 $as_echo "no
" >&6; }
6415 if test -z "$ac_cv_prog_DSYMUTIL"; then
6416 ac_ct_DSYMUTIL=$DSYMUTIL
6417 # Extract the first word of "dsymutil
", so it can be a program name with args.
6418 set dummy dsymutil; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6420 $as_echo_n "checking
for $ac_word...
" >&6; }
6421 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6422 $as_echo_n "(cached
) " >&6
6424 if test -n "$ac_ct_DSYMUTIL"; then
6425 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6444 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6445 if test -n "$ac_ct_DSYMUTIL"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6447 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6450 $as_echo "no
" >&6; }
6453 if test "x
$ac_ct_DSYMUTIL" = x; then
6456 case $cross_compiling:$ac_tool_warned in
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6459 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6460 ac_tool_warned=yes ;;
6462 DSYMUTIL=$ac_ct_DSYMUTIL
6465 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6468 if test -n "$ac_tool_prefix"; then
6469 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6470 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6472 $as_echo_n "checking
for $ac_word...
" >&6; }
6473 if ${ac_cv_prog_NMEDIT+:} false; then :
6474 $as_echo_n "(cached
) " >&6
6476 if test -n "$NMEDIT"; then
6477 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6496 NMEDIT=$ac_cv_prog_NMEDIT
6497 if test -n "$NMEDIT"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6499 $as_echo "$NMEDIT" >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6502 $as_echo "no
" >&6; }
6507 if test -z "$ac_cv_prog_NMEDIT"; then
6508 ac_ct_NMEDIT=$NMEDIT
6509 # Extract the first word of "nmedit
", so it can be a program name with args.
6510 set dummy nmedit; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6512 $as_echo_n "checking
for $ac_word...
" >&6; }
6513 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6514 $as_echo_n "(cached
) " >&6
6516 if test -n "$ac_ct_NMEDIT"; then
6517 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6526 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6536 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6537 if test -n "$ac_ct_NMEDIT"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6539 $as_echo "$ac_ct_NMEDIT" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6542 $as_echo "no
" >&6; }
6545 if test "x
$ac_ct_NMEDIT" = x; then
6548 case $cross_compiling:$ac_tool_warned in
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6551 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6552 ac_tool_warned=yes ;;
6554 NMEDIT=$ac_ct_NMEDIT
6557 NMEDIT="$ac_cv_prog_NMEDIT"
6560 if test -n "$ac_tool_prefix"; then
6561 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6562 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6564 $as_echo_n "checking
for $ac_word...
" >&6; }
6565 if ${ac_cv_prog_LIPO+:} false; then :
6566 $as_echo_n "(cached
) " >&6
6568 if test -n "$LIPO"; then
6569 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6588 LIPO=$ac_cv_prog_LIPO
6589 if test -n "$LIPO"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6591 $as_echo "$LIPO" >&6; }
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6594 $as_echo "no
" >&6; }
6599 if test -z "$ac_cv_prog_LIPO"; then
6601 # Extract the first word of "lipo
", so it can be a program name with args.
6602 set dummy lipo; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6604 $as_echo_n "checking
for $ac_word...
" >&6; }
6605 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6606 $as_echo_n "(cached
) " >&6
6608 if test -n "$ac_ct_LIPO"; then
6609 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_prog_ac_ct_LIPO="lipo
"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6628 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6629 if test -n "$ac_ct_LIPO"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6631 $as_echo "$ac_ct_LIPO" >&6; }
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6634 $as_echo "no
" >&6; }
6637 if test "x
$ac_ct_LIPO" = x; then
6640 case $cross_compiling:$ac_tool_warned in
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6643 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6644 ac_tool_warned=yes ;;
6649 LIPO="$ac_cv_prog_LIPO"
6652 if test -n "$ac_tool_prefix"; then
6653 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6654 set dummy ${ac_tool_prefix}otool; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6656 $as_echo_n "checking
for $ac_word...
" >&6; }
6657 if ${ac_cv_prog_OTOOL+:} false; then :
6658 $as_echo_n "(cached
) " >&6
6660 if test -n "$OTOOL"; then
6661 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6680 OTOOL=$ac_cv_prog_OTOOL
6681 if test -n "$OTOOL"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6683 $as_echo "$OTOOL" >&6; }
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6686 $as_echo "no
" >&6; }
6691 if test -z "$ac_cv_prog_OTOOL"; then
6693 # Extract the first word of "otool
", so it can be a program name with args.
6694 set dummy otool; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6696 $as_echo_n "checking
for $ac_word...
" >&6; }
6697 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6698 $as_echo_n "(cached
) " >&6
6700 if test -n "$ac_ct_OTOOL"; then
6701 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6710 ac_cv_prog_ac_ct_OTOOL="otool
"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6720 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6721 if test -n "$ac_ct_OTOOL"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6723 $as_echo "$ac_ct_OTOOL" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6726 $as_echo "no
" >&6; }
6729 if test "x
$ac_ct_OTOOL" = x; then
6732 case $cross_compiling:$ac_tool_warned in
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6735 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6736 ac_tool_warned=yes ;;
6741 OTOOL="$ac_cv_prog_OTOOL"
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6746 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6748 $as_echo_n "checking
for $ac_word...
" >&6; }
6749 if ${ac_cv_prog_OTOOL64+:} false; then :
6750 $as_echo_n "(cached
) " >&6
6752 if test -n "$OTOOL64"; then
6753 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir=.
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6772 OTOOL64=$ac_cv_prog_OTOOL64
6773 if test -n "$OTOOL64"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6775 $as_echo "$OTOOL64" >&6; }
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6778 $as_echo "no
" >&6; }
6783 if test -z "$ac_cv_prog_OTOOL64"; then
6784 ac_ct_OTOOL64=$OTOOL64
6785 # Extract the first word of "otool64
", so it can be a program name with args.
6786 set dummy otool64; ac_word=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6788 $as_echo_n "checking
for $ac_word...
" >&6; }
6789 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6790 $as_echo_n "(cached
) " >&6
6792 if test -n "$ac_ct_OTOOL64"; then
6793 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir=.
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6802 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6812 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6813 if test -n "$ac_ct_OTOOL64"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6815 $as_echo "$ac_ct_OTOOL64" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6818 $as_echo "no
" >&6; }
6821 if test "x
$ac_ct_OTOOL64" = x; then
6824 case $cross_compiling:$ac_tool_warned in
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6827 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6828 ac_tool_warned=yes ;;
6830 OTOOL64=$ac_ct_OTOOL64
6833 OTOOL64="$ac_cv_prog_OTOOL64"
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6863 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6864 if ${lt_cv_apple_cc_single_mod+:} false; then :
6865 $as_echo_n "(cached
) " >&6
6867 lt_cv_apple_cc_single_mod=no
6868 if test -z "${LT_MULTI_MODULE}"; then
6869 # By default we will add the -single_module flag. You can override
6870 # by either setting the environment variable LT_MULTI_MODULE
6871 # non-empty at configure time, or by adding -multi_module to the
6873 rm -rf libconftest.dylib*
6874 echo "int foo
(void
){return 1;}" > conftest.c
6875 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6876 -dynamiclib -Wl,-single_module conftest.c
" >&5
6877 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6878 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6880 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6881 lt_cv_apple_cc_single_mod=yes
6883 cat conftest.err >&5
6885 rm -rf libconftest.dylib*
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6890 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6892 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6893 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6894 $as_echo_n "(cached
) " >&6
6896 lt_cv_ld_exported_symbols_list=no
6897 save_LDFLAGS=$LDFLAGS
6898 echo "_main
" > conftest.sym
6899 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6911 if ac_fn_c_try_link "$LINENO"; then :
6912 lt_cv_ld_exported_symbols_list=yes
6914 lt_cv_ld_exported_symbols_list=no
6916 rm -f core conftest.err conftest.$ac_objext \
6917 conftest$ac_exeext conftest.$ac_ext
6918 LDFLAGS="$save_LDFLAGS"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6922 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6924 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6925 if ${lt_cv_ld_force_load+:} false; then :
6926 $as_echo_n "(cached
) " >&6
6928 lt_cv_ld_force_load=no
6929 cat > conftest.c << _LT_EOF
6930 int forced_loaded() { return 2;}
6932 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6933 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6934 echo "$AR cru libconftest.a conftest.o
" >&5
6935 $AR cru libconftest.a conftest.o 2>&5
6936 echo "$RANLIB libconftest.a
" >&5
6937 $RANLIB libconftest.a 2>&5
6938 cat > conftest.c << _LT_EOF
6939 int main() { return 0;}
6941 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6942 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6944 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6945 lt_cv_ld_force_load=yes
6947 cat conftest.err >&5
6949 rm -f conftest.err libconftest.a conftest conftest.c
6950 rm -rf conftest.dSYM
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6954 $as_echo "$lt_cv_ld_force_load" >&6; }
6956 rhapsody* | darwin1.[012])
6957 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6959 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6960 darwin*) # darwin 5.x on
6961 # if running on 10.5 or later, the deployment target defaults
6962 # to the OS version, if on x86, and 10.4, the deployment
6963 # target defaults to 10.4. Don't you love it?
6964 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6965 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6966 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6968 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6970 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6974 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6975 _lt_dar_single_mod='$single_module'
6977 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6978 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6980 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6982 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6983 _lt_dsymutil='~$DSYMUTIL $lib || :'
6991 ac_cpp='$CPP $CPPFLAGS'
6992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6996 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6997 # On Suns, sometimes $CPP names a directory.
6998 if test -n "$CPP" && test -d "$CPP"; then
7001 if test -z "$CPP"; then
7002 if ${ac_cv_prog_CPP+:} false; then :
7003 $as_echo_n "(cached
) " >&6
7005 # Double quotes because CPP needs to be expanded
7006 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7009 for ac_c_preproc_warn_flag in '' yes
7011 # Use a header file that comes with gcc, so configuring glibc
7012 # with a fresh cross-compiler works.
7013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 # <limits.h> exists even on freestanding compilers.
7015 # On the NeXT, cc -E runs the code through the compiler's parser,
7016 # not just through cpp. "Syntax error
" is here to catch this case.
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7020 # include <limits.h>
7022 # include <assert.h>
7026 if ac_fn_c_try_cpp "$LINENO"; then :
7029 # Broken: fails on valid input.
7032 rm -f conftest.err conftest.i conftest.$ac_ext
7034 # OK, works on sane cases. Now check whether nonexistent headers
7035 # can be detected and how.
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7038 #include <ac_nonexistent.h>
7040 if ac_fn_c_try_cpp "$LINENO"; then :
7041 # Broken: success on invalid input.
7044 # Passes both tests.
7048 rm -f conftest.err conftest.i conftest.$ac_ext
7051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7052 rm -f conftest.i conftest.err conftest.$ac_ext
7053 if $ac_preproc_ok; then :
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7066 $as_echo "$CPP" >&6; }
7068 for ac_c_preproc_warn_flag in '' yes
7070 # Use a header file that comes with gcc, so configuring glibc
7071 # with a fresh cross-compiler works.
7072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7073 # <limits.h> exists even on freestanding compilers.
7074 # On the NeXT, cc -E runs the code through the compiler's parser,
7075 # not just through cpp. "Syntax error
" is here to catch this case.
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7079 # include <limits.h>
7081 # include <assert.h>
7085 if ac_fn_c_try_cpp "$LINENO"; then :
7088 # Broken: fails on valid input.
7091 rm -f conftest.err conftest.i conftest.$ac_ext
7093 # OK, works on sane cases. Now check whether nonexistent headers
7094 # can be detected and how.
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7097 #include <ac_nonexistent.h>
7099 if ac_fn_c_try_cpp "$LINENO"; then :
7100 # Broken: success on invalid input.
7103 # Passes both tests.
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7111 rm -f conftest.i conftest.err conftest.$ac_ext
7112 if $ac_preproc_ok; then :
7115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7117 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7118 See \`config.log' for more details
" "$LINENO" 5; }
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7129 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7130 if ${ac_cv_header_stdc+:} false; then :
7131 $as_echo_n "(cached
) " >&6
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7148 if ac_fn_c_try_compile "$LINENO"; then :
7149 ac_cv_header_stdc=yes
7151 ac_cv_header_stdc=no
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 if test $ac_cv_header_stdc = yes; then
7156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7162 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7163 $EGREP "memchr
" >/dev/null 2>&1; then :
7166 ac_cv_header_stdc=no
7172 if test $ac_cv_header_stdc = yes; then
7173 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7179 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7180 $EGREP "free
" >/dev/null 2>&1; then :
7183 ac_cv_header_stdc=no
7189 if test $ac_cv_header_stdc = yes; then
7190 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7191 if test "$cross_compiling" = yes; then :
7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7198 #if ((' ' & 0x0FF) == 0x020)
7199 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7200 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7202 # define ISLOWER(c) \
7203 (('a' <= (c) && (c) <= 'i') \
7204 || ('j' <= (c) && (c) <= 'r') \
7205 || ('s' <= (c) && (c) <= 'z'))
7206 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7209 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7214 for (i = 0; i < 256; i++)
7215 if (XOR (islower (i), ISLOWER (i))
7216 || toupper (i) != TOUPPER (i))
7221 if ac_fn_c_try_run "$LINENO"; then :
7224 ac_cv_header_stdc=no
7226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7227 conftest.$ac_objext conftest.beam conftest.$ac_ext
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7233 $as_echo "$ac_cv_header_stdc" >&6; }
7234 if test $ac_cv_header_stdc = yes; then
7236 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7240 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7241 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7242 inttypes.h stdint.h unistd.h
7244 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7245 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7247 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7248 cat >>confdefs.h
<<_ACEOF
7249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7257 for ac_header
in dlfcn.h
7259 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7261 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7262 cat >>confdefs.h
<<_ACEOF
7263 #define HAVE_DLFCN_H 1
7284 # Check whether --enable-shared was given.
7285 if test "${enable_shared+set}" = set; then :
7286 enableval
=$enable_shared; p
=${PACKAGE-default}
7288 yes) enable_shared
=yes ;;
7289 no
) enable_shared
=no
;;
7292 # Look at the argument we got. We use all the common list separators.
7293 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7294 for pkg
in $enableval; do
7296 if test "X$pkg" = "X$p"; then
7315 # Check whether --enable-static was given.
7316 if test "${enable_static+set}" = set; then :
7317 enableval
=$enable_static; p
=${PACKAGE-default}
7319 yes) enable_static
=yes ;;
7320 no
) enable_static
=no
;;
7323 # Look at the argument we got. We use all the common list separators.
7324 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7325 for pkg
in $enableval; do
7327 if test "X$pkg" = "X$p"; then
7347 # Check whether --with-pic was given.
7348 if test "${with_pic+set}" = set; then :
7349 withval
=$with_pic; pic_mode
="$withval"
7355 test -z "$pic_mode" && pic_mode
=default
7363 # Check whether --enable-fast-install was given.
7364 if test "${enable_fast_install+set}" = set; then :
7365 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7367 yes) enable_fast_install
=yes ;;
7368 no
) enable_fast_install
=no
;;
7370 enable_fast_install
=no
7371 # Look at the argument we got. We use all the common list separators.
7372 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7373 for pkg
in $enableval; do
7375 if test "X$pkg" = "X$p"; then
7376 enable_fast_install
=yes
7383 enable_fast_install
=yes
7396 # This can be used to rebuild libtool when needed
7397 LIBTOOL_DEPS
="$ltmain"
7399 # Always use our own libtool.
7400 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7427 test -z "$LN_S" && LN_S
="ln -s"
7442 if test -n "${ZSH_VERSION+set}" ; then
7443 setopt NO_GLOB_SUBST
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7447 $as_echo_n "checking for objdir... " >&6; }
7448 if ${lt_cv_objdir+:} false
; then :
7449 $as_echo_n "(cached) " >&6
7451 rm -f .libs
2>/dev
/null
7452 mkdir .libs
2>/dev
/null
7453 if test -d .libs
; then
7456 # MS-DOS does not allow filenames that begin with a dot.
7459 rmdir .libs
2>/dev
/null
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7462 $as_echo "$lt_cv_objdir" >&6; }
7463 objdir
=$lt_cv_objdir
7469 cat >>confdefs.h
<<_ACEOF
7470 #define LT_OBJDIR "$lt_cv_objdir/"
7478 # AIX sometimes has problems with the GCC collect2 program. For some
7479 # reason, if we set the COLLECT_NAMES environment variable, the problems
7480 # vanish in a puff of smoke.
7481 if test "X${COLLECT_NAMES+set}" != Xset
; then
7483 export COLLECT_NAMES
7490 can_build_shared
=yes
7492 # All known linkers require a `.a' archive for static linking (except MSVC,
7493 # which needs '.lib').
7496 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7499 old_CFLAGS
="$CFLAGS"
7501 # Set sane defaults for various variables
7502 test -z "$CC" && CC
=cc
7503 test -z "$LTCC" && LTCC
=$CC
7504 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7505 test -z "$LD" && LD
=ld
7506 test -z "$ac_objext" && ac_objext
=o
7508 for cc_temp
in $compiler""; do
7510 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7511 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7516 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7519 # Only perform the check for file, if the check method requires it
7520 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7521 case $deplibs_check_method in
7523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7525 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7526 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7527 $as_echo_n "(cached) " >&6
7531 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7534 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7535 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7536 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7537 for ac_dir
in $ac_dummy; do
7539 test -z "$ac_dir" && ac_dir
=.
7540 if test -f $ac_dir/${ac_tool_prefix}file; then
7541 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7542 if test -n "$file_magic_test_file"; then
7543 case $deplibs_check_method in
7545 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7546 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7547 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7548 $EGREP "$file_magic_regex" > /dev
/null
; then
7553 *** Warning: the command libtool uses to detect shared libraries,
7554 *** $file_magic_cmd, produces output that libtool cannot recognize.
7555 *** The result is that libtool may fail to recognize shared libraries
7556 *** as such. This will affect the creation of libtool libraries that
7557 *** depend on shared libraries, but programs linked with such libtool
7558 *** libraries will work regardless of this problem. Nevertheless, you
7559 *** may want to report the problem to your system manager and/or to
7560 *** bug-libtool@gnu.org
7570 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7575 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7576 if test -n "$MAGIC_CMD"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7578 $as_echo "$MAGIC_CMD" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7588 if test -z "$lt_cv_path_MAGIC_CMD"; then
7589 if test -n "$ac_tool_prefix"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7591 $as_echo_n "checking for file... " >&6; }
7592 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7597 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7600 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7602 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7603 for ac_dir
in $ac_dummy; do
7605 test -z "$ac_dir" && ac_dir
=.
7606 if test -f $ac_dir/file; then
7607 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7608 if test -n "$file_magic_test_file"; then
7609 case $deplibs_check_method in
7611 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7612 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7613 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7614 $EGREP "$file_magic_regex" > /dev
/null
; then
7619 *** Warning: the command libtool uses to detect shared libraries,
7620 *** $file_magic_cmd, produces output that libtool cannot recognize.
7621 *** The result is that libtool may fail to recognize shared libraries
7622 *** as such. This will affect the creation of libtool libraries that
7623 *** depend on shared libraries, but programs linked with such libtool
7624 *** libraries will work regardless of this problem. Nevertheless, you
7625 *** may want to report the problem to your system manager and/or to
7626 *** bug-libtool@gnu.org
7636 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7641 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7642 if test -n "$MAGIC_CMD"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7644 $as_echo "$MAGIC_CMD" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7660 # Use C for the default configuration in the libtool script
7664 ac_cpp
='$CPP $CPPFLAGS'
7665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7670 # Source file extension for C test sources.
7673 # Object file extension for compiled C test sources.
7677 # Code to be used in simple compile tests
7678 lt_simple_compile_test_code
="int some_variable = 0;"
7680 # Code to be used in simple link tests
7681 lt_simple_link_test_code
='int main(){return(0);}'
7689 # If no C compiler was specified, use CC.
7692 # If no C compiler flags were specified, use CFLAGS.
7693 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7695 # Allow CC to be a program name with arguments.
7698 # Save the default compiler, since it gets overwritten when the other
7699 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7700 compiler_DEFAULT
=$CC
7702 # save warnings/boilerplate of simple test code
7703 ac_outfile
=conftest.
$ac_objext
7704 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7705 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7706 _lt_compiler_boilerplate
=`cat conftest.err`
7709 ac_outfile
=conftest.
$ac_objext
7710 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7711 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7712 _lt_linker_boilerplate
=`cat conftest.err`
7716 if test -n "$compiler"; then
7718 lt_prog_compiler_no_builtin_flag
=
7720 if test "$GCC" = yes; then
7721 case $cc_basename in
7723 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7725 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7729 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7730 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7731 $as_echo_n "(cached) " >&6
7733 lt_cv_prog_compiler_rtti_exceptions
=no
7734 ac_outfile
=conftest.
$ac_objext
7735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7736 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7737 # Insert the option either (1) after the last *FLAGS variable, or
7738 # (2) before a word containing "conftest.", or (3) at the end.
7739 # Note that $ac_compile itself does not contain backslashes and begins
7740 # with a dollar sign (not a hyphen), so the echo should work correctly.
7741 # The option is referenced via a variable to avoid confusing sed.
7742 lt_compile
=`echo "$ac_compile" | $SED \
7743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7745 -e 's:$: $lt_compiler_flag:'`
7746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7747 (eval "$lt_compile" 2>conftest.err
)
7749 cat conftest.err
>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 if (exit $ac_status) && test -s "$ac_outfile"; then
7752 # The compiler can only warn and ignore the option if not recognized
7753 # So say no if there are warnings other than the usual output.
7754 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7755 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7756 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7757 lt_cv_prog_compiler_rtti_exceptions
=yes
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7764 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7766 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7767 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7779 lt_prog_compiler_wl
=
7780 lt_prog_compiler_pic
=
7781 lt_prog_compiler_static
=
7784 if test "$GCC" = yes; then
7785 lt_prog_compiler_wl
='-Wl,'
7786 lt_prog_compiler_static
='-static'
7790 # All AIX code is PIC.
7791 if test "$host_cpu" = ia64
; then
7792 # AIX 5 now supports IA64 processor
7793 lt_prog_compiler_static
='-Bstatic'
7800 # see comment about AmigaOS4 .so support
7801 lt_prog_compiler_pic
='-fPIC'
7804 # FIXME: we need at least 68020 code to build shared libraries, but
7805 # adding the `-m68020' flag to GCC prevents building anything better,
7807 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7812 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7813 # PIC is the default for these OSes.
7816 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7817 # This hack is so that the source file can tell whether it is being
7818 # built for inclusion in a dll (and should export symbols for example).
7819 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7820 # (--disable-auto-import) libraries
7821 lt_prog_compiler_pic
='-DDLL_EXPORT'
7824 darwin
* | rhapsody
*)
7825 # PIC is the default on this platform
7826 # Common symbols not allowed in MH_DYLIB files
7827 lt_prog_compiler_pic
='-fno-common'
7831 # PIC is the default for Haiku.
7832 # The "-static" flag exists, but is broken.
7833 lt_prog_compiler_static
=
7837 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7838 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7839 # sets the default TLS model and affects inlining.
7845 lt_prog_compiler_pic
='-fPIC'
7851 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7852 # Instead, we relocate shared libraries at runtime.
7856 # Just because we use GCC doesn't mean we suddenly get shared libraries
7857 # on systems that don't support them.
7858 lt_prog_compiler_can_build_shared
=no
7863 # QNX uses GNU C++, but need to define -shared option too, otherwise
7865 lt_prog_compiler_pic
='-fPIC -shared'
7869 if test -d /usr
/nec
; then
7870 lt_prog_compiler_pic
=-Kconform_pic
7875 lt_prog_compiler_pic
='-fPIC'
7879 case $cc_basename in
7880 nvcc
*) # Cuda Compiler Driver 2.2
7881 lt_prog_compiler_wl
='-Xlinker '
7882 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7886 # PORTME Check for flag to pass linker flags through the system compiler.
7889 lt_prog_compiler_wl
='-Wl,'
7890 if test "$host_cpu" = ia64
; then
7891 # AIX 5 now supports IA64 processor
7892 lt_prog_compiler_static
='-Bstatic'
7894 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7898 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7899 # This hack is so that the source file can tell whether it is being
7900 # built for inclusion in a dll (and should export symbols for example).
7901 lt_prog_compiler_pic
='-DDLL_EXPORT'
7904 hpux9
* | hpux10
* | hpux11
*)
7905 lt_prog_compiler_wl
='-Wl,'
7906 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7913 lt_prog_compiler_pic
='+Z'
7916 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7917 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7920 irix5
* | irix6
* | nonstopux
*)
7921 lt_prog_compiler_wl
='-Wl,'
7922 # PIC (with -KPIC) is the default.
7923 lt_prog_compiler_static
='-non_shared'
7926 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7927 case $cc_basename in
7928 # old Intel for x86_64 which still supported -KPIC.
7930 lt_prog_compiler_wl
='-Wl,'
7931 lt_prog_compiler_pic
='-KPIC'
7932 lt_prog_compiler_static
='-static'
7934 # icc used to be incompatible with GCC.
7935 # ICC 10 doesn't accept -KPIC any more.
7937 lt_prog_compiler_wl
='-Wl,'
7938 lt_prog_compiler_pic
='-fPIC'
7939 lt_prog_compiler_static
='-static'
7941 # Lahey Fortran 8.1.
7943 lt_prog_compiler_wl
='-Wl,'
7944 lt_prog_compiler_pic
='--shared'
7945 lt_prog_compiler_static
='--static'
7948 # NAG Fortran compiler
7949 lt_prog_compiler_wl
='-Wl,-Wl,,'
7950 lt_prog_compiler_pic
='-PIC'
7951 lt_prog_compiler_static
='-Bstatic'
7953 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7954 # Portland Group compilers (*not* the Pentium gcc compiler,
7955 # which looks to be a dead project)
7956 lt_prog_compiler_wl
='-Wl,'
7957 lt_prog_compiler_pic
='-fpic'
7958 lt_prog_compiler_static
='-Bstatic'
7961 lt_prog_compiler_wl
='-Wl,'
7962 # All Alpha code is PIC.
7963 lt_prog_compiler_static
='-non_shared'
7965 xl
* | bgxl
* | bgf
* | mpixl
*)
7966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7967 lt_prog_compiler_wl
='-Wl,'
7968 lt_prog_compiler_pic
='-qpic'
7969 lt_prog_compiler_static
='-qstaticlink'
7972 case `$CC -V 2>&1 | sed 5q` in
7973 *Sun\ F
* |
*Sun
*Fortran
*)
7974 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7975 lt_prog_compiler_pic
='-KPIC'
7976 lt_prog_compiler_static
='-Bstatic'
7977 lt_prog_compiler_wl
=''
7981 lt_prog_compiler_pic
='-KPIC'
7982 lt_prog_compiler_static
='-Bstatic'
7983 lt_prog_compiler_wl
='-Wl,'
7991 lt_prog_compiler_pic
='-KPIC'
7992 lt_prog_compiler_static
='-Bstatic'
7996 # QNX uses GNU C++, but need to define -shared option too, otherwise
7998 lt_prog_compiler_pic
='-fPIC -shared'
8001 osf3
* | osf4
* | osf5
*)
8002 lt_prog_compiler_wl
='-Wl,'
8003 # All OSF/1 code is PIC.
8004 lt_prog_compiler_static
='-non_shared'
8008 lt_prog_compiler_static
='-non_shared'
8012 lt_prog_compiler_pic
='-KPIC'
8013 lt_prog_compiler_static
='-Bstatic'
8014 case $cc_basename in
8015 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8016 lt_prog_compiler_wl
='-Qoption ld ';;
8018 lt_prog_compiler_wl
='-Wl,';;
8023 lt_prog_compiler_wl
='-Qoption ld '
8024 lt_prog_compiler_pic
='-PIC'
8025 lt_prog_compiler_static
='-Bstatic'
8028 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8029 lt_prog_compiler_wl
='-Wl,'
8030 lt_prog_compiler_pic
='-KPIC'
8031 lt_prog_compiler_static
='-Bstatic'
8035 if test -d /usr
/nec
;then
8036 lt_prog_compiler_pic
='-Kconform_pic'
8037 lt_prog_compiler_static
='-Bstatic'
8041 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8042 lt_prog_compiler_wl
='-Wl,'
8043 lt_prog_compiler_pic
='-KPIC'
8044 lt_prog_compiler_static
='-Bstatic'
8048 lt_prog_compiler_wl
='-Wl,'
8049 lt_prog_compiler_can_build_shared
=no
8053 lt_prog_compiler_pic
='-pic'
8054 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_can_build_shared
=no
8064 # For platforms which do not support PIC, -DPIC is meaningless:
8066 lt_prog_compiler_pic
=
8069 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8074 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8075 if ${lt_cv_prog_compiler_pic+:} false
; then :
8076 $as_echo_n "(cached) " >&6
8078 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8081 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8082 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8085 # Check to make sure the PIC flag actually works.
8087 if test -n "$lt_prog_compiler_pic"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8089 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8090 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8091 $as_echo_n "(cached) " >&6
8093 lt_cv_prog_compiler_pic_works
=no
8094 ac_outfile
=conftest.
$ac_objext
8095 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8096 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8097 # Insert the option either (1) after the last *FLAGS variable, or
8098 # (2) before a word containing "conftest.", or (3) at the end.
8099 # Note that $ac_compile itself does not contain backslashes and begins
8100 # with a dollar sign (not a hyphen), so the echo should work correctly.
8101 # The option is referenced via a variable to avoid confusing sed.
8102 lt_compile
=`echo "$ac_compile" | $SED \
8103 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8104 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8105 -e 's:$: $lt_compiler_flag:'`
8106 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8107 (eval "$lt_compile" 2>conftest.err
)
8109 cat conftest.err
>&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 if (exit $ac_status) && test -s "$ac_outfile"; then
8112 # The compiler can only warn and ignore the option if not recognized
8113 # So say no if there are warnings other than the usual output.
8114 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8115 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8116 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8117 lt_cv_prog_compiler_pic_works
=yes
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8124 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8126 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8127 case $lt_prog_compiler_pic in
8129 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8132 lt_prog_compiler_pic
=
8133 lt_prog_compiler_can_build_shared
=no
8149 # Check to make sure the static flag actually works.
8151 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8153 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8154 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8155 $as_echo_n "(cached) " >&6
8157 lt_cv_prog_compiler_static_works
=no
8158 save_LDFLAGS
="$LDFLAGS"
8159 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8160 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8161 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8162 # The linker can only warn and ignore the option if not recognized
8163 # So say no if there are warnings
8164 if test -s conftest.err
; then
8165 # Append any errors to the config.log.
8166 cat conftest.err
1>&5
8167 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8168 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8169 if diff conftest.exp conftest.er2
>/dev
/null
; then
8170 lt_cv_prog_compiler_static_works
=yes
8173 lt_cv_prog_compiler_static_works
=yes
8177 LDFLAGS
="$save_LDFLAGS"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8181 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8183 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8186 lt_prog_compiler_static
=
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8196 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8197 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8200 lt_cv_prog_compiler_c_o
=no
8201 $RM -r conftest
2>/dev
/null
8205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8207 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8208 # Insert the option either (1) after the last *FLAGS variable, or
8209 # (2) before a word containing "conftest.", or (3) at the end.
8210 # Note that $ac_compile itself does not contain backslashes and begins
8211 # with a dollar sign (not a hyphen), so the echo should work correctly.
8212 lt_compile
=`echo "$ac_compile" | $SED \
8213 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8215 -e 's:$: $lt_compiler_flag:'`
8216 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8217 (eval "$lt_compile" 2>out
/conftest.err
)
8219 cat out
/conftest.err
>&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8223 # The compiler can only warn and ignore the option if not recognized
8224 # So say no if there are warnings
8225 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8226 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8227 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8228 lt_cv_prog_compiler_c_o
=yes
8233 # SGI C++ compiler will create directory out/ii_files/ for
8234 # template instantiation
8235 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8236 $RM out
/* && rmdir out
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8243 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8251 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8252 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8253 $as_echo_n "(cached) " >&6
8255 lt_cv_prog_compiler_c_o
=no
8256 $RM -r conftest
2>/dev
/null
8260 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8262 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8263 # Insert the option either (1) after the last *FLAGS variable, or
8264 # (2) before a word containing "conftest.", or (3) at the end.
8265 # Note that $ac_compile itself does not contain backslashes and begins
8266 # with a dollar sign (not a hyphen), so the echo should work correctly.
8267 lt_compile
=`echo "$ac_compile" | $SED \
8268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8270 -e 's:$: $lt_compiler_flag:'`
8271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8272 (eval "$lt_compile" 2>out
/conftest.err
)
8274 cat out
/conftest.err
>&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8278 # The compiler can only warn and ignore the option if not recognized
8279 # So say no if there are warnings
8280 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8281 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8282 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8283 lt_cv_prog_compiler_c_o
=yes
8288 # SGI C++ compiler will create directory out/ii_files/ for
8289 # template instantiation
8290 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8291 $RM out
/* && rmdir out
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8298 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8303 hard_links
="nottested"
8304 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8305 # do not overwrite the value of need_locks provided by the user
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8307 $as_echo_n "checking if we can lock with hard links... " >&6; }
8310 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8312 ln conftest.a conftest.b
2>&5 || hard_links
=no
8313 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8315 $as_echo "$hard_links" >&6; }
8316 if test "$hard_links" = no
; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8318 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8331 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8334 allow_undefined_flag
=
8335 always_export_symbols
=no
8337 archive_expsym_cmds
=
8338 compiler_needs_object
=no
8339 enable_shared_with_static_runtimes
=no
8340 export_dynamic_flag_spec
=
8341 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8342 hardcode_automatic
=no
8344 hardcode_direct_absolute
=no
8345 hardcode_libdir_flag_spec
=
8346 hardcode_libdir_flag_spec_ld
=
8347 hardcode_libdir_separator
=
8349 hardcode_shlibpath_var
=unsupported
8351 link_all_deplibs
=unknown
8354 old_archive_from_new_cmds
=
8355 old_archive_from_expsyms_cmds
=
8356 thread_safe_flag_spec
=
8357 whole_archive_flag_spec
=
8358 # include_expsyms should be a list of space-separated symbols to be *always*
8359 # included in the symbol list
8361 # exclude_expsyms can be an extended regexp of symbols to exclude
8362 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8363 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8364 # as well as any symbol that contains `d'.
8365 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8366 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8367 # platforms (ab)use it in PIC code, but their linkers get confused if
8368 # the symbol is explicitly referenced. Since portable code cannot
8369 # rely on this symbol name, it's probably fine to never include it in
8370 # preloaded symbol tables.
8371 # Exclude shared library initialization/finalization symbols.
8372 extract_expsyms_cmds
=
8375 cygwin
* | mingw
* | pw32
* | cegcc
*)
8376 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8377 # When not using gcc, we currently assume that we are using
8378 # Microsoft Visual C++.
8379 if test "$GCC" != yes; then
8384 # we just hope/assume this is gcc and not c89 (= MSVC++)
8390 linux
* | k
*bsd
*-gnu | gnu
*)
8397 # On some targets, GNU ld is compatible enough with the native linker
8398 # that we're better off using the native interface for both.
8399 lt_use_gnu_ld_interface
=no
8400 if test "$with_gnu_ld" = yes; then
8403 # The AIX port of GNU ld has always aspired to compatibility
8404 # with the native linker. However, as the warning in the GNU ld
8405 # block says, versions before 2.19.5* couldn't really create working
8406 # shared libraries, regardless of the interface used.
8407 case `$LD -v 2>&1` in
8408 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8409 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8410 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8412 lt_use_gnu_ld_interface
=yes
8417 lt_use_gnu_ld_interface
=yes
8422 if test "$lt_use_gnu_ld_interface" = yes; then
8423 # If archive_cmds runs LD, not CC, wlarc should be empty
8426 # Set some defaults for GNU ld with shared library support. These
8427 # are reset later if shared libraries are not supported. Putting them
8428 # here allows them to be overridden if necessary.
8429 runpath_var
=LD_RUN_PATH
8430 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8431 export_dynamic_flag_spec
='${wl}--export-dynamic'
8432 # ancient GNU ld didn't support --whole-archive et. al.
8433 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8434 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8436 whole_archive_flag_spec
=
8438 supports_anon_versioning
=no
8439 case `$LD -v 2>&1` in
8440 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8441 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8442 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8443 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8444 *\
2.11.
*) ;; # other 2.11 versions
8445 *) supports_anon_versioning
=yes ;;
8448 # See if GNU ld supports shared libraries.
8451 # On AIX/PPC, the GNU linker is very broken
8452 if test "$host_cpu" != ia64
; then
8456 *** Warning: the GNU linker, at least up to release 2.19, is reported
8457 *** to be unable to reliably create shared libraries on AIX.
8458 *** Therefore, libtool is disabling shared libraries support. If you
8459 *** really care for shared libraries, you may want to install binutils
8460 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8461 *** You will then need to restart the configuration process.
8470 # see comment about AmigaOS4 .so support
8471 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472 archive_expsym_cmds
=''
8475 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)'
8476 hardcode_libdir_flag_spec
='-L$libdir'
8477 hardcode_minus_L
=yes
8483 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8484 allow_undefined_flag
=unsupported
8485 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8486 # support --undefined. This deserves some investigation. FIXME
8487 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8493 cygwin
* | mingw
* | pw32
* | cegcc
*)
8494 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8495 # as there is no search path for DLLs.
8496 hardcode_libdir_flag_spec
='-L$libdir'
8497 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8498 allow_undefined_flag
=unsupported
8499 always_export_symbols
=no
8500 enable_shared_with_static_runtimes
=yes
8501 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'
8502 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8504 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8506 # If the export-symbols file already is a .def file (1st line
8507 # is EXPORTS), use it as is; otherwise, prepend...
8508 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8509 cp $export_symbols $output_objdir/$soname.def;
8511 echo EXPORTS > $output_objdir/$soname.def;
8512 cat $export_symbols >> $output_objdir/$soname.def;
8514 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8521 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8522 link_all_deplibs
=yes
8527 hardcode_shlibpath_var
=no
8528 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8529 export_dynamic_flag_spec
='${wl}-E'
8530 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8531 # Instead, shared libraries are loaded at an image base (0x10000000 by
8532 # default) and relocated if they conflict, which is a slow very memory
8533 # consuming and fragmenting process. To avoid this, we pick a random,
8534 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8535 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8536 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8537 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'
8540 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8542 if test "$host_os" = linux-dietlibc
; then
8543 case $cc_basename in
8544 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8547 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8548 && test "$tmp_diet" = no
8550 tmp_addflag
=' $pic_flag'
8551 tmp_sharedflag
='-shared'
8552 case $cc_basename,$host_cpu in
8553 pgcc
*) # Portland Group C compiler
8554 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'
8555 tmp_addflag
=' $pic_flag'
8557 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8558 # Portland Group f77 and f90 compilers
8559 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'
8560 tmp_addflag
=' $pic_flag -Mnomain' ;;
8561 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8562 tmp_addflag
=' -i_dynamic' ;;
8563 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8564 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8565 ifc
* | ifort
*) # Intel Fortran compiler
8566 tmp_addflag
=' -nofor_main' ;;
8567 lf95
*) # Lahey Fortran 8.1
8568 whole_archive_flag_spec
=
8569 tmp_sharedflag
='--shared' ;;
8570 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8571 tmp_sharedflag
='-qmkshrobj'
8573 nvcc
*) # Cuda Compiler Driver 2.2
8574 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'
8575 compiler_needs_object
=yes
8578 case `$CC -V 2>&1 | sed 5q` in
8579 *Sun\ C
*) # Sun C 5.9
8580 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'
8581 compiler_needs_object
=yes
8582 tmp_sharedflag
='-G' ;;
8583 *Sun\ F
*) # Sun Fortran 8.3
8584 tmp_sharedflag
='-G' ;;
8586 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588 if test "x$supports_anon_versioning" = xyes
; then
8589 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8590 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8591 echo "local: *; };" >> $output_objdir/$libname.ver~
8592 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8595 case $cc_basename in
8596 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8597 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8598 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8599 hardcode_libdir_flag_spec
=
8600 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8601 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8602 if test "x$supports_anon_versioning" = xyes
; then
8603 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8604 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8605 echo "local: *; };" >> $output_objdir/$libname.ver~
8606 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8615 netbsd
* | netbsdelf
*-gnu)
8616 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8617 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8620 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8621 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8626 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8630 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8631 *** create shared libraries on Solaris systems. Therefore, libtool
8632 *** is disabling shared libraries support. We urge you to upgrade GNU
8633 *** binutils to release 2.9.1 or newer. Another option is to modify
8634 *** your PATH or compiler configuration so that the native linker is
8635 *** used, and then restart.
8638 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8639 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8640 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8646 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8647 case `$LD -v 2>&1` in
8648 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8652 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8653 *** reliably create shared libraries on SCO systems. Therefore, libtool
8654 *** is disabling shared libraries support. We urge you to upgrade GNU
8655 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8656 *** your PATH or compiler configuration so that the native linker is
8657 *** used, and then restart.
8662 # For security reasons, it is highly recommended that you always
8663 # use absolute paths for naming shared libraries, and exclude the
8664 # DT_RUNPATH tag from executables and libraries. But doing so
8665 # requires that you compile everything twice, which is a pain.
8666 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8667 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8668 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8678 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8681 hardcode_shlibpath_var
=no
8685 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8686 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8687 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8694 if test "$ld_shlibs" = no
; then
8696 hardcode_libdir_flag_spec
=
8697 export_dynamic_flag_spec
=
8698 whole_archive_flag_spec
=
8701 # PORTME fill in a description of your system's linker (not GNU ld)
8704 allow_undefined_flag
=unsupported
8705 always_export_symbols
=yes
8706 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'
8707 # Note: this linker hardcodes the directories in LIBPATH if there
8708 # are no directories specified by -L.
8709 hardcode_minus_L
=yes
8710 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8711 # Neither direct hardcoding nor static linking is supported with a
8713 hardcode_direct
=unsupported
8718 if test "$host_cpu" = ia64
; then
8719 # On IA64, the linker does run time linking by default, so we don't
8720 # have to do anything special.
8721 aix_use_runtimelinking
=no
8722 exp_sym_flag
='-Bexport'
8725 # If we're using GNU nm, then we don't want the "-C" option.
8726 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8727 # Also, AIX nm treats weak defined symbols like other global
8728 # defined symbols, whereas GNU nm marks them as "W".
8729 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8730 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'
8732 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'
8734 aix_use_runtimelinking
=no
8736 # Test if we are trying to use run time linking or normal
8737 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8738 # need to do runtime linking.
8739 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8740 for ld_flag
in $LDFLAGS; do
8741 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8742 aix_use_runtimelinking
=yes
8749 exp_sym_flag
='-bexport'
8750 no_entry_flag
='-bnoentry'
8753 # When large executables or shared objects are built, AIX ld can
8754 # have problems creating the table of contents. If linking a library
8755 # or program results in "error TOC overflow" add -mminimal-toc to
8756 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8757 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8761 hardcode_direct_absolute
=yes
8762 hardcode_libdir_separator
=':'
8763 link_all_deplibs
=yes
8764 file_list_spec
='${wl}-f,'
8766 if test "$GCC" = yes; then
8767 case $host_os in aix4.
[012]|aix4.
[012].
*)
8768 # We only want to do this on AIX 4.2 and lower, the check
8769 # below for broken collect2 doesn't work under 4.3+
8770 collect2name
=`${CC} -print-prog-name=collect2`
8771 if test -f "$collect2name" &&
8772 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8774 # We have reworked collect2
8777 # We have old collect2
8778 hardcode_direct
=unsupported
8779 # It fails to find uninstalled libraries when the uninstalled
8780 # path is not listed in the libpath. Setting hardcode_minus_L
8781 # to unsupported forces relinking
8782 hardcode_minus_L
=yes
8783 hardcode_libdir_flag_spec
='-L$libdir'
8784 hardcode_libdir_separator
=
8788 shared_flag
='-shared'
8789 if test "$aix_use_runtimelinking" = yes; then
8790 shared_flag
="$shared_flag "'${wl}-G'
8795 if test "$host_cpu" = ia64
; then
8796 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8797 # chokes on -Wl,-G. The following line is correct:
8800 if test "$aix_use_runtimelinking" = yes; then
8801 shared_flag
='${wl}-G'
8803 shared_flag
='${wl}-bM:SRE'
8808 export_dynamic_flag_spec
='${wl}-bexpall'
8809 # It seems that -bexpall does not export symbols beginning with
8810 # underscore (_), so it is better to generate a list of symbols to export.
8811 always_export_symbols
=yes
8812 if test "$aix_use_runtimelinking" = yes; then
8813 # Warning - without using the other runtime loading flags (-brtl),
8814 # -berok will link without error, but may produce a broken library.
8815 allow_undefined_flag
='-berok'
8816 # Determine the default libpath from the value encoded in an
8818 if test "${lt_cv_aix_libpath+set}" = set; then
8819 aix_libpath
=$lt_cv_aix_libpath
8821 if ${lt_cv_aix_libpath_+:} false
; then :
8822 $as_echo_n "(cached) " >&6
8824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8835 if ac_fn_c_try_link
"$LINENO"; then :
8837 lt_aix_libpath_sed
='
8838 /Import File Strings/,/^$/ {
8840 s/^0 *\([^ ]*\) *$/\1/
8844 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8845 # Check for a 64-bit object if we didn't find anything.
8846 if test -z "$lt_cv_aix_libpath_"; then
8847 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8850 rm -f core conftest.err conftest.
$ac_objext \
8851 conftest
$ac_exeext conftest.
$ac_ext
8852 if test -z "$lt_cv_aix_libpath_"; then
8853 lt_cv_aix_libpath_
="/usr/lib:/lib"
8858 aix_libpath
=$lt_cv_aix_libpath_
8861 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8862 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"
8864 if test "$host_cpu" = ia64
; then
8865 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8866 allow_undefined_flag
="-z nodefs"
8867 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"
8869 # Determine the default libpath from the value encoded in an
8871 if test "${lt_cv_aix_libpath+set}" = set; then
8872 aix_libpath
=$lt_cv_aix_libpath
8874 if ${lt_cv_aix_libpath_+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8888 if ac_fn_c_try_link
"$LINENO"; then :
8890 lt_aix_libpath_sed
='
8891 /Import File Strings/,/^$/ {
8893 s/^0 *\([^ ]*\) *$/\1/
8897 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8898 # Check for a 64-bit object if we didn't find anything.
8899 if test -z "$lt_cv_aix_libpath_"; then
8900 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8903 rm -f core conftest.err conftest.
$ac_objext \
8904 conftest
$ac_exeext conftest.
$ac_ext
8905 if test -z "$lt_cv_aix_libpath_"; then
8906 lt_cv_aix_libpath_
="/usr/lib:/lib"
8911 aix_libpath
=$lt_cv_aix_libpath_
8914 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8915 # Warning - without using the other run time loading flags,
8916 # -berok will link without error, but may produce a broken library.
8917 no_undefined_flag
=' ${wl}-bernotok'
8918 allow_undefined_flag
=' ${wl}-berok'
8919 if test "$with_gnu_ld" = yes; then
8920 # We only use this code for GNU lds that support --whole-archive.
8921 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8923 # Exported symbols can be pulled into shared objects from archives
8924 whole_archive_flag_spec
='$convenience'
8926 archive_cmds_need_lc
=yes
8927 # This is similar to how AIX traditionally builds its shared libraries.
8928 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'
8936 # see comment about AmigaOS4 .so support
8937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 archive_expsym_cmds
=''
8941 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)'
8942 hardcode_libdir_flag_spec
='-L$libdir'
8943 hardcode_minus_L
=yes
8949 export_dynamic_flag_spec
=-rdynamic
8952 cygwin
* | mingw
* | pw32
* | cegcc
*)
8953 # When not using gcc, we currently assume that we are using
8954 # Microsoft Visual C++.
8955 # hardcode_libdir_flag_spec is actually meaningless, as there is
8956 # no search path for DLLs.
8957 case $cc_basename in
8960 hardcode_libdir_flag_spec
=' '
8961 allow_undefined_flag
=unsupported
8962 always_export_symbols
=yes
8964 # Tell ltmain to make .lib files, not .a files.
8966 # Tell ltmain to make .dll files, not .so files.
8968 # FIXME: Setting linknames here is a bad hack.
8969 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8970 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8971 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8973 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8975 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8977 # The linker will not automatically build a static lib if we build a DLL.
8978 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8979 enable_shared_with_static_runtimes
=yes
8980 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8982 old_postinstall_cmds
='chmod 644 $oldlib'
8983 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8984 lt_tool_outputfile="@TOOL_OUTPUT@"~
8985 case $lt_outputfile in
8988 lt_outputfile="$lt_outputfile.exe"
8989 lt_tool_outputfile="$lt_tool_outputfile.exe"
8992 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8993 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8994 $RM "$lt_outputfile.manifest";
8998 # Assume MSVC wrapper
8999 hardcode_libdir_flag_spec
=' '
9000 allow_undefined_flag
=unsupported
9001 # Tell ltmain to make .lib files, not .a files.
9003 # Tell ltmain to make .dll files, not .so files.
9005 # FIXME: Setting linknames here is a bad hack.
9006 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9007 # The linker will automatically build a .lib file if we build a DLL.
9008 old_archive_from_new_cmds
='true'
9009 # FIXME: Should let the user specify the lib program.
9010 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9011 enable_shared_with_static_runtimes
=yes
9016 darwin
* | rhapsody
*)
9019 archive_cmds_need_lc
=no
9021 hardcode_automatic
=yes
9022 hardcode_shlibpath_var
=unsupported
9023 if test "$lt_cv_ld_force_load" = "yes"; then
9024 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\"`'
9026 whole_archive_flag_spec
=''
9028 link_all_deplibs
=yes
9029 allow_undefined_flag
="$_lt_dar_allow_undefined"
9030 case $cc_basename in
9031 ifort
*) _lt_dar_can_shared
=yes ;;
9032 *) _lt_dar_can_shared
=$GCC ;;
9034 if test "$_lt_dar_can_shared" = "yes"; then
9035 output_verbose_link_cmd
=func_echo_all
9036 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9037 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9038 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}"
9039 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}"
9048 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9049 hardcode_libdir_flag_spec
='-L$libdir'
9050 hardcode_shlibpath_var
=no
9057 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9058 # support. Future versions do this automatically, but an explicit c++rt0.o
9059 # does not break anything, and helps significantly (at the cost of a little
9062 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9063 hardcode_libdir_flag_spec
='-R$libdir'
9065 hardcode_shlibpath_var
=no
9068 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9070 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9072 hardcode_minus_L
=yes
9073 hardcode_shlibpath_var
=no
9076 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9077 freebsd
* | dragonfly
*)
9078 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9079 hardcode_libdir_flag_spec
='-R$libdir'
9081 hardcode_shlibpath_var
=no
9085 if test "$GCC" = yes; then
9086 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'
9088 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'
9090 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9091 hardcode_libdir_separator
=:
9094 # hardcode_minus_L: Not really in the search PATH,
9095 # but as the default location of the library.
9096 hardcode_minus_L
=yes
9097 export_dynamic_flag_spec
='${wl}-E'
9101 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9102 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9104 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9106 if test "$with_gnu_ld" = no
; then
9107 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9108 hardcode_libdir_flag_spec_ld
='+b $libdir'
9109 hardcode_libdir_separator
=:
9111 hardcode_direct_absolute
=yes
9112 export_dynamic_flag_spec
='${wl}-E'
9113 # hardcode_minus_L: Not really in the search PATH,
9114 # but as the default location of the library.
9115 hardcode_minus_L
=yes
9120 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9123 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9126 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9129 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9142 # Older versions of the 11.00 compiler do not understand -b yet
9143 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9145 $as_echo_n "checking if $CC understands -b... " >&6; }
9146 if ${lt_cv_prog_compiler__b+:} false
; then :
9147 $as_echo_n "(cached) " >&6
9149 lt_cv_prog_compiler__b
=no
9150 save_LDFLAGS
="$LDFLAGS"
9151 LDFLAGS
="$LDFLAGS -b"
9152 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9153 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9154 # The linker can only warn and ignore the option if not recognized
9155 # So say no if there are warnings
9156 if test -s conftest.err
; then
9157 # Append any errors to the config.log.
9158 cat conftest.err
1>&5
9159 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9160 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9161 if diff conftest.exp conftest.er2
>/dev
/null
; then
9162 lt_cv_prog_compiler__b
=yes
9165 lt_cv_prog_compiler__b
=yes
9169 LDFLAGS
="$save_LDFLAGS"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9173 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9175 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9176 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9178 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9184 if test "$with_gnu_ld" = no
; then
9185 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9186 hardcode_libdir_separator
=:
9191 hardcode_shlibpath_var
=no
9195 hardcode_direct_absolute
=yes
9196 export_dynamic_flag_spec
='${wl}-E'
9198 # hardcode_minus_L: Not really in the search PATH,
9199 # but as the default location of the library.
9200 hardcode_minus_L
=yes
9206 irix5
* | irix6
* | nonstopux
*)
9207 if test "$GCC" = yes; then
9208 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'
9209 # Try to use the -exported_symbol ld option, if it does not
9210 # work, assume that -exports_file does not work either and
9211 # implicitly export all symbols.
9212 # This should be the same for all languages, so no per-tag cache variable.
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9214 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9215 if ${lt_cv_irix_exported_symbol+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 save_LDFLAGS
="$LDFLAGS"
9219 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9222 int foo (void) { return 0; }
9224 if ac_fn_c_try_link
"$LINENO"; then :
9225 lt_cv_irix_exported_symbol
=yes
9227 lt_cv_irix_exported_symbol
=no
9229 rm -f core conftest.err conftest.
$ac_objext \
9230 conftest
$ac_exeext conftest.
$ac_ext
9231 LDFLAGS
="$save_LDFLAGS"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9234 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9235 if test "$lt_cv_irix_exported_symbol" = yes; then
9236 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'
9239 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'
9240 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'
9242 archive_cmds_need_lc
='no'
9243 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9244 hardcode_libdir_separator
=:
9246 link_all_deplibs
=yes
9249 netbsd
* | netbsdelf
*-gnu)
9250 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9251 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9253 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9255 hardcode_libdir_flag_spec
='-R$libdir'
9257 hardcode_shlibpath_var
=no
9261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9263 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9264 hardcode_libdir_separator
=:
9265 hardcode_shlibpath_var
=no
9272 if test -f /usr
/libexec
/ld.so
; then
9274 hardcode_shlibpath_var
=no
9275 hardcode_direct_absolute
=yes
9276 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9277 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9279 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9280 export_dynamic_flag_spec
='${wl}-E'
9283 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9284 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_libdir_flag_spec
='-R$libdir'
9288 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9289 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9299 hardcode_libdir_flag_spec
='-L$libdir'
9300 hardcode_minus_L
=yes
9301 allow_undefined_flag
=unsupported
9302 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'
9303 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9307 if test "$GCC" = yes; then
9308 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9309 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'
9311 allow_undefined_flag
=' -expect_unresolved \*'
9312 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'
9314 archive_cmds_need_lc
='no'
9315 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9316 hardcode_libdir_separator
=:
9319 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9320 if test "$GCC" = yes; then
9321 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9322 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'
9323 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9325 allow_undefined_flag
=' -expect_unresolved \*'
9326 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'
9327 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~
9328 $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'
9330 # Both c and cxx compiler support -rpath directly
9331 hardcode_libdir_flag_spec
='-rpath $libdir'
9333 archive_cmds_need_lc
='no'
9334 hardcode_libdir_separator
=:
9338 no_undefined_flag
=' -z defs'
9339 if test "$GCC" = yes; then
9341 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9343 $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'
9345 case `$CC -V 2>&1` in
9348 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9350 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9354 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9356 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9360 hardcode_libdir_flag_spec
='-R$libdir'
9361 hardcode_shlibpath_var
=no
9363 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9365 # The compiler driver will combine and reorder linker options,
9366 # but understands `-z linker_flag'. GCC discards it without `$wl',
9367 # but is careful enough not to reorder.
9368 # Supported since Solaris 2.6 (maybe 2.5.1?)
9369 if test "$GCC" = yes; then
9370 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9372 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9376 link_all_deplibs
=yes
9380 if test "x$host_vendor" = xsequent
; then
9381 # Use $CC to link under sequent, because it throws in some extra .o
9382 # files that make .init and .fini sections work.
9383 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_libdir_flag_spec
='-L$libdir'
9389 hardcode_minus_L
=yes
9390 hardcode_shlibpath_var
=no
9394 case $host_vendor in
9396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9397 hardcode_direct
=yes # is this really true???
9400 ## LD is ld it makes a PLAMLIB
9401 ## CC just makes a GrossModule.
9402 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9403 reload_cmds
='$CC -r -o $output$reload_objs'
9407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9408 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9411 runpath_var
='LD_RUN_PATH'
9412 hardcode_shlibpath_var
=no
9416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9417 hardcode_shlibpath_var
=no
9418 export_dynamic_flag_spec
='-Bexport'
9422 if test -d /usr
/nec
; then
9423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424 hardcode_shlibpath_var
=no
9425 runpath_var
=LD_RUN_PATH
9426 hardcode_runpath_var
=yes
9431 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9432 no_undefined_flag
='${wl}-z,text'
9433 archive_cmds_need_lc
=no
9434 hardcode_shlibpath_var
=no
9435 runpath_var
='LD_RUN_PATH'
9437 if test "$GCC" = yes; then
9438 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9446 sysv5
* | sco3.2v5
* | sco5v6
*)
9447 # Note: We can NOT use -z defs as we might desire, because we do not
9448 # link with -lc, and that would cause any symbols used from libc to
9449 # always be unresolved, which means just about no library would
9450 # ever link correctly. If we're not using GNU ld we use -z text
9451 # though, which does catch some bad symbols but isn't as heavy-handed
9453 no_undefined_flag
='${wl}-z,text'
9454 allow_undefined_flag
='${wl}-z,nodefs'
9455 archive_cmds_need_lc
=no
9456 hardcode_shlibpath_var
=no
9457 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9458 hardcode_libdir_separator
=':'
9459 link_all_deplibs
=yes
9460 export_dynamic_flag_spec
='${wl}-Bexport'
9461 runpath_var
='LD_RUN_PATH'
9463 if test "$GCC" = yes; then
9464 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9473 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9474 hardcode_libdir_flag_spec
='-L$libdir'
9475 hardcode_shlibpath_var
=no
9483 if test x
$host_vendor = xsni
; then
9485 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9486 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9493 $as_echo "$ld_shlibs" >&6; }
9494 test "$ld_shlibs" = no
&& can_build_shared
=no
9496 with_gnu_ld
=$with_gnu_ld
9513 # Do we need to explicitly link libc?
9515 case "x$archive_cmds_need_lc" in
9517 # Assume -lc should be added
9518 archive_cmds_need_lc
=yes
9520 if test "$enable_shared" = yes && test "$GCC" = yes; then
9521 case $archive_cmds in
9523 # FIXME: we may have to deal with multi-command sequences.
9526 # Test whether the compiler implicitly links with -lc since on some
9527 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9528 # to ld, don't add -lc before -lgcc.
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9530 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9531 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9535 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9538 (eval $ac_compile) 2>&5
9540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9541 test $ac_status = 0; } 2>conftest.err
; then
9544 libobjs
=conftest.
$ac_objext
9546 wl
=$lt_prog_compiler_wl
9547 pic_flag
=$lt_prog_compiler_pic
9553 lt_save_allow_undefined_flag
=$allow_undefined_flag
9554 allow_undefined_flag
=
9555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9556 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9559 test $ac_status = 0; }
9561 lt_cv_archive_cmds_need_lc
=no
9563 lt_cv_archive_cmds_need_lc
=yes
9565 allow_undefined_flag
=$lt_save_allow_undefined_flag
9567 cat conftest.err
1>&5
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9573 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9574 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9738 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9740 if test "$GCC" = yes; then
9742 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9743 *) lt_awk_arg
="/^libraries:/" ;;
9746 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9747 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9749 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9750 case $lt_search_path_spec in
9752 # if the path contains ";" then we assume it to be the separator
9753 # otherwise default to the standard path separator (i.e. ":") - it is
9754 # assumed that no part of a normal pathname contains ";" but that should
9755 # okay in the real world where ";" in dirpaths is itself problematic.
9756 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9759 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9762 # Ok, now we have the path, separated by spaces, we can step through it
9763 # and add multilib dir if necessary.
9764 lt_tmp_lt_search_path_spec
=
9765 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9766 for lt_sys_path
in $lt_search_path_spec; do
9767 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9768 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9770 test -d "$lt_sys_path" && \
9771 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9774 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9775 BEGIN {RS=" "; FS="/|\n";} {
9778 for (lt_i = NF; lt_i > 0; lt_i--) {
9779 if ($lt_i != "" && $lt_i != ".") {
9780 if ($lt_i == "..") {
9783 if (lt_count == 0) {
9784 lt_foo="/" $lt_i lt_foo;
9791 if (lt_foo != "") { lt_freq[lt_foo]++; }
9792 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9794 # AWK program above erroneously prepends '/' to C:/dos/paths
9797 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9798 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9800 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9802 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9805 libname_spec
='lib$name'
9813 shlibpath_overrides_runpath
=unknown
9815 dynamic_linker
="$host_os ld.so"
9816 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9817 need_lib_prefix
=unknown
9818 hardcode_into_libs
=no
9820 # when you set need_version to no, make sure it does not cause -set_version
9821 # flags to be left without arguments
9822 need_version
=unknown
9827 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9828 shlibpath_var
=LIBPATH
9830 # AIX 3 has no versioning support, so we append a major version to the name.
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9838 hardcode_into_libs
=yes
9839 if test "$host_cpu" = ia64
; then
9840 # AIX 5 supports IA64
9841 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9842 shlibpath_var
=LD_LIBRARY_PATH
9844 # With GCC up to 2.95.x, collect2 would create an import file
9845 # for dependence libraries. The import file would start with
9846 # the line `#! .'. This would cause the generated library to
9847 # depend on `.', always an invalid library. This was fixed in
9848 # development snapshots of GCC prior to 3.0.
9850 aix4 | aix4.
[01] | aix4.
[01].
*)
9851 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9853 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9860 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9861 # soname into executable. Probably we can add versioning support to
9862 # collect2, so additional links can be useful in future.
9863 if test "$aix_use_runtimelinking" = yes; then
9864 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9865 # instead of lib<name>.a to let people know that these are not
9866 # typical AIX shared libraries.
9867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869 # We preserve .a as extension for shared libraries through AIX4.2
9870 # and later when we are not doing run time linking.
9871 library_names_spec
='${libname}${release}.a $libname.a'
9872 soname_spec
='${libname}${release}${shared_ext}$major'
9874 shlibpath_var
=LIBPATH
9881 # Since July 2007 AmigaOS4 officially supports .so libraries.
9882 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9886 library_names_spec
='$libname.ixlibrary $libname.a'
9887 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9888 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'
9894 library_names_spec
='${libname}${shared_ext}'
9895 dynamic_linker
="$host_os ld.so"
9896 shlibpath_var
=LIBRARY_PATH
9902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9903 soname_spec
='${libname}${release}${shared_ext}$major'
9904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9907 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9908 # the default ld.so.conf also contains /usr/contrib/lib and
9909 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9910 # libtool to hard-code these into programs
9913 cygwin
* | mingw
* | pw32
* | cegcc
*)
9914 version_type
=windows
9919 case $GCC,$cc_basename in
9922 library_names_spec
='$libname.dll.a'
9923 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9924 postinstall_cmds
='base_file=`basename \${file}`~
9925 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9926 dldir=$destdir/`dirname \$dlpath`~
9927 test -d \$dldir || mkdir -p \$dldir~
9928 $install_prog $dir/$dlname \$dldir/$dlname~
9929 chmod a+x \$dldir/$dlname~
9930 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9931 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9933 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9934 dlpath=$dir/\$dldll~
9936 shlibpath_overrides_runpath
=yes
9940 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9941 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9943 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9946 # MinGW DLLs use traditional 'lib' prefix
9947 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9950 # pw32 DLLs use 'pw' prefix rather than 'lib'
9951 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9954 dynamic_linker
='Win32 ld.exe'
9959 libname_spec
='$name'
9960 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9961 library_names_spec
='${libname}.dll.lib'
9965 sys_lib_search_path_spec
=
9971 # Let DOS variable expansion print the short 8.3 style file name.
9972 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9973 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9976 # Convert to MSYS style.
9977 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9980 # Convert to unix form, then to dos form, then back to unix form
9981 # but this time dos style (no spaces!) so that the unix form looks
9982 # like /cygdrive/c/PROGRA~1:/cygdr...
9983 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9984 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9985 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9988 sys_lib_search_path_spec
="$LIB"
9989 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9990 # It is most probably a Windows format PATH.
9991 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9993 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9995 # FIXME: find the short name or the path components, as spaces are
9996 # common. (e.g. "Program Files" -> "PROGRA~1")
10000 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10001 postinstall_cmds
='base_file=`basename \${file}`~
10002 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10003 dldir=$destdir/`dirname \$dlpath`~
10004 test -d \$dldir || mkdir -p \$dldir~
10005 $install_prog $dir/$dlname \$dldir/$dlname'
10006 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10007 dlpath=$dir/\$dldll~
10009 shlibpath_overrides_runpath
=yes
10010 dynamic_linker
='Win32 link.exe'
10014 # Assume MSVC wrapper
10015 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10016 dynamic_linker
='Win32 ld.exe'
10019 # FIXME: first we should search . and the directory the executable is in
10023 darwin
* | rhapsody
*)
10024 dynamic_linker
="$host_os dyld"
10025 version_type
=darwin
10028 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10029 soname_spec
='${libname}${release}${major}$shared_ext'
10030 shlibpath_overrides_runpath
=yes
10031 shlibpath_var
=DYLD_LIBRARY_PATH
10032 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10034 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10035 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10043 soname_spec
='${libname}${release}${shared_ext}$major'
10044 shlibpath_var
=LD_LIBRARY_PATH
10051 freebsd
* | dragonfly
*)
10052 # DragonFly does not have aout. When/if they implement a new
10053 # versioning mechanism, adjust this.
10054 if test -x /usr
/bin
/objformat
; then
10055 objformat
=`/usr/bin/objformat`
10058 freebsd
[123]*) objformat
=aout
;;
10059 *) objformat
=elf
;;
10062 version_type
=freebsd-
$objformat
10063 case $version_type in
10065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10070 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10074 shlibpath_var
=LD_LIBRARY_PATH
10077 shlibpath_overrides_runpath
=yes
10079 freebsd3.
[01]* | freebsdelf3.
[01]*)
10080 shlibpath_overrides_runpath
=yes
10081 hardcode_into_libs
=yes
10083 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10084 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10085 shlibpath_overrides_runpath
=no
10086 hardcode_into_libs
=yes
10088 *) # from 4.6 on, and DragonFly
10089 shlibpath_overrides_runpath
=yes
10090 hardcode_into_libs
=yes
10099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10100 soname_spec
='${libname}${release}${shared_ext}$major'
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 shlibpath_overrides_runpath
=no
10103 hardcode_into_libs
=yes
10110 dynamic_linker
="$host_os runtime_loader"
10111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10112 soname_spec
='${libname}${release}${shared_ext}$major'
10113 shlibpath_var
=LIBRARY_PATH
10114 shlibpath_overrides_runpath
=yes
10115 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10116 hardcode_into_libs
=yes
10119 hpux9
* | hpux10
* | hpux11
*)
10120 # Give a soname corresponding to the major version so that dld.sl refuses to
10121 # link against other versions.
10128 hardcode_into_libs
=yes
10129 dynamic_linker
="$host_os dld.so"
10130 shlibpath_var
=LD_LIBRARY_PATH
10131 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10133 soname_spec
='${libname}${release}${shared_ext}$major'
10134 if test "X$HPUX_IA64_MODE" = X32
; then
10135 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10137 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10139 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10143 hardcode_into_libs
=yes
10144 dynamic_linker
="$host_os dld.sl"
10145 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10146 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148 soname_spec
='${libname}${release}${shared_ext}$major'
10149 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10150 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10154 dynamic_linker
="$host_os dld.sl"
10155 shlibpath_var
=SHLIB_PATH
10156 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10158 soname_spec
='${libname}${release}${shared_ext}$major'
10161 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10162 postinstall_cmds
='chmod 555 $lib'
10163 # or fails outright, so override atomically:
10164 install_override_mode
=555
10171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10172 soname_spec
='${libname}${release}${shared_ext}$major'
10173 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10174 shlibpath_var
=LD_LIBRARY_PATH
10175 shlibpath_overrides_runpath
=no
10176 hardcode_into_libs
=yes
10179 irix5
* | irix6
* | nonstopux
*)
10181 nonstopux
*) version_type
=nonstopux
;;
10183 if test "$lt_cv_prog_gnu_ld" = yes; then
10191 soname_spec
='${libname}${release}${shared_ext}$major'
10192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10194 irix5
* | nonstopux
*)
10195 libsuff
= shlibsuff
=
10198 case $LD in # libtool.m4 will add one of these switches to LD
10199 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10200 libsuff
= shlibsuff
= libmagic
=32-bit;;
10201 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10202 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10203 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10204 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10205 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10209 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10210 shlibpath_overrides_runpath
=no
10211 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10212 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10213 hardcode_into_libs
=yes
10216 # No shared lib support for Linux oldld, aout, or coff.
10217 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10221 # This must be Linux ELF.
10222 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10227 soname_spec
='${libname}${release}${shared_ext}$major'
10228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10229 shlibpath_var
=LD_LIBRARY_PATH
10230 shlibpath_overrides_runpath
=no
10232 # Some binutils ld are patched to set DT_RUNPATH
10233 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10234 $as_echo_n "(cached) " >&6
10236 lt_cv_shlibpath_overrides_runpath
=no
10237 save_LDFLAGS
=$LDFLAGS
10238 save_libdir
=$libdir
10239 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10240 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10252 if ac_fn_c_try_link
"$LINENO"; then :
10253 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10254 lt_cv_shlibpath_overrides_runpath
=yes
10257 rm -f core conftest.err conftest.
$ac_objext \
10258 conftest
$ac_exeext conftest.
$ac_ext
10259 LDFLAGS
=$save_LDFLAGS
10260 libdir
=$save_libdir
10264 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10266 # This implies no fast_install, which is unacceptable.
10267 # Some rework will be needed to allow for fast_install
10268 # before this can be enabled.
10269 hardcode_into_libs
=yes
10271 # Append ld.so.conf contents to the search path
10272 if test -f /etc
/ld.so.conf
; then
10273 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' ' '`
10274 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10277 # We used to test for /lib/ld.so.1 and disable shared libraries on
10278 # powerpc, because MkLinux only supported shared libraries with the
10279 # GNU dynamic linker. Since this was broken with cross compilers,
10280 # most powerpc-linux boxes support dynamic linking these days and
10281 # people can always --disable-shared, the test was removed, and we
10282 # assume the GNU/Linux dynamic linker is in use.
10283 dynamic_linker
='GNU/Linux ld.so'
10290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10291 soname_spec
='${libname}${release}${shared_ext}$major'
10292 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=no
10294 hardcode_into_libs
=yes
10295 dynamic_linker
='NetBSD ld.elf_so'
10302 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10304 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10305 dynamic_linker
='NetBSD (a.out) ld.so'
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 dynamic_linker
='NetBSD ld.elf_so'
10311 shlibpath_var
=LD_LIBRARY_PATH
10312 shlibpath_overrides_runpath
=yes
10313 hardcode_into_libs
=yes
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319 shlibpath_var
=LD_LIBRARY_PATH
10320 shlibpath_overrides_runpath
=yes
10327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10328 soname_spec
='${libname}${release}${shared_ext}$major'
10329 shlibpath_var
=LD_LIBRARY_PATH
10330 shlibpath_overrides_runpath
=no
10331 hardcode_into_libs
=yes
10332 dynamic_linker
='ldqnx.so'
10337 sys_lib_dlsearch_path_spec
="/usr/lib"
10339 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10341 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10342 *) need_version
=no
;;
10344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10345 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10346 shlibpath_var
=LD_LIBRARY_PATH
10347 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10349 openbsd2.
[89] | openbsd2.
[89].
*)
10350 shlibpath_overrides_runpath
=no
10353 shlibpath_overrides_runpath
=yes
10357 shlibpath_overrides_runpath
=yes
10362 libname_spec
='$name'
10365 library_names_spec
='$libname${shared_ext} $libname.a'
10366 dynamic_linker
='OS/2 ld.exe'
10367 shlibpath_var
=LIBPATH
10370 osf3
* | osf4
* | osf5
*)
10374 soname_spec
='${libname}${release}${shared_ext}$major'
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 shlibpath_var
=LD_LIBRARY_PATH
10377 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10378 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 shlibpath_var
=LD_LIBRARY_PATH
10392 shlibpath_overrides_runpath
=yes
10393 hardcode_into_libs
=yes
10394 # ldd complains unless libraries are executable
10395 postinstall_cmds
='chmod +x $lib'
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10401 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 shlibpath_overrides_runpath
=yes
10404 if test "$with_gnu_ld" = yes; then
10412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413 soname_spec
='${libname}${release}${shared_ext}$major'
10414 shlibpath_var
=LD_LIBRARY_PATH
10415 case $host_vendor in
10417 shlibpath_overrides_runpath
=no
10419 runpath_var
=LD_RUN_PATH
10427 shlibpath_overrides_runpath
=no
10428 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10434 if test -d /usr
/nec
;then
10436 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10437 soname_spec
='$libname${shared_ext}.$major'
10438 shlibpath_var
=LD_LIBRARY_PATH
10442 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10443 version_type
=freebsd-elf
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10447 soname_spec
='${libname}${release}${shared_ext}$major'
10448 shlibpath_var
=LD_LIBRARY_PATH
10449 shlibpath_overrides_runpath
=yes
10450 hardcode_into_libs
=yes
10451 if test "$with_gnu_ld" = yes; then
10452 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10454 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10457 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10461 sys_lib_dlsearch_path_spec
='/usr/lib'
10465 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470 shlibpath_var
=LD_LIBRARY_PATH
10471 shlibpath_overrides_runpath
=no
10472 hardcode_into_libs
=yes
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478 soname_spec
='${libname}${release}${shared_ext}$major'
10479 shlibpath_var
=LD_LIBRARY_PATH
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10487 $as_echo "$dynamic_linker" >&6; }
10488 test "$dynamic_linker" = no
&& can_build_shared
=no
10490 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10491 if test "$GCC" = yes; then
10492 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10495 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10496 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10498 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10499 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10594 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10596 if test -n "$hardcode_libdir_flag_spec" ||
10597 test -n "$runpath_var" ||
10598 test "X$hardcode_automatic" = "Xyes" ; then
10600 # We can hardcode non-existent directories.
10601 if test "$hardcode_direct" != no
&&
10602 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10603 # have to relink, otherwise we might link with an installed library
10604 # when we should be linking with a yet-to-be-installed one
10605 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10606 test "$hardcode_minus_L" != no
; then
10607 # Linking always hardcodes the temporary library directory.
10608 hardcode_action
=relink
10610 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10611 hardcode_action
=immediate
10614 # We cannot hardcode anything, or else we can only hardcode existing
10616 hardcode_action
=unsupported
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10619 $as_echo "$hardcode_action" >&6; }
10621 if test "$hardcode_action" = relink ||
10622 test "$inherit_rpath" = yes; then
10623 # Fast installation is not supported
10624 enable_fast_install
=no
10625 elif test "$shlibpath_overrides_runpath" = yes ||
10626 test "$enable_shared" = no
; then
10627 # Fast installation is not necessary
10628 enable_fast_install
=needless
10636 if test "x$enable_dlopen" != xyes
; then
10637 enable_dlopen
=unknown
10638 enable_dlopen_self
=unknown
10639 enable_dlopen_self_static
=unknown
10646 lt_cv_dlopen
="load_add_on"
10648 lt_cv_dlopen_self
=yes
10651 mingw
* | pw32
* | cegcc
*)
10652 lt_cv_dlopen
="LoadLibrary"
10657 lt_cv_dlopen
="dlopen"
10662 # if libdl is installed we need to link against it
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10664 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10665 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10666 $as_echo_n "(cached) " >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10688 if ac_fn_c_try_link
"$LINENO"; then :
10689 ac_cv_lib_dl_dlopen
=yes
10691 ac_cv_lib_dl_dlopen
=no
10693 rm -f core conftest.err conftest.
$ac_objext \
10694 conftest
$ac_exeext conftest.
$ac_ext
10695 LIBS
=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10698 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10699 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10703 lt_cv_dlopen
="dyld"
10705 lt_cv_dlopen_self
=yes
10712 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10713 if test "x$ac_cv_func_shl_load" = xyes
; then :
10714 lt_cv_dlopen
="shl_load"
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10717 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10718 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10719 $as_echo_n "(cached) " >&6
10721 ac_check_lib_save_LIBS
=$LIBS
10723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10736 return shl_load ();
10741 if ac_fn_c_try_link
"$LINENO"; then :
10742 ac_cv_lib_dld_shl_load
=yes
10744 ac_cv_lib_dld_shl_load
=no
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 LIBS
=$ac_check_lib_save_LIBS
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10751 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10752 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10753 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10755 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10756 if test "x$ac_cv_func_dlopen" = xyes
; then :
10757 lt_cv_dlopen
="dlopen"
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10760 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10761 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10762 $as_echo_n "(cached) " >&6
10764 ac_check_lib_save_LIBS
=$LIBS
10766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10784 if ac_fn_c_try_link
"$LINENO"; then :
10785 ac_cv_lib_dl_dlopen
=yes
10787 ac_cv_lib_dl_dlopen
=no
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 LIBS
=$ac_check_lib_save_LIBS
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10794 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10795 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10796 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10799 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10800 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10801 $as_echo_n "(cached) " >&6
10803 ac_check_lib_save_LIBS
=$LIBS
10804 LIBS
="-lsvld $LIBS"
10805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10823 if ac_fn_c_try_link
"$LINENO"; then :
10824 ac_cv_lib_svld_dlopen
=yes
10826 ac_cv_lib_svld_dlopen
=no
10828 rm -f core conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10830 LIBS
=$ac_check_lib_save_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10833 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10834 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10835 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10838 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10839 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 ac_check_lib_save_LIBS
=$LIBS
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10857 return dld_link ();
10862 if ac_fn_c_try_link
"$LINENO"; then :
10863 ac_cv_lib_dld_dld_link
=yes
10865 ac_cv_lib_dld_dld_link
=no
10867 rm -f core conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10869 LIBS
=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10872 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10873 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10874 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10895 if test "x$lt_cv_dlopen" != xno
; then
10901 case $lt_cv_dlopen in
10903 save_CPPFLAGS
="$CPPFLAGS"
10904 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10906 save_LDFLAGS
="$LDFLAGS"
10907 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10910 LIBS
="$lt_cv_dlopen_libs $LIBS"
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10913 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10914 if ${lt_cv_dlopen_self+:} false
; then :
10915 $as_echo_n "(cached) " >&6
10917 if test "$cross_compiling" = yes; then :
10918 lt_cv_dlopen_self
=cross
10920 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10921 lt_status
=$lt_dlunknown
10922 cat > conftest.
$ac_ext <<_LT_EOF
10923 #line $LINENO "configure"
10924 #include "confdefs.h"
10933 # define LT_DLGLOBAL RTLD_GLOBAL
10936 # define LT_DLGLOBAL DL_GLOBAL
10938 # define LT_DLGLOBAL 0
10942 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10943 find out it does not work in some platform. */
10944 #ifndef LT_DLLAZY_OR_NOW
10946 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10949 # define LT_DLLAZY_OR_NOW DL_LAZY
10952 # define LT_DLLAZY_OR_NOW RTLD_NOW
10955 # define LT_DLLAZY_OR_NOW DL_NOW
10957 # define LT_DLLAZY_OR_NOW 0
10964 /* When -fvisbility=hidden is used, assume the code has been annotated
10965 correspondingly for the symbols needed. */
10966 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10967 int fnord () __attribute__((visibility("default")));
10970 int fnord () { return 42; }
10973 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10974 int status = $lt_dlunknown;
10978 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10981 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10982 else puts (dlerror ());
10984 /* dlclose (self); */
10992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10993 (eval $ac_link) 2>&5
10995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10996 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10997 (.
/conftest
; exit; ) >&5 2>/dev
/null
10999 case x
$lt_status in
11000 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11001 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11002 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11005 # compilation failed
11006 lt_cv_dlopen_self
=no
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11014 $as_echo "$lt_cv_dlopen_self" >&6; }
11016 if test "x$lt_cv_dlopen_self" = xyes
; then
11017 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11019 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11020 if ${lt_cv_dlopen_self_static+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 if test "$cross_compiling" = yes; then :
11024 lt_cv_dlopen_self_static
=cross
11026 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11027 lt_status
=$lt_dlunknown
11028 cat > conftest.
$ac_ext <<_LT_EOF
11029 #line $LINENO "configure"
11030 #include "confdefs.h"
11039 # define LT_DLGLOBAL RTLD_GLOBAL
11042 # define LT_DLGLOBAL DL_GLOBAL
11044 # define LT_DLGLOBAL 0
11048 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11049 find out it does not work in some platform. */
11050 #ifndef LT_DLLAZY_OR_NOW
11052 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11055 # define LT_DLLAZY_OR_NOW DL_LAZY
11058 # define LT_DLLAZY_OR_NOW RTLD_NOW
11061 # define LT_DLLAZY_OR_NOW DL_NOW
11063 # define LT_DLLAZY_OR_NOW 0
11070 /* When -fvisbility=hidden is used, assume the code has been annotated
11071 correspondingly for the symbols needed. */
11072 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11073 int fnord () __attribute__((visibility("default")));
11076 int fnord () { return 42; }
11079 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11080 int status = $lt_dlunknown;
11084 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11087 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11088 else puts (dlerror ());
11090 /* dlclose (self); */
11098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11099 (eval $ac_link) 2>&5
11101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11102 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11103 (.
/conftest
; exit; ) >&5 2>/dev
/null
11105 case x
$lt_status in
11106 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11107 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11108 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11111 # compilation failed
11112 lt_cv_dlopen_self_static
=no
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11120 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11123 CPPFLAGS
="$save_CPPFLAGS"
11124 LDFLAGS
="$save_LDFLAGS"
11129 case $lt_cv_dlopen_self in
11130 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11131 *) enable_dlopen_self
=unknown
;;
11134 case $lt_cv_dlopen_self_static in
11135 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11136 *) enable_dlopen_self_static
=unknown
;;
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11159 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11160 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11161 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11162 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11164 $as_echo "yes" >&6; }
11166 # FIXME - insert some real tests, host_os isn't really good enough
11169 if test -n "$STRIP" ; then
11170 striplib
="$STRIP -x"
11171 old_striplib
="$STRIP -S"
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11173 $as_echo "yes" >&6; }
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11176 $as_echo "no" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11181 $as_echo "no" >&6; }
11197 # Report which library types will actually be built
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11199 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11201 $as_echo "$can_build_shared" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11204 $as_echo_n "checking whether to build shared libraries... " >&6; }
11205 test "$can_build_shared" = "no" && enable_shared
=no
11207 # On AIX, shared libraries and static libraries use the same namespace, and
11208 # are all built from PIC.
11211 test "$enable_shared" = yes && enable_static
=no
11212 if test -n "$RANLIB"; then
11213 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11214 postinstall_cmds
='$RANLIB $lib'
11219 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11220 test "$enable_shared" = yes && enable_static
=no
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11225 $as_echo "$enable_shared" >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11228 $as_echo_n "checking whether to build static libraries... " >&6; }
11229 # Make sure either enable_shared or enable_static is yes.
11230 test "$enable_shared" = yes || enable_static
=yes
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11232 $as_echo "$enable_static" >&6; }
11239 ac_cpp
='$CPP $CPPFLAGS'
11240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11258 ac_config_commands
="$ac_config_commands libtool"
11263 # Only expand once:
11267 if test "x$CC" != xcc
; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11269 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11272 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11274 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11275 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11276 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
11277 $as_echo_n "(cached) " >&6
11279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11290 # Make sure it works both with $CC and with simple cc.
11291 # We do the test twice because some compilers refuse to overwrite an
11292 # existing .o file with -o, though they will create one.
11293 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11295 if { { case "(($ac_try" in
11296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11297 *) ac_try_echo=$ac_try;;
11299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11300 $as_echo "$ac_try_echo"; } >&5
11301 (eval "$ac_try") 2>&5
11303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11304 test $ac_status = 0; } &&
11305 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11307 *) ac_try_echo
=$ac_try;;
11309 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11310 $as_echo "$ac_try_echo"; } >&5
11311 (eval "$ac_try") 2>&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11314 test $ac_status = 0; };
11316 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11317 if test "x$CC" != xcc
; then
11318 # Test first that cc exists at all.
11319 if { ac_try
='cc -c conftest.$ac_ext >&5'
11320 { { case "(($ac_try" in
11321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11322 *) ac_try_echo=$ac_try;;
11324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11325 $as_echo "$ac_try_echo"; } >&5
11326 (eval "$ac_try") 2>&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329 test $ac_status = 0; }; }; then
11330 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11332 if { { case "(($ac_try" in
11333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11334 *) ac_try_echo
=$ac_try;;
11336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11337 $as_echo "$ac_try_echo"; } >&5
11338 (eval "$ac_try") 2>&5
11340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11341 test $ac_status = 0; } &&
11342 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11347 $as_echo "$ac_try_echo"; } >&5
11348 (eval "$ac_try") 2>&5
11350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11351 test $ac_status = 0; };
11356 # cc exists but doesn't like -o.
11357 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11362 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11364 rm -f core conftest*
11367 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11369 $as_echo "yes" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11374 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11378 # FIXME: we rely on the cache variable name because
11379 # there is no other way.
11381 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11382 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11383 if test "$am_t" != yes; then
11384 # Losing compiler, so override with the script.
11385 # FIXME: It is wrong to rewrite CC.
11386 # But if we don't then we get into trouble of one sort or another.
11387 # A longer-term fix would be to have automake use am__CC in this case,
11388 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11389 CC="$am_aux_dir/compile $CC"
11394 # Work around stupid autoconf default cflags. pt 2
11395 if test "$SAVE_CFLAGS" = "x"; then
11399 # Extract the first word of "rpcgen", so it can be a program name with args.
11400 set dummy rpcgen; ac_word=$2
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11402 $as_echo_n "checking for $ac_word... " >&6; }
11403 if ${ac_cv_prog_HAVE_RPCGEN+:} false; then :
11404 $as_echo_n "(cached) " >&6
11406 if test -n "$HAVE_RPCGEN"; then
11407 ac_cv_prog_HAVE_RPCGEN="$HAVE_RPCGEN" # Let the user override the test.
11409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11410 for as_dir in $PATH
11413 test -z "$as_dir" && as_dir=.
11414 for ac_exec_ext in '' $ac_executable_extensions; do
11415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11416 ac_cv_prog_HAVE_RPCGEN="yes"
11417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11424 test -z "$ac_cv_prog_HAVE_RPCGEN" && ac_cv_prog_HAVE_RPCGEN="no"
11427 HAVE_RPCGEN=$ac_cv_prog_HAVE_RPCGEN
11428 if test -n "$HAVE_RPCGEN"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPCGEN" >&5
11430 $as_echo "$HAVE_RPCGEN" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11437 if test x$HAVE_RPCGEN != xyes; then
11438 as_fn_error $? "Can not find required program" "$LINENO" 5
11442 # Check whether --enable-examples was given.
11443 if test "${enable_examples+set}" = set; then :
11444 enableval=$enable_examples; ENABLE_EXAMPLES=$enableval
11446 ENABLE_EXAMPLES="no"
11450 if test x$ENABLE_EXAMPLES = xyes; then
11451 MAYBE_EXAMPLES="examples"
11455 # Check whether --enable-tirpc was given.
11456 if test "${enable_tirpc+set}" = set; then :
11457 enableval=$enable_tirpc; enable_tirpc=$enableval
11465 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11468 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11471 for ac_header in sys/filio.h
11473 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_sys_filio_h" = xyes; then :
11475 cat >>confdefs.h <<_ACEOF
11476 #define HAVE_SYS_FILIO_H 1
11483 if test x$ENABLE_EXAMPLES = xyes; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
11485 $as_echo_n "checking for main in -lsocket... " >&6; }
11486 if ${ac_cv_lib_socket_main+:} false; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lsocket $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_socket_main=yes
11506 ac_cv_lib_socket_main=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
11513 $as_echo "$ac_cv_lib_socket_main" >&6; }
11514 if test "x$ac_cv_lib_socket_main" = xyes; then :
11515 cat >>confdefs.h <<_ACEOF
11516 #define HAVE_LIBSOCKET 1
11519 LIBS="-lsocket $LIBS"
11522 as_fn_error $? "Can not find required library" "$LINENO" 5
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
11526 $as_echo_n "checking for main in -lnsl... " >&6; }
11527 if ${ac_cv_lib_nsl_main+:} false; then :
11528 $as_echo_n "(cached) " >&6
11530 ac_check_lib_save_LIBS=$LIBS
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_nsl_main=yes
11547 ac_cv_lib_nsl_main=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
11554 $as_echo "$ac_cv_lib_nsl_main" >&6; }
11555 if test "x$ac_cv_lib_nsl_main" = xyes; then :
11556 cat >>confdefs.h <<_ACEOF
11557 #define HAVE_LIBNSL 1
11563 as_fn_error $? "Can not find required library" "$LINENO" 5
11575 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
11576 #include <sys/types.h>
11577 #include <sys/socket.h>
11580 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
11582 $as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
11587 echo "Use TI-RPC: $enable_tirpc"
11588 if test "$enable_tirpc" = "yes"; then
11589 CFLAGS="${CFLAGS} -I /usr/include/tirpc"
11590 LDFLAGS="${LDFLAGS} -ltirpc"
11594 ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile mount/Makefile nfs/Makefile portmap/Makefile rquota/Makefile examples/Makefile"
11597 cat >confcache <<\_ACEOF
11598 # This file is a shell script that caches the results of configure
11599 # tests run on this system so they can be shared between configure
11600 # scripts and configure runs, see configure's option --config-cache.
11601 # It is not useful on other systems. If it contains results you don't
11602 # want to keep, you may remove or edit it.
11604 # config.status only pays attention to the cache file if you give it
11605 # the --recheck option to rerun configure.
11607 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11609 # following values.
11613 # The following way of writing the cache mishandles newlines in values,
11614 # but we know of no workaround that is simple, portable, and efficient.
11615 # So, we kill variables containing newlines.
11616 # Ultrix sh set writes to stderr and can't be redirected directly,
11617 # and sets the high bit in the cache file unless we assign to the vars.
11619 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11620 eval ac_val
=\$
$ac_var
11624 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11628 _ | IFS | as_nl
) ;; #(
11629 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11630 *) { eval $ac_var=; unset $ac_var;} ;;
11636 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11637 *${as_nl}ac_space
=\
*)
11638 # `set' does not quote correctly, so add quotes: double-quote
11639 # substitution turns \\\\ into \\, and sed turns \\ into \.
11642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11645 # `set' quotes correctly as required by POSIX, so do not add quotes.
11646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11655 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11657 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11659 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11660 if test -w "$cache_file"; then
11661 if test "x$cache_file" != "x/dev/null"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11663 $as_echo "$as_me: updating cache $cache_file" >&6;}
11664 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11665 cat confcache
>"$cache_file"
11667 case $cache_file in #(
11669 mv -f confcache
"$cache_file"$$
&&
11670 mv -f "$cache_file"$$
"$cache_file" ;; #(
11672 mv -f confcache
"$cache_file" ;;
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11683 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11684 # Let make expand exec_prefix.
11685 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11687 DEFS
=-DHAVE_CONFIG_H
11692 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11693 # 1. Remove the extension, and $U if already installed.
11694 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11695 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11697 # will be set to the directory where LIBOBJS objects are built.
11698 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11699 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11701 LIBOBJS
=$ac_libobjs
11703 LTLIBOBJS
=$ac_ltlibobjs
11706 if test -n "$EXEEXT"; then
11708 am__EXEEXT_FALSE
='#'
11710 am__EXEEXT_TRUE
='#'
11714 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11715 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11718 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11719 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11723 : "${CONFIG_STATUS=./config.status}"
11725 ac_clean_files_save
=$ac_clean_files
11726 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11728 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11730 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11732 # Generated by $as_me.
11733 # Run this file to recreate the current configuration.
11734 # Compiler output produced by configure, useful for debugging
11735 # configure, is in config.log if it exists.
11738 ac_cs_recheck=false
11741 SHELL=\${CONFIG_SHELL-$SHELL}
11744 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11745 ## -------------------- ##
11746 ## M4sh Initialization. ##
11747 ## -------------------- ##
11749 # Be more Bourne compatible
11750 DUALCASE
=1; export DUALCASE
# for MKS sh
11751 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11754 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11755 # is contrary to our usage. Disable this feature.
11756 alias -g '${1+"$@"}'='"$@"'
11757 setopt NO_GLOB_SUBST
11759 case `(set -o) 2>/dev/null` in #(
11771 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11772 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11775 # Prefer a ksh shell builtin over an external printf program on Solaris,
11776 # but without wasting forks for bash or zsh.
11777 if test -z "$BASH_VERSION$ZSH_VERSION" \
11778 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11779 as_echo='print
-r --'
11780 as_echo_n='print
-rn --'
11781 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11782 as_echo='printf %s
\n'
11783 as_echo_n='printf %s
'
11785 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11786 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11787 as_echo_n='/usr
/ucb
/echo -n'
11789 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11790 as_echo_n_body='eval
11794 expr "X$arg" : "X\\(.*\\)$as_nl";
11795 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11797 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11799 export as_echo_n_body
11800 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11802 export as_echo_body
11803 as_echo='sh
-c $as_echo_body as_echo
'
11806 # The user is always right.
11807 if test "${PATH_SEPARATOR+set}" != set; then
11809 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11810 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11817 # We need space, tab and new line, in precisely that order. Quoting is
11818 # there to prevent editors from complaining about space-tab.
11819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11820 # splitting by setting IFS to empty value.)
11823 # Find who we are. Look in the path if we contain no directory separator.
11826 *[\\/]* ) as_myself=$0 ;;
11827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11838 # We did not find ourselves, most probably we were run as `sh COMMAND'
11839 # in which case we are not to be found in the path.
11840 if test "x$as_myself" = x
; then
11843 if test ! -f "$as_myself"; then
11844 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11848 # Unset variables that we do not need and which cause bugs (e.g. in
11849 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11850 # suppresses any "Segmentation fault" message there. '((' could
11851 # trigger a bug in pdksh 5.2.14.
11852 for as_var
in BASH_ENV ENV MAIL MAILPATH
11853 do eval test x\
${$as_var+set} = xset \
11854 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11867 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11870 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11871 # ----------------------------------------
11872 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11873 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11874 # script with STATUS, using 1 if that was 0.
11877 as_status
=$1; test $as_status -eq 0 && as_status
=1
11879 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11880 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11882 $as_echo "$as_me: error: $2" >&2
11883 as_fn_exit
$as_status
11887 # as_fn_set_status STATUS
11888 # -----------------------
11889 # Set $? to STATUS, without forking.
11890 as_fn_set_status
()
11893 } # as_fn_set_status
11895 # as_fn_exit STATUS
11896 # -----------------
11897 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11901 as_fn_set_status
$1
11907 # Portably unset VAR.
11910 { eval $1=; unset $1;}
11912 as_unset
=as_fn_unset
11913 # as_fn_append VAR VALUE
11914 # ----------------------
11915 # Append the text in VALUE to the end of the definition contained in VAR. Take
11916 # advantage of any shell optimizations that allow amortized linear growth over
11917 # repeated appends, instead of the typical quadratic growth present in naive
11919 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11920 eval 'as_fn_append ()
11931 # as_fn_arith ARG...
11932 # ------------------
11933 # Perform arithmetic evaluation on the ARGs, and store the result in the
11934 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11935 # must be portable across $(()) and expr.
11936 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11937 eval 'as_fn_arith ()
11944 as_val
=`expr "$@" || test $? -eq 1`
11949 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11950 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11956 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11957 as_basename
=basename
11962 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11968 as_me
=`$as_basename -- "$0" ||
11969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11970 X"$0" : 'X\(//\)$' \| \
11971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11973 sed '/^.*\/\([^/][^/]*\)\/*$/{
11987 # Avoid depending upon Character Ranges.
11988 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11989 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11990 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11991 as_cr_digits
='0123456789'
11992 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11994 ECHO_C
= ECHO_N
= ECHO_T
=
11995 case `echo -n x` in #(((((
11997 case `echo 'xy\c'` in
11998 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12000 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12007 rm -f conf$$ conf$$.exe conf$$.
file
12008 if test -d conf$$.dir
; then
12009 rm -f conf$$.dir
/conf$$.
file
12012 mkdir conf$$.dir
2>/dev
/null
12014 if (echo >conf$$.
file) 2>/dev
/null
; then
12015 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12017 # ... but there are two gotchas:
12018 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12019 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12020 # In both cases, we have to default to `cp -p'.
12021 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12023 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12031 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12032 rmdir conf$$.dir
2>/dev
/null
12037 # Create "$as_dir" as a directory, including parents if necessary.
12042 -*) as_dir
=.
/$as_dir;;
12044 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12048 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12049 *) as_qdir
=$as_dir;;
12051 as_dirs
="'$as_qdir' $as_dirs"
12052 as_dir
=`$as_dirname -- "$as_dir" ||
12053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12054 X"$as_dir" : 'X\(//\)[^/]' \| \
12055 X"$as_dir" : 'X\(//\)$' \| \
12056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12057 $as_echo X"$as_dir" |
12058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12062 /^X\(\/\/\)[^/].*/{
12075 test -d "$as_dir" && break
12077 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12078 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12082 if mkdir
-p .
2>/dev
/null
; then
12083 as_mkdir_p
='mkdir -p "$as_dir"'
12085 test -d .
/-p && rmdir .
/-p
12089 if test -x / >/dev
/null
2>&1; then
12090 as_test_x
='test -x'
12092 if ls -dL / >/dev
/null
2>&1; then
12099 if test -d "$1"; then
12105 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12106 ???[sx]*):;;*)false;;esac;fi
12110 as_executable_p
=$as_test_x
12112 # Sed expression to map a string onto a valid CPP name.
12113 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12115 # Sed expression to map a string onto a valid variable name.
12116 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12120 ## ----------------------------------- ##
12121 ## Main body of $CONFIG_STATUS script. ##
12122 ## ----------------------------------- ##
12124 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12127 # Save the log message, to keep $0 and so on meaningful, and to
12128 # report actual input values of CONFIG_FILES etc. instead of their
12129 # values after options handling.
12131 This file was extended by libnfs $as_me 0.0.0, which was
12132 generated by GNU Autoconf 2.68. Invocation command line was
12134 CONFIG_FILES = $CONFIG_FILES
12135 CONFIG_HEADERS = $CONFIG_HEADERS
12136 CONFIG_LINKS = $CONFIG_LINKS
12137 CONFIG_COMMANDS = $CONFIG_COMMANDS
12140 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12145 case $ac_config_files in *"
12146 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12149 case $ac_config_headers in *"
12150 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12155 # Files that config.status was made for.
12156 config_files="$ac_config_files"
12157 config_headers="$ac_config_headers"
12158 config_commands="$ac_config_commands"
12162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12164 \`$as_me' instantiates files and other configuration actions
12165 from templates according to the current configuration. Unless the files
12166 and actions are specified as TAGs, all are instantiated by default.
12168 Usage: $0 [OPTION]... [TAG]...
12170 -h, --help print this help, then exit
12171 -V, --version print version number and configuration settings, then exit
12172 --config print configuration, then exit
12173 -q, --quiet, --silent
12174 do not print progress messages
12175 -d, --debug don't remove temporary files
12176 --recheck update $as_me by reconfiguring in the same conditions
12177 --file=FILE[:TEMPLATE]
12178 instantiate the configuration file FILE
12179 --header=FILE[:TEMPLATE]
12180 instantiate the configuration header FILE
12182 Configuration files:
12185 Configuration headers:
12188 Configuration commands:
12191 Report bugs to the package provider."
12194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12197 libnfs config.status 0.0.0
12198 configured by $0, generated by GNU Autoconf 2.68,
12199 with options \\"\$ac_cs_config\\"
12201 Copyright (C) 2010 Free Software Foundation, Inc.
12202 This config.status script is free software; the Free Software Foundation
12203 gives unlimited permission to copy, distribute and modify it."
12210 test -n "\$AWK" || AWK=awk
12213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12214 # The default lists apply if the user does not specify any file.
12220 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12221 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12225 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12237 # Handling of the options.
12238 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12240 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12241 $as_echo "$ac_cs_version"; exit ;;
12242 --config |
--confi |
--conf |
--con |
--co |
--c )
12243 $as_echo "$ac_cs_config"; exit ;;
12244 --debug |
--debu |
--deb |
--de |
--d |
-d )
12246 --file |
--fil |
--fi |
--f )
12249 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12250 '') as_fn_error $?
"missing file argument" ;;
12252 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12253 ac_need_defaults
=false
;;
12254 --header |
--heade |
--head |
--hea )
12257 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12259 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12260 ac_need_defaults
=false
;;
12262 # Conflict between --help and --header
12263 as_fn_error $?
"ambiguous option: \`$1'
12264 Try \`$0 --help' for more information.";;
12265 --help |
--hel |
-h )
12266 $as_echo "$ac_cs_usage"; exit ;;
12267 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12268 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12271 # This is an error.
12272 -*) as_fn_error $?
"unrecognized option: \`$1'
12273 Try \`$0 --help' for more information." ;;
12275 *) as_fn_append ac_config_targets
" $1"
12276 ac_need_defaults
=false
;;
12282 ac_configure_extra_args
=
12284 if $ac_cs_silent; then
12286 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12291 if \$ac_cs_recheck; then
12292 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12294 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12295 CONFIG_SHELL='$SHELL'
12296 export CONFIG_SHELL
12301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12305 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12306 ## Running $as_me. ##
12312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12316 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12319 # The HP-UX ksh and POSIX shell print the target directory to stdout
12320 # if CDPATH is set.
12321 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12323 sed_quote_subst='$sed_quote_subst'
12324 double_quote_subst='$double_quote_subst'
12325 delay_variable_subst='$delay_variable_subst'
12326 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12327 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12328 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12329 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12330 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12331 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12332 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12333 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12334 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12335 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12336 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12337 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12338 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12339 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12340 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12341 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12342 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12343 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12344 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12345 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12346 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12347 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12348 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12349 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12350 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12351 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12352 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12353 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12354 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12355 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12356 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12357 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12358 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12359 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12360 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12361 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12362 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12363 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12364 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12365 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12366 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12367 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12368 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12369 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12370 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12371 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12372 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12373 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12374 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12375 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12376 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12377 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12378 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12379 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12380 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12381 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"`'
12382 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12383 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12384 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12385 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12386 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12387 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12388 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12389 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12390 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12391 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12392 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12393 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12394 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12395 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12396 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12397 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12398 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12399 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12400 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12401 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12402 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12403 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12404 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12405 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12406 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12407 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12408 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12409 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12410 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12411 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12412 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12413 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12414 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12415 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12416 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12417 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12418 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12419 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12420 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12421 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12422 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12423 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12424 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12425 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12426 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12427 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12428 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12429 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12430 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12431 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12432 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12433 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12434 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12435 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12436 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12437 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12438 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12439 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12440 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12441 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12442 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12443 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12444 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12445 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12446 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12447 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12448 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12449 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12450 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12451 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12452 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12453 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12454 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12455 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12458 LTCFLAGS='$LTCFLAGS'
12459 compiler='$compiler_DEFAULT'
12461 # A function that is used when there is no print builtin or printf.
12462 func_fallback_echo ()
12464 eval 'cat <<_LTECHO_EOF
12469 # Quote evaled strings.
12483 deplibs_check_method \
12488 sharedlib_from_linklib_cmd \
12491 archiver_list_spec \
12497 lt_cv_sys_global_symbol_pipe \
12498 lt_cv_sys_global_symbol_to_cdecl \
12499 lt_cv_sys_global_symbol_to_c_name_address \
12500 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12501 nm_file_list_spec \
12502 lt_prog_compiler_no_builtin_flag \
12503 lt_prog_compiler_pic \
12504 lt_prog_compiler_wl \
12505 lt_prog_compiler_static \
12506 lt_cv_prog_compiler_c_o \
12515 export_dynamic_flag_spec \
12516 whole_archive_flag_spec \
12517 compiler_needs_object \
12519 allow_undefined_flag \
12520 no_undefined_flag \
12521 hardcode_libdir_flag_spec \
12522 hardcode_libdir_flag_spec_ld \
12523 hardcode_libdir_separator \
12527 variables_saved_for_relink \
12529 library_names_spec \
12531 install_override_mode \
12535 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12536 *[\\\\\\\`\\"\\\$]*)
12537 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12540 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12545 # Double-quote double-evaled strings.
12546 for var in reload_cmds \
12547 old_postinstall_cmds \
12548 old_postuninstall_cmds \
12550 extract_expsyms_cmds \
12551 old_archive_from_new_cmds \
12552 old_archive_from_expsyms_cmds \
12554 archive_expsym_cmds \
12556 module_expsym_cmds \
12557 export_symbols_cmds \
12561 postuninstall_cmds \
12563 sys_lib_search_path_spec \
12564 sys_lib_dlsearch_path_spec; do
12565 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12566 *[\\\\\\\`\\"\\\$]*)
12567 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12570 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12575 ac_aux_dir='$ac_aux_dir'
12576 xsi_shell='$xsi_shell'
12577 lt_shell_append='$lt_shell_append'
12579 # See if we are running on zsh, and set the options which allow our
12580 # commands through without removal of \ escapes INIT.
12581 if test -n "\${ZSH_VERSION+set}" ; then
12582 setopt NO_GLOB_SUBST
12588 TIMESTAMP='$TIMESTAMP'
12597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12599 # Handling of arguments.
12600 for ac_config_target
in $ac_config_targets
12602 case $ac_config_target in
12603 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12604 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12605 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12606 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12607 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12608 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12609 "mount/Makefile") CONFIG_FILES
="$CONFIG_FILES mount/Makefile" ;;
12610 "nfs/Makefile") CONFIG_FILES
="$CONFIG_FILES nfs/Makefile" ;;
12611 "portmap/Makefile") CONFIG_FILES
="$CONFIG_FILES portmap/Makefile" ;;
12612 "rquota/Makefile") CONFIG_FILES
="$CONFIG_FILES rquota/Makefile" ;;
12613 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
12615 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12620 # If the user did not use the arguments to specify the items to instantiate,
12621 # then the envvar interface is used. Set only those that are not.
12622 # We use the long form for the default assignment because of an extremely
12623 # bizarre bug on SunOS 4.1.3.
12624 if $ac_need_defaults; then
12625 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12626 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12627 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12630 # Have a temporary directory for convenience. Make it in the build tree
12631 # simply because there is no reason against having it here, and in addition,
12632 # creating and moving files from /tmp can sometimes cause problems.
12633 # Hook for its removal unless debugging.
12634 # Note that there is a small window in which the directory will not be cleaned:
12635 # after its creation but before its name has been assigned to `$tmp'.
12639 trap 'exit_status=$?
12640 : "${ac_tmp:=$tmp}"
12641 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12643 trap 'as_fn_exit 1' 1 2 13 15
12645 # Create a (secure) tmp directory for tmp files.
12648 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12652 tmp
=.
/conf$$
-$RANDOM
12653 (umask 077 && mkdir
"$tmp")
12654 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12657 # Set up the scripts for CONFIG_FILES section.
12658 # No need to generate them if there are no CONFIG_FILES.
12659 # This happens for instance with `./config.status config.h'.
12660 if test -n "$CONFIG_FILES"; then
12663 ac_cr
=`echo X | tr X '\015'`
12664 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12665 # But we know of no other shell where ac_cr would be empty at this
12666 # point, so we can use a bashism as a fallback.
12667 if test "x$ac_cr" = x
; then
12668 eval ac_cr
=\$
\'\\r
\'
12670 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12671 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12674 ac_cs_awk_cr
=$ac_cr
12677 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12682 echo "cat >conf$$subs.awk <<_ACEOF" &&
12683 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12685 } >conf$$subs.sh ||
12686 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12687 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12689 for ac_last_try in false false false false false :; do
12690 . ./conf$$subs.sh ||
12691 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12693 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12694 if test $ac_delim_n = $ac_delim_num; then
12696 elif $ac_last_try; then
12697 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12699 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12702 rm -f conf$$subs.sh
12704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12705 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12709 s/^/S["/; s
/!.
*/"]=/
12719 s/\(.\{148\}\)..*/\1/
12721 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12726 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12733 s/\(.\{148\}\)..*/\1/
12735 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12739 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12744 ' <conf$$subs.awk | sed '
12749 ' >>$CONFIG_STATUS || ac_write_fail=1
12750 rm -f conf$$subs.awk
12751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12753 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12754 for (key in S) S_is_set[key] = 1
12760 nfields = split(line, field, "@
")
12762 len = length(field[1])
12763 for (i = 2; i < nfields; i++) {
12765 keylen = length(key)
12766 if (S_is_set[key]) {
12768 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12769 len += length(value) + length(field[++i])
12780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12781 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12782 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12785 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12786 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12789 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12790 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12791 # trailing colons and then remove the whole line if VPATH becomes empty
12792 # (actually we leave an empty line to preserve line numbers).
12793 if test "x
$srcdir" = x.; then
12794 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12813 fi # test -n "$CONFIG_FILES"
12815 # Set up the scripts for CONFIG_HEADERS section.
12816 # No need to generate them if there are no CONFIG_HEADERS.
12817 # This happens for instance with `./config.status Makefile'.
12818 if test -n "$CONFIG_HEADERS"; then
12819 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12823 # Transform confdefs.h into an awk script `defines.awk', embedded as
12824 # here-document in config.status, that substitutes the proper values into
12825 # config.h.in to produce config.h.
12827 # Create a delimiter string that does not exist in confdefs.h, to ease
12828 # handling of long lines.
12830 for ac_last_try in false false :; do
12831 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12832 if test -z "$ac_tt"; then
12834 elif $ac_last_try; then
12835 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12837 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12841 # For the awk script, D is an array of macro values keyed by name,
12842 # likewise P contains macro parameters if any. Preserve backslash
12843 # newline sequences.
12845 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12847 s/.\{148\}/&'"$ac_delim"'/g
12850 s/^[ ]*#[ ]*define[ ][ ]*/ /
12857 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12859 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12863 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12864 D["\
1"]=" \
3\\\\\\n
"\\/p
12866 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12871 s/.\{148\}/&'"$ac_delim"'/g
12876 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12879 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12881 ' <confdefs.h | sed '
12882 s/'"$ac_delim"'/"\\\
12883 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12886 for (key in D) D_is_set[key] = 1
12889 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12891 split(line, arg, " ")
12892 if (arg[1] == "#") {
12896 defundef
= substr
(arg
[1], 2)
12899 split(mac1
, mac2
, "(") #)
12901 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12902 if (D_is_set
[macro
]) {
12903 # Preserve the white space surrounding the "#".
12904 print prefix
"define", macro P
[macro
] D
[macro
]
12907 # Replace #undef with comments. This is necessary, for example,
12908 # in the case of _POSIX_SOURCE, which is predefined and required
12909 # on some systems where configure will not decide to define it.
12910 if (defundef
== "undef") {
12911 print
"/*", prefix defundef
, macro
, "*/"
12919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12920 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12921 fi # test -n "$CONFIG_HEADERS"
12924 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12929 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12931 case $ac_mode$ac_tag in
12933 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12934 :[FH
]-) ac_tag
=-:-;;
12935 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12952 -) ac_f
="$ac_tmp/stdin";;
12953 *) # Look for the file first in the build tree, then in the source tree
12954 # (if the path is not absolute). The absolute path cannot be DOS-style,
12955 # because $ac_f cannot contain `:'.
12959 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12961 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12963 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12964 as_fn_append ac_file_inputs
" '$ac_f'"
12967 # Let's still pretend it is `configure' which instantiates (i.e., don't
12968 # use $as_me), people would be surprised to read:
12969 # /* config.h. Generated by config.status. */
12970 configure_input
='Generated from '`
12971 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12973 if test x
"$ac_file" != x-
; then
12974 configure_input
="$ac_file. $configure_input"
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12976 $as_echo "$as_me: creating $ac_file" >&6;}
12978 # Neutralize special characters interpreted by sed in replacement strings.
12979 case $configure_input in #(
12980 *\
&* |
*\|
* |
*\\* )
12981 ac_sed_conf_input
=`$as_echo "$configure_input" |
12982 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12983 *) ac_sed_conf_input
=$configure_input;;
12987 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12988 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12993 ac_dir
=`$as_dirname -- "$ac_file" ||
12994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12995 X"$ac_file" : 'X\(//\)[^/]' \| \
12996 X"$ac_file" : 'X\(//\)$' \| \
12997 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12998 $as_echo X"$ac_file" |
12999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13003 /^X\(\/\/\)[^/].*/{
13016 as_dir
="$ac_dir"; as_fn_mkdir_p
13020 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13022 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13023 # A ".." for each directory in $ac_dir_suffix.
13024 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13025 case $ac_top_builddir_sub in
13026 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13027 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13030 ac_abs_top_builddir
=$ac_pwd
13031 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13032 # for backward compatibility:
13033 ac_top_builddir
=$ac_top_build_prefix
13036 .
) # We are building in place.
13038 ac_top_srcdir
=$ac_top_builddir_sub
13039 ac_abs_top_srcdir
=$ac_pwd ;;
13040 [\\/]* | ?
:[\\/]* ) # Absolute name.
13041 ac_srcdir
=$srcdir$ac_dir_suffix;
13042 ac_top_srcdir
=$srcdir
13043 ac_abs_top_srcdir
=$srcdir ;;
13044 *) # Relative name.
13045 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13046 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13047 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13049 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13059 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13060 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13062 ac_MKDIR_P
=$MKDIR_P
13064 [\\/$
]* | ?
:[\\/]* ) ;;
13065 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13070 # If the template does not know about datarootdir, expand it.
13071 # FIXME: This hack should be removed a few years after 2.60.
13072 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13083 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13084 *datarootdir
*) ac_datarootdir_seen
=yes;;
13085 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13087 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13090 ac_datarootdir_hack='
13091 s&@datadir@&$datadir&g
13092 s&@docdir@&$docdir&g
13093 s&@infodir@&$infodir&g
13094 s&@localedir@&$localedir&g
13095 s&@mandir@&$mandir&g
13096 s&\\\${datarootdir}&$datarootdir&g' ;;
13100 # Neutralize VPATH when `$srcdir' = `.'.
13101 # Shell code in configure.ac might set extrasub.
13102 # FIXME: do we really want to maintain this feature?
13103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13104 ac_sed_extra="$ac_vpsub
13107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13109 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13110 s|@configure_input@|
$ac_sed_conf_input|
;t t
13111 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13112 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13113 s
&@srcdir@
&$ac_srcdir&;t t
13114 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13115 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13116 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13117 s
&@builddir@
&$ac_builddir&;t t
13118 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13119 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13120 s
&@INSTALL@
&$ac_INSTALL&;t t
13121 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13122 $ac_datarootdir_hack
13124 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13125 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13127 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13128 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13129 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13130 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13132 which seems to be undefined. Please make sure it is defined" >&5
13133 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13134 which seems to be undefined. Please make sure it is defined" >&2;}
13136 rm -f "$ac_tmp/stdin"
13138 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13139 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13141 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13147 if test x"$ac_file" != x-; then
13149 $as_echo "/* $configure_input */" \
13150 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13151 } >"$ac_tmp/config.h" \
13152 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13153 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13155 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13158 mv "$ac_tmp/config.h" "$ac_file" \
13159 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13162 $as_echo "/* $configure_input */" \
13163 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13164 || as_fn_error $? "could not create -" "$LINENO" 5
13166 # Compute "$ac_file"'s index
in $config_headers.
13169 for _am_header
in $config_headers :; do
13170 case $_am_header in
13171 $_am_arg |
$_am_arg:* )
13174 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13177 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13178 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13179 X"$_am_arg" : 'X\(//\)[^/]' \| \
13180 X"$_am_arg" : 'X\(//\)$' \| \
13181 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13182 $as_echo X"$_am_arg" |
13183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13187 /^X\(\/\/\)[^/].*/{
13199 s/.*/./; q'`/stamp-h
$_am_stamp_count
13202 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13203 $as_echo "$as_me: executing $ac_file commands" >&6;}
13208 case $ac_file$ac_mode in
13209 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13210 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13211 # are listed without --file. Let's play safe and only enable the eval
13212 # if we detect the quoting.
13213 case $CONFIG_FILES in
13214 *\'*) eval set x
"$CONFIG_FILES" ;;
13215 *) set x
$CONFIG_FILES ;;
13220 # Strip MF so we end up with the name of the file.
13221 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13222 # Check whether this is an Automake generated Makefile or not.
13223 # We used to match only the files named `Makefile.in', but
13224 # some people rename them; so instead we look at the file content.
13225 # Grep'ing the first line is not enough: some people post-process
13226 # each Makefile.in and add a new line on top of each file to say so.
13227 # Grep'ing the whole file is not good either: AIX grep has a line
13228 # limit of 2048, but all sed's we know have understand at least 4000.
13229 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13230 dirpart
=`$as_dirname -- "$mf" ||
13231 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13232 X"$mf" : 'X\(//\)[^/]' \| \
13233 X"$mf" : 'X\(//\)$' \| \
13234 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13240 /^X\(\/\/\)[^/].*/{
13256 # Extract the definition of DEPDIR, am__include, and am__quote
13257 # from the Makefile without running `make'.
13258 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13259 test -z "$DEPDIR" && continue
13260 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13261 test -z "am__include" && continue
13262 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13263 # When using ansi2knr, U may be empty or an underscore; expand it
13264 U
=`sed -n 's/^U = //p' < "$mf"`
13265 # Find all dependency output files, they are included files with
13266 # $(DEPDIR) in their names. We invoke sed twice because it is the
13267 # simplest approach to changing $(DEPDIR) to its actual value in the
13269 for file in `sed -n "
13270 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13271 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13272 # Make sure the directory exists.
13273 test -f "$dirpart/$file" && continue
13274 fdir
=`$as_dirname -- "$file" ||
13275 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13276 X"$file" : 'X\(//\)[^/]' \| \
13277 X"$file" : 'X\(//\)$' \| \
13278 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13279 $as_echo X"$file" |
13280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13284 /^X\(\/\/\)[^/].*/{
13297 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13298 # echo "creating $dirpart/$file"
13299 echo '# dummy' > "$dirpart/$file"
13306 # See if we are running on zsh, and set the options which allow our
13307 # commands through without removal of \ escapes.
13308 if test -n "${ZSH_VERSION+set}" ; then
13309 setopt NO_GLOB_SUBST
13312 cfgfile
="${ofile}T"
13313 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13316 cat <<_LT_EOF >> "$cfgfile"
13319 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13320 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13321 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13322 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13324 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13325 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13327 # Written by Gordon Matzigkeit, 1996
13329 # This file is part of GNU Libtool.
13331 # GNU Libtool is free software; you can redistribute it and/or
13332 # modify it under the terms of the GNU General Public License as
13333 # published by the Free Software Foundation; either version 2 of
13334 # the License, or (at your option) any later version.
13336 # As a special exception to the GNU General Public License,
13337 # if you distribute this file as part of a program or library that
13338 # is built using GNU Libtool, you may include this file under the
13339 # same distribution terms that you use for the rest of that program.
13341 # GNU Libtool is distributed in the hope that it will be useful,
13342 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13343 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13344 # GNU General Public License for more details.
13346 # You should have received a copy of the GNU General Public License
13347 # along with GNU Libtool; see the file COPYING. If not, a copy
13348 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13349 # obtained by writing to the Free Software Foundation, Inc.,
13350 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13353 # The names of the tagged configurations supported by this script.
13356 # ### BEGIN LIBTOOL CONFIG
13358 # Which release of libtool.m4 was used?
13359 macro_version=$macro_version
13360 macro_revision=$macro_revision
13362 # Whether or not to build shared libraries.
13363 build_libtool_libs=$enable_shared
13365 # Whether or not to build static libraries.
13366 build_old_libs=$enable_static
13368 # What type of objects to build.
13371 # Whether or not to optimize for fast installation.
13372 fast_install=$enable_fast_install
13374 # Shell to use when invoking shell scripts.
13377 # An echo program that protects backslashes.
13381 host_alias=$host_alias
13385 # The build system.
13386 build_alias=$build_alias
13390 # A sed program that does not truncate output.
13393 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13394 Xsed="\$SED -e 1s/^X//"
13396 # A grep program that handles long lines.
13402 # A literal string matcher.
13405 # A BSD- or MS-compatible name lister.
13408 # Whether we need soft or hard links.
13411 # What is the maximum length of a command?
13412 max_cmd_len=$max_cmd_len
13414 # Object file suffix (normally "o").
13417 # Executable file suffix (normally "").
13420 # whether the shell understands "unset".
13423 # turn spaces into newlines.
13426 # turn newlines into spaces.
13429 # convert \$build file names to \$host format.
13430 to_host_file_cmd=$lt_cv_to_host_file_cmd
13432 # convert \$build files to toolchain format.
13433 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13435 # An object symbol dumper.
13436 OBJDUMP=$lt_OBJDUMP
13438 # Method to check whether dependent libraries are shared objects.
13439 deplibs_check_method=$lt_deplibs_check_method
13441 # Command to use when deplibs_check_method = "file_magic".
13442 file_magic_cmd=$lt_file_magic_cmd
13444 # How to find potential files when deplibs_check_method = "file_magic".
13445 file_magic_glob=$lt_file_magic_glob
13447 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13448 want_nocaseglob=$lt_want_nocaseglob
13450 # DLL creation program.
13451 DLLTOOL=$lt_DLLTOOL
13453 # Command to associate shared and link libraries.
13454 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13459 # Flags to create an archive.
13460 AR_FLAGS=$lt_AR_FLAGS
13462 # How to feed a file listing to the archiver.
13463 archiver_list_spec=$lt_archiver_list_spec
13465 # A symbol stripping program.
13468 # Commands used to install an old-style archive.
13470 old_postinstall_cmds=$lt_old_postinstall_cmds
13471 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13473 # Whether to use a lock for old archive extraction.
13474 lock_old_archive_extraction=$lock_old_archive_extraction
13479 # LTCC compiler flags.
13480 LTCFLAGS=$lt_CFLAGS
13482 # Take the output of nm and produce a listing of raw symbols and C names.
13483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13485 # Transform the output of nm in a proper C declaration.
13486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13488 # Transform the output of nm in a C name address pair.
13489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13491 # Transform the output of nm in a C name address pair when lib prefix is needed.
13492 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13494 # Specify filename containing input files for \$NM.
13495 nm_file_list_spec=$lt_nm_file_list_spec
13497 # The root where to search for dependent libraries,and in which our libraries should be installed.
13498 lt_sysroot=$lt_sysroot
13500 # The name of the directory that contains temporary libtool files.
13503 # Used to examine libraries when file_magic_cmd begins with "file".
13504 MAGIC_CMD=$MAGIC_CMD
13506 # Must we lock files when doing compilation?
13507 need_locks=$lt_need_locks
13510 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13512 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13513 DSYMUTIL=$lt_DSYMUTIL
13515 # Tool to change global to local symbols on Mac OS X.
13518 # Tool to manipulate fat objects and archives on Mac OS X.
13521 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13524 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13525 OTOOL64=$lt_OTOOL64
13527 # Old archive suffix (normally "a").
13530 # Shared library suffix (normally ".so").
13531 shrext_cmds=$lt_shrext_cmds
13533 # The commands to extract the exported symbol list from a shared archive.
13534 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13536 # Variables whose values should be saved in libtool wrapper scripts and
13537 # restored at link time.
13538 variables_saved_for_relink=$lt_variables_saved_for_relink
13540 # Do we need the "lib" prefix for modules?
13541 need_lib_prefix=$need_lib_prefix
13543 # Do we need a version for libraries?
13544 need_version=$need_version
13546 # Library versioning type.
13547 version_type=$version_type
13549 # Shared library runtime path variable.
13550 runpath_var=$runpath_var
13552 # Shared library path variable.
13553 shlibpath_var=$shlibpath_var
13555 # Is shlibpath searched before the hard-coded library search path?
13556 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13558 # Format of library name prefix.
13559 libname_spec=$lt_libname_spec
13561 # List of archive names. First name is the real one, the rest are links.
13562 # The last name is the one that the linker finds with -lNAME
13563 library_names_spec=$lt_library_names_spec
13565 # The coded name of the library, if different from the real name.
13566 soname_spec=$lt_soname_spec
13568 # Permission mode override for installation of shared libraries.
13569 install_override_mode=$lt_install_override_mode
13571 # Command to use after installation of a shared archive.
13572 postinstall_cmds=$lt_postinstall_cmds
13574 # Command to use after uninstallation of a shared archive.
13575 postuninstall_cmds=$lt_postuninstall_cmds
13577 # Commands used to finish a libtool library installation in a directory.
13578 finish_cmds=$lt_finish_cmds
13580 # As "finish_cmds", except a single script fragment to be evaled but
13582 finish_eval=$lt_finish_eval
13584 # Whether we should hardcode library paths into libraries.
13585 hardcode_into_libs=$hardcode_into_libs
13587 # Compile-time system search path for libraries.
13588 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13590 # Run-time system search path for libraries.
13591 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13593 # Whether dlopen is supported.
13594 dlopen_support=$enable_dlopen
13596 # Whether dlopen of programs is supported.
13597 dlopen_self=$enable_dlopen_self
13599 # Whether dlopen of statically linked programs is supported.
13600 dlopen_self_static=$enable_dlopen_self_static
13602 # Commands to strip libraries.
13603 old_striplib=$lt_old_striplib
13604 striplib=$lt_striplib
13607 # The linker used to build libraries.
13610 # How to create reloadable object files.
13611 reload_flag=$lt_reload_flag
13612 reload_cmds=$lt_reload_cmds
13614 # Commands used to build an old-style archive.
13615 old_archive_cmds=$lt_old_archive_cmds
13617 # A language specific compiler.
13620 # Is the compiler the GNU compiler?
13623 # Compiler flag to turn off builtin functions.
13624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13626 # Additional compiler flags for building library objects.
13627 pic_flag=$lt_lt_prog_compiler_pic
13629 # How to pass a linker flag through the compiler.
13630 wl=$lt_lt_prog_compiler_wl
13632 # Compiler flag to prevent dynamic linking.
13633 link_static_flag=$lt_lt_prog_compiler_static
13635 # Does compiler simultaneously support -c and -o options?
13636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13638 # Whether or not to add -lc for building shared libraries.
13639 build_libtool_need_lc=$archive_cmds_need_lc
13641 # Whether or not to disallow shared libs when runtime libs are static.
13642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13644 # Compiler flag to allow reflexive dlopens.
13645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13647 # Compiler flag to generate shared objects directly from archives.
13648 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13650 # Whether the compiler copes with passing no objects directly.
13651 compiler_needs_object=$lt_compiler_needs_object
13653 # Create an old-style archive from a shared archive.
13654 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13656 # Create a temporary old-style archive to link instead of a shared archive.
13657 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13659 # Commands used to build a shared archive.
13660 archive_cmds=$lt_archive_cmds
13661 archive_expsym_cmds=$lt_archive_expsym_cmds
13663 # Commands used to build a loadable module if different from building
13664 # a shared archive.
13665 module_cmds=$lt_module_cmds
13666 module_expsym_cmds=$lt_module_expsym_cmds
13668 # Whether we are building with GNU ld or not.
13669 with_gnu_ld=$lt_with_gnu_ld
13671 # Flag that allows shared libraries with undefined symbols to be built.
13672 allow_undefined_flag=$lt_allow_undefined_flag
13674 # Flag that enforces no undefined symbols.
13675 no_undefined_flag=$lt_no_undefined_flag
13677 # Flag to hardcode \$libdir into a binary during linking.
13678 # This must work even if \$libdir does not exist
13679 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13681 # If ld is used when linking, flag to hardcode \$libdir into a binary
13682 # during linking. This must work even if \$libdir does not exist.
13683 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13685 # Whether we need a single "-rpath" flag with a separated argument.
13686 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13689 # DIR into the resulting binary.
13690 hardcode_direct=$hardcode_direct
13692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13693 # DIR into the resulting binary and the resulting library dependency is
13694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13695 # library is relocated.
13696 hardcode_direct_absolute=$hardcode_direct_absolute
13698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13699 # into the resulting binary.
13700 hardcode_minus_L=$hardcode_minus_L
13702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13703 # into the resulting binary.
13704 hardcode_shlibpath_var=$hardcode_shlibpath_var
13706 # Set to "yes" if building a shared library automatically hardcodes DIR
13707 # into the library and all subsequent libraries and executables linked
13709 hardcode_automatic=$hardcode_automatic
13711 # Set to yes if linker adds runtime paths of dependent libraries
13712 # to runtime path list.
13713 inherit_rpath=$inherit_rpath
13715 # Whether libtool must link a program against all its dependency libraries.
13716 link_all_deplibs=$link_all_deplibs
13718 # Set to "yes" if exported symbols are required.
13719 always_export_symbols=$always_export_symbols
13721 # The commands to list exported symbols.
13722 export_symbols_cmds=$lt_export_symbols_cmds
13724 # Symbols that should not be listed in the preloaded symbols.
13725 exclude_expsyms=$lt_exclude_expsyms
13727 # Symbols that must always be exported.
13728 include_expsyms=$lt_include_expsyms
13730 # Commands necessary for linking programs (against libraries) with templates.
13731 prelink_cmds=$lt_prelink_cmds
13733 # Commands necessary for finishing linking programs.
13734 postlink_cmds=$lt_postlink_cmds
13736 # Specify filename containing input files.
13737 file_list_spec=$lt_file_list_spec
13739 # How to hardcode a shared library path into an executable.
13740 hardcode_action=$hardcode_action
13742 # ### END LIBTOOL CONFIG
13748 cat <<\_LT_EOF
>> "$cfgfile"
13749 # AIX sometimes has problems with the GCC collect2 program. For some
13750 # reason, if we set the COLLECT_NAMES environment variable, the problems
13751 # vanish in a puff of smoke.
13752 if test "X${COLLECT_NAMES+set}" != Xset
; then
13754 export COLLECT_NAMES
13761 ltmain
="$ac_aux_dir/ltmain.sh"
13764 # We use sed instead of cat because bash on DJGPP gets confused if
13765 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13766 # text mode, it properly converts lines to CR/LF. This bash problem
13767 # is reportedly fixed, but why not run on old versions too?
13768 sed '$q' "$ltmain" >> "$cfgfile" \
13769 ||
(rm -f "$cfgfile"; exit 1)
13771 if test x
"$xsi_shell" = xyes
; then
13772 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13776 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13777 \ * ) func_dirname_result="${3}" ;;\
13779 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13780 && mv -f "$cfgfile.tmp" "$cfgfile" \
13781 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13782 test 0 -eq $? || _lt_function_replace_fail
=:
13785 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13788 \ func_basename_result="${1##*/}"\
13789 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13790 && mv -f "$cfgfile.tmp" "$cfgfile" \
13791 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13792 test 0 -eq $? || _lt_function_replace_fail
=:
13795 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13796 func_dirname_and_basename ()\
13799 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13800 \ * ) func_dirname_result="${3}" ;;\
13802 \ func_basename_result="${1##*/}"\
13803 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13804 && mv -f "$cfgfile.tmp" "$cfgfile" \
13805 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13806 test 0 -eq $? || _lt_function_replace_fail
=:
13809 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13812 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13813 \ # positional parameters, so assign one to ordinary parameter first.\
13814 \ func_stripname_result=${3}\
13815 \ func_stripname_result=${func_stripname_result#"${1}"}\
13816 \ func_stripname_result=${func_stripname_result%"${2}"}\
13817 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13818 && mv -f "$cfgfile.tmp" "$cfgfile" \
13819 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13820 test 0 -eq $? || _lt_function_replace_fail
=:
13823 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13824 func_split_long_opt ()\
13826 \ func_split_long_opt_name=${1%%=*}\
13827 \ func_split_long_opt_arg=${1#*=}\
13828 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13829 && mv -f "$cfgfile.tmp" "$cfgfile" \
13830 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13831 test 0 -eq $? || _lt_function_replace_fail
=:
13834 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13835 func_split_short_opt ()\
13837 \ func_split_short_opt_arg=${1#??}\
13838 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13839 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13840 && mv -f "$cfgfile.tmp" "$cfgfile" \
13841 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13842 test 0 -eq $? || _lt_function_replace_fail
=:
13845 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13849 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13850 \ *) func_lo2o_result=${1} ;;\
13852 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13853 && mv -f "$cfgfile.tmp" "$cfgfile" \
13854 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13855 test 0 -eq $? || _lt_function_replace_fail
=:
13858 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13861 func_xform_result=${1%.*}.lo\
13862 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13863 && mv -f "$cfgfile.tmp" "$cfgfile" \
13864 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13865 test 0 -eq $? || _lt_function_replace_fail
=:
13868 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13871 func_arith_result=$(( $* ))\
13872 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13873 && mv -f "$cfgfile.tmp" "$cfgfile" \
13874 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13875 test 0 -eq $? || _lt_function_replace_fail
=:
13878 sed -e '/^func_len ()$/,/^} # func_len /c\
13881 func_len_result=${#1}\
13882 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13883 && mv -f "$cfgfile.tmp" "$cfgfile" \
13884 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13885 test 0 -eq $? || _lt_function_replace_fail
=:
13889 if test x
"$lt_shell_append" = xyes
; then
13890 sed -e '/^func_append ()$/,/^} # func_append /c\
13893 eval "${1}+=\\${2}"\
13894 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13895 && mv -f "$cfgfile.tmp" "$cfgfile" \
13896 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13897 test 0 -eq $? || _lt_function_replace_fail
=:
13900 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13901 func_append_quoted ()\
13903 \ func_quote_for_eval "${2}"\
13904 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13905 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13906 && mv -f "$cfgfile.tmp" "$cfgfile" \
13907 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13908 test 0 -eq $? || _lt_function_replace_fail
=:
13911 # Save a `func_append' function call where possible by direct use of '+='
13912 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13913 && mv -f "$cfgfile.tmp" "$cfgfile" \
13914 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13915 test 0 -eq $? || _lt_function_replace_fail
=:
13917 # Save a `func_append' function call even when '+=' is not available
13918 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13919 && mv -f "$cfgfile.tmp" "$cfgfile" \
13920 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13921 test 0 -eq $? || _lt_function_replace_fail
=:
13924 if test x
"$_lt_function_replace_fail" = x
":"; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13926 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13930 mv -f "$cfgfile" "$ofile" ||
13931 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13942 ac_clean_files
=$ac_clean_files_save
13944 test $ac_write_fail = 0 ||
13945 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13948 # configure is writing to config.log, and then calls config.status.
13949 # config.status does its own redirection, appending to config.log.
13950 # Unfortunately, on DOS this fails, as config.log is still kept open
13951 # by configure, so config.status won't be able to write to it; its
13952 # output is simply discarded. So we exec the FD to /dev/null,
13953 # effectively closing config.log, so it can be properly (re)opened and
13954 # appended to by config.status. When coming back to configure, we
13955 # need to make the FD available again.
13956 if test "$no_create" != yes; then
13958 ac_config_status_args
=
13959 test "$silent" = yes &&
13960 ac_config_status_args
="$ac_config_status_args --quiet"
13962 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13964 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13965 # would make configure fail if this is the last instruction.
13966 $ac_cs_success || as_fn_exit
1
13968 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13970 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}