2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libnfs 1.2.0.
5 # Report bugs to <ronniesahlberg@gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: ronniesahlberg@gmail.com about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='libnfs'
572 PACKAGE_TARNAME
='libnfs'
573 PACKAGE_VERSION
='1.2.0'
574 PACKAGE_STRING
='libnfs 1.2.0'
575 PACKAGE_BUGREPORT
='ronniesahlberg@gmail.com'
578 # Factoring default headers for most tests.
579 ac_includes_default
="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
614 ac_subst_vars
='am__EXEEXT_FALSE
618 LIBNFS_PC_REQ_PRIVATE
681 INSTALL_STRIP_PROGRAM
723 program_transform_name
736 enable_option_checking
737 enable_dependency_tracking
748 ac_precious_vars
='build_alias
764 # Initialize some variables set by options.
766 ac_init_version
=false
767 ac_unrecognized_opts
=
769 # The variables have the same names as the options, with
770 # dashes changed to underlines.
778 program_transform_name
=s
,x
,x
,
786 # Installation directory options.
787 # These are left unexpanded so users can "make install exec_prefix=/foo"
788 # and all the variables that are supposed to be based on exec_prefix
789 # by default will actually change.
790 # Use braces instead of parens because sh, perl, etc. also accept them.
791 # (The list follows the same order as the GNU Coding Standards.)
792 bindir
='${exec_prefix}/bin'
793 sbindir
='${exec_prefix}/sbin'
794 libexecdir
='${exec_prefix}/libexec'
795 datarootdir
='${prefix}/share'
796 datadir
='${datarootdir}'
797 sysconfdir
='${prefix}/etc'
798 sharedstatedir
='${prefix}/com'
799 localstatedir
='${prefix}/var'
800 includedir
='${prefix}/include'
801 oldincludedir
='/usr/include'
802 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
803 infodir
='${datarootdir}/info'
808 libdir
='${exec_prefix}/lib'
809 localedir
='${datarootdir}/locale'
810 mandir
='${datarootdir}/man'
816 # If the previous option needs an argument, assign it.
817 if test -n "$ac_prev"; then
818 eval $ac_prev=\
$ac_option
824 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829 # Accept the important Cygnus configure options, so we can diagnose typos.
831 case $ac_dashdash$ac_option in
835 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
837 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
840 -build |
--build |
--buil |
--bui |
--bu)
841 ac_prev
=build_alias
;;
842 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
843 build_alias
=$ac_optarg ;;
845 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
846 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
847 ac_prev
=cache_file
;;
848 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
849 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
850 cache_file
=$ac_optarg ;;
853 cache_file
=config.cache
;;
855 -datadir |
--datadir |
--datadi |
--datad)
857 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
858 datadir
=$ac_optarg ;;
860 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
861 |
--dataroo |
--dataro |
--datar)
862 ac_prev
=datarootdir
;;
863 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
864 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
865 datarootdir
=$ac_optarg ;;
867 -disable-* |
--disable-*)
868 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
871 as_fn_error $?
"invalid feature name: $ac_useropt"
872 ac_useropt_orig
=$ac_useropt
873 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
879 ac_unrecognized_sep
=', ';;
881 eval enable_
$ac_useropt=no
;;
883 -docdir |
--docdir |
--docdi |
--doc |
--do)
885 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
888 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
890 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
893 -enable-* |
--enable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 as_fn_error $?
"invalid feature name: $ac_useropt"
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1101 as_fn_error $?
"invalid package name: $ac_useropt"
1102 ac_useropt_orig
=$ac_useropt
1103 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1109 ac_unrecognized_sep
=', ';;
1111 eval with_
$ac_useropt=\
$ac_optarg ;;
1113 -without-* |
--without-*)
1114 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error $?
"invalid package name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=no
;;
1130 # Obsolete; use --with-x.
1133 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1134 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1135 ac_prev
=x_includes
;;
1136 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1137 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1138 x_includes
=$ac_optarg ;;
1140 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1141 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1142 ac_prev
=x_libraries
;;
1143 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1144 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1145 x_libraries
=$ac_optarg ;;
1147 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information"
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 case $ac_envvar in #(
1155 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1156 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1158 eval $ac_envvar=\
$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1172 if test -n "$ac_prev"; then
1173 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1174 as_fn_error $?
"missing argument to $ac_option"
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1180 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1185 # Check all directory arguments for consistency.
1186 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1191 eval ac_val
=\$
$ac_var
1192 # Remove trailing slashes.
1195 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\
$ac_val;;
1198 # Be sure to have absolute directory names.
1200 [\\/$
]* | ?
:[\\/]* ) continue;;
1201 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1203 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1206 # There might be people who depend on the old broken behavior: `$host'
1207 # used to hold the argument of --host etc.
1208 # FIXME: To remove some day.
1211 target
=$target_alias
1213 # FIXME: To remove some day.
1214 if test "x$host_alias" != x
; then
1215 if test "x$build_alias" = x
; then
1216 cross_compiling
=maybe
1217 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used" >&2
1219 elif test "x$build_alias" != "x$host_alias"; then
1225 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1227 test "$silent" = yes && exec 6>/dev
/null
1230 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di
=`ls -di .` &&
1232 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error $?
"working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error $?
"pwd does not report name of working directory"
1238 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted
=yes
1241 # Try the directory containing this script, then the parent directory.
1242 ac_confdir
=`$as_dirname -- "$as_myself" ||
1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1244 X"$as_myself" : 'X\(//\)[^/]' \| \
1245 X"$as_myself" : 'X\(//\)$' \| \
1246 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1247 $as_echo X"$as_myself" |
1248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1270 ac_srcdir_defaulted
=no
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1274 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1276 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1288 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 for ac_var
in $ac_precious_vars; do
1291 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1293 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1298 # Report the --help message.
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1304 \`configure' configures libnfs 1.2.0 to adapt to many kinds of systems.
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1311 Defaults for the options are specified in brackets.
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking ...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1335 For better control, use the options below.
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/libnfs]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1362 --program-prefix=PREFIX prepend PREFIX to installed program names
1363 --program-suffix=SUFFIX append SUFFIX to installed program names
1364 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1367 --build=BUILD configure
for building on BUILD
[guessed
]
1368 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of libnfs 1.2.0:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --disable-dependency-tracking speeds up one-time build
1383 --enable-dependency-tracking do not reject slow dependency extractors
1384 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1385 --enable-static[=PKGS
] build static libraries
[default
=yes]
1386 --enable-fast-install[=PKGS
]
1387 optimize
for fast installation
[default
=yes]
1388 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1389 --enable-examples Build example programs
1390 --enable-tirpc enable use of TI-RPC
[default
=no
]
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1397 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1398 --with-sysroot=DIR Search
for dependent libraries within DIR
1399 (or the compiler
's sysroot if not specified).
1401 Some influential environment variables:
1402 CC C compiler command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405 nonstandard directory <lib dir>
1406 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408 you have headers in a nonstandard directory <include dir>
1410 PKG_CONFIG path to pkg-config utility
1412 directories to add to pkg-config's search path
1414 path overriding pkg-config
's built-in search path
1416 C compiler flags for TIRPC, overriding pkg-config
1417 TIRPC_LIBS linker flags for TIRPC, overriding pkg-config
1419 Use these variables to override the choices made by `configure' or to
help
1420 it to
find libraries and programs with nonstandard names
/locations.
1422 Report bugs to
<ronniesahlberg@gmail.com
>.
1427 if test "$ac_init_help" = "recursive"; then
1428 # If there are subdirs, report their specific --help.
1429 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1430 test -d "$ac_dir" ||
1431 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1436 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1438 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1439 # A ".." for each directory in $ac_dir_suffix.
1440 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1441 case $ac_top_builddir_sub in
1442 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1443 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1446 ac_abs_top_builddir
=$ac_pwd
1447 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1448 # for backward compatibility:
1449 ac_top_builddir
=$ac_top_build_prefix
1452 .
) # We are building in place.
1454 ac_top_srcdir
=$ac_top_builddir_sub
1455 ac_abs_top_srcdir
=$ac_pwd ;;
1456 [\\/]* | ?
:[\\/]* ) # Absolute name.
1457 ac_srcdir
=$srcdir$ac_dir_suffix;
1458 ac_top_srcdir
=$srcdir
1459 ac_abs_top_srcdir
=$srcdir ;;
1461 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1462 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1463 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1465 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1467 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1468 # Check for guested configure.
1469 if test -f "$ac_srcdir/configure.gnu"; then
1471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1472 elif test -f "$ac_srcdir/configure"; then
1474 $SHELL "$ac_srcdir/configure" --help=recursive
1476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1482 test -n "$ac_init_help" && exit $ac_status
1483 if $ac_init_version; then
1485 libnfs configure
1.2.0
1486 generated by GNU Autoconf
2.68
1488 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1489 This configure
script is free software
; the Free Software Foundation
1490 gives unlimited permission to copy
, distribute and modify it.
1495 ## ------------------------ ##
1496 ## Autoconf initialization. ##
1497 ## ------------------------ ##
1499 # ac_fn_c_try_compile LINENO
1500 # --------------------------
1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1502 ac_fn_c_try_compile
()
1504 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1505 rm -f conftest.
$ac_objext
1506 if { { ac_try
="$ac_compile"
1508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_compile") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest.$ac_objext; then :
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1533 as_fn_set_status $ac_retval
1535 } # ac_fn_c_try_compile
1537 # ac_fn_c_try_link LINENO
1538 # -----------------------
1539 # Try to link conftest.$ac_ext, and return whether this succeeded.
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext conftest$ac_exeext
1544 if { { ac_try="$ac_link"
1546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1547 *) ac_try_echo
=$ac_try;;
1549 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_link") 2>conftest.err
1553 if test -s conftest.err
; then
1554 grep -v '^ *+' conftest.err
>conftest.er1
1555 cat conftest.er1
>&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest
$ac_exeext && {
1563 test "$cross_compiling" = yes ||
1564 $as_test_x conftest
$ac_exeext
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.
$ac_ext >&5
1573 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1574 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1575 # interfere with the next link command; also delete a directory that is
1576 # left behind by Apple's compiler. We do this before executing the actions.
1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579 as_fn_set_status
$ac_retval
1581 } # ac_fn_c_try_link
1583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1584 # -------------------------------------------------------
1585 # Tests whether HEADER exists and can be compiled using the include files in
1586 # INCLUDES, setting the cache variable VAR accordingly.
1587 ac_fn_c_check_header_compile
()
1589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if eval \
${$3+:} false
; then :
1593 $as_echo_n "(cached) " >&6
1595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1596 /* end confdefs.h. */
1600 if ac_fn_c_try_compile
"$LINENO"; then :
1605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1609 $as_echo "$ac_res" >&6; }
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 } # ac_fn_c_check_header_compile
1614 # ac_fn_c_try_cpp LINENO
1615 # ----------------------
1616 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1619 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1620 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } > conftest.i && {
1636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1651 # ac_fn_c_try_run LINENO
1652 # ----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654 # that executables *can* be run.
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>&5
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1669 { { case "(($ac_try" in
1670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_try") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; }; }; then :
1681 $as_echo "$as_me: program exited with status $ac_status" >&5
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1685 ac_retval=$ac_status
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1693 # ac_fn_c_check_func LINENO FUNC VAR
1694 # ----------------------------------
1695 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1696 ac_fn_c_check_func ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if eval \${$3+:} false; then :
1702 $as_echo_n "(cached) " >&6
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1706 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1708 #define $2 innocuous_$2
1710 /* System header to define __stub macros and hopefully few prototypes,
1711 which can conflict with char $2 (); below.
1712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1713 <limits.h> exists even on freestanding compilers. */
1716 # include <limits.h>
1718 # include <assert.h>
1723 /* Override any GCC internal prototype to avoid an error.
1724 Use char because int might match the return type of a GCC
1725 builtin and then its argument prototype would still apply. */
1730 /* The GNU C library defines this for functions which it implements
1731 to always fail with ENOSYS. Some functions are actually named
1732 something starting with __ and the normal name is an alias. */
1733 #if defined __stub_$2 || defined __stub___$2
1745 if ac_fn_c_try_link "$LINENO"; then :
1750 rm -f core conftest.err conftest.$ac_objext \
1751 conftest$ac_exeext conftest.$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 } # ac_fn_c_check_func
1760 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1761 # -------------------------------------------------------
1762 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1763 # the include files in INCLUDES and setting the cache variable VAR
1765 ac_fn_c_check_header_mongrel ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 if eval \${$3+:} false; then :
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1778 # Is the header compilable?
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1780 $as_echo_n "checking $2 usability... " >&6; }
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1786 if ac_fn_c_try_compile "$LINENO"; then :
1787 ac_header_compiler=yes
1789 ac_header_compiler=no
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1793 $as_echo "$ac_header_compiler" >&6; }
1795 # Is the header present?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1797 $as_echo_n "checking $2 presence... " >&6; }
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1802 if ac_fn_c_try_cpp "$LINENO"; then :
1803 ac_header_preproc=yes
1805 ac_header_preproc=no
1807 rm -f conftest.err conftest.i conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1809 $as_echo "$ac_header_preproc" >&6; }
1811 # So? What about this header?
1812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1815 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1817 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1821 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1823 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1825 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1827 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1829 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1830 ( $as_echo "## --------------------------------------- ##
1831 ## Report this to ronniesahlberg@gmail.com ##
1832 ## --------------------------------------- ##"
1833 ) | sed "s/^/$as_me: WARNING: /" >&2
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \${$3+:} false; then :
1839 $as_echo_n "(cached) " >&6
1841 eval "$3=\$ac_header_compiler"
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 } # ac_fn_c_check_header_mongrel
1851 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1852 # ----------------------------------------------------
1853 # Tries to find if the field MEMBER exists in type AGGR, after including
1854 # INCLUDES, setting cache variable VAR accordingly.
1855 ac_fn_c_check_member ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1859 $as_echo_n "checking for $2.$3... " >&6; }
1860 if eval \${$4+:} false; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1876 if ac_fn_c_try_compile "$LINENO"; then :
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1886 if (sizeof ac_aggr.$3)
1892 if ac_fn_c_try_compile "$LINENO"; then :
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 } # ac_fn_c_check_member
1907 cat >config.log <<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1911 It was created by libnfs $as_me 1.2.0, which was
1912 generated by GNU Autoconf 2.68. Invocation command line was
1924 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1925 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1926 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1927 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1928 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1930 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1931 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1933 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1934 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1935 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1936 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1937 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1938 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1939 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 $as_echo "PATH: $as_dir"
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1972 ac_must_keep_next=false
1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1980 | -silent | --silent | --silen | --sile | --sil)
1983 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1988 as_fn_append ac_configure_args1 " '$ac_arg'"
1989 if test $ac_must_keep_next = true; then
1990 ac_must_keep_next=false # Got value, back to normal.
1993 *=* | --config-cache | -C | -disable-* | --disable-* \
1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1996 | -with-* | --with-* | -without-* | --without-* | --x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2001 -* ) ac_must_keep_next=true ;;
2004 as_fn_append ac_configure_args " '$ac_arg'"
2009 { ac_configure_args0=; unset ac_configure_args0;}
2010 { ac_configure_args1=; unset ac_configure_args1;}
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2022 $as_echo "## ---------------- ##
2023 ## Cache variables. ##
2024 ## ---------------- ##"
2026 # The following way of writing the cache mishandles newlines in values,
2028 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2029 eval ac_val=\$$ac_var
2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2037 _ | IFS | as_nl) ;; #(
2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2039 *) { eval $ac_var=; unset $ac_var;} ;;
2044 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2045 *${as_nl}ac_space=\ *)
2047 "s/'\''/'\''\\\\'\'''\''/g;
2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2058 $as_echo "## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##"
2062 for ac_var in $ac_subst_vars
2064 eval ac_val=\$$ac_var
2066 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2068 $as_echo "$ac_var='\''$ac_val'\''"
2072 if test -n "$ac_subst_files"; then
2073 $as_echo "## ------------------- ##
2074 ## File substitutions. ##
2075 ## ------------------- ##"
2077 for ac_var in $ac_subst_files
2079 eval ac_val=\$$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -s confdefs.h; then
2089 $as_echo "## ----------- ##
2096 test "$ac_signal" != 0 &&
2097 $as_echo "$as_me: caught signal $ac_signal"
2098 $as_echo "$as_me: exit $exit_status"
2100 rm -f core *.core core.conftest.* &&
2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2104 for ac_signal in 1 2 13 15; do
2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2110 rm -f -r conftest* confdefs.h
2112 $as_echo "/* confdefs.h */" > confdefs.h
2114 # Predefined preprocessor variables.
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_NAME "$PACKAGE_NAME"
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2128 cat >>confdefs.h <<_ACEOF
2129 #define PACKAGE_STRING "$PACKAGE_STRING"
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_URL "$PACKAGE_URL"
2141 # Let the site file select an alternate cache file if it wants to.
2142 # Prefer an explicitly selected file to automatically selected ones.
2145 if test -n "$CONFIG_SITE"; then
2146 # We do not want a PATH search for config.site.
2147 case $CONFIG_SITE in #((
2148 -*) ac_site_file1=./$CONFIG_SITE;;
2149 */*) ac_site_file1=$CONFIG_SITE;;
2150 *) ac_site_file1=./$CONFIG_SITE;;
2152 elif test "x$prefix" != xNONE; then
2153 ac_site_file1=$prefix/share/config.site
2154 ac_site_file2=$prefix/etc/config.site
2156 ac_site_file1=$ac_default_prefix/share/config.site
2157 ac_site_file2=$ac_default_prefix/etc/config.site
2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2161 test "x$ac_site_file" = xNONE && continue
2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2169 as_fn_error $? "failed to load site
script $ac_site_file
2170 See \
`config.log' for more details" "$LINENO" 5; }
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special files
2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2182 *) . "./$cache_file";;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2191 # Check that the precious variables saved in the cache have kept the same
2193 ac_cache_corrupted=false
2194 for ac_var in $ac_precious_vars; do
2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2196 eval ac_new_set=\$ac_env_${ac_var}_set
2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2198 eval ac_new_val=\$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2202 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2206 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w=`echo x
$ac_old_val`
2213 ac_new_val_w=`echo x
$ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2217 ac_cache_corrupted=:
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\$ac_old_val
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2233 *) ac_arg=$ac_var=$ac_new_val ;;
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259 ac_config_headers="$ac_config_headers config.h"
2261 am__api_version='1.11'
2264 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2265 if test -f "$ac_dir/install-sh"; then
2267 ac_install_sh="$ac_aux_dir/install-sh -c"
2269 elif test -f "$ac_dir/install.sh"; then
2271 ac_install_sh="$ac_aux_dir/install.sh -c"
2273 elif test -f "$ac_dir/shtool"; then
2275 ac_install_sh="$ac_aux_dir/shtool install -c"
2279 if test -z "$ac_aux_dir"; then
2280 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2283 # These three variables are undocumented and unsupported,
2284 # and are intended to be withdrawn in a future Autoconf release.
2285 # They can cause serious problems if a builder's source tree is in a directory
2286 # whose full name contains unusual characters.
2287 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2288 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2289 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2292 # Find a good install program. We prefer a C program (faster),
2293 # so one script is as good as another. But avoid the broken or
2294 # incompatible versions:
2295 # SysV /etc/install, /usr/sbin/install
2296 # SunOS /usr/etc/install
2297 # IRIX /sbin/install
2299 # AmigaOS /C/install, which installs bootblocks on floppy discs
2300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2303 # OS/2's system install, which has a completely different semantic
2304 # ./install, which can be erroneously created by make from ./install.sh.
2305 # Reject install programs that cannot install multiple files.
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2307 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2308 if test -z "$INSTALL"; then
2309 if ${ac_cv_path_install+:} false; then :
2310 $as_echo_n "(cached) " >&6
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 # Account for people who put trailing slashes in PATH elements.
2318 case $as_dir/ in #((
2319 ./ | .// | /[cC]/* | \
2320 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2321 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2324 # OSF1 and SCO ODT 3.0 have their own names for install.
2325 # Don't use installbsd from OSF since it installs stuff as root
2327 for ac_prog in ginstall scoinst install; do
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2330 if test $ac_prog = install &&
2331 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2332 # AIX install. It has an incompatible calling convention.
2334 elif test $ac_prog = install &&
2335 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2336 # program-specific install script used by HP pwplus--don't use.
2339 rm -rf conftest.one conftest.two conftest.dir
2340 echo one > conftest.one
2341 echo two > conftest.two
2343 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2344 test -s conftest.one && test -s conftest.two &&
2345 test -s conftest.dir/conftest.one &&
2346 test -s conftest.dir/conftest.two
2348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2361 rm -rf conftest.one conftest.two conftest.dir
2364 if test "${ac_cv_path_install+set}" = set; then
2365 INSTALL=$ac_cv_path_install
2367 # As a last resort, use the slow shell script. Don't cache a
2368 # value for INSTALL within a source directory, because that will
2369 # break other packages using the cache if that directory is
2370 # removed, or if the value is a relative name.
2371 INSTALL=$ac_install_sh
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2375 $as_echo "$INSTALL" >&6; }
2377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2378 # It thinks the first close brace ends the variable substitution.
2379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2386 $as_echo_n "checking whether build environment is sane... " >&6; }
2389 echo timestamp > conftest.file
2390 # Reject unsafe characters in $srcdir or the absolute working directory
2391 # name. Accept space and tab only in the latter.
2395 *[\\\"\#\$\&\'\`$am_lf]*)
2396 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2399 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2400 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2403 # Do `set' in a subshell so we don't clobber the current shell's
2404 # arguments. Must try -L first in case configure is actually a
2405 # symlink; some systems play weird games with the mod time of symlinks
2406 # (eg FreeBSD returns the mod time of the symlink's containing
2409 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2410 if test "$*" = "X"; then
2412 set X
`ls -t "$srcdir/configure" conftest.file`
2415 if test "$*" != "X $srcdir/configure conftest.file" \
2416 && test "$*" != "X conftest.file $srcdir/configure"; then
2418 # If neither matched, then we have a broken ls. This can happen
2419 # if, for instance, CONFIG_SHELL is bash and it inherits a
2420 # broken ls alias from the environment. This has actually
2421 # happened. Such a system could not be considered "sane".
2422 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2423 alias in your environment" "$LINENO" 5
2426 test "$2" = conftest.
file
2432 as_fn_error $?
"newly created file is older than distributed files!
2433 Check your system clock" "$LINENO" 5
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2436 $as_echo "yes" >&6; }
2437 test "$program_prefix" != NONE
&&
2438 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2439 # Use a double $ so make ignores it.
2440 test "$program_suffix" != NONE
&&
2441 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2442 # Double any \ or $.
2443 # By default was `s,x,x', remove it if useless.
2444 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2445 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2447 # expand $ac_aux_dir to an absolute path
2448 am_aux_dir
=`cd $ac_aux_dir && pwd`
2450 if test x
"${MISSING+set}" != xset
; then
2453 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2455 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2458 # Use eval to expand $SHELL
2459 if eval "$MISSING --run true"; then
2460 am_missing_run
="$MISSING --run "
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2464 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2467 if test x
"${install_sh}" != xset
; then
2470 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2472 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2476 # Installed binaries are usually stripped using `strip' when the user
2477 # run `make install-strip'. However `strip' might not be the right
2478 # tool to use in cross-compilation environments, therefore Automake
2479 # will honor the `STRIP' environment variable to overrule this program.
2480 if test "$cross_compiling" != no
; then
2481 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2483 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if ${ac_cv_prog_STRIP+:} false
; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$STRIP"; then
2490 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 STRIP
=$ac_cv_prog_STRIP
2510 if test -n "$STRIP"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2512 $as_echo "$STRIP" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2520 if test -z "$ac_cv_prog_STRIP"; then
2522 # Extract the first word of "strip", so it can be a program name with args.
2523 set dummy strip
; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$ac_ct_STRIP"; then
2530 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_ac_ct_STRIP
="strip"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2550 if test -n "$ac_ct_STRIP"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2552 $as_echo "$ac_ct_STRIP" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2558 if test "x$ac_ct_STRIP" = x
; then
2561 case $cross_compiling:$ac_tool_warned in
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2565 ac_tool_warned
=yes ;;
2570 STRIP
="$ac_cv_prog_STRIP"
2574 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2577 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2578 if test -z "$MKDIR_P"; then
2579 if ${ac_cv_path_mkdir+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_prog
in mkdir gmkdir
; do
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2590 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2591 'mkdir (GNU coreutils) '* | \
2592 'mkdir (coreutils) '* | \
2593 'mkdir (fileutils) '4.1*)
2594 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2604 test -d .
/--version && rmdir .
/--version
2605 if test "${ac_cv_path_mkdir+set}" = set; then
2606 MKDIR_P
="$ac_cv_path_mkdir -p"
2608 # As a last resort, use the slow shell script. Don't cache a
2609 # value for MKDIR_P within a source directory, because that will
2610 # break other packages using the cache if that directory is
2611 # removed, or if the value is a relative name.
2612 MKDIR_P
="$ac_install_sh -d"
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2616 $as_echo "$MKDIR_P" >&6; }
2620 [\\/$
]* | ?
:[\\/]*) ;;
2621 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2624 for ac_prog
in gawk mawk nawk
awk
2626 # Extract the first word of "$ac_prog", so it can be a program name with args.
2627 set dummy
$ac_prog; ac_word
=$2
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if ${ac_cv_prog_AWK+:} false
; then :
2631 $as_echo_n "(cached) " >&6
2633 if test -n "$AWK"; then
2634 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir
=.
2641 for ac_exec_ext
in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_AWK
="$ac_prog"
2644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 if test -n "$AWK"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2656 $as_echo "$AWK" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2663 test -n "$AWK" && break
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2667 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2669 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2670 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2671 $as_echo_n "(cached) " >&6
2673 cat >conftest.
make <<\_ACEOF
2676 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2678 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2679 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2681 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2683 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2687 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2689 $as_echo "yes" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2694 SET_MAKE
="MAKE=${MAKE-make}"
2697 rm -rf .tst
2>/dev
/null
2698 mkdir .tst
2>/dev
/null
2699 if test -d .tst
; then
2704 rmdir .tst
2>/dev
/null
2706 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2707 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2708 # is not polluted with repeated "-I."
2709 am__isrc
=' -I$(srcdir)'
2710 # test to see if srcdir already configured
2711 if test -f $srcdir/config.status
; then
2712 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2716 # test whether we have cygpath
2717 if test -z "$CYGPATH_W"; then
2718 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2719 CYGPATH_W
='cygpath -w'
2726 # Define the identity of the package.
2731 cat >>confdefs.h
<<_ACEOF
2732 #define PACKAGE "$PACKAGE"
2736 cat >>confdefs.h
<<_ACEOF
2737 #define VERSION "$VERSION"
2740 # Some tools Automake needs.
2742 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2745 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2748 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2751 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2754 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2756 # We need awk for the "check" target. The system "awk" is bad on
2758 # Always define AMTAR for backward compatibility.
2760 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2762 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2768 # Make sure we can run config.sub.
2769 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2770 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2773 $as_echo_n "checking build system type... " >&6; }
2774 if ${ac_cv_build+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 ac_build_alias
=$build_alias
2778 test "x$ac_build_alias" = x
&&
2779 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2780 test "x$ac_build_alias" = x
&&
2781 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2782 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2783 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2787 $as_echo "$ac_cv_build" >&6; }
2788 case $ac_cv_build in
2790 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2793 ac_save_IFS
=$IFS; IFS
='-'
2799 # Remember, the first character of IFS is used to create $*,
2800 # except with old shells:
2803 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2807 $as_echo_n "checking host system type... " >&6; }
2808 if ${ac_cv_host+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test "x$host_alias" = x
; then
2812 ac_cv_host
=$ac_cv_build
2814 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2815 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2820 $as_echo "$ac_cv_host" >&6; }
2823 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2826 ac_save_IFS
=$IFS; IFS
='-'
2832 # Remember, the first character of IFS is used to create $*,
2833 # except with old shells:
2836 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2840 # Work around stupid autoconf default cflags. pt 1
2841 SAVE_CFLAGS
="x${CFLAGS}"
2844 ac_cpp
='$CPP $CPPFLAGS'
2845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2848 if test -n "$ac_tool_prefix"; then
2849 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2850 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if ${ac_cv_prog_CC+:} false
; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$CC"; then
2857 ac_cv_prog_CC
="$CC" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 if test -n "$CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2879 $as_echo "$CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2887 if test -z "$ac_cv_prog_CC"; then
2889 # Extract the first word of "gcc", so it can be a program name with args.
2890 set dummy gcc
; ac_word
=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$ac_ct_CC"; then
2897 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906 ac_cv_prog_ac_ct_CC
="gcc"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2917 if test -n "$ac_ct_CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2919 $as_echo "$ac_ct_CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2925 if test "x$ac_ct_CC" = x
; then
2928 case $cross_compiling:$ac_tool_warned in
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932 ac_tool_warned
=yes ;;
2940 if test -z "$CC"; then
2941 if test -n "$ac_tool_prefix"; then
2942 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2943 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_CC+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC
="$CC" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972 $as_echo "$CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2981 if test -z "$CC"; then
2982 # Extract the first word of "cc", so it can be a program name with args.
2983 set dummy cc
; ac_word
=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_CC+:} false
; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC
="$CC" # Let the user override the test.
2993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2997 test -z "$as_dir" && as_dir
=.
2998 for ac_exec_ext
in '' $ac_executable_extensions; do
2999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3000 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3001 ac_prog_rejected
=yes
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 if test $ac_prog_rejected = yes; then
3013 # We found a bogon in the path, so make sure we never use it.
3014 set dummy
$ac_cv_prog_CC
3016 if test $# != 0; then
3017 # We chose a different compiler from the bogus one.
3018 # However, it has the same basename, so the bogon will be chosen
3019 # first if we set CC to just the basename; use the full file name.
3021 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3027 if test -n "$CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029 $as_echo "$CC" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3037 if test -z "$CC"; then
3038 if test -n "$ac_tool_prefix"; then
3039 for ac_prog
in cl.exe
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3042 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_CC+:} false
; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$CC"; then
3049 ac_cv_prog_CC
="$CC" # Let the user override the test.
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_exec_ext
in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 if test -n "$CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3071 $as_echo "$CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3078 test -n "$CC" && break
3081 if test -z "$CC"; then
3083 for ac_prog
in cl.exe
3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3086 set dummy
$ac_prog; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$ac_ct_CC"; then
3093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CC
="$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3113 if test -n "$ac_ct_CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3115 $as_echo "$ac_ct_CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3122 test -n "$ac_ct_CC" && break
3125 if test "x$ac_ct_CC" = x
; then
3128 case $cross_compiling:$ac_tool_warned in
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3132 ac_tool_warned
=yes ;;
3141 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3143 as_fn_error $?
"no acceptable C compiler found in \$PATH
3144 See \`config.log' for more details" "$LINENO" 5; }
3146 # Provide some information about the compiler.
3147 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3150 for ac_option
in --version -v -V -qversion; do
3151 { { ac_try
="$ac_compiler $ac_option >&5"
3153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3160 if test -s conftest.err; then
3162 ... rest of stderr output deleted ...
3163 10q' conftest.err >conftest.er1
3164 cat conftest.er1 >&5
3166 rm -f conftest.er1 conftest.err
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 ac_clean_files_save=$ac_clean_files
3183 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3184 # Try to create an executable without -o first, disregard a.out.
3185 # It will help us diagnose broken compilers, and finding out an intuition
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3188 $as_echo_n "checking whether the C compiler works... " >&6; }
3189 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3191 # The possible output files:
3192 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3195 for ac_file in $ac_files
3198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3199 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3204 if { { ac_try="$ac_link_default"
3206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3207 *) ac_try_echo
=$ac_try;;
3209 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_link_default") 2>&5
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }; then :
3215 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3216 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3217 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3218 # so that the user can short-circuit this test for compilers unknown to
3220 for ac_file
in $ac_files ''
3222 test -f "$ac_file" ||
continue
3224 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3227 # We found the default executable, but exeext='' is most
3231 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3233 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3235 # We set ac_cv_exeext here because the later test for it is not
3236 # safe: cross compilers may not add the suffix if given an `-o'
3237 # argument, so we may need to know it at that point already.
3238 # Even if this section looks crufty: it has the advantage of
3245 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3250 if test -z "$ac_file"; then :
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 $as_echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.
$ac_ext >&5
3256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error
77 "C compiler cannot create executables
3259 See \`config.log' for more details" "$LINENO" 5; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3262 $as_echo "yes" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3265 $as_echo_n "checking for C compiler default output file name... " >&6; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3267 $as_echo "$ac_file" >&6; }
3268 ac_exeext
=$ac_cv_exeext
3270 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3271 ac_clean_files
=$ac_clean_files_save
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3273 $as_echo_n "checking for suffix of executables... " >&6; }
3274 if { { ac_try
="$ac_link"
3276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_link") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }; then :
3285 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3286 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3287 # work properly (i.e., refer to `conftest.exe'), while it won't with
3289 for ac_file
in conftest.exe conftest conftest.
*; do
3290 test -f "$ac_file" ||
continue
3292 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3293 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3302 See \`config.log' for more details" "$LINENO" 5; }
3304 rm -f conftest conftest
$ac_cv_exeext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3306 $as_echo "$ac_cv_exeext" >&6; }
3308 rm -f conftest.
$ac_ext
3309 EXEEXT
=$ac_cv_exeext
3311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3317 FILE *f = fopen ("conftest.out", "w");
3318 return ferror (f) || fclose (f) != 0;
3324 ac_clean_files
="$ac_clean_files conftest.out"
3325 # Check that the compiler produces executables we can run. If not, either
3326 # the compiler is broken, or we cross compile.
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3328 $as_echo_n "checking whether we are cross compiling... " >&6; }
3329 if test "$cross_compiling" != yes; then
3330 { { ac_try
="$ac_link"
3332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }
3341 if { ac_try='./conftest$ac_cv_exeext'
3342 { { case "(($ac_try" in
3343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3344 *) ac_try_echo
=$ac_try;;
3346 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_try") 2>&5
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }; }; then
3354 if test "$cross_compiling" = maybe
; then
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $?
"cannot run C compiled programs.
3360 If you meant to cross compile, use \`--host'.
3361 See \`config.log' for more details" "$LINENO" 5; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3366 $as_echo "$cross_compiling" >&6; }
3368 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3369 ac_clean_files
=$ac_clean_files_save
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3371 $as_echo_n "checking for suffix of object files... " >&6; }
3372 if ${ac_cv_objext+:} false
; then :
3373 $as_echo_n "(cached) " >&6
3375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 rm -f conftest.o conftest.obj
3387 if { { ac_try
="$ac_compile"
3389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_compile") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 for ac_file in conftest.o conftest.obj conftest.*; do
3399 test -f "$ac_file" || continue;
3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3413 See \
`config.log' for more details" "$LINENO" 5; }
3415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3418 $as_echo "$ac_cv_objext" >&6; }
3419 OBJEXT=$ac_cv_objext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3422 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3423 if ${ac_cv_c_compiler_gnu+:} false; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3440 if ac_fn_c_try_compile "$LINENO"; then :
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3450 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3451 if test $ac_compiler_gnu = yes; then
3456 ac_test_CFLAGS=${CFLAGS+set}
3457 ac_save_CFLAGS=$CFLAGS
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3460 if ${ac_cv_prog_cc_g+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 ac_save_c_werror_flag=$ac_c_werror_flag
3464 ac_c_werror_flag=yes
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3478 if ac_fn_c_try_compile "$LINENO"; then :
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3496 ac_c_werror_flag=$ac_save_c_werror_flag
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3520 $as_echo "$ac_cv_prog_cc_g" >&6; }
3521 if test "$ac_test_CFLAGS" = set; then
3522 CFLAGS=$ac_save_CFLAGS
3523 elif test $ac_cv_prog_cc_g = yes; then
3524 if test "$GCC" = yes; then
3530 if test "$GCC" = yes; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3537 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3538 if ${ac_cv_prog_cc_c89+:} false; then :
3539 $as_echo_n "(cached) " >&6
3541 ac_cv_prog_cc_c89=no
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3563 s = g (p, va_arg (v,int));
3568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3569 function prototypes and stuff, but not '\xHH' hex character constants.
3570 These don't provoke an error unfortunately, instead are silently treated
3571 as 'x'. The following induces an error, until -std is added to get
3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3573 array size at least. It's necessary to write '\x00'==0 to get something
3574 that's true only with -std. */
3575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3578 inside strings and character constants. */
3580 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582 int test (int i, double x);
3583 struct s1 {int (*f) (int a);};
3584 struct s2 {int (*f) (double a);};
3585 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3591 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3597 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 CC="$ac_save_CC $ac_arg"
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_prog_cc_c89=$ac_arg
3603 rm -f core conftest.err conftest.$ac_objext
3604 test "x$ac_cv_prog_cc_c89" != "xno" && break
3606 rm -f conftest.$ac_ext
3611 case "x$ac_cv_prog_cc_c89" in
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3614 $as_echo "none needed" >&6; } ;;
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3617 $as_echo "unsupported" >&6; } ;;
3619 CC="$CC $ac_cv_prog_cc_c89"
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3621 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3623 if test "x$ac_cv_prog_cc_c89" != xno; then :
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 DEPDIR="${am__leading_dot}deps"
3634 ac_config_commands="$ac_config_commands depfiles"
3637 am_make=${MAKE-make}
3638 cat > confinc << 'END'
3640 @echo this is the am__doit target
3643 # If we don't find an include directive, just comment out the code.
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3645 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 # First try GNU make style include.
3650 echo "include confinc" > confmf
3651 # Ignore all kinds of additional output from `make'.
3652 case `$am_make -s -f confmf 2> /dev/null` in #(
3653 *the\ am__doit\ target*)
3659 # Now try BSD make style include.
3660 if test "$am__include" = "#"; then
3661 echo '.include
"confinc"' > confmf
3662 case `$am_make -s -f confmf 2> /dev/null` in #(
3663 *the\ am__doit\ target*)
3664 am__include=.include
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3673 $as_echo "$_am_result" >&6; }
3674 rm -f confinc confmf
3676 # Check whether --enable-dependency-tracking was given.
3677 if test "${enable_dependency_tracking+set}" = set; then :
3678 enableval=$enable_dependency_tracking;
3681 if test "x$enable_dependency_tracking" != xno; then
3682 am_depcomp="$ac_aux_dir/depcomp"
3685 if test "x$enable_dependency_tracking" != xno
; then
3695 depcc
="$CC" am_compiler_list
=
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698 $as_echo_n "checking dependency style of $depcc... " >&6; }
3699 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3703 # We make a subdir and do the tests there. Otherwise we can end up
3704 # making bogus files that we don't know about and never remove. For
3705 # instance it was reported that on HP-UX the gcc test will end up
3706 # making a dummy file named `D' -- because `-MD' means `put the output
3709 # Copy depcomp to subdir because otherwise we won't find it if we're
3710 # using a relative directory.
3711 cp "$am_depcomp" conftest.dir
3713 # We will build objects and dependencies in a subdirectory because
3714 # it helps to detect inapplicable dependency modes. For instance
3715 # both Tru64's cc and ICC support -MD to output dependencies as a
3716 # side effect of compilation, but ICC will put the dependencies in
3717 # the current directory while Tru64 will put them in the object
3721 am_cv_CC_dependencies_compiler_type
=none
3722 if test "$am_compiler_list" = ""; then
3723 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3726 case " $depcc " in #(
3727 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3730 for depmode
in $am_compiler_list; do
3731 # Setup a source with many dependencies, because some compilers
3732 # like to wrap large dependency lists on column 80 (with \), and
3733 # we should not choose a depcomp mode which is confused by this.
3735 # We need to recreate these files for each test, as the compiler may
3736 # overwrite some of them when testing with obscure command lines.
3737 # This happens at least with the AIX C compiler.
3739 for i
in 1 2 3 4 5 6; do
3740 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3741 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3742 # Solaris 8's {/usr,}/bin/sh.
3743 touch sub
/conftst
$i.h
3745 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3748 # mode. It turns out that the SunPro C++ compiler does not properly
3749 # handle `-M -o', and we need to detect this. Also, some Intel
3750 # versions had trouble with output in subdirs
3751 am__obj
=sub
/conftest.
${OBJEXT-o}
3752 am__minus_obj
="-o $am__obj"
3755 # This depmode causes a compiler race in universal mode.
3756 test "$am__universal" = false ||
continue
3759 # after this tag, mechanisms are not by side-effect, so they'll
3760 # only be used when explicitly requested
3761 if test "x$enable_dependency_tracking" = xyes
; then
3767 msvisualcpp | msvcmsys
)
3768 # This compiler won't grok `-c -o', but also, the minuso test has
3769 # not run yet. These depmodes are late enough in the game, and
3770 # so weak that their functioning should not be impacted.
3771 am__obj
=conftest.
${OBJEXT-o}
3776 if depmode
=$depmode \
3777 source=sub
/conftest.c object
=$am__obj \
3778 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3779 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3780 >/dev
/null
2>conftest.err
&&
3781 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3782 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3783 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3784 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3785 # icc doesn't choke on unknown options, it will just issue warnings
3786 # or remarks (even with -Werror). So we grep stderr for any message
3787 # that says an option was ignored or not supported.
3788 # When given -MP, icc 7.0 and 7.1 complain thusly:
3789 # icc: Command line warning: ignoring option '-M'; no argument required
3790 # The diagnosis changed in icc 8.0:
3791 # icc: Command line remark: option '-MP' not supported
3792 if (grep 'ignoring option' conftest.err ||
3793 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3794 am_cv_CC_dependencies_compiler_type
=$depmode
3803 am_cv_CC_dependencies_compiler_type
=none
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3808 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3809 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3812 test "x$enable_dependency_tracking" != xno \
3813 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3815 am__fastdepCC_FALSE
='#'
3817 am__fastdepCC_TRUE
='#'
3818 am__fastdepCC_FALSE
=
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3825 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3830 macro_version
='2.4.2'
3831 macro_revision
='1.3337'
3845 ltmain
="$ac_aux_dir/ltmain.sh"
3847 # Backslashify metacharacters that are still active within
3848 # double-quoted strings.
3849 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3851 # Same as above, but do not quote variable references.
3852 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3854 # Sed substitution to delay expansion of an escaped shell variable in a
3855 # double_quote_subst'ed string.
3856 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3858 # Sed substitution to delay expansion of an escaped single quote.
3859 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3861 # Sed substitution to avoid accidental globbing in evaled expressions
3862 no_glob_subst
='s/\*/\\\*/g'
3864 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3865 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3866 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3869 $as_echo_n "checking how to print strings... " >&6; }
3870 # Test print first, because it will be a builtin if present.
3871 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3872 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3874 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3877 # Use this function as a fallback that always works.
3878 func_fallback_echo ()
3880 eval 'cat <<_LTECHO_EOF
3884 ECHO='func_fallback_echo
'
3887 # func_echo_all arg...
3888 # Invoke $ECHO with all args, space-separated.
3895 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3896 $as_echo "printf" >&6; } ;;
3897 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3898 $as_echo "print -r" >&6; } ;;
3899 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3900 $as_echo "cat" >&6; } ;;
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3917 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3918 if ${ac_cv_path_SED+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3922 for ac_i in 1 2 3 4 5 6 7; do
3923 ac_script="$ac_script$as_nl$ac_script"
3925 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3926 { ac_script=; unset ac_script;}
3927 if test -z "$SED"; then
3928 ac_path_SED_found=false
3929 # Loop through the user's path and
test for each of PROGNAME-LIST
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_prog
in sed gsed
; do
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3938 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3939 # Check for GNU ac_path_SED and select it if it is found.
3940 # Check for GNU $ac_path_SED
3941 case `"$ac_path_SED" --version 2>&1` in
3943 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3946 $as_echo_n 0123456789 >"conftest.in"
3949 cat "conftest.in" "conftest.in" >"conftest.tmp"
3950 mv "conftest.tmp" "conftest.in"
3951 cp "conftest.in" "conftest.nl"
3952 $as_echo '' >> "conftest.nl"
3953 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3954 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3955 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3956 if test $ac_count -gt ${ac_path_SED_max-0}; then
3957 # Best one so far, save it but keep looking for a better one
3958 ac_cv_path_SED
="$ac_path_SED"
3959 ac_path_SED_max
=$ac_count
3961 # 10*(2^10) chars as input seems more than enough
3962 test $ac_count -gt 10 && break
3964 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3967 $ac_path_SED_found && break 3
3972 if test -z "$ac_cv_path_SED"; then
3973 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3981 $as_echo "$ac_cv_path_SED" >&6; }
3982 SED
="$ac_cv_path_SED"
3985 test -z "$SED" && SED
=sed
3986 Xsed
="$SED -e 1s/^X//"
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3999 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4000 if ${ac_cv_path_GREP+:} false
; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -z "$GREP"; then
4004 ac_path_GREP_found
=false
4005 # Loop through the user's path and test for each of PROGNAME-LIST
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4007 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_prog
in grep ggrep
; do
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4014 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4015 # Check for GNU ac_path_GREP and select it if it is found.
4016 # Check for GNU $ac_path_GREP
4017 case `"$ac_path_GREP" --version 2>&1` in
4019 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4022 $as_echo_n 0123456789 >"conftest.in"
4025 cat "conftest.in" "conftest.in" >"conftest.tmp"
4026 mv "conftest.tmp" "conftest.in"
4027 cp "conftest.in" "conftest.nl"
4028 $as_echo 'GREP' >> "conftest.nl"
4029 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4030 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4031 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4032 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4033 # Best one so far, save it but keep looking for a better one
4034 ac_cv_path_GREP
="$ac_path_GREP"
4035 ac_path_GREP_max
=$ac_count
4037 # 10*(2^10) chars as input seems more than enough
4038 test $ac_count -gt 10 && break
4040 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4043 $ac_path_GREP_found && break 3
4048 if test -z "$ac_cv_path_GREP"; then
4049 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4052 ac_cv_path_GREP
=$GREP
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4057 $as_echo "$ac_cv_path_GREP" >&6; }
4058 GREP
="$ac_cv_path_GREP"
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4062 $as_echo_n "checking for egrep... " >&6; }
4063 if ${ac_cv_path_EGREP+:} false
; then :
4064 $as_echo_n "(cached) " >&6
4066 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4067 then ac_cv_path_EGREP
="$GREP -E"
4069 if test -z "$EGREP"; then
4070 ac_path_EGREP_found
=false
4071 # Loop through the user's path and test for each of PROGNAME-LIST
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_prog
in egrep; do
4078 for ac_exec_ext
in '' $ac_executable_extensions; do
4079 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4080 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4081 # Check for GNU ac_path_EGREP and select it if it is found.
4082 # Check for GNU $ac_path_EGREP
4083 case `"$ac_path_EGREP" --version 2>&1` in
4085 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4088 $as_echo_n 0123456789 >"conftest.in"
4091 cat "conftest.in" "conftest.in" >"conftest.tmp"
4092 mv "conftest.tmp" "conftest.in"
4093 cp "conftest.in" "conftest.nl"
4094 $as_echo 'EGREP' >> "conftest.nl"
4095 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4096 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4097 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4098 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4099 # Best one so far, save it but keep looking for a better one
4100 ac_cv_path_EGREP
="$ac_path_EGREP"
4101 ac_path_EGREP_max
=$ac_count
4103 # 10*(2^10) chars as input seems more than enough
4104 test $ac_count -gt 10 && break
4106 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4109 $ac_path_EGREP_found && break 3
4114 if test -z "$ac_cv_path_EGREP"; then
4115 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4118 ac_cv_path_EGREP
=$EGREP
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4124 $as_echo "$ac_cv_path_EGREP" >&6; }
4125 EGREP
="$ac_cv_path_EGREP"
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4129 $as_echo_n "checking for fgrep... " >&6; }
4130 if ${ac_cv_path_FGREP+:} false
; then :
4131 $as_echo_n "(cached) " >&6
4133 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4134 then ac_cv_path_FGREP
="$GREP -F"
4136 if test -z "$FGREP"; then
4137 ac_path_FGREP_found
=false
4138 # Loop through the user's path and test for each of PROGNAME-LIST
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_prog
in fgrep
; do
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4147 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4148 # Check for GNU ac_path_FGREP and select it if it is found.
4149 # Check for GNU $ac_path_FGREP
4150 case `"$ac_path_FGREP" --version 2>&1` in
4152 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4155 $as_echo_n 0123456789 >"conftest.in"
4158 cat "conftest.in" "conftest.in" >"conftest.tmp"
4159 mv "conftest.tmp" "conftest.in"
4160 cp "conftest.in" "conftest.nl"
4161 $as_echo 'FGREP' >> "conftest.nl"
4162 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4164 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4165 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4166 # Best one so far, save it but keep looking for a better one
4167 ac_cv_path_FGREP
="$ac_path_FGREP"
4168 ac_path_FGREP_max
=$ac_count
4170 # 10*(2^10) chars as input seems more than enough
4171 test $ac_count -gt 10 && break
4173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4176 $ac_path_FGREP_found && break 3
4181 if test -z "$ac_cv_path_FGREP"; then
4182 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4185 ac_cv_path_FGREP
=$FGREP
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4191 $as_echo "$ac_cv_path_FGREP" >&6; }
4192 FGREP
="$ac_cv_path_FGREP"
4195 test -z "$GREP" && GREP
=grep
4215 # Check whether --with-gnu-ld was given.
4216 if test "${with_gnu_ld+set}" = set; then :
4217 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4223 if test "$GCC" = yes; then
4224 # Check if gcc -print-prog-name=ld gives a path.
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4226 $as_echo_n "checking for ld used by $CC... " >&6; }
4229 # gcc leaves a trailing carriage return which upsets mingw
4230 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4232 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4235 # Accept absolute paths.
4237 re_direlt
='/[^/][^/]*/\.\./'
4238 # Canonicalize the pathname of ld
4239 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4240 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4241 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4243 test -z "$LD" && LD
="$ac_prog"
4246 # If it fails, then pretend we aren't using GCC.
4250 # If it is relative, then search for the first ld in PATH.
4254 elif test "$with_gnu_ld" = yes; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4256 $as_echo_n "checking for GNU ld... " >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4259 $as_echo_n "checking for non-GNU ld... " >&6; }
4261 if ${lt_cv_path_LD+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -z "$LD"; then
4265 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4266 for ac_dir
in $PATH; do
4268 test -z "$ac_dir" && ac_dir
=.
4269 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4270 lt_cv_path_LD
="$ac_dir/$ac_prog"
4271 # Check to see if the program is GNU ld. I'd rather use --version,
4272 # but apparently some variants of GNU ld only accept -v.
4273 # Break only if it was the GNU/non-GNU ld that we prefer.
4274 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4275 *GNU
* |
*'with BFD'*)
4276 test "$with_gnu_ld" != no
&& break
4279 test "$with_gnu_ld" != yes && break
4286 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4291 if test -n "$LD"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4293 $as_echo "$LD" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4298 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4300 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4301 if ${lt_cv_prog_gnu_ld+:} false
; then :
4302 $as_echo_n "(cached) " >&6
4304 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4305 case `$LD -v 2>&1 </dev/null` in
4306 *GNU
* |
*'with BFD'*)
4307 lt_cv_prog_gnu_ld
=yes
4310 lt_cv_prog_gnu_ld
=no
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4315 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4316 with_gnu_ld
=$lt_cv_prog_gnu_ld
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4327 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4328 if ${lt_cv_path_NM+:} false
; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$NM"; then
4332 # Let the user override the test.
4335 lt_nm_to_check
="${ac_tool_prefix}nm"
4336 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4337 lt_nm_to_check
="$lt_nm_to_check nm"
4339 for lt_tmp_nm
in $lt_nm_to_check; do
4340 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4341 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4343 test -z "$ac_dir" && ac_dir
=.
4344 tmp_nm
="$ac_dir/$lt_tmp_nm"
4345 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4346 # Check to see if the nm accepts a BSD-compat flag.
4347 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4348 # nm: unknown option "B" ignored
4349 # Tru64's nm complains that /dev/null is an invalid object file
4350 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4351 */dev
/null
* |
*'Invalid file or object type'*)
4352 lt_cv_path_NM
="$tmp_nm -B"
4356 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4358 lt_cv_path_NM
="$tmp_nm -p"
4362 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4363 continue # so that we can try to find one that supports BSD flags
4372 : ${lt_cv_path_NM=no}
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4376 $as_echo "$lt_cv_path_NM" >&6; }
4377 if test "$lt_cv_path_NM" != "no"; then
4380 # Didn't find any BSD compatible name lister, look for dumpbin.
4381 if test -n "$DUMPBIN"; then :
4382 # Let the user override the test.
4384 if test -n "$ac_tool_prefix"; then
4385 for ac_prog
in dumpbin
"link -dump"
4387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4388 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -n "$DUMPBIN"; then
4395 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 DUMPBIN
=$ac_cv_prog_DUMPBIN
4415 if test -n "$DUMPBIN"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4417 $as_echo "$DUMPBIN" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4424 test -n "$DUMPBIN" && break
4427 if test -z "$DUMPBIN"; then
4428 ac_ct_DUMPBIN
=$DUMPBIN
4429 for ac_prog
in dumpbin
"link -dump"
4431 # Extract the first word of "$ac_prog", so it can be a program name with args.
4432 set dummy
$ac_prog; ac_word
=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -n "$ac_ct_DUMPBIN"; then
4439 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4445 test -z "$as_dir" && as_dir
=.
4446 for ac_exec_ext
in '' $ac_executable_extensions; do
4447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4448 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4459 if test -n "$ac_ct_DUMPBIN"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4461 $as_echo "$ac_ct_DUMPBIN" >&6; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$ac_ct_DUMPBIN" && break
4471 if test "x$ac_ct_DUMPBIN" = x
; then
4474 case $cross_compiling:$ac_tool_warned in
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4478 ac_tool_warned
=yes ;;
4480 DUMPBIN
=$ac_ct_DUMPBIN
4484 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4486 DUMPBIN
="$DUMPBIN -symbols"
4494 if test "$DUMPBIN" != ":"; then
4498 test -z "$NM" && NM
=nm
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4506 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4507 if ${lt_cv_nm_interface+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 lt_cv_nm_interface
="BSD nm"
4511 echo "int some_variable = 0;" > conftest.
$ac_ext
4512 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4513 (eval "$ac_compile" 2>conftest.err
)
4514 cat conftest.err
>&5
4515 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4516 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4517 cat conftest.err
>&5
4518 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4519 cat conftest.out
>&5
4520 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4521 lt_cv_nm_interface
="MS dumpbin"
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4526 $as_echo "$lt_cv_nm_interface" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4529 $as_echo_n "checking whether ln -s works... " >&6; }
4531 if test "$LN_S" = "ln -s"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4533 $as_echo "yes" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4536 $as_echo "no, using $LN_S" >&6; }
4539 # find the maximum length of command line arguments
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4541 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4542 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4550 # On DJGPP, this test can blow up pretty badly due to problems in libc
4551 # (any single argument exceeding 2000 bytes causes a buffer overrun
4552 # during glob expansion). Even if it were fixed, the result of this
4553 # check would be larger than it should be.
4554 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4558 # Under GNU Hurd, this test is not required because there is
4559 # no limit to the length of command line arguments.
4560 # Libtool will interpret -1 as no limit whatsoever
4561 lt_cv_sys_max_cmd_len
=-1;
4564 cygwin
* | mingw
* | cegcc
*)
4565 # On Win9x/ME, this test blows up -- it succeeds, but takes
4566 # about 5 minutes as the teststring grows exponentially.
4567 # Worse, since 9x/ME are not pre-emptively multitasking,
4568 # you end up with a "frozen" computer, even though with patience
4569 # the test eventually succeeds (with a max line length of 256k).
4570 # Instead, let's just punt: use the minimum linelength reported by
4571 # all of the supported platforms: 8192 (on NT/2K/XP).
4572 lt_cv_sys_max_cmd_len
=8192;
4576 # On MiNT this can take a long time and run out of memory.
4577 lt_cv_sys_max_cmd_len
=8192;
4581 # On AmigaOS with pdksh, this test takes hours, literally.
4582 # So we just punt and use a minimum line length of 8192.
4583 lt_cv_sys_max_cmd_len
=8192;
4586 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4587 # This has been around since 386BSD, at least. Likely further.
4588 if test -x /sbin
/sysctl
; then
4589 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4590 elif test -x /usr
/sbin
/sysctl
; then
4591 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4593 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4595 # And add a safety zone
4596 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4597 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4601 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4602 lt_cv_sys_max_cmd_len
=196608
4606 # The test takes a long time on OS/2.
4607 lt_cv_sys_max_cmd_len
=8192
4611 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4612 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4613 # nice to cause kernel panics so lets avoid the loop below.
4614 # First set a reasonable default.
4615 lt_cv_sys_max_cmd_len
=16384
4617 if test -x /sbin
/sysconfig
; then
4618 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4619 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4624 lt_cv_sys_max_cmd_len
=102400
4626 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4627 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4628 if test -n "$kargmax"; then
4629 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4631 lt_cv_sys_max_cmd_len
=32768
4635 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4636 if test -n "$lt_cv_sys_max_cmd_len"; then
4637 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4638 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4640 # Make teststring a little bigger before we do anything with it.
4641 # a 1K string should be a reasonable start.
4642 for i
in 1 2 3 4 5 6 7 8 ; do
4643 teststring
=$teststring$teststring
4645 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4646 # If test is not a shell built-in, we'll probably end up computing a
4647 # maximum length that is only half of the actual maximum length, but
4649 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4650 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4651 test $i != 17 # 1/2 MB should be enough
4654 teststring
=$teststring$teststring
4656 # Only check the string length outside the loop.
4657 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4659 # Add a significant safety factor because C++ compilers can tack on
4660 # massive amounts of additional arguments before passing them to the
4661 # linker. It appears as though 1/2 is a usable value.
4662 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4669 if test -n $lt_cv_sys_max_cmd_len ; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4671 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4674 $as_echo "none" >&6; }
4676 max_cmd_len
=$lt_cv_sys_max_cmd_len
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4688 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4689 # Try some XSI features
4692 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4694 && eval 'test $(( 1 + 1 )) -eq 2 \
4695 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4698 $as_echo "$xsi_shell" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4702 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4704 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4706 && lt_shell_append=yes
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4708 $as_echo "$lt_shell_append" >&6; }
4711 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4721 # test EBCDIC or ASCII
4722 case `echo X|tr X '\101'` in
4723 A) # ASCII based system
4724 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4725 lt_SP2NL='tr \040 \012'
4726 lt_NL2SP='tr \015\012 \040\040'
4728 *) # EBCDIC based system
4729 lt_SP2NL='tr \100 \n'
4730 lt_NL2SP='tr \r\n \100\100'
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4743 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4744 if ${lt_cv_to_host_file_cmd+:} false; then :
4745 $as_echo_n "(cached
) " >&6
4750 *-*-mingw* ) # actually msys
4751 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4754 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4756 * ) # otherwise, assume *nix
4757 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4763 *-*-mingw* ) # actually msys
4764 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4767 lt_cv_to_host_file_cmd=func_convert_file_noop
4769 * ) # otherwise, assume *nix
4770 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4774 * ) # unhandled hosts (and "normal
" native builds)
4775 lt_cv_to_host_file_cmd=func_convert_file_noop
4781 to_host_file_cmd=$lt_cv_to_host_file_cmd
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4783 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4790 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4791 if ${lt_cv_to_tool_file_cmd+:} false; then :
4792 $as_echo_n "(cached
) " >&6
4794 #assume ordinary cross tools, or native build.
4795 lt_cv_to_tool_file_cmd=func_convert_file_noop
4799 *-*-mingw* ) # actually msys
4800 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4808 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4810 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4817 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4818 if ${lt_cv_ld_reload_flag+:} false; then :
4819 $as_echo_n "(cached
) " >&6
4821 lt_cv_ld_reload_flag='-r'
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4824 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4825 reload_flag=$lt_cv_ld_reload_flag
4826 case $reload_flag in
4828 *) reload_flag=" $reload_flag" ;;
4830 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4832 cygwin* | mingw* | pw32* | cegcc*)
4833 if test "$GCC" != yes; then
4838 if test "$GCC" = yes; then
4839 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4841 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4854 if test -n "$ac_tool_prefix"; then
4855 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4856 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4858 $as_echo_n "checking
for $ac_word...
" >&6; }
4859 if ${ac_cv_prog_OBJDUMP+:} false; then :
4860 $as_echo_n "(cached
) " >&6
4862 if test -n "$OBJDUMP"; then
4863 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4872 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4882 OBJDUMP=$ac_cv_prog_OBJDUMP
4883 if test -n "$OBJDUMP"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4885 $as_echo "$OBJDUMP" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4888 $as_echo "no
" >&6; }
4893 if test -z "$ac_cv_prog_OBJDUMP"; then
4894 ac_ct_OBJDUMP=$OBJDUMP
4895 # Extract the first word of "objdump
", so it can be a program name with args.
4896 set dummy objdump; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4898 $as_echo_n "checking
for $ac_word...
" >&6; }
4899 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4900 $as_echo_n "(cached
) " >&6
4902 if test -n "$ac_ct_OBJDUMP"; then
4903 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4922 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4923 if test -n "$ac_ct_OBJDUMP"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4925 $as_echo "$ac_ct_OBJDUMP" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4928 $as_echo "no
" >&6; }
4931 if test "x
$ac_ct_OBJDUMP" = x; then
4934 case $cross_compiling:$ac_tool_warned in
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4938 ac_tool_warned=yes ;;
4940 OBJDUMP=$ac_ct_OBJDUMP
4943 OBJDUMP="$ac_cv_prog_OBJDUMP"
4946 test -z "$OBJDUMP" && OBJDUMP=objdump
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4957 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4958 if ${lt_cv_deplibs_check_method+:} false; then :
4959 $as_echo_n "(cached
) " >&6
4961 lt_cv_file_magic_cmd='$MAGIC_CMD'
4962 lt_cv_file_magic_test_file=
4963 lt_cv_deplibs_check_method='unknown'
4964 # Need to set the preceding variable on all platforms that support
4965 # interlibrary dependencies.
4966 # 'none' -- dependencies not supported.
4967 # `unknown' -- same as none, but documents that we really don't know.
4968 # 'pass_all' -- all dependencies passed with no checks.
4969 # 'test_compile' -- check by making test program.
4970 # 'file_magic [[regex]]' -- check by looking for files in library path
4971 # which responds to the $file_magic_cmd with a given extended regex.
4972 # If you have `file' or equivalent on your system and you're not sure
4973 # whether `pass_all' will *always* work, you probably want this one.
4977 lt_cv_deplibs_check_method=pass_all
4981 lt_cv_deplibs_check_method=pass_all
4985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4986 lt_cv_file_magic_cmd='/usr/bin/file -L'
4987 lt_cv_file_magic_test_file=/shlib/libc.so
4991 # func_win32_libid is a shell function defined in ltmain.sh
4992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4993 lt_cv_file_magic_cmd='func_win32_libid'
4997 # Base MSYS/MinGW do not provide the 'file' command needed by
4998 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4999 # unless we find 'file', for example because we are cross-compiling.
5000 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5001 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5002 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5003 lt_cv_file_magic_cmd='func_win32_libid'
5005 # Keep this pattern in sync with the one in func_win32_libid.
5006 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5007 lt_cv_file_magic_cmd='$OBJDUMP -f'
5012 # use the weaker test based on 'objdump'. See mingw*.
5013 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5014 lt_cv_file_magic_cmd='$OBJDUMP -f'
5017 darwin* | rhapsody*)
5018 lt_cv_deplibs_check_method=pass_all
5021 freebsd* | dragonfly*)
5022 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5025 # Not sure whether the presence of OpenBSD here was a mistake.
5026 # Let's accept both of them until this is cleared up.
5027 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5028 lt_cv_file_magic_cmd=/usr/bin/file
5029 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5033 lt_cv_deplibs_check_method=pass_all
5038 lt_cv_deplibs_check_method=pass_all
5042 lt_cv_deplibs_check_method=pass_all
5045 hpux10.20* | hpux11*)
5046 lt_cv_file_magic_cmd=/usr/bin/file
5049 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5050 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5053 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]'
5054 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5057 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5058 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5064 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5065 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5068 irix5* | irix6* | nonstopux*)
5070 *-32|*"-32 ") libmagic=32-bit;;
5071 *-n32|*"-n32 ") libmagic=N32;;
5072 *-64|*"-64 ") libmagic=64-bit;;
5073 *) libmagic=never-match;;
5075 lt_cv_deplibs_check_method=pass_all
5078 # This must be glibc/ELF.
5079 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5080 lt_cv_deplibs_check_method=pass_all
5083 netbsd* | netbsdelf*-gnu)
5084 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5085 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5087 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5092 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5093 lt_cv_file_magic_cmd=/usr/bin/file
5094 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5098 lt_cv_deplibs_check_method=pass_all
5102 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5105 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5109 osf3* | osf4* | osf5*)
5110 lt_cv_deplibs_check_method=pass_all
5114 lt_cv_deplibs_check_method=pass_all
5118 lt_cv_deplibs_check_method=pass_all
5121 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5122 lt_cv_deplibs_check_method=pass_all
5126 case $host_vendor in
5128 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]'
5129 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5132 lt_cv_deplibs_check_method=pass_all
5135 lt_cv_file_magic_cmd='/bin/file'
5136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5139 lt_cv_file_magic_cmd='/bin/file'
5140 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5141 lt_cv_file_magic_test_file=/lib/libc.so
5144 lt_cv_deplibs_check_method=pass_all
5147 lt_cv_deplibs_check_method=pass_all
5153 lt_cv_deplibs_check_method=pass_all
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5159 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5163 if test "$build" = "$host"; then
5166 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5169 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5175 file_magic_cmd=$lt_cv_file_magic_cmd
5176 deplibs_check_method=$lt_cv_deplibs_check_method
5177 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5204 $as_echo_n "checking
for $ac_word...
" >&6; }
5205 if ${ac_cv_prog_DLLTOOL+:} false; then :
5206 $as_echo_n "(cached
) " >&6
5208 if test -n "$DLLTOOL"; then
5209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5228 DLLTOOL=$ac_cv_prog_DLLTOOL
5229 if test -n "$DLLTOOL"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5231 $as_echo "$DLLTOOL" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5234 $as_echo "no
" >&6; }
5239 if test -z "$ac_cv_prog_DLLTOOL"; then
5240 ac_ct_DLLTOOL=$DLLTOOL
5241 # Extract the first word of "dlltool
", so it can be a program name with args.
5242 set dummy dlltool; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5244 $as_echo_n "checking
for $ac_word...
" >&6; }
5245 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5246 $as_echo_n "(cached
) " >&6
5248 if test -n "$ac_ct_DLLTOOL"; then
5249 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5269 if test -n "$ac_ct_DLLTOOL"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5271 $as_echo "$ac_ct_DLLTOOL" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5274 $as_echo "no
" >&6; }
5277 if test "x
$ac_ct_DLLTOOL" = x; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5283 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5284 ac_tool_warned=yes ;;
5286 DLLTOOL=$ac_ct_DLLTOOL
5289 DLLTOOL="$ac_cv_prog_DLLTOOL"
5292 test -z "$DLLTOOL" && DLLTOOL=dlltool
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5304 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5305 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5306 $as_echo_n "(cached
) " >&6
5308 lt_cv_sharedlib_from_linklib_cmd='unknown'
5311 cygwin* | mingw* | pw32* | cegcc*)
5312 # two different shell functions defined in ltmain.sh
5313 # decide which to use based on capabilities of $DLLTOOL
5314 case `$DLLTOOL --help 2>&1` in
5315 *--identify-strict*)
5316 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5319 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5324 # fallback: assume linklib IS sharedlib
5325 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5331 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5332 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5333 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5342 if test -n "$ac_tool_prefix"; then
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5348 $as_echo_n "checking
for $ac_word...
" >&6; }
5349 if ${ac_cv_prog_AR+:} false; then :
5350 $as_echo_n "(cached
) " >&6
5352 if test -n "$AR"; then
5353 ac_cv_prog_AR="$AR" # Let the user override the test.
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5373 if test -n "$AR"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5375 $as_echo "$AR" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5378 $as_echo "no
" >&6; }
5382 test -n "$AR" && break
5385 if test -z "$AR"; then
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy $ac_prog; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5392 $as_echo_n "checking
for $ac_word...
" >&6; }
5393 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5394 $as_echo_n "(cached
) " >&6
5396 if test -n "$ac_ct_AR"; then
5397 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AR="$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5417 if test -n "$ac_ct_AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5419 $as_echo "$ac_ct_AR" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5422 $as_echo "no
" >&6; }
5426 test -n "$ac_ct_AR" && break
5429 if test "x
$ac_ct_AR" = x; then
5432 case $cross_compiling:$ac_tool_warned in
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5435 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5436 ac_tool_warned=yes ;;
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5456 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5457 if ${lt_cv_ar_at_file+:} false; then :
5458 $as_echo_n "(cached
) " >&6
5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h. */
5472 if ac_fn_c_try_compile "$LINENO"; then :
5473 echo conftest.$ac_objext > conftest.lst
5474 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5475 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5476 (eval $lt_ar_try) 2>&5
5478 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5479 test $ac_status = 0; }
5480 if test "$ac_status" -eq 0; then
5481 # Ensure the archiver fails upon bogus file names.
5482 rm -f conftest.$ac_objext libconftest.a
5483 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5484 (eval $lt_ar_try) 2>&5
5486 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5487 test $ac_status = 0; }
5488 if test "$ac_status" -ne 0; then
5492 rm -f conftest.* libconftest.a
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5499 $as_echo "$lt_cv_ar_at_file" >&6; }
5501 if test "x
$lt_cv_ar_at_file" = xno; then
5504 archiver_list_spec=$lt_cv_ar_at_file
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5515 set dummy ${ac_tool_prefix}strip; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5517 $as_echo_n "checking
for $ac_word...
" >&6; }
5518 if ${ac_cv_prog_STRIP+:} false; then :
5519 $as_echo_n "(cached
) " >&6
5521 if test -n "$STRIP"; then
5522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5541 STRIP=$ac_cv_prog_STRIP
5542 if test -n "$STRIP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5544 $as_echo "$STRIP" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5547 $as_echo "no
" >&6; }
5552 if test -z "$ac_cv_prog_STRIP"; then
5554 # Extract the first word of "strip
", so it can be a program name with args.
5555 set dummy strip; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5557 $as_echo_n "checking
for $ac_word...
" >&6; }
5558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5559 $as_echo_n "(cached
) " >&6
5561 if test -n "$ac_ct_STRIP"; then
5562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_STRIP="strip
"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5582 if test -n "$ac_ct_STRIP"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5584 $as_echo "$ac_ct_STRIP" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5587 $as_echo "no
" >&6; }
5590 if test "x
$ac_ct_STRIP" = x; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5596 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5597 ac_tool_warned=yes ;;
5602 STRIP="$ac_cv_prog_STRIP"
5605 test -z "$STRIP" && STRIP=:
5612 if test -n "$ac_tool_prefix"; then
5613 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5616 $as_echo_n "checking
for $ac_word...
" >&6; }
5617 if ${ac_cv_prog_RANLIB+:} false; then :
5618 $as_echo_n "(cached
) " >&6
5620 if test -n "$RANLIB"; then
5621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5640 RANLIB=$ac_cv_prog_RANLIB
5641 if test -n "$RANLIB"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5643 $as_echo "$RANLIB" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5646 $as_echo "no
" >&6; }
5651 if test -z "$ac_cv_prog_RANLIB"; then
5652 ac_ct_RANLIB=$RANLIB
5653 # Extract the first word of "ranlib
", so it can be a program name with args.
5654 set dummy ranlib; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5656 $as_echo_n "checking
for $ac_word...
" >&6; }
5657 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5658 $as_echo_n "(cached
) " >&6
5660 if test -n "$ac_ct_RANLIB"; then
5661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5680 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5681 if test -n "$ac_ct_RANLIB"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5683 $as_echo "$ac_ct_RANLIB" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5686 $as_echo "no
" >&6; }
5689 if test "x
$ac_ct_RANLIB" = x; then
5692 case $cross_compiling:$ac_tool_warned in
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5695 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5696 ac_tool_warned=yes ;;
5698 RANLIB=$ac_ct_RANLIB
5701 RANLIB="$ac_cv_prog_RANLIB"
5704 test -z "$RANLIB" && RANLIB=:
5711 # Determine commands to create old-style static archives.
5712 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5713 old_postinstall_cmds='chmod 644 $oldlib'
5714 old_postuninstall_cmds=
5716 if test -n "$RANLIB"; then
5719 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5722 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5725 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5730 lock_old_archive_extraction=yes ;;
5732 lock_old_archive_extraction=no ;;
5773 # If no C compiler was specified, use CC.
5776 # If no C compiler flags were specified, use CFLAGS.
5777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5779 # Allow CC to be a program name with arguments.
5783 # Check for command to grab the raw symbol name followed by C symbol from nm.
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5785 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5786 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5787 $as_echo_n "(cached
) " >&6
5790 # These are sane defaults that work on at least a few old systems.
5791 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5793 # Character class describing NM global symbol codes.
5794 symcode='[BCDEGRST]'
5796 # Regexp to match symbols that can be accessed directly from C.
5797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5799 # Define system-specific variables.
5804 cygwin* | mingw* | pw32* | cegcc*)
5805 symcode='[ABCDGISTW]'
5808 if test "$host_cpu" = ia64; then
5809 symcode='[ABCDEGRST]'
5813 symcode='[BCDEGRST]'
5816 symcode='[BCDEGQRST]'
5827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5835 # If we're using GNU nm, then use its standard symbol codes.
5836 case `$NM -V 2>&1` in
5837 *GNU* | *'with BFD'*)
5838 symcode='[ABCDGIRSTW]' ;;
5841 # Transform an extracted symbol line into a proper C declaration.
5842 # Some systems (esp. on ia64) link data and code symbols differently,
5843 # so use this general approach.
5844 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5846 # Transform an extracted symbol line into symbol name and symbol address
5847 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5848 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'"
5850 # Handle CRLF in mingw tool chain
5854 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5858 # Try without a prefix underscore, then with it.
5859 for ac_symprfx in "" "_
"; do
5861 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5862 symxfrm="\\1 $ac_symprfx\\2 \\2"
5864 # Write the raw and C identifiers.
5865 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5866 # Fake it for dumpbin and say T for any non-static function
5867 # and D for any global variable.
5868 # Also find C++ and __fastcall symbols from MSVC++,
5869 # which start with @ or ?.
5870 lt_cv_sys_global_symbol_pipe="$AWK '"\
5871 " {last_section=section; section=\$ 3};"\
5872 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5873 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5874 " \$ 0!~/External *\|/{next};"\
5875 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5876 " {if(hide[section]) next};"\
5877 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5878 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5879 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5880 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5881 " ' prfx
=^
$ac_symprfx"
5883 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5885 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5887 # Check to see that the pipe works correctly.
5891 cat > conftest.$ac_ext <<_LT_EOF
5896 void nm_test_func(void);
5897 void nm_test_func(void){}
5901 int main(){nm_test_var='a';nm_test_func();return(0);}
5904 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5905 (eval $ac_compile) 2>&5
5907 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5908 test $ac_status = 0; }; then
5909 # Now try to grab the symbols.
5911 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5912 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5914 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5915 test $ac_status = 0; } && test -s "$nlist"; then
5916 # Try sorting and uniquifying the output.
5917 if sort "$nlist" | uniq > "$nlist"T; then
5918 mv -f "$nlist"T "$nlist"
5923 # Make sure that we snagged all the symbols we need.
5924 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5925 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5926 cat <<_LT_EOF > conftest.$ac_ext
5927 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5928 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5929 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5930 relocations are performed -- see ld's documentation on pseudo-relocs. */
5931 # define LT_DLSYM_CONST
5932 #elif defined(__osf__)
5933 /* This system does not cope well with relocations in const data. */
5934 # define LT_DLSYM_CONST
5936 # define LT_DLSYM_CONST const
5944 # Now generate the symbol file.
5945 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5947 cat <<_LT_EOF >> conftest.$ac_ext
5949 /* The mapping between symbol names and symbols. */
5950 LT_DLSYM_CONST struct {
5954 lt__PROGRAM__LTX_preloaded_symbols[] =
5956 { "@PROGRAM@
", (void *) 0 },
5958 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5959 cat <<\_LT_EOF >> conftest.$ac_ext
5963 /* This works around a problem in FreeBSD linker */
5964 #ifdef FREEBSD_WORKAROUND
5965 static const void *lt_preloaded_setup() {
5966 return lt__PROGRAM__LTX_preloaded_symbols;
5974 # Now try linking the two files.
5975 mv conftest.$ac_objext conftstm.$ac_objext
5976 lt_globsym_save_LIBS=$LIBS
5977 lt_globsym_save_CFLAGS=$CFLAGS
5978 LIBS="conftstm.
$ac_objext"
5979 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5980 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5981 (eval $ac_link) 2>&5
5983 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5984 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5987 LIBS=$lt_globsym_save_LIBS
5988 CFLAGS=$lt_globsym_save_CFLAGS
5990 echo "cannot
find nm_test_func
in $nlist" >&5
5993 echo "cannot
find nm_test_var
in $nlist" >&5
5996 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5999 echo "$progname: failed program was
:" >&5
6000 cat conftest.$ac_ext >&5
6002 rm -rf conftest* conftst*
6004 # Do not use the global_symbol_pipe unless it works.
6005 if test "$pipe_works" = yes; then
6008 lt_cv_sys_global_symbol_pipe=
6014 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6015 lt_cv_sys_global_symbol_to_cdecl=
6017 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6019 $as_echo "failed
" >&6; }
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6022 $as_echo "ok
" >&6; }
6025 # Response file support.
6026 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6027 nm_file_list_spec='@'
6028 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6029 nm_file_list_spec='@'
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6059 $as_echo_n "checking
for sysroot...
" >&6; }
6061 # Check whether --with-sysroot was given.
6062 if test "${with_sysroot+set}" = set; then :
6063 withval=$with_sysroot;
6070 case ${with_sysroot} in #(
6072 if test "$GCC" = yes; then
6073 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6077 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6083 $as_echo "${with_sysroot}" >&6; }
6084 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6089 $as_echo "${lt_sysroot:-no}" >&6; }
6095 # Check whether --enable-libtool-lock was given.
6096 if test "${enable_libtool_lock+set}" = set; then :
6097 enableval=$enable_libtool_lock;
6100 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6102 # Some flags need to be propagated to the compiler or linker for good
6106 # Find out which ABI we are using.
6107 echo 'int i;' > conftest.$ac_ext
6108 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6109 (eval $ac_compile) 2>&5
6111 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6112 test $ac_status = 0; }; then
6113 case `/usr/bin/file conftest.$ac_objext` in
6125 # Find out which ABI we are using.
6126 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6127 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6128 (eval $ac_compile) 2>&5
6130 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6131 test $ac_status = 0; }; then
6132 if test "$lt_cv_prog_gnu_ld" = yes; then
6133 case `/usr/bin/file conftest.$ac_objext` in
6135 LD="${LD-ld} -melf32bsmip"
6138 LD="${LD-ld} -melf32bmipn32"
6141 LD="${LD-ld} -melf64bmip"
6145 case `/usr/bin/file conftest.$ac_objext` in
6161 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6162 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6163 # Find out which ABI we are using.
6164 echo 'int i;' > conftest.$ac_ext
6165 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6166 (eval $ac_compile) 2>&5
6168 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6169 test $ac_status = 0; }; then
6170 case `/usr/bin/file conftest.o` in
6173 x86_64-*kfreebsd*-gnu)
6174 LD="${LD-ld} -m elf_i386_fbsd
"
6177 LD="${LD-ld} -m elf_i386
"
6179 ppc64-*linux*|powerpc64-*linux*)
6180 LD="${LD-ld} -m elf32ppclinux
"
6183 LD="${LD-ld} -m elf_s390
"
6186 LD="${LD-ld} -m elf32_sparc
"
6192 x86_64-*kfreebsd*-gnu)
6193 LD="${LD-ld} -m elf_x86_64_fbsd
"
6196 LD="${LD-ld} -m elf_x86_64
"
6198 ppc*-*linux*|powerpc*-*linux*)
6199 LD="${LD-ld} -m elf64ppc
"
6201 s390*-*linux*|s390*-*tpf*)
6202 LD="${LD-ld} -m elf64_s390
"
6205 LD="${LD-ld} -m elf64_sparc
"
6215 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6216 SAVE_CFLAGS="$CFLAGS"
6217 CFLAGS="$CFLAGS -belf"
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6219 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6220 if ${lt_cv_cc_needs_belf+:} false; then :
6221 $as_echo_n "(cached
) " >&6
6224 ac_cpp='$CPP $CPPFLAGS'
6225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6240 if ac_fn_c_try_link "$LINENO"; then :
6241 lt_cv_cc_needs_belf=yes
6243 lt_cv_cc_needs_belf=no
6245 rm -f core conftest.err conftest.$ac_objext \
6246 conftest$ac_exeext conftest.$ac_ext
6248 ac_cpp='$CPP $CPPFLAGS'
6249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6255 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6256 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6257 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6258 CFLAGS="$SAVE_CFLAGS"
6262 # Find out which ABI we are using.
6263 echo 'int i;' > conftest.$ac_ext
6264 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6265 (eval $ac_compile) 2>&5
6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6268 test $ac_status = 0; }; then
6269 case `/usr/bin/file conftest.o` in
6271 case $lt_cv_prog_gnu_ld in
6275 LD="${LD-ld} -m elf_x86_64
"
6278 LD="${LD-ld} -m elf64_sparc
"
6281 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6282 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6287 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6299 need_locks="$enable_libtool_lock"
6301 if test -n "$ac_tool_prefix"; then
6302 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6303 set dummy ${ac_tool_prefix}mt; ac_word=$2
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6305 $as_echo_n "checking
for $ac_word...
" >&6; }
6306 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6307 $as_echo_n "(cached
) " >&6
6309 if test -n "$MANIFEST_TOOL"; then
6310 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6319 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6330 if test -n "$MANIFEST_TOOL"; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6332 $as_echo "$MANIFEST_TOOL" >&6; }
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6335 $as_echo "no
" >&6; }
6340 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6341 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6342 # Extract the first word of "mt
", so it can be a program name with args.
6343 set dummy mt; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6345 $as_echo_n "checking
for $ac_word...
" >&6; }
6346 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6347 $as_echo_n "(cached
) " >&6
6349 if test -n "$ac_ct_MANIFEST_TOOL"; then
6350 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6369 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6370 if test -n "$ac_ct_MANIFEST_TOOL"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6372 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6375 $as_echo "no
" >&6; }
6378 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6381 case $cross_compiling:$ac_tool_warned in
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6384 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6385 ac_tool_warned=yes ;;
6387 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6390 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6393 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6395 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6396 if ${lt_cv_path_mainfest_tool+:} false; then :
6397 $as_echo_n "(cached
) " >&6
6399 lt_cv_path_mainfest_tool=no
6400 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6401 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6402 cat conftest.err >&5
6403 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6404 lt_cv_path_mainfest_tool=yes
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6409 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6410 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6420 rhapsody* | darwin*)
6421 if test -n "$ac_tool_prefix"; then
6422 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6423 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6425 $as_echo_n "checking
for $ac_word...
" >&6; }
6426 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6427 $as_echo_n "(cached
) " >&6
6429 if test -n "$DSYMUTIL"; then
6430 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6449 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6450 if test -n "$DSYMUTIL"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6452 $as_echo "$DSYMUTIL" >&6; }
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6455 $as_echo "no
" >&6; }
6460 if test -z "$ac_cv_prog_DSYMUTIL"; then
6461 ac_ct_DSYMUTIL=$DSYMUTIL
6462 # Extract the first word of "dsymutil
", so it can be a program name with args.
6463 set dummy dsymutil; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6465 $as_echo_n "checking
for $ac_word...
" >&6; }
6466 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6467 $as_echo_n "(cached
) " >&6
6469 if test -n "$ac_ct_DSYMUTIL"; then
6470 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6489 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6490 if test -n "$ac_ct_DSYMUTIL"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6492 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6495 $as_echo "no
" >&6; }
6498 if test "x
$ac_ct_DSYMUTIL" = x; then
6501 case $cross_compiling:$ac_tool_warned in
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6504 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6505 ac_tool_warned=yes ;;
6507 DSYMUTIL=$ac_ct_DSYMUTIL
6510 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6517 $as_echo_n "checking
for $ac_word...
" >&6; }
6518 if ${ac_cv_prog_NMEDIT+:} false; then :
6519 $as_echo_n "(cached
) " >&6
6521 if test -n "$NMEDIT"; then
6522 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6541 NMEDIT=$ac_cv_prog_NMEDIT
6542 if test -n "$NMEDIT"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6544 $as_echo "$NMEDIT" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6547 $as_echo "no
" >&6; }
6552 if test -z "$ac_cv_prog_NMEDIT"; then
6553 ac_ct_NMEDIT=$NMEDIT
6554 # Extract the first word of "nmedit
", so it can be a program name with args.
6555 set dummy nmedit; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6557 $as_echo_n "checking
for $ac_word...
" >&6; }
6558 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6559 $as_echo_n "(cached
) " >&6
6561 if test -n "$ac_ct_NMEDIT"; then
6562 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6581 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6582 if test -n "$ac_ct_NMEDIT"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6584 $as_echo "$ac_ct_NMEDIT" >&6; }
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6587 $as_echo "no
" >&6; }
6590 if test "x
$ac_ct_NMEDIT" = x; then
6593 case $cross_compiling:$ac_tool_warned in
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6596 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6597 ac_tool_warned=yes ;;
6599 NMEDIT=$ac_ct_NMEDIT
6602 NMEDIT="$ac_cv_prog_NMEDIT"
6605 if test -n "$ac_tool_prefix"; then
6606 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6607 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6609 $as_echo_n "checking
for $ac_word...
" >&6; }
6610 if ${ac_cv_prog_LIPO+:} false; then :
6611 $as_echo_n "(cached
) " >&6
6613 if test -n "$LIPO"; then
6614 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6633 LIPO=$ac_cv_prog_LIPO
6634 if test -n "$LIPO"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6636 $as_echo "$LIPO" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6639 $as_echo "no
" >&6; }
6644 if test -z "$ac_cv_prog_LIPO"; then
6646 # Extract the first word of "lipo
", so it can be a program name with args.
6647 set dummy lipo; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6649 $as_echo_n "checking
for $ac_word...
" >&6; }
6650 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6651 $as_echo_n "(cached
) " >&6
6653 if test -n "$ac_ct_LIPO"; then
6654 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6663 ac_cv_prog_ac_ct_LIPO="lipo
"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6673 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6674 if test -n "$ac_ct_LIPO"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6676 $as_echo "$ac_ct_LIPO" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6679 $as_echo "no
" >&6; }
6682 if test "x
$ac_ct_LIPO" = x; then
6685 case $cross_compiling:$ac_tool_warned in
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6688 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6689 ac_tool_warned=yes ;;
6694 LIPO="$ac_cv_prog_LIPO"
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6699 set dummy ${ac_tool_prefix}otool; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6701 $as_echo_n "checking
for $ac_word...
" >&6; }
6702 if ${ac_cv_prog_OTOOL+:} false; then :
6703 $as_echo_n "(cached
) " >&6
6705 if test -n "$OTOOL"; then
6706 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6725 OTOOL=$ac_cv_prog_OTOOL
6726 if test -n "$OTOOL"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6728 $as_echo "$OTOOL" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6731 $as_echo "no
" >&6; }
6736 if test -z "$ac_cv_prog_OTOOL"; then
6738 # Extract the first word of "otool
", so it can be a program name with args.
6739 set dummy otool; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6741 $as_echo_n "checking
for $ac_word...
" >&6; }
6742 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6743 $as_echo_n "(cached
) " >&6
6745 if test -n "$ac_ct_OTOOL"; then
6746 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6755 ac_cv_prog_ac_ct_OTOOL="otool
"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6766 if test -n "$ac_ct_OTOOL"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6768 $as_echo "$ac_ct_OTOOL" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6771 $as_echo "no
" >&6; }
6774 if test "x
$ac_ct_OTOOL" = x; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6780 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6781 ac_tool_warned=yes ;;
6786 OTOOL="$ac_cv_prog_OTOOL"
6789 if test -n "$ac_tool_prefix"; then
6790 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6791 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6793 $as_echo_n "checking
for $ac_word...
" >&6; }
6794 if ${ac_cv_prog_OTOOL64+:} false; then :
6795 $as_echo_n "(cached
) " >&6
6797 if test -n "$OTOOL64"; then
6798 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6817 OTOOL64=$ac_cv_prog_OTOOL64
6818 if test -n "$OTOOL64"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6820 $as_echo "$OTOOL64" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6823 $as_echo "no
" >&6; }
6828 if test -z "$ac_cv_prog_OTOOL64"; then
6829 ac_ct_OTOOL64=$OTOOL64
6830 # Extract the first word of "otool64
", so it can be a program name with args.
6831 set dummy otool64; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6833 $as_echo_n "checking
for $ac_word...
" >&6; }
6834 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6835 $as_echo_n "(cached
) " >&6
6837 if test -n "$ac_ct_OTOOL64"; then
6838 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6847 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6857 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6858 if test -n "$ac_ct_OTOOL64"; then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6860 $as_echo "$ac_ct_OTOOL64" >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6863 $as_echo "no
" >&6; }
6866 if test "x
$ac_ct_OTOOL64" = x; then
6869 case $cross_compiling:$ac_tool_warned in
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6872 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6873 ac_tool_warned=yes ;;
6875 OTOOL64=$ac_ct_OTOOL64
6878 OTOOL64="$ac_cv_prog_OTOOL64"
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6908 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6909 if ${lt_cv_apple_cc_single_mod+:} false; then :
6910 $as_echo_n "(cached
) " >&6
6912 lt_cv_apple_cc_single_mod=no
6913 if test -z "${LT_MULTI_MODULE}"; then
6914 # By default we will add the -single_module flag. You can override
6915 # by either setting the environment variable LT_MULTI_MODULE
6916 # non-empty at configure time, or by adding -multi_module to the
6918 rm -rf libconftest.dylib*
6919 echo "int foo
(void
){return 1;}" > conftest.c
6920 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6921 -dynamiclib -Wl,-single_module conftest.c
" >&5
6922 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6923 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6925 # If there is a non-empty error log, and "single_module
"
6926 # appears in it, assume the flag caused a linker warning
6927 if test -s conftest.err && $GREP single_module conftest.err; then
6928 cat conftest.err >&5
6929 # Otherwise, if the output was created with a 0 exit code from
6930 # the compiler, it worked.
6931 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6932 lt_cv_apple_cc_single_mod=yes
6934 cat conftest.err >&5
6936 rm -rf libconftest.dylib*
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6941 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6944 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6945 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6946 $as_echo_n "(cached
) " >&6
6948 lt_cv_ld_exported_symbols_list=no
6949 save_LDFLAGS=$LDFLAGS
6950 echo "_main
" > conftest.sym
6951 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6963 if ac_fn_c_try_link "$LINENO"; then :
6964 lt_cv_ld_exported_symbols_list=yes
6966 lt_cv_ld_exported_symbols_list=no
6968 rm -f core conftest.err conftest.$ac_objext \
6969 conftest$ac_exeext conftest.$ac_ext
6970 LDFLAGS="$save_LDFLAGS"
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6974 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6977 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6978 if ${lt_cv_ld_force_load+:} false; then :
6979 $as_echo_n "(cached
) " >&6
6981 lt_cv_ld_force_load=no
6982 cat > conftest.c << _LT_EOF
6983 int forced_loaded() { return 2;}
6985 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6986 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6987 echo "$AR cru libconftest.a conftest.o
" >&5
6988 $AR cru libconftest.a conftest.o 2>&5
6989 echo "$RANLIB libconftest.a
" >&5
6990 $RANLIB libconftest.a 2>&5
6991 cat > conftest.c << _LT_EOF
6992 int main() { return 0;}
6994 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6995 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6997 if test -s conftest.err && $GREP force_load conftest.err; then
6998 cat conftest.err >&5
6999 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7000 lt_cv_ld_force_load=yes
7002 cat conftest.err >&5
7004 rm -f conftest.err libconftest.a conftest conftest.c
7005 rm -rf conftest.dSYM
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7009 $as_echo "$lt_cv_ld_force_load" >&6; }
7011 rhapsody* | darwin1.[012])
7012 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7014 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7015 darwin*) # darwin 5.x on
7016 # if running on 10.5 or later, the deployment target defaults
7017 # to the OS version, if on x86, and 10.4, the deployment
7018 # target defaults to 10.4. Don't you love it?
7019 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7020 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7021 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7023 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7025 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7029 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7030 _lt_dar_single_mod='$single_module'
7032 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7033 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7035 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7037 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7038 _lt_dsymutil='~$DSYMUTIL $lib || :'
7046 ac_cpp='$CPP $CPPFLAGS'
7047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7051 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7052 # On Suns, sometimes $CPP names a directory.
7053 if test -n "$CPP" && test -d "$CPP"; then
7056 if test -z "$CPP"; then
7057 if ${ac_cv_prog_CPP+:} false; then :
7058 $as_echo_n "(cached
) " >&6
7060 # Double quotes because CPP needs to be expanded
7061 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7064 for ac_c_preproc_warn_flag in '' yes
7066 # Use a header file that comes with gcc, so configuring glibc
7067 # with a fresh cross-compiler works.
7068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7069 # <limits.h> exists even on freestanding compilers.
7070 # On the NeXT, cc -E runs the code through the compiler's parser,
7071 # not just through cpp. "Syntax error
" is here to catch this case.
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7075 # include <limits.h>
7077 # include <assert.h>
7081 if ac_fn_c_try_cpp "$LINENO"; then :
7084 # Broken: fails on valid input.
7087 rm -f conftest.err conftest.i conftest.$ac_ext
7089 # OK, works on sane cases. Now check whether nonexistent headers
7090 # can be detected and how.
7091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h. */
7093 #include <ac_nonexistent.h>
7095 if ac_fn_c_try_cpp "$LINENO"; then :
7096 # Broken: success on invalid input.
7099 # Passes both tests.
7103 rm -f conftest.err conftest.i conftest.$ac_ext
7106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7107 rm -f conftest.i conftest.err conftest.$ac_ext
7108 if $ac_preproc_ok; then :
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7121 $as_echo "$CPP" >&6; }
7123 for ac_c_preproc_warn_flag in '' yes
7125 # Use a header file that comes with gcc, so configuring glibc
7126 # with a fresh cross-compiler works.
7127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7128 # <limits.h> exists even on freestanding compilers.
7129 # On the NeXT, cc -E runs the code through the compiler's parser,
7130 # not just through cpp. "Syntax error
" is here to catch this case.
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7134 # include <limits.h>
7136 # include <assert.h>
7140 if ac_fn_c_try_cpp "$LINENO"; then :
7143 # Broken: fails on valid input.
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7148 # OK, works on sane cases. Now check whether nonexistent headers
7149 # can be detected and how.
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7152 #include <ac_nonexistent.h>
7154 if ac_fn_c_try_cpp "$LINENO"; then :
7155 # Broken: success on invalid input.
7158 # Passes both tests.
7162 rm -f conftest.err conftest.i conftest.$ac_ext
7165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7166 rm -f conftest.i conftest.err conftest.$ac_ext
7167 if $ac_preproc_ok; then :
7170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7172 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7173 See \`config.log' for more details
" "$LINENO" 5; }
7177 ac_cpp='$CPP $CPPFLAGS'
7178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7184 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7185 if ${ac_cv_header_stdc+:} false; then :
7186 $as_echo_n "(cached
) " >&6
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7203 if ac_fn_c_try_compile "$LINENO"; then :
7204 ac_cv_header_stdc=yes
7206 ac_cv_header_stdc=no
7208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7210 if test $ac_cv_header_stdc = yes; then
7211 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7217 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7218 $EGREP "memchr
" >/dev/null 2>&1; then :
7221 ac_cv_header_stdc=no
7227 if test $ac_cv_header_stdc = yes; then
7228 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7234 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7235 $EGREP "free
" >/dev/null 2>&1; then :
7238 ac_cv_header_stdc=no
7244 if test $ac_cv_header_stdc = yes; then
7245 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7246 if test "$cross_compiling" = yes; then :
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7253 #if ((' ' & 0x0FF) == 0x020)
7254 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7255 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7257 # define ISLOWER(c) \
7258 (('a' <= (c) && (c) <= 'i') \
7259 || ('j' <= (c) && (c) <= 'r') \
7260 || ('s' <= (c) && (c) <= 'z'))
7261 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7264 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7269 for (i = 0; i < 256; i++)
7270 if (XOR (islower (i), ISLOWER (i))
7271 || toupper (i) != TOUPPER (i))
7276 if ac_fn_c_try_run "$LINENO"; then :
7279 ac_cv_header_stdc=no
7281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7282 conftest.$ac_objext conftest.beam conftest.$ac_ext
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7288 $as_echo "$ac_cv_header_stdc" >&6; }
7289 if test $ac_cv_header_stdc = yes; then
7291 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7295 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7296 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7297 inttypes.h stdint.h unistd.h
7299 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7302 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7303 cat >>confdefs.h
<<_ACEOF
7304 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7312 for ac_header
in dlfcn.h
7314 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7316 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7317 cat >>confdefs.h
<<_ACEOF
7318 #define HAVE_DLFCN_H 1
7339 # Check whether --enable-shared was given.
7340 if test "${enable_shared+set}" = set; then :
7341 enableval
=$enable_shared; p
=${PACKAGE-default}
7343 yes) enable_shared
=yes ;;
7344 no
) enable_shared
=no
;;
7347 # Look at the argument we got. We use all the common list separators.
7348 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7349 for pkg
in $enableval; do
7351 if test "X$pkg" = "X$p"; then
7370 # Check whether --enable-static was given.
7371 if test "${enable_static+set}" = set; then :
7372 enableval
=$enable_static; p
=${PACKAGE-default}
7374 yes) enable_static
=yes ;;
7375 no
) enable_static
=no
;;
7378 # Look at the argument we got. We use all the common list separators.
7379 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7380 for pkg
in $enableval; do
7382 if test "X$pkg" = "X$p"; then
7402 # Check whether --with-pic was given.
7403 if test "${with_pic+set}" = set; then :
7404 withval
=$with_pic; lt_p
=${PACKAGE-default}
7406 yes|no
) pic_mode
=$withval ;;
7409 # Look at the argument we got. We use all the common list separators.
7410 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7411 for lt_pkg
in $withval; do
7413 if test "X$lt_pkg" = "X$lt_p"; then
7425 test -z "$pic_mode" && pic_mode
=default
7433 # Check whether --enable-fast-install was given.
7434 if test "${enable_fast_install+set}" = set; then :
7435 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7437 yes) enable_fast_install
=yes ;;
7438 no
) enable_fast_install
=no
;;
7440 enable_fast_install
=no
7441 # Look at the argument we got. We use all the common list separators.
7442 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7443 for pkg
in $enableval; do
7445 if test "X$pkg" = "X$p"; then
7446 enable_fast_install
=yes
7453 enable_fast_install
=yes
7466 # This can be used to rebuild libtool when needed
7467 LIBTOOL_DEPS
="$ltmain"
7469 # Always use our own libtool.
7470 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7501 test -z "$LN_S" && LN_S
="ln -s"
7516 if test -n "${ZSH_VERSION+set}" ; then
7517 setopt NO_GLOB_SUBST
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7521 $as_echo_n "checking for objdir... " >&6; }
7522 if ${lt_cv_objdir+:} false
; then :
7523 $as_echo_n "(cached) " >&6
7525 rm -f .libs
2>/dev
/null
7526 mkdir .libs
2>/dev
/null
7527 if test -d .libs
; then
7530 # MS-DOS does not allow filenames that begin with a dot.
7533 rmdir .libs
2>/dev
/null
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7536 $as_echo "$lt_cv_objdir" >&6; }
7537 objdir
=$lt_cv_objdir
7543 cat >>confdefs.h
<<_ACEOF
7544 #define LT_OBJDIR "$lt_cv_objdir/"
7552 # AIX sometimes has problems with the GCC collect2 program. For some
7553 # reason, if we set the COLLECT_NAMES environment variable, the problems
7554 # vanish in a puff of smoke.
7555 if test "X${COLLECT_NAMES+set}" != Xset
; then
7557 export COLLECT_NAMES
7564 can_build_shared
=yes
7566 # All known linkers require a `.a' archive for static linking (except MSVC,
7567 # which needs '.lib').
7570 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7573 old_CFLAGS
="$CFLAGS"
7575 # Set sane defaults for various variables
7576 test -z "$CC" && CC
=cc
7577 test -z "$LTCC" && LTCC
=$CC
7578 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7579 test -z "$LD" && LD
=ld
7580 test -z "$ac_objext" && ac_objext
=o
7582 for cc_temp
in $compiler""; do
7584 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7585 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7590 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7593 # Only perform the check for file, if the check method requires it
7594 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7595 case $deplibs_check_method in
7597 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7599 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7600 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7601 $as_echo_n "(cached) " >&6
7605 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7608 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7609 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7610 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7611 for ac_dir
in $ac_dummy; do
7613 test -z "$ac_dir" && ac_dir
=.
7614 if test -f $ac_dir/${ac_tool_prefix}file; then
7615 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7616 if test -n "$file_magic_test_file"; then
7617 case $deplibs_check_method in
7619 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7620 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7621 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7622 $EGREP "$file_magic_regex" > /dev
/null
; then
7627 *** Warning: the command libtool uses to detect shared libraries,
7628 *** $file_magic_cmd, produces output that libtool cannot recognize.
7629 *** The result is that libtool may fail to recognize shared libraries
7630 *** as such. This will affect the creation of libtool libraries that
7631 *** depend on shared libraries, but programs linked with such libtool
7632 *** libraries will work regardless of this problem. Nevertheless, you
7633 *** may want to report the problem to your system manager and/or to
7634 *** bug-libtool@gnu.org
7644 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7649 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7650 if test -n "$MAGIC_CMD"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7652 $as_echo "$MAGIC_CMD" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7662 if test -z "$lt_cv_path_MAGIC_CMD"; then
7663 if test -n "$ac_tool_prefix"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7665 $as_echo_n "checking for file... " >&6; }
7666 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7667 $as_echo_n "(cached) " >&6
7671 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7674 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7675 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7676 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7677 for ac_dir
in $ac_dummy; do
7679 test -z "$ac_dir" && ac_dir
=.
7680 if test -f $ac_dir/file; then
7681 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7682 if test -n "$file_magic_test_file"; then
7683 case $deplibs_check_method in
7685 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7686 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7687 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7688 $EGREP "$file_magic_regex" > /dev
/null
; then
7693 *** Warning: the command libtool uses to detect shared libraries,
7694 *** $file_magic_cmd, produces output that libtool cannot recognize.
7695 *** The result is that libtool may fail to recognize shared libraries
7696 *** as such. This will affect the creation of libtool libraries that
7697 *** depend on shared libraries, but programs linked with such libtool
7698 *** libraries will work regardless of this problem. Nevertheless, you
7699 *** may want to report the problem to your system manager and/or to
7700 *** bug-libtool@gnu.org
7710 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7716 if test -n "$MAGIC_CMD"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7718 $as_echo "$MAGIC_CMD" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7734 # Use C for the default configuration in the libtool script
7738 ac_cpp
='$CPP $CPPFLAGS'
7739 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7744 # Source file extension for C test sources.
7747 # Object file extension for compiled C test sources.
7751 # Code to be used in simple compile tests
7752 lt_simple_compile_test_code
="int some_variable = 0;"
7754 # Code to be used in simple link tests
7755 lt_simple_link_test_code
='int main(){return(0);}'
7763 # If no C compiler was specified, use CC.
7766 # If no C compiler flags were specified, use CFLAGS.
7767 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7769 # Allow CC to be a program name with arguments.
7772 # Save the default compiler, since it gets overwritten when the other
7773 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7774 compiler_DEFAULT
=$CC
7776 # save warnings/boilerplate of simple test code
7777 ac_outfile
=conftest.
$ac_objext
7778 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7779 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7780 _lt_compiler_boilerplate
=`cat conftest.err`
7783 ac_outfile
=conftest.
$ac_objext
7784 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7785 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7786 _lt_linker_boilerplate
=`cat conftest.err`
7790 if test -n "$compiler"; then
7792 lt_prog_compiler_no_builtin_flag
=
7794 if test "$GCC" = yes; then
7795 case $cc_basename in
7797 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7799 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7803 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7804 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7805 $as_echo_n "(cached) " >&6
7807 lt_cv_prog_compiler_rtti_exceptions
=no
7808 ac_outfile
=conftest.
$ac_objext
7809 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7810 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7811 # Insert the option either (1) after the last *FLAGS variable, or
7812 # (2) before a word containing "conftest.", or (3) at the end.
7813 # Note that $ac_compile itself does not contain backslashes and begins
7814 # with a dollar sign (not a hyphen), so the echo should work correctly.
7815 # The option is referenced via a variable to avoid confusing sed.
7816 lt_compile
=`echo "$ac_compile" | $SED \
7817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7819 -e 's:$: $lt_compiler_flag:'`
7820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7821 (eval "$lt_compile" 2>conftest.err
)
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 if (exit $ac_status) && test -s "$ac_outfile"; then
7826 # The compiler can only warn and ignore the option if not recognized
7827 # So say no if there are warnings other than the usual output.
7828 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7829 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7830 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7831 lt_cv_prog_compiler_rtti_exceptions
=yes
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7838 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7840 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7841 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7853 lt_prog_compiler_wl
=
7854 lt_prog_compiler_pic
=
7855 lt_prog_compiler_static
=
7858 if test "$GCC" = yes; then
7859 lt_prog_compiler_wl
='-Wl,'
7860 lt_prog_compiler_static
='-static'
7864 # All AIX code is PIC.
7865 if test "$host_cpu" = ia64
; then
7866 # AIX 5 now supports IA64 processor
7867 lt_prog_compiler_static
='-Bstatic'
7874 # see comment about AmigaOS4 .so support
7875 lt_prog_compiler_pic
='-fPIC'
7878 # FIXME: we need at least 68020 code to build shared libraries, but
7879 # adding the `-m68020' flag to GCC prevents building anything better,
7881 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7886 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7887 # PIC is the default for these OSes.
7890 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7891 # This hack is so that the source file can tell whether it is being
7892 # built for inclusion in a dll (and should export symbols for example).
7893 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7894 # (--disable-auto-import) libraries
7895 lt_prog_compiler_pic
='-DDLL_EXPORT'
7898 darwin
* | rhapsody
*)
7899 # PIC is the default on this platform
7900 # Common symbols not allowed in MH_DYLIB files
7901 lt_prog_compiler_pic
='-fno-common'
7905 # PIC is the default for Haiku.
7906 # The "-static" flag exists, but is broken.
7907 lt_prog_compiler_static
=
7911 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7912 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7913 # sets the default TLS model and affects inlining.
7919 lt_prog_compiler_pic
='-fPIC'
7925 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7926 # Instead, we relocate shared libraries at runtime.
7930 # Just because we use GCC doesn't mean we suddenly get shared libraries
7931 # on systems that don't support them.
7932 lt_prog_compiler_can_build_shared
=no
7937 # QNX uses GNU C++, but need to define -shared option too, otherwise
7939 lt_prog_compiler_pic
='-fPIC -shared'
7943 if test -d /usr
/nec
; then
7944 lt_prog_compiler_pic
=-Kconform_pic
7949 lt_prog_compiler_pic
='-fPIC'
7953 case $cc_basename in
7954 nvcc
*) # Cuda Compiler Driver 2.2
7955 lt_prog_compiler_wl
='-Xlinker '
7956 if test -n "$lt_prog_compiler_pic"; then
7957 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7962 # PORTME Check for flag to pass linker flags through the system compiler.
7965 lt_prog_compiler_wl
='-Wl,'
7966 if test "$host_cpu" = ia64
; then
7967 # AIX 5 now supports IA64 processor
7968 lt_prog_compiler_static
='-Bstatic'
7970 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7974 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7975 # This hack is so that the source file can tell whether it is being
7976 # built for inclusion in a dll (and should export symbols for example).
7977 lt_prog_compiler_pic
='-DDLL_EXPORT'
7980 hpux9
* | hpux10
* | hpux11
*)
7981 lt_prog_compiler_wl
='-Wl,'
7982 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7989 lt_prog_compiler_pic
='+Z'
7992 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7993 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7996 irix5
* | irix6
* | nonstopux
*)
7997 lt_prog_compiler_wl
='-Wl,'
7998 # PIC (with -KPIC) is the default.
7999 lt_prog_compiler_static
='-non_shared'
8002 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8003 case $cc_basename in
8004 # old Intel for x86_64 which still supported -KPIC.
8006 lt_prog_compiler_wl
='-Wl,'
8007 lt_prog_compiler_pic
='-KPIC'
8008 lt_prog_compiler_static
='-static'
8010 # icc used to be incompatible with GCC.
8011 # ICC 10 doesn't accept -KPIC any more.
8013 lt_prog_compiler_wl
='-Wl,'
8014 lt_prog_compiler_pic
='-fPIC'
8015 lt_prog_compiler_static
='-static'
8017 # Lahey Fortran 8.1.
8019 lt_prog_compiler_wl
='-Wl,'
8020 lt_prog_compiler_pic
='--shared'
8021 lt_prog_compiler_static
='--static'
8024 # NAG Fortran compiler
8025 lt_prog_compiler_wl
='-Wl,-Wl,,'
8026 lt_prog_compiler_pic
='-PIC'
8027 lt_prog_compiler_static
='-Bstatic'
8029 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8030 # Portland Group compilers (*not* the Pentium gcc compiler,
8031 # which looks to be a dead project)
8032 lt_prog_compiler_wl
='-Wl,'
8033 lt_prog_compiler_pic
='-fpic'
8034 lt_prog_compiler_static
='-Bstatic'
8037 lt_prog_compiler_wl
='-Wl,'
8038 # All Alpha code is PIC.
8039 lt_prog_compiler_static
='-non_shared'
8041 xl
* | bgxl
* | bgf
* | mpixl
*)
8042 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8043 lt_prog_compiler_wl
='-Wl,'
8044 lt_prog_compiler_pic
='-qpic'
8045 lt_prog_compiler_static
='-qstaticlink'
8048 case `$CC -V 2>&1 | sed 5q` in
8049 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8050 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8051 lt_prog_compiler_pic
='-KPIC'
8052 lt_prog_compiler_static
='-Bstatic'
8053 lt_prog_compiler_wl
=''
8055 *Sun\ F
* |
*Sun
*Fortran
*)
8056 lt_prog_compiler_pic
='-KPIC'
8057 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_wl
='-Qoption ld '
8062 lt_prog_compiler_pic
='-KPIC'
8063 lt_prog_compiler_static
='-Bstatic'
8064 lt_prog_compiler_wl
='-Wl,'
8066 *Intel
*\
[CF
]*Compiler
*)
8067 lt_prog_compiler_wl
='-Wl,'
8068 lt_prog_compiler_pic
='-fPIC'
8069 lt_prog_compiler_static
='-static'
8072 lt_prog_compiler_wl
='-Wl,'
8073 lt_prog_compiler_pic
='-fpic'
8074 lt_prog_compiler_static
='-Bstatic'
8082 lt_prog_compiler_pic
='-KPIC'
8083 lt_prog_compiler_static
='-Bstatic'
8087 # QNX uses GNU C++, but need to define -shared option too, otherwise
8089 lt_prog_compiler_pic
='-fPIC -shared'
8092 osf3
* | osf4
* | osf5
*)
8093 lt_prog_compiler_wl
='-Wl,'
8094 # All OSF/1 code is PIC.
8095 lt_prog_compiler_static
='-non_shared'
8099 lt_prog_compiler_static
='-non_shared'
8103 lt_prog_compiler_pic
='-KPIC'
8104 lt_prog_compiler_static
='-Bstatic'
8105 case $cc_basename in
8106 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8107 lt_prog_compiler_wl
='-Qoption ld ';;
8109 lt_prog_compiler_wl
='-Wl,';;
8114 lt_prog_compiler_wl
='-Qoption ld '
8115 lt_prog_compiler_pic
='-PIC'
8116 lt_prog_compiler_static
='-Bstatic'
8119 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8120 lt_prog_compiler_wl
='-Wl,'
8121 lt_prog_compiler_pic
='-KPIC'
8122 lt_prog_compiler_static
='-Bstatic'
8126 if test -d /usr
/nec
;then
8127 lt_prog_compiler_pic
='-Kconform_pic'
8128 lt_prog_compiler_static
='-Bstatic'
8132 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8133 lt_prog_compiler_wl
='-Wl,'
8134 lt_prog_compiler_pic
='-KPIC'
8135 lt_prog_compiler_static
='-Bstatic'
8139 lt_prog_compiler_wl
='-Wl,'
8140 lt_prog_compiler_can_build_shared
=no
8144 lt_prog_compiler_pic
='-pic'
8145 lt_prog_compiler_static
='-Bstatic'
8149 lt_prog_compiler_can_build_shared
=no
8155 # For platforms which do not support PIC, -DPIC is meaningless:
8157 lt_prog_compiler_pic
=
8160 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8165 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8166 if ${lt_cv_prog_compiler_pic+:} false
; then :
8167 $as_echo_n "(cached) " >&6
8169 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8172 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8173 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8176 # Check to make sure the PIC flag actually works.
8178 if test -n "$lt_prog_compiler_pic"; then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8180 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8181 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8182 $as_echo_n "(cached) " >&6
8184 lt_cv_prog_compiler_pic_works
=no
8185 ac_outfile
=conftest.
$ac_objext
8186 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8187 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8188 # Insert the option either (1) after the last *FLAGS variable, or
8189 # (2) before a word containing "conftest.", or (3) at the end.
8190 # Note that $ac_compile itself does not contain backslashes and begins
8191 # with a dollar sign (not a hyphen), so the echo should work correctly.
8192 # The option is referenced via a variable to avoid confusing sed.
8193 lt_compile
=`echo "$ac_compile" | $SED \
8194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8196 -e 's:$: $lt_compiler_flag:'`
8197 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8198 (eval "$lt_compile" 2>conftest.err
)
8200 cat conftest.err
>&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 if (exit $ac_status) && test -s "$ac_outfile"; then
8203 # The compiler can only warn and ignore the option if not recognized
8204 # So say no if there are warnings other than the usual output.
8205 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8206 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8207 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8208 lt_cv_prog_compiler_pic_works
=yes
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8215 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8217 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8218 case $lt_prog_compiler_pic in
8220 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8223 lt_prog_compiler_pic
=
8224 lt_prog_compiler_can_build_shared
=no
8240 # Check to make sure the static flag actually works.
8242 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8244 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8245 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8246 $as_echo_n "(cached) " >&6
8248 lt_cv_prog_compiler_static_works
=no
8249 save_LDFLAGS
="$LDFLAGS"
8250 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8251 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8252 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8253 # The linker can only warn and ignore the option if not recognized
8254 # So say no if there are warnings
8255 if test -s conftest.err
; then
8256 # Append any errors to the config.log.
8257 cat conftest.err
1>&5
8258 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8259 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8260 if diff conftest.exp conftest.er2
>/dev
/null
; then
8261 lt_cv_prog_compiler_static_works
=yes
8264 lt_cv_prog_compiler_static_works
=yes
8268 LDFLAGS
="$save_LDFLAGS"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8272 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8274 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8277 lt_prog_compiler_static
=
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8287 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8288 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8289 $as_echo_n "(cached) " >&6
8291 lt_cv_prog_compiler_c_o
=no
8292 $RM -r conftest
2>/dev
/null
8296 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8298 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8299 # Insert the option either (1) after the last *FLAGS variable, or
8300 # (2) before a word containing "conftest.", or (3) at the end.
8301 # Note that $ac_compile itself does not contain backslashes and begins
8302 # with a dollar sign (not a hyphen), so the echo should work correctly.
8303 lt_compile
=`echo "$ac_compile" | $SED \
8304 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8305 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8306 -e 's:$: $lt_compiler_flag:'`
8307 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8308 (eval "$lt_compile" 2>out
/conftest.err
)
8310 cat out
/conftest.err
>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8314 # The compiler can only warn and ignore the option if not recognized
8315 # So say no if there are warnings
8316 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8317 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8318 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8319 lt_cv_prog_compiler_c_o
=yes
8324 # SGI C++ compiler will create directory out/ii_files/ for
8325 # template instantiation
8326 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8327 $RM out
/* && rmdir out
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8334 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8342 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8343 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 lt_cv_prog_compiler_c_o
=no
8347 $RM -r conftest
2>/dev
/null
8351 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8353 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8354 # Insert the option either (1) after the last *FLAGS variable, or
8355 # (2) before a word containing "conftest.", or (3) at the end.
8356 # Note that $ac_compile itself does not contain backslashes and begins
8357 # with a dollar sign (not a hyphen), so the echo should work correctly.
8358 lt_compile
=`echo "$ac_compile" | $SED \
8359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361 -e 's:$: $lt_compiler_flag:'`
8362 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8363 (eval "$lt_compile" 2>out
/conftest.err
)
8365 cat out
/conftest.err
>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8369 # The compiler can only warn and ignore the option if not recognized
8370 # So say no if there are warnings
8371 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8372 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8373 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8374 lt_cv_prog_compiler_c_o
=yes
8379 # SGI C++ compiler will create directory out/ii_files/ for
8380 # template instantiation
8381 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8382 $RM out
/* && rmdir out
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8389 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8394 hard_links
="nottested"
8395 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8396 # do not overwrite the value of need_locks provided by the user
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8398 $as_echo_n "checking if we can lock with hard links... " >&6; }
8401 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8403 ln conftest.a conftest.b
2>&5 || hard_links
=no
8404 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8406 $as_echo "$hard_links" >&6; }
8407 if test "$hard_links" = no
; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8409 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8422 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8425 allow_undefined_flag
=
8426 always_export_symbols
=no
8428 archive_expsym_cmds
=
8429 compiler_needs_object
=no
8430 enable_shared_with_static_runtimes
=no
8431 export_dynamic_flag_spec
=
8432 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8433 hardcode_automatic
=no
8435 hardcode_direct_absolute
=no
8436 hardcode_libdir_flag_spec
=
8437 hardcode_libdir_separator
=
8439 hardcode_shlibpath_var
=unsupported
8441 link_all_deplibs
=unknown
8444 old_archive_from_new_cmds
=
8445 old_archive_from_expsyms_cmds
=
8446 thread_safe_flag_spec
=
8447 whole_archive_flag_spec
=
8448 # include_expsyms should be a list of space-separated symbols to be *always*
8449 # included in the symbol list
8451 # exclude_expsyms can be an extended regexp of symbols to exclude
8452 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8453 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8454 # as well as any symbol that contains `d'.
8455 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8456 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8457 # platforms (ab)use it in PIC code, but their linkers get confused if
8458 # the symbol is explicitly referenced. Since portable code cannot
8459 # rely on this symbol name, it's probably fine to never include it in
8460 # preloaded symbol tables.
8461 # Exclude shared library initialization/finalization symbols.
8462 extract_expsyms_cmds
=
8465 cygwin
* | mingw
* | pw32
* | cegcc
*)
8466 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8467 # When not using gcc, we currently assume that we are using
8468 # Microsoft Visual C++.
8469 if test "$GCC" != yes; then
8474 # we just hope/assume this is gcc and not c89 (= MSVC++)
8480 linux
* | k
*bsd
*-gnu | gnu
*)
8487 # On some targets, GNU ld is compatible enough with the native linker
8488 # that we're better off using the native interface for both.
8489 lt_use_gnu_ld_interface
=no
8490 if test "$with_gnu_ld" = yes; then
8493 # The AIX port of GNU ld has always aspired to compatibility
8494 # with the native linker. However, as the warning in the GNU ld
8495 # block says, versions before 2.19.5* couldn't really create working
8496 # shared libraries, regardless of the interface used.
8497 case `$LD -v 2>&1` in
8498 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8499 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8500 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8502 lt_use_gnu_ld_interface
=yes
8507 lt_use_gnu_ld_interface
=yes
8512 if test "$lt_use_gnu_ld_interface" = yes; then
8513 # If archive_cmds runs LD, not CC, wlarc should be empty
8516 # Set some defaults for GNU ld with shared library support. These
8517 # are reset later if shared libraries are not supported. Putting them
8518 # here allows them to be overridden if necessary.
8519 runpath_var
=LD_RUN_PATH
8520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8521 export_dynamic_flag_spec
='${wl}--export-dynamic'
8522 # ancient GNU ld didn't support --whole-archive et. al.
8523 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8524 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8526 whole_archive_flag_spec
=
8528 supports_anon_versioning
=no
8529 case `$LD -v 2>&1` in
8530 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8531 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8532 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8533 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8534 *\
2.11.
*) ;; # other 2.11 versions
8535 *) supports_anon_versioning
=yes ;;
8538 # See if GNU ld supports shared libraries.
8541 # On AIX/PPC, the GNU linker is very broken
8542 if test "$host_cpu" != ia64
; then
8546 *** Warning: the GNU linker, at least up to release 2.19, is reported
8547 *** to be unable to reliably create shared libraries on AIX.
8548 *** Therefore, libtool is disabling shared libraries support. If you
8549 *** really care for shared libraries, you may want to install binutils
8550 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8551 *** You will then need to restart the configuration process.
8560 # see comment about AmigaOS4 .so support
8561 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8562 archive_expsym_cmds
=''
8565 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)'
8566 hardcode_libdir_flag_spec
='-L$libdir'
8567 hardcode_minus_L
=yes
8573 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8574 allow_undefined_flag
=unsupported
8575 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8576 # support --undefined. This deserves some investigation. FIXME
8577 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8583 cygwin
* | mingw
* | pw32
* | cegcc
*)
8584 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8585 # as there is no search path for DLLs.
8586 hardcode_libdir_flag_spec
='-L$libdir'
8587 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8588 allow_undefined_flag
=unsupported
8589 always_export_symbols
=no
8590 enable_shared_with_static_runtimes
=yes
8591 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'
8592 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8594 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8595 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8596 # If the export-symbols file already is a .def file (1st line
8597 # is EXPORTS), use it as is; otherwise, prepend...
8598 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8599 cp $export_symbols $output_objdir/$soname.def;
8601 echo EXPORTS > $output_objdir/$soname.def;
8602 cat $export_symbols >> $output_objdir/$soname.def;
8604 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8611 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8612 link_all_deplibs
=yes
8617 hardcode_shlibpath_var
=no
8618 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8619 export_dynamic_flag_spec
='${wl}-E'
8620 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8621 # Instead, shared libraries are loaded at an image base (0x10000000 by
8622 # default) and relocated if they conflict, which is a slow very memory
8623 # consuming and fragmenting process. To avoid this, we pick a random,
8624 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8625 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8626 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8627 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'
8630 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8632 if test "$host_os" = linux-dietlibc
; then
8633 case $cc_basename in
8634 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8637 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8638 && test "$tmp_diet" = no
8640 tmp_addflag
=' $pic_flag'
8641 tmp_sharedflag
='-shared'
8642 case $cc_basename,$host_cpu in
8643 pgcc
*) # Portland Group C compiler
8644 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'
8645 tmp_addflag
=' $pic_flag'
8647 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8648 # Portland Group f77 and f90 compilers
8649 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'
8650 tmp_addflag
=' $pic_flag -Mnomain' ;;
8651 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8652 tmp_addflag
=' -i_dynamic' ;;
8653 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8654 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8655 ifc
* | ifort
*) # Intel Fortran compiler
8656 tmp_addflag
=' -nofor_main' ;;
8657 lf95
*) # Lahey Fortran 8.1
8658 whole_archive_flag_spec
=
8659 tmp_sharedflag
='--shared' ;;
8660 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8661 tmp_sharedflag
='-qmkshrobj'
8663 nvcc
*) # Cuda Compiler Driver 2.2
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 compiler_needs_object
=yes
8668 case `$CC -V 2>&1 | sed 5q` in
8669 *Sun\ C
*) # Sun C 5.9
8670 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'
8671 compiler_needs_object
=yes
8672 tmp_sharedflag
='-G' ;;
8673 *Sun\ F
*) # Sun Fortran 8.3
8674 tmp_sharedflag
='-G' ;;
8676 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678 if test "x$supports_anon_versioning" = xyes
; then
8679 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8680 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8681 echo "local: *; };" >> $output_objdir/$libname.ver~
8682 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8685 case $cc_basename in
8686 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8687 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8688 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8689 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8690 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8691 if test "x$supports_anon_versioning" = xyes
; then
8692 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8694 echo "local: *; };" >> $output_objdir/$libname.ver~
8695 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8704 netbsd
* | netbsdelf
*-gnu)
8705 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8706 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8709 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8710 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8715 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8719 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8720 *** create shared libraries on Solaris systems. Therefore, libtool
8721 *** is disabling shared libraries support. We urge you to upgrade GNU
8722 *** binutils to release 2.9.1 or newer. Another option is to modify
8723 *** your PATH or compiler configuration so that the native linker is
8724 *** used, and then restart.
8727 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8728 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8729 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 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8736 case `$LD -v 2>&1` in
8737 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8741 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8742 *** reliably create shared libraries on SCO systems. Therefore, libtool
8743 *** is disabling shared libraries support. We urge you to upgrade GNU
8744 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8745 *** your PATH or compiler configuration so that the native linker is
8746 *** used, and then restart.
8751 # For security reasons, it is highly recommended that you always
8752 # use absolute paths for naming shared libraries, and exclude the
8753 # DT_RUNPATH tag from executables and libraries. But doing so
8754 # requires that you compile everything twice, which is a pain.
8755 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8756 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8758 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8767 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8770 hardcode_shlibpath_var
=no
8774 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8775 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8776 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8783 if test "$ld_shlibs" = no
; then
8785 hardcode_libdir_flag_spec
=
8786 export_dynamic_flag_spec
=
8787 whole_archive_flag_spec
=
8790 # PORTME fill in a description of your system's linker (not GNU ld)
8793 allow_undefined_flag
=unsupported
8794 always_export_symbols
=yes
8795 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'
8796 # Note: this linker hardcodes the directories in LIBPATH if there
8797 # are no directories specified by -L.
8798 hardcode_minus_L
=yes
8799 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8800 # Neither direct hardcoding nor static linking is supported with a
8802 hardcode_direct
=unsupported
8807 if test "$host_cpu" = ia64
; then
8808 # On IA64, the linker does run time linking by default, so we don't
8809 # have to do anything special.
8810 aix_use_runtimelinking
=no
8811 exp_sym_flag
='-Bexport'
8814 # If we're using GNU nm, then we don't want the "-C" option.
8815 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8816 # Also, AIX nm treats weak defined symbols like other global
8817 # defined symbols, whereas GNU nm marks them as "W".
8818 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8819 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'
8821 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'
8823 aix_use_runtimelinking
=no
8825 # Test if we are trying to use run time linking or normal
8826 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8827 # need to do runtime linking.
8828 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8829 for ld_flag
in $LDFLAGS; do
8830 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8831 aix_use_runtimelinking
=yes
8838 exp_sym_flag
='-bexport'
8839 no_entry_flag
='-bnoentry'
8842 # When large executables or shared objects are built, AIX ld can
8843 # have problems creating the table of contents. If linking a library
8844 # or program results in "error TOC overflow" add -mminimal-toc to
8845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8850 hardcode_direct_absolute
=yes
8851 hardcode_libdir_separator
=':'
8852 link_all_deplibs
=yes
8853 file_list_spec
='${wl}-f,'
8855 if test "$GCC" = yes; then
8856 case $host_os in aix4.
[012]|aix4.
[012].
*)
8857 # We only want to do this on AIX 4.2 and lower, the check
8858 # below for broken collect2 doesn't work under 4.3+
8859 collect2name
=`${CC} -print-prog-name=collect2`
8860 if test -f "$collect2name" &&
8861 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8863 # We have reworked collect2
8866 # We have old collect2
8867 hardcode_direct
=unsupported
8868 # It fails to find uninstalled libraries when the uninstalled
8869 # path is not listed in the libpath. Setting hardcode_minus_L
8870 # to unsupported forces relinking
8871 hardcode_minus_L
=yes
8872 hardcode_libdir_flag_spec
='-L$libdir'
8873 hardcode_libdir_separator
=
8877 shared_flag
='-shared'
8878 if test "$aix_use_runtimelinking" = yes; then
8879 shared_flag
="$shared_flag "'${wl}-G'
8884 if test "$host_cpu" = ia64
; then
8885 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8886 # chokes on -Wl,-G. The following line is correct:
8889 if test "$aix_use_runtimelinking" = yes; then
8890 shared_flag
='${wl}-G'
8892 shared_flag
='${wl}-bM:SRE'
8897 export_dynamic_flag_spec
='${wl}-bexpall'
8898 # It seems that -bexpall does not export symbols beginning with
8899 # underscore (_), so it is better to generate a list of symbols to export.
8900 always_export_symbols
=yes
8901 if test "$aix_use_runtimelinking" = yes; then
8902 # Warning - without using the other runtime loading flags (-brtl),
8903 # -berok will link without error, but may produce a broken library.
8904 allow_undefined_flag
='-berok'
8905 # Determine the default libpath from the value encoded in an
8907 if test "${lt_cv_aix_libpath+set}" = set; then
8908 aix_libpath
=$lt_cv_aix_libpath
8910 if ${lt_cv_aix_libpath_+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8924 if ac_fn_c_try_link
"$LINENO"; then :
8926 lt_aix_libpath_sed
='
8927 /Import File Strings/,/^$/ {
8929 s/^0 *\([^ ]*\) *$/\1/
8933 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 # Check for a 64-bit object if we didn't find anything.
8935 if test -z "$lt_cv_aix_libpath_"; then
8936 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8939 rm -f core conftest.err conftest.
$ac_objext \
8940 conftest
$ac_exeext conftest.
$ac_ext
8941 if test -z "$lt_cv_aix_libpath_"; then
8942 lt_cv_aix_libpath_
="/usr/lib:/lib"
8947 aix_libpath
=$lt_cv_aix_libpath_
8950 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8951 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"
8953 if test "$host_cpu" = ia64
; then
8954 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8955 allow_undefined_flag
="-z nodefs"
8956 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"
8958 # Determine the default libpath from the value encoded in an
8960 if test "${lt_cv_aix_libpath+set}" = set; then
8961 aix_libpath
=$lt_cv_aix_libpath
8963 if ${lt_cv_aix_libpath_+:} false
; then :
8964 $as_echo_n "(cached) " >&6
8966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8977 if ac_fn_c_try_link
"$LINENO"; then :
8979 lt_aix_libpath_sed
='
8980 /Import File Strings/,/^$/ {
8982 s/^0 *\([^ ]*\) *$/\1/
8986 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8987 # Check for a 64-bit object if we didn't find anything.
8988 if test -z "$lt_cv_aix_libpath_"; then
8989 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8992 rm -f core conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8994 if test -z "$lt_cv_aix_libpath_"; then
8995 lt_cv_aix_libpath_
="/usr/lib:/lib"
9000 aix_libpath
=$lt_cv_aix_libpath_
9003 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9004 # Warning - without using the other run time loading flags,
9005 # -berok will link without error, but may produce a broken library.
9006 no_undefined_flag
=' ${wl}-bernotok'
9007 allow_undefined_flag
=' ${wl}-berok'
9008 if test "$with_gnu_ld" = yes; then
9009 # We only use this code for GNU lds that support --whole-archive.
9010 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9012 # Exported symbols can be pulled into shared objects from archives
9013 whole_archive_flag_spec
='$convenience'
9015 archive_cmds_need_lc
=yes
9016 # This is similar to how AIX traditionally builds its shared libraries.
9017 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'
9025 # see comment about AmigaOS4 .so support
9026 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027 archive_expsym_cmds
=''
9030 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)'
9031 hardcode_libdir_flag_spec
='-L$libdir'
9032 hardcode_minus_L
=yes
9038 export_dynamic_flag_spec
=-rdynamic
9041 cygwin
* | mingw
* | pw32
* | cegcc
*)
9042 # When not using gcc, we currently assume that we are using
9043 # Microsoft Visual C++.
9044 # hardcode_libdir_flag_spec is actually meaningless, as there is
9045 # no search path for DLLs.
9046 case $cc_basename in
9049 hardcode_libdir_flag_spec
=' '
9050 allow_undefined_flag
=unsupported
9051 always_export_symbols
=yes
9053 # Tell ltmain to make .lib files, not .a files.
9055 # Tell ltmain to make .dll files, not .so files.
9057 # FIXME: Setting linknames here is a bad hack.
9058 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9059 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9060 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9062 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9064 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9066 # The linker will not automatically build a static lib if we build a DLL.
9067 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9068 enable_shared_with_static_runtimes
=yes
9069 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9070 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9072 old_postinstall_cmds
='chmod 644 $oldlib'
9073 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9074 lt_tool_outputfile="@TOOL_OUTPUT@"~
9075 case $lt_outputfile in
9078 lt_outputfile="$lt_outputfile.exe"
9079 lt_tool_outputfile="$lt_tool_outputfile.exe"
9082 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9083 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9084 $RM "$lt_outputfile.manifest";
9088 # Assume MSVC wrapper
9089 hardcode_libdir_flag_spec
=' '
9090 allow_undefined_flag
=unsupported
9091 # Tell ltmain to make .lib files, not .a files.
9093 # Tell ltmain to make .dll files, not .so files.
9095 # FIXME: Setting linknames here is a bad hack.
9096 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9097 # The linker will automatically build a .lib file if we build a DLL.
9098 old_archive_from_new_cmds
='true'
9099 # FIXME: Should let the user specify the lib program.
9100 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9101 enable_shared_with_static_runtimes
=yes
9106 darwin
* | rhapsody
*)
9109 archive_cmds_need_lc
=no
9111 hardcode_automatic
=yes
9112 hardcode_shlibpath_var
=unsupported
9113 if test "$lt_cv_ld_force_load" = "yes"; then
9114 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\"`'
9117 whole_archive_flag_spec
=''
9119 link_all_deplibs
=yes
9120 allow_undefined_flag
="$_lt_dar_allow_undefined"
9121 case $cc_basename in
9122 ifort
*) _lt_dar_can_shared
=yes ;;
9123 *) _lt_dar_can_shared
=$GCC ;;
9125 if test "$_lt_dar_can_shared" = "yes"; then
9126 output_verbose_link_cmd
=func_echo_all
9127 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9128 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9129 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}"
9130 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}"
9139 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9140 hardcode_libdir_flag_spec
='-L$libdir'
9141 hardcode_shlibpath_var
=no
9144 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9145 # support. Future versions do this automatically, but an explicit c++rt0.o
9146 # does not break anything, and helps significantly (at the cost of a little
9149 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9150 hardcode_libdir_flag_spec
='-R$libdir'
9152 hardcode_shlibpath_var
=no
9155 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9157 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9159 hardcode_minus_L
=yes
9160 hardcode_shlibpath_var
=no
9163 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9164 freebsd
* | dragonfly
*)
9165 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9166 hardcode_libdir_flag_spec
='-R$libdir'
9168 hardcode_shlibpath_var
=no
9172 if test "$GCC" = yes; then
9173 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'
9175 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'
9177 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9178 hardcode_libdir_separator
=:
9181 # hardcode_minus_L: Not really in the search PATH,
9182 # but as the default location of the library.
9183 hardcode_minus_L
=yes
9184 export_dynamic_flag_spec
='${wl}-E'
9188 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9189 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9191 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9193 if test "$with_gnu_ld" = no
; then
9194 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9195 hardcode_libdir_separator
=:
9197 hardcode_direct_absolute
=yes
9198 export_dynamic_flag_spec
='${wl}-E'
9199 # hardcode_minus_L: Not really in the search PATH,
9200 # but as the default location of the library.
9201 hardcode_minus_L
=yes
9206 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9209 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9221 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9224 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9228 # Older versions of the 11.00 compiler do not understand -b yet
9229 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9231 $as_echo_n "checking if $CC understands -b... " >&6; }
9232 if ${lt_cv_prog_compiler__b+:} false
; then :
9233 $as_echo_n "(cached) " >&6
9235 lt_cv_prog_compiler__b
=no
9236 save_LDFLAGS
="$LDFLAGS"
9237 LDFLAGS
="$LDFLAGS -b"
9238 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9239 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9240 # The linker can only warn and ignore the option if not recognized
9241 # So say no if there are warnings
9242 if test -s conftest.err
; then
9243 # Append any errors to the config.log.
9244 cat conftest.err
1>&5
9245 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9246 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9247 if diff conftest.exp conftest.er2
>/dev
/null
; then
9248 lt_cv_prog_compiler__b
=yes
9251 lt_cv_prog_compiler__b
=yes
9255 LDFLAGS
="$save_LDFLAGS"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9259 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9261 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9262 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9264 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9270 if test "$with_gnu_ld" = no
; then
9271 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9272 hardcode_libdir_separator
=:
9277 hardcode_shlibpath_var
=no
9281 hardcode_direct_absolute
=yes
9282 export_dynamic_flag_spec
='${wl}-E'
9284 # hardcode_minus_L: Not really in the search PATH,
9285 # but as the default location of the library.
9286 hardcode_minus_L
=yes
9292 irix5
* | irix6
* | nonstopux
*)
9293 if test "$GCC" = yes; then
9294 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'
9295 # Try to use the -exported_symbol ld option, if it does not
9296 # work, assume that -exports_file does not work either and
9297 # implicitly export all symbols.
9298 # This should be the same for all languages, so no per-tag cache variable.
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9300 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9301 if ${lt_cv_irix_exported_symbol+:} false
; then :
9302 $as_echo_n "(cached) " >&6
9304 save_LDFLAGS
="$LDFLAGS"
9305 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 int foo (void) { return 0; }
9310 if ac_fn_c_try_link
"$LINENO"; then :
9311 lt_cv_irix_exported_symbol
=yes
9313 lt_cv_irix_exported_symbol
=no
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LDFLAGS
="$save_LDFLAGS"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9320 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9321 if test "$lt_cv_irix_exported_symbol" = yes; then
9322 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'
9325 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'
9326 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'
9328 archive_cmds_need_lc
='no'
9329 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9330 hardcode_libdir_separator
=:
9332 link_all_deplibs
=yes
9335 netbsd
* | netbsdelf
*-gnu)
9336 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9337 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9339 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9341 hardcode_libdir_flag_spec
='-R$libdir'
9343 hardcode_shlibpath_var
=no
9347 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9350 hardcode_libdir_separator
=:
9351 hardcode_shlibpath_var
=no
9358 if test -f /usr
/libexec
/ld.so
; then
9360 hardcode_shlibpath_var
=no
9361 hardcode_direct_absolute
=yes
9362 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9363 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9364 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9365 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9366 export_dynamic_flag_spec
='${wl}-E'
9369 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9370 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_libdir_flag_spec
='-R$libdir'
9374 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9375 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9385 hardcode_libdir_flag_spec
='-L$libdir'
9386 hardcode_minus_L
=yes
9387 allow_undefined_flag
=unsupported
9388 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'
9389 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9393 if test "$GCC" = yes; then
9394 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9395 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'
9397 allow_undefined_flag
=' -expect_unresolved \*'
9398 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'
9400 archive_cmds_need_lc
='no'
9401 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9402 hardcode_libdir_separator
=:
9405 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9406 if test "$GCC" = yes; then
9407 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9408 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'
9409 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9411 allow_undefined_flag
=' -expect_unresolved \*'
9412 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'
9413 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~
9414 $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'
9416 # Both c and cxx compiler support -rpath directly
9417 hardcode_libdir_flag_spec
='-rpath $libdir'
9419 archive_cmds_need_lc
='no'
9420 hardcode_libdir_separator
=:
9424 no_undefined_flag
=' -z defs'
9425 if test "$GCC" = yes; then
9427 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9429 $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'
9431 case `$CC -V 2>&1` in
9434 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9435 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9436 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9440 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9442 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9446 hardcode_libdir_flag_spec
='-R$libdir'
9447 hardcode_shlibpath_var
=no
9449 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9451 # The compiler driver will combine and reorder linker options,
9452 # but understands `-z linker_flag'. GCC discards it without `$wl',
9453 # but is careful enough not to reorder.
9454 # Supported since Solaris 2.6 (maybe 2.5.1?)
9455 if test "$GCC" = yes; then
9456 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9458 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9462 link_all_deplibs
=yes
9466 if test "x$host_vendor" = xsequent
; then
9467 # Use $CC to link under sequent, because it throws in some extra .o
9468 # files that make .init and .fini sections work.
9469 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9473 hardcode_libdir_flag_spec
='-L$libdir'
9475 hardcode_minus_L
=yes
9476 hardcode_shlibpath_var
=no
9480 case $host_vendor in
9482 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483 hardcode_direct
=yes # is this really true???
9486 ## LD is ld it makes a PLAMLIB
9487 ## CC just makes a GrossModule.
9488 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9489 reload_cmds
='$CC -r -o $output$reload_objs'
9493 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9497 runpath_var
='LD_RUN_PATH'
9498 hardcode_shlibpath_var
=no
9502 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_shlibpath_var
=no
9504 export_dynamic_flag_spec
='-Bexport'
9508 if test -d /usr
/nec
; then
9509 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510 hardcode_shlibpath_var
=no
9511 runpath_var
=LD_RUN_PATH
9512 hardcode_runpath_var
=yes
9517 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9518 no_undefined_flag
='${wl}-z,text'
9519 archive_cmds_need_lc
=no
9520 hardcode_shlibpath_var
=no
9521 runpath_var
='LD_RUN_PATH'
9523 if test "$GCC" = yes; then
9524 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9527 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9532 sysv5
* | sco3.2v5
* | sco5v6
*)
9533 # Note: We can NOT use -z defs as we might desire, because we do not
9534 # link with -lc, and that would cause any symbols used from libc to
9535 # always be unresolved, which means just about no library would
9536 # ever link correctly. If we're not using GNU ld we use -z text
9537 # though, which does catch some bad symbols but isn't as heavy-handed
9539 no_undefined_flag
='${wl}-z,text'
9540 allow_undefined_flag
='${wl}-z,nodefs'
9541 archive_cmds_need_lc
=no
9542 hardcode_shlibpath_var
=no
9543 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9544 hardcode_libdir_separator
=':'
9545 link_all_deplibs
=yes
9546 export_dynamic_flag_spec
='${wl}-Bexport'
9547 runpath_var
='LD_RUN_PATH'
9549 if test "$GCC" = yes; then
9550 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_libdir_flag_spec
='-L$libdir'
9561 hardcode_shlibpath_var
=no
9569 if test x
$host_vendor = xsni
; then
9571 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9572 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9579 $as_echo "$ld_shlibs" >&6; }
9580 test "$ld_shlibs" = no
&& can_build_shared
=no
9582 with_gnu_ld
=$with_gnu_ld
9599 # Do we need to explicitly link libc?
9601 case "x$archive_cmds_need_lc" in
9603 # Assume -lc should be added
9604 archive_cmds_need_lc
=yes
9606 if test "$enable_shared" = yes && test "$GCC" = yes; then
9607 case $archive_cmds in
9609 # FIXME: we may have to deal with multi-command sequences.
9612 # Test whether the compiler implicitly links with -lc since on some
9613 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9614 # to ld, don't add -lc before -lgcc.
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9616 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9617 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9621 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9624 (eval $ac_compile) 2>&5
9626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9627 test $ac_status = 0; } 2>conftest.err
; then
9630 libobjs
=conftest.
$ac_objext
9632 wl
=$lt_prog_compiler_wl
9633 pic_flag
=$lt_prog_compiler_pic
9639 lt_save_allow_undefined_flag
=$allow_undefined_flag
9640 allow_undefined_flag
=
9641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9642 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9645 test $ac_status = 0; }
9647 lt_cv_archive_cmds_need_lc
=no
9649 lt_cv_archive_cmds_need_lc
=yes
9651 allow_undefined_flag
=$lt_save_allow_undefined_flag
9653 cat conftest.err
1>&5
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9659 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9660 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9819 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9821 if test "$GCC" = yes; then
9823 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9824 *) lt_awk_arg
="/^libraries:/" ;;
9827 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9828 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9830 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9831 case $lt_search_path_spec in
9833 # if the path contains ";" then we assume it to be the separator
9834 # otherwise default to the standard path separator (i.e. ":") - it is
9835 # assumed that no part of a normal pathname contains ";" but that should
9836 # okay in the real world where ";" in dirpaths is itself problematic.
9837 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9840 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9843 # Ok, now we have the path, separated by spaces, we can step through it
9844 # and add multilib dir if necessary.
9845 lt_tmp_lt_search_path_spec
=
9846 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9847 for lt_sys_path
in $lt_search_path_spec; do
9848 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9849 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9851 test -d "$lt_sys_path" && \
9852 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9855 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9856 BEGIN {RS=" "; FS="/|\n";} {
9859 for (lt_i = NF; lt_i > 0; lt_i--) {
9860 if ($lt_i != "" && $lt_i != ".") {
9861 if ($lt_i == "..") {
9864 if (lt_count == 0) {
9865 lt_foo="/" $lt_i lt_foo;
9872 if (lt_foo != "") { lt_freq[lt_foo]++; }
9873 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9875 # AWK program above erroneously prepends '/' to C:/dos/paths
9878 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9879 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9881 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9883 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9886 libname_spec
='lib$name'
9894 shlibpath_overrides_runpath
=unknown
9896 dynamic_linker
="$host_os ld.so"
9897 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9898 need_lib_prefix
=unknown
9899 hardcode_into_libs
=no
9901 # when you set need_version to no, make sure it does not cause -set_version
9902 # flags to be left without arguments
9903 need_version
=unknown
9907 version_type
=linux
# correct to gnu/linux during the next big refactor
9908 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9909 shlibpath_var
=LIBPATH
9911 # AIX 3 has no versioning support, so we append a major version to the name.
9912 soname_spec
='${libname}${release}${shared_ext}$major'
9916 version_type
=linux
# correct to gnu/linux during the next big refactor
9919 hardcode_into_libs
=yes
9920 if test "$host_cpu" = ia64
; then
9921 # AIX 5 supports IA64
9922 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9923 shlibpath_var
=LD_LIBRARY_PATH
9925 # With GCC up to 2.95.x, collect2 would create an import file
9926 # for dependence libraries. The import file would start with
9927 # the line `#! .'. This would cause the generated library to
9928 # depend on `.', always an invalid library. This was fixed in
9929 # development snapshots of GCC prior to 3.0.
9931 aix4 | aix4.
[01] | aix4.
[01].
*)
9932 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9934 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9941 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9942 # soname into executable. Probably we can add versioning support to
9943 # collect2, so additional links can be useful in future.
9944 if test "$aix_use_runtimelinking" = yes; then
9945 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9946 # instead of lib<name>.a to let people know that these are not
9947 # typical AIX shared libraries.
9948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9950 # We preserve .a as extension for shared libraries through AIX4.2
9951 # and later when we are not doing run time linking.
9952 library_names_spec
='${libname}${release}.a $libname.a'
9953 soname_spec
='${libname}${release}${shared_ext}$major'
9955 shlibpath_var
=LIBPATH
9962 # Since July 2007 AmigaOS4 officially supports .so libraries.
9963 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9967 library_names_spec
='$libname.ixlibrary $libname.a'
9968 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9969 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'
9975 library_names_spec
='${libname}${shared_ext}'
9976 dynamic_linker
="$host_os ld.so"
9977 shlibpath_var
=LIBRARY_PATH
9981 version_type
=linux
# correct to gnu/linux during the next big refactor
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 soname_spec
='${libname}${release}${shared_ext}$major'
9985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9986 shlibpath_var
=LD_LIBRARY_PATH
9987 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9988 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9989 # the default ld.so.conf also contains /usr/contrib/lib and
9990 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9991 # libtool to hard-code these into programs
9994 cygwin
* | mingw
* | pw32
* | cegcc
*)
9995 version_type
=windows
10000 case $GCC,$cc_basename in
10003 library_names_spec
='$libname.dll.a'
10004 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10005 postinstall_cmds
='base_file=`basename \${file}`~
10006 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10007 dldir=$destdir/`dirname \$dlpath`~
10008 test -d \$dldir || mkdir -p \$dldir~
10009 $install_prog $dir/$dlname \$dldir/$dlname~
10010 chmod a+x \$dldir/$dlname~
10011 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10012 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10014 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10015 dlpath=$dir/\$dldll~
10017 shlibpath_overrides_runpath
=yes
10021 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10022 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10024 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10027 # MinGW DLLs use traditional 'lib' prefix
10028 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10031 # pw32 DLLs use 'pw' prefix rather than 'lib'
10032 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10035 dynamic_linker
='Win32 ld.exe'
10040 libname_spec
='$name'
10041 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10042 library_names_spec
='${libname}.dll.lib'
10046 sys_lib_search_path_spec
=
10049 for lt_path
in $LIB
10052 # Let DOS variable expansion print the short 8.3 style file name.
10053 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10054 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10057 # Convert to MSYS style.
10058 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10061 # Convert to unix form, then to dos form, then back to unix form
10062 # but this time dos style (no spaces!) so that the unix form looks
10063 # like /cygdrive/c/PROGRA~1:/cygdr...
10064 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10065 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10066 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10069 sys_lib_search_path_spec
="$LIB"
10070 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10071 # It is most probably a Windows format PATH.
10072 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10074 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10076 # FIXME: find the short name or the path components, as spaces are
10077 # common. (e.g. "Program Files" -> "PROGRA~1")
10081 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10082 postinstall_cmds
='base_file=`basename \${file}`~
10083 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10084 dldir=$destdir/`dirname \$dlpath`~
10085 test -d \$dldir || mkdir -p \$dldir~
10086 $install_prog $dir/$dlname \$dldir/$dlname'
10087 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10088 dlpath=$dir/\$dldll~
10090 shlibpath_overrides_runpath
=yes
10091 dynamic_linker
='Win32 link.exe'
10095 # Assume MSVC wrapper
10096 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10097 dynamic_linker
='Win32 ld.exe'
10100 # FIXME: first we should search . and the directory the executable is in
10104 darwin
* | rhapsody
*)
10105 dynamic_linker
="$host_os dyld"
10106 version_type
=darwin
10109 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10110 soname_spec
='${libname}${release}${major}$shared_ext'
10111 shlibpath_overrides_runpath
=yes
10112 shlibpath_var
=DYLD_LIBRARY_PATH
10113 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10115 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10116 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10120 version_type
=linux
# correct to gnu/linux during the next big refactor
10123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10124 soname_spec
='${libname}${release}${shared_ext}$major'
10125 shlibpath_var
=LD_LIBRARY_PATH
10128 freebsd
* | dragonfly
*)
10129 # DragonFly does not have aout. When/if they implement a new
10130 # versioning mechanism, adjust this.
10131 if test -x /usr
/bin
/objformat
; then
10132 objformat
=`/usr/bin/objformat`
10135 freebsd
[23].
*) objformat
=aout
;;
10136 *) objformat
=elf
;;
10139 version_type
=freebsd-
$objformat
10140 case $version_type in
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10147 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10151 shlibpath_var
=LD_LIBRARY_PATH
10154 shlibpath_overrides_runpath
=yes
10156 freebsd3.
[01]* | freebsdelf3.
[01]*)
10157 shlibpath_overrides_runpath
=yes
10158 hardcode_into_libs
=yes
10160 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10161 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10162 shlibpath_overrides_runpath
=no
10163 hardcode_into_libs
=yes
10165 *) # from 4.6 on, and DragonFly
10166 shlibpath_overrides_runpath
=yes
10167 hardcode_into_libs
=yes
10173 version_type
=linux
# correct to gnu/linux during the next big refactor
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10177 soname_spec
='${libname}${release}${shared_ext}$major'
10178 shlibpath_var
=LD_LIBRARY_PATH
10179 shlibpath_overrides_runpath
=no
10180 hardcode_into_libs
=yes
10184 version_type
=linux
# correct to gnu/linux during the next big refactor
10187 dynamic_linker
="$host_os runtime_loader"
10188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10189 soname_spec
='${libname}${release}${shared_ext}$major'
10190 shlibpath_var
=LIBRARY_PATH
10191 shlibpath_overrides_runpath
=yes
10192 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10193 hardcode_into_libs
=yes
10196 hpux9
* | hpux10
* | hpux11
*)
10197 # Give a soname corresponding to the major version so that dld.sl refuses to
10198 # link against other versions.
10205 hardcode_into_libs
=yes
10206 dynamic_linker
="$host_os dld.so"
10207 shlibpath_var
=LD_LIBRARY_PATH
10208 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10210 soname_spec
='${libname}${release}${shared_ext}$major'
10211 if test "X$HPUX_IA64_MODE" = X32
; then
10212 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10214 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10216 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10220 hardcode_into_libs
=yes
10221 dynamic_linker
="$host_os dld.sl"
10222 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10223 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10225 soname_spec
='${libname}${release}${shared_ext}$major'
10226 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10227 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10231 dynamic_linker
="$host_os dld.sl"
10232 shlibpath_var
=SHLIB_PATH
10233 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10235 soname_spec
='${libname}${release}${shared_ext}$major'
10238 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10239 postinstall_cmds
='chmod 555 $lib'
10240 # or fails outright, so override atomically:
10241 install_override_mode
=555
10245 version_type
=linux
# correct to gnu/linux during the next big refactor
10248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10249 soname_spec
='${libname}${release}${shared_ext}$major'
10250 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10251 shlibpath_var
=LD_LIBRARY_PATH
10252 shlibpath_overrides_runpath
=no
10253 hardcode_into_libs
=yes
10256 irix5
* | irix6
* | nonstopux
*)
10258 nonstopux
*) version_type
=nonstopux
;;
10260 if test "$lt_cv_prog_gnu_ld" = yes; then
10261 version_type
=linux
# correct to gnu/linux during the next big refactor
10268 soname_spec
='${libname}${release}${shared_ext}$major'
10269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10271 irix5
* | nonstopux
*)
10272 libsuff
= shlibsuff
=
10275 case $LD in # libtool.m4 will add one of these switches to LD
10276 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10277 libsuff
= shlibsuff
= libmagic
=32-bit;;
10278 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10279 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10280 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10281 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10282 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10286 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10287 shlibpath_overrides_runpath
=no
10288 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10289 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10290 hardcode_into_libs
=yes
10293 # No shared lib support for Linux oldld, aout, or coff.
10294 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10298 # This must be glibc/ELF.
10299 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10300 version_type
=linux
# correct to gnu/linux during the next big refactor
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10306 shlibpath_var
=LD_LIBRARY_PATH
10307 shlibpath_overrides_runpath
=no
10309 # Some binutils ld are patched to set DT_RUNPATH
10310 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 lt_cv_shlibpath_overrides_runpath
=no
10314 save_LDFLAGS
=$LDFLAGS
10315 save_libdir
=$libdir
10316 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10317 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10329 if ac_fn_c_try_link
"$LINENO"; then :
10330 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10331 lt_cv_shlibpath_overrides_runpath
=yes
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LDFLAGS
=$save_LDFLAGS
10337 libdir
=$save_libdir
10341 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10343 # This implies no fast_install, which is unacceptable.
10344 # Some rework will be needed to allow for fast_install
10345 # before this can be enabled.
10346 hardcode_into_libs
=yes
10348 # Append ld.so.conf contents to the search path
10349 if test -f /etc
/ld.so.conf
; then
10350 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' ' '`
10351 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10354 # We used to test for /lib/ld.so.1 and disable shared libraries on
10355 # powerpc, because MkLinux only supported shared libraries with the
10356 # GNU dynamic linker. Since this was broken with cross compilers,
10357 # most powerpc-linux boxes support dynamic linking these days and
10358 # people can always --disable-shared, the test was removed, and we
10359 # assume the GNU/Linux dynamic linker is in use.
10360 dynamic_linker
='GNU/Linux ld.so'
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10368 soname_spec
='${libname}${release}${shared_ext}$major'
10369 shlibpath_var
=LD_LIBRARY_PATH
10370 shlibpath_overrides_runpath
=no
10371 hardcode_into_libs
=yes
10372 dynamic_linker
='NetBSD ld.elf_so'
10379 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10382 dynamic_linker
='NetBSD (a.out) ld.so'
10384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385 soname_spec
='${libname}${release}${shared_ext}$major'
10386 dynamic_linker
='NetBSD ld.elf_so'
10388 shlibpath_var
=LD_LIBRARY_PATH
10389 shlibpath_overrides_runpath
=yes
10390 hardcode_into_libs
=yes
10394 version_type
=linux
# correct to gnu/linux during the next big refactor
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 shlibpath_var
=LD_LIBRARY_PATH
10397 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
10407 shlibpath_overrides_runpath
=no
10408 hardcode_into_libs
=yes
10409 dynamic_linker
='ldqnx.so'
10414 sys_lib_dlsearch_path_spec
="/usr/lib"
10416 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10418 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10419 *) need_version
=no
;;
10421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10422 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10423 shlibpath_var
=LD_LIBRARY_PATH
10424 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10426 openbsd2.
[89] | openbsd2.
[89].
*)
10427 shlibpath_overrides_runpath
=no
10430 shlibpath_overrides_runpath
=yes
10434 shlibpath_overrides_runpath
=yes
10439 libname_spec
='$name'
10442 library_names_spec
='$libname${shared_ext} $libname.a'
10443 dynamic_linker
='OS/2 ld.exe'
10444 shlibpath_var
=LIBPATH
10447 osf3
* | osf4
* | osf5
*)
10451 soname_spec
='${libname}${release}${shared_ext}$major'
10452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10455 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10463 version_type
=linux
# correct to gnu/linux during the next big refactor
10466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 soname_spec
='${libname}${release}${shared_ext}$major'
10468 shlibpath_var
=LD_LIBRARY_PATH
10469 shlibpath_overrides_runpath
=yes
10470 hardcode_into_libs
=yes
10471 # ldd complains unless libraries are executable
10472 postinstall_cmds
='chmod +x $lib'
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10478 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10479 shlibpath_var
=LD_LIBRARY_PATH
10480 shlibpath_overrides_runpath
=yes
10481 if test "$with_gnu_ld" = yes; then
10488 version_type
=linux
# correct to gnu/linux during the next big refactor
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 soname_spec
='${libname}${release}${shared_ext}$major'
10491 shlibpath_var
=LD_LIBRARY_PATH
10492 case $host_vendor in
10494 shlibpath_overrides_runpath
=no
10496 runpath_var
=LD_RUN_PATH
10504 shlibpath_overrides_runpath
=no
10505 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10511 if test -d /usr
/nec
;then
10512 version_type
=linux
# correct to gnu/linux during the next big refactor
10513 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10514 soname_spec
='$libname${shared_ext}.$major'
10515 shlibpath_var
=LD_LIBRARY_PATH
10519 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10520 version_type
=freebsd-elf
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10524 soname_spec
='${libname}${release}${shared_ext}$major'
10525 shlibpath_var
=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath
=yes
10527 hardcode_into_libs
=yes
10528 if test "$with_gnu_ld" = yes; then
10529 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10531 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10534 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10538 sys_lib_dlsearch_path_spec
='/usr/lib'
10542 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10543 version_type
=linux
# correct to gnu/linux during the next big refactor
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath
=no
10549 hardcode_into_libs
=yes
10553 version_type
=linux
# correct to gnu/linux during the next big refactor
10554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 shlibpath_var
=LD_LIBRARY_PATH
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10564 $as_echo "$dynamic_linker" >&6; }
10565 test "$dynamic_linker" = no
&& can_build_shared
=no
10567 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10568 if test "$GCC" = yes; then
10569 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10572 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10573 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10575 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10576 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10671 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10673 if test -n "$hardcode_libdir_flag_spec" ||
10674 test -n "$runpath_var" ||
10675 test "X$hardcode_automatic" = "Xyes" ; then
10677 # We can hardcode non-existent directories.
10678 if test "$hardcode_direct" != no
&&
10679 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10680 # have to relink, otherwise we might link with an installed library
10681 # when we should be linking with a yet-to-be-installed one
10682 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10683 test "$hardcode_minus_L" != no
; then
10684 # Linking always hardcodes the temporary library directory.
10685 hardcode_action
=relink
10687 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10688 hardcode_action
=immediate
10691 # We cannot hardcode anything, or else we can only hardcode existing
10693 hardcode_action
=unsupported
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10696 $as_echo "$hardcode_action" >&6; }
10698 if test "$hardcode_action" = relink ||
10699 test "$inherit_rpath" = yes; then
10700 # Fast installation is not supported
10701 enable_fast_install
=no
10702 elif test "$shlibpath_overrides_runpath" = yes ||
10703 test "$enable_shared" = no
; then
10704 # Fast installation is not necessary
10705 enable_fast_install
=needless
10713 if test "x$enable_dlopen" != xyes
; then
10714 enable_dlopen
=unknown
10715 enable_dlopen_self
=unknown
10716 enable_dlopen_self_static
=unknown
10723 lt_cv_dlopen
="load_add_on"
10725 lt_cv_dlopen_self
=yes
10728 mingw
* | pw32
* | cegcc
*)
10729 lt_cv_dlopen
="LoadLibrary"
10734 lt_cv_dlopen
="dlopen"
10739 # if libdl is installed we need to link against it
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10741 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10742 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_dl_dlopen
=yes
10768 ac_cv_lib_dl_dlopen
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10775 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10776 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10777 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10780 lt_cv_dlopen
="dyld"
10782 lt_cv_dlopen_self
=yes
10789 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10790 if test "x$ac_cv_func_shl_load" = xyes
; then :
10791 lt_cv_dlopen
="shl_load"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10794 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10795 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_lib_save_LIBS
=$LIBS
10800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10813 return shl_load ();
10818 if ac_fn_c_try_link
"$LINENO"; then :
10819 ac_cv_lib_dld_shl_load
=yes
10821 ac_cv_lib_dld_shl_load
=no
10823 rm -f core conftest.err conftest.
$ac_objext \
10824 conftest
$ac_exeext conftest.
$ac_ext
10825 LIBS
=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10828 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10829 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10830 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10832 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10833 if test "x$ac_cv_func_dlopen" = xyes
; then :
10834 lt_cv_dlopen
="dlopen"
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10837 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10838 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10839 $as_echo_n "(cached) " >&6
10841 ac_check_lib_save_LIBS
=$LIBS
10843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10861 if ac_fn_c_try_link
"$LINENO"; then :
10862 ac_cv_lib_dl_dlopen
=yes
10864 ac_cv_lib_dl_dlopen
=no
10866 rm -f core conftest.err conftest.
$ac_objext \
10867 conftest
$ac_exeext conftest.
$ac_ext
10868 LIBS
=$ac_check_lib_save_LIBS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10871 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10872 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10873 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10876 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10877 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS
=$LIBS
10881 LIBS
="-lsvld $LIBS"
10882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10900 if ac_fn_c_try_link
"$LINENO"; then :
10901 ac_cv_lib_svld_dlopen
=yes
10903 ac_cv_lib_svld_dlopen
=no
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10910 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10911 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10912 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10915 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10916 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10917 $as_echo_n "(cached) " >&6
10919 ac_check_lib_save_LIBS
=$LIBS
10921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10934 return dld_link ();
10939 if ac_fn_c_try_link
"$LINENO"; then :
10940 ac_cv_lib_dld_dld_link
=yes
10942 ac_cv_lib_dld_dld_link
=no
10944 rm -f core conftest.err conftest.
$ac_objext \
10945 conftest
$ac_exeext conftest.
$ac_ext
10946 LIBS
=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10949 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10950 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10951 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10972 if test "x$lt_cv_dlopen" != xno
; then
10978 case $lt_cv_dlopen in
10980 save_CPPFLAGS
="$CPPFLAGS"
10981 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10983 save_LDFLAGS
="$LDFLAGS"
10984 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10987 LIBS
="$lt_cv_dlopen_libs $LIBS"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10990 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10991 if ${lt_cv_dlopen_self+:} false
; then :
10992 $as_echo_n "(cached) " >&6
10994 if test "$cross_compiling" = yes; then :
10995 lt_cv_dlopen_self
=cross
10997 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10998 lt_status
=$lt_dlunknown
10999 cat > conftest.
$ac_ext <<_LT_EOF
11000 #line $LINENO "configure"
11001 #include "confdefs.h"
11010 # define LT_DLGLOBAL RTLD_GLOBAL
11013 # define LT_DLGLOBAL DL_GLOBAL
11015 # define LT_DLGLOBAL 0
11019 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11020 find out it does not work in some platform. */
11021 #ifndef LT_DLLAZY_OR_NOW
11023 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11026 # define LT_DLLAZY_OR_NOW DL_LAZY
11029 # define LT_DLLAZY_OR_NOW RTLD_NOW
11032 # define LT_DLLAZY_OR_NOW DL_NOW
11034 # define LT_DLLAZY_OR_NOW 0
11041 /* When -fvisbility=hidden is used, assume the code has been annotated
11042 correspondingly for the symbols needed. */
11043 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11044 int fnord () __attribute__((visibility("default")));
11047 int fnord () { return 42; }
11050 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11051 int status = $lt_dlunknown;
11055 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11058 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11059 else puts (dlerror ());
11061 /* dlclose (self); */
11069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11070 (eval $ac_link) 2>&5
11072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11073 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11074 (.
/conftest
; exit; ) >&5 2>/dev
/null
11076 case x
$lt_status in
11077 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11078 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11079 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11082 # compilation failed
11083 lt_cv_dlopen_self
=no
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11091 $as_echo "$lt_cv_dlopen_self" >&6; }
11093 if test "x$lt_cv_dlopen_self" = xyes
; then
11094 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11096 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11097 if ${lt_cv_dlopen_self_static+:} false
; then :
11098 $as_echo_n "(cached) " >&6
11100 if test "$cross_compiling" = yes; then :
11101 lt_cv_dlopen_self_static
=cross
11103 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11104 lt_status
=$lt_dlunknown
11105 cat > conftest.
$ac_ext <<_LT_EOF
11106 #line $LINENO "configure"
11107 #include "confdefs.h"
11116 # define LT_DLGLOBAL RTLD_GLOBAL
11119 # define LT_DLGLOBAL DL_GLOBAL
11121 # define LT_DLGLOBAL 0
11125 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11126 find out it does not work in some platform. */
11127 #ifndef LT_DLLAZY_OR_NOW
11129 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11132 # define LT_DLLAZY_OR_NOW DL_LAZY
11135 # define LT_DLLAZY_OR_NOW RTLD_NOW
11138 # define LT_DLLAZY_OR_NOW DL_NOW
11140 # define LT_DLLAZY_OR_NOW 0
11147 /* When -fvisbility=hidden is used, assume the code has been annotated
11148 correspondingly for the symbols needed. */
11149 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11150 int fnord () __attribute__((visibility("default")));
11153 int fnord () { return 42; }
11156 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11157 int status = $lt_dlunknown;
11161 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11164 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11165 else puts (dlerror ());
11167 /* dlclose (self); */
11175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11176 (eval $ac_link) 2>&5
11178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11179 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11180 (.
/conftest
; exit; ) >&5 2>/dev
/null
11182 case x
$lt_status in
11183 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11184 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11185 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11188 # compilation failed
11189 lt_cv_dlopen_self_static
=no
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11197 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11200 CPPFLAGS
="$save_CPPFLAGS"
11201 LDFLAGS
="$save_LDFLAGS"
11206 case $lt_cv_dlopen_self in
11207 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11208 *) enable_dlopen_self
=unknown
;;
11211 case $lt_cv_dlopen_self_static in
11212 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11213 *) enable_dlopen_self_static
=unknown
;;
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11236 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11237 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11238 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11239 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11241 $as_echo "yes" >&6; }
11243 # FIXME - insert some real tests, host_os isn't really good enough
11246 if test -n "$STRIP" ; then
11247 striplib
="$STRIP -x"
11248 old_striplib
="$STRIP -S"
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11250 $as_echo "yes" >&6; }
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11253 $as_echo "no" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11258 $as_echo "no" >&6; }
11274 # Report which library types will actually be built
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11276 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11278 $as_echo "$can_build_shared" >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11281 $as_echo_n "checking whether to build shared libraries... " >&6; }
11282 test "$can_build_shared" = "no" && enable_shared
=no
11284 # On AIX, shared libraries and static libraries use the same namespace, and
11285 # are all built from PIC.
11288 test "$enable_shared" = yes && enable_static
=no
11289 if test -n "$RANLIB"; then
11290 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11291 postinstall_cmds
='$RANLIB $lib'
11296 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11297 test "$enable_shared" = yes && enable_static
=no
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11302 $as_echo "$enable_shared" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11305 $as_echo_n "checking whether to build static libraries... " >&6; }
11306 # Make sure either enable_shared or enable_static is yes.
11307 test "$enable_shared" = yes || enable_static
=yes
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11309 $as_echo "$enable_static" >&6; }
11316 ac_cpp
='$CPP $CPPFLAGS'
11317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11337 ac_config_commands
="$ac_config_commands libtool"
11342 # Only expand once:
11346 if test "x$CC" != xcc
; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11348 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11351 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11353 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11354 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11355 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
11356 $as_echo_n "(cached) " >&6
11358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11369 # Make sure it works both with $CC and with simple cc.
11370 # We do the test twice because some compilers refuse to overwrite an
11371 # existing .o file with -o, though they will create one.
11372 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11374 if { { case "(($ac_try" in
11375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11376 *) ac_try_echo=$ac_try;;
11378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11379 $as_echo "$ac_try_echo"; } >&5
11380 (eval "$ac_try") 2>&5
11382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11383 test $ac_status = 0; } &&
11384 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11386 *) ac_try_echo
=$ac_try;;
11388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11389 $as_echo "$ac_try_echo"; } >&5
11390 (eval "$ac_try") 2>&5
11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11393 test $ac_status = 0; };
11395 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11396 if test "x$CC" != xcc
; then
11397 # Test first that cc exists at all.
11398 if { ac_try
='cc -c conftest.$ac_ext >&5'
11399 { { case "(($ac_try" in
11400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11404 $as_echo "$ac_try_echo"; } >&5
11405 (eval "$ac_try") 2>&5
11407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11408 test $ac_status = 0; }; }; then
11409 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11411 if { { case "(($ac_try" in
11412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11413 *) ac_try_echo
=$ac_try;;
11415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11416 $as_echo "$ac_try_echo"; } >&5
11417 (eval "$ac_try") 2>&5
11419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11420 test $ac_status = 0; } &&
11421 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11423 *) ac_try_echo=$ac_try;;
11425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11426 $as_echo "$ac_try_echo"; } >&5
11427 (eval "$ac_try") 2>&5
11429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11430 test $ac_status = 0; };
11435 # cc exists but doesn't like -o.
11436 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11441 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11443 rm -f core conftest*
11446 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11448 $as_echo "yes" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11451 $as_echo "no" >&6; }
11453 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11457 # FIXME: we rely on the cache variable name because
11458 # there is no other way.
11460 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11461 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11462 if test "$am_t" != yes; then
11463 # Losing compiler, so override with the script.
11464 # FIXME: It is wrong to rewrite CC.
11465 # But if we don't then we get into trouble of one sort or another.
11466 # A longer-term fix would be to have automake use am__CC in this case,
11467 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11468 CC="$am_aux_dir/compile $CC"
11479 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11480 if test -n "$ac_tool_prefix"; then
11481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11484 $as_echo_n "checking for $ac_word... " >&6; }
11485 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11486 $as_echo_n "(cached) " >&6
11488 case $PKG_CONFIG in
11490 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11494 for as_dir in $PATH
11497 test -z "$as_dir" && as_dir=.
11498 for ac_exec_ext in '' $ac_executable_extensions; do
11499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11500 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11511 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11512 if test -n "$PKG_CONFIG"; then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11514 $as_echo "$PKG_CONFIG" >&6; }
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11517 $as_echo "no" >&6; }
11522 if test -z "$ac_cv_path_PKG_CONFIG"; then
11523 ac_pt_PKG_CONFIG=$PKG_CONFIG
11524 # Extract the first word of "pkg-config", so it can be a program name with args.
11525 set dummy pkg-config; ac_word=$2
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11527 $as_echo_n "checking for $ac_word... " >&6; }
11528 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11529 $as_echo_n "(cached) " >&6
11531 case $ac_pt_PKG_CONFIG in
11533 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11537 for as_dir in $PATH
11540 test -z "$as_dir" && as_dir=.
11541 for ac_exec_ext in '' $ac_executable_extensions; do
11542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11543 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11554 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11555 if test -n "$ac_pt_PKG_CONFIG"; then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11557 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11560 $as_echo "no" >&6; }
11563 if test "x$ac_pt_PKG_CONFIG" = x; then
11566 case $cross_compiling:$ac_tool_warned in
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11570 ac_tool_warned=yes ;;
11572 PKG_CONFIG=$ac_pt_PKG_CONFIG
11575 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11579 if test -n "$PKG_CONFIG"; then
11580 _pkg_min_version=0.9.0
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11582 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11583 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11585 $as_echo "yes" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11593 # Work around stupid autoconf default cflags. pt 2
11594 if test "$SAVE_CFLAGS" = "x"; then
11598 # We always want 64 bit file offsets
11599 CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
11601 # Extract the first word of "rpcgen", so it can be a program name with args.
11602 set dummy rpcgen; ac_word=$2
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11604 $as_echo_n "checking for $ac_word... " >&6; }
11605 if ${ac_cv_prog_HAVE_RPCGEN+:} false; then :
11606 $as_echo_n "(cached) " >&6
11608 if test -n "$HAVE_RPCGEN"; then
11609 ac_cv_prog_HAVE_RPCGEN="$HAVE_RPCGEN" # Let the user override the test.
11611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11612 for as_dir in $PATH
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11618 ac_cv_prog_HAVE_RPCGEN="yes"
11619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11626 test -z "$ac_cv_prog_HAVE_RPCGEN" && ac_cv_prog_HAVE_RPCGEN="no"
11629 HAVE_RPCGEN=$ac_cv_prog_HAVE_RPCGEN
11630 if test -n "$HAVE_RPCGEN"; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPCGEN" >&5
11632 $as_echo "$HAVE_RPCGEN" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11639 if test x$HAVE_RPCGEN != xyes; then
11640 as_fn_error $? "Can not find required program" "$LINENO" 5
11644 # Check whether --enable-examples was given.
11645 if test "${enable_examples+set}" = set; then :
11646 enableval=$enable_examples; ENABLE_EXAMPLES=$enableval
11648 ENABLE_EXAMPLES="no"
11652 if test x$ENABLE_EXAMPLES = xyes; then
11653 MAYBE_EXAMPLES="examples"
11657 # Check whether --enable-tirpc was given.
11658 if test "${enable_tirpc+set}" = set; then :
11659 enableval=$enable_tirpc; enable_tirpc=$enableval
11667 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11670 RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
11673 for ac_header in sys/filio.h
11675 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
11676 if test "x$ac_cv_header_sys_filio_h" = xyes; then :
11677 cat >>confdefs.h <<_ACEOF
11678 #define HAVE_SYS_FILIO_H 1
11685 for ac_header in sys/sockio.h
11687 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
11688 if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
11689 cat >>confdefs.h <<_ACEOF
11690 #define HAVE_SYS_SOCKIO_H 1
11697 if test x$ENABLE_EXAMPLES = xyes; then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
11699 $as_echo_n "checking for main in -lsocket... " >&6; }
11700 if ${ac_cv_lib_socket_main+:} false; then :
11701 $as_echo_n "(cached) " >&6
11703 ac_check_lib_save_LIBS=$LIBS
11704 LIBS="-lsocket $LIBS"
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11717 if ac_fn_c_try_link "$LINENO"; then :
11718 ac_cv_lib_socket_main=yes
11720 ac_cv_lib_socket_main=no
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_lib_save_LIBS
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
11727 $as_echo "$ac_cv_lib_socket_main" >&6; }
11728 if test "x$ac_cv_lib_socket_main" = xyes; then :
11729 cat >>confdefs.h <<_ACEOF
11730 #define HAVE_LIBSOCKET 1
11733 LIBS="-lsocket $LIBS"
11736 as_fn_error $? "Can not find required library" "$LINENO" 5
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
11740 $as_echo_n "checking for main in -lnsl... " >&6; }
11741 if ${ac_cv_lib_nsl_main+:} false; then :
11742 $as_echo_n "(cached) " >&6
11744 ac_check_lib_save_LIBS=$LIBS
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11758 if ac_fn_c_try_link "$LINENO"; then :
11759 ac_cv_lib_nsl_main=yes
11761 ac_cv_lib_nsl_main=no
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_lib_save_LIBS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
11768 $as_echo "$ac_cv_lib_nsl_main" >&6; }
11769 if test "x$ac_cv_lib_nsl_main" = xyes; then :
11770 cat >>confdefs.h <<_ACEOF
11771 #define HAVE_LIBNSL 1
11777 as_fn_error $? "Can not find required library" "$LINENO" 5
11789 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
11790 #include <sys/types.h>
11791 #include <sys/socket.h>
11794 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
11796 $as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
11801 LIBNFS_PC_REQ_PRIVATE=
11803 if test "$enable_tirpc" = "yes"; then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIRPC" >&5
11807 $as_echo_n "checking for TIRPC... " >&6; }
11809 if test -n "$TIRPC_CFLAGS"; then
11810 pkg_cv_TIRPC_CFLAGS="$TIRPC_CFLAGS"
11811 elif test -n "$PKG_CONFIG"; then
11812 if test -n "$PKG_CONFIG" && \
11813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
11814 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
11816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11817 test $ac_status = 0; }; then
11818 pkg_cv_TIRPC_CFLAGS=`$PKG_CONFIG --cflags "libtirpc" 2>/dev
/null
`
11819 test "x$?" != "x0" && pkg_failed=yes
11826 if test -n "$TIRPC_LIBS"; then
11827 pkg_cv_TIRPC_LIBS="$TIRPC_LIBS"
11828 elif test -n "$PKG_CONFIG"; then
11829 if test -n "$PKG_CONFIG" && \
11830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
11831 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
11833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11834 test $ac_status = 0; }; then
11835 pkg_cv_TIRPC_LIBS=`$PKG_CONFIG --libs "libtirpc" 2>/dev
/null
`
11836 test "x$?" != "x0" && pkg_failed=yes
11846 if test $pkg_failed = yes; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11851 _pkg_short_errors_supported=yes
11853 _pkg_short_errors_supported=no
11855 if test $_pkg_short_errors_supported = yes; then
11856 TIRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtirpc" 2>&1`
11858 TIRPC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtirpc" 2>&1`
11860 # Put the nasty error message in config.log where it belongs
11861 echo "$TIRPC_PKG_ERRORS" >&5
11863 as_fn_error $? "unable to locate libtirpc files" "$LINENO" 5
11864 elif test $pkg_failed = untried; then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11867 as_fn_error $? "unable to locate libtirpc files" "$LINENO" 5
11869 TIRPC_CFLAGS=$pkg_cv_TIRPC_CFLAGS
11870 TIRPC_LIBS=$pkg_cv_TIRPC_LIBS
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11872 $as_echo "yes" >&6; }
11875 CFLAGS="${CFLAGS} ${TIRPC_CFLAGS}"
11876 LIBS="${LIBS} ${TIRPC_LIBS}"
11877 LIBNFS_PC_REQ_PRIVATE="${LIBNFS_PC_REQ_PRIVATE} libtirpc"
11883 ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile mount/Makefile nfs/Makefile portmap/Makefile rquota/Makefile examples/Makefile"
11886 ac_config_files="$ac_config_files libnfs.pc"
11888 cat >confcache <<\_ACEOF
11889 # This file is a shell script that caches the results of configure
11890 # tests run on this system so they can be shared between configure
11891 # scripts and configure runs, see configure's option --config-cache.
11892 # It is not useful on other systems. If it contains results you don't
11893 # want to keep, you may remove or edit it.
11895 # config.status only pays attention to the cache file if you give it
11896 # the --recheck option to rerun configure.
11898 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11900 # following values.
11904 # The following way of writing the cache mishandles newlines in values,
11905 # but we know of no workaround that is simple, portable, and efficient.
11906 # So, we kill variables containing newlines.
11907 # Ultrix sh set writes to stderr and can't be redirected directly,
11908 # and sets the high bit in the cache file unless we assign to the vars.
11910 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11911 eval ac_val
=\$
$ac_var
11915 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11916 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11919 _ | IFS | as_nl
) ;; #(
11920 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11921 *) { eval $ac_var=; unset $ac_var;} ;;
11927 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11928 *${as_nl}ac_space
=\
*)
11929 # `set' does not quote correctly, so add quotes: double-quote
11930 # substitution turns \\\\ into \\, and sed turns \\ into \.
11933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11936 # `set' quotes correctly as required by POSIX, so do not add quotes.
11937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11948 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11950 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11951 if test -w "$cache_file"; then
11952 if test "x$cache_file" != "x/dev/null"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11954 $as_echo "$as_me: updating cache $cache_file" >&6;}
11955 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11956 cat confcache
>"$cache_file"
11958 case $cache_file in #(
11960 mv -f confcache
"$cache_file"$$
&&
11961 mv -f "$cache_file"$$
"$cache_file" ;; #(
11963 mv -f confcache
"$cache_file" ;;
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11969 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11974 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11975 # Let make expand exec_prefix.
11976 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11978 DEFS
=-DHAVE_CONFIG_H
11983 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11984 # 1. Remove the extension, and $U if already installed.
11985 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11986 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11987 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11988 # will be set to the directory where LIBOBJS objects are built.
11989 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11990 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11992 LIBOBJS
=$ac_libobjs
11994 LTLIBOBJS
=$ac_ltlibobjs
11997 if test -n "$EXEEXT"; then
11999 am__EXEEXT_FALSE
='#'
12001 am__EXEEXT_TRUE
='#'
12005 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12006 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12010 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12014 : "${CONFIG_STATUS=./config.status}"
12016 ac_clean_files_save
=$ac_clean_files
12017 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12019 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12021 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12023 # Generated by $as_me.
12024 # Run this file to recreate the current configuration.
12025 # Compiler output produced by configure, useful for debugging
12026 # configure, is in config.log if it exists.
12029 ac_cs_recheck=false
12032 SHELL=\${CONFIG_SHELL-$SHELL}
12035 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12036 ## -------------------- ##
12037 ## M4sh Initialization. ##
12038 ## -------------------- ##
12040 # Be more Bourne compatible
12041 DUALCASE
=1; export DUALCASE
# for MKS sh
12042 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12045 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12046 # is contrary to our usage. Disable this feature.
12047 alias -g '${1+"$@"}'='"$@"'
12048 setopt NO_GLOB_SUBST
12050 case `(set -o) 2>/dev/null` in #(
12062 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12063 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12064 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12066 # Prefer a ksh shell builtin over an external printf program on Solaris,
12067 # but without wasting forks for bash or zsh.
12068 if test -z "$BASH_VERSION$ZSH_VERSION" \
12069 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12070 as_echo='print
-r --'
12071 as_echo_n='print
-rn --'
12072 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12073 as_echo='printf %s
\n'
12074 as_echo_n='printf %s
'
12076 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12077 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12078 as_echo_n='/usr
/ucb
/echo -n'
12080 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12081 as_echo_n_body='eval
12085 expr "X$arg" : "X\\(.*\\)$as_nl";
12086 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12088 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12090 export as_echo_n_body
12091 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12093 export as_echo_body
12094 as_echo='sh
-c $as_echo_body as_echo
'
12097 # The user is always right.
12098 if test "${PATH_SEPARATOR+set}" != set; then
12100 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12101 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12108 # We need space, tab and new line, in precisely that order. Quoting is
12109 # there to prevent editors from complaining about space-tab.
12110 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12111 # splitting by setting IFS to empty value.)
12114 # Find who we are. Look in the path if we contain no directory separator.
12117 *[\\/]* ) as_myself=$0 ;;
12118 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12119 for as_dir in $PATH
12122 test -z "$as_dir" && as_dir=.
12123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12129 # We did not find ourselves, most probably we were run as `sh COMMAND'
12130 # in which case we are not to be found in the path.
12131 if test "x$as_myself" = x
; then
12134 if test ! -f "$as_myself"; then
12135 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12139 # Unset variables that we do not need and which cause bugs (e.g. in
12140 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12141 # suppresses any "Segmentation fault" message there. '((' could
12142 # trigger a bug in pdksh 5.2.14.
12143 for as_var
in BASH_ENV ENV MAIL MAILPATH
12144 do eval test x\
${$as_var+set} = xset \
12145 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12158 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12161 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12162 # ----------------------------------------
12163 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12164 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12165 # script with STATUS, using 1 if that was 0.
12168 as_status
=$1; test $as_status -eq 0 && as_status
=1
12170 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12171 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12173 $as_echo "$as_me: error: $2" >&2
12174 as_fn_exit
$as_status
12178 # as_fn_set_status STATUS
12179 # -----------------------
12180 # Set $? to STATUS, without forking.
12181 as_fn_set_status
()
12184 } # as_fn_set_status
12186 # as_fn_exit STATUS
12187 # -----------------
12188 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12192 as_fn_set_status
$1
12198 # Portably unset VAR.
12201 { eval $1=; unset $1;}
12203 as_unset
=as_fn_unset
12204 # as_fn_append VAR VALUE
12205 # ----------------------
12206 # Append the text in VALUE to the end of the definition contained in VAR. Take
12207 # advantage of any shell optimizations that allow amortized linear growth over
12208 # repeated appends, instead of the typical quadratic growth present in naive
12210 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12211 eval 'as_fn_append ()
12222 # as_fn_arith ARG...
12223 # ------------------
12224 # Perform arithmetic evaluation on the ARGs, and store the result in the
12225 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12226 # must be portable across $(()) and expr.
12227 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12228 eval 'as_fn_arith ()
12235 as_val
=`expr "$@" || test $? -eq 1`
12240 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12241 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12247 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12248 as_basename
=basename
12253 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12259 as_me
=`$as_basename -- "$0" ||
12260 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12261 X"$0" : 'X\(//\)$' \| \
12262 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12264 sed '/^.*\/\([^/][^/]*\)\/*$/{
12278 # Avoid depending upon Character Ranges.
12279 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12280 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12281 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12282 as_cr_digits
='0123456789'
12283 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12285 ECHO_C
= ECHO_N
= ECHO_T
=
12286 case `echo -n x` in #(((((
12288 case `echo 'xy\c'` in
12289 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12291 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12298 rm -f conf$$ conf$$.exe conf$$.
file
12299 if test -d conf$$.dir
; then
12300 rm -f conf$$.dir
/conf$$.
file
12303 mkdir conf$$.dir
2>/dev
/null
12305 if (echo >conf$$.
file) 2>/dev
/null
; then
12306 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12308 # ... but there are two gotchas:
12309 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12310 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12311 # In both cases, we have to default to `cp -p'.
12312 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12314 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12322 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12323 rmdir conf$$.dir
2>/dev
/null
12328 # Create "$as_dir" as a directory, including parents if necessary.
12333 -*) as_dir
=.
/$as_dir;;
12335 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12339 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12340 *) as_qdir
=$as_dir;;
12342 as_dirs
="'$as_qdir' $as_dirs"
12343 as_dir
=`$as_dirname -- "$as_dir" ||
12344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12345 X"$as_dir" : 'X\(//\)[^/]' \| \
12346 X"$as_dir" : 'X\(//\)$' \| \
12347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12348 $as_echo X"$as_dir" |
12349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12353 /^X\(\/\/\)[^/].*/{
12366 test -d "$as_dir" && break
12368 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12369 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12373 if mkdir
-p .
2>/dev
/null
; then
12374 as_mkdir_p
='mkdir -p "$as_dir"'
12376 test -d .
/-p && rmdir .
/-p
12380 if test -x / >/dev
/null
2>&1; then
12381 as_test_x
='test -x'
12383 if ls -dL / >/dev
/null
2>&1; then
12390 if test -d "$1"; then
12396 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12397 ???[sx]*):;;*)false;;esac;fi
12401 as_executable_p
=$as_test_x
12403 # Sed expression to map a string onto a valid CPP name.
12404 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12406 # Sed expression to map a string onto a valid variable name.
12407 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12411 ## ----------------------------------- ##
12412 ## Main body of $CONFIG_STATUS script. ##
12413 ## ----------------------------------- ##
12415 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12418 # Save the log message, to keep $0 and so on meaningful, and to
12419 # report actual input values of CONFIG_FILES etc. instead of their
12420 # values after options handling.
12422 This file was extended by libnfs $as_me 1.2.0, which was
12423 generated by GNU Autoconf 2.68. Invocation command line was
12425 CONFIG_FILES = $CONFIG_FILES
12426 CONFIG_HEADERS = $CONFIG_HEADERS
12427 CONFIG_LINKS = $CONFIG_LINKS
12428 CONFIG_COMMANDS = $CONFIG_COMMANDS
12431 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12436 case $ac_config_files in *"
12437 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12440 case $ac_config_headers in *"
12441 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12446 # Files that config.status was made for.
12447 config_files="$ac_config_files"
12448 config_headers="$ac_config_headers"
12449 config_commands="$ac_config_commands"
12453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12455 \`$as_me' instantiates files and other configuration actions
12456 from templates according to the current configuration. Unless the files
12457 and actions are specified as TAGs, all are instantiated by default.
12459 Usage: $0 [OPTION]... [TAG]...
12461 -h, --help print this help, then exit
12462 -V, --version print version number and configuration settings, then exit
12463 --config print configuration, then exit
12464 -q, --quiet, --silent
12465 do not print progress messages
12466 -d, --debug don't remove temporary files
12467 --recheck update $as_me by reconfiguring in the same conditions
12468 --file=FILE[:TEMPLATE]
12469 instantiate the configuration file FILE
12470 --header=FILE[:TEMPLATE]
12471 instantiate the configuration header FILE
12473 Configuration files:
12476 Configuration headers:
12479 Configuration commands:
12482 Report bugs to <ronniesahlberg@gmail.com>."
12485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12486 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12488 libnfs config.status 1.2.0
12489 configured by $0, generated by GNU Autoconf 2.68,
12490 with options \\"\$ac_cs_config\\"
12492 Copyright (C) 2010 Free Software Foundation, Inc.
12493 This config.status script is free software; the Free Software Foundation
12494 gives unlimited permission to copy, distribute and modify it."
12501 test -n "\$AWK" || AWK=awk
12504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12505 # The default lists apply if the user does not specify any file.
12511 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12512 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12516 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12528 # Handling of the options.
12529 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12531 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12532 $as_echo "$ac_cs_version"; exit ;;
12533 --config |
--confi |
--conf |
--con |
--co |
--c )
12534 $as_echo "$ac_cs_config"; exit ;;
12535 --debug |
--debu |
--deb |
--de |
--d |
-d )
12537 --file |
--fil |
--fi |
--f )
12540 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12541 '') as_fn_error $?
"missing file argument" ;;
12543 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12544 ac_need_defaults
=false
;;
12545 --header |
--heade |
--head |
--hea )
12548 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12550 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12551 ac_need_defaults
=false
;;
12553 # Conflict between --help and --header
12554 as_fn_error $?
"ambiguous option: \`$1'
12555 Try \`$0 --help' for more information.";;
12556 --help |
--hel |
-h )
12557 $as_echo "$ac_cs_usage"; exit ;;
12558 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12559 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12562 # This is an error.
12563 -*) as_fn_error $?
"unrecognized option: \`$1'
12564 Try \`$0 --help' for more information." ;;
12566 *) as_fn_append ac_config_targets
" $1"
12567 ac_need_defaults
=false
;;
12573 ac_configure_extra_args
=
12575 if $ac_cs_silent; then
12577 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12582 if \$ac_cs_recheck; then
12583 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12585 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12586 CONFIG_SHELL='$SHELL'
12587 export CONFIG_SHELL
12592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12596 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12597 ## Running $as_me. ##
12603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12607 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12610 # The HP-UX ksh and POSIX shell print the target directory to stdout
12611 # if CDPATH is set.
12612 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12614 sed_quote_subst='$sed_quote_subst'
12615 double_quote_subst='$double_quote_subst'
12616 delay_variable_subst='$delay_variable_subst'
12617 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12618 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12619 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12620 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12621 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12622 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12623 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12624 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12625 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12626 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12627 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12628 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12629 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12630 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12631 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12632 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12633 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12634 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12635 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12636 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12637 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12638 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12639 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12640 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12641 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12642 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12643 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12644 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12645 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12646 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12647 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12648 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12649 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12650 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12651 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12652 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12653 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12654 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12655 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12656 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12657 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12658 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12659 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12660 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12661 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12662 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12663 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12664 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12665 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12666 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12667 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12668 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12669 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12670 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12671 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12672 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12673 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"`'
12674 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12675 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12676 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12677 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12678 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12679 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12680 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12681 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12682 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12683 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12684 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12685 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12686 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12687 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12688 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12689 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12690 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12691 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12692 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12693 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12694 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12695 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12696 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12697 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12698 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12699 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12700 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12701 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12702 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12703 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12704 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12705 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12706 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12707 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12708 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12709 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12710 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12711 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12712 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12713 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12714 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12715 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12716 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12717 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12718 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12719 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12720 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12721 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12722 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12723 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12724 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12725 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12726 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12727 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12728 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12729 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12730 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12731 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12732 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12733 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12734 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12735 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12736 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12737 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12738 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12739 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12740 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12741 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12742 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12743 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12744 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12745 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12746 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12749 LTCFLAGS='$LTCFLAGS'
12750 compiler='$compiler_DEFAULT'
12752 # A function that is used when there is no print builtin or printf.
12753 func_fallback_echo ()
12755 eval 'cat <<_LTECHO_EOF
12760 # Quote evaled strings.
12775 deplibs_check_method \
12780 sharedlib_from_linklib_cmd \
12783 archiver_list_spec \
12789 lt_cv_sys_global_symbol_pipe \
12790 lt_cv_sys_global_symbol_to_cdecl \
12791 lt_cv_sys_global_symbol_to_c_name_address \
12792 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12793 nm_file_list_spec \
12794 lt_prog_compiler_no_builtin_flag \
12795 lt_prog_compiler_pic \
12796 lt_prog_compiler_wl \
12797 lt_prog_compiler_static \
12798 lt_cv_prog_compiler_c_o \
12807 export_dynamic_flag_spec \
12808 whole_archive_flag_spec \
12809 compiler_needs_object \
12811 allow_undefined_flag \
12812 no_undefined_flag \
12813 hardcode_libdir_flag_spec \
12814 hardcode_libdir_separator \
12818 variables_saved_for_relink \
12820 library_names_spec \
12822 install_override_mode \
12826 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12827 *[\\\\\\\`\\"\\\$]*)
12828 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12831 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12836 # Double-quote double-evaled strings.
12837 for var in reload_cmds \
12838 old_postinstall_cmds \
12839 old_postuninstall_cmds \
12841 extract_expsyms_cmds \
12842 old_archive_from_new_cmds \
12843 old_archive_from_expsyms_cmds \
12845 archive_expsym_cmds \
12847 module_expsym_cmds \
12848 export_symbols_cmds \
12852 postuninstall_cmds \
12854 sys_lib_search_path_spec \
12855 sys_lib_dlsearch_path_spec; do
12856 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12857 *[\\\\\\\`\\"\\\$]*)
12858 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12861 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12866 ac_aux_dir='$ac_aux_dir'
12867 xsi_shell='$xsi_shell'
12868 lt_shell_append='$lt_shell_append'
12870 # See if we are running on zsh, and set the options which allow our
12871 # commands through without removal of \ escapes INIT.
12872 if test -n "\${ZSH_VERSION+set}" ; then
12873 setopt NO_GLOB_SUBST
12879 TIMESTAMP='$TIMESTAMP'
12888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12890 # Handling of arguments.
12891 for ac_config_target
in $ac_config_targets
12893 case $ac_config_target in
12894 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12895 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12896 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12897 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12898 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12899 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12900 "mount/Makefile") CONFIG_FILES
="$CONFIG_FILES mount/Makefile" ;;
12901 "nfs/Makefile") CONFIG_FILES
="$CONFIG_FILES nfs/Makefile" ;;
12902 "portmap/Makefile") CONFIG_FILES
="$CONFIG_FILES portmap/Makefile" ;;
12903 "rquota/Makefile") CONFIG_FILES
="$CONFIG_FILES rquota/Makefile" ;;
12904 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
12905 "libnfs.pc") CONFIG_FILES
="$CONFIG_FILES libnfs.pc" ;;
12907 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12912 # If the user did not use the arguments to specify the items to instantiate,
12913 # then the envvar interface is used. Set only those that are not.
12914 # We use the long form for the default assignment because of an extremely
12915 # bizarre bug on SunOS 4.1.3.
12916 if $ac_need_defaults; then
12917 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12918 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12919 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12922 # Have a temporary directory for convenience. Make it in the build tree
12923 # simply because there is no reason against having it here, and in addition,
12924 # creating and moving files from /tmp can sometimes cause problems.
12925 # Hook for its removal unless debugging.
12926 # Note that there is a small window in which the directory will not be cleaned:
12927 # after its creation but before its name has been assigned to `$tmp'.
12931 trap 'exit_status=$?
12932 : "${ac_tmp:=$tmp}"
12933 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12935 trap 'as_fn_exit 1' 1 2 13 15
12937 # Create a (secure) tmp directory for tmp files.
12940 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12944 tmp
=.
/conf$$
-$RANDOM
12945 (umask 077 && mkdir
"$tmp")
12946 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12949 # Set up the scripts for CONFIG_FILES section.
12950 # No need to generate them if there are no CONFIG_FILES.
12951 # This happens for instance with `./config.status config.h'.
12952 if test -n "$CONFIG_FILES"; then
12955 ac_cr
=`echo X | tr X '\015'`
12956 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12957 # But we know of no other shell where ac_cr would be empty at this
12958 # point, so we can use a bashism as a fallback.
12959 if test "x$ac_cr" = x
; then
12960 eval ac_cr
=\$
\'\\r
\'
12962 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12963 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12966 ac_cs_awk_cr
=$ac_cr
12969 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12974 echo "cat >conf$$subs.awk <<_ACEOF" &&
12975 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12977 } >conf$$subs.sh ||
12978 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12979 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12981 for ac_last_try in false false false false false :; do
12982 . ./conf$$subs.sh ||
12983 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12985 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12986 if test $ac_delim_n = $ac_delim_num; then
12988 elif $ac_last_try; then
12989 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12991 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12994 rm -f conf$$subs.sh
12996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12997 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13001 s/^/S["/; s
/!.
*/"]=/
13011 s/\(.\{148\}\)..*/\1/
13013 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13018 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13025 s/\(.\{148\}\)..*/\1/
13027 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13031 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13036 ' <conf$$subs.awk | sed '
13041 ' >>$CONFIG_STATUS || ac_write_fail=1
13042 rm -f conf$$subs.awk
13043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13045 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13046 for (key in S) S_is_set[key] = 1
13052 nfields = split(line, field, "@
")
13054 len = length(field[1])
13055 for (i = 2; i < nfields; i++) {
13057 keylen = length(key)
13058 if (S_is_set[key]) {
13060 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13061 len += length(value) + length(field[++i])
13072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13073 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13074 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13077 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13078 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13081 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13082 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13083 # trailing colons and then remove the whole line if VPATH becomes empty
13084 # (actually we leave an empty line to preserve line numbers).
13085 if test "x
$srcdir" = x.; then
13086 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13105 fi # test -n "$CONFIG_FILES"
13107 # Set up the scripts for CONFIG_HEADERS section.
13108 # No need to generate them if there are no CONFIG_HEADERS.
13109 # This happens for instance with `./config.status Makefile'.
13110 if test -n "$CONFIG_HEADERS"; then
13111 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13115 # Transform confdefs.h into an awk script `defines.awk', embedded as
13116 # here-document in config.status, that substitutes the proper values into
13117 # config.h.in to produce config.h.
13119 # Create a delimiter string that does not exist in confdefs.h, to ease
13120 # handling of long lines.
13122 for ac_last_try in false false :; do
13123 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13124 if test -z "$ac_tt"; then
13126 elif $ac_last_try; then
13127 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13129 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13133 # For the awk script, D is an array of macro values keyed by name,
13134 # likewise P contains macro parameters if any. Preserve backslash
13135 # newline sequences.
13137 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13139 s/.\{148\}/&'"$ac_delim"'/g
13142 s/^[ ]*#[ ]*define[ ][ ]*/ /
13149 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13151 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13155 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13156 D["\
1"]=" \
3\\\\\\n
"\\/p
13158 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13163 s/.\{148\}/&'"$ac_delim"'/g
13168 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13171 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13173 ' <confdefs.h | sed '
13174 s/'"$ac_delim"'/"\\\
13175 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13178 for (key in D) D_is_set[key] = 1
13181 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13183 split(line, arg, " ")
13184 if (arg[1] == "#") {
13188 defundef
= substr
(arg
[1], 2)
13191 split(mac1
, mac2
, "(") #)
13193 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13194 if (D_is_set
[macro
]) {
13195 # Preserve the white space surrounding the "#".
13196 print prefix
"define", macro P
[macro
] D
[macro
]
13199 # Replace #undef with comments. This is necessary, for example,
13200 # in the case of _POSIX_SOURCE, which is predefined and required
13201 # on some systems where configure will not decide to define it.
13202 if (defundef
== "undef") {
13203 print
"/*", prefix defundef
, macro
, "*/"
13211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13212 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13213 fi # test -n "$CONFIG_HEADERS"
13216 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13221 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13223 case $ac_mode$ac_tag in
13225 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13226 :[FH
]-) ac_tag
=-:-;;
13227 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13244 -) ac_f
="$ac_tmp/stdin";;
13245 *) # Look for the file first in the build tree, then in the source tree
13246 # (if the path is not absolute). The absolute path cannot be DOS-style,
13247 # because $ac_f cannot contain `:'.
13251 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13253 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13255 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13256 as_fn_append ac_file_inputs
" '$ac_f'"
13259 # Let's still pretend it is `configure' which instantiates (i.e., don't
13260 # use $as_me), people would be surprised to read:
13261 # /* config.h. Generated by config.status. */
13262 configure_input
='Generated from '`
13263 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13265 if test x
"$ac_file" != x-
; then
13266 configure_input
="$ac_file. $configure_input"
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13268 $as_echo "$as_me: creating $ac_file" >&6;}
13270 # Neutralize special characters interpreted by sed in replacement strings.
13271 case $configure_input in #(
13272 *\
&* |
*\|
* |
*\\* )
13273 ac_sed_conf_input
=`$as_echo "$configure_input" |
13274 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13275 *) ac_sed_conf_input
=$configure_input;;
13279 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13280 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13285 ac_dir
=`$as_dirname -- "$ac_file" ||
13286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13287 X"$ac_file" : 'X\(//\)[^/]' \| \
13288 X"$ac_file" : 'X\(//\)$' \| \
13289 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13290 $as_echo X"$ac_file" |
13291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13295 /^X\(\/\/\)[^/].*/{
13308 as_dir
="$ac_dir"; as_fn_mkdir_p
13312 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13314 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13315 # A ".." for each directory in $ac_dir_suffix.
13316 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13317 case $ac_top_builddir_sub in
13318 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13319 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13322 ac_abs_top_builddir
=$ac_pwd
13323 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13324 # for backward compatibility:
13325 ac_top_builddir
=$ac_top_build_prefix
13328 .
) # We are building in place.
13330 ac_top_srcdir
=$ac_top_builddir_sub
13331 ac_abs_top_srcdir
=$ac_pwd ;;
13332 [\\/]* | ?
:[\\/]* ) # Absolute name.
13333 ac_srcdir
=$srcdir$ac_dir_suffix;
13334 ac_top_srcdir
=$srcdir
13335 ac_abs_top_srcdir
=$srcdir ;;
13336 *) # Relative name.
13337 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13338 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13339 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13341 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13351 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13352 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13354 ac_MKDIR_P
=$MKDIR_P
13356 [\\/$
]* | ?
:[\\/]* ) ;;
13357 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13362 # If the template does not know about datarootdir, expand it.
13363 # FIXME: This hack should be removed a few years after 2.60.
13364 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13375 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13376 *datarootdir
*) ac_datarootdir_seen
=yes;;
13377 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13379 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13382 ac_datarootdir_hack='
13383 s&@datadir@&$datadir&g
13384 s&@docdir@&$docdir&g
13385 s&@infodir@&$infodir&g
13386 s&@localedir@&$localedir&g
13387 s&@mandir@&$mandir&g
13388 s&\\\${datarootdir}&$datarootdir&g' ;;
13392 # Neutralize VPATH when `$srcdir' = `.'.
13393 # Shell code in configure.ac might set extrasub.
13394 # FIXME: do we really want to maintain this feature?
13395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13396 ac_sed_extra="$ac_vpsub
13399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13401 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13402 s|@configure_input@|
$ac_sed_conf_input|
;t t
13403 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13404 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13405 s
&@srcdir@
&$ac_srcdir&;t t
13406 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13407 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13408 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13409 s
&@builddir@
&$ac_builddir&;t t
13410 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13411 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13412 s
&@INSTALL@
&$ac_INSTALL&;t t
13413 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13414 $ac_datarootdir_hack
13416 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13417 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13420 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13421 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13422 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13424 which seems to be undefined. Please make sure it is defined" >&5
13425 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13426 which seems to be undefined. Please make sure it is defined" >&2;}
13428 rm -f "$ac_tmp/stdin"
13430 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13431 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13439 if test x"$ac_file" != x-; then
13441 $as_echo "/* $configure_input */" \
13442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13443 } >"$ac_tmp/config.h" \
13444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13447 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13450 mv "$ac_tmp/config.h" "$ac_file" \
13451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13454 $as_echo "/* $configure_input */" \
13455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13456 || as_fn_error $? "could not create -" "$LINENO" 5
13458 # Compute "$ac_file"'s index
in $config_headers.
13461 for _am_header
in $config_headers :; do
13462 case $_am_header in
13463 $_am_arg |
$_am_arg:* )
13466 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13469 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13470 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13471 X"$_am_arg" : 'X\(//\)[^/]' \| \
13472 X"$_am_arg" : 'X\(//\)$' \| \
13473 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13474 $as_echo X"$_am_arg" |
13475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13479 /^X\(\/\/\)[^/].*/{
13491 s/.*/./; q'`/stamp-h
$_am_stamp_count
13494 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13495 $as_echo "$as_me: executing $ac_file commands" >&6;}
13500 case $ac_file$ac_mode in
13501 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13502 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13503 # are listed without --file. Let's play safe and only enable the eval
13504 # if we detect the quoting.
13505 case $CONFIG_FILES in
13506 *\'*) eval set x
"$CONFIG_FILES" ;;
13507 *) set x
$CONFIG_FILES ;;
13512 # Strip MF so we end up with the name of the file.
13513 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13514 # Check whether this is an Automake generated Makefile or not.
13515 # We used to match only the files named `Makefile.in', but
13516 # some people rename them; so instead we look at the file content.
13517 # Grep'ing the first line is not enough: some people post-process
13518 # each Makefile.in and add a new line on top of each file to say so.
13519 # Grep'ing the whole file is not good either: AIX grep has a line
13520 # limit of 2048, but all sed's we know have understand at least 4000.
13521 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13522 dirpart
=`$as_dirname -- "$mf" ||
13523 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13524 X"$mf" : 'X\(//\)[^/]' \| \
13525 X"$mf" : 'X\(//\)$' \| \
13526 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13532 /^X\(\/\/\)[^/].*/{
13548 # Extract the definition of DEPDIR, am__include, and am__quote
13549 # from the Makefile without running `make'.
13550 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13551 test -z "$DEPDIR" && continue
13552 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13553 test -z "am__include" && continue
13554 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13555 # When using ansi2knr, U may be empty or an underscore; expand it
13556 U
=`sed -n 's/^U = //p' < "$mf"`
13557 # Find all dependency output files, they are included files with
13558 # $(DEPDIR) in their names. We invoke sed twice because it is the
13559 # simplest approach to changing $(DEPDIR) to its actual value in the
13561 for file in `sed -n "
13562 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13563 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13564 # Make sure the directory exists.
13565 test -f "$dirpart/$file" && continue
13566 fdir
=`$as_dirname -- "$file" ||
13567 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13568 X"$file" : 'X\(//\)[^/]' \| \
13569 X"$file" : 'X\(//\)$' \| \
13570 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13571 $as_echo X"$file" |
13572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13576 /^X\(\/\/\)[^/].*/{
13589 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13590 # echo "creating $dirpart/$file"
13591 echo '# dummy' > "$dirpart/$file"
13598 # See if we are running on zsh, and set the options which allow our
13599 # commands through without removal of \ escapes.
13600 if test -n "${ZSH_VERSION+set}" ; then
13601 setopt NO_GLOB_SUBST
13604 cfgfile
="${ofile}T"
13605 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13608 cat <<_LT_EOF >> "$cfgfile"
13611 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13612 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13613 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13614 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13616 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13617 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13619 # Written by Gordon Matzigkeit, 1996
13621 # This file is part of GNU Libtool.
13623 # GNU Libtool is free software; you can redistribute it and/or
13624 # modify it under the terms of the GNU General Public License as
13625 # published by the Free Software Foundation; either version 2 of
13626 # the License, or (at your option) any later version.
13628 # As a special exception to the GNU General Public License,
13629 # if you distribute this file as part of a program or library that
13630 # is built using GNU Libtool, you may include this file under the
13631 # same distribution terms that you use for the rest of that program.
13633 # GNU Libtool is distributed in the hope that it will be useful,
13634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13636 # GNU General Public License for more details.
13638 # You should have received a copy of the GNU General Public License
13639 # along with GNU Libtool; see the file COPYING. If not, a copy
13640 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13641 # obtained by writing to the Free Software Foundation, Inc.,
13642 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13645 # The names of the tagged configurations supported by this script.
13648 # ### BEGIN LIBTOOL CONFIG
13650 # Which release of libtool.m4 was used?
13651 macro_version=$macro_version
13652 macro_revision=$macro_revision
13654 # Whether or not to build shared libraries.
13655 build_libtool_libs=$enable_shared
13657 # Whether or not to build static libraries.
13658 build_old_libs=$enable_static
13660 # What type of objects to build.
13663 # Whether or not to optimize for fast installation.
13664 fast_install=$enable_fast_install
13666 # Shell to use when invoking shell scripts.
13669 # An echo program that protects backslashes.
13672 # The PATH separator for the build system.
13673 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13676 host_alias=$host_alias
13680 # The build system.
13681 build_alias=$build_alias
13685 # A sed program that does not truncate output.
13688 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13689 Xsed="\$SED -e 1s/^X//"
13691 # A grep program that handles long lines.
13697 # A literal string matcher.
13700 # A BSD- or MS-compatible name lister.
13703 # Whether we need soft or hard links.
13706 # What is the maximum length of a command?
13707 max_cmd_len=$max_cmd_len
13709 # Object file suffix (normally "o").
13712 # Executable file suffix (normally "").
13715 # whether the shell understands "unset".
13718 # turn spaces into newlines.
13721 # turn newlines into spaces.
13724 # convert \$build file names to \$host format.
13725 to_host_file_cmd=$lt_cv_to_host_file_cmd
13727 # convert \$build files to toolchain format.
13728 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13730 # An object symbol dumper.
13731 OBJDUMP=$lt_OBJDUMP
13733 # Method to check whether dependent libraries are shared objects.
13734 deplibs_check_method=$lt_deplibs_check_method
13736 # Command to use when deplibs_check_method = "file_magic".
13737 file_magic_cmd=$lt_file_magic_cmd
13739 # How to find potential files when deplibs_check_method = "file_magic".
13740 file_magic_glob=$lt_file_magic_glob
13742 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13743 want_nocaseglob=$lt_want_nocaseglob
13745 # DLL creation program.
13746 DLLTOOL=$lt_DLLTOOL
13748 # Command to associate shared and link libraries.
13749 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13754 # Flags to create an archive.
13755 AR_FLAGS=$lt_AR_FLAGS
13757 # How to feed a file listing to the archiver.
13758 archiver_list_spec=$lt_archiver_list_spec
13760 # A symbol stripping program.
13763 # Commands used to install an old-style archive.
13765 old_postinstall_cmds=$lt_old_postinstall_cmds
13766 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13768 # Whether to use a lock for old archive extraction.
13769 lock_old_archive_extraction=$lock_old_archive_extraction
13774 # LTCC compiler flags.
13775 LTCFLAGS=$lt_CFLAGS
13777 # Take the output of nm and produce a listing of raw symbols and C names.
13778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13780 # Transform the output of nm in a proper C declaration.
13781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13783 # Transform the output of nm in a C name address pair.
13784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13786 # Transform the output of nm in a C name address pair when lib prefix is needed.
13787 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13789 # Specify filename containing input files for \$NM.
13790 nm_file_list_spec=$lt_nm_file_list_spec
13792 # The root where to search for dependent libraries,and in which our libraries should be installed.
13793 lt_sysroot=$lt_sysroot
13795 # The name of the directory that contains temporary libtool files.
13798 # Used to examine libraries when file_magic_cmd begins with "file".
13799 MAGIC_CMD=$MAGIC_CMD
13801 # Must we lock files when doing compilation?
13802 need_locks=$lt_need_locks
13805 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13807 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13808 DSYMUTIL=$lt_DSYMUTIL
13810 # Tool to change global to local symbols on Mac OS X.
13813 # Tool to manipulate fat objects and archives on Mac OS X.
13816 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13819 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13820 OTOOL64=$lt_OTOOL64
13822 # Old archive suffix (normally "a").
13825 # Shared library suffix (normally ".so").
13826 shrext_cmds=$lt_shrext_cmds
13828 # The commands to extract the exported symbol list from a shared archive.
13829 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13831 # Variables whose values should be saved in libtool wrapper scripts and
13832 # restored at link time.
13833 variables_saved_for_relink=$lt_variables_saved_for_relink
13835 # Do we need the "lib" prefix for modules?
13836 need_lib_prefix=$need_lib_prefix
13838 # Do we need a version for libraries?
13839 need_version=$need_version
13841 # Library versioning type.
13842 version_type=$version_type
13844 # Shared library runtime path variable.
13845 runpath_var=$runpath_var
13847 # Shared library path variable.
13848 shlibpath_var=$shlibpath_var
13850 # Is shlibpath searched before the hard-coded library search path?
13851 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13853 # Format of library name prefix.
13854 libname_spec=$lt_libname_spec
13856 # List of archive names. First name is the real one, the rest are links.
13857 # The last name is the one that the linker finds with -lNAME
13858 library_names_spec=$lt_library_names_spec
13860 # The coded name of the library, if different from the real name.
13861 soname_spec=$lt_soname_spec
13863 # Permission mode override for installation of shared libraries.
13864 install_override_mode=$lt_install_override_mode
13866 # Command to use after installation of a shared archive.
13867 postinstall_cmds=$lt_postinstall_cmds
13869 # Command to use after uninstallation of a shared archive.
13870 postuninstall_cmds=$lt_postuninstall_cmds
13872 # Commands used to finish a libtool library installation in a directory.
13873 finish_cmds=$lt_finish_cmds
13875 # As "finish_cmds", except a single script fragment to be evaled but
13877 finish_eval=$lt_finish_eval
13879 # Whether we should hardcode library paths into libraries.
13880 hardcode_into_libs=$hardcode_into_libs
13882 # Compile-time system search path for libraries.
13883 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13885 # Run-time system search path for libraries.
13886 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13888 # Whether dlopen is supported.
13889 dlopen_support=$enable_dlopen
13891 # Whether dlopen of programs is supported.
13892 dlopen_self=$enable_dlopen_self
13894 # Whether dlopen of statically linked programs is supported.
13895 dlopen_self_static=$enable_dlopen_self_static
13897 # Commands to strip libraries.
13898 old_striplib=$lt_old_striplib
13899 striplib=$lt_striplib
13902 # The linker used to build libraries.
13905 # How to create reloadable object files.
13906 reload_flag=$lt_reload_flag
13907 reload_cmds=$lt_reload_cmds
13909 # Commands used to build an old-style archive.
13910 old_archive_cmds=$lt_old_archive_cmds
13912 # A language specific compiler.
13915 # Is the compiler the GNU compiler?
13918 # Compiler flag to turn off builtin functions.
13919 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13921 # Additional compiler flags for building library objects.
13922 pic_flag=$lt_lt_prog_compiler_pic
13924 # How to pass a linker flag through the compiler.
13925 wl=$lt_lt_prog_compiler_wl
13927 # Compiler flag to prevent dynamic linking.
13928 link_static_flag=$lt_lt_prog_compiler_static
13930 # Does compiler simultaneously support -c and -o options?
13931 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13933 # Whether or not to add -lc for building shared libraries.
13934 build_libtool_need_lc=$archive_cmds_need_lc
13936 # Whether or not to disallow shared libs when runtime libs are static.
13937 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13939 # Compiler flag to allow reflexive dlopens.
13940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13942 # Compiler flag to generate shared objects directly from archives.
13943 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13945 # Whether the compiler copes with passing no objects directly.
13946 compiler_needs_object=$lt_compiler_needs_object
13948 # Create an old-style archive from a shared archive.
13949 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13951 # Create a temporary old-style archive to link instead of a shared archive.
13952 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13954 # Commands used to build a shared archive.
13955 archive_cmds=$lt_archive_cmds
13956 archive_expsym_cmds=$lt_archive_expsym_cmds
13958 # Commands used to build a loadable module if different from building
13959 # a shared archive.
13960 module_cmds=$lt_module_cmds
13961 module_expsym_cmds=$lt_module_expsym_cmds
13963 # Whether we are building with GNU ld or not.
13964 with_gnu_ld=$lt_with_gnu_ld
13966 # Flag that allows shared libraries with undefined symbols to be built.
13967 allow_undefined_flag=$lt_allow_undefined_flag
13969 # Flag that enforces no undefined symbols.
13970 no_undefined_flag=$lt_no_undefined_flag
13972 # Flag to hardcode \$libdir into a binary during linking.
13973 # This must work even if \$libdir does not exist
13974 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13976 # Whether we need a single "-rpath" flag with a separated argument.
13977 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13979 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13980 # DIR into the resulting binary.
13981 hardcode_direct=$hardcode_direct
13983 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13984 # DIR into the resulting binary and the resulting library dependency is
13985 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13986 # library is relocated.
13987 hardcode_direct_absolute=$hardcode_direct_absolute
13989 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13990 # into the resulting binary.
13991 hardcode_minus_L=$hardcode_minus_L
13993 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13994 # into the resulting binary.
13995 hardcode_shlibpath_var=$hardcode_shlibpath_var
13997 # Set to "yes" if building a shared library automatically hardcodes DIR
13998 # into the library and all subsequent libraries and executables linked
14000 hardcode_automatic=$hardcode_automatic
14002 # Set to yes if linker adds runtime paths of dependent libraries
14003 # to runtime path list.
14004 inherit_rpath=$inherit_rpath
14006 # Whether libtool must link a program against all its dependency libraries.
14007 link_all_deplibs=$link_all_deplibs
14009 # Set to "yes" if exported symbols are required.
14010 always_export_symbols=$always_export_symbols
14012 # The commands to list exported symbols.
14013 export_symbols_cmds=$lt_export_symbols_cmds
14015 # Symbols that should not be listed in the preloaded symbols.
14016 exclude_expsyms=$lt_exclude_expsyms
14018 # Symbols that must always be exported.
14019 include_expsyms=$lt_include_expsyms
14021 # Commands necessary for linking programs (against libraries) with templates.
14022 prelink_cmds=$lt_prelink_cmds
14024 # Commands necessary for finishing linking programs.
14025 postlink_cmds=$lt_postlink_cmds
14027 # Specify filename containing input files.
14028 file_list_spec=$lt_file_list_spec
14030 # How to hardcode a shared library path into an executable.
14031 hardcode_action=$hardcode_action
14033 # ### END LIBTOOL CONFIG
14039 cat <<\_LT_EOF
>> "$cfgfile"
14040 # AIX sometimes has problems with the GCC collect2 program. For some
14041 # reason, if we set the COLLECT_NAMES environment variable, the problems
14042 # vanish in a puff of smoke.
14043 if test "X${COLLECT_NAMES+set}" != Xset
; then
14045 export COLLECT_NAMES
14052 ltmain
="$ac_aux_dir/ltmain.sh"
14055 # We use sed instead of cat because bash on DJGPP gets confused if
14056 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14057 # text mode, it properly converts lines to CR/LF. This bash problem
14058 # is reportedly fixed, but why not run on old versions too?
14059 sed '$q' "$ltmain" >> "$cfgfile" \
14060 ||
(rm -f "$cfgfile"; exit 1)
14062 if test x
"$xsi_shell" = xyes
; then
14063 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14067 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14068 \ * ) func_dirname_result="${3}" ;;\
14070 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14071 && mv -f "$cfgfile.tmp" "$cfgfile" \
14072 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14073 test 0 -eq $? || _lt_function_replace_fail
=:
14076 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14079 \ func_basename_result="${1##*/}"\
14080 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14081 && mv -f "$cfgfile.tmp" "$cfgfile" \
14082 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14083 test 0 -eq $? || _lt_function_replace_fail
=:
14086 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14087 func_dirname_and_basename ()\
14090 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14091 \ * ) func_dirname_result="${3}" ;;\
14093 \ func_basename_result="${1##*/}"\
14094 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14095 && mv -f "$cfgfile.tmp" "$cfgfile" \
14096 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14097 test 0 -eq $? || _lt_function_replace_fail
=:
14100 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14103 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14104 \ # positional parameters, so assign one to ordinary parameter first.\
14105 \ func_stripname_result=${3}\
14106 \ func_stripname_result=${func_stripname_result#"${1}"}\
14107 \ func_stripname_result=${func_stripname_result%"${2}"}\
14108 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14109 && mv -f "$cfgfile.tmp" "$cfgfile" \
14110 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14111 test 0 -eq $? || _lt_function_replace_fail
=:
14114 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14115 func_split_long_opt ()\
14117 \ func_split_long_opt_name=${1%%=*}\
14118 \ func_split_long_opt_arg=${1#*=}\
14119 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14120 && mv -f "$cfgfile.tmp" "$cfgfile" \
14121 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14122 test 0 -eq $? || _lt_function_replace_fail
=:
14125 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14126 func_split_short_opt ()\
14128 \ func_split_short_opt_arg=${1#??}\
14129 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14130 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14131 && mv -f "$cfgfile.tmp" "$cfgfile" \
14132 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14133 test 0 -eq $? || _lt_function_replace_fail
=:
14136 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14140 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14141 \ *) func_lo2o_result=${1} ;;\
14143 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14144 && mv -f "$cfgfile.tmp" "$cfgfile" \
14145 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14146 test 0 -eq $? || _lt_function_replace_fail
=:
14149 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14152 func_xform_result=${1%.*}.lo\
14153 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14154 && mv -f "$cfgfile.tmp" "$cfgfile" \
14155 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14156 test 0 -eq $? || _lt_function_replace_fail
=:
14159 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14162 func_arith_result=$(( $* ))\
14163 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14164 && mv -f "$cfgfile.tmp" "$cfgfile" \
14165 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14166 test 0 -eq $? || _lt_function_replace_fail
=:
14169 sed -e '/^func_len ()$/,/^} # func_len /c\
14172 func_len_result=${#1}\
14173 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14174 && mv -f "$cfgfile.tmp" "$cfgfile" \
14175 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14176 test 0 -eq $? || _lt_function_replace_fail
=:
14180 if test x
"$lt_shell_append" = xyes
; then
14181 sed -e '/^func_append ()$/,/^} # func_append /c\
14184 eval "${1}+=\\${2}"\
14185 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14186 && mv -f "$cfgfile.tmp" "$cfgfile" \
14187 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14188 test 0 -eq $? || _lt_function_replace_fail
=:
14191 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14192 func_append_quoted ()\
14194 \ func_quote_for_eval "${2}"\
14195 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14196 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14197 && mv -f "$cfgfile.tmp" "$cfgfile" \
14198 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14199 test 0 -eq $? || _lt_function_replace_fail
=:
14202 # Save a `func_append' function call where possible by direct use of '+='
14203 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14204 && mv -f "$cfgfile.tmp" "$cfgfile" \
14205 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14206 test 0 -eq $? || _lt_function_replace_fail
=:
14208 # Save a `func_append' function call even when '+=' is not available
14209 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14210 && mv -f "$cfgfile.tmp" "$cfgfile" \
14211 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14212 test 0 -eq $? || _lt_function_replace_fail
=:
14215 if test x
"$_lt_function_replace_fail" = x
":"; then
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14217 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14221 mv -f "$cfgfile" "$ofile" ||
14222 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14233 ac_clean_files
=$ac_clean_files_save
14235 test $ac_write_fail = 0 ||
14236 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14239 # configure is writing to config.log, and then calls config.status.
14240 # config.status does its own redirection, appending to config.log.
14241 # Unfortunately, on DOS this fails, as config.log is still kept open
14242 # by configure, so config.status won't be able to write to it; its
14243 # output is simply discarded. So we exec the FD to /dev/null,
14244 # effectively closing config.log, so it can be properly (re)opened and
14245 # appended to by config.status. When coming back to configure, we
14246 # need to make the FD available again.
14247 if test "$no_create" != yes; then
14249 ac_config_status_args
=
14250 test "$silent" = yes &&
14251 ac_config_status_args
="$ac_config_status_args --quiet"
14253 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14256 # would make configure fail if this is the last instruction.
14257 $ac_cs_success || as_fn_exit
1
14259 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14261 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}