2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libnfs 1.3.0.
5 # Report bugs to <ronniesahlberg@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: ronniesahlberg@gmail.com about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libnfs'
592 PACKAGE_TARNAME
='libnfs'
593 PACKAGE_VERSION
='1.3.0'
594 PACKAGE_STRING
='libnfs 1.3.0'
595 PACKAGE_BUGREPORT
='ronniesahlberg@gmail.com'
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
638 LIBNFS_PC_REQ_PRIVATE
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
758 enable_dependency_tracking
769 ac_precious_vars
='build_alias
785 # Initialize some variables set by options.
787 ac_init_version
=false
788 ac_unrecognized_opts
=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name
=s
,x
,x
,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir
='${exec_prefix}/bin'
814 sbindir
='${exec_prefix}/sbin'
815 libexecdir
='${exec_prefix}/libexec'
816 datarootdir
='${prefix}/share'
817 datadir
='${datarootdir}'
818 sysconfdir
='${prefix}/etc'
819 sharedstatedir
='${prefix}/com'
820 localstatedir
='${prefix}/var'
821 includedir
='${prefix}/include'
822 oldincludedir
='/usr/include'
823 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir
='${datarootdir}/info'
829 libdir
='${exec_prefix}/lib'
830 localedir
='${datarootdir}/locale'
831 mandir
='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\
$ac_option
845 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
858 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
861 -build |
--build |
--buil |
--bui |
--bu)
862 ac_prev
=build_alias
;;
863 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
864 build_alias
=$ac_optarg ;;
866 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
867 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
868 ac_prev
=cache_file
;;
869 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
870 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
871 cache_file
=$ac_optarg ;;
874 cache_file
=config.cache
;;
876 -datadir |
--datadir |
--datadi |
--datad)
878 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
879 datadir
=$ac_optarg ;;
881 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
882 |
--dataroo |
--dataro |
--datar)
883 ac_prev
=datarootdir
;;
884 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
885 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
886 datarootdir
=$ac_optarg ;;
888 -disable-* |
--disable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error $?
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=no
;;
904 -docdir |
--docdir |
--docdi |
--doc |
--do)
906 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
909 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
911 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
914 -enable-* |
--enable-*)
915 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
918 as_fn_error $?
"invalid feature name: $ac_useropt"
919 ac_useropt_orig
=$ac_useropt
920 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep
=', ';;
928 eval enable_
$ac_useropt=\
$ac_optarg ;;
930 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
931 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
932 |
--exec |
--exe |
--ex)
933 ac_prev
=exec_prefix
;;
934 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
935 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
936 |
--exec=* |
--exe=* |
--ex=*)
937 exec_prefix
=$ac_optarg ;;
939 -gas |
--gas |
--ga |
--g)
940 # Obsolete; use --with-gas.
943 -help |
--help |
--hel |
--he |
-h)
945 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
946 ac_init_help
=recursive
;;
947 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
948 ac_init_help
=short
;;
950 -host |
--host |
--hos |
--ho)
951 ac_prev
=host_alias
;;
952 -host=* |
--host=* |
--hos=* |
--ho=*)
953 host_alias
=$ac_optarg ;;
955 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
957 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
959 htmldir
=$ac_optarg ;;
961 -includedir |
--includedir |
--includedi |
--included |
--include \
962 |
--includ |
--inclu |
--incl |
--inc)
963 ac_prev
=includedir
;;
964 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
965 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
966 includedir
=$ac_optarg ;;
968 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
970 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
971 infodir
=$ac_optarg ;;
973 -libdir |
--libdir |
--libdi |
--libd)
975 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
978 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
979 |
--libexe |
--libex |
--libe)
980 ac_prev
=libexecdir
;;
981 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
982 |
--libexe=* |
--libex=* |
--libe=*)
983 libexecdir
=$ac_optarg ;;
985 -localedir |
--localedir |
--localedi |
--localed |
--locale)
987 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
988 localedir
=$ac_optarg ;;
990 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
991 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
992 ac_prev
=localstatedir
;;
993 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
994 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
995 localstatedir
=$ac_optarg ;;
997 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
999 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 mandir
=$ac_optarg ;;
1002 -nfp |
--nfp |
--nf)
1003 # Obsolete; use --without-fp.
1006 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1007 |
--no-cr |
--no-c |
-n)
1010 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1011 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1014 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1015 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1016 |
--oldin |
--oldi |
--old |
--ol |
--o)
1017 ac_prev
=oldincludedir
;;
1018 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1019 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1020 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1021 oldincludedir
=$ac_optarg ;;
1023 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1025 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1026 prefix
=$ac_optarg ;;
1028 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1029 |
--program-pre |
--program-pr |
--program-p)
1030 ac_prev
=program_prefix
;;
1031 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1032 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1033 program_prefix
=$ac_optarg ;;
1035 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1036 |
--program-suf |
--program-su |
--program-s)
1037 ac_prev
=program_suffix
;;
1038 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1039 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1040 program_suffix
=$ac_optarg ;;
1042 -program-transform-name |
--program-transform-name \
1043 |
--program-transform-nam |
--program-transform-na \
1044 |
--program-transform-n |
--program-transform- \
1045 |
--program-transform |
--program-transfor \
1046 |
--program-transfo |
--program-transf \
1047 |
--program-trans |
--program-tran \
1048 |
--progr-tra |
--program-tr |
--program-t)
1049 ac_prev
=program_transform_name
;;
1050 -program-transform-name=* |
--program-transform-name=* \
1051 |
--program-transform-nam=* |
--program-transform-na=* \
1052 |
--program-transform-n=* |
--program-transform-=* \
1053 |
--program-transform=* |
--program-transfor=* \
1054 |
--program-transfo=* |
--program-transf=* \
1055 |
--program-trans=* |
--program-tran=* \
1056 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1057 program_transform_name
=$ac_optarg ;;
1059 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1061 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1062 pdfdir
=$ac_optarg ;;
1064 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1066 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1070 |
-silent |
--silent |
--silen |
--sile |
--sil)
1073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1077 sbindir
=$ac_optarg ;;
1079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1083 ac_prev
=sharedstatedir
;;
1084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1088 sharedstatedir
=$ac_optarg ;;
1090 -site |
--site |
--sit)
1092 -site=* |
--site=* |
--sit=*)
1095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1098 srcdir
=$ac_optarg ;;
1100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1102 ac_prev
=sysconfdir
;;
1103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1105 sysconfdir
=$ac_optarg ;;
1107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1108 ac_prev
=target_alias
;;
1109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1110 target_alias
=$ac_optarg ;;
1112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1115 -version |
--version |
--versio |
--versi |
--vers |
-V)
1116 ac_init_version
=: ;;
1119 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid package name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval with_
$ac_useropt=\
$ac_optarg ;;
1134 -without-* |
--without-*)
1135 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=no
;;
1151 # Obsolete; use --with-x.
1154 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1155 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1156 ac_prev
=x_includes
;;
1157 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1158 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1159 x_includes
=$ac_optarg ;;
1161 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1162 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1163 ac_prev
=x_libraries
;;
1164 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1165 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1166 x_libraries
=$ac_optarg ;;
1168 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1173 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1177 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1179 eval $ac_envvar=\
$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 if test -n "$ac_prev"; then
1194 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $?
"missing argument to $ac_option"
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1201 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 # Check all directory arguments for consistency.
1207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val
=\$
$ac_var
1213 # Remove trailing slashes.
1216 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\
$ac_val;;
1219 # Be sure to have absolute directory names.
1221 [\\/$
]* | ?
:[\\/]* ) continue;;
1222 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1224 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1232 target
=$target_alias
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x
; then
1236 if test "x$build_alias" = x
; then
1237 cross_compiling
=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1246 test "$silent" = yes && exec 6>/dev
/null
1249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di
=`ls -di .` &&
1251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $?
"working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $?
"pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures libnfs 1.3.0 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/libnfs]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive
) echo "Configuration of libnfs 1.3.0:";;
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --disable-dependency-tracking speeds up one-time build
1402 --enable-dependency-tracking do not reject slow dependency extractors
1403 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1404 --enable-static[=PKGS
] build static libraries
[default
=yes]
1405 --enable-fast-install[=PKGS
]
1406 optimize
for fast installation
[default
=yes]
1407 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1408 --enable-examples Build example programs
1409 --enable-tirpc enable use of TI-RPC
[default
=no
]
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1416 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1417 --with-sysroot=DIR Search
for dependent libraries within DIR
1418 (or the compiler
's sysroot if not specified).
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1429 PKG_CONFIG path to pkg-config utility
1431 directories to add to pkg-config's search path
1433 path overriding pkg-config
's built-in search path
1435 C compiler flags for TIRPC, overriding pkg-config
1436 TIRPC_LIBS linker flags for TIRPC, overriding pkg-config
1438 Use these variables to override the choices made by `configure' or to
help
1439 it to
find libraries and programs with nonstandard names
/locations.
1441 Report bugs to
<ronniesahlberg@gmail.com
>.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1449 test -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1465 ac_abs_top_builddir
=$ac_pwd
1466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir
=$ac_top_build_prefix
1471 .
) # We are building in place.
1473 ac_top_srcdir
=$ac_top_builddir_sub
1474 ac_abs_top_srcdir
=$ac_pwd ;;
1475 [\\/]* | ?
:[\\/]* ) # Absolute name.
1476 ac_srcdir
=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir
=$srcdir
1478 ac_abs_top_srcdir
=$srcdir ;;
1480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1486 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1487 # Check for guested configure.
1488 if test -f "$ac_srcdir/configure.gnu"; then
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif test -f "$ac_srcdir/configure"; then
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1504 libnfs configure
1.3.0
1505 generated by GNU Autoconf
2.69
1507 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1508 This configure
script is free software
; the Free Software Foundation
1509 gives unlimited permission to copy
, distribute and modify it.
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compile
()
1523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1524 rm -f conftest.
$ac_objext
1525 if { { ac_try
="$ac_compile"
1527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_compile") 2>conftest.err
1534 if test -s conftest.err; then
1535 grep -v '^ *+' conftest.err >conftest.er1
1536 cat conftest.er1 >&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest.$ac_objext; then :
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.$ac_ext >&5
1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552 as_fn_set_status $ac_retval
1554 } # ac_fn_c_try_compile
1556 # ac_fn_c_try_link LINENO
1557 # -----------------------
1558 # Try to link conftest.$ac_ext, and return whether this succeeded.
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext conftest$ac_exeext
1563 if { { ac_try="$ac_link"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_link") 2>conftest.err
1572 if test -s conftest.err
; then
1573 grep -v '^ *+' conftest.err
>conftest.er1
1574 cat conftest.er1
>&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest
$ac_exeext && {
1582 test "$cross_compiling" = yes ||
1583 test -x conftest
$ac_exeext
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1593 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1594 # interfere with the next link command; also delete a directory that is
1595 # left behind by Apple's compiler. We do this before executing the actions.
1596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598 as_fn_set_status
$ac_retval
1600 } # ac_fn_c_try_link
1602 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists and can be compiled using the include files in
1605 # INCLUDES, setting the cache variable VAR accordingly.
1606 ac_fn_c_check_header_compile
()
1608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if eval \
${$3+:} false
; then :
1612 $as_echo_n "(cached) " >&6
1614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1615 /* end confdefs.h. */
1619 if ac_fn_c_try_compile
"$LINENO"; then :
1624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 $as_echo "$ac_res" >&6; }
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 } # ac_fn_c_check_header_compile
1633 # ac_fn_c_try_cpp LINENO
1634 # ----------------------
1635 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1638 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1639 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1648 if test -s conftest.err; then
1649 grep -v '^ *+' conftest.err >conftest.er1
1650 cat conftest.er1 >&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } > conftest.i && {
1655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=$ac_status
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_c_check_func LINENO FUNC VAR
1713 # ----------------------------------
1714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1715 ac_fn_c_check_func ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719 $as_echo_n "checking for $2... " >&6; }
1720 if eval \${$3+:} false; then :
1721 $as_echo_n "(cached) " >&6
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1725 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1727 #define $2 innocuous_$2
1729 /* System header to define __stub macros and hopefully few prototypes,
1730 which can conflict with char $2 (); below.
1731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1732 <limits.h> exists even on freestanding compilers. */
1735 # include <limits.h>
1737 # include <assert.h>
1742 /* Override any GCC internal prototype to avoid an error.
1743 Use char because int might match the return type of a GCC
1744 builtin and then its argument prototype would still apply. */
1749 /* The GNU C library defines this for functions which it implements
1750 to always fail with ENOSYS. Some functions are actually named
1751 something starting with __ and the normal name is an alias. */
1752 #if defined __stub_$2 || defined __stub___$2
1764 if ac_fn_c_try_link "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext \
1770 conftest$ac_exeext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_func
1779 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1780 # -------------------------------------------------------
1781 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1782 # the include files in INCLUDES and setting the cache variable VAR
1784 ac_fn_c_check_header_mongrel ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 if eval \${$3+:} false; then :
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if eval \${$3+:} false; then :
1791 $as_echo_n "(cached) " >&6
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1797 # Is the header compilable?
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1799 $as_echo_n "checking $2 usability... " >&6; }
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1805 if ac_fn_c_try_compile "$LINENO"; then :
1806 ac_header_compiler=yes
1808 ac_header_compiler=no
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1812 $as_echo "$ac_header_compiler" >&6; }
1814 # Is the header present?
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1816 $as_echo_n "checking $2 presence... " >&6; }
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1821 if ac_fn_c_try_cpp "$LINENO"; then :
1822 ac_header_preproc=yes
1824 ac_header_preproc=no
1826 rm -f conftest.err conftest.i conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1828 $as_echo "$ac_header_preproc" >&6; }
1830 # So? What about this header?
1831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1834 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1840 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1842 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1844 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1846 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1848 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 ( $as_echo "## --------------------------------------- ##
1850 ## Report this to ronniesahlberg@gmail.com ##
1851 ## --------------------------------------- ##"
1852 ) | sed "s/^/$as_me: WARNING: /" >&2
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856 $as_echo_n "checking for $2... " >&6; }
1857 if eval \${$3+:} false; then :
1858 $as_echo_n "(cached) " >&6
1860 eval "$3=\$ac_header_compiler"
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 } # ac_fn_c_check_header_mongrel
1870 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1871 # ----------------------------------------------------
1872 # Tries to find if the field MEMBER exists in type AGGR, after including
1873 # INCLUDES, setting cache variable VAR accordingly.
1874 ac_fn_c_check_member ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1878 $as_echo_n "checking for $2.$3... " >&6; }
1879 if eval \${$4+:} false; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1895 if ac_fn_c_try_compile "$LINENO"; then :
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1905 if (sizeof ac_aggr.$3)
1911 if ac_fn_c_try_compile "$LINENO"; then :
1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 } # ac_fn_c_check_member
1926 cat >config.log <<_ACEOF
1927 This file contains any messages produced by compilers while
1928 running configure, to aid debugging if configure makes a mistake.
1930 It was created by libnfs $as_me 1.3.0, which was
1931 generated by GNU Autoconf 2.69. Invocation command line was
1943 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1944 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1945 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1946 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1947 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1949 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1950 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1952 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1953 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1954 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1955 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1956 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1957 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1958 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir=.
1967 $as_echo "PATH: $as_dir"
1983 # Keep a trace of the command line.
1984 # Strip out --no-create and --no-recursion so they do not pile up.
1985 # Strip out --silent because we don't want to record it for future runs.
1986 # Also quote any args containing shell meta-characters.
1987 # Make two passes to allow for proper duplicate-argument suppression.
1991 ac_must_keep_next=false
1997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1999 | -silent | --silent | --silen | --sile | --sil)
2002 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2005 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2007 as_fn_append ac_configure_args1 " '$ac_arg'"
2008 if test $ac_must_keep_next = true; then
2009 ac_must_keep_next=false # Got value, back to normal.
2012 *=* | --config-cache | -C | -disable-* | --disable-* \
2013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2015 | -with-* | --with-* | -without-* | --without-* | --x)
2016 case "$ac_configure_args0 " in
2017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2020 -* ) ac_must_keep_next=true ;;
2023 as_fn_append ac_configure_args " '$ac_arg'"
2028 { ac_configure_args0=; unset ac_configure_args0;}
2029 { ac_configure_args1=; unset ac_configure_args1;}
2031 # When interrupted or exit'd, cleanup temporary files, and complete
2032 # config.log. We remove comments because anyway the quotes in there
2033 # would cause problems or look ugly.
2034 # WARNING: Use '\'' to represent an apostrophe within the trap.
2035 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2036 trap 'exit_status=$?
2037 # Save into config.log some information that might help in debugging.
2041 $as_echo "## ---------------- ##
2042 ## Cache variables. ##
2043 ## ---------------- ##"
2045 # The following way of writing the cache mishandles newlines in values,
2047 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2048 eval ac_val=\$$ac_var
2052 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2053 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2056 _ | IFS | as_nl) ;; #(
2057 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2058 *) { eval $ac_var=; unset $ac_var;} ;;
2063 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2064 *${as_nl}ac_space=\ *)
2066 "s/'\''/'\''\\\\'\'''\''/g;
2067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2077 $as_echo "## ----------------- ##
2078 ## Output variables. ##
2079 ## ----------------- ##"
2081 for ac_var in $ac_subst_vars
2083 eval ac_val=\$$ac_var
2085 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2087 $as_echo "$ac_var='\''$ac_val'\''"
2091 if test -n "$ac_subst_files"; then
2092 $as_echo "## ------------------- ##
2093 ## File substitutions. ##
2094 ## ------------------- ##"
2096 for ac_var in $ac_subst_files
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2107 if test -s confdefs.h; then
2108 $as_echo "## ----------- ##
2115 test "$ac_signal" != 0 &&
2116 $as_echo "$as_me: caught signal $ac_signal"
2117 $as_echo "$as_me: exit $exit_status"
2119 rm -f core *.core core.conftest.* &&
2120 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2123 for ac_signal in 1 2 13 15; do
2124 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2128 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2129 rm -f -r conftest* confdefs.h
2131 $as_echo "/* confdefs.h */" > confdefs.h
2133 # Predefined preprocessor variables.
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_NAME "$PACKAGE_NAME"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_STRING "$PACKAGE_STRING"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_URL "$PACKAGE_URL"
2160 # Let the site file select an alternate cache file if it wants to.
2161 # Prefer an explicitly selected file to automatically selected ones.
2164 if test -n "$CONFIG_SITE"; then
2165 # We do not want a PATH search for config.site.
2166 case $CONFIG_SITE in #((
2167 -*) ac_site_file1=./$CONFIG_SITE;;
2168 */*) ac_site_file1=$CONFIG_SITE;;
2169 *) ac_site_file1=./$CONFIG_SITE;;
2171 elif test "x$prefix" != xNONE; then
2172 ac_site_file1=$prefix/share/config.site
2173 ac_site_file2=$prefix/etc/config.site
2175 ac_site_file1=$ac_default_prefix/share/config.site
2176 ac_site_file2=$ac_default_prefix/etc/config.site
2178 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2180 test "x$ac_site_file" = xNONE && continue
2181 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2183 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2184 sed 's/^/| /' "$ac_site_file" >&5
2186 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188 as_fn_error $? "failed to load site
script $ac_site_file
2189 See \
`config.log' for more details" "$LINENO" 5; }
2193 if test -r "$cache_file"; then
2194 # Some versions of bash will fail to source /dev/null (special files
2195 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2196 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2198 $as_echo "$as_me: loading cache $cache_file" >&6;}
2200 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2201 *) . "./$cache_file";;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2206 $as_echo "$as_me: creating cache $cache_file" >&6;}
2210 # Check that the precious variables saved in the cache have kept the same
2212 ac_cache_corrupted=false
2213 for ac_var in $ac_precious_vars; do
2214 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2215 eval ac_new_set=\$ac_env_${ac_var}_set
2216 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2217 eval ac_new_val=\$ac_env_${ac_var}_value
2218 case $ac_old_set,$ac_new_set in
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2221 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2222 ac_cache_corrupted=: ;;
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2225 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2229 if test "x$ac_old_val" != "x$ac_new_val"; then
2230 # differences in whitespace do not lead to failure.
2231 ac_old_val_w=`echo x
$ac_old_val`
2232 ac_new_val_w=`echo x
$ac_new_val`
2233 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2235 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2236 ac_cache_corrupted=:
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2239 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2240 eval $ac_var=\$ac_old_val
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2243 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2245 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2248 # Pass precious variables to config.status.
2249 if test "$ac_new_set" = set; then
2251 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2252 *) ac_arg=$ac_var=$ac_new_val ;;
2254 case " $ac_configure_args " in
2255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2256 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2260 if $ac_cache_corrupted; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2264 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2265 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2267 ## -------------------- ##
2268 ## Main body of script. ##
2269 ## -------------------- ##
2272 ac_cpp='$CPP $CPPFLAGS'
2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2278 ac_config_headers="$ac_config_headers config.h"
2280 am__api_version='1.11'
2283 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2284 if test -f "$ac_dir/install-sh"; then
2286 ac_install_sh="$ac_aux_dir/install-sh -c"
2288 elif test -f "$ac_dir/install.sh"; then
2290 ac_install_sh="$ac_aux_dir/install.sh -c"
2292 elif test -f "$ac_dir/shtool"; then
2294 ac_install_sh="$ac_aux_dir/shtool install -c"
2298 if test -z "$ac_aux_dir"; then
2299 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2302 # These three variables are undocumented and unsupported,
2303 # and are intended to be withdrawn in a future Autoconf release.
2304 # They can cause serious problems if a builder's source tree is in a directory
2305 # whose full name contains unusual characters.
2306 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2307 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2308 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2311 # Find a good install program. We prefer a C program (faster),
2312 # so one script is as good as another. But avoid the broken or
2313 # incompatible versions:
2314 # SysV /etc/install, /usr/sbin/install
2315 # SunOS /usr/etc/install
2316 # IRIX /sbin/install
2318 # AmigaOS /C/install, which installs bootblocks on floppy discs
2319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2322 # OS/2's system install, which has a completely different semantic
2323 # ./install, which can be erroneously created by make from ./install.sh.
2324 # Reject install programs that cannot install multiple files.
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2326 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2327 if test -z "$INSTALL"; then
2328 if ${ac_cv_path_install+:} false; then :
2329 $as_echo_n "(cached) " >&6
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 # Account for people who put trailing slashes in PATH elements.
2337 case $as_dir/ in #((
2338 ./ | .// | /[cC]/* | \
2339 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2340 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2343 # OSF1 and SCO ODT 3.0 have their own names for install.
2344 # Don't use installbsd from OSF since it installs stuff as root
2346 for ac_prog in ginstall scoinst install; do
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2349 if test $ac_prog = install &&
2350 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2351 # AIX install. It has an incompatible calling convention.
2353 elif test $ac_prog = install &&
2354 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2355 # program-specific install script used by HP pwplus--don't use.
2358 rm -rf conftest.one conftest.two conftest.dir
2359 echo one > conftest.one
2360 echo two > conftest.two
2362 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2363 test -s conftest.one && test -s conftest.two &&
2364 test -s conftest.dir/conftest.one &&
2365 test -s conftest.dir/conftest.two
2367 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2380 rm -rf conftest.one conftest.two conftest.dir
2383 if test "${ac_cv_path_install+set}" = set; then
2384 INSTALL=$ac_cv_path_install
2386 # As a last resort, use the slow shell script. Don't cache a
2387 # value for INSTALL within a source directory, because that will
2388 # break other packages using the cache if that directory is
2389 # removed, or if the value is a relative name.
2390 INSTALL=$ac_install_sh
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2394 $as_echo "$INSTALL" >&6; }
2396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2397 # It thinks the first close brace ends the variable substitution.
2398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2402 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2405 $as_echo_n "checking whether build environment is sane... " >&6; }
2408 echo timestamp > conftest.file
2409 # Reject unsafe characters in $srcdir or the absolute working directory
2410 # name. Accept space and tab only in the latter.
2414 *[\\\"\#\$\&\'\`$am_lf]*)
2415 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2418 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2419 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2422 # Do `set' in a subshell so we don't clobber the current shell's
2423 # arguments. Must try -L first in case configure is actually a
2424 # symlink; some systems play weird games with the mod time of symlinks
2425 # (eg FreeBSD returns the mod time of the symlink's containing
2428 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2429 if test "$*" = "X"; then
2431 set X
`ls -t "$srcdir/configure" conftest.file`
2434 if test "$*" != "X $srcdir/configure conftest.file" \
2435 && test "$*" != "X conftest.file $srcdir/configure"; then
2437 # If neither matched, then we have a broken ls. This can happen
2438 # if, for instance, CONFIG_SHELL is bash and it inherits a
2439 # broken ls alias from the environment. This has actually
2440 # happened. Such a system could not be considered "sane".
2441 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2442 alias in your environment" "$LINENO" 5
2445 test "$2" = conftest.
file
2451 as_fn_error $?
"newly created file is older than distributed files!
2452 Check your system clock" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2455 $as_echo "yes" >&6; }
2456 test "$program_prefix" != NONE
&&
2457 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2458 # Use a double $ so make ignores it.
2459 test "$program_suffix" != NONE
&&
2460 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2461 # Double any \ or $.
2462 # By default was `s,x,x', remove it if useless.
2463 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2464 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2466 # expand $ac_aux_dir to an absolute path
2467 am_aux_dir
=`cd $ac_aux_dir && pwd`
2469 if test x
"${MISSING+set}" != xset
; then
2472 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2474 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2477 # Use eval to expand $SHELL
2478 if eval "$MISSING --run true"; then
2479 am_missing_run
="$MISSING --run "
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2483 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2486 if test x
"${install_sh}" != xset
; then
2489 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2491 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2495 # Installed binaries are usually stripped using `strip' when the user
2496 # run `make install-strip'. However `strip' might not be the right
2497 # tool to use in cross-compilation environments, therefore Automake
2498 # will honor the `STRIP' environment variable to overrule this program.
2499 if test "$cross_compiling" != no
; then
2500 if test -n "$ac_tool_prefix"; then
2501 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2502 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if ${ac_cv_prog_STRIP+:} false
; then :
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$STRIP"; then
2509 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 for ac_exec_ext
in '' $ac_executable_extensions; do
2517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 STRIP
=$ac_cv_prog_STRIP
2529 if test -n "$STRIP"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2531 $as_echo "$STRIP" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2539 if test -z "$ac_cv_prog_STRIP"; then
2541 # Extract the first word of "strip", so it can be a program name with args.
2542 set dummy strip
; ac_word
=$2
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2546 $as_echo_n "(cached) " >&6
2548 if test -n "$ac_ct_STRIP"; then
2549 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir
=.
2556 for ac_exec_ext
in '' $ac_executable_extensions; do
2557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_ac_ct_STRIP
="strip"
2559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2569 if test -n "$ac_ct_STRIP"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2571 $as_echo "$ac_ct_STRIP" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574 $as_echo "no" >&6; }
2577 if test "x$ac_ct_STRIP" = x
; then
2580 case $cross_compiling:$ac_tool_warned in
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2584 ac_tool_warned
=yes ;;
2589 STRIP
="$ac_cv_prog_STRIP"
2593 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2596 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2597 if test -z "$MKDIR_P"; then
2598 if ${ac_cv_path_mkdir+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2602 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2605 test -z "$as_dir" && as_dir
=.
2606 for ac_prog
in mkdir gmkdir
; do
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2609 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2610 'mkdir (GNU coreutils) '* | \
2611 'mkdir (coreutils) '* | \
2612 'mkdir (fileutils) '4.1*)
2613 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2623 test -d .
/--version && rmdir .
/--version
2624 if test "${ac_cv_path_mkdir+set}" = set; then
2625 MKDIR_P
="$ac_cv_path_mkdir -p"
2627 # As a last resort, use the slow shell script. Don't cache a
2628 # value for MKDIR_P within a source directory, because that will
2629 # break other packages using the cache if that directory is
2630 # removed, or if the value is a relative name.
2631 MKDIR_P
="$ac_install_sh -d"
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2635 $as_echo "$MKDIR_P" >&6; }
2639 [\\/$
]* | ?
:[\\/]*) ;;
2640 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2643 for ac_prog
in gawk mawk nawk
awk
2645 # Extract the first word of "$ac_prog", so it can be a program name with args.
2646 set dummy
$ac_prog; ac_word
=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if ${ac_cv_prog_AWK+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$AWK"; then
2653 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_exec_ext
in '' $ac_executable_extensions; do
2661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2662 ac_cv_prog_AWK
="$ac_prog"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$AWK"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2675 $as_echo "$AWK" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2682 test -n "$AWK" && break
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2688 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2689 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2692 cat >conftest.
make <<\_ACEOF
2695 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2700 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2702 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2706 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708 $as_echo "yes" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2713 SET_MAKE
="MAKE=${MAKE-make}"
2716 rm -rf .tst
2>/dev
/null
2717 mkdir .tst
2>/dev
/null
2718 if test -d .tst
; then
2723 rmdir .tst
2>/dev
/null
2725 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2726 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2727 # is not polluted with repeated "-I."
2728 am__isrc
=' -I$(srcdir)'
2729 # test to see if srcdir already configured
2730 if test -f $srcdir/config.status
; then
2731 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2735 # test whether we have cygpath
2736 if test -z "$CYGPATH_W"; then
2737 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2738 CYGPATH_W
='cygpath -w'
2745 # Define the identity of the package.
2750 cat >>confdefs.h
<<_ACEOF
2751 #define PACKAGE "$PACKAGE"
2755 cat >>confdefs.h
<<_ACEOF
2756 #define VERSION "$VERSION"
2759 # Some tools Automake needs.
2761 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2764 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2767 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2770 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2773 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2775 # We need awk for the "check" target. The system "awk" is bad on
2777 # Always define AMTAR for backward compatibility. Yes, it's still used
2778 # in the wild :-( We should find a proper way to deprecate it ...
2781 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2787 # Make sure we can run config.sub.
2788 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2789 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2792 $as_echo_n "checking build system type... " >&6; }
2793 if ${ac_cv_build+:} false
; then :
2794 $as_echo_n "(cached) " >&6
2796 ac_build_alias
=$build_alias
2797 test "x$ac_build_alias" = x
&&
2798 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2799 test "x$ac_build_alias" = x
&&
2800 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2801 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2802 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2806 $as_echo "$ac_cv_build" >&6; }
2807 case $ac_cv_build in
2809 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2812 ac_save_IFS
=$IFS; IFS
='-'
2818 # Remember, the first character of IFS is used to create $*,
2819 # except with old shells:
2822 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2826 $as_echo_n "checking host system type... " >&6; }
2827 if ${ac_cv_host+:} false
; then :
2828 $as_echo_n "(cached) " >&6
2830 if test "x$host_alias" = x
; then
2831 ac_cv_host
=$ac_cv_build
2833 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2834 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2839 $as_echo "$ac_cv_host" >&6; }
2842 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2845 ac_save_IFS
=$IFS; IFS
='-'
2851 # Remember, the first character of IFS is used to create $*,
2852 # except with old shells:
2855 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2859 # Work around stupid autoconf default cflags. pt 1
2860 SAVE_CFLAGS
="x${CFLAGS}"
2863 ac_cpp
='$CPP $CPPFLAGS'
2864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2869 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if ${ac_cv_prog_CC+:} false
; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC
="$CC" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2885 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2906 if test -z "$ac_cv_prog_CC"; then
2908 # Extract the first word of "gcc", so it can be a program name with args.
2909 set dummy gcc
; ac_word
=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$ac_ct_CC"; then
2916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_ac_ct_CC
="gcc"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2936 if test -n "$ac_ct_CC"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2938 $as_echo "$ac_ct_CC" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2944 if test "x$ac_ct_CC" = x
; then
2947 case $cross_compiling:$ac_tool_warned in
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2951 ac_tool_warned
=yes ;;
2959 if test -z "$CC"; then
2960 if test -n "$ac_tool_prefix"; then
2961 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2962 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_prog_CC+:} false
; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$CC"; then
2969 ac_cv_prog_CC
="$CC" # Let the user override the test.
2971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir
=.
2976 for ac_exec_ext
in '' $ac_executable_extensions; do
2977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2978 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 if test -n "$CC"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2991 $as_echo "$CC" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
3000 if test -z "$CC"; then
3001 # Extract the first word of "cc", so it can be a program name with args.
3002 set dummy cc
; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_CC+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC
="$CC" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3019 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3020 ac_prog_rejected
=yes
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test $ac_prog_rejected = yes; then
3032 # We found a bogon in the path, so make sure we never use it.
3033 set dummy
$ac_cv_prog_CC
3035 if test $# != 0; then
3036 # We chose a different compiler from the bogus one.
3037 # However, it has the same basename, so the bogon will be chosen
3038 # first if we set CC to just the basename; use the full file name.
3040 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3046 if test -n "$CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3048 $as_echo "$CC" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 for ac_prog
in cl.exe
3060 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3061 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_CC+:} false
; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$CC"; then
3068 ac_cv_prog_CC
="$CC" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3097 test -n "$CC" && break
3100 if test -z "$CC"; then
3102 for ac_prog
in cl.exe
3104 # Extract the first word of "$ac_prog", so it can be a program name with args.
3105 set dummy
$ac_prog; ac_word
=$2
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 $as_echo_n "checking for $ac_word... " >&6; }
3108 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3109 $as_echo_n "(cached) " >&6
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_ac_ct_CC
="$ac_prog"
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3132 if test -n "$ac_ct_CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3134 $as_echo "$ac_ct_CC" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3141 test -n "$ac_ct_CC" && break
3144 if test "x$ac_ct_CC" = x
; then
3147 case $cross_compiling:$ac_tool_warned in
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3151 ac_tool_warned
=yes ;;
3160 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error $?
"no acceptable C compiler found in \$PATH
3163 See \`config.log' for more details" "$LINENO" 5; }
3165 # Provide some information about the compiler.
3166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3169 for ac_option
in --version -v -V -qversion; do
3170 { { ac_try
="$ac_compiler $ac_option >&5"
3172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3179 if test -s conftest.err; then
3181 ... rest of stderr output deleted ...
3182 10q' conftest.err >conftest.er1
3183 cat conftest.er1 >&5
3185 rm -f conftest.er1 conftest.err
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; }
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3201 ac_clean_files_save=$ac_clean_files
3202 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3203 # Try to create an executable without -o first, disregard a.out.
3204 # It will help us diagnose broken compilers, and finding out an intuition
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3207 $as_echo_n "checking whether the C compiler works... " >&6; }
3208 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3210 # The possible output files:
3211 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3214 for ac_file in $ac_files
3217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3218 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3223 if { { ac_try="$ac_link_default"
3225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3226 *) ac_try_echo
=$ac_try;;
3228 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_link_default") 2>&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; then :
3234 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3235 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3236 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3237 # so that the user can short-circuit this test for compilers unknown to
3239 for ac_file
in $ac_files ''
3241 test -f "$ac_file" ||
continue
3243 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3246 # We found the default executable, but exeext='' is most
3250 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3252 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3254 # We set ac_cv_exeext here because the later test for it is not
3255 # safe: cross compilers may not add the suffix if given an `-o'
3256 # argument, so we may need to know it at that point already.
3257 # Even if this section looks crufty: it has the advantage of
3264 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3269 if test -z "$ac_file"; then :
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3272 $as_echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277 as_fn_error
77 "C compiler cannot create executables
3278 See \`config.log' for more details" "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281 $as_echo "yes" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3284 $as_echo_n "checking for C compiler default output file name... " >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3286 $as_echo "$ac_file" >&6; }
3287 ac_exeext
=$ac_cv_exeext
3289 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3290 ac_clean_files
=$ac_clean_files_save
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3292 $as_echo_n "checking for suffix of executables... " >&6; }
3293 if { { ac_try
="$ac_link"
3295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300 (eval "$ac_link") 2>&5
3302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303 test $ac_status = 0; }; then :
3304 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3305 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3306 # work properly (i.e., refer to `conftest.exe'), while it won't with
3308 for ac_file
in conftest.exe conftest conftest.
*; do
3309 test -f "$ac_file" ||
continue
3311 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3312 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3321 See \`config.log' for more details" "$LINENO" 5; }
3323 rm -f conftest conftest
$ac_cv_exeext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3325 $as_echo "$ac_cv_exeext" >&6; }
3327 rm -f conftest.
$ac_ext
3328 EXEEXT
=$ac_cv_exeext
3330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3336 FILE *f = fopen ("conftest.out", "w");
3337 return ferror (f) || fclose (f) != 0;
3343 ac_clean_files
="$ac_clean_files conftest.out"
3344 # Check that the compiler produces executables we can run. If not, either
3345 # the compiler is broken, or we cross compile.
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3347 $as_echo_n "checking whether we are cross compiling... " >&6; }
3348 if test "$cross_compiling" != yes; then
3349 { { ac_try
="$ac_link"
3351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355 $as_echo "$ac_try_echo"; } >&5
3356 (eval "$ac_link") 2>&5
3358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359 test $ac_status = 0; }
3360 if { ac_try='./conftest$ac_cv_exeext'
3361 { { case "(($ac_try" in
3362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3363 *) ac_try_echo
=$ac_try;;
3365 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366 $as_echo "$ac_try_echo"; } >&5
3367 (eval "$ac_try") 2>&5
3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370 test $ac_status = 0; }; }; then
3373 if test "$cross_compiling" = maybe
; then
3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error $?
"cannot run C compiled programs.
3379 If you meant to cross compile, use \`--host'.
3380 See \`config.log' for more details" "$LINENO" 5; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3385 $as_echo "$cross_compiling" >&6; }
3387 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3388 ac_clean_files
=$ac_clean_files_save
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3390 $as_echo_n "checking for suffix of object files... " >&6; }
3391 if ${ac_cv_objext+:} false
; then :
3392 $as_echo_n "(cached) " >&6
3394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 rm -f conftest.o conftest.obj
3406 if { { ac_try
="$ac_compile"
3408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3412 $as_echo "$ac_try_echo"; } >&5
3413 (eval "$ac_compile") 2>&5
3415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3416 test $ac_status = 0; }; then :
3417 for ac_file in conftest.o conftest.obj conftest.*; do
3418 test -f "$ac_file" || continue;
3420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3421 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3432 See \
`config.log' for more details" "$LINENO" 5; }
3434 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3437 $as_echo "$ac_cv_objext" >&6; }
3438 OBJEXT=$ac_cv_objext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3441 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3442 if ${ac_cv_c_compiler_gnu+:} false; then :
3443 $as_echo_n "(cached) " >&6
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3459 if ac_fn_c_try_compile "$LINENO"; then :
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3469 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3470 if test $ac_compiler_gnu = yes; then
3475 ac_test_CFLAGS=${CFLAGS+set}
3476 ac_save_CFLAGS=$CFLAGS
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3478 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3479 if ${ac_cv_prog_cc_g+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 ac_save_c_werror_flag=$ac_c_werror_flag
3483 ac_c_werror_flag=yes
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3497 if ac_fn_c_try_compile "$LINENO"; then :
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3512 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_c_werror_flag=$ac_save_c_werror_flag
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_c_werror_flag=$ac_save_c_werror_flag
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3539 $as_echo "$ac_cv_prog_cc_g" >&6; }
3540 if test "$ac_test_CFLAGS" = set; then
3541 CFLAGS=$ac_save_CFLAGS
3542 elif test $ac_cv_prog_cc_g = yes; then
3543 if test "$GCC" = yes; then
3549 if test "$GCC" = yes; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3556 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3557 if ${ac_cv_prog_cc_c89+:} false; then :
3558 $as_echo_n "(cached) " >&6
3560 ac_cv_prog_cc_c89=no
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3568 struct buf { int x; };
3569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3570 static char *e (p, i)
3576 static char *f (char * (*g) (char **, int), char **p, ...)
3581 s = g (p, va_arg (v,int));
3586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3587 function prototypes and stuff, but not '\xHH' hex character constants.
3588 These don't provoke an error unfortunately, instead are silently treated
3589 as 'x'. The following induces an error, until -std is added to get
3590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3591 array size at least. It's necessary to write '\x00'==0 to get something
3592 that's true only with -std. */
3593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3596 inside strings and character constants. */
3598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3600 int test (int i, double x);
3601 struct s1 {int (*f) (int a);};
3602 struct s2 {int (*f) (double a);};
3603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3617 CC="$ac_save_CC $ac_arg"
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 ac_cv_prog_cc_c89=$ac_arg
3621 rm -f core conftest.err conftest.$ac_objext
3622 test "x$ac_cv_prog_cc_c89" != "xno" && break
3624 rm -f conftest.$ac_ext
3629 case "x$ac_cv_prog_cc_c89" in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3632 $as_echo "none needed" >&6; } ;;
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3635 $as_echo "unsupported" >&6; } ;;
3637 CC="$CC $ac_cv_prog_cc_c89"
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3639 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3641 if test "x$ac_cv_prog_cc_c89" != xno; then :
3646 ac_cpp='$CPP $CPPFLAGS'
3647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650 DEPDIR="${am__leading_dot}deps"
3652 ac_config_commands="$ac_config_commands depfiles"
3655 am_make=${MAKE-make}
3656 cat > confinc << 'END'
3658 @echo this is the am__doit target
3661 # If we don't find an include directive, just comment out the code.
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3663 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3667 # First try GNU make style include.
3668 echo "include confinc" > confmf
3669 # Ignore all kinds of additional output from `make'.
3670 case `$am_make -s -f confmf 2> /dev/null` in #(
3671 *the\ am__doit\ target*)
3677 # Now try BSD make style include.
3678 if test "$am__include" = "#"; then
3679 echo '.include
"confinc"' > confmf
3680 case `$am_make -s -f confmf 2> /dev/null` in #(
3681 *the\ am__doit\ target*)
3682 am__include=.include
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3691 $as_echo "$_am_result" >&6; }
3692 rm -f confinc confmf
3694 # Check whether --enable-dependency-tracking was given.
3695 if test "${enable_dependency_tracking+set}" = set; then :
3696 enableval=$enable_dependency_tracking;
3699 if test "x$enable_dependency_tracking" != xno; then
3700 am_depcomp="$ac_aux_dir/depcomp"
3704 if test "x$enable_dependency_tracking" != xno
; then
3714 depcc
="$CC" am_compiler_list
=
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3717 $as_echo_n "checking dependency style of $depcc... " >&6; }
3718 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3719 $as_echo_n "(cached) " >&6
3721 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3722 # We make a subdir and do the tests there. Otherwise we can end up
3723 # making bogus files that we don't know about and never remove. For
3724 # instance it was reported that on HP-UX the gcc test will end up
3725 # making a dummy file named `D' -- because `-MD' means `put the output
3729 # Copy depcomp to subdir because otherwise we won't find it if we're
3730 # using a relative directory.
3731 cp "$am_depcomp" conftest.dir
3733 # We will build objects and dependencies in a subdirectory because
3734 # it helps to detect inapplicable dependency modes. For instance
3735 # both Tru64's cc and ICC support -MD to output dependencies as a
3736 # side effect of compilation, but ICC will put the dependencies in
3737 # the current directory while Tru64 will put them in the object
3741 am_cv_CC_dependencies_compiler_type
=none
3742 if test "$am_compiler_list" = ""; then
3743 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3746 case " $depcc " in #(
3747 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3750 for depmode
in $am_compiler_list; do
3751 # Setup a source with many dependencies, because some compilers
3752 # like to wrap large dependency lists on column 80 (with \), and
3753 # we should not choose a depcomp mode which is confused by this.
3755 # We need to recreate these files for each test, as the compiler may
3756 # overwrite some of them when testing with obscure command lines.
3757 # This happens at least with the AIX C compiler.
3759 for i
in 1 2 3 4 5 6; do
3760 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3761 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3762 # Solaris 8's {/usr,}/bin/sh.
3763 touch sub
/conftst
$i.h
3765 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3767 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3768 # mode. It turns out that the SunPro C++ compiler does not properly
3769 # handle `-M -o', and we need to detect this. Also, some Intel
3770 # versions had trouble with output in subdirs
3771 am__obj
=sub
/conftest.
${OBJEXT-o}
3772 am__minus_obj
="-o $am__obj"
3775 # This depmode causes a compiler race in universal mode.
3776 test "$am__universal" = false ||
continue
3779 # after this tag, mechanisms are not by side-effect, so they'll
3780 # only be used when explicitly requested
3781 if test "x$enable_dependency_tracking" = xyes
; then
3787 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3788 # This compiler won't grok `-c -o', but also, the minuso test has
3789 # not run yet. These depmodes are late enough in the game, and
3790 # so weak that their functioning should not be impacted.
3791 am__obj
=conftest.
${OBJEXT-o}
3796 if depmode
=$depmode \
3797 source=sub
/conftest.c object
=$am__obj \
3798 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3799 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3800 >/dev
/null
2>conftest.err
&&
3801 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3802 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3803 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3804 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3805 # icc doesn't choke on unknown options, it will just issue warnings
3806 # or remarks (even with -Werror). So we grep stderr for any message
3807 # that says an option was ignored or not supported.
3808 # When given -MP, icc 7.0 and 7.1 complain thusly:
3809 # icc: Command line warning: ignoring option '-M'; no argument required
3810 # The diagnosis changed in icc 8.0:
3811 # icc: Command line remark: option '-MP' not supported
3812 if (grep 'ignoring option' conftest.err ||
3813 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3814 am_cv_CC_dependencies_compiler_type
=$depmode
3823 am_cv_CC_dependencies_compiler_type
=none
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3828 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3829 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3832 test "x$enable_dependency_tracking" != xno \
3833 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3835 am__fastdepCC_FALSE
='#'
3837 am__fastdepCC_TRUE
='#'
3838 am__fastdepCC_FALSE
=
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3845 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3850 macro_version
='2.4.2'
3851 macro_revision
='1.3337'
3865 ltmain
="$ac_aux_dir/ltmain.sh"
3867 # Backslashify metacharacters that are still active within
3868 # double-quoted strings.
3869 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3871 # Same as above, but do not quote variable references.
3872 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3874 # Sed substitution to delay expansion of an escaped shell variable in a
3875 # double_quote_subst'ed string.
3876 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3878 # Sed substitution to delay expansion of an escaped single quote.
3879 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3881 # Sed substitution to avoid accidental globbing in evaled expressions
3882 no_glob_subst
='s/\*/\\\*/g'
3884 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3885 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3886 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3889 $as_echo_n "checking how to print strings... " >&6; }
3890 # Test print first, because it will be a builtin if present.
3891 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3892 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3894 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3897 # Use this function as a fallback that always works.
3898 func_fallback_echo ()
3900 eval 'cat <<_LTECHO_EOF
3904 ECHO='func_fallback_echo
'
3907 # func_echo_all arg...
3908 # Invoke $ECHO with all args, space-separated.
3915 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3916 $as_echo "printf" >&6; } ;;
3917 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3918 $as_echo "print -r" >&6; } ;;
3919 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3920 $as_echo "cat" >&6; } ;;
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3937 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3938 if ${ac_cv_path_SED+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3942 for ac_i in 1 2 3 4 5 6 7; do
3943 ac_script="$ac_script$as_nl$ac_script"
3945 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3946 { ac_script=; unset ac_script;}
3947 if test -z "$SED"; then
3948 ac_path_SED_found=false
3949 # Loop through the user's path and
test for each of PROGNAME-LIST
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_prog
in sed gsed
; do
3956 for ac_exec_ext
in '' $ac_executable_extensions; do
3957 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3958 as_fn_executable_p
"$ac_path_SED" ||
continue
3959 # Check for GNU ac_path_SED and select it if it is found.
3960 # Check for GNU $ac_path_SED
3961 case `"$ac_path_SED" --version 2>&1` in
3963 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3966 $as_echo_n 0123456789 >"conftest.in"
3969 cat "conftest.in" "conftest.in" >"conftest.tmp"
3970 mv "conftest.tmp" "conftest.in"
3971 cp "conftest.in" "conftest.nl"
3972 $as_echo '' >> "conftest.nl"
3973 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3974 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3975 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3976 if test $ac_count -gt ${ac_path_SED_max-0}; then
3977 # Best one so far, save it but keep looking for a better one
3978 ac_cv_path_SED
="$ac_path_SED"
3979 ac_path_SED_max
=$ac_count
3981 # 10*(2^10) chars as input seems more than enough
3982 test $ac_count -gt 10 && break
3984 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3987 $ac_path_SED_found && break 3
3992 if test -z "$ac_cv_path_SED"; then
3993 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4001 $as_echo "$ac_cv_path_SED" >&6; }
4002 SED
="$ac_cv_path_SED"
4005 test -z "$SED" && SED
=sed
4006 Xsed
="$SED -e 1s/^X//"
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4019 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4020 if ${ac_cv_path_GREP+:} false
; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -z "$GREP"; then
4024 ac_path_GREP_found
=false
4025 # Loop through the user's path and test for each of PROGNAME-LIST
4026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4027 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4030 test -z "$as_dir" && as_dir
=.
4031 for ac_prog
in grep ggrep
; do
4032 for ac_exec_ext
in '' $ac_executable_extensions; do
4033 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4034 as_fn_executable_p
"$ac_path_GREP" ||
continue
4035 # Check for GNU ac_path_GREP and select it if it is found.
4036 # Check for GNU $ac_path_GREP
4037 case `"$ac_path_GREP" --version 2>&1` in
4039 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4042 $as_echo_n 0123456789 >"conftest.in"
4045 cat "conftest.in" "conftest.in" >"conftest.tmp"
4046 mv "conftest.tmp" "conftest.in"
4047 cp "conftest.in" "conftest.nl"
4048 $as_echo 'GREP' >> "conftest.nl"
4049 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4050 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4051 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4052 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4053 # Best one so far, save it but keep looking for a better one
4054 ac_cv_path_GREP
="$ac_path_GREP"
4055 ac_path_GREP_max
=$ac_count
4057 # 10*(2^10) chars as input seems more than enough
4058 test $ac_count -gt 10 && break
4060 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4063 $ac_path_GREP_found && break 3
4068 if test -z "$ac_cv_path_GREP"; then
4069 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4072 ac_cv_path_GREP
=$GREP
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4077 $as_echo "$ac_cv_path_GREP" >&6; }
4078 GREP
="$ac_cv_path_GREP"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4082 $as_echo_n "checking for egrep... " >&6; }
4083 if ${ac_cv_path_EGREP+:} false
; then :
4084 $as_echo_n "(cached) " >&6
4086 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4087 then ac_cv_path_EGREP
="$GREP -E"
4089 if test -z "$EGREP"; then
4090 ac_path_EGREP_found
=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_prog
in egrep; do
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4100 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4101 # Check for GNU ac_path_EGREP and select it if it is found.
4102 # Check for GNU $ac_path_EGREP
4103 case `"$ac_path_EGREP" --version 2>&1` in
4105 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4108 $as_echo_n 0123456789 >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 $as_echo 'EGREP' >> "conftest.nl"
4115 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4116 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4117 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4118 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_EGREP
="$ac_path_EGREP"
4121 ac_path_EGREP_max
=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4129 $ac_path_EGREP_found && break 3
4134 if test -z "$ac_cv_path_EGREP"; then
4135 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4138 ac_cv_path_EGREP
=$EGREP
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4144 $as_echo "$ac_cv_path_EGREP" >&6; }
4145 EGREP
="$ac_cv_path_EGREP"
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4149 $as_echo_n "checking for fgrep... " >&6; }
4150 if ${ac_cv_path_FGREP+:} false
; then :
4151 $as_echo_n "(cached) " >&6
4153 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4154 then ac_cv_path_FGREP
="$GREP -F"
4156 if test -z "$FGREP"; then
4157 ac_path_FGREP_found
=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4160 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4163 test -z "$as_dir" && as_dir
=.
4164 for ac_prog
in fgrep
; do
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4167 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4168 # Check for GNU ac_path_FGREP and select it if it is found.
4169 # Check for GNU $ac_path_FGREP
4170 case `"$ac_path_FGREP" --version 2>&1` in
4172 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'FGREP' >> "conftest.nl"
4182 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4183 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4184 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4185 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_FGREP
="$ac_path_FGREP"
4188 ac_path_FGREP_max
=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4196 $ac_path_FGREP_found && break 3
4201 if test -z "$ac_cv_path_FGREP"; then
4202 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_FGREP
=$FGREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4211 $as_echo "$ac_cv_path_FGREP" >&6; }
4212 FGREP
="$ac_cv_path_FGREP"
4215 test -z "$GREP" && GREP
=grep
4235 # Check whether --with-gnu-ld was given.
4236 if test "${with_gnu_ld+set}" = set; then :
4237 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4243 if test "$GCC" = yes; then
4244 # Check if gcc -print-prog-name=ld gives a path.
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4246 $as_echo_n "checking for ld used by $CC... " >&6; }
4249 # gcc leaves a trailing carriage return which upsets mingw
4250 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4252 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4255 # Accept absolute paths.
4257 re_direlt
='/[^/][^/]*/\.\./'
4258 # Canonicalize the pathname of ld
4259 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4260 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4261 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4263 test -z "$LD" && LD
="$ac_prog"
4266 # If it fails, then pretend we aren't using GCC.
4270 # If it is relative, then search for the first ld in PATH.
4274 elif test "$with_gnu_ld" = yes; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4276 $as_echo_n "checking for GNU ld... " >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4279 $as_echo_n "checking for non-GNU ld... " >&6; }
4281 if ${lt_cv_path_LD+:} false
; then :
4282 $as_echo_n "(cached) " >&6
4284 if test -z "$LD"; then
4285 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4286 for ac_dir
in $PATH; do
4288 test -z "$ac_dir" && ac_dir
=.
4289 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4290 lt_cv_path_LD
="$ac_dir/$ac_prog"
4291 # Check to see if the program is GNU ld. I'd rather use --version,
4292 # but apparently some variants of GNU ld only accept -v.
4293 # Break only if it was the GNU/non-GNU ld that we prefer.
4294 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4295 *GNU
* |
*'with BFD'*)
4296 test "$with_gnu_ld" != no
&& break
4299 test "$with_gnu_ld" != yes && break
4306 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4311 if test -n "$LD"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4313 $as_echo "$LD" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4318 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4320 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4321 if ${lt_cv_prog_gnu_ld+:} false
; then :
4322 $as_echo_n "(cached) " >&6
4324 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4325 case `$LD -v 2>&1 </dev/null` in
4326 *GNU
* |
*'with BFD'*)
4327 lt_cv_prog_gnu_ld
=yes
4330 lt_cv_prog_gnu_ld
=no
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4335 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4336 with_gnu_ld
=$lt_cv_prog_gnu_ld
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4347 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4348 if ${lt_cv_path_NM+:} false
; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$NM"; then
4352 # Let the user override the test.
4355 lt_nm_to_check
="${ac_tool_prefix}nm"
4356 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4357 lt_nm_to_check
="$lt_nm_to_check nm"
4359 for lt_tmp_nm
in $lt_nm_to_check; do
4360 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4361 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4363 test -z "$ac_dir" && ac_dir
=.
4364 tmp_nm
="$ac_dir/$lt_tmp_nm"
4365 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4366 # Check to see if the nm accepts a BSD-compat flag.
4367 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4368 # nm: unknown option "B" ignored
4369 # Tru64's nm complains that /dev/null is an invalid object file
4370 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4371 */dev
/null
* |
*'Invalid file or object type'*)
4372 lt_cv_path_NM
="$tmp_nm -B"
4376 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4378 lt_cv_path_NM
="$tmp_nm -p"
4382 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4383 continue # so that we can try to find one that supports BSD flags
4392 : ${lt_cv_path_NM=no}
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4396 $as_echo "$lt_cv_path_NM" >&6; }
4397 if test "$lt_cv_path_NM" != "no"; then
4400 # Didn't find any BSD compatible name lister, look for dumpbin.
4401 if test -n "$DUMPBIN"; then :
4402 # Let the user override the test.
4404 if test -n "$ac_tool_prefix"; then
4405 for ac_prog
in dumpbin
"link -dump"
4407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4408 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$DUMPBIN"; then
4415 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 DUMPBIN
=$ac_cv_prog_DUMPBIN
4435 if test -n "$DUMPBIN"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4437 $as_echo "$DUMPBIN" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$DUMPBIN" && break
4447 if test -z "$DUMPBIN"; then
4448 ac_ct_DUMPBIN
=$DUMPBIN
4449 for ac_prog
in dumpbin
"link -dump"
4451 # Extract the first word of "$ac_prog", so it can be a program name with args.
4452 set dummy
$ac_prog; ac_word
=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_DUMPBIN"; then
4459 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4479 if test -n "$ac_ct_DUMPBIN"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4481 $as_echo "$ac_ct_DUMPBIN" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$ac_ct_DUMPBIN" && break
4491 if test "x$ac_ct_DUMPBIN" = x
; then
4494 case $cross_compiling:$ac_tool_warned in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned
=yes ;;
4500 DUMPBIN
=$ac_ct_DUMPBIN
4504 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4506 DUMPBIN
="$DUMPBIN -symbols"
4514 if test "$DUMPBIN" != ":"; then
4518 test -z "$NM" && NM
=nm
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4526 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4527 if ${lt_cv_nm_interface+:} false
; then :
4528 $as_echo_n "(cached) " >&6
4530 lt_cv_nm_interface
="BSD nm"
4531 echo "int some_variable = 0;" > conftest.
$ac_ext
4532 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4533 (eval "$ac_compile" 2>conftest.err
)
4534 cat conftest.err
>&5
4535 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4536 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4537 cat conftest.err
>&5
4538 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4539 cat conftest.out
>&5
4540 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4541 lt_cv_nm_interface
="MS dumpbin"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4546 $as_echo "$lt_cv_nm_interface" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4549 $as_echo_n "checking whether ln -s works... " >&6; }
4551 if test "$LN_S" = "ln -s"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4556 $as_echo "no, using $LN_S" >&6; }
4559 # find the maximum length of command line arguments
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4561 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4562 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4563 $as_echo_n "(cached) " >&6
4570 # On DJGPP, this test can blow up pretty badly due to problems in libc
4571 # (any single argument exceeding 2000 bytes causes a buffer overrun
4572 # during glob expansion). Even if it were fixed, the result of this
4573 # check would be larger than it should be.
4574 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4578 # Under GNU Hurd, this test is not required because there is
4579 # no limit to the length of command line arguments.
4580 # Libtool will interpret -1 as no limit whatsoever
4581 lt_cv_sys_max_cmd_len
=-1;
4584 cygwin
* | mingw
* | cegcc
*)
4585 # On Win9x/ME, this test blows up -- it succeeds, but takes
4586 # about 5 minutes as the teststring grows exponentially.
4587 # Worse, since 9x/ME are not pre-emptively multitasking,
4588 # you end up with a "frozen" computer, even though with patience
4589 # the test eventually succeeds (with a max line length of 256k).
4590 # Instead, let's just punt: use the minimum linelength reported by
4591 # all of the supported platforms: 8192 (on NT/2K/XP).
4592 lt_cv_sys_max_cmd_len
=8192;
4596 # On MiNT this can take a long time and run out of memory.
4597 lt_cv_sys_max_cmd_len
=8192;
4601 # On AmigaOS with pdksh, this test takes hours, literally.
4602 # So we just punt and use a minimum line length of 8192.
4603 lt_cv_sys_max_cmd_len
=8192;
4606 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4607 # This has been around since 386BSD, at least. Likely further.
4608 if test -x /sbin
/sysctl
; then
4609 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4610 elif test -x /usr
/sbin
/sysctl
; then
4611 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4613 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4615 # And add a safety zone
4616 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4617 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4621 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4622 lt_cv_sys_max_cmd_len
=196608
4626 # The test takes a long time on OS/2.
4627 lt_cv_sys_max_cmd_len
=8192
4631 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4632 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4633 # nice to cause kernel panics so lets avoid the loop below.
4634 # First set a reasonable default.
4635 lt_cv_sys_max_cmd_len
=16384
4637 if test -x /sbin
/sysconfig
; then
4638 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4639 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4644 lt_cv_sys_max_cmd_len
=102400
4646 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4647 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4648 if test -n "$kargmax"; then
4649 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4651 lt_cv_sys_max_cmd_len
=32768
4655 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4656 if test -n "$lt_cv_sys_max_cmd_len"; then
4657 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4658 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4660 # Make teststring a little bigger before we do anything with it.
4661 # a 1K string should be a reasonable start.
4662 for i
in 1 2 3 4 5 6 7 8 ; do
4663 teststring
=$teststring$teststring
4665 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4666 # If test is not a shell built-in, we'll probably end up computing a
4667 # maximum length that is only half of the actual maximum length, but
4669 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4670 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4671 test $i != 17 # 1/2 MB should be enough
4674 teststring
=$teststring$teststring
4676 # Only check the string length outside the loop.
4677 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4679 # Add a significant safety factor because C++ compilers can tack on
4680 # massive amounts of additional arguments before passing them to the
4681 # linker. It appears as though 1/2 is a usable value.
4682 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4689 if test -n $lt_cv_sys_max_cmd_len ; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4691 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4694 $as_echo "none" >&6; }
4696 max_cmd_len
=$lt_cv_sys_max_cmd_len
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4708 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4709 # Try some XSI features
4712 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4714 && eval 'test $(( 1 + 1 )) -eq 2 \
4715 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4718 $as_echo "$xsi_shell" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4722 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4724 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4726 && lt_shell_append=yes
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4728 $as_echo "$lt_shell_append" >&6; }
4731 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4741 # test EBCDIC or ASCII
4742 case `echo X|tr X '\101'` in
4743 A) # ASCII based system
4744 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4745 lt_SP2NL='tr \040 \012'
4746 lt_NL2SP='tr \015\012 \040\040'
4748 *) # EBCDIC based system
4749 lt_SP2NL='tr \100 \n'
4750 lt_NL2SP='tr \r\n \100\100'
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4763 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4764 if ${lt_cv_to_host_file_cmd+:} false; then :
4765 $as_echo_n "(cached
) " >&6
4770 *-*-mingw* ) # actually msys
4771 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4774 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4776 * ) # otherwise, assume *nix
4777 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4783 *-*-mingw* ) # actually msys
4784 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4787 lt_cv_to_host_file_cmd=func_convert_file_noop
4789 * ) # otherwise, assume *nix
4790 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4794 * ) # unhandled hosts (and "normal
" native builds)
4795 lt_cv_to_host_file_cmd=func_convert_file_noop
4801 to_host_file_cmd=$lt_cv_to_host_file_cmd
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4803 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4810 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4811 if ${lt_cv_to_tool_file_cmd+:} false; then :
4812 $as_echo_n "(cached
) " >&6
4814 #assume ordinary cross tools, or native build.
4815 lt_cv_to_tool_file_cmd=func_convert_file_noop
4819 *-*-mingw* ) # actually msys
4820 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4828 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4830 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4837 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4838 if ${lt_cv_ld_reload_flag+:} false; then :
4839 $as_echo_n "(cached
) " >&6
4841 lt_cv_ld_reload_flag='-r'
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4844 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4845 reload_flag=$lt_cv_ld_reload_flag
4846 case $reload_flag in
4848 *) reload_flag=" $reload_flag" ;;
4850 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4852 cygwin* | mingw* | pw32* | cegcc*)
4853 if test "$GCC" != yes; then
4858 if test "$GCC" = yes; then
4859 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4861 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4876 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4878 $as_echo_n "checking
for $ac_word...
" >&6; }
4879 if ${ac_cv_prog_OBJDUMP+:} false; then :
4880 $as_echo_n "(cached
) " >&6
4882 if test -n "$OBJDUMP"; then
4883 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4902 OBJDUMP=$ac_cv_prog_OBJDUMP
4903 if test -n "$OBJDUMP"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4905 $as_echo "$OBJDUMP" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4908 $as_echo "no
" >&6; }
4913 if test -z "$ac_cv_prog_OBJDUMP"; then
4914 ac_ct_OBJDUMP=$OBJDUMP
4915 # Extract the first word of "objdump
", so it can be a program name with args.
4916 set dummy objdump; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4918 $as_echo_n "checking
for $ac_word...
" >&6; }
4919 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4920 $as_echo_n "(cached
) " >&6
4922 if test -n "$ac_ct_OBJDUMP"; then
4923 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4943 if test -n "$ac_ct_OBJDUMP"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4945 $as_echo "$ac_ct_OBJDUMP" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4948 $as_echo "no
" >&6; }
4951 if test "x
$ac_ct_OBJDUMP" = x; then
4954 case $cross_compiling:$ac_tool_warned in
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4957 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4958 ac_tool_warned=yes ;;
4960 OBJDUMP=$ac_ct_OBJDUMP
4963 OBJDUMP="$ac_cv_prog_OBJDUMP"
4966 test -z "$OBJDUMP" && OBJDUMP=objdump
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4977 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4978 if ${lt_cv_deplibs_check_method+:} false; then :
4979 $as_echo_n "(cached
) " >&6
4981 lt_cv_file_magic_cmd='$MAGIC_CMD'
4982 lt_cv_file_magic_test_file=
4983 lt_cv_deplibs_check_method='unknown'
4984 # Need to set the preceding variable on all platforms that support
4985 # interlibrary dependencies.
4986 # 'none' -- dependencies not supported.
4987 # `unknown' -- same as none, but documents that we really don't know.
4988 # 'pass_all' -- all dependencies passed with no checks.
4989 # 'test_compile' -- check by making test program.
4990 # 'file_magic [[regex]]' -- check by looking for files in library path
4991 # which responds to the $file_magic_cmd with a given extended regex.
4992 # If you have `file' or equivalent on your system and you're not sure
4993 # whether `pass_all' will *always* work, you probably want this one.
4997 lt_cv_deplibs_check_method=pass_all
5001 lt_cv_deplibs_check_method=pass_all
5005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5006 lt_cv_file_magic_cmd='/usr/bin/file -L'
5007 lt_cv_file_magic_test_file=/shlib/libc.so
5011 # func_win32_libid is a shell function defined in ltmain.sh
5012 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5013 lt_cv_file_magic_cmd='func_win32_libid'
5017 # Base MSYS/MinGW do not provide the 'file' command needed by
5018 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5019 # unless we find 'file', for example because we are cross-compiling.
5020 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5021 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5022 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5023 lt_cv_file_magic_cmd='func_win32_libid'
5025 # Keep this pattern in sync with the one in func_win32_libid.
5026 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5027 lt_cv_file_magic_cmd='$OBJDUMP -f'
5032 # use the weaker test based on 'objdump'. See mingw*.
5033 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5034 lt_cv_file_magic_cmd='$OBJDUMP -f'
5037 darwin* | rhapsody*)
5038 lt_cv_deplibs_check_method=pass_all
5041 freebsd* | dragonfly*)
5042 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5045 # Not sure whether the presence of OpenBSD here was a mistake.
5046 # Let's accept both of them until this is cleared up.
5047 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5048 lt_cv_file_magic_cmd=/usr/bin/file
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5053 lt_cv_deplibs_check_method=pass_all
5058 lt_cv_deplibs_check_method=pass_all
5062 lt_cv_deplibs_check_method=pass_all
5065 hpux10.20* | hpux11*)
5066 lt_cv_file_magic_cmd=/usr/bin/file
5069 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5070 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5073 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]'
5074 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5077 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5078 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5084 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5085 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5088 irix5* | irix6* | nonstopux*)
5090 *-32|*"-32 ") libmagic=32-bit;;
5091 *-n32|*"-n32 ") libmagic=N32;;
5092 *-64|*"-64 ") libmagic=64-bit;;
5093 *) libmagic=never-match;;
5095 lt_cv_deplibs_check_method=pass_all
5098 # This must be glibc/ELF.
5099 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5100 lt_cv_deplibs_check_method=pass_all
5103 netbsd* | netbsdelf*-gnu)
5104 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5105 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5107 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5112 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5113 lt_cv_file_magic_cmd=/usr/bin/file
5114 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5118 lt_cv_deplibs_check_method=pass_all
5122 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5123 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5125 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5129 osf3* | osf4* | osf5*)
5130 lt_cv_deplibs_check_method=pass_all
5134 lt_cv_deplibs_check_method=pass_all
5138 lt_cv_deplibs_check_method=pass_all
5141 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5142 lt_cv_deplibs_check_method=pass_all
5146 case $host_vendor in
5148 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]'
5149 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5152 lt_cv_deplibs_check_method=pass_all
5155 lt_cv_file_magic_cmd='/bin/file'
5156 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5159 lt_cv_file_magic_cmd='/bin/file'
5160 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5161 lt_cv_file_magic_test_file=/lib/libc.so
5164 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_deplibs_check_method=pass_all
5173 lt_cv_deplibs_check_method=pass_all
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5179 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5183 if test "$build" = "$host"; then
5186 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5189 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5195 file_magic_cmd=$lt_cv_file_magic_cmd
5196 deplibs_check_method=$lt_cv_deplibs_check_method
5197 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5224 $as_echo_n "checking
for $ac_word...
" >&6; }
5225 if ${ac_cv_prog_DLLTOOL+:} false; then :
5226 $as_echo_n "(cached
) " >&6
5228 if test -n "$DLLTOOL"; then
5229 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5248 DLLTOOL=$ac_cv_prog_DLLTOOL
5249 if test -n "$DLLTOOL"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5251 $as_echo "$DLLTOOL" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5254 $as_echo "no
" >&6; }
5259 if test -z "$ac_cv_prog_DLLTOOL"; then
5260 ac_ct_DLLTOOL=$DLLTOOL
5261 # Extract the first word of "dlltool
", so it can be a program name with args.
5262 set dummy dlltool; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5264 $as_echo_n "checking
for $ac_word...
" >&6; }
5265 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5266 $as_echo_n "(cached
) " >&6
5268 if test -n "$ac_ct_DLLTOOL"; then
5269 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5289 if test -n "$ac_ct_DLLTOOL"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5291 $as_echo "$ac_ct_DLLTOOL" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5294 $as_echo "no
" >&6; }
5297 if test "x
$ac_ct_DLLTOOL" = x; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5303 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5304 ac_tool_warned=yes ;;
5306 DLLTOOL=$ac_ct_DLLTOOL
5309 DLLTOOL="$ac_cv_prog_DLLTOOL"
5312 test -z "$DLLTOOL" && DLLTOOL=dlltool
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5324 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5325 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5326 $as_echo_n "(cached
) " >&6
5328 lt_cv_sharedlib_from_linklib_cmd='unknown'
5331 cygwin* | mingw* | pw32* | cegcc*)
5332 # two different shell functions defined in ltmain.sh
5333 # decide which to use based on capabilities of $DLLTOOL
5334 case `$DLLTOOL --help 2>&1` in
5335 *--identify-strict*)
5336 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5339 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5344 # fallback: assume linklib IS sharedlib
5345 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5351 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5352 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5353 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5362 if test -n "$ac_tool_prefix"; then
5365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5368 $as_echo_n "checking
for $ac_word...
" >&6; }
5369 if ${ac_cv_prog_AR+:} false; then :
5370 $as_echo_n "(cached
) " >&6
5372 if test -n "$AR"; then
5373 ac_cv_prog_AR="$AR" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5393 if test -n "$AR"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5395 $as_echo "$AR" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5398 $as_echo "no
" >&6; }
5402 test -n "$AR" && break
5405 if test -z "$AR"; then
5409 # Extract the first word of "$ac_prog", so it can be a program name with args.
5410 set dummy $ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5412 $as_echo_n "checking
for $ac_word...
" >&6; }
5413 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5414 $as_echo_n "(cached
) " >&6
5416 if test -n "$ac_ct_AR"; then
5417 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_ac_ct_AR="$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5436 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5437 if test -n "$ac_ct_AR"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5439 $as_echo "$ac_ct_AR" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5442 $as_echo "no
" >&6; }
5446 test -n "$ac_ct_AR" && break
5449 if test "x
$ac_ct_AR" = x; then
5452 case $cross_compiling:$ac_tool_warned in
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5456 ac_tool_warned=yes ;;
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5476 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5477 if ${lt_cv_ar_at_file+:} false; then :
5478 $as_echo_n "(cached
) " >&6
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5492 if ac_fn_c_try_compile "$LINENO"; then :
5493 echo conftest.$ac_objext > conftest.lst
5494 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5495 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5496 (eval $lt_ar_try) 2>&5
5498 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5499 test $ac_status = 0; }
5500 if test "$ac_status" -eq 0; then
5501 # Ensure the archiver fails upon bogus file names.
5502 rm -f conftest.$ac_objext libconftest.a
5503 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5504 (eval $lt_ar_try) 2>&5
5506 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5507 test $ac_status = 0; }
5508 if test "$ac_status" -ne 0; then
5512 rm -f conftest.* libconftest.a
5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5519 $as_echo "$lt_cv_ar_at_file" >&6; }
5521 if test "x
$lt_cv_ar_at_file" = xno; then
5524 archiver_list_spec=$lt_cv_ar_at_file
5533 if test -n "$ac_tool_prefix"; then
5534 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5535 set dummy ${ac_tool_prefix}strip; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5537 $as_echo_n "checking
for $ac_word...
" >&6; }
5538 if ${ac_cv_prog_STRIP+:} false; then :
5539 $as_echo_n "(cached
) " >&6
5541 if test -n "$STRIP"; then
5542 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5561 STRIP=$ac_cv_prog_STRIP
5562 if test -n "$STRIP"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5564 $as_echo "$STRIP" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5567 $as_echo "no
" >&6; }
5572 if test -z "$ac_cv_prog_STRIP"; then
5574 # Extract the first word of "strip
", so it can be a program name with args.
5575 set dummy strip; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5577 $as_echo_n "checking
for $ac_word...
" >&6; }
5578 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5579 $as_echo_n "(cached
) " >&6
5581 if test -n "$ac_ct_STRIP"; then
5582 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_ac_ct_STRIP="strip
"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5601 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5602 if test -n "$ac_ct_STRIP"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5604 $as_echo "$ac_ct_STRIP" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5607 $as_echo "no
" >&6; }
5610 if test "x
$ac_ct_STRIP" = x; then
5613 case $cross_compiling:$ac_tool_warned in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5616 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5617 ac_tool_warned=yes ;;
5622 STRIP="$ac_cv_prog_STRIP"
5625 test -z "$STRIP" && STRIP=:
5632 if test -n "$ac_tool_prefix"; then
5633 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5634 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5636 $as_echo_n "checking
for $ac_word...
" >&6; }
5637 if ${ac_cv_prog_RANLIB+:} false; then :
5638 $as_echo_n "(cached
) " >&6
5640 if test -n "$RANLIB"; then
5641 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5660 RANLIB=$ac_cv_prog_RANLIB
5661 if test -n "$RANLIB"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5663 $as_echo "$RANLIB" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5666 $as_echo "no
" >&6; }
5671 if test -z "$ac_cv_prog_RANLIB"; then
5672 ac_ct_RANLIB=$RANLIB
5673 # Extract the first word of "ranlib
", so it can be a program name with args.
5674 set dummy ranlib; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5676 $as_echo_n "checking
for $ac_word...
" >&6; }
5677 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5678 $as_echo_n "(cached
) " >&6
5680 if test -n "$ac_ct_RANLIB"; then
5681 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5701 if test -n "$ac_ct_RANLIB"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5703 $as_echo "$ac_ct_RANLIB" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5706 $as_echo "no
" >&6; }
5709 if test "x
$ac_ct_RANLIB" = x; then
5712 case $cross_compiling:$ac_tool_warned in
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5715 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5716 ac_tool_warned=yes ;;
5718 RANLIB=$ac_ct_RANLIB
5721 RANLIB="$ac_cv_prog_RANLIB"
5724 test -z "$RANLIB" && RANLIB=:
5731 # Determine commands to create old-style static archives.
5732 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5733 old_postinstall_cmds='chmod 644 $oldlib'
5734 old_postuninstall_cmds=
5736 if test -n "$RANLIB"; then
5739 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5742 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5745 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5750 lock_old_archive_extraction=yes ;;
5752 lock_old_archive_extraction=no ;;
5793 # If no C compiler was specified, use CC.
5796 # If no C compiler flags were specified, use CFLAGS.
5797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5799 # Allow CC to be a program name with arguments.
5803 # Check for command to grab the raw symbol name followed by C symbol from nm.
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5805 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5806 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5807 $as_echo_n "(cached
) " >&6
5810 # These are sane defaults that work on at least a few old systems.
5811 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5813 # Character class describing NM global symbol codes.
5814 symcode='[BCDEGRST]'
5816 # Regexp to match symbols that can be accessed directly from C.
5817 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5819 # Define system-specific variables.
5824 cygwin* | mingw* | pw32* | cegcc*)
5825 symcode='[ABCDGISTW]'
5828 if test "$host_cpu" = ia64; then
5829 symcode='[ABCDEGRST]'
5833 symcode='[BCDEGRST]'
5836 symcode='[BCDEGQRST]'
5847 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5855 # If we're using GNU nm, then use its standard symbol codes.
5856 case `$NM -V 2>&1` in
5857 *GNU* | *'with BFD'*)
5858 symcode='[ABCDGIRSTW]' ;;
5861 # Transform an extracted symbol line into a proper C declaration.
5862 # Some systems (esp. on ia64) link data and code symbols differently,
5863 # so use this general approach.
5864 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5866 # Transform an extracted symbol line into symbol name and symbol address
5867 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5868 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'"
5870 # Handle CRLF in mingw tool chain
5874 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5878 # Try without a prefix underscore, then with it.
5879 for ac_symprfx in "" "_
"; do
5881 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5882 symxfrm="\\1 $ac_symprfx\\2 \\2"
5884 # Write the raw and C identifiers.
5885 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5886 # Fake it for dumpbin and say T for any non-static function
5887 # and D for any global variable.
5888 # Also find C++ and __fastcall symbols from MSVC++,
5889 # which start with @ or ?.
5890 lt_cv_sys_global_symbol_pipe="$AWK '"\
5891 " {last_section=section; section=\$ 3};"\
5892 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5893 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5894 " \$ 0!~/External *\|/{next};"\
5895 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5896 " {if(hide[section]) next};"\
5897 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5898 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5899 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5900 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5901 " ' prfx
=^
$ac_symprfx"
5903 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5905 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5907 # Check to see that the pipe works correctly.
5911 cat > conftest.$ac_ext <<_LT_EOF
5916 void nm_test_func(void);
5917 void nm_test_func(void){}
5921 int main(){nm_test_var='a';nm_test_func();return(0);}
5924 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5925 (eval $ac_compile) 2>&5
5927 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5928 test $ac_status = 0; }; then
5929 # Now try to grab the symbols.
5931 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5932 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5934 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5935 test $ac_status = 0; } && test -s "$nlist"; then
5936 # Try sorting and uniquifying the output.
5937 if sort "$nlist" | uniq > "$nlist"T; then
5938 mv -f "$nlist"T "$nlist"
5943 # Make sure that we snagged all the symbols we need.
5944 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5945 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5946 cat <<_LT_EOF > conftest.$ac_ext
5947 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5948 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5949 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5950 relocations are performed -- see ld's documentation on pseudo-relocs. */
5951 # define LT_DLSYM_CONST
5952 #elif defined(__osf__)
5953 /* This system does not cope well with relocations in const data. */
5954 # define LT_DLSYM_CONST
5956 # define LT_DLSYM_CONST const
5964 # Now generate the symbol file.
5965 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5967 cat <<_LT_EOF >> conftest.$ac_ext
5969 /* The mapping between symbol names and symbols. */
5970 LT_DLSYM_CONST struct {
5974 lt__PROGRAM__LTX_preloaded_symbols[] =
5976 { "@PROGRAM@
", (void *) 0 },
5978 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5979 cat <<\_LT_EOF >> conftest.$ac_ext
5983 /* This works around a problem in FreeBSD linker */
5984 #ifdef FREEBSD_WORKAROUND
5985 static const void *lt_preloaded_setup() {
5986 return lt__PROGRAM__LTX_preloaded_symbols;
5994 # Now try linking the two files.
5995 mv conftest.$ac_objext conftstm.$ac_objext
5996 lt_globsym_save_LIBS=$LIBS
5997 lt_globsym_save_CFLAGS=$CFLAGS
5998 LIBS="conftstm.
$ac_objext"
5999 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6000 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6001 (eval $ac_link) 2>&5
6003 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6004 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6007 LIBS=$lt_globsym_save_LIBS
6008 CFLAGS=$lt_globsym_save_CFLAGS
6010 echo "cannot
find nm_test_func
in $nlist" >&5
6013 echo "cannot
find nm_test_var
in $nlist" >&5
6016 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6019 echo "$progname: failed program was
:" >&5
6020 cat conftest.$ac_ext >&5
6022 rm -rf conftest* conftst*
6024 # Do not use the global_symbol_pipe unless it works.
6025 if test "$pipe_works" = yes; then
6028 lt_cv_sys_global_symbol_pipe=
6034 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6035 lt_cv_sys_global_symbol_to_cdecl=
6037 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6039 $as_echo "failed
" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6042 $as_echo "ok
" >&6; }
6045 # Response file support.
6046 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6047 nm_file_list_spec='@'
6048 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6049 nm_file_list_spec='@'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6079 $as_echo_n "checking
for sysroot...
" >&6; }
6081 # Check whether --with-sysroot was given.
6082 if test "${with_sysroot+set}" = set; then :
6083 withval=$with_sysroot;
6090 case ${with_sysroot} in #(
6092 if test "$GCC" = yes; then
6093 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6097 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6103 $as_echo "${with_sysroot}" >&6; }
6104 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6109 $as_echo "${lt_sysroot:-no}" >&6; }
6115 # Check whether --enable-libtool-lock was given.
6116 if test "${enable_libtool_lock+set}" = set; then :
6117 enableval=$enable_libtool_lock;
6120 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6122 # Some flags need to be propagated to the compiler or linker for good
6126 # Find out which ABI we are using.
6127 echo 'int i;' > conftest.$ac_ext
6128 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6129 (eval $ac_compile) 2>&5
6131 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6132 test $ac_status = 0; }; then
6133 case `/usr/bin/file conftest.$ac_objext` in
6145 # Find out which ABI we are using.
6146 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6147 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6148 (eval $ac_compile) 2>&5
6150 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6151 test $ac_status = 0; }; then
6152 if test "$lt_cv_prog_gnu_ld" = yes; then
6153 case `/usr/bin/file conftest.$ac_objext` in
6155 LD="${LD-ld} -melf32bsmip"
6158 LD="${LD-ld} -melf32bmipn32"
6161 LD="${LD-ld} -melf64bmip"
6165 case `/usr/bin/file conftest.$ac_objext` in
6181 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6182 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6183 # Find out which ABI we are using.
6184 echo 'int i;' > conftest.$ac_ext
6185 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6186 (eval $ac_compile) 2>&5
6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6189 test $ac_status = 0; }; then
6190 case `/usr/bin/file conftest.o` in
6193 x86_64-*kfreebsd*-gnu)
6194 LD="${LD-ld} -m elf_i386_fbsd
"
6197 LD="${LD-ld} -m elf_i386
"
6199 ppc64-*linux*|powerpc64-*linux*)
6200 LD="${LD-ld} -m elf32ppclinux
"
6203 LD="${LD-ld} -m elf_s390
"
6206 LD="${LD-ld} -m elf32_sparc
"
6212 x86_64-*kfreebsd*-gnu)
6213 LD="${LD-ld} -m elf_x86_64_fbsd
"
6216 LD="${LD-ld} -m elf_x86_64
"
6218 ppc*-*linux*|powerpc*-*linux*)
6219 LD="${LD-ld} -m elf64ppc
"
6221 s390*-*linux*|s390*-*tpf*)
6222 LD="${LD-ld} -m elf64_s390
"
6225 LD="${LD-ld} -m elf64_sparc
"
6235 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6236 SAVE_CFLAGS="$CFLAGS"
6237 CFLAGS="$CFLAGS -belf"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6239 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6240 if ${lt_cv_cc_needs_belf+:} false; then :
6241 $as_echo_n "(cached
) " >&6
6244 ac_cpp='$CPP $CPPFLAGS'
6245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6260 if ac_fn_c_try_link "$LINENO"; then :
6261 lt_cv_cc_needs_belf=yes
6263 lt_cv_cc_needs_belf=no
6265 rm -f core conftest.err conftest.$ac_objext \
6266 conftest$ac_exeext conftest.$ac_ext
6268 ac_cpp='$CPP $CPPFLAGS'
6269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6275 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6276 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6277 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6278 CFLAGS="$SAVE_CFLAGS"
6282 # Find out which ABI we are using.
6283 echo 'int i;' > conftest.$ac_ext
6284 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285 (eval $ac_compile) 2>&5
6287 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6288 test $ac_status = 0; }; then
6289 case `/usr/bin/file conftest.o` in
6291 case $lt_cv_prog_gnu_ld in
6295 LD="${LD-ld} -m elf_x86_64
"
6298 LD="${LD-ld} -m elf64_sparc
"
6301 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6302 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6307 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6319 need_locks="$enable_libtool_lock"
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}mt; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6325 $as_echo_n "checking
for $ac_word...
" >&6; }
6326 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6327 $as_echo_n "(cached
) " >&6
6329 if test -n "$MANIFEST_TOOL"; then
6330 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6349 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6350 if test -n "$MANIFEST_TOOL"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6352 $as_echo "$MANIFEST_TOOL" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6355 $as_echo "no
" >&6; }
6360 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6361 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6362 # Extract the first word of "mt
", so it can be a program name with args.
6363 set dummy mt; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6365 $as_echo_n "checking
for $ac_word...
" >&6; }
6366 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6367 $as_echo_n "(cached
) " >&6
6369 if test -n "$ac_ct_MANIFEST_TOOL"; then
6370 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6390 if test -n "$ac_ct_MANIFEST_TOOL"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6392 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6395 $as_echo "no
" >&6; }
6398 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6405 ac_tool_warned=yes ;;
6407 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6410 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6413 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6415 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6416 if ${lt_cv_path_mainfest_tool+:} false; then :
6417 $as_echo_n "(cached
) " >&6
6419 lt_cv_path_mainfest_tool=no
6420 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6421 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6422 cat conftest.err >&5
6423 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6424 lt_cv_path_mainfest_tool=yes
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6429 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6430 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6440 rhapsody* | darwin*)
6441 if test -n "$ac_tool_prefix"; then
6442 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6443 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6445 $as_echo_n "checking
for $ac_word...
" >&6; }
6446 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6447 $as_echo_n "(cached
) " >&6
6449 if test -n "$DSYMUTIL"; then
6450 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6469 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6470 if test -n "$DSYMUTIL"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6472 $as_echo "$DSYMUTIL" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6475 $as_echo "no
" >&6; }
6480 if test -z "$ac_cv_prog_DSYMUTIL"; then
6481 ac_ct_DSYMUTIL=$DSYMUTIL
6482 # Extract the first word of "dsymutil
", so it can be a program name with args.
6483 set dummy dsymutil; ac_word=$2
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6485 $as_echo_n "checking
for $ac_word...
" >&6; }
6486 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6487 $as_echo_n "(cached
) " >&6
6489 if test -n "$ac_ct_DSYMUTIL"; then
6490 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6509 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6510 if test -n "$ac_ct_DSYMUTIL"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6512 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6515 $as_echo "no
" >&6; }
6518 if test "x
$ac_ct_DSYMUTIL" = x; then
6521 case $cross_compiling:$ac_tool_warned in
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6524 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6525 ac_tool_warned=yes ;;
6527 DSYMUTIL=$ac_ct_DSYMUTIL
6530 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6533 if test -n "$ac_tool_prefix"; then
6534 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6535 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6537 $as_echo_n "checking
for $ac_word...
" >&6; }
6538 if ${ac_cv_prog_NMEDIT+:} false; then :
6539 $as_echo_n "(cached
) " >&6
6541 if test -n "$NMEDIT"; then
6542 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6561 NMEDIT=$ac_cv_prog_NMEDIT
6562 if test -n "$NMEDIT"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6564 $as_echo "$NMEDIT" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6567 $as_echo "no
" >&6; }
6572 if test -z "$ac_cv_prog_NMEDIT"; then
6573 ac_ct_NMEDIT=$NMEDIT
6574 # Extract the first word of "nmedit
", so it can be a program name with args.
6575 set dummy nmedit; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6577 $as_echo_n "checking
for $ac_word...
" >&6; }
6578 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6579 $as_echo_n "(cached
) " >&6
6581 if test -n "$ac_ct_NMEDIT"; then
6582 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6601 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6602 if test -n "$ac_ct_NMEDIT"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6604 $as_echo "$ac_ct_NMEDIT" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6607 $as_echo "no
" >&6; }
6610 if test "x
$ac_ct_NMEDIT" = x; then
6613 case $cross_compiling:$ac_tool_warned in
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6616 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6617 ac_tool_warned=yes ;;
6619 NMEDIT=$ac_ct_NMEDIT
6622 NMEDIT="$ac_cv_prog_NMEDIT"
6625 if test -n "$ac_tool_prefix"; then
6626 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6627 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6629 $as_echo_n "checking
for $ac_word...
" >&6; }
6630 if ${ac_cv_prog_LIPO+:} false; then :
6631 $as_echo_n "(cached
) " >&6
6633 if test -n "$LIPO"; then
6634 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6653 LIPO=$ac_cv_prog_LIPO
6654 if test -n "$LIPO"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6656 $as_echo "$LIPO" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6659 $as_echo "no
" >&6; }
6664 if test -z "$ac_cv_prog_LIPO"; then
6666 # Extract the first word of "lipo
", so it can be a program name with args.
6667 set dummy lipo; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6669 $as_echo_n "checking
for $ac_word...
" >&6; }
6670 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6671 $as_echo_n "(cached
) " >&6
6673 if test -n "$ac_ct_LIPO"; then
6674 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_ac_ct_LIPO="lipo
"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6694 if test -n "$ac_ct_LIPO"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6696 $as_echo "$ac_ct_LIPO" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6699 $as_echo "no
" >&6; }
6702 if test "x
$ac_ct_LIPO" = x; then
6705 case $cross_compiling:$ac_tool_warned in
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6708 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6709 ac_tool_warned=yes ;;
6714 LIPO="$ac_cv_prog_LIPO"
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}otool; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if ${ac_cv_prog_OTOOL+:} false; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$OTOOL"; then
6726 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6745 OTOOL=$ac_cv_prog_OTOOL
6746 if test -n "$OTOOL"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6748 $as_echo "$OTOOL" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6756 if test -z "$ac_cv_prog_OTOOL"; then
6758 # Extract the first word of "otool
", so it can be a program name with args.
6759 set dummy otool; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$ac_ct_OTOOL"; then
6766 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_ac_ct_OTOOL="otool
"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6786 if test -n "$ac_ct_OTOOL"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6788 $as_echo "$ac_ct_OTOOL" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6794 if test "x
$ac_ct_OTOOL" = x; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6800 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6801 ac_tool_warned=yes ;;
6806 OTOOL="$ac_cv_prog_OTOOL"
6809 if test -n "$ac_tool_prefix"; then
6810 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6811 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6813 $as_echo_n "checking
for $ac_word...
" >&6; }
6814 if ${ac_cv_prog_OTOOL64+:} false; then :
6815 $as_echo_n "(cached
) " >&6
6817 if test -n "$OTOOL64"; then
6818 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6827 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6837 OTOOL64=$ac_cv_prog_OTOOL64
6838 if test -n "$OTOOL64"; then
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6840 $as_echo "$OTOOL64" >&6; }
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6843 $as_echo "no
" >&6; }
6848 if test -z "$ac_cv_prog_OTOOL64"; then
6849 ac_ct_OTOOL64=$OTOOL64
6850 # Extract the first word of "otool64
", so it can be a program name with args.
6851 set dummy otool64; ac_word=$2
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6853 $as_echo_n "checking
for $ac_word...
" >&6; }
6854 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6855 $as_echo_n "(cached
) " >&6
6857 if test -n "$ac_ct_OTOOL64"; then
6858 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864 test -z "$as_dir" && as_dir=.
6865 for ac_exec_ext in '' $ac_executable_extensions; do
6866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6867 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6877 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6878 if test -n "$ac_ct_OTOOL64"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6880 $as_echo "$ac_ct_OTOOL64" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6883 $as_echo "no
" >&6; }
6886 if test "x
$ac_ct_OTOOL64" = x; then
6889 case $cross_compiling:$ac_tool_warned in
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6892 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6893 ac_tool_warned=yes ;;
6895 OTOOL64=$ac_ct_OTOOL64
6898 OTOOL64="$ac_cv_prog_OTOOL64"
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6928 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6929 if ${lt_cv_apple_cc_single_mod+:} false; then :
6930 $as_echo_n "(cached
) " >&6
6932 lt_cv_apple_cc_single_mod=no
6933 if test -z "${LT_MULTI_MODULE}"; then
6934 # By default we will add the -single_module flag. You can override
6935 # by either setting the environment variable LT_MULTI_MODULE
6936 # non-empty at configure time, or by adding -multi_module to the
6938 rm -rf libconftest.dylib*
6939 echo "int foo
(void
){return 1;}" > conftest.c
6940 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6941 -dynamiclib -Wl,-single_module conftest.c
" >&5
6942 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6943 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6945 # If there is a non-empty error log, and "single_module
"
6946 # appears in it, assume the flag caused a linker warning
6947 if test -s conftest.err && $GREP single_module conftest.err; then
6948 cat conftest.err >&5
6949 # Otherwise, if the output was created with a 0 exit code from
6950 # the compiler, it worked.
6951 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6952 lt_cv_apple_cc_single_mod=yes
6954 cat conftest.err >&5
6956 rm -rf libconftest.dylib*
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6961 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6964 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6965 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6966 $as_echo_n "(cached
) " >&6
6968 lt_cv_ld_exported_symbols_list=no
6969 save_LDFLAGS=$LDFLAGS
6970 echo "_main
" > conftest.sym
6971 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6983 if ac_fn_c_try_link "$LINENO"; then :
6984 lt_cv_ld_exported_symbols_list=yes
6986 lt_cv_ld_exported_symbols_list=no
6988 rm -f core conftest.err conftest.$ac_objext \
6989 conftest$ac_exeext conftest.$ac_ext
6990 LDFLAGS="$save_LDFLAGS"
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6994 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6997 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6998 if ${lt_cv_ld_force_load+:} false; then :
6999 $as_echo_n "(cached
) " >&6
7001 lt_cv_ld_force_load=no
7002 cat > conftest.c << _LT_EOF
7003 int forced_loaded() { return 2;}
7005 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7006 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7007 echo "$AR cru libconftest.a conftest.o
" >&5
7008 $AR cru libconftest.a conftest.o 2>&5
7009 echo "$RANLIB libconftest.a
" >&5
7010 $RANLIB libconftest.a 2>&5
7011 cat > conftest.c << _LT_EOF
7012 int main() { return 0;}
7014 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7015 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7017 if test -s conftest.err && $GREP force_load conftest.err; then
7018 cat conftest.err >&5
7019 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7020 lt_cv_ld_force_load=yes
7022 cat conftest.err >&5
7024 rm -f conftest.err libconftest.a conftest conftest.c
7025 rm -rf conftest.dSYM
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7029 $as_echo "$lt_cv_ld_force_load" >&6; }
7031 rhapsody* | darwin1.[012])
7032 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7034 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7035 darwin*) # darwin 5.x on
7036 # if running on 10.5 or later, the deployment target defaults
7037 # to the OS version, if on x86, and 10.4, the deployment
7038 # target defaults to 10.4. Don't you love it?
7039 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7040 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7041 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7043 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7045 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7049 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7050 _lt_dar_single_mod='$single_module'
7052 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7053 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7055 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7057 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7058 _lt_dsymutil='~$DSYMUTIL $lib || :'
7066 ac_cpp='$CPP $CPPFLAGS'
7067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7071 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7072 # On Suns, sometimes $CPP names a directory.
7073 if test -n "$CPP" && test -d "$CPP"; then
7076 if test -z "$CPP"; then
7077 if ${ac_cv_prog_CPP+:} false; then :
7078 $as_echo_n "(cached
) " >&6
7080 # Double quotes because CPP needs to be expanded
7081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7084 for ac_c_preproc_warn_flag in '' yes
7086 # Use a header file that comes with gcc, so configuring glibc
7087 # with a fresh cross-compiler works.
7088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7089 # <limits.h> exists even on freestanding compilers.
7090 # On the NeXT, cc -E runs the code through the compiler's parser,
7091 # not just through cpp. "Syntax error
" is here to catch this case.
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7095 # include <limits.h>
7097 # include <assert.h>
7101 if ac_fn_c_try_cpp "$LINENO"; then :
7104 # Broken: fails on valid input.
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7109 # OK, works on sane cases. Now check whether nonexistent headers
7110 # can be detected and how.
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 #include <ac_nonexistent.h>
7115 if ac_fn_c_try_cpp "$LINENO"; then :
7116 # Broken: success on invalid input.
7119 # Passes both tests.
7123 rm -f conftest.err conftest.i conftest.$ac_ext
7126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7127 rm -f conftest.i conftest.err conftest.$ac_ext
7128 if $ac_preproc_ok; then :
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7141 $as_echo "$CPP" >&6; }
7143 for ac_c_preproc_warn_flag in '' yes
7145 # Use a header file that comes with gcc, so configuring glibc
7146 # with a fresh cross-compiler works.
7147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 # <limits.h> exists even on freestanding compilers.
7149 # On the NeXT, cc -E runs the code through the compiler's parser,
7150 # not just through cpp. "Syntax error
" is here to catch this case.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7154 # include <limits.h>
7156 # include <assert.h>
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7163 # Broken: fails on valid input.
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <ac_nonexistent.h>
7174 if ac_fn_c_try_cpp "$LINENO"; then :
7175 # Broken: success on invalid input.
7178 # Passes both tests.
7182 rm -f conftest.err conftest.i conftest.$ac_ext
7185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7186 rm -f conftest.i conftest.err conftest.$ac_ext
7187 if $ac_preproc_ok; then :
7190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7192 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7193 See \`config.log' for more details
" "$LINENO" 5; }
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7204 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7205 if ${ac_cv_header_stdc+:} false; then :
7206 $as_echo_n "(cached
) " >&6
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7223 if ac_fn_c_try_compile "$LINENO"; then :
7224 ac_cv_header_stdc=yes
7226 ac_cv_header_stdc=no
7228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7230 if test $ac_cv_header_stdc = yes; then
7231 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7237 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7238 $EGREP "memchr
" >/dev/null 2>&1; then :
7241 ac_cv_header_stdc=no
7247 if test $ac_cv_header_stdc = yes; then
7248 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7254 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7255 $EGREP "free
" >/dev/null 2>&1; then :
7258 ac_cv_header_stdc=no
7264 if test $ac_cv_header_stdc = yes; then
7265 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7266 if test "$cross_compiling" = yes; then :
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7273 #if ((' ' & 0x0FF) == 0x020)
7274 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7275 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7277 # define ISLOWER(c) \
7278 (('a' <= (c) && (c) <= 'i') \
7279 || ('j' <= (c) && (c) <= 'r') \
7280 || ('s' <= (c) && (c) <= 'z'))
7281 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7284 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7289 for (i = 0; i < 256; i++)
7290 if (XOR (islower (i), ISLOWER (i))
7291 || toupper (i) != TOUPPER (i))
7296 if ac_fn_c_try_run "$LINENO"; then :
7299 ac_cv_header_stdc=no
7301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7302 conftest.$ac_objext conftest.beam conftest.$ac_ext
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7308 $as_echo "$ac_cv_header_stdc" >&6; }
7309 if test $ac_cv_header_stdc = yes; then
7311 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7315 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7316 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7317 inttypes.h stdint.h unistd.h
7319 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7320 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7322 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7323 cat >>confdefs.h
<<_ACEOF
7324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7332 for ac_header
in dlfcn.h
7334 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7336 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7337 cat >>confdefs.h
<<_ACEOF
7338 #define HAVE_DLFCN_H 1
7359 # Check whether --enable-shared was given.
7360 if test "${enable_shared+set}" = set; then :
7361 enableval
=$enable_shared; p
=${PACKAGE-default}
7363 yes) enable_shared
=yes ;;
7364 no
) enable_shared
=no
;;
7367 # Look at the argument we got. We use all the common list separators.
7368 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7369 for pkg
in $enableval; do
7371 if test "X$pkg" = "X$p"; then
7390 # Check whether --enable-static was given.
7391 if test "${enable_static+set}" = set; then :
7392 enableval
=$enable_static; p
=${PACKAGE-default}
7394 yes) enable_static
=yes ;;
7395 no
) enable_static
=no
;;
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7400 for pkg
in $enableval; do
7402 if test "X$pkg" = "X$p"; then
7422 # Check whether --with-pic was given.
7423 if test "${with_pic+set}" = set; then :
7424 withval
=$with_pic; lt_p
=${PACKAGE-default}
7426 yes|no
) pic_mode
=$withval ;;
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7431 for lt_pkg
in $withval; do
7433 if test "X$lt_pkg" = "X$lt_p"; then
7445 test -z "$pic_mode" && pic_mode
=default
7453 # Check whether --enable-fast-install was given.
7454 if test "${enable_fast_install+set}" = set; then :
7455 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7457 yes) enable_fast_install
=yes ;;
7458 no
) enable_fast_install
=no
;;
7460 enable_fast_install
=no
7461 # Look at the argument we got. We use all the common list separators.
7462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7463 for pkg
in $enableval; do
7465 if test "X$pkg" = "X$p"; then
7466 enable_fast_install
=yes
7473 enable_fast_install
=yes
7486 # This can be used to rebuild libtool when needed
7487 LIBTOOL_DEPS
="$ltmain"
7489 # Always use our own libtool.
7490 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7521 test -z "$LN_S" && LN_S
="ln -s"
7536 if test -n "${ZSH_VERSION+set}" ; then
7537 setopt NO_GLOB_SUBST
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7541 $as_echo_n "checking for objdir... " >&6; }
7542 if ${lt_cv_objdir+:} false
; then :
7543 $as_echo_n "(cached) " >&6
7545 rm -f .libs
2>/dev
/null
7546 mkdir .libs
2>/dev
/null
7547 if test -d .libs
; then
7550 # MS-DOS does not allow filenames that begin with a dot.
7553 rmdir .libs
2>/dev
/null
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7556 $as_echo "$lt_cv_objdir" >&6; }
7557 objdir
=$lt_cv_objdir
7563 cat >>confdefs.h
<<_ACEOF
7564 #define LT_OBJDIR "$lt_cv_objdir/"
7572 # AIX sometimes has problems with the GCC collect2 program. For some
7573 # reason, if we set the COLLECT_NAMES environment variable, the problems
7574 # vanish in a puff of smoke.
7575 if test "X${COLLECT_NAMES+set}" != Xset
; then
7577 export COLLECT_NAMES
7584 can_build_shared
=yes
7586 # All known linkers require a `.a' archive for static linking (except MSVC,
7587 # which needs '.lib').
7590 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7593 old_CFLAGS
="$CFLAGS"
7595 # Set sane defaults for various variables
7596 test -z "$CC" && CC
=cc
7597 test -z "$LTCC" && LTCC
=$CC
7598 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7599 test -z "$LD" && LD
=ld
7600 test -z "$ac_objext" && ac_objext
=o
7602 for cc_temp
in $compiler""; do
7604 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7605 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7610 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7613 # Only perform the check for file, if the check method requires it
7614 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7615 case $deplibs_check_method in
7617 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7619 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7620 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7621 $as_echo_n "(cached) " >&6
7625 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7628 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7629 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7630 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7631 for ac_dir
in $ac_dummy; do
7633 test -z "$ac_dir" && ac_dir
=.
7634 if test -f $ac_dir/${ac_tool_prefix}file; then
7635 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7636 if test -n "$file_magic_test_file"; then
7637 case $deplibs_check_method in
7639 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7640 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7641 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7642 $EGREP "$file_magic_regex" > /dev
/null
; then
7647 *** Warning: the command libtool uses to detect shared libraries,
7648 *** $file_magic_cmd, produces output that libtool cannot recognize.
7649 *** The result is that libtool may fail to recognize shared libraries
7650 *** as such. This will affect the creation of libtool libraries that
7651 *** depend on shared libraries, but programs linked with such libtool
7652 *** libraries will work regardless of this problem. Nevertheless, you
7653 *** may want to report the problem to your system manager and/or to
7654 *** bug-libtool@gnu.org
7664 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7669 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7670 if test -n "$MAGIC_CMD"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7672 $as_echo "$MAGIC_CMD" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7682 if test -z "$lt_cv_path_MAGIC_CMD"; then
7683 if test -n "$ac_tool_prefix"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7685 $as_echo_n "checking for file... " >&6; }
7686 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7687 $as_echo_n "(cached) " >&6
7691 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7694 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7695 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7696 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7697 for ac_dir
in $ac_dummy; do
7699 test -z "$ac_dir" && ac_dir
=.
7700 if test -f $ac_dir/file; then
7701 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7702 if test -n "$file_magic_test_file"; then
7703 case $deplibs_check_method in
7705 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7706 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7707 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7708 $EGREP "$file_magic_regex" > /dev
/null
; then
7713 *** Warning: the command libtool uses to detect shared libraries,
7714 *** $file_magic_cmd, produces output that libtool cannot recognize.
7715 *** The result is that libtool may fail to recognize shared libraries
7716 *** as such. This will affect the creation of libtool libraries that
7717 *** depend on shared libraries, but programs linked with such libtool
7718 *** libraries will work regardless of this problem. Nevertheless, you
7719 *** may want to report the problem to your system manager and/or to
7720 *** bug-libtool@gnu.org
7730 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7735 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7736 if test -n "$MAGIC_CMD"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7738 $as_echo "$MAGIC_CMD" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741 $as_echo "no" >&6; }
7754 # Use C for the default configuration in the libtool script
7758 ac_cpp
='$CPP $CPPFLAGS'
7759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7764 # Source file extension for C test sources.
7767 # Object file extension for compiled C test sources.
7771 # Code to be used in simple compile tests
7772 lt_simple_compile_test_code
="int some_variable = 0;"
7774 # Code to be used in simple link tests
7775 lt_simple_link_test_code
='int main(){return(0);}'
7783 # If no C compiler was specified, use CC.
7786 # If no C compiler flags were specified, use CFLAGS.
7787 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7789 # Allow CC to be a program name with arguments.
7792 # Save the default compiler, since it gets overwritten when the other
7793 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7794 compiler_DEFAULT
=$CC
7796 # save warnings/boilerplate of simple test code
7797 ac_outfile
=conftest.
$ac_objext
7798 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7799 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7800 _lt_compiler_boilerplate
=`cat conftest.err`
7803 ac_outfile
=conftest.
$ac_objext
7804 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7805 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7806 _lt_linker_boilerplate
=`cat conftest.err`
7810 if test -n "$compiler"; then
7812 lt_prog_compiler_no_builtin_flag
=
7814 if test "$GCC" = yes; then
7815 case $cc_basename in
7817 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7819 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7823 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7824 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7825 $as_echo_n "(cached) " >&6
7827 lt_cv_prog_compiler_rtti_exceptions
=no
7828 ac_outfile
=conftest.
$ac_objext
7829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7830 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7831 # Insert the option either (1) after the last *FLAGS variable, or
7832 # (2) before a word containing "conftest.", or (3) at the end.
7833 # Note that $ac_compile itself does not contain backslashes and begins
7834 # with a dollar sign (not a hyphen), so the echo should work correctly.
7835 # The option is referenced via a variable to avoid confusing sed.
7836 lt_compile
=`echo "$ac_compile" | $SED \
7837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7839 -e 's:$: $lt_compiler_flag:'`
7840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7841 (eval "$lt_compile" 2>conftest.err
)
7843 cat conftest.err
>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 if (exit $ac_status) && test -s "$ac_outfile"; then
7846 # The compiler can only warn and ignore the option if not recognized
7847 # So say no if there are warnings other than the usual output.
7848 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7849 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7850 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7851 lt_cv_prog_compiler_rtti_exceptions
=yes
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7858 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7860 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7861 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7873 lt_prog_compiler_wl
=
7874 lt_prog_compiler_pic
=
7875 lt_prog_compiler_static
=
7878 if test "$GCC" = yes; then
7879 lt_prog_compiler_wl
='-Wl,'
7880 lt_prog_compiler_static
='-static'
7884 # All AIX code is PIC.
7885 if test "$host_cpu" = ia64
; then
7886 # AIX 5 now supports IA64 processor
7887 lt_prog_compiler_static
='-Bstatic'
7894 # see comment about AmigaOS4 .so support
7895 lt_prog_compiler_pic
='-fPIC'
7898 # FIXME: we need at least 68020 code to build shared libraries, but
7899 # adding the `-m68020' flag to GCC prevents building anything better,
7901 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7906 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7907 # PIC is the default for these OSes.
7910 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7911 # This hack is so that the source file can tell whether it is being
7912 # built for inclusion in a dll (and should export symbols for example).
7913 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7914 # (--disable-auto-import) libraries
7915 lt_prog_compiler_pic
='-DDLL_EXPORT'
7918 darwin
* | rhapsody
*)
7919 # PIC is the default on this platform
7920 # Common symbols not allowed in MH_DYLIB files
7921 lt_prog_compiler_pic
='-fno-common'
7925 # PIC is the default for Haiku.
7926 # The "-static" flag exists, but is broken.
7927 lt_prog_compiler_static
=
7931 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7932 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7933 # sets the default TLS model and affects inlining.
7939 lt_prog_compiler_pic
='-fPIC'
7945 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7946 # Instead, we relocate shared libraries at runtime.
7950 # Just because we use GCC doesn't mean we suddenly get shared libraries
7951 # on systems that don't support them.
7952 lt_prog_compiler_can_build_shared
=no
7957 # QNX uses GNU C++, but need to define -shared option too, otherwise
7959 lt_prog_compiler_pic
='-fPIC -shared'
7963 if test -d /usr
/nec
; then
7964 lt_prog_compiler_pic
=-Kconform_pic
7969 lt_prog_compiler_pic
='-fPIC'
7973 case $cc_basename in
7974 nvcc
*) # Cuda Compiler Driver 2.2
7975 lt_prog_compiler_wl
='-Xlinker '
7976 if test -n "$lt_prog_compiler_pic"; then
7977 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7982 # PORTME Check for flag to pass linker flags through the system compiler.
7985 lt_prog_compiler_wl
='-Wl,'
7986 if test "$host_cpu" = ia64
; then
7987 # AIX 5 now supports IA64 processor
7988 lt_prog_compiler_static
='-Bstatic'
7990 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7994 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7995 # This hack is so that the source file can tell whether it is being
7996 # built for inclusion in a dll (and should export symbols for example).
7997 lt_prog_compiler_pic
='-DDLL_EXPORT'
8000 hpux9
* | hpux10
* | hpux11
*)
8001 lt_prog_compiler_wl
='-Wl,'
8002 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8009 lt_prog_compiler_pic
='+Z'
8012 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8013 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8016 irix5
* | irix6
* | nonstopux
*)
8017 lt_prog_compiler_wl
='-Wl,'
8018 # PIC (with -KPIC) is the default.
8019 lt_prog_compiler_static
='-non_shared'
8022 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8023 case $cc_basename in
8024 # old Intel for x86_64 which still supported -KPIC.
8026 lt_prog_compiler_wl
='-Wl,'
8027 lt_prog_compiler_pic
='-KPIC'
8028 lt_prog_compiler_static
='-static'
8030 # icc used to be incompatible with GCC.
8031 # ICC 10 doesn't accept -KPIC any more.
8033 lt_prog_compiler_wl
='-Wl,'
8034 lt_prog_compiler_pic
='-fPIC'
8035 lt_prog_compiler_static
='-static'
8037 # Lahey Fortran 8.1.
8039 lt_prog_compiler_wl
='-Wl,'
8040 lt_prog_compiler_pic
='--shared'
8041 lt_prog_compiler_static
='--static'
8044 # NAG Fortran compiler
8045 lt_prog_compiler_wl
='-Wl,-Wl,,'
8046 lt_prog_compiler_pic
='-PIC'
8047 lt_prog_compiler_static
='-Bstatic'
8049 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8050 # Portland Group compilers (*not* the Pentium gcc compiler,
8051 # which looks to be a dead project)
8052 lt_prog_compiler_wl
='-Wl,'
8053 lt_prog_compiler_pic
='-fpic'
8054 lt_prog_compiler_static
='-Bstatic'
8057 lt_prog_compiler_wl
='-Wl,'
8058 # All Alpha code is PIC.
8059 lt_prog_compiler_static
='-non_shared'
8061 xl
* | bgxl
* | bgf
* | mpixl
*)
8062 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8063 lt_prog_compiler_wl
='-Wl,'
8064 lt_prog_compiler_pic
='-qpic'
8065 lt_prog_compiler_static
='-qstaticlink'
8068 case `$CC -V 2>&1 | sed 5q` in
8069 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8070 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8071 lt_prog_compiler_pic
='-KPIC'
8072 lt_prog_compiler_static
='-Bstatic'
8073 lt_prog_compiler_wl
=''
8075 *Sun\ F
* |
*Sun
*Fortran
*)
8076 lt_prog_compiler_pic
='-KPIC'
8077 lt_prog_compiler_static
='-Bstatic'
8078 lt_prog_compiler_wl
='-Qoption ld '
8082 lt_prog_compiler_pic
='-KPIC'
8083 lt_prog_compiler_static
='-Bstatic'
8084 lt_prog_compiler_wl
='-Wl,'
8086 *Intel
*\
[CF
]*Compiler
*)
8087 lt_prog_compiler_wl
='-Wl,'
8088 lt_prog_compiler_pic
='-fPIC'
8089 lt_prog_compiler_static
='-static'
8092 lt_prog_compiler_wl
='-Wl,'
8093 lt_prog_compiler_pic
='-fpic'
8094 lt_prog_compiler_static
='-Bstatic'
8102 lt_prog_compiler_pic
='-KPIC'
8103 lt_prog_compiler_static
='-Bstatic'
8107 # QNX uses GNU C++, but need to define -shared option too, otherwise
8109 lt_prog_compiler_pic
='-fPIC -shared'
8112 osf3
* | osf4
* | osf5
*)
8113 lt_prog_compiler_wl
='-Wl,'
8114 # All OSF/1 code is PIC.
8115 lt_prog_compiler_static
='-non_shared'
8119 lt_prog_compiler_static
='-non_shared'
8123 lt_prog_compiler_pic
='-KPIC'
8124 lt_prog_compiler_static
='-Bstatic'
8125 case $cc_basename in
8126 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8127 lt_prog_compiler_wl
='-Qoption ld ';;
8129 lt_prog_compiler_wl
='-Wl,';;
8134 lt_prog_compiler_wl
='-Qoption ld '
8135 lt_prog_compiler_pic
='-PIC'
8136 lt_prog_compiler_static
='-Bstatic'
8139 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8140 lt_prog_compiler_wl
='-Wl,'
8141 lt_prog_compiler_pic
='-KPIC'
8142 lt_prog_compiler_static
='-Bstatic'
8146 if test -d /usr
/nec
;then
8147 lt_prog_compiler_pic
='-Kconform_pic'
8148 lt_prog_compiler_static
='-Bstatic'
8152 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8153 lt_prog_compiler_wl
='-Wl,'
8154 lt_prog_compiler_pic
='-KPIC'
8155 lt_prog_compiler_static
='-Bstatic'
8159 lt_prog_compiler_wl
='-Wl,'
8160 lt_prog_compiler_can_build_shared
=no
8164 lt_prog_compiler_pic
='-pic'
8165 lt_prog_compiler_static
='-Bstatic'
8169 lt_prog_compiler_can_build_shared
=no
8175 # For platforms which do not support PIC, -DPIC is meaningless:
8177 lt_prog_compiler_pic
=
8180 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8185 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8186 if ${lt_cv_prog_compiler_pic+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8192 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8193 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8196 # Check to make sure the PIC flag actually works.
8198 if test -n "$lt_prog_compiler_pic"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8200 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8201 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 lt_cv_prog_compiler_pic_works
=no
8205 ac_outfile
=conftest.
$ac_objext
8206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8207 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
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 # The option is referenced via a variable to avoid confusing sed.
8213 lt_compile
=`echo "$ac_compile" | $SED \
8214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216 -e 's:$: $lt_compiler_flag:'`
8217 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8218 (eval "$lt_compile" 2>conftest.err
)
8220 cat conftest.err
>&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 if (exit $ac_status) && test -s "$ac_outfile"; then
8223 # The compiler can only warn and ignore the option if not recognized
8224 # So say no if there are warnings other than the usual output.
8225 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8226 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8227 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8228 lt_cv_prog_compiler_pic_works
=yes
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8235 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8237 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8238 case $lt_prog_compiler_pic in
8240 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8243 lt_prog_compiler_pic
=
8244 lt_prog_compiler_can_build_shared
=no
8260 # Check to make sure the static flag actually works.
8262 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8264 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8265 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8266 $as_echo_n "(cached) " >&6
8268 lt_cv_prog_compiler_static_works
=no
8269 save_LDFLAGS
="$LDFLAGS"
8270 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8271 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8272 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8273 # The linker can only warn and ignore the option if not recognized
8274 # So say no if there are warnings
8275 if test -s conftest.err
; then
8276 # Append any errors to the config.log.
8277 cat conftest.err
1>&5
8278 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8279 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8280 if diff conftest.exp conftest.er2
>/dev
/null
; then
8281 lt_cv_prog_compiler_static_works
=yes
8284 lt_cv_prog_compiler_static_works
=yes
8288 LDFLAGS
="$save_LDFLAGS"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8292 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8294 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8297 lt_prog_compiler_static
=
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8308 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 lt_cv_prog_compiler_c_o
=no
8312 $RM -r conftest
2>/dev
/null
8316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8318 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8319 # Insert the option either (1) after the last *FLAGS variable, or
8320 # (2) before a word containing "conftest.", or (3) at the end.
8321 # Note that $ac_compile itself does not contain backslashes and begins
8322 # with a dollar sign (not a hyphen), so the echo should work correctly.
8323 lt_compile
=`echo "$ac_compile" | $SED \
8324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8326 -e 's:$: $lt_compiler_flag:'`
8327 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8328 (eval "$lt_compile" 2>out
/conftest.err
)
8330 cat out
/conftest.err
>&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8334 # The compiler can only warn and ignore the option if not recognized
8335 # So say no if there are warnings
8336 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8337 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8338 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8339 lt_cv_prog_compiler_c_o
=yes
8344 # SGI C++ compiler will create directory out/ii_files/ for
8345 # template instantiation
8346 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8347 $RM out
/* && rmdir out
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8362 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8363 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8364 $as_echo_n "(cached) " >&6
8366 lt_cv_prog_compiler_c_o
=no
8367 $RM -r conftest
2>/dev
/null
8371 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8373 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8374 # Insert the option either (1) after the last *FLAGS variable, or
8375 # (2) before a word containing "conftest.", or (3) at the end.
8376 # Note that $ac_compile itself does not contain backslashes and begins
8377 # with a dollar sign (not a hyphen), so the echo should work correctly.
8378 lt_compile
=`echo "$ac_compile" | $SED \
8379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8381 -e 's:$: $lt_compiler_flag:'`
8382 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8383 (eval "$lt_compile" 2>out
/conftest.err
)
8385 cat out
/conftest.err
>&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8389 # The compiler can only warn and ignore the option if not recognized
8390 # So say no if there are warnings
8391 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8392 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8393 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8394 lt_cv_prog_compiler_c_o
=yes
8399 # SGI C++ compiler will create directory out/ii_files/ for
8400 # template instantiation
8401 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8402 $RM out
/* && rmdir out
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8409 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8414 hard_links
="nottested"
8415 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8416 # do not overwrite the value of need_locks provided by the user
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8418 $as_echo_n "checking if we can lock with hard links... " >&6; }
8421 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8423 ln conftest.a conftest.b
2>&5 || hard_links
=no
8424 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8426 $as_echo "$hard_links" >&6; }
8427 if test "$hard_links" = no
; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8429 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8442 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8445 allow_undefined_flag
=
8446 always_export_symbols
=no
8448 archive_expsym_cmds
=
8449 compiler_needs_object
=no
8450 enable_shared_with_static_runtimes
=no
8451 export_dynamic_flag_spec
=
8452 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8453 hardcode_automatic
=no
8455 hardcode_direct_absolute
=no
8456 hardcode_libdir_flag_spec
=
8457 hardcode_libdir_separator
=
8459 hardcode_shlibpath_var
=unsupported
8461 link_all_deplibs
=unknown
8464 old_archive_from_new_cmds
=
8465 old_archive_from_expsyms_cmds
=
8466 thread_safe_flag_spec
=
8467 whole_archive_flag_spec
=
8468 # include_expsyms should be a list of space-separated symbols to be *always*
8469 # included in the symbol list
8471 # exclude_expsyms can be an extended regexp of symbols to exclude
8472 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8473 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8474 # as well as any symbol that contains `d'.
8475 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8476 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8477 # platforms (ab)use it in PIC code, but their linkers get confused if
8478 # the symbol is explicitly referenced. Since portable code cannot
8479 # rely on this symbol name, it's probably fine to never include it in
8480 # preloaded symbol tables.
8481 # Exclude shared library initialization/finalization symbols.
8482 extract_expsyms_cmds
=
8485 cygwin
* | mingw
* | pw32
* | cegcc
*)
8486 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8487 # When not using gcc, we currently assume that we are using
8488 # Microsoft Visual C++.
8489 if test "$GCC" != yes; then
8494 # we just hope/assume this is gcc and not c89 (= MSVC++)
8500 linux
* | k
*bsd
*-gnu | gnu
*)
8507 # On some targets, GNU ld is compatible enough with the native linker
8508 # that we're better off using the native interface for both.
8509 lt_use_gnu_ld_interface
=no
8510 if test "$with_gnu_ld" = yes; then
8513 # The AIX port of GNU ld has always aspired to compatibility
8514 # with the native linker. However, as the warning in the GNU ld
8515 # block says, versions before 2.19.5* couldn't really create working
8516 # shared libraries, regardless of the interface used.
8517 case `$LD -v 2>&1` in
8518 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8519 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8520 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8522 lt_use_gnu_ld_interface
=yes
8527 lt_use_gnu_ld_interface
=yes
8532 if test "$lt_use_gnu_ld_interface" = yes; then
8533 # If archive_cmds runs LD, not CC, wlarc should be empty
8536 # Set some defaults for GNU ld with shared library support. These
8537 # are reset later if shared libraries are not supported. Putting them
8538 # here allows them to be overridden if necessary.
8539 runpath_var
=LD_RUN_PATH
8540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8541 export_dynamic_flag_spec
='${wl}--export-dynamic'
8542 # ancient GNU ld didn't support --whole-archive et. al.
8543 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8544 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8546 whole_archive_flag_spec
=
8548 supports_anon_versioning
=no
8549 case `$LD -v 2>&1` in
8550 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8551 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8552 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8553 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8554 *\
2.11.
*) ;; # other 2.11 versions
8555 *) supports_anon_versioning
=yes ;;
8558 # See if GNU ld supports shared libraries.
8561 # On AIX/PPC, the GNU linker is very broken
8562 if test "$host_cpu" != ia64
; then
8566 *** Warning: the GNU linker, at least up to release 2.19, is reported
8567 *** to be unable to reliably create shared libraries on AIX.
8568 *** Therefore, libtool is disabling shared libraries support. If you
8569 *** really care for shared libraries, you may want to install binutils
8570 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8571 *** You will then need to restart the configuration process.
8580 # see comment about AmigaOS4 .so support
8581 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582 archive_expsym_cmds
=''
8585 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)'
8586 hardcode_libdir_flag_spec
='-L$libdir'
8587 hardcode_minus_L
=yes
8593 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8594 allow_undefined_flag
=unsupported
8595 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8596 # support --undefined. This deserves some investigation. FIXME
8597 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8603 cygwin
* | mingw
* | pw32
* | cegcc
*)
8604 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8605 # as there is no search path for DLLs.
8606 hardcode_libdir_flag_spec
='-L$libdir'
8607 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8608 allow_undefined_flag
=unsupported
8609 always_export_symbols
=no
8610 enable_shared_with_static_runtimes
=yes
8611 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'
8612 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8614 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8615 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8616 # If the export-symbols file already is a .def file (1st line
8617 # is EXPORTS), use it as is; otherwise, prepend...
8618 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8619 cp $export_symbols $output_objdir/$soname.def;
8621 echo EXPORTS > $output_objdir/$soname.def;
8622 cat $export_symbols >> $output_objdir/$soname.def;
8624 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8631 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8632 link_all_deplibs
=yes
8637 hardcode_shlibpath_var
=no
8638 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8639 export_dynamic_flag_spec
='${wl}-E'
8640 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8641 # Instead, shared libraries are loaded at an image base (0x10000000 by
8642 # default) and relocated if they conflict, which is a slow very memory
8643 # consuming and fragmenting process. To avoid this, we pick a random,
8644 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8645 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8646 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8647 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'
8650 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8652 if test "$host_os" = linux-dietlibc
; then
8653 case $cc_basename in
8654 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8657 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8658 && test "$tmp_diet" = no
8660 tmp_addflag
=' $pic_flag'
8661 tmp_sharedflag
='-shared'
8662 case $cc_basename,$host_cpu in
8663 pgcc
*) # Portland Group C compiler
8664 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'
8665 tmp_addflag
=' $pic_flag'
8667 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8668 # Portland Group f77 and f90 compilers
8669 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'
8670 tmp_addflag
=' $pic_flag -Mnomain' ;;
8671 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8672 tmp_addflag
=' -i_dynamic' ;;
8673 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8674 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8675 ifc
* | ifort
*) # Intel Fortran compiler
8676 tmp_addflag
=' -nofor_main' ;;
8677 lf95
*) # Lahey Fortran 8.1
8678 whole_archive_flag_spec
=
8679 tmp_sharedflag
='--shared' ;;
8680 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8681 tmp_sharedflag
='-qmkshrobj'
8683 nvcc
*) # Cuda Compiler Driver 2.2
8684 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'
8685 compiler_needs_object
=yes
8688 case `$CC -V 2>&1 | sed 5q` in
8689 *Sun\ C
*) # Sun C 5.9
8690 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'
8691 compiler_needs_object
=yes
8692 tmp_sharedflag
='-G' ;;
8693 *Sun\ F
*) # Sun Fortran 8.3
8694 tmp_sharedflag
='-G' ;;
8696 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8698 if test "x$supports_anon_versioning" = xyes
; then
8699 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8700 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8701 echo "local: *; };" >> $output_objdir/$libname.ver~
8702 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8705 case $cc_basename in
8706 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8707 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8708 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8710 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8711 if test "x$supports_anon_versioning" = xyes
; then
8712 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8713 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8714 echo "local: *; };" >> $output_objdir/$libname.ver~
8715 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8724 netbsd
* | netbsdelf
*-gnu)
8725 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8726 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8729 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8730 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8739 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8740 *** create shared libraries on Solaris systems. Therefore, libtool
8741 *** is disabling shared libraries support. We urge you to upgrade GNU
8742 *** binutils to release 2.9.1 or newer. Another option is to modify
8743 *** your PATH or compiler configuration so that the native linker is
8744 *** used, and then restart.
8747 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8748 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8749 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8755 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8756 case `$LD -v 2>&1` in
8757 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8761 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8762 *** reliably create shared libraries on SCO systems. Therefore, libtool
8763 *** is disabling shared libraries support. We urge you to upgrade GNU
8764 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8765 *** your PATH or compiler configuration so that the native linker is
8766 *** used, and then restart.
8771 # For security reasons, it is highly recommended that you always
8772 # use absolute paths for naming shared libraries, and exclude the
8773 # DT_RUNPATH tag from executables and libraries. But doing so
8774 # requires that you compile everything twice, which is a pain.
8775 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8776 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8777 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8778 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8787 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8790 hardcode_shlibpath_var
=no
8794 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8795 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8803 if test "$ld_shlibs" = no
; then
8805 hardcode_libdir_flag_spec
=
8806 export_dynamic_flag_spec
=
8807 whole_archive_flag_spec
=
8810 # PORTME fill in a description of your system's linker (not GNU ld)
8813 allow_undefined_flag
=unsupported
8814 always_export_symbols
=yes
8815 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'
8816 # Note: this linker hardcodes the directories in LIBPATH if there
8817 # are no directories specified by -L.
8818 hardcode_minus_L
=yes
8819 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8820 # Neither direct hardcoding nor static linking is supported with a
8822 hardcode_direct
=unsupported
8827 if test "$host_cpu" = ia64
; then
8828 # On IA64, the linker does run time linking by default, so we don't
8829 # have to do anything special.
8830 aix_use_runtimelinking
=no
8831 exp_sym_flag
='-Bexport'
8834 # If we're using GNU nm, then we don't want the "-C" option.
8835 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8836 # Also, AIX nm treats weak defined symbols like other global
8837 # defined symbols, whereas GNU nm marks them as "W".
8838 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8839 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'
8841 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'
8843 aix_use_runtimelinking
=no
8845 # Test if we are trying to use run time linking or normal
8846 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8847 # need to do runtime linking.
8848 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8849 for ld_flag
in $LDFLAGS; do
8850 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8851 aix_use_runtimelinking
=yes
8858 exp_sym_flag
='-bexport'
8859 no_entry_flag
='-bnoentry'
8862 # When large executables or shared objects are built, AIX ld can
8863 # have problems creating the table of contents. If linking a library
8864 # or program results in "error TOC overflow" add -mminimal-toc to
8865 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8866 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8870 hardcode_direct_absolute
=yes
8871 hardcode_libdir_separator
=':'
8872 link_all_deplibs
=yes
8873 file_list_spec
='${wl}-f,'
8875 if test "$GCC" = yes; then
8876 case $host_os in aix4.
[012]|aix4.
[012].
*)
8877 # We only want to do this on AIX 4.2 and lower, the check
8878 # below for broken collect2 doesn't work under 4.3+
8879 collect2name
=`${CC} -print-prog-name=collect2`
8880 if test -f "$collect2name" &&
8881 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8883 # We have reworked collect2
8886 # We have old collect2
8887 hardcode_direct
=unsupported
8888 # It fails to find uninstalled libraries when the uninstalled
8889 # path is not listed in the libpath. Setting hardcode_minus_L
8890 # to unsupported forces relinking
8891 hardcode_minus_L
=yes
8892 hardcode_libdir_flag_spec
='-L$libdir'
8893 hardcode_libdir_separator
=
8897 shared_flag
='-shared'
8898 if test "$aix_use_runtimelinking" = yes; then
8899 shared_flag
="$shared_flag "'${wl}-G'
8904 if test "$host_cpu" = ia64
; then
8905 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8906 # chokes on -Wl,-G. The following line is correct:
8909 if test "$aix_use_runtimelinking" = yes; then
8910 shared_flag
='${wl}-G'
8912 shared_flag
='${wl}-bM:SRE'
8917 export_dynamic_flag_spec
='${wl}-bexpall'
8918 # It seems that -bexpall does not export symbols beginning with
8919 # underscore (_), so it is better to generate a list of symbols to export.
8920 always_export_symbols
=yes
8921 if test "$aix_use_runtimelinking" = yes; then
8922 # Warning - without using the other runtime loading flags (-brtl),
8923 # -berok will link without error, but may produce a broken library.
8924 allow_undefined_flag
='-berok'
8925 # Determine the default libpath from the value encoded in an
8927 if test "${lt_cv_aix_libpath+set}" = set; then
8928 aix_libpath
=$lt_cv_aix_libpath
8930 if ${lt_cv_aix_libpath_+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8944 if ac_fn_c_try_link
"$LINENO"; then :
8946 lt_aix_libpath_sed
='
8947 /Import File Strings/,/^$/ {
8949 s/^0 *\([^ ]*\) *$/\1/
8953 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8954 # Check for a 64-bit object if we didn't find anything.
8955 if test -z "$lt_cv_aix_libpath_"; then
8956 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8959 rm -f core conftest.err conftest.
$ac_objext \
8960 conftest
$ac_exeext conftest.
$ac_ext
8961 if test -z "$lt_cv_aix_libpath_"; then
8962 lt_cv_aix_libpath_
="/usr/lib:/lib"
8967 aix_libpath
=$lt_cv_aix_libpath_
8970 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8971 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"
8973 if test "$host_cpu" = ia64
; then
8974 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8975 allow_undefined_flag
="-z nodefs"
8976 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"
8978 # Determine the default libpath from the value encoded in an
8980 if test "${lt_cv_aix_libpath+set}" = set; then
8981 aix_libpath
=$lt_cv_aix_libpath
8983 if ${lt_cv_aix_libpath_+:} false
; then :
8984 $as_echo_n "(cached) " >&6
8986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8997 if ac_fn_c_try_link
"$LINENO"; then :
8999 lt_aix_libpath_sed
='
9000 /Import File Strings/,/^$/ {
9002 s/^0 *\([^ ]*\) *$/\1/
9006 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9007 # Check for a 64-bit object if we didn't find anything.
9008 if test -z "$lt_cv_aix_libpath_"; then
9009 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9012 rm -f core conftest.err conftest.
$ac_objext \
9013 conftest
$ac_exeext conftest.
$ac_ext
9014 if test -z "$lt_cv_aix_libpath_"; then
9015 lt_cv_aix_libpath_
="/usr/lib:/lib"
9020 aix_libpath
=$lt_cv_aix_libpath_
9023 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9024 # Warning - without using the other run time loading flags,
9025 # -berok will link without error, but may produce a broken library.
9026 no_undefined_flag
=' ${wl}-bernotok'
9027 allow_undefined_flag
=' ${wl}-berok'
9028 if test "$with_gnu_ld" = yes; then
9029 # We only use this code for GNU lds that support --whole-archive.
9030 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9032 # Exported symbols can be pulled into shared objects from archives
9033 whole_archive_flag_spec
='$convenience'
9035 archive_cmds_need_lc
=yes
9036 # This is similar to how AIX traditionally builds its shared libraries.
9037 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'
9045 # see comment about AmigaOS4 .so support
9046 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047 archive_expsym_cmds
=''
9050 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)'
9051 hardcode_libdir_flag_spec
='-L$libdir'
9052 hardcode_minus_L
=yes
9058 export_dynamic_flag_spec
=-rdynamic
9061 cygwin
* | mingw
* | pw32
* | cegcc
*)
9062 # When not using gcc, we currently assume that we are using
9063 # Microsoft Visual C++.
9064 # hardcode_libdir_flag_spec is actually meaningless, as there is
9065 # no search path for DLLs.
9066 case $cc_basename in
9069 hardcode_libdir_flag_spec
=' '
9070 allow_undefined_flag
=unsupported
9071 always_export_symbols
=yes
9073 # Tell ltmain to make .lib files, not .a files.
9075 # Tell ltmain to make .dll files, not .so files.
9077 # FIXME: Setting linknames here is a bad hack.
9078 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9079 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9080 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9082 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9084 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9086 # The linker will not automatically build a static lib if we build a DLL.
9087 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9088 enable_shared_with_static_runtimes
=yes
9089 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9090 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9092 old_postinstall_cmds
='chmod 644 $oldlib'
9093 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9094 lt_tool_outputfile="@TOOL_OUTPUT@"~
9095 case $lt_outputfile in
9098 lt_outputfile="$lt_outputfile.exe"
9099 lt_tool_outputfile="$lt_tool_outputfile.exe"
9102 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9103 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9104 $RM "$lt_outputfile.manifest";
9108 # Assume MSVC wrapper
9109 hardcode_libdir_flag_spec
=' '
9110 allow_undefined_flag
=unsupported
9111 # Tell ltmain to make .lib files, not .a files.
9113 # Tell ltmain to make .dll files, not .so files.
9115 # FIXME: Setting linknames here is a bad hack.
9116 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9117 # The linker will automatically build a .lib file if we build a DLL.
9118 old_archive_from_new_cmds
='true'
9119 # FIXME: Should let the user specify the lib program.
9120 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9121 enable_shared_with_static_runtimes
=yes
9126 darwin
* | rhapsody
*)
9129 archive_cmds_need_lc
=no
9131 hardcode_automatic
=yes
9132 hardcode_shlibpath_var
=unsupported
9133 if test "$lt_cv_ld_force_load" = "yes"; then
9134 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\"`'
9137 whole_archive_flag_spec
=''
9139 link_all_deplibs
=yes
9140 allow_undefined_flag
="$_lt_dar_allow_undefined"
9141 case $cc_basename in
9142 ifort
*) _lt_dar_can_shared
=yes ;;
9143 *) _lt_dar_can_shared
=$GCC ;;
9145 if test "$_lt_dar_can_shared" = "yes"; then
9146 output_verbose_link_cmd
=func_echo_all
9147 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9148 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9149 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}"
9150 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}"
9159 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9160 hardcode_libdir_flag_spec
='-L$libdir'
9161 hardcode_shlibpath_var
=no
9164 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9165 # support. Future versions do this automatically, but an explicit c++rt0.o
9166 # does not break anything, and helps significantly (at the cost of a little
9169 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9170 hardcode_libdir_flag_spec
='-R$libdir'
9172 hardcode_shlibpath_var
=no
9175 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9177 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9179 hardcode_minus_L
=yes
9180 hardcode_shlibpath_var
=no
9183 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9184 freebsd
* | dragonfly
*)
9185 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9186 hardcode_libdir_flag_spec
='-R$libdir'
9188 hardcode_shlibpath_var
=no
9192 if test "$GCC" = yes; then
9193 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'
9195 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'
9197 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator
=:
9201 # hardcode_minus_L: Not really in the search PATH,
9202 # but as the default location of the library.
9203 hardcode_minus_L
=yes
9204 export_dynamic_flag_spec
='${wl}-E'
9208 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9209 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9213 if test "$with_gnu_ld" = no
; then
9214 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9215 hardcode_libdir_separator
=:
9217 hardcode_direct_absolute
=yes
9218 export_dynamic_flag_spec
='${wl}-E'
9219 # hardcode_minus_L: Not really in the search PATH,
9220 # but as the default location of the library.
9221 hardcode_minus_L
=yes
9226 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9229 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9232 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9235 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9241 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9244 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9248 # Older versions of the 11.00 compiler do not understand -b yet
9249 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9251 $as_echo_n "checking if $CC understands -b... " >&6; }
9252 if ${lt_cv_prog_compiler__b+:} false
; then :
9253 $as_echo_n "(cached) " >&6
9255 lt_cv_prog_compiler__b
=no
9256 save_LDFLAGS
="$LDFLAGS"
9257 LDFLAGS
="$LDFLAGS -b"
9258 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9259 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9260 # The linker can only warn and ignore the option if not recognized
9261 # So say no if there are warnings
9262 if test -s conftest.err
; then
9263 # Append any errors to the config.log.
9264 cat conftest.err
1>&5
9265 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9266 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9267 if diff conftest.exp conftest.er2
>/dev
/null
; then
9268 lt_cv_prog_compiler__b
=yes
9271 lt_cv_prog_compiler__b
=yes
9275 LDFLAGS
="$save_LDFLAGS"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9279 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9281 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9282 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9284 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9290 if test "$with_gnu_ld" = no
; then
9291 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9292 hardcode_libdir_separator
=:
9297 hardcode_shlibpath_var
=no
9301 hardcode_direct_absolute
=yes
9302 export_dynamic_flag_spec
='${wl}-E'
9304 # hardcode_minus_L: Not really in the search PATH,
9305 # but as the default location of the library.
9306 hardcode_minus_L
=yes
9312 irix5
* | irix6
* | nonstopux
*)
9313 if test "$GCC" = yes; then
9314 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'
9315 # Try to use the -exported_symbol ld option, if it does not
9316 # work, assume that -exports_file does not work either and
9317 # implicitly export all symbols.
9318 # This should be the same for all languages, so no per-tag cache variable.
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9320 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9321 if ${lt_cv_irix_exported_symbol+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 save_LDFLAGS
="$LDFLAGS"
9325 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9328 int foo (void) { return 0; }
9330 if ac_fn_c_try_link
"$LINENO"; then :
9331 lt_cv_irix_exported_symbol
=yes
9333 lt_cv_irix_exported_symbol
=no
9335 rm -f core conftest.err conftest.
$ac_objext \
9336 conftest
$ac_exeext conftest.
$ac_ext
9337 LDFLAGS
="$save_LDFLAGS"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9340 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9341 if test "$lt_cv_irix_exported_symbol" = yes; then
9342 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'
9345 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'
9346 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'
9348 archive_cmds_need_lc
='no'
9349 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9350 hardcode_libdir_separator
=:
9352 link_all_deplibs
=yes
9355 netbsd
* | netbsdelf
*-gnu)
9356 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9357 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9359 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9361 hardcode_libdir_flag_spec
='-R$libdir'
9363 hardcode_shlibpath_var
=no
9367 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9369 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9370 hardcode_libdir_separator
=:
9371 hardcode_shlibpath_var
=no
9378 if test -f /usr
/libexec
/ld.so
; then
9380 hardcode_shlibpath_var
=no
9381 hardcode_direct_absolute
=yes
9382 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9383 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9385 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9386 export_dynamic_flag_spec
='${wl}-E'
9389 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9390 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_libdir_flag_spec
='-R$libdir'
9394 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9395 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9405 hardcode_libdir_flag_spec
='-L$libdir'
9406 hardcode_minus_L
=yes
9407 allow_undefined_flag
=unsupported
9408 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'
9409 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9413 if test "$GCC" = yes; then
9414 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9415 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'
9417 allow_undefined_flag
=' -expect_unresolved \*'
9418 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'
9420 archive_cmds_need_lc
='no'
9421 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9422 hardcode_libdir_separator
=:
9425 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9426 if test "$GCC" = yes; then
9427 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9428 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'
9429 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9431 allow_undefined_flag
=' -expect_unresolved \*'
9432 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'
9433 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~
9434 $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'
9436 # Both c and cxx compiler support -rpath directly
9437 hardcode_libdir_flag_spec
='-rpath $libdir'
9439 archive_cmds_need_lc
='no'
9440 hardcode_libdir_separator
=:
9444 no_undefined_flag
=' -z defs'
9445 if test "$GCC" = yes; then
9447 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9449 $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'
9451 case `$CC -V 2>&1` in
9454 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9455 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9456 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9460 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9461 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9462 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9466 hardcode_libdir_flag_spec
='-R$libdir'
9467 hardcode_shlibpath_var
=no
9469 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9471 # The compiler driver will combine and reorder linker options,
9472 # but understands `-z linker_flag'. GCC discards it without `$wl',
9473 # but is careful enough not to reorder.
9474 # Supported since Solaris 2.6 (maybe 2.5.1?)
9475 if test "$GCC" = yes; then
9476 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9478 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9482 link_all_deplibs
=yes
9486 if test "x$host_vendor" = xsequent
; then
9487 # Use $CC to link under sequent, because it throws in some extra .o
9488 # files that make .init and .fini sections work.
9489 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9491 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9493 hardcode_libdir_flag_spec
='-L$libdir'
9495 hardcode_minus_L
=yes
9496 hardcode_shlibpath_var
=no
9500 case $host_vendor in
9502 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_direct
=yes # is this really true???
9506 ## LD is ld it makes a PLAMLIB
9507 ## CC just makes a GrossModule.
9508 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9509 reload_cmds
='$CC -r -o $output$reload_objs'
9513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9514 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9517 runpath_var
='LD_RUN_PATH'
9518 hardcode_shlibpath_var
=no
9522 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9523 hardcode_shlibpath_var
=no
9524 export_dynamic_flag_spec
='-Bexport'
9528 if test -d /usr
/nec
; then
9529 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_shlibpath_var
=no
9531 runpath_var
=LD_RUN_PATH
9532 hardcode_runpath_var
=yes
9537 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9538 no_undefined_flag
='${wl}-z,text'
9539 archive_cmds_need_lc
=no
9540 hardcode_shlibpath_var
=no
9541 runpath_var
='LD_RUN_PATH'
9543 if test "$GCC" = yes; then
9544 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9547 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9552 sysv5
* | sco3.2v5
* | sco5v6
*)
9553 # Note: We can NOT use -z defs as we might desire, because we do not
9554 # link with -lc, and that would cause any symbols used from libc to
9555 # always be unresolved, which means just about no library would
9556 # ever link correctly. If we're not using GNU ld we use -z text
9557 # though, which does catch some bad symbols but isn't as heavy-handed
9559 no_undefined_flag
='${wl}-z,text'
9560 allow_undefined_flag
='${wl}-z,nodefs'
9561 archive_cmds_need_lc
=no
9562 hardcode_shlibpath_var
=no
9563 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9564 hardcode_libdir_separator
=':'
9565 link_all_deplibs
=yes
9566 export_dynamic_flag_spec
='${wl}-Bexport'
9567 runpath_var
='LD_RUN_PATH'
9569 if test "$GCC" = yes; then
9570 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9573 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9574 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9580 hardcode_libdir_flag_spec
='-L$libdir'
9581 hardcode_shlibpath_var
=no
9589 if test x
$host_vendor = xsni
; then
9591 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9592 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9599 $as_echo "$ld_shlibs" >&6; }
9600 test "$ld_shlibs" = no
&& can_build_shared
=no
9602 with_gnu_ld
=$with_gnu_ld
9619 # Do we need to explicitly link libc?
9621 case "x$archive_cmds_need_lc" in
9623 # Assume -lc should be added
9624 archive_cmds_need_lc
=yes
9626 if test "$enable_shared" = yes && test "$GCC" = yes; then
9627 case $archive_cmds in
9629 # FIXME: we may have to deal with multi-command sequences.
9632 # Test whether the compiler implicitly links with -lc since on some
9633 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9634 # to ld, don't add -lc before -lgcc.
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9636 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9637 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9644 (eval $ac_compile) 2>&5
9646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9647 test $ac_status = 0; } 2>conftest.err
; then
9650 libobjs
=conftest.
$ac_objext
9652 wl
=$lt_prog_compiler_wl
9653 pic_flag
=$lt_prog_compiler_pic
9659 lt_save_allow_undefined_flag
=$allow_undefined_flag
9660 allow_undefined_flag
=
9661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9662 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9665 test $ac_status = 0; }
9667 lt_cv_archive_cmds_need_lc
=no
9669 lt_cv_archive_cmds_need_lc
=yes
9671 allow_undefined_flag
=$lt_save_allow_undefined_flag
9673 cat conftest.err
1>&5
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9679 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9680 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9839 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9841 if test "$GCC" = yes; then
9843 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9844 *) lt_awk_arg
="/^libraries:/" ;;
9847 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9848 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9850 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9851 case $lt_search_path_spec in
9853 # if the path contains ";" then we assume it to be the separator
9854 # otherwise default to the standard path separator (i.e. ":") - it is
9855 # assumed that no part of a normal pathname contains ";" but that should
9856 # okay in the real world where ";" in dirpaths is itself problematic.
9857 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9860 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9863 # Ok, now we have the path, separated by spaces, we can step through it
9864 # and add multilib dir if necessary.
9865 lt_tmp_lt_search_path_spec
=
9866 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9867 for lt_sys_path
in $lt_search_path_spec; do
9868 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9869 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9871 test -d "$lt_sys_path" && \
9872 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9875 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9876 BEGIN {RS=" "; FS="/|\n";} {
9879 for (lt_i = NF; lt_i > 0; lt_i--) {
9880 if ($lt_i != "" && $lt_i != ".") {
9881 if ($lt_i == "..") {
9884 if (lt_count == 0) {
9885 lt_foo="/" $lt_i lt_foo;
9892 if (lt_foo != "") { lt_freq[lt_foo]++; }
9893 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9895 # AWK program above erroneously prepends '/' to C:/dos/paths
9898 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9899 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9901 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9903 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9906 libname_spec
='lib$name'
9914 shlibpath_overrides_runpath
=unknown
9916 dynamic_linker
="$host_os ld.so"
9917 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9918 need_lib_prefix
=unknown
9919 hardcode_into_libs
=no
9921 # when you set need_version to no, make sure it does not cause -set_version
9922 # flags to be left without arguments
9923 need_version
=unknown
9927 version_type
=linux
# correct to gnu/linux during the next big refactor
9928 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9929 shlibpath_var
=LIBPATH
9931 # AIX 3 has no versioning support, so we append a major version to the name.
9932 soname_spec
='${libname}${release}${shared_ext}$major'
9936 version_type
=linux
# correct to gnu/linux during the next big refactor
9939 hardcode_into_libs
=yes
9940 if test "$host_cpu" = ia64
; then
9941 # AIX 5 supports IA64
9942 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9943 shlibpath_var
=LD_LIBRARY_PATH
9945 # With GCC up to 2.95.x, collect2 would create an import file
9946 # for dependence libraries. The import file would start with
9947 # the line `#! .'. This would cause the generated library to
9948 # depend on `.', always an invalid library. This was fixed in
9949 # development snapshots of GCC prior to 3.0.
9951 aix4 | aix4.
[01] | aix4.
[01].
*)
9952 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9954 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9961 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9962 # soname into executable. Probably we can add versioning support to
9963 # collect2, so additional links can be useful in future.
9964 if test "$aix_use_runtimelinking" = yes; then
9965 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9966 # instead of lib<name>.a to let people know that these are not
9967 # typical AIX shared libraries.
9968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970 # We preserve .a as extension for shared libraries through AIX4.2
9971 # and later when we are not doing run time linking.
9972 library_names_spec
='${libname}${release}.a $libname.a'
9973 soname_spec
='${libname}${release}${shared_ext}$major'
9975 shlibpath_var
=LIBPATH
9982 # Since July 2007 AmigaOS4 officially supports .so libraries.
9983 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9987 library_names_spec
='$libname.ixlibrary $libname.a'
9988 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9989 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'
9995 library_names_spec
='${libname}${shared_ext}'
9996 dynamic_linker
="$host_os ld.so"
9997 shlibpath_var
=LIBRARY_PATH
10001 version_type
=linux
# correct to gnu/linux during the next big refactor
10003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10004 soname_spec
='${libname}${release}${shared_ext}$major'
10005 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10006 shlibpath_var
=LD_LIBRARY_PATH
10007 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10008 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10009 # the default ld.so.conf also contains /usr/contrib/lib and
10010 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10011 # libtool to hard-code these into programs
10014 cygwin
* | mingw
* | pw32
* | cegcc
*)
10015 version_type
=windows
10020 case $GCC,$cc_basename in
10023 library_names_spec
='$libname.dll.a'
10024 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10025 postinstall_cmds
='base_file=`basename \${file}`~
10026 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10027 dldir=$destdir/`dirname \$dlpath`~
10028 test -d \$dldir || mkdir -p \$dldir~
10029 $install_prog $dir/$dlname \$dldir/$dlname~
10030 chmod a+x \$dldir/$dlname~
10031 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10032 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10034 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10035 dlpath=$dir/\$dldll~
10037 shlibpath_overrides_runpath
=yes
10041 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10042 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10044 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10047 # MinGW DLLs use traditional 'lib' prefix
10048 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10051 # pw32 DLLs use 'pw' prefix rather than 'lib'
10052 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10055 dynamic_linker
='Win32 ld.exe'
10060 libname_spec
='$name'
10061 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10062 library_names_spec
='${libname}.dll.lib'
10066 sys_lib_search_path_spec
=
10069 for lt_path
in $LIB
10072 # Let DOS variable expansion print the short 8.3 style file name.
10073 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10074 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10077 # Convert to MSYS style.
10078 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10081 # Convert to unix form, then to dos form, then back to unix form
10082 # but this time dos style (no spaces!) so that the unix form looks
10083 # like /cygdrive/c/PROGRA~1:/cygdr...
10084 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10085 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10086 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10089 sys_lib_search_path_spec
="$LIB"
10090 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10091 # It is most probably a Windows format PATH.
10092 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10094 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10096 # FIXME: find the short name or the path components, as spaces are
10097 # common. (e.g. "Program Files" -> "PROGRA~1")
10101 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10102 postinstall_cmds
='base_file=`basename \${file}`~
10103 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10104 dldir=$destdir/`dirname \$dlpath`~
10105 test -d \$dldir || mkdir -p \$dldir~
10106 $install_prog $dir/$dlname \$dldir/$dlname'
10107 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10108 dlpath=$dir/\$dldll~
10110 shlibpath_overrides_runpath
=yes
10111 dynamic_linker
='Win32 link.exe'
10115 # Assume MSVC wrapper
10116 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10117 dynamic_linker
='Win32 ld.exe'
10120 # FIXME: first we should search . and the directory the executable is in
10124 darwin
* | rhapsody
*)
10125 dynamic_linker
="$host_os dyld"
10126 version_type
=darwin
10129 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10130 soname_spec
='${libname}${release}${major}$shared_ext'
10131 shlibpath_overrides_runpath
=yes
10132 shlibpath_var
=DYLD_LIBRARY_PATH
10133 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10135 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10136 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10140 version_type
=linux
# correct to gnu/linux during the next big refactor
10143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10144 soname_spec
='${libname}${release}${shared_ext}$major'
10145 shlibpath_var
=LD_LIBRARY_PATH
10148 freebsd
* | dragonfly
*)
10149 # DragonFly does not have aout. When/if they implement a new
10150 # versioning mechanism, adjust this.
10151 if test -x /usr
/bin
/objformat
; then
10152 objformat
=`/usr/bin/objformat`
10155 freebsd
[23].
*) objformat
=aout
;;
10156 *) objformat
=elf
;;
10159 version_type
=freebsd-
$objformat
10160 case $version_type in
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10167 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10171 shlibpath_var
=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath
=yes
10176 freebsd3.
[01]* | freebsdelf3.
[01]*)
10177 shlibpath_overrides_runpath
=yes
10178 hardcode_into_libs
=yes
10180 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10181 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10182 shlibpath_overrides_runpath
=no
10183 hardcode_into_libs
=yes
10185 *) # from 4.6 on, and DragonFly
10186 shlibpath_overrides_runpath
=yes
10187 hardcode_into_libs
=yes
10193 version_type
=linux
# correct to gnu/linux during the next big refactor
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10197 soname_spec
='${libname}${release}${shared_ext}$major'
10198 shlibpath_var
=LD_LIBRARY_PATH
10199 shlibpath_overrides_runpath
=no
10200 hardcode_into_libs
=yes
10204 version_type
=linux
# correct to gnu/linux during the next big refactor
10207 dynamic_linker
="$host_os runtime_loader"
10208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10209 soname_spec
='${libname}${release}${shared_ext}$major'
10210 shlibpath_var
=LIBRARY_PATH
10211 shlibpath_overrides_runpath
=yes
10212 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10213 hardcode_into_libs
=yes
10216 hpux9
* | hpux10
* | hpux11
*)
10217 # Give a soname corresponding to the major version so that dld.sl refuses to
10218 # link against other versions.
10225 hardcode_into_libs
=yes
10226 dynamic_linker
="$host_os dld.so"
10227 shlibpath_var
=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10230 soname_spec
='${libname}${release}${shared_ext}$major'
10231 if test "X$HPUX_IA64_MODE" = X32
; then
10232 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10234 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10236 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10240 hardcode_into_libs
=yes
10241 dynamic_linker
="$host_os dld.sl"
10242 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10243 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10245 soname_spec
='${libname}${release}${shared_ext}$major'
10246 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10247 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10251 dynamic_linker
="$host_os dld.sl"
10252 shlibpath_var
=SHLIB_PATH
10253 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10255 soname_spec
='${libname}${release}${shared_ext}$major'
10258 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10259 postinstall_cmds
='chmod 555 $lib'
10260 # or fails outright, so override atomically:
10261 install_override_mode
=555
10265 version_type
=linux
# correct to gnu/linux during the next big refactor
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10271 shlibpath_var
=LD_LIBRARY_PATH
10272 shlibpath_overrides_runpath
=no
10273 hardcode_into_libs
=yes
10276 irix5
* | irix6
* | nonstopux
*)
10278 nonstopux
*) version_type
=nonstopux
;;
10280 if test "$lt_cv_prog_gnu_ld" = yes; then
10281 version_type
=linux
# correct to gnu/linux during the next big refactor
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10291 irix5
* | nonstopux
*)
10292 libsuff
= shlibsuff
=
10295 case $LD in # libtool.m4 will add one of these switches to LD
10296 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10297 libsuff
= shlibsuff
= libmagic
=32-bit;;
10298 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10299 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10300 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10301 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10302 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10306 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10307 shlibpath_overrides_runpath
=no
10308 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10309 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10310 hardcode_into_libs
=yes
10313 # No shared lib support for Linux oldld, aout, or coff.
10314 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10318 # This must be glibc/ELF.
10319 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10320 version_type
=linux
# correct to gnu/linux during the next big refactor
10323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10324 soname_spec
='${libname}${release}${shared_ext}$major'
10325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10326 shlibpath_var
=LD_LIBRARY_PATH
10327 shlibpath_overrides_runpath
=no
10329 # Some binutils ld are patched to set DT_RUNPATH
10330 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10331 $as_echo_n "(cached) " >&6
10333 lt_cv_shlibpath_overrides_runpath
=no
10334 save_LDFLAGS
=$LDFLAGS
10335 save_libdir
=$libdir
10336 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10337 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10349 if ac_fn_c_try_link
"$LINENO"; then :
10350 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10351 lt_cv_shlibpath_overrides_runpath
=yes
10354 rm -f core conftest.err conftest.
$ac_objext \
10355 conftest
$ac_exeext conftest.
$ac_ext
10356 LDFLAGS
=$save_LDFLAGS
10357 libdir
=$save_libdir
10361 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10363 # This implies no fast_install, which is unacceptable.
10364 # Some rework will be needed to allow for fast_install
10365 # before this can be enabled.
10366 hardcode_into_libs
=yes
10368 # Append ld.so.conf contents to the search path
10369 if test -f /etc
/ld.so.conf
; then
10370 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' ' '`
10371 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10374 # We used to test for /lib/ld.so.1 and disable shared libraries on
10375 # powerpc, because MkLinux only supported shared libraries with the
10376 # GNU dynamic linker. Since this was broken with cross compilers,
10377 # most powerpc-linux boxes support dynamic linking these days and
10378 # people can always --disable-shared, the test was removed, and we
10379 # assume the GNU/Linux dynamic linker is in use.
10380 dynamic_linker
='GNU/Linux ld.so'
10387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10388 soname_spec
='${libname}${release}${shared_ext}$major'
10389 shlibpath_var
=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath
=no
10391 hardcode_into_libs
=yes
10392 dynamic_linker
='NetBSD ld.elf_so'
10399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10402 dynamic_linker
='NetBSD (a.out) ld.so'
10404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10405 soname_spec
='${libname}${release}${shared_ext}$major'
10406 dynamic_linker
='NetBSD ld.elf_so'
10408 shlibpath_var
=LD_LIBRARY_PATH
10409 shlibpath_overrides_runpath
=yes
10410 hardcode_into_libs
=yes
10414 version_type
=linux
# correct to gnu/linux during the next big refactor
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 shlibpath_var
=LD_LIBRARY_PATH
10417 shlibpath_overrides_runpath
=yes
10424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 shlibpath_var
=LD_LIBRARY_PATH
10427 shlibpath_overrides_runpath
=no
10428 hardcode_into_libs
=yes
10429 dynamic_linker
='ldqnx.so'
10434 sys_lib_dlsearch_path_spec
="/usr/lib"
10436 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10438 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10439 *) need_version
=no
;;
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10443 shlibpath_var
=LD_LIBRARY_PATH
10444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10446 openbsd2.
[89] | openbsd2.
[89].
*)
10447 shlibpath_overrides_runpath
=no
10450 shlibpath_overrides_runpath
=yes
10454 shlibpath_overrides_runpath
=yes
10459 libname_spec
='$name'
10462 library_names_spec
='$libname${shared_ext} $libname.a'
10463 dynamic_linker
='OS/2 ld.exe'
10464 shlibpath_var
=LIBPATH
10467 osf3
* | osf4
* | osf5
*)
10471 soname_spec
='${libname}${release}${shared_ext}$major'
10472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10475 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10483 version_type
=linux
# correct to gnu/linux during the next big refactor
10486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487 soname_spec
='${libname}${release}${shared_ext}$major'
10488 shlibpath_var
=LD_LIBRARY_PATH
10489 shlibpath_overrides_runpath
=yes
10490 hardcode_into_libs
=yes
10491 # ldd complains unless libraries are executable
10492 postinstall_cmds
='chmod +x $lib'
10497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10498 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10499 shlibpath_var
=LD_LIBRARY_PATH
10500 shlibpath_overrides_runpath
=yes
10501 if test "$with_gnu_ld" = yes; then
10508 version_type
=linux
# correct to gnu/linux during the next big refactor
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10512 case $host_vendor in
10514 shlibpath_overrides_runpath
=no
10516 runpath_var
=LD_RUN_PATH
10524 shlibpath_overrides_runpath
=no
10525 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10531 if test -d /usr
/nec
;then
10532 version_type
=linux
# correct to gnu/linux during the next big refactor
10533 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10534 soname_spec
='$libname${shared_ext}.$major'
10535 shlibpath_var
=LD_LIBRARY_PATH
10539 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10540 version_type
=freebsd-elf
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=yes
10547 hardcode_into_libs
=yes
10548 if test "$with_gnu_ld" = yes; then
10549 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10551 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10554 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10558 sys_lib_dlsearch_path_spec
='/usr/lib'
10562 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10563 version_type
=linux
# correct to gnu/linux during the next big refactor
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 shlibpath_overrides_runpath
=no
10569 hardcode_into_libs
=yes
10573 version_type
=linux
# correct to gnu/linux during the next big refactor
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 shlibpath_var
=LD_LIBRARY_PATH
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10584 $as_echo "$dynamic_linker" >&6; }
10585 test "$dynamic_linker" = no
&& can_build_shared
=no
10587 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10588 if test "$GCC" = yes; then
10589 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10592 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10593 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10595 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10596 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10691 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10693 if test -n "$hardcode_libdir_flag_spec" ||
10694 test -n "$runpath_var" ||
10695 test "X$hardcode_automatic" = "Xyes" ; then
10697 # We can hardcode non-existent directories.
10698 if test "$hardcode_direct" != no
&&
10699 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10700 # have to relink, otherwise we might link with an installed library
10701 # when we should be linking with a yet-to-be-installed one
10702 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10703 test "$hardcode_minus_L" != no
; then
10704 # Linking always hardcodes the temporary library directory.
10705 hardcode_action
=relink
10707 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10708 hardcode_action
=immediate
10711 # We cannot hardcode anything, or else we can only hardcode existing
10713 hardcode_action
=unsupported
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10716 $as_echo "$hardcode_action" >&6; }
10718 if test "$hardcode_action" = relink ||
10719 test "$inherit_rpath" = yes; then
10720 # Fast installation is not supported
10721 enable_fast_install
=no
10722 elif test "$shlibpath_overrides_runpath" = yes ||
10723 test "$enable_shared" = no
; then
10724 # Fast installation is not necessary
10725 enable_fast_install
=needless
10733 if test "x$enable_dlopen" != xyes
; then
10734 enable_dlopen
=unknown
10735 enable_dlopen_self
=unknown
10736 enable_dlopen_self_static
=unknown
10743 lt_cv_dlopen
="load_add_on"
10745 lt_cv_dlopen_self
=yes
10748 mingw
* | pw32
* | cegcc
*)
10749 lt_cv_dlopen
="LoadLibrary"
10754 lt_cv_dlopen
="dlopen"
10759 # if libdl is installed we need to link against it
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10761 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10762 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10763 $as_echo_n "(cached) " >&6
10765 ac_check_lib_save_LIBS
=$LIBS
10767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10785 if ac_fn_c_try_link
"$LINENO"; then :
10786 ac_cv_lib_dl_dlopen
=yes
10788 ac_cv_lib_dl_dlopen
=no
10790 rm -f core conftest.err conftest.
$ac_objext \
10791 conftest
$ac_exeext conftest.
$ac_ext
10792 LIBS
=$ac_check_lib_save_LIBS
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10795 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10796 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10797 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10800 lt_cv_dlopen
="dyld"
10802 lt_cv_dlopen_self
=yes
10809 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10810 if test "x$ac_cv_func_shl_load" = xyes
; then :
10811 lt_cv_dlopen
="shl_load"
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10814 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10815 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 ac_check_lib_save_LIBS
=$LIBS
10820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10833 return shl_load ();
10838 if ac_fn_c_try_link
"$LINENO"; then :
10839 ac_cv_lib_dld_shl_load
=yes
10841 ac_cv_lib_dld_shl_load
=no
10843 rm -f core conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10848 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10849 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10850 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10852 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10853 if test "x$ac_cv_func_dlopen" = xyes
; then :
10854 lt_cv_dlopen
="dlopen"
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10857 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10858 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10859 $as_echo_n "(cached) " >&6
10861 ac_check_lib_save_LIBS
=$LIBS
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10881 if ac_fn_c_try_link
"$LINENO"; then :
10882 ac_cv_lib_dl_dlopen
=yes
10884 ac_cv_lib_dl_dlopen
=no
10886 rm -f core conftest.err conftest.
$ac_objext \
10887 conftest
$ac_exeext conftest.
$ac_ext
10888 LIBS
=$ac_check_lib_save_LIBS
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10891 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10892 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10893 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10896 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10897 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10898 $as_echo_n "(cached) " >&6
10900 ac_check_lib_save_LIBS
=$LIBS
10901 LIBS
="-lsvld $LIBS"
10902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10905 /* Override any GCC internal prototype to avoid an error.
10906 Use char because int might match the return type of a GCC
10907 builtin and then its argument prototype would still apply. */
10920 if ac_fn_c_try_link
"$LINENO"; then :
10921 ac_cv_lib_svld_dlopen
=yes
10923 ac_cv_lib_svld_dlopen
=no
10925 rm -f core conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LIBS
=$ac_check_lib_save_LIBS
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10930 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10931 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10932 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10935 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10936 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10937 $as_echo_n "(cached) " >&6
10939 ac_check_lib_save_LIBS
=$LIBS
10941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10954 return dld_link ();
10959 if ac_fn_c_try_link
"$LINENO"; then :
10960 ac_cv_lib_dld_dld_link
=yes
10962 ac_cv_lib_dld_dld_link
=no
10964 rm -f core conftest.err conftest.
$ac_objext \
10965 conftest
$ac_exeext conftest.
$ac_ext
10966 LIBS
=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10969 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10970 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10971 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10992 if test "x$lt_cv_dlopen" != xno
; then
10998 case $lt_cv_dlopen in
11000 save_CPPFLAGS
="$CPPFLAGS"
11001 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11003 save_LDFLAGS
="$LDFLAGS"
11004 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11007 LIBS
="$lt_cv_dlopen_libs $LIBS"
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11010 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11011 if ${lt_cv_dlopen_self+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 if test "$cross_compiling" = yes; then :
11015 lt_cv_dlopen_self
=cross
11017 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11018 lt_status
=$lt_dlunknown
11019 cat > conftest.
$ac_ext <<_LT_EOF
11020 #line $LINENO "configure"
11021 #include "confdefs.h"
11030 # define LT_DLGLOBAL RTLD_GLOBAL
11033 # define LT_DLGLOBAL DL_GLOBAL
11035 # define LT_DLGLOBAL 0
11039 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11040 find out it does not work in some platform. */
11041 #ifndef LT_DLLAZY_OR_NOW
11043 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11046 # define LT_DLLAZY_OR_NOW DL_LAZY
11049 # define LT_DLLAZY_OR_NOW RTLD_NOW
11052 # define LT_DLLAZY_OR_NOW DL_NOW
11054 # define LT_DLLAZY_OR_NOW 0
11061 /* When -fvisbility=hidden is used, assume the code has been annotated
11062 correspondingly for the symbols needed. */
11063 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11064 int fnord () __attribute__((visibility("default")));
11067 int fnord () { return 42; }
11070 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11071 int status = $lt_dlunknown;
11075 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11078 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11079 else puts (dlerror ());
11081 /* dlclose (self); */
11089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11090 (eval $ac_link) 2>&5
11092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11093 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11094 (.
/conftest
; exit; ) >&5 2>/dev
/null
11096 case x
$lt_status in
11097 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11098 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11099 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11102 # compilation failed
11103 lt_cv_dlopen_self
=no
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11111 $as_echo "$lt_cv_dlopen_self" >&6; }
11113 if test "x$lt_cv_dlopen_self" = xyes
; then
11114 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11116 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11117 if ${lt_cv_dlopen_self_static+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 if test "$cross_compiling" = yes; then :
11121 lt_cv_dlopen_self_static
=cross
11123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11124 lt_status
=$lt_dlunknown
11125 cat > conftest.
$ac_ext <<_LT_EOF
11126 #line $LINENO "configure"
11127 #include "confdefs.h"
11136 # define LT_DLGLOBAL RTLD_GLOBAL
11139 # define LT_DLGLOBAL DL_GLOBAL
11141 # define LT_DLGLOBAL 0
11145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11146 find out it does not work in some platform. */
11147 #ifndef LT_DLLAZY_OR_NOW
11149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11152 # define LT_DLLAZY_OR_NOW DL_LAZY
11155 # define LT_DLLAZY_OR_NOW RTLD_NOW
11158 # define LT_DLLAZY_OR_NOW DL_NOW
11160 # define LT_DLLAZY_OR_NOW 0
11167 /* When -fvisbility=hidden is used, assume the code has been annotated
11168 correspondingly for the symbols needed. */
11169 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11170 int fnord () __attribute__((visibility("default")));
11173 int fnord () { return 42; }
11176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11177 int status = $lt_dlunknown;
11181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11185 else puts (dlerror ());
11187 /* dlclose (self); */
11195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11196 (eval $ac_link) 2>&5
11198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11199 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11200 (.
/conftest
; exit; ) >&5 2>/dev
/null
11202 case x
$lt_status in
11203 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11204 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11205 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11208 # compilation failed
11209 lt_cv_dlopen_self_static
=no
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11217 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11220 CPPFLAGS
="$save_CPPFLAGS"
11221 LDFLAGS
="$save_LDFLAGS"
11226 case $lt_cv_dlopen_self in
11227 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11228 *) enable_dlopen_self
=unknown
;;
11231 case $lt_cv_dlopen_self_static in
11232 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11233 *) enable_dlopen_self_static
=unknown
;;
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11256 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11257 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11258 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11259 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11261 $as_echo "yes" >&6; }
11263 # FIXME - insert some real tests, host_os isn't really good enough
11266 if test -n "$STRIP" ; then
11267 striplib
="$STRIP -x"
11268 old_striplib
="$STRIP -S"
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11270 $as_echo "yes" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11278 $as_echo "no" >&6; }
11294 # Report which library types will actually be built
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11296 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11298 $as_echo "$can_build_shared" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11301 $as_echo_n "checking whether to build shared libraries... " >&6; }
11302 test "$can_build_shared" = "no" && enable_shared
=no
11304 # On AIX, shared libraries and static libraries use the same namespace, and
11305 # are all built from PIC.
11308 test "$enable_shared" = yes && enable_static
=no
11309 if test -n "$RANLIB"; then
11310 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11311 postinstall_cmds
='$RANLIB $lib'
11316 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11317 test "$enable_shared" = yes && enable_static
=no
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11322 $as_echo "$enable_shared" >&6; }
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11325 $as_echo_n "checking whether to build static libraries... " >&6; }
11326 # Make sure either enable_shared or enable_static is yes.
11327 test "$enable_shared" = yes || enable_static
=yes
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11329 $as_echo "$enable_static" >&6; }
11336 ac_cpp
='$CPP $CPPFLAGS'
11337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11357 ac_config_commands
="$ac_config_commands libtool"
11362 # Only expand once:
11366 if test "x$CC" != xcc
; then
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11368 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11371 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11373 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11374 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11375 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11389 # Make sure it works both with $CC and with simple cc.
11390 # We do the test twice because some compilers refuse to overwrite an
11391 # existing .o file with -o, though they will create one.
11392 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11394 if { { case "(($ac_try" in
11395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11396 *) ac_try_echo=$ac_try;;
11398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11399 $as_echo "$ac_try_echo"; } >&5
11400 (eval "$ac_try") 2>&5
11402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11403 test $ac_status = 0; } &&
11404 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11406 *) ac_try_echo
=$ac_try;;
11408 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11409 $as_echo "$ac_try_echo"; } >&5
11410 (eval "$ac_try") 2>&5
11412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11413 test $ac_status = 0; };
11415 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11416 if test "x$CC" != xcc
; then
11417 # Test first that cc exists at all.
11418 if { ac_try
='cc -c conftest.$ac_ext >&5'
11419 { { case "(($ac_try" in
11420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11421 *) ac_try_echo=$ac_try;;
11423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11424 $as_echo "$ac_try_echo"; } >&5
11425 (eval "$ac_try") 2>&5
11427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11428 test $ac_status = 0; }; }; then
11429 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11431 if { { case "(($ac_try" in
11432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11433 *) ac_try_echo
=$ac_try;;
11435 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11436 $as_echo "$ac_try_echo"; } >&5
11437 (eval "$ac_try") 2>&5
11439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11440 test $ac_status = 0; } &&
11441 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11443 *) ac_try_echo=$ac_try;;
11445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11446 $as_echo "$ac_try_echo"; } >&5
11447 (eval "$ac_try") 2>&5
11449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450 test $ac_status = 0; };
11455 # cc exists but doesn't like -o.
11456 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11461 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11463 rm -f core conftest*
11466 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11468 $as_echo "yes" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11471 $as_echo "no" >&6; }
11473 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11477 # FIXME: we rely on the cache variable name because
11478 # there is no other way.
11480 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11481 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11482 if test "$am_t" != yes; then
11483 # Losing compiler, so override with the script.
11484 # FIXME: It is wrong to rewrite CC.
11485 # But if we don't then we get into trouble of one sort or another.
11486 # A longer-term fix would be to have automake use am__CC in this case,
11487 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11488 CC="$am_aux_dir/compile $CC"
11499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11500 if test -n "$ac_tool_prefix"; then
11501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11502 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11504 $as_echo_n "checking for $ac_word... " >&6; }
11505 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11506 $as_echo_n "(cached) " >&6
11508 case $PKG_CONFIG in
11510 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11514 for as_dir in $PATH
11517 test -z "$as_dir" && as_dir=.
11518 for ac_exec_ext in '' $ac_executable_extensions; do
11519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11520 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11531 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11532 if test -n "$PKG_CONFIG"; then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11534 $as_echo "$PKG_CONFIG" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11542 if test -z "$ac_cv_path_PKG_CONFIG"; then
11543 ac_pt_PKG_CONFIG=$PKG_CONFIG
11544 # Extract the first word of "pkg-config", so it can be a program name with args.
11545 set dummy pkg-config; ac_word=$2
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11547 $as_echo_n "checking for $ac_word... " >&6; }
11548 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11549 $as_echo_n "(cached) " >&6
11551 case $ac_pt_PKG_CONFIG in
11553 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11557 for as_dir in $PATH
11560 test -z "$as_dir" && as_dir=.
11561 for ac_exec_ext in '' $ac_executable_extensions; do
11562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11563 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11574 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11575 if test -n "$ac_pt_PKG_CONFIG"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11577 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11583 if test "x$ac_pt_PKG_CONFIG" = x; then
11586 case $cross_compiling:$ac_tool_warned in
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11590 ac_tool_warned=yes ;;
11592 PKG_CONFIG=$ac_pt_PKG_CONFIG
11595 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11599 if test -n "$PKG_CONFIG"; then
11600 _pkg_min_version=0.9.0
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11602 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11605 $as_echo "yes" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608 $as_echo "no" >&6; }
11613 # Work around stupid autoconf default cflags. pt 2
11614 if test "$SAVE_CFLAGS" = "x"; then
11618 # We always want 64 bit file offsets
11619 CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
11621 # Extract the first word of "rpcgen", so it can be a program name with args.
11622 set dummy rpcgen; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if ${ac_cv_prog_HAVE_RPCGEN+:} false; then :
11626 $as_echo_n "(cached) " >&6
11628 if test -n "$HAVE_RPCGEN"; then
11629 ac_cv_prog_HAVE_RPCGEN="$HAVE_RPCGEN" # Let the user override the test.
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11635 test -z "$as_dir" && as_dir=.
11636 for ac_exec_ext in '' $ac_executable_extensions; do
11637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11638 ac_cv_prog_HAVE_RPCGEN="yes"
11639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11646 test -z "$ac_cv_prog_HAVE_RPCGEN" && ac_cv_prog_HAVE_RPCGEN="no"
11649 HAVE_RPCGEN=$ac_cv_prog_HAVE_RPCGEN
11650 if test -n "$HAVE_RPCGEN"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPCGEN" >&5
11652 $as_echo "$HAVE_RPCGEN" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11655 $as_echo "no" >&6; }
11659 if test x$HAVE_RPCGEN != xyes; then
11660 as_fn_error $? "Can not find required program" "$LINENO" 5
11664 # Check whether --enable-examples was given.
11665 if test "${enable_examples+set}" = set; then :
11666 enableval=$enable_examples; ENABLE_EXAMPLES=$enableval
11668 ENABLE_EXAMPLES="no"
11672 if test x$ENABLE_EXAMPLES = xyes; then
11673 MAYBE_EXAMPLES="examples"
11677 # Check whether --enable-tirpc was given.
11678 if test "${enable_tirpc+set}" = set; then :
11679 enableval=$enable_tirpc; enable_tirpc=$enableval
11687 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11690 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11693 for ac_header in sys/filio.h
11695 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
11696 if test "x$ac_cv_header_sys_filio_h" = xyes; then :
11697 cat >>confdefs.h <<_ACEOF
11698 #define HAVE_SYS_FILIO_H 1
11705 for ac_header in sys/sockio.h
11707 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
11708 if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
11709 cat >>confdefs.h <<_ACEOF
11710 #define HAVE_SYS_SOCKIO_H 1
11717 if test x$ENABLE_EXAMPLES = xyes; then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
11719 $as_echo_n "checking for main in -lsocket... " >&6; }
11720 if ${ac_cv_lib_socket_main+:} false; then :
11721 $as_echo_n "(cached) " >&6
11723 ac_check_lib_save_LIBS=$LIBS
11724 LIBS="-lsocket $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 ac_cv_lib_socket_main=yes
11740 ac_cv_lib_socket_main=no
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
11747 $as_echo "$ac_cv_lib_socket_main" >&6; }
11748 if test "x$ac_cv_lib_socket_main" = xyes; then :
11749 cat >>confdefs.h <<_ACEOF
11750 #define HAVE_LIBSOCKET 1
11753 LIBS="-lsocket $LIBS"
11756 as_fn_error $? "Can not find required library" "$LINENO" 5
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
11760 $as_echo_n "checking for main in -lnsl... " >&6; }
11761 if ${ac_cv_lib_nsl_main+:} false; then :
11762 $as_echo_n "(cached) " >&6
11764 ac_check_lib_save_LIBS=$LIBS
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_lib_nsl_main=yes
11781 ac_cv_lib_nsl_main=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
11788 $as_echo "$ac_cv_lib_nsl_main" >&6; }
11789 if test "x$ac_cv_lib_nsl_main" = xyes; then :
11790 cat >>confdefs.h <<_ACEOF
11791 #define HAVE_LIBNSL 1
11797 as_fn_error $? "Can not find required library" "$LINENO" 5
11809 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
11810 #include <sys/types.h>
11811 #include <sys/socket.h>
11814 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
11816 $as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
11821 LIBNFS_PC_REQ_PRIVATE=
11823 if test "$enable_tirpc" = "yes"; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIRPC" >&5
11827 $as_echo_n "checking for TIRPC... " >&6; }
11829 if test -n "$TIRPC_CFLAGS"; then
11830 pkg_cv_TIRPC_CFLAGS="$TIRPC_CFLAGS"
11831 elif test -n "$PKG_CONFIG"; then
11832 if test -n "$PKG_CONFIG" && \
11833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
11834 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; }; then
11838 pkg_cv_TIRPC_CFLAGS=`$PKG_CONFIG --cflags "libtirpc" 2>/dev
/null
`
11839 test "x$?" != "x0" && pkg_failed=yes
11846 if test -n "$TIRPC_LIBS"; then
11847 pkg_cv_TIRPC_LIBS="$TIRPC_LIBS"
11848 elif test -n "$PKG_CONFIG"; then
11849 if test -n "$PKG_CONFIG" && \
11850 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
11851 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11854 test $ac_status = 0; }; then
11855 pkg_cv_TIRPC_LIBS=`$PKG_CONFIG --libs "libtirpc" 2>/dev
/null
`
11856 test "x$?" != "x0" && pkg_failed=yes
11866 if test $pkg_failed = yes; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11871 _pkg_short_errors_supported=yes
11873 _pkg_short_errors_supported=no
11875 if test $_pkg_short_errors_supported = yes; then
11876 TIRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtirpc" 2>&1`
11878 TIRPC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtirpc" 2>&1`
11880 # Put the nasty error message in config.log where it belongs
11881 echo "$TIRPC_PKG_ERRORS" >&5
11883 as_fn_error $? "unable to locate libtirpc files" "$LINENO" 5
11884 elif test $pkg_failed = untried; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11886 $as_echo "no" >&6; }
11887 as_fn_error $? "unable to locate libtirpc files" "$LINENO" 5
11889 TIRPC_CFLAGS=$pkg_cv_TIRPC_CFLAGS
11890 TIRPC_LIBS=$pkg_cv_TIRPC_LIBS
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11892 $as_echo "yes" >&6; }
11895 CFLAGS="${CFLAGS} ${TIRPC_CFLAGS}"
11896 LIBS="${LIBS} ${TIRPC_LIBS}"
11897 LIBNFS_PC_REQ_PRIVATE="${LIBNFS_PC_REQ_PRIVATE} libtirpc"
11903 ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile mount/Makefile nfs/Makefile portmap/Makefile rquota/Makefile examples/Makefile"
11906 ac_config_files="$ac_config_files libnfs.pc"
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11918 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, we kill variables containing newlines.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11930 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11931 eval ac_val
=\$
$ac_var
11935 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11939 _ | IFS | as_nl
) ;; #(
11940 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11941 *) { eval $ac_var=; unset $ac_var;} ;;
11947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11948 *${as_nl}ac_space
=\
*)
11949 # `set' does not quote correctly, so add quotes: double-quote
11950 # substitution turns \\\\ into \\, and sed turns \\ into \.
11953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11956 # `set' quotes correctly as required by POSIX, so do not add quotes.
11957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11970 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11971 if test -w "$cache_file"; then
11972 if test "x$cache_file" != "x/dev/null"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11974 $as_echo "$as_me: updating cache $cache_file" >&6;}
11975 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11976 cat confcache
>"$cache_file"
11978 case $cache_file in #(
11980 mv -f confcache
"$cache_file"$$
&&
11981 mv -f "$cache_file"$$
"$cache_file" ;; #(
11983 mv -f confcache
"$cache_file" ;;
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11994 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11995 # Let make expand exec_prefix.
11996 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11998 DEFS
=-DHAVE_CONFIG_H
12003 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12004 # 1. Remove the extension, and $U if already installed.
12005 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12006 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12007 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12008 # will be set to the directory where LIBOBJS objects are built.
12009 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12010 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12012 LIBOBJS
=$ac_libobjs
12014 LTLIBOBJS
=$ac_ltlibobjs
12017 if test -n "$EXEEXT"; then
12019 am__EXEEXT_FALSE
='#'
12021 am__EXEEXT_TRUE
='#'
12025 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12026 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12029 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12030 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12034 : "${CONFIG_STATUS=./config.status}"
12036 ac_clean_files_save
=$ac_clean_files
12037 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12039 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12041 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12043 # Generated by $as_me.
12044 # Run this file to recreate the current configuration.
12045 # Compiler output produced by configure, useful for debugging
12046 # configure, is in config.log if it exists.
12049 ac_cs_recheck=false
12052 SHELL=\${CONFIG_SHELL-$SHELL}
12055 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12056 ## -------------------- ##
12057 ## M4sh Initialization. ##
12058 ## -------------------- ##
12060 # Be more Bourne compatible
12061 DUALCASE
=1; export DUALCASE
# for MKS sh
12062 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12065 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12066 # is contrary to our usage. Disable this feature.
12067 alias -g '${1+"$@"}'='"$@"'
12068 setopt NO_GLOB_SUBST
12070 case `(set -o) 2>/dev/null` in #(
12082 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12083 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12086 # Prefer a ksh shell builtin over an external printf program on Solaris,
12087 # but without wasting forks for bash or zsh.
12088 if test -z "$BASH_VERSION$ZSH_VERSION" \
12089 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12090 as_echo='print
-r --'
12091 as_echo_n='print
-rn --'
12092 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12093 as_echo='printf %s
\n'
12094 as_echo_n='printf %s
'
12096 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12097 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12098 as_echo_n='/usr
/ucb
/echo -n'
12100 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12101 as_echo_n_body='eval
12105 expr "X$arg" : "X\\(.*\\)$as_nl";
12106 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12108 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12110 export as_echo_n_body
12111 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12113 export as_echo_body
12114 as_echo='sh
-c $as_echo_body as_echo
'
12117 # The user is always right.
12118 if test "${PATH_SEPARATOR+set}" != set; then
12120 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12121 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12128 # We need space, tab and new line, in precisely that order. Quoting is
12129 # there to prevent editors from complaining about space-tab.
12130 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12131 # splitting by setting IFS to empty value.)
12134 # Find who we are. Look in the path if we contain no directory separator.
12137 *[\\/]* ) as_myself=$0 ;;
12138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12139 for as_dir in $PATH
12142 test -z "$as_dir" && as_dir=.
12143 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12149 # We did not find ourselves, most probably we were run as `sh COMMAND'
12150 # in which case we are not to be found in the path.
12151 if test "x$as_myself" = x
; then
12154 if test ! -f "$as_myself"; then
12155 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12159 # Unset variables that we do not need and which cause bugs (e.g. in
12160 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12161 # suppresses any "Segmentation fault" message there. '((' could
12162 # trigger a bug in pdksh 5.2.14.
12163 for as_var
in BASH_ENV ENV MAIL MAILPATH
12164 do eval test x\
${$as_var+set} = xset \
12165 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12178 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12181 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12182 # ----------------------------------------
12183 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12184 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12185 # script with STATUS, using 1 if that was 0.
12188 as_status
=$1; test $as_status -eq 0 && as_status
=1
12190 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12191 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12193 $as_echo "$as_me: error: $2" >&2
12194 as_fn_exit
$as_status
12198 # as_fn_set_status STATUS
12199 # -----------------------
12200 # Set $? to STATUS, without forking.
12201 as_fn_set_status
()
12204 } # as_fn_set_status
12206 # as_fn_exit STATUS
12207 # -----------------
12208 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12212 as_fn_set_status
$1
12218 # Portably unset VAR.
12221 { eval $1=; unset $1;}
12223 as_unset
=as_fn_unset
12224 # as_fn_append VAR VALUE
12225 # ----------------------
12226 # Append the text in VALUE to the end of the definition contained in VAR. Take
12227 # advantage of any shell optimizations that allow amortized linear growth over
12228 # repeated appends, instead of the typical quadratic growth present in naive
12230 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12231 eval 'as_fn_append ()
12242 # as_fn_arith ARG...
12243 # ------------------
12244 # Perform arithmetic evaluation on the ARGs, and store the result in the
12245 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12246 # must be portable across $(()) and expr.
12247 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12248 eval 'as_fn_arith ()
12255 as_val
=`expr "$@" || test $? -eq 1`
12260 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12261 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12267 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12268 as_basename
=basename
12273 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12279 as_me
=`$as_basename -- "$0" ||
12280 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12281 X"$0" : 'X\(//\)$' \| \
12282 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12284 sed '/^.*\/\([^/][^/]*\)\/*$/{
12298 # Avoid depending upon Character Ranges.
12299 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12300 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12301 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12302 as_cr_digits
='0123456789'
12303 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12305 ECHO_C
= ECHO_N
= ECHO_T
=
12306 case `echo -n x` in #(((((
12308 case `echo 'xy\c'` in
12309 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12311 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12318 rm -f conf$$ conf$$.exe conf$$.
file
12319 if test -d conf$$.dir
; then
12320 rm -f conf$$.dir
/conf$$.
file
12323 mkdir conf$$.dir
2>/dev
/null
12325 if (echo >conf$$.
file) 2>/dev
/null
; then
12326 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12328 # ... but there are two gotchas:
12329 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12330 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12331 # In both cases, we have to default to `cp -pR'.
12332 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12334 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12342 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12343 rmdir conf$$.dir
2>/dev
/null
12348 # Create "$as_dir" as a directory, including parents if necessary.
12353 -*) as_dir
=.
/$as_dir;;
12355 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12359 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12360 *) as_qdir
=$as_dir;;
12362 as_dirs
="'$as_qdir' $as_dirs"
12363 as_dir
=`$as_dirname -- "$as_dir" ||
12364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12365 X"$as_dir" : 'X\(//\)[^/]' \| \
12366 X"$as_dir" : 'X\(//\)$' \| \
12367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12368 $as_echo X"$as_dir" |
12369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12373 /^X\(\/\/\)[^/].*/{
12386 test -d "$as_dir" && break
12388 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12389 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12393 if mkdir
-p .
2>/dev
/null
; then
12394 as_mkdir_p
='mkdir -p "$as_dir"'
12396 test -d .
/-p && rmdir .
/-p
12401 # as_fn_executable_p FILE
12402 # -----------------------
12403 # Test if FILE is an executable regular file.
12404 as_fn_executable_p
()
12406 test -f "$1" && test -x "$1"
12407 } # as_fn_executable_p
12408 as_test_x
='test -x'
12409 as_executable_p
=as_fn_executable_p
12411 # Sed expression to map a string onto a valid CPP name.
12412 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12414 # Sed expression to map a string onto a valid variable name.
12415 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12419 ## ----------------------------------- ##
12420 ## Main body of $CONFIG_STATUS script. ##
12421 ## ----------------------------------- ##
12423 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12426 # Save the log message, to keep $0 and so on meaningful, and to
12427 # report actual input values of CONFIG_FILES etc. instead of their
12428 # values after options handling.
12430 This file was extended by libnfs $as_me 1.3.0, which was
12431 generated by GNU Autoconf 2.69. Invocation command line was
12433 CONFIG_FILES = $CONFIG_FILES
12434 CONFIG_HEADERS = $CONFIG_HEADERS
12435 CONFIG_LINKS = $CONFIG_LINKS
12436 CONFIG_COMMANDS = $CONFIG_COMMANDS
12439 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12444 case $ac_config_files in *"
12445 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12448 case $ac_config_headers in *"
12449 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12454 # Files that config.status was made for.
12455 config_files="$ac_config_files"
12456 config_headers="$ac_config_headers"
12457 config_commands="$ac_config_commands"
12461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12463 \`$as_me' instantiates files and other configuration actions
12464 from templates according to the current configuration. Unless the files
12465 and actions are specified as TAGs, all are instantiated by default.
12467 Usage: $0 [OPTION]... [TAG]...
12469 -h, --help print this help, then exit
12470 -V, --version print version number and configuration settings, then exit
12471 --config print configuration, then exit
12472 -q, --quiet, --silent
12473 do not print progress messages
12474 -d, --debug don't remove temporary files
12475 --recheck update $as_me by reconfiguring in the same conditions
12476 --file=FILE[:TEMPLATE]
12477 instantiate the configuration file FILE
12478 --header=FILE[:TEMPLATE]
12479 instantiate the configuration header FILE
12481 Configuration files:
12484 Configuration headers:
12487 Configuration commands:
12490 Report bugs to <ronniesahlberg@gmail.com>."
12493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12494 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12496 libnfs config.status 1.3.0
12497 configured by $0, generated by GNU Autoconf 2.69,
12498 with options \\"\$ac_cs_config\\"
12500 Copyright (C) 2012 Free Software Foundation, Inc.
12501 This config.status script is free software; the Free Software Foundation
12502 gives unlimited permission to copy, distribute and modify it."
12509 test -n "\$AWK" || AWK=awk
12512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12513 # The default lists apply if the user does not specify any file.
12519 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12520 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12524 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12536 # Handling of the options.
12537 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12539 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12540 $as_echo "$ac_cs_version"; exit ;;
12541 --config |
--confi |
--conf |
--con |
--co |
--c )
12542 $as_echo "$ac_cs_config"; exit ;;
12543 --debug |
--debu |
--deb |
--de |
--d |
-d )
12545 --file |
--fil |
--fi |
--f )
12548 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12549 '') as_fn_error $?
"missing file argument" ;;
12551 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12552 ac_need_defaults
=false
;;
12553 --header |
--heade |
--head |
--hea )
12556 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12558 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12559 ac_need_defaults
=false
;;
12561 # Conflict between --help and --header
12562 as_fn_error $?
"ambiguous option: \`$1'
12563 Try \`$0 --help' for more information.";;
12564 --help |
--hel |
-h )
12565 $as_echo "$ac_cs_usage"; exit ;;
12566 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12567 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12570 # This is an error.
12571 -*) as_fn_error $?
"unrecognized option: \`$1'
12572 Try \`$0 --help' for more information." ;;
12574 *) as_fn_append ac_config_targets
" $1"
12575 ac_need_defaults
=false
;;
12581 ac_configure_extra_args
=
12583 if $ac_cs_silent; then
12585 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12590 if \$ac_cs_recheck; then
12591 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12593 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12594 CONFIG_SHELL='$SHELL'
12595 export CONFIG_SHELL
12600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12604 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12605 ## Running $as_me. ##
12611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12615 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12618 # The HP-UX ksh and POSIX shell print the target directory to stdout
12619 # if CDPATH is set.
12620 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12622 sed_quote_subst='$sed_quote_subst'
12623 double_quote_subst='$double_quote_subst'
12624 delay_variable_subst='$delay_variable_subst'
12625 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12626 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12627 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12628 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12629 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12630 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12631 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12632 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12633 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12634 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12635 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12636 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12637 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12638 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12639 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12640 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12641 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12642 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12643 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12644 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12645 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12646 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12647 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12648 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12649 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12650 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12651 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12652 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12653 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12654 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12655 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12656 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12657 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12658 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12659 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12660 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12661 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12662 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12663 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12664 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12665 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12666 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12667 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12668 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12669 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12670 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12671 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12672 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12673 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12674 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12675 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12676 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12677 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12678 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12679 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12680 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12681 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"`'
12682 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12683 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12684 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12685 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12686 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12687 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12688 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12689 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12690 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12691 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12692 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12693 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12694 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12695 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12696 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12697 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12698 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12699 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12700 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12701 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12702 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12703 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12704 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12705 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12706 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12707 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12708 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12709 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12710 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12711 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12712 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12713 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12714 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12715 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12716 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12717 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12718 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12719 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12720 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12721 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12722 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12723 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12724 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12725 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12726 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12727 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12728 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12729 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12730 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12731 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12732 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12733 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12734 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12735 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12736 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12737 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12738 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12739 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12740 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12741 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12742 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12743 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12744 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12745 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12746 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12747 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12748 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12749 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12750 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12751 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12752 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12753 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12754 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12757 LTCFLAGS='$LTCFLAGS'
12758 compiler='$compiler_DEFAULT'
12760 # A function that is used when there is no print builtin or printf.
12761 func_fallback_echo ()
12763 eval 'cat <<_LTECHO_EOF
12768 # Quote evaled strings.
12783 deplibs_check_method \
12788 sharedlib_from_linklib_cmd \
12791 archiver_list_spec \
12797 lt_cv_sys_global_symbol_pipe \
12798 lt_cv_sys_global_symbol_to_cdecl \
12799 lt_cv_sys_global_symbol_to_c_name_address \
12800 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12801 nm_file_list_spec \
12802 lt_prog_compiler_no_builtin_flag \
12803 lt_prog_compiler_pic \
12804 lt_prog_compiler_wl \
12805 lt_prog_compiler_static \
12806 lt_cv_prog_compiler_c_o \
12815 export_dynamic_flag_spec \
12816 whole_archive_flag_spec \
12817 compiler_needs_object \
12819 allow_undefined_flag \
12820 no_undefined_flag \
12821 hardcode_libdir_flag_spec \
12822 hardcode_libdir_separator \
12826 variables_saved_for_relink \
12828 library_names_spec \
12830 install_override_mode \
12834 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12835 *[\\\\\\\`\\"\\\$]*)
12836 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12839 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12844 # Double-quote double-evaled strings.
12845 for var in reload_cmds \
12846 old_postinstall_cmds \
12847 old_postuninstall_cmds \
12849 extract_expsyms_cmds \
12850 old_archive_from_new_cmds \
12851 old_archive_from_expsyms_cmds \
12853 archive_expsym_cmds \
12855 module_expsym_cmds \
12856 export_symbols_cmds \
12860 postuninstall_cmds \
12862 sys_lib_search_path_spec \
12863 sys_lib_dlsearch_path_spec; do
12864 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12865 *[\\\\\\\`\\"\\\$]*)
12866 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12869 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12874 ac_aux_dir='$ac_aux_dir'
12875 xsi_shell='$xsi_shell'
12876 lt_shell_append='$lt_shell_append'
12878 # See if we are running on zsh, and set the options which allow our
12879 # commands through without removal of \ escapes INIT.
12880 if test -n "\${ZSH_VERSION+set}" ; then
12881 setopt NO_GLOB_SUBST
12887 TIMESTAMP='$TIMESTAMP'
12896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12898 # Handling of arguments.
12899 for ac_config_target
in $ac_config_targets
12901 case $ac_config_target in
12902 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12903 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12904 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12905 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12906 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12907 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12908 "mount/Makefile") CONFIG_FILES
="$CONFIG_FILES mount/Makefile" ;;
12909 "nfs/Makefile") CONFIG_FILES
="$CONFIG_FILES nfs/Makefile" ;;
12910 "portmap/Makefile") CONFIG_FILES
="$CONFIG_FILES portmap/Makefile" ;;
12911 "rquota/Makefile") CONFIG_FILES
="$CONFIG_FILES rquota/Makefile" ;;
12912 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
12913 "libnfs.pc") CONFIG_FILES
="$CONFIG_FILES libnfs.pc" ;;
12915 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12920 # If the user did not use the arguments to specify the items to instantiate,
12921 # then the envvar interface is used. Set only those that are not.
12922 # We use the long form for the default assignment because of an extremely
12923 # bizarre bug on SunOS 4.1.3.
12924 if $ac_need_defaults; then
12925 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12926 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12927 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12930 # Have a temporary directory for convenience. Make it in the build tree
12931 # simply because there is no reason against having it here, and in addition,
12932 # creating and moving files from /tmp can sometimes cause problems.
12933 # Hook for its removal unless debugging.
12934 # Note that there is a small window in which the directory will not be cleaned:
12935 # after its creation but before its name has been assigned to `$tmp'.
12939 trap 'exit_status=$?
12940 : "${ac_tmp:=$tmp}"
12941 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12943 trap 'as_fn_exit 1' 1 2 13 15
12945 # Create a (secure) tmp directory for tmp files.
12948 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12952 tmp
=.
/conf$$
-$RANDOM
12953 (umask 077 && mkdir
"$tmp")
12954 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12957 # Set up the scripts for CONFIG_FILES section.
12958 # No need to generate them if there are no CONFIG_FILES.
12959 # This happens for instance with `./config.status config.h'.
12960 if test -n "$CONFIG_FILES"; then
12963 ac_cr
=`echo X | tr X '\015'`
12964 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12965 # But we know of no other shell where ac_cr would be empty at this
12966 # point, so we can use a bashism as a fallback.
12967 if test "x$ac_cr" = x
; then
12968 eval ac_cr
=\$
\'\\r
\'
12970 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12971 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12974 ac_cs_awk_cr
=$ac_cr
12977 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12982 echo "cat >conf$$subs.awk <<_ACEOF" &&
12983 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12985 } >conf$$subs.sh ||
12986 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12987 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12989 for ac_last_try in false false false false false :; do
12990 . ./conf$$subs.sh ||
12991 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12993 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12994 if test $ac_delim_n = $ac_delim_num; then
12996 elif $ac_last_try; then
12997 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12999 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13002 rm -f conf$$subs.sh
13004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13005 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13009 s/^/S["/; s
/!.
*/"]=/
13019 s/\(.\{148\}\)..*/\1/
13021 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13026 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13033 s/\(.\{148\}\)..*/\1/
13035 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13039 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13044 ' <conf$$subs.awk | sed '
13049 ' >>$CONFIG_STATUS || ac_write_fail=1
13050 rm -f conf$$subs.awk
13051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13053 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13054 for (key in S) S_is_set[key] = 1
13060 nfields = split(line, field, "@
")
13062 len = length(field[1])
13063 for (i = 2; i < nfields; i++) {
13065 keylen = length(key)
13066 if (S_is_set[key]) {
13068 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13069 len += length(value) + length(field[++i])
13080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13081 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13082 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13085 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13086 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13089 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13090 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13091 # trailing colons and then remove the whole line if VPATH becomes empty
13092 # (actually we leave an empty line to preserve line numbers).
13093 if test "x
$srcdir" = x.; then
13094 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13113 fi # test -n "$CONFIG_FILES"
13115 # Set up the scripts for CONFIG_HEADERS section.
13116 # No need to generate them if there are no CONFIG_HEADERS.
13117 # This happens for instance with `./config.status Makefile'.
13118 if test -n "$CONFIG_HEADERS"; then
13119 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13123 # Transform confdefs.h into an awk script `defines.awk', embedded as
13124 # here-document in config.status, that substitutes the proper values into
13125 # config.h.in to produce config.h.
13127 # Create a delimiter string that does not exist in confdefs.h, to ease
13128 # handling of long lines.
13130 for ac_last_try in false false :; do
13131 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13132 if test -z "$ac_tt"; then
13134 elif $ac_last_try; then
13135 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13137 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13141 # For the awk script, D is an array of macro values keyed by name,
13142 # likewise P contains macro parameters if any. Preserve backslash
13143 # newline sequences.
13145 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13147 s/.\{148\}/&'"$ac_delim"'/g
13150 s/^[ ]*#[ ]*define[ ][ ]*/ /
13157 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13159 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13164 D["\
1"]=" \
3\\\\\\n
"\\/p
13166 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13171 s/.\{148\}/&'"$ac_delim"'/g
13176 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13179 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13181 ' <confdefs.h | sed '
13182 s/'"$ac_delim"'/"\\\
13183 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13186 for (key in D) D_is_set[key] = 1
13189 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13191 split(line, arg, " ")
13192 if (arg[1] == "#") {
13196 defundef
= substr
(arg
[1], 2)
13199 split(mac1
, mac2
, "(") #)
13201 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13202 if (D_is_set
[macro
]) {
13203 # Preserve the white space surrounding the "#".
13204 print prefix
"define", macro P
[macro
] D
[macro
]
13207 # Replace #undef with comments. This is necessary, for example,
13208 # in the case of _POSIX_SOURCE, which is predefined and required
13209 # on some systems where configure will not decide to define it.
13210 if (defundef
== "undef") {
13211 print
"/*", prefix defundef
, macro
, "*/"
13219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13220 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13221 fi # test -n "$CONFIG_HEADERS"
13224 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13229 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13231 case $ac_mode$ac_tag in
13233 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13234 :[FH
]-) ac_tag
=-:-;;
13235 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13252 -) ac_f
="$ac_tmp/stdin";;
13253 *) # Look for the file first in the build tree, then in the source tree
13254 # (if the path is not absolute). The absolute path cannot be DOS-style,
13255 # because $ac_f cannot contain `:'.
13259 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13261 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13263 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13264 as_fn_append ac_file_inputs
" '$ac_f'"
13267 # Let's still pretend it is `configure' which instantiates (i.e., don't
13268 # use $as_me), people would be surprised to read:
13269 # /* config.h. Generated by config.status. */
13270 configure_input
='Generated from '`
13271 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13273 if test x
"$ac_file" != x-
; then
13274 configure_input
="$ac_file. $configure_input"
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13276 $as_echo "$as_me: creating $ac_file" >&6;}
13278 # Neutralize special characters interpreted by sed in replacement strings.
13279 case $configure_input in #(
13280 *\
&* |
*\|
* |
*\\* )
13281 ac_sed_conf_input
=`$as_echo "$configure_input" |
13282 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13283 *) ac_sed_conf_input
=$configure_input;;
13287 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13288 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13293 ac_dir
=`$as_dirname -- "$ac_file" ||
13294 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13295 X"$ac_file" : 'X\(//\)[^/]' \| \
13296 X"$ac_file" : 'X\(//\)$' \| \
13297 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13298 $as_echo X"$ac_file" |
13299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13303 /^X\(\/\/\)[^/].*/{
13316 as_dir
="$ac_dir"; as_fn_mkdir_p
13320 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13322 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13323 # A ".." for each directory in $ac_dir_suffix.
13324 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13325 case $ac_top_builddir_sub in
13326 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13327 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13330 ac_abs_top_builddir
=$ac_pwd
13331 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13332 # for backward compatibility:
13333 ac_top_builddir
=$ac_top_build_prefix
13336 .
) # We are building in place.
13338 ac_top_srcdir
=$ac_top_builddir_sub
13339 ac_abs_top_srcdir
=$ac_pwd ;;
13340 [\\/]* | ?
:[\\/]* ) # Absolute name.
13341 ac_srcdir
=$srcdir$ac_dir_suffix;
13342 ac_top_srcdir
=$srcdir
13343 ac_abs_top_srcdir
=$srcdir ;;
13344 *) # Relative name.
13345 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13346 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13347 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13349 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13359 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13360 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13362 ac_MKDIR_P
=$MKDIR_P
13364 [\\/$
]* | ?
:[\\/]* ) ;;
13365 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13370 # If the template does not know about datarootdir, expand it.
13371 # FIXME: This hack should be removed a few years after 2.60.
13372 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13383 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13384 *datarootdir
*) ac_datarootdir_seen
=yes;;
13385 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13387 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13390 ac_datarootdir_hack='
13391 s&@datadir@&$datadir&g
13392 s&@docdir@&$docdir&g
13393 s&@infodir@&$infodir&g
13394 s&@localedir@&$localedir&g
13395 s&@mandir@&$mandir&g
13396 s&\\\${datarootdir}&$datarootdir&g' ;;
13400 # Neutralize VPATH when `$srcdir' = `.'.
13401 # Shell code in configure.ac might set extrasub.
13402 # FIXME: do we really want to maintain this feature?
13403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13404 ac_sed_extra="$ac_vpsub
13407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13409 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13410 s|@configure_input@|
$ac_sed_conf_input|
;t t
13411 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13412 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13413 s
&@srcdir@
&$ac_srcdir&;t t
13414 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13415 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13416 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13417 s
&@builddir@
&$ac_builddir&;t t
13418 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13419 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13420 s
&@INSTALL@
&$ac_INSTALL&;t t
13421 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13422 $ac_datarootdir_hack
13424 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13425 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13428 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13429 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13430 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13432 which seems to be undefined. Please make sure it is defined" >&5
13433 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13434 which seems to be undefined. Please make sure it is defined" >&2;}
13436 rm -f "$ac_tmp/stdin"
13438 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13439 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13447 if test x"$ac_file" != x-; then
13449 $as_echo "/* $configure_input */" \
13450 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13451 } >"$ac_tmp/config.h" \
13452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13453 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13455 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13458 mv "$ac_tmp/config.h" "$ac_file" \
13459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13462 $as_echo "/* $configure_input */" \
13463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13464 || as_fn_error $? "could not create -" "$LINENO" 5
13466 # Compute "$ac_file"'s index
in $config_headers.
13469 for _am_header
in $config_headers :; do
13470 case $_am_header in
13471 $_am_arg |
$_am_arg:* )
13474 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13477 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13478 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13479 X"$_am_arg" : 'X\(//\)[^/]' \| \
13480 X"$_am_arg" : 'X\(//\)$' \| \
13481 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13482 $as_echo X"$_am_arg" |
13483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13487 /^X\(\/\/\)[^/].*/{
13499 s/.*/./; q'`/stamp-h
$_am_stamp_count
13502 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13503 $as_echo "$as_me: executing $ac_file commands" >&6;}
13508 case $ac_file$ac_mode in
13509 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13510 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13511 # are listed without --file. Let's play safe and only enable the eval
13512 # if we detect the quoting.
13513 case $CONFIG_FILES in
13514 *\'*) eval set x
"$CONFIG_FILES" ;;
13515 *) set x
$CONFIG_FILES ;;
13520 # Strip MF so we end up with the name of the file.
13521 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13522 # Check whether this is an Automake generated Makefile or not.
13523 # We used to match only the files named `Makefile.in', but
13524 # some people rename them; so instead we look at the file content.
13525 # Grep'ing the first line is not enough: some people post-process
13526 # each Makefile.in and add a new line on top of each file to say so.
13527 # Grep'ing the whole file is not good either: AIX grep has a line
13528 # limit of 2048, but all sed's we know have understand at least 4000.
13529 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13530 dirpart
=`$as_dirname -- "$mf" ||
13531 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13532 X"$mf" : 'X\(//\)[^/]' \| \
13533 X"$mf" : 'X\(//\)$' \| \
13534 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13540 /^X\(\/\/\)[^/].*/{
13556 # Extract the definition of DEPDIR, am__include, and am__quote
13557 # from the Makefile without running `make'.
13558 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13559 test -z "$DEPDIR" && continue
13560 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13561 test -z "am__include" && continue
13562 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13563 # When using ansi2knr, U may be empty or an underscore; expand it
13564 U
=`sed -n 's/^U = //p' < "$mf"`
13565 # Find all dependency output files, they are included files with
13566 # $(DEPDIR) in their names. We invoke sed twice because it is the
13567 # simplest approach to changing $(DEPDIR) to its actual value in the
13569 for file in `sed -n "
13570 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13571 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13572 # Make sure the directory exists.
13573 test -f "$dirpart/$file" && continue
13574 fdir
=`$as_dirname -- "$file" ||
13575 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13576 X"$file" : 'X\(//\)[^/]' \| \
13577 X"$file" : 'X\(//\)$' \| \
13578 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13579 $as_echo X"$file" |
13580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13584 /^X\(\/\/\)[^/].*/{
13597 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13598 # echo "creating $dirpart/$file"
13599 echo '# dummy' > "$dirpart/$file"
13606 # See if we are running on zsh, and set the options which allow our
13607 # commands through without removal of \ escapes.
13608 if test -n "${ZSH_VERSION+set}" ; then
13609 setopt NO_GLOB_SUBST
13612 cfgfile
="${ofile}T"
13613 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13616 cat <<_LT_EOF >> "$cfgfile"
13619 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13620 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13621 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13622 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13624 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13625 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13627 # Written by Gordon Matzigkeit, 1996
13629 # This file is part of GNU Libtool.
13631 # GNU Libtool is free software; you can redistribute it and/or
13632 # modify it under the terms of the GNU General Public License as
13633 # published by the Free Software Foundation; either version 2 of
13634 # the License, or (at your option) any later version.
13636 # As a special exception to the GNU General Public License,
13637 # if you distribute this file as part of a program or library that
13638 # is built using GNU Libtool, you may include this file under the
13639 # same distribution terms that you use for the rest of that program.
13641 # GNU Libtool is distributed in the hope that it will be useful,
13642 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13643 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13644 # GNU General Public License for more details.
13646 # You should have received a copy of the GNU General Public License
13647 # along with GNU Libtool; see the file COPYING. If not, a copy
13648 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13649 # obtained by writing to the Free Software Foundation, Inc.,
13650 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13653 # The names of the tagged configurations supported by this script.
13656 # ### BEGIN LIBTOOL CONFIG
13658 # Which release of libtool.m4 was used?
13659 macro_version=$macro_version
13660 macro_revision=$macro_revision
13662 # Whether or not to build shared libraries.
13663 build_libtool_libs=$enable_shared
13665 # Whether or not to build static libraries.
13666 build_old_libs=$enable_static
13668 # What type of objects to build.
13671 # Whether or not to optimize for fast installation.
13672 fast_install=$enable_fast_install
13674 # Shell to use when invoking shell scripts.
13677 # An echo program that protects backslashes.
13680 # The PATH separator for the build system.
13681 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13684 host_alias=$host_alias
13688 # The build system.
13689 build_alias=$build_alias
13693 # A sed program that does not truncate output.
13696 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13697 Xsed="\$SED -e 1s/^X//"
13699 # A grep program that handles long lines.
13705 # A literal string matcher.
13708 # A BSD- or MS-compatible name lister.
13711 # Whether we need soft or hard links.
13714 # What is the maximum length of a command?
13715 max_cmd_len=$max_cmd_len
13717 # Object file suffix (normally "o").
13720 # Executable file suffix (normally "").
13723 # whether the shell understands "unset".
13726 # turn spaces into newlines.
13729 # turn newlines into spaces.
13732 # convert \$build file names to \$host format.
13733 to_host_file_cmd=$lt_cv_to_host_file_cmd
13735 # convert \$build files to toolchain format.
13736 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13738 # An object symbol dumper.
13739 OBJDUMP=$lt_OBJDUMP
13741 # Method to check whether dependent libraries are shared objects.
13742 deplibs_check_method=$lt_deplibs_check_method
13744 # Command to use when deplibs_check_method = "file_magic".
13745 file_magic_cmd=$lt_file_magic_cmd
13747 # How to find potential files when deplibs_check_method = "file_magic".
13748 file_magic_glob=$lt_file_magic_glob
13750 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13751 want_nocaseglob=$lt_want_nocaseglob
13753 # DLL creation program.
13754 DLLTOOL=$lt_DLLTOOL
13756 # Command to associate shared and link libraries.
13757 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13762 # Flags to create an archive.
13763 AR_FLAGS=$lt_AR_FLAGS
13765 # How to feed a file listing to the archiver.
13766 archiver_list_spec=$lt_archiver_list_spec
13768 # A symbol stripping program.
13771 # Commands used to install an old-style archive.
13773 old_postinstall_cmds=$lt_old_postinstall_cmds
13774 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13776 # Whether to use a lock for old archive extraction.
13777 lock_old_archive_extraction=$lock_old_archive_extraction
13782 # LTCC compiler flags.
13783 LTCFLAGS=$lt_CFLAGS
13785 # Take the output of nm and produce a listing of raw symbols and C names.
13786 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13788 # Transform the output of nm in a proper C declaration.
13789 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13791 # Transform the output of nm in a C name address pair.
13792 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13794 # Transform the output of nm in a C name address pair when lib prefix is needed.
13795 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13797 # Specify filename containing input files for \$NM.
13798 nm_file_list_spec=$lt_nm_file_list_spec
13800 # The root where to search for dependent libraries,and in which our libraries should be installed.
13801 lt_sysroot=$lt_sysroot
13803 # The name of the directory that contains temporary libtool files.
13806 # Used to examine libraries when file_magic_cmd begins with "file".
13807 MAGIC_CMD=$MAGIC_CMD
13809 # Must we lock files when doing compilation?
13810 need_locks=$lt_need_locks
13813 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13815 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13816 DSYMUTIL=$lt_DSYMUTIL
13818 # Tool to change global to local symbols on Mac OS X.
13821 # Tool to manipulate fat objects and archives on Mac OS X.
13824 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13827 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13828 OTOOL64=$lt_OTOOL64
13830 # Old archive suffix (normally "a").
13833 # Shared library suffix (normally ".so").
13834 shrext_cmds=$lt_shrext_cmds
13836 # The commands to extract the exported symbol list from a shared archive.
13837 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13839 # Variables whose values should be saved in libtool wrapper scripts and
13840 # restored at link time.
13841 variables_saved_for_relink=$lt_variables_saved_for_relink
13843 # Do we need the "lib" prefix for modules?
13844 need_lib_prefix=$need_lib_prefix
13846 # Do we need a version for libraries?
13847 need_version=$need_version
13849 # Library versioning type.
13850 version_type=$version_type
13852 # Shared library runtime path variable.
13853 runpath_var=$runpath_var
13855 # Shared library path variable.
13856 shlibpath_var=$shlibpath_var
13858 # Is shlibpath searched before the hard-coded library search path?
13859 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13861 # Format of library name prefix.
13862 libname_spec=$lt_libname_spec
13864 # List of archive names. First name is the real one, the rest are links.
13865 # The last name is the one that the linker finds with -lNAME
13866 library_names_spec=$lt_library_names_spec
13868 # The coded name of the library, if different from the real name.
13869 soname_spec=$lt_soname_spec
13871 # Permission mode override for installation of shared libraries.
13872 install_override_mode=$lt_install_override_mode
13874 # Command to use after installation of a shared archive.
13875 postinstall_cmds=$lt_postinstall_cmds
13877 # Command to use after uninstallation of a shared archive.
13878 postuninstall_cmds=$lt_postuninstall_cmds
13880 # Commands used to finish a libtool library installation in a directory.
13881 finish_cmds=$lt_finish_cmds
13883 # As "finish_cmds", except a single script fragment to be evaled but
13885 finish_eval=$lt_finish_eval
13887 # Whether we should hardcode library paths into libraries.
13888 hardcode_into_libs=$hardcode_into_libs
13890 # Compile-time system search path for libraries.
13891 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13893 # Run-time system search path for libraries.
13894 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13896 # Whether dlopen is supported.
13897 dlopen_support=$enable_dlopen
13899 # Whether dlopen of programs is supported.
13900 dlopen_self=$enable_dlopen_self
13902 # Whether dlopen of statically linked programs is supported.
13903 dlopen_self_static=$enable_dlopen_self_static
13905 # Commands to strip libraries.
13906 old_striplib=$lt_old_striplib
13907 striplib=$lt_striplib
13910 # The linker used to build libraries.
13913 # How to create reloadable object files.
13914 reload_flag=$lt_reload_flag
13915 reload_cmds=$lt_reload_cmds
13917 # Commands used to build an old-style archive.
13918 old_archive_cmds=$lt_old_archive_cmds
13920 # A language specific compiler.
13923 # Is the compiler the GNU compiler?
13926 # Compiler flag to turn off builtin functions.
13927 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13929 # Additional compiler flags for building library objects.
13930 pic_flag=$lt_lt_prog_compiler_pic
13932 # How to pass a linker flag through the compiler.
13933 wl=$lt_lt_prog_compiler_wl
13935 # Compiler flag to prevent dynamic linking.
13936 link_static_flag=$lt_lt_prog_compiler_static
13938 # Does compiler simultaneously support -c and -o options?
13939 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13941 # Whether or not to add -lc for building shared libraries.
13942 build_libtool_need_lc=$archive_cmds_need_lc
13944 # Whether or not to disallow shared libs when runtime libs are static.
13945 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13947 # Compiler flag to allow reflexive dlopens.
13948 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13950 # Compiler flag to generate shared objects directly from archives.
13951 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13953 # Whether the compiler copes with passing no objects directly.
13954 compiler_needs_object=$lt_compiler_needs_object
13956 # Create an old-style archive from a shared archive.
13957 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13959 # Create a temporary old-style archive to link instead of a shared archive.
13960 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13962 # Commands used to build a shared archive.
13963 archive_cmds=$lt_archive_cmds
13964 archive_expsym_cmds=$lt_archive_expsym_cmds
13966 # Commands used to build a loadable module if different from building
13967 # a shared archive.
13968 module_cmds=$lt_module_cmds
13969 module_expsym_cmds=$lt_module_expsym_cmds
13971 # Whether we are building with GNU ld or not.
13972 with_gnu_ld=$lt_with_gnu_ld
13974 # Flag that allows shared libraries with undefined symbols to be built.
13975 allow_undefined_flag=$lt_allow_undefined_flag
13977 # Flag that enforces no undefined symbols.
13978 no_undefined_flag=$lt_no_undefined_flag
13980 # Flag to hardcode \$libdir into a binary during linking.
13981 # This must work even if \$libdir does not exist
13982 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13984 # Whether we need a single "-rpath" flag with a separated argument.
13985 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13987 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13988 # DIR into the resulting binary.
13989 hardcode_direct=$hardcode_direct
13991 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13992 # DIR into the resulting binary and the resulting library dependency is
13993 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13994 # library is relocated.
13995 hardcode_direct_absolute=$hardcode_direct_absolute
13997 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13998 # into the resulting binary.
13999 hardcode_minus_L=$hardcode_minus_L
14001 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14002 # into the resulting binary.
14003 hardcode_shlibpath_var=$hardcode_shlibpath_var
14005 # Set to "yes" if building a shared library automatically hardcodes DIR
14006 # into the library and all subsequent libraries and executables linked
14008 hardcode_automatic=$hardcode_automatic
14010 # Set to yes if linker adds runtime paths of dependent libraries
14011 # to runtime path list.
14012 inherit_rpath=$inherit_rpath
14014 # Whether libtool must link a program against all its dependency libraries.
14015 link_all_deplibs=$link_all_deplibs
14017 # Set to "yes" if exported symbols are required.
14018 always_export_symbols=$always_export_symbols
14020 # The commands to list exported symbols.
14021 export_symbols_cmds=$lt_export_symbols_cmds
14023 # Symbols that should not be listed in the preloaded symbols.
14024 exclude_expsyms=$lt_exclude_expsyms
14026 # Symbols that must always be exported.
14027 include_expsyms=$lt_include_expsyms
14029 # Commands necessary for linking programs (against libraries) with templates.
14030 prelink_cmds=$lt_prelink_cmds
14032 # Commands necessary for finishing linking programs.
14033 postlink_cmds=$lt_postlink_cmds
14035 # Specify filename containing input files.
14036 file_list_spec=$lt_file_list_spec
14038 # How to hardcode a shared library path into an executable.
14039 hardcode_action=$hardcode_action
14041 # ### END LIBTOOL CONFIG
14047 cat <<\_LT_EOF
>> "$cfgfile"
14048 # AIX sometimes has problems with the GCC collect2 program. For some
14049 # reason, if we set the COLLECT_NAMES environment variable, the problems
14050 # vanish in a puff of smoke.
14051 if test "X${COLLECT_NAMES+set}" != Xset
; then
14053 export COLLECT_NAMES
14060 ltmain
="$ac_aux_dir/ltmain.sh"
14063 # We use sed instead of cat because bash on DJGPP gets confused if
14064 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14065 # text mode, it properly converts lines to CR/LF. This bash problem
14066 # is reportedly fixed, but why not run on old versions too?
14067 sed '$q' "$ltmain" >> "$cfgfile" \
14068 ||
(rm -f "$cfgfile"; exit 1)
14070 if test x
"$xsi_shell" = xyes
; then
14071 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14075 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14076 \ * ) func_dirname_result="${3}" ;;\
14078 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14079 && mv -f "$cfgfile.tmp" "$cfgfile" \
14080 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14081 test 0 -eq $? || _lt_function_replace_fail
=:
14084 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14087 \ func_basename_result="${1##*/}"\
14088 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14089 && mv -f "$cfgfile.tmp" "$cfgfile" \
14090 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14091 test 0 -eq $? || _lt_function_replace_fail
=:
14094 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14095 func_dirname_and_basename ()\
14098 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14099 \ * ) func_dirname_result="${3}" ;;\
14101 \ func_basename_result="${1##*/}"\
14102 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14103 && mv -f "$cfgfile.tmp" "$cfgfile" \
14104 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14105 test 0 -eq $? || _lt_function_replace_fail
=:
14108 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14111 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14112 \ # positional parameters, so assign one to ordinary parameter first.\
14113 \ func_stripname_result=${3}\
14114 \ func_stripname_result=${func_stripname_result#"${1}"}\
14115 \ func_stripname_result=${func_stripname_result%"${2}"}\
14116 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14117 && mv -f "$cfgfile.tmp" "$cfgfile" \
14118 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14119 test 0 -eq $? || _lt_function_replace_fail
=:
14122 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14123 func_split_long_opt ()\
14125 \ func_split_long_opt_name=${1%%=*}\
14126 \ func_split_long_opt_arg=${1#*=}\
14127 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14128 && mv -f "$cfgfile.tmp" "$cfgfile" \
14129 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14130 test 0 -eq $? || _lt_function_replace_fail
=:
14133 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14134 func_split_short_opt ()\
14136 \ func_split_short_opt_arg=${1#??}\
14137 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14138 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14139 && mv -f "$cfgfile.tmp" "$cfgfile" \
14140 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14141 test 0 -eq $? || _lt_function_replace_fail
=:
14144 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14148 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14149 \ *) func_lo2o_result=${1} ;;\
14151 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14152 && mv -f "$cfgfile.tmp" "$cfgfile" \
14153 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14154 test 0 -eq $? || _lt_function_replace_fail
=:
14157 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14160 func_xform_result=${1%.*}.lo\
14161 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14162 && mv -f "$cfgfile.tmp" "$cfgfile" \
14163 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14164 test 0 -eq $? || _lt_function_replace_fail
=:
14167 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14170 func_arith_result=$(( $* ))\
14171 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14172 && mv -f "$cfgfile.tmp" "$cfgfile" \
14173 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14174 test 0 -eq $? || _lt_function_replace_fail
=:
14177 sed -e '/^func_len ()$/,/^} # func_len /c\
14180 func_len_result=${#1}\
14181 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14182 && mv -f "$cfgfile.tmp" "$cfgfile" \
14183 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14184 test 0 -eq $? || _lt_function_replace_fail
=:
14188 if test x
"$lt_shell_append" = xyes
; then
14189 sed -e '/^func_append ()$/,/^} # func_append /c\
14192 eval "${1}+=\\${2}"\
14193 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14194 && mv -f "$cfgfile.tmp" "$cfgfile" \
14195 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14196 test 0 -eq $? || _lt_function_replace_fail
=:
14199 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14200 func_append_quoted ()\
14202 \ func_quote_for_eval "${2}"\
14203 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14204 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14205 && mv -f "$cfgfile.tmp" "$cfgfile" \
14206 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14207 test 0 -eq $? || _lt_function_replace_fail
=:
14210 # Save a `func_append' function call where possible by direct use of '+='
14211 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14212 && mv -f "$cfgfile.tmp" "$cfgfile" \
14213 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14214 test 0 -eq $? || _lt_function_replace_fail
=:
14216 # Save a `func_append' function call even when '+=' is not available
14217 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14218 && mv -f "$cfgfile.tmp" "$cfgfile" \
14219 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14220 test 0 -eq $? || _lt_function_replace_fail
=:
14223 if test x
"$_lt_function_replace_fail" = x
":"; then
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14225 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14229 mv -f "$cfgfile" "$ofile" ||
14230 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14241 ac_clean_files
=$ac_clean_files_save
14243 test $ac_write_fail = 0 ||
14244 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14247 # configure is writing to config.log, and then calls config.status.
14248 # config.status does its own redirection, appending to config.log.
14249 # Unfortunately, on DOS this fails, as config.log is still kept open
14250 # by configure, so config.status won't be able to write to it; its
14251 # output is simply discarded. So we exec the FD to /dev/null,
14252 # effectively closing config.log, so it can be properly (re)opened and
14253 # appended to by config.status. When coming back to configure, we
14254 # need to make the FD available again.
14255 if test "$no_create" != yes; then
14257 ac_config_status_args
=
14258 test "$silent" = yes &&
14259 ac_config_status_args
="$ac_config_status_args --quiet"
14261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14264 # would make configure fail if this is the last instruction.
14265 $ac_cs_success || as_fn_exit
1
14267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}