2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
638 for dir
in $PATH /usr
/ucb
; do
640 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho
; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL
=/bin
/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
679 SHELL
="$CONFIG_SHELL"
681 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string
=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev
/null
6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix
=/usr
/local
735 ac_config_libobj_dir
=.
741 SHELL
=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 # Factoring default headers for most tests.
751 ac_includes_default
="\
753 #ifdef HAVE_SYS_TYPES_H
754 # include <sys/types.h>
756 #ifdef HAVE_SYS_STAT_H
757 # include <sys/stat.h>
763 # ifdef HAVE_STDLIB_H
768 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
773 #ifdef HAVE_STRINGS_H
774 # include <strings.h>
776 #ifdef HAVE_INTTYPES_H
777 # include <inttypes.h>
786 ac_subst_vars
='am__EXEEXT_FALSE
847 INSTALL_STRIP_PROGRAM
865 MAINTAINER_MODE_FALSE
915 program_transform_name
927 enable_option_checking
928 enable_maintainer_mode
930 enable_dependency_tracking
942 enable_debug_kmem_tracking
943 enable_atomic_spinlocks
945 ac_precious_vars
='build_alias
956 # Initialize some variables set by options.
958 ac_init_version
=false
959 ac_unrecognized_opts
=
961 # The variables have the same names as the options, with
962 # dashes changed to underlines.
970 program_transform_name
=s
,x
,x
,
978 # Installation directory options.
979 # These are left unexpanded so users can "make install exec_prefix=/foo"
980 # and all the variables that are supposed to be based on exec_prefix
981 # by default will actually change.
982 # Use braces instead of parens because sh, perl, etc. also accept them.
983 # (The list follows the same order as the GNU Coding Standards.)
984 bindir
='${exec_prefix}/bin'
985 sbindir
='${exec_prefix}/sbin'
986 libexecdir
='${exec_prefix}/libexec'
987 datarootdir
='${prefix}/share'
988 datadir
='${datarootdir}'
989 sysconfdir
='${prefix}/etc'
990 sharedstatedir
='${prefix}/com'
991 localstatedir
='${prefix}/var'
992 includedir
='${prefix}/include'
993 oldincludedir
='/usr/include'
994 docdir
='${datarootdir}/doc/${PACKAGE}'
995 infodir
='${datarootdir}/info'
1000 libdir
='${exec_prefix}/lib'
1001 localedir
='${datarootdir}/locale'
1002 mandir
='${datarootdir}/man'
1008 # If the previous option needs an argument, assign it.
1009 if test -n "$ac_prev"; then
1010 eval $ac_prev=\
$ac_option
1016 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1020 # Accept the important Cygnus configure options, so we can diagnose typos.
1022 case $ac_dashdash$ac_option in
1026 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1028 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1029 bindir
=$ac_optarg ;;
1031 -build |
--build |
--buil |
--bui |
--bu)
1032 ac_prev
=build_alias
;;
1033 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1034 build_alias
=$ac_optarg ;;
1036 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1037 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1038 ac_prev
=cache_file
;;
1039 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1040 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1041 cache_file
=$ac_optarg ;;
1043 --config-cache |
-C)
1044 cache_file
=config.cache
;;
1046 -datadir |
--datadir |
--datadi |
--datad)
1048 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1049 datadir
=$ac_optarg ;;
1051 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1052 |
--dataroo |
--dataro |
--datar)
1053 ac_prev
=datarootdir
;;
1054 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1055 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1056 datarootdir
=$ac_optarg ;;
1058 -disable-* |
--disable-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_
$ac_useropt"
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval enable_
$ac_useropt=no
;;
1075 -docdir |
--docdir |
--docdi |
--doc |
--do)
1077 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1078 docdir
=$ac_optarg ;;
1080 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1082 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1083 dvidir
=$ac_optarg ;;
1085 -enable-* |
--enable-*)
1086 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1090 { (exit 1); exit 1; }; }
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1095 "enable_
$ac_useropt"
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval enable_
$ac_useropt=\
$ac_optarg ;;
1102 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1103 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1104 |
--exec |
--exe |
--ex)
1105 ac_prev
=exec_prefix
;;
1106 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1107 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1108 |
--exec=* |
--exe=* |
--ex=*)
1109 exec_prefix
=$ac_optarg ;;
1111 -gas |
--gas |
--ga |
--g)
1112 # Obsolete; use --with-gas.
1115 -help |
--help |
--hel |
--he |
-h)
1116 ac_init_help
=long
;;
1117 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1118 ac_init_help
=recursive
;;
1119 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1120 ac_init_help
=short
;;
1122 -host |
--host |
--hos |
--ho)
1123 ac_prev
=host_alias
;;
1124 -host=* |
--host=* |
--hos=* |
--ho=*)
1125 host_alias
=$ac_optarg ;;
1127 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1129 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1131 htmldir
=$ac_optarg ;;
1133 -includedir |
--includedir |
--includedi |
--included |
--include \
1134 |
--includ |
--inclu |
--incl |
--inc)
1135 ac_prev
=includedir
;;
1136 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1137 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1138 includedir
=$ac_optarg ;;
1140 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1142 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1143 infodir
=$ac_optarg ;;
1145 -libdir |
--libdir |
--libdi |
--libd)
1147 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1148 libdir
=$ac_optarg ;;
1150 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1151 |
--libexe |
--libex |
--libe)
1152 ac_prev
=libexecdir
;;
1153 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1154 |
--libexe=* |
--libex=* |
--libe=*)
1155 libexecdir
=$ac_optarg ;;
1157 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1158 ac_prev
=localedir
;;
1159 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1160 localedir
=$ac_optarg ;;
1162 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1163 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1164 ac_prev
=localstatedir
;;
1165 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1166 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1167 localstatedir
=$ac_optarg ;;
1169 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1171 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1172 mandir
=$ac_optarg ;;
1174 -nfp |
--nfp |
--nf)
1175 # Obsolete; use --without-fp.
1178 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1179 |
--no-cr |
--no-c |
-n)
1182 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1183 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1186 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1187 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1188 |
--oldin |
--oldi |
--old |
--ol |
--o)
1189 ac_prev
=oldincludedir
;;
1190 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1191 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1192 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1193 oldincludedir
=$ac_optarg ;;
1195 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1197 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1198 prefix
=$ac_optarg ;;
1200 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1201 |
--program-pre |
--program-pr |
--program-p)
1202 ac_prev
=program_prefix
;;
1203 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1204 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1205 program_prefix
=$ac_optarg ;;
1207 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1208 |
--program-suf |
--program-su |
--program-s)
1209 ac_prev
=program_suffix
;;
1210 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1211 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1212 program_suffix
=$ac_optarg ;;
1214 -program-transform-name |
--program-transform-name \
1215 |
--program-transform-nam |
--program-transform-na \
1216 |
--program-transform-n |
--program-transform- \
1217 |
--program-transform |
--program-transfor \
1218 |
--program-transfo |
--program-transf \
1219 |
--program-trans |
--program-tran \
1220 |
--progr-tra |
--program-tr |
--program-t)
1221 ac_prev
=program_transform_name
;;
1222 -program-transform-name=* |
--program-transform-name=* \
1223 |
--program-transform-nam=* |
--program-transform-na=* \
1224 |
--program-transform-n=* |
--program-transform-=* \
1225 |
--program-transform=* |
--program-transfor=* \
1226 |
--program-transfo=* |
--program-transf=* \
1227 |
--program-trans=* |
--program-tran=* \
1228 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1229 program_transform_name
=$ac_optarg ;;
1231 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1233 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1234 pdfdir
=$ac_optarg ;;
1236 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1238 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1241 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1242 |
-silent |
--silent |
--silen |
--sile |
--sil)
1245 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1247 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1249 sbindir
=$ac_optarg ;;
1251 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1252 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1253 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1255 ac_prev
=sharedstatedir
;;
1256 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1257 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1258 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1260 sharedstatedir
=$ac_optarg ;;
1262 -site |
--site |
--sit)
1264 -site=* |
--site=* |
--sit=*)
1267 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1269 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1270 srcdir
=$ac_optarg ;;
1272 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1273 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1274 ac_prev
=sysconfdir
;;
1275 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1276 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1277 sysconfdir
=$ac_optarg ;;
1279 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1280 ac_prev
=target_alias
;;
1281 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1282 target_alias
=$ac_optarg ;;
1284 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1287 -version |
--version |
--versio |
--versi |
--vers |
-V)
1288 ac_init_version
=: ;;
1291 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1292 # Reject names that are not valid shell variable names.
1293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1294 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1295 { (exit 1); exit 1; }; }
1296 ac_useropt_orig
=$ac_useropt
1297 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1302 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=\
$ac_optarg ;;
1307 -without-* |
--without-*)
1308 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1312 { (exit 1); exit 1; }; }
1313 ac_useropt_orig
=$ac_useropt
1314 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320 ac_unrecognized_sep
=', ';;
1322 eval with_
$ac_useropt=no
;;
1325 # Obsolete; use --with-x.
1328 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1329 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1330 ac_prev
=x_includes
;;
1331 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1332 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1333 x_includes
=$ac_optarg ;;
1335 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1336 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1337 ac_prev
=x_libraries
;;
1338 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1339 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1340 x_libraries
=$ac_optarg ;;
1342 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1343 Try \`$0 --help' for more information." >&2
1344 { (exit 1); exit 1; }; }
1348 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1349 # Reject names that are not valid shell variable names.
1350 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1351 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1352 { (exit 1); exit 1; }; }
1353 eval $ac_envvar=\
$ac_optarg
1354 export $ac_envvar ;;
1357 # FIXME: should be removed in autoconf 3.0.
1358 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1360 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1367 if test -n "$ac_prev"; then
1368 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1369 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1370 { (exit 1); exit 1; }; }
1373 if test -n "$ac_unrecognized_opts"; then
1374 case $enable_option_checking in
1376 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1377 { (exit 1); exit 1; }; } ;;
1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1382 # Check all directory arguments for consistency.
1383 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384 datadir sysconfdir sharedstatedir localstatedir includedir \
1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386 libdir localedir mandir
1388 eval ac_val
=\$
$ac_var
1389 # Remove trailing slashes.
1392 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393 eval $ac_var=\
$ac_val;;
1395 # Be sure to have absolute directory names.
1397 [\\/$
]* | ?
:[\\/]* ) continue;;
1398 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1400 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1401 { (exit 1); exit 1; }; }
1404 # There might be people who depend on the old broken behavior: `$host'
1405 # used to hold the argument of --host etc.
1406 # FIXME: To remove some day.
1409 target
=$target_alias
1411 # FIXME: To remove some day.
1412 if test "x$host_alias" != x
; then
1413 if test "x$build_alias" = x
; then
1414 cross_compiling
=maybe
1415 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1416 If a cross compiler is detected then cross compile mode will be used." >&2
1417 elif test "x$build_alias" != "x$host_alias"; then
1423 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1425 test "$silent" = yes && exec 6>/dev
/null
1428 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1429 ac_ls_di
=`ls -di .` &&
1430 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1431 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1432 { (exit 1); exit 1; }; }
1433 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1435 { (exit 1); exit 1; }; }
1438 # Find the source files, if location was not specified.
1439 if test -z "$srcdir"; then
1440 ac_srcdir_defaulted
=yes
1441 # Try the directory containing this script, then the parent directory.
1442 ac_confdir
=`$as_dirname -- "$as_myself" ||
1443 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1444 X"$as_myself" : 'X\(//\)[^/]' \| \
1445 X"$as_myself" : 'X\(//\)$' \| \
1446 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1447 $as_echo X"$as_myself" |
1448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1470 ac_srcdir_defaulted
=no
1472 if test ! -r "$srcdir/$ac_unique_file"; then
1473 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1474 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1475 { (exit 1); exit 1; }; }
1477 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1479 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1480 { (exit 1); exit 1; }; }
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1490 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1492 for ac_var
in $ac_precious_vars; do
1493 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1494 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1495 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1496 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1500 # Report the --help message.
1502 if test "$ac_init_help" = "long"; then
1503 # Omit some internal or obsolete options to make the list less imposing.
1504 # This message is too long to be a string in the A/UX 3.1 sh.
1506 \`configure' configures this package to adapt to many kinds of systems.
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE. See below for descriptions of some of the useful variables.
1513 Defaults for the options are specified in brackets.
1516 -h, --help display this help and exit
1517 --help=short display options specific to this package
1518 --help=recursive display the short help of all the included packages
1519 -V, --version display version information and exit
1520 -q, --quiet, --silent do not print \`checking...' messages
1521 --cache-file=FILE cache test results in FILE [disabled]
1522 -C, --config-cache alias for \`--cache-file=config.cache'
1523 -n, --no-create do not create output files
1524 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1526 Installation directories:
1527 --prefix=PREFIX install architecture-independent files in PREFIX
1528 [$ac_default_prefix]
1529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1537 For better control, use the options below.
1539 Fine tuning of the installation directories:
1540 --bindir=DIR user executables [EPREFIX/bin]
1541 --sbindir=DIR system admin executables [EPREFIX/sbin]
1542 --libexecdir=DIR program executables [EPREFIX/libexec]
1543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1545 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1546 --libdir=DIR object code libraries [EPREFIX/lib]
1547 --includedir=DIR C header files [PREFIX/include]
1548 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1551 --infodir=DIR info documentation [DATAROOTDIR/info]
1552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1553 --mandir=DIR man documentation [DATAROOTDIR/man]
1554 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1555 --htmldir=DIR html documentation [DOCDIR]
1556 --dvidir=DIR dvi documentation [DOCDIR]
1557 --pdfdir=DIR pdf documentation [DOCDIR]
1558 --psdir=DIR ps documentation [DOCDIR]
1564 --program-prefix=PREFIX prepend PREFIX to installed program names
1565 --program-suffix=SUFFIX append SUFFIX to installed program names
1566 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1569 --build=BUILD configure
for building on BUILD
[guessed
]
1570 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1571 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1575 if test -n "$ac_init_help"; then
1580 --disable-option-checking ignore unrecognized
--enable/--with options
1581 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1582 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1583 --enable-maintainer-mode enable make rules and dependencies not useful
1584 (and sometimes confusing
) to the casual installer
1585 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1586 --disable-silent-rules verbose build output (undo: `make V
=0')
1587 --disable-dependency-tracking speeds up one-time build
1588 --enable-dependency-tracking do not reject slow dependency extractors
1589 --enable-shared[=PKGS] build shared libraries [default=yes]
1590 --enable-static[=PKGS] build static libraries [default=yes]
1591 --enable-fast-install[=PKGS]
1592 optimize for fast installation [default=yes]
1593 --disable-libtool-lock avoid locking (might break parallel builds)
1594 --enable-debug Enable generic debug support [default=no]
1595 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1596 --enable-debug-kmem-tracking
1597 Enable detailed kmem tracking [default=no]
1598 --enable-atomic-spinlocks
1599 Atomic types use spinlocks [default=check]
1602 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1603 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1604 --with-pic try to use only PIC/non-PIC objects [default=use
1606 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1607 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1608 --with-linux=PATH Path to kernel source
1609 --with-linux-obj=PATH Path to kernel build objects
1611 Some influential environment variables:
1612 CC C compiler command
1613 CFLAGS C compiler flags
1614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1615 nonstandard directory <lib dir>
1616 LIBS libraries to pass to the linker, e.g. -l<library>
1617 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1618 you have headers in a nonstandard directory <include dir>
1621 Use these variables to override the choices made by `configure' or to
help
1622 it to
find libraries and programs with nonstandard names
/locations.
1628 if test "$ac_init_help" = "recursive"; then
1629 # If there are subdirs, report their specific --help.
1630 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1631 test -d "$ac_dir" ||
1632 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1637 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1639 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1640 # A ".." for each directory in $ac_dir_suffix.
1641 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1642 case $ac_top_builddir_sub in
1643 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1644 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1647 ac_abs_top_builddir
=$ac_pwd
1648 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1649 # for backward compatibility:
1650 ac_top_builddir
=$ac_top_build_prefix
1653 .
) # We are building in place.
1655 ac_top_srcdir
=$ac_top_builddir_sub
1656 ac_abs_top_srcdir
=$ac_pwd ;;
1657 [\\/]* | ?
:[\\/]* ) # Absolute name.
1658 ac_srcdir
=$srcdir$ac_dir_suffix;
1659 ac_top_srcdir
=$srcdir
1660 ac_abs_top_srcdir
=$srcdir ;;
1662 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1663 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1664 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1666 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1668 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1669 # Check for guested configure.
1670 if test -f "$ac_srcdir/configure.gnu"; then
1672 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1673 elif test -f "$ac_srcdir/configure"; then
1675 $SHELL "$ac_srcdir/configure" --help=recursive
1677 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1679 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1683 test -n "$ac_init_help" && exit $ac_status
1684 if $ac_init_version; then
1687 generated by GNU Autoconf
2.63
1689 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1690 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1691 This configure
script is free software
; the Free Software Foundation
1692 gives unlimited permission to copy
, distribute and modify it.
1696 cat >config.log
<<_ACEOF
1697 This file contains any messages produced by compilers while
1698 running configure, to aid debugging if configure makes a mistake.
1700 It was created by $as_me, which was
1701 generated by GNU Autoconf 2.63. Invocation command line was
1713 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1714 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1715 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1716 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1717 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1719 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1720 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1722 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1723 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1724 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1725 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1726 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1727 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1728 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 $as_echo "PATH: $as_dir"
1753 # Keep a trace of the command line.
1754 # Strip out --no-create and --no-recursion so they do not pile up.
1755 # Strip out --silent because we don't want to record it for future runs.
1756 # Also quote any args containing shell meta-characters.
1757 # Make two passes to allow for proper duplicate-argument suppression.
1761 ac_must_keep_next
=false
1767 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1768 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1769 |
-silent |
--silent |
--silen |
--sile |
--sil)
1772 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1777 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1778 if test $ac_must_keep_next = true
; then
1779 ac_must_keep_next
=false
# Got value, back to normal.
1782 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1783 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1784 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1785 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1786 case "$ac_configure_args0 " in
1787 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1790 -* ) ac_must_keep_next
=true
;;
1793 ac_configure_args
="$ac_configure_args '$ac_arg'"
1798 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1799 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1801 # When interrupted or exit'd, cleanup temporary files, and complete
1802 # config.log. We remove comments because anyway the quotes in there
1803 # would cause problems or look ugly.
1804 # WARNING: Use '\'' to represent an apostrophe within the trap.
1805 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1806 trap 'exit_status=$?
1807 # Save into config.log some information that might help in debugging.
1812 ## ---------------- ##
1813 ## Cache variables. ##
1814 ## ---------------- ##
1817 # The following way of writing the cache mishandles newlines in values,
1819 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1820 eval ac_val=\$$ac_var
1824 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1825 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1828 _ | IFS | as_nl) ;; #(
1829 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1830 *) $as_unset $ac_var ;;
1835 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1836 *${as_nl}ac_space=\ *)
1838 "s/'\''/'\''\\\\'\'''\''/g;
1839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1842 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1850 ## ----------------- ##
1851 ## Output variables. ##
1852 ## ----------------- ##
1855 for ac_var in $ac_subst_vars
1857 eval ac_val=\$$ac_var
1859 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 $as_echo "$ac_var='\''$ac_val'\''"
1865 if test -n "$ac_subst_files"; then
1867 ## ------------------- ##
1868 ## File substitutions. ##
1869 ## ------------------- ##
1872 for ac_var
in $ac_subst_files
1874 eval ac_val
=\$
$ac_var
1876 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1878 $as_echo "$ac_var='\''$ac_val'\''"
1883 if test -s confdefs.h; then
1893 test "$ac_signal" != 0 &&
1894 $as_echo "$as_me: caught signal $ac_signal"
1895 $as_echo "$as_me: exit $exit_status"
1897 rm -f core *.core core.conftest.* &&
1898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1901 for ac_signal
in 1 2 13 15; do
1902 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1906 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1907 rm -f -r conftest
* confdefs.h
1909 # Predefined preprocessor variables.
1911 cat >>confdefs.h
<<_ACEOF
1912 #define PACKAGE_NAME "$PACKAGE_NAME"
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1921 cat >>confdefs.h
<<_ACEOF
1922 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1926 cat >>confdefs.h
<<_ACEOF
1927 #define PACKAGE_STRING "$PACKAGE_STRING"
1931 cat >>confdefs.h
<<_ACEOF
1932 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936 # Let the site file select an alternate cache file if it wants to.
1937 # Prefer an explicitly selected file to automatically selected ones.
1940 if test -n "$CONFIG_SITE"; then
1941 ac_site_file1
=$CONFIG_SITE
1942 elif test "x$prefix" != xNONE
; then
1943 ac_site_file1
=$prefix/share
/config.site
1944 ac_site_file2
=$prefix/etc
/config.site
1946 ac_site_file1
=$ac_default_prefix/share
/config.site
1947 ac_site_file2
=$ac_default_prefix/etc
/config.site
1949 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1951 test "x$ac_site_file" = xNONE
&& continue
1952 if test -r "$ac_site_file"; then
1953 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1954 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1955 sed 's/^/| /' "$ac_site_file" >&5
1960 if test -r "$cache_file"; then
1961 # Some versions of bash will fail to source /dev/null (special
1962 # files actually), so we avoid doing that.
1963 if test -f "$cache_file"; then
1964 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1965 $as_echo "$as_me: loading cache $cache_file" >&6;}
1967 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1968 *) .
"./$cache_file";;
1972 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1973 $as_echo "$as_me: creating cache $cache_file" >&6;}
1977 # Check that the precious variables saved in the cache have kept the same
1979 ac_cache_corrupted
=false
1980 for ac_var
in $ac_precious_vars; do
1981 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1982 eval ac_new_set
=\
$ac_env_${ac_var}_set
1983 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1984 eval ac_new_val
=\
$ac_env_${ac_var}_value
1985 case $ac_old_set,$ac_new_set in
1987 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1988 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1989 ac_cache_corrupted
=: ;;
1991 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1992 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1993 ac_cache_corrupted
=: ;;
1996 if test "x$ac_old_val" != "x$ac_new_val"; then
1997 # differences in whitespace do not lead to failure.
1998 ac_old_val_w
=`echo x $ac_old_val`
1999 ac_new_val_w
=`echo x $ac_new_val`
2000 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2001 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2002 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2003 ac_cache_corrupted
=:
2005 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2006 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2007 eval $ac_var=\
$ac_old_val
2009 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2010 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2011 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2012 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2015 # Pass precious variables to config.status.
2016 if test "$ac_new_set" = set; then
2018 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2019 *) ac_arg
=$ac_var=$ac_new_val ;;
2021 case " $ac_configure_args " in
2022 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2023 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2027 if $ac_cache_corrupted; then
2028 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2030 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2031 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2032 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2033 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2034 { (exit 1); exit 1; }; }
2054 ac_cpp
='$CPP $CPPFLAGS'
2055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2067 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2068 $as_echo_n "checking metadata... " >&6; }
2071 _spl_ac_meta_got_file
=no
2072 if test -f "$META"; then
2073 _spl_ac_meta_got_file
=yes
2075 SPL_META_NAME
=`perl -n\
2076 -e "BEGIN { \\$key=shift @ARGV; }"\
2077 -e "next unless s/^\s*\\$key[:=]//i;"\
2078 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2081 -e "s/^(['\"])(.*)\1/\\$2/;"\
2083 -e "END { print \\$val if defined \\$val; }"\
2084 '(?:NAME|PROJECT|PACKAGE)' $META`;
2085 if test -n "$SPL_META_NAME"; then
2087 cat >>confdefs.h
<<_ACEOF
2088 #define SPL_META_NAME "$SPL_META_NAME"
2094 SPL_META_VERSION
=`perl -n\
2095 -e "BEGIN { \\$key=shift @ARGV; }"\
2096 -e "next unless s/^\s*\\$key[:=]//i;"\
2097 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2100 -e "s/^(['\"])(.*)\1/\\$2/;"\
2102 -e "END { print \\$val if defined \\$val; }"\
2104 if test -n "$SPL_META_VERSION"; then
2106 cat >>confdefs.h
<<_ACEOF
2107 #define SPL_META_VERSION "$SPL_META_VERSION"
2113 SPL_META_RELEASE
=`perl -n\
2114 -e "BEGIN { \\$key=shift @ARGV; }"\
2115 -e "next unless s/^\s*\\$key[:=]//i;"\
2116 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2119 -e "s/^(['\"])(.*)\1/\\$2/;"\
2121 -e "END { print \\$val if defined \\$val; }"\
2123 if test -n "$SPL_META_RELEASE"; then
2125 cat >>confdefs.h
<<_ACEOF
2126 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2132 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2133 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2134 test -n "$SPL_META_RELEASE" &&
2135 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2144 SPL_META_DATA
=`perl -n\
2145 -e "BEGIN { \\$key=shift @ARGV; }"\
2146 -e "next unless s/^\s*\\$key[:=]//i;"\
2147 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2150 -e "s/^(['\"])(.*)\1/\\$2/;"\
2152 -e "END { print \\$val if defined \\$val; }"\
2154 if test -n "$SPL_META_DATA"; then
2156 cat >>confdefs.h
<<_ACEOF
2157 #define SPL_META_DATA "$SPL_META_DATA"
2163 SPL_META_AUTHOR
=`perl -n\
2164 -e "BEGIN { \\$key=shift @ARGV; }"\
2165 -e "next unless s/^\s*\\$key[:=]//i;"\
2166 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2169 -e "s/^(['\"])(.*)\1/\\$2/;"\
2171 -e "END { print \\$val if defined \\$val; }"\
2173 if test -n "$SPL_META_AUTHOR"; then
2175 cat >>confdefs.h
<<_ACEOF
2176 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2183 SPL_META_LT_CURRENT
=`perl -n\
2184 -e "BEGIN { \\$key=shift @ARGV; }"\
2185 -e "next unless s/^\s*\\$key[:=]//i;"\
2186 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2189 -e "s/^(['\"])(.*)\1/\\$2/;"\
2191 -e "END { print \\$val if defined \\$val; }"\
2192 'LT_CURRENT' $META`;
2193 SPL_META_LT_REVISION
=`perl -n\
2194 -e "BEGIN { \\$key=shift @ARGV; }"\
2195 -e "next unless s/^\s*\\$key[:=]//i;"\
2196 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2199 -e "s/^(['\"])(.*)\1/\\$2/;"\
2201 -e "END { print \\$val if defined \\$val; }"\
2202 'LT_REVISION' $META`;
2203 SPL_META_LT_AGE
=`perl -n\
2204 -e "BEGIN { \\$key=shift @ARGV; }"\
2205 -e "next unless s/^\s*\\$key[:=]//i;"\
2206 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2209 -e "s/^(['\"])(.*)\1/\\$2/;"\
2211 -e "END { print \\$val if defined \\$val; }"\
2213 if test -n "$SPL_META_LT_CURRENT" \
2214 -o -n "$SPL_META_LT_REVISION" \
2215 -o -n "$SPL_META_LT_AGE"; then
2216 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2217 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2218 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2220 cat >>confdefs.h
<<_ACEOF
2221 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2225 cat >>confdefs.h
<<_ACEOF
2226 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2230 cat >>confdefs.h
<<_ACEOF
2231 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2240 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2241 $as_echo "$_spl_ac_meta_got_file" >&6; }
2245 for ac_dir
in config
"$srcdir"/config
; do
2246 if test -f "$ac_dir/install-sh"; then
2248 ac_install_sh
="$ac_aux_dir/install-sh -c"
2250 elif test -f "$ac_dir/install.sh"; then
2252 ac_install_sh
="$ac_aux_dir/install.sh -c"
2254 elif test -f "$ac_dir/shtool"; then
2256 ac_install_sh
="$ac_aux_dir/shtool install -c"
2260 if test -z "$ac_aux_dir"; then
2261 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2262 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2263 { (exit 1); exit 1; }; }
2266 # These three variables are undocumented and unsupported,
2267 # and are intended to be withdrawn in a future Autoconf release.
2268 # They can cause serious problems if a builder's source tree is in a directory
2269 # whose full name contains unusual characters.
2270 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2271 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2272 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2275 # Make sure we can run config.sub.
2276 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2277 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2278 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2279 { (exit 1); exit 1; }; }
2281 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2282 $as_echo_n "checking build system type... " >&6; }
2283 if test "${ac_cv_build+set}" = set; then
2284 $as_echo_n "(cached) " >&6
2286 ac_build_alias
=$build_alias
2287 test "x$ac_build_alias" = x
&&
2288 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2289 test "x$ac_build_alias" = x
&&
2290 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2291 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2292 { (exit 1); exit 1; }; }
2293 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2294 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2295 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2296 { (exit 1); exit 1; }; }
2299 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2300 $as_echo "$ac_cv_build" >&6; }
2301 case $ac_cv_build in
2303 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2304 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2305 { (exit 1); exit 1; }; };;
2308 ac_save_IFS
=$IFS; IFS
='-'
2314 # Remember, the first character of IFS is used to create $*,
2315 # except with old shells:
2318 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2321 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2322 $as_echo_n "checking host system type... " >&6; }
2323 if test "${ac_cv_host+set}" = set; then
2324 $as_echo_n "(cached) " >&6
2326 if test "x$host_alias" = x
; then
2327 ac_cv_host
=$ac_cv_build
2329 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2330 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2331 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2332 { (exit 1); exit 1; }; }
2336 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2337 $as_echo "$ac_cv_host" >&6; }
2340 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2341 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2342 { (exit 1); exit 1; }; };;
2345 ac_save_IFS
=$IFS; IFS
='-'
2351 # Remember, the first character of IFS is used to create $*,
2352 # except with old shells:
2355 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2358 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2359 $as_echo_n "checking target system type... " >&6; }
2360 if test "${ac_cv_target+set}" = set; then
2361 $as_echo_n "(cached) " >&6
2363 if test "x$target_alias" = x
; then
2364 ac_cv_target
=$ac_cv_host
2366 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2367 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2368 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2369 { (exit 1); exit 1; }; }
2373 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2374 $as_echo "$ac_cv_target" >&6; }
2375 case $ac_cv_target in
2377 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2378 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2379 { (exit 1); exit 1; }; };;
2381 target
=$ac_cv_target
2382 ac_save_IFS
=$IFS; IFS
='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2395 # The aliases save the names the user supplied, while $host etc.
2396 # will get canonicalized.
2397 test -n "$target_alias" &&
2398 test "$program_prefix$program_suffix$program_transform_name" = \
2400 program_prefix
=${target_alias}-
2402 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2403 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2404 # Check whether --enable-maintainer-mode was given.
2405 if test "${enable_maintainer_mode+set}" = set; then
2406 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2408 USE_MAINTAINER_MODE
=no
2411 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2412 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2413 if test $USE_MAINTAINER_MODE = yes; then
2414 MAINTAINER_MODE_TRUE
=
2415 MAINTAINER_MODE_FALSE
='#'
2417 MAINTAINER_MODE_TRUE
='#'
2418 MAINTAINER_MODE_FALSE
=
2421 MAINT
=$MAINTAINER_MODE_TRUE
2424 # Check whether --enable-silent-rules was given.
2425 if test "${enable_silent_rules+set}" = set; then
2426 enableval
=$enable_silent_rules;
2429 case $enable_silent_rules in
2430 yes) AM_DEFAULT_VERBOSITY
=0;;
2431 no
) AM_DEFAULT_VERBOSITY
=1;;
2432 *) AM_DEFAULT_VERBOSITY
=1;;
2436 am__api_version='1.11'
2438 # Find a good install program. We prefer a C program (faster),
2439 # so one script is as good as another. But avoid the broken or
2440 # incompatible versions:
2441 # SysV /etc/install, /usr/sbin/install
2442 # SunOS /usr/etc/install
2443 # IRIX /sbin/install
2445 # AmigaOS /C/install, which installs bootblocks on floppy discs
2446 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2449 # OS/2's system install, which has a completely different semantic
2450 # ./install, which can be erroneously created by make from ./install.sh.
2451 # Reject install programs that cannot install multiple files.
2452 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2453 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2454 if test -z "$INSTALL"; then
2455 if test "${ac_cv_path_install+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 # Account for people who put trailing slashes in PATH elements.
2465 .
/ | .
// |
/cC
/* | \
2466 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2467 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2470 # OSF1 and SCO ODT 3.0 have their own names for install.
2471 # Don't use installbsd from OSF since it installs stuff as root
2473 for ac_prog
in ginstall scoinst
install; do
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2476 if test $ac_prog = install &&
2477 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2478 # AIX install. It has an incompatible calling convention.
2480 elif test $ac_prog = install &&
2481 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2482 # program-specific install script used by HP pwplus--don't use.
2485 rm -rf conftest.one conftest.two conftest.dir
2486 echo one
> conftest.one
2487 echo two
> conftest.two
2489 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2490 test -s conftest.one
&& test -s conftest.two
&&
2491 test -s conftest.dir
/conftest.one
&&
2492 test -s conftest.dir
/conftest.two
2494 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2507 rm -rf conftest.one conftest.two conftest.dir
2510 if test "${ac_cv_path_install+set}" = set; then
2511 INSTALL
=$ac_cv_path_install
2513 # As a last resort, use the slow shell script. Don't cache a
2514 # value for INSTALL within a source directory, because that will
2515 # break other packages using the cache if that directory is
2516 # removed, or if the value is a relative name.
2517 INSTALL
=$ac_install_sh
2520 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2521 $as_echo "$INSTALL" >&6; }
2523 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2524 # It thinks the first close brace ends the variable substitution.
2525 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2527 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2529 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2531 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2532 $as_echo_n "checking whether build environment is sane... " >&6; }
2535 echo timestamp
> conftest.
file
2536 # Reject unsafe characters in $srcdir or the absolute working directory
2537 # name. Accept space and tab only in the latter.
2541 *[\\\"\
#\$\&\'\`$am_lf]*)
2542 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2543 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2544 { (exit 1); exit 1; }; };;
2547 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2548 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2549 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2550 { (exit 1); exit 1; }; };;
2553 # Do `set' in a subshell so we don't clobber the current shell's
2554 # arguments. Must try -L first in case configure is actually a
2555 # symlink; some systems play weird games with the mod time of symlinks
2556 # (eg FreeBSD returns the mod time of the symlink's containing
2559 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2560 if test "$*" = "X"; then
2562 set X
`ls -t "$srcdir/configure" conftest.file`
2565 if test "$*" != "X $srcdir/configure conftest.file" \
2566 && test "$*" != "X conftest.file $srcdir/configure"; then
2568 # If neither matched, then we have a broken ls. This can happen
2569 # if, for instance, CONFIG_SHELL is bash and it inherits a
2570 # broken ls alias from the environment. This has actually
2571 # happened. Such a system could not be considered "sane".
2572 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2573 alias in your environment" >&5
2574 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2575 alias in your environment" >&2;}
2576 { (exit 1); exit 1; }; }
2579 test "$2" = conftest.
file
2585 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2586 Check your system clock" >&5
2587 $as_echo "$as_me: error: newly created file is older than distributed files!
2588 Check your system clock" >&2;}
2589 { (exit 1); exit 1; }; }
2591 { $as_echo "$as_me:$LINENO: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 test "$program_prefix" != NONE
&&
2594 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2595 # Use a double $ so make ignores it.
2596 test "$program_suffix" != NONE
&&
2597 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2598 # Double any \ or $.
2599 # By default was `s,x,x', remove it if useless.
2600 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2601 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2603 # expand $ac_aux_dir to an absolute path
2604 am_aux_dir
=`cd $ac_aux_dir && pwd`
2606 if test x
"${MISSING+set}" != xset
; then
2609 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2611 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2614 # Use eval to expand $SHELL
2615 if eval "$MISSING --run true"; then
2616 am_missing_run
="$MISSING --run "
2619 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2620 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2623 if test x
"${install_sh}" != xset
; then
2626 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2628 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2632 # Installed binaries are usually stripped using `strip' when the user
2633 # run `make install-strip'. However `strip' might not be the right
2634 # tool to use in cross-compilation environments, therefore Automake
2635 # will honor the `STRIP' environment variable to overrule this program.
2636 if test "$cross_compiling" != no
; then
2637 if test -n "$ac_tool_prefix"; then
2638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if test "${ac_cv_prog_STRIP+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$STRIP"; then
2646 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 STRIP
=$ac_cv_prog_STRIP
2666 if test -n "$STRIP"; then
2667 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2668 $as_echo "$STRIP" >&6; }
2670 { $as_echo "$as_me:$LINENO: result: no" >&5
2671 $as_echo "no" >&6; }
2676 if test -z "$ac_cv_prog_STRIP"; then
2678 # Extract the first word of "strip", so it can be a program name with args.
2679 set dummy strip
; ac_word
=$2
2680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$ac_ct_STRIP"; then
2686 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_STRIP
="strip"
2696 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2706 if test -n "$ac_ct_STRIP"; then
2707 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2708 $as_echo "$ac_ct_STRIP" >&6; }
2710 { $as_echo "$as_me:$LINENO: result: no" >&5
2711 $as_echo "no" >&6; }
2714 if test "x$ac_ct_STRIP" = x
; then
2717 case $cross_compiling:$ac_tool_warned in
2719 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned
=yes ;;
2726 STRIP
="$ac_cv_prog_STRIP"
2730 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2732 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2733 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734 if test -z "$MKDIR_P"; then
2735 if test "${ac_cv_path_mkdir+set}" = set; then
2736 $as_echo_n "(cached) " >&6
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_prog
in mkdir gmkdir
; do
2744 for ac_exec_ext
in '' $ac_executable_extensions; do
2745 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2746 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747 'mkdir (GNU coreutils) '* | \
2748 'mkdir (coreutils) '* | \
2749 'mkdir (fileutils) '4.1*)
2750 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2760 if test "${ac_cv_path_mkdir+set}" = set; then
2761 MKDIR_P
="$ac_cv_path_mkdir -p"
2763 # As a last resort, use the slow shell script. Don't cache a
2764 # value for MKDIR_P within a source directory, because that will
2765 # break other packages using the cache if that directory is
2766 # removed, or if the value is a relative name.
2767 test -d .
/--version && rmdir .
/--version
2768 MKDIR_P
="$ac_install_sh -d"
2771 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2772 $as_echo "$MKDIR_P" >&6; }
2776 [\\/$
]* | ?
:[\\/]*) ;;
2777 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2780 for ac_prog
in gawk mawk nawk
awk
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy
$ac_prog; ac_word
=$2
2784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_AWK+set}" = set; then
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$AWK"; then
2790 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_AWK
="$ac_prog"
2800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$AWK"; then
2811 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2814 { $as_echo "$as_me:$LINENO: result: no" >&5
2815 $as_echo "no" >&6; }
2819 test -n "$AWK" && break
2822 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2825 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2827 $as_echo_n "(cached) " >&6
2829 cat >conftest.
make <<\_ACEOF
2832 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2837 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2839 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2843 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2844 { $as_echo "$as_me:$LINENO: result: yes" >&5
2845 $as_echo "yes" >&6; }
2848 { $as_echo "$as_me:$LINENO: result: no" >&5
2849 $as_echo "no" >&6; }
2850 SET_MAKE
="MAKE=${MAKE-make}"
2853 rm -rf .tst
2>/dev
/null
2854 mkdir .tst
2>/dev
/null
2855 if test -d .tst
; then
2860 rmdir .tst
2>/dev
/null
2862 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864 # is not polluted with repeated "-I."
2865 am__isrc
=' -I$(srcdir)'
2866 # test to see if srcdir already configured
2867 if test -f $srcdir/config.status
; then
2868 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2869 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2870 { (exit 1); exit 1; }; }
2874 # test whether we have cygpath
2875 if test -z "$CYGPATH_W"; then
2876 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2877 CYGPATH_W
='cygpath -w'
2884 # Define the identity of the package.
2885 PACKAGE
=$SPL_META_NAME
2886 VERSION
=$SPL_META_VERSION
2889 cat >>confdefs.h
<<_ACEOF
2890 #define PACKAGE "$PACKAGE"
2894 cat >>confdefs.h
<<_ACEOF
2895 #define VERSION "$VERSION"
2898 # Some tools Automake needs.
2900 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2903 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2906 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2909 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2912 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2914 # We need awk for the "check" target. The system "awk" is bad on
2916 # Always define AMTAR for backward compatibility.
2918 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2920 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2926 ac_config_headers
="$ac_config_headers spl_config.h"
2929 # Find a good install program. We prefer a C program (faster),
2930 # so one script is as good as another. But avoid the broken or
2931 # incompatible versions:
2932 # SysV /etc/install, /usr/sbin/install
2933 # SunOS /usr/etc/install
2934 # IRIX /sbin/install
2936 # AmigaOS /C/install, which installs bootblocks on floppy discs
2937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2940 # OS/2's system install, which has a completely different semantic
2941 # ./install, which can be erroneously created by make from ./install.sh.
2942 # Reject install programs that cannot install multiple files.
2943 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2944 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2945 if test -z "$INSTALL"; then
2946 if test "${ac_cv_path_install+set}" = set; then
2947 $as_echo_n "(cached) " >&6
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 # Account for people who put trailing slashes in PATH elements.
2956 .
/ | .
// |
/cC
/* | \
2957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2958 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2961 # OSF1 and SCO ODT 3.0 have their own names for install.
2962 # Don't use installbsd from OSF since it installs stuff as root
2964 for ac_prog
in ginstall scoinst
install; do
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2967 if test $ac_prog = install &&
2968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2969 # AIX install. It has an incompatible calling convention.
2971 elif test $ac_prog = install &&
2972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2973 # program-specific install script used by HP pwplus--don't use.
2976 rm -rf conftest.one conftest.two conftest.dir
2977 echo one
> conftest.one
2978 echo two
> conftest.two
2980 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2981 test -s conftest.one
&& test -s conftest.two
&&
2982 test -s conftest.dir
/conftest.one
&&
2983 test -s conftest.dir
/conftest.two
2985 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2998 rm -rf conftest.one conftest.two conftest.dir
3001 if test "${ac_cv_path_install+set}" = set; then
3002 INSTALL
=$ac_cv_path_install
3004 # As a last resort, use the slow shell script. Don't cache a
3005 # value for INSTALL within a source directory, because that will
3006 # break other packages using the cache if that directory is
3007 # removed, or if the value is a relative name.
3008 INSTALL
=$ac_install_sh
3011 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3012 $as_echo "$INSTALL" >&6; }
3014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3015 # It thinks the first close brace ends the variable substitution.
3016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3018 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3020 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3023 ac_cpp
='$CPP $CPPFLAGS'
3024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if test "${ac_cv_prog_CC+set}" = set; then
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3046 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:$LINENO: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$ac_cv_prog_CC"; then
3068 # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc
; ac_word
=$2
3070 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$ac_ct_CC"; then
3076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir
=.
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 ac_cv_prog_ac_ct_CC
="gcc"
3086 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3100 { $as_echo "$as_me:$LINENO: result: no" >&5
3101 $as_echo "no" >&6; }
3104 if test "x$ac_ct_CC" = x
; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned
=yes ;;
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if test "${ac_cv_prog_CC+set}" = set; then
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC
="$CC" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3139 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:$LINENO: result: no" >&5
3154 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc
; ac_word
=$2
3163 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_CC+set}" = set; then
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC
="$CC" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180 ac_prog_rejected
=yes
3184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test $ac_prog_rejected = yes; then
3192 # We found a bogon in the path, so make sure we never use it.
3193 set dummy
$ac_cv_prog_CC
3195 if test $# != 0; then
3196 # We chose a different compiler from the bogus one.
3197 # However, it has the same basename, so the bogon will be chosen
3198 # first if we set CC to just the basename; use the full file name.
3200 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:$LINENO: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 for ac_prog
in cl.exe
3220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3222 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_CC+set}" = set; then
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3238 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:$LINENO: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$CC" && break
3260 if test -z "$CC"; then
3262 for ac_prog
in cl.exe
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy
$ac_prog; ac_word
=$2
3266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_ac_ct_CC
="$ac_prog"
3282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3296 { $as_echo "$as_me:$LINENO: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$ac_ct_CC" && break
3304 if test "x$ac_ct_CC" = x
; then
3307 case $cross_compiling:$ac_tool_warned in
3309 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned
=yes ;;
3320 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details." >&5
3324 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3325 See \`config.log' for more details." >&2;}
3326 { (exit 1); exit 1; }; }; }
3328 # Provide some information about the compiler.
3329 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3332 { (ac_try
="$ac_compiler --version >&5"
3334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3338 $as_echo "$ac_try_echo") >&5
3339 (eval "$ac_compiler --version >&5") 2>&5
3341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -v >&5"
3345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3346 *) ac_try_echo
=$ac_try;;
3348 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3349 $as_echo "$ac_try_echo") >&5
3350 (eval "$ac_compiler -v >&5") 2>&5
3352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }
3354 { (ac_try
="$ac_compiler -V >&5"
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3360 $as_echo "$ac_try_echo") >&5
3361 (eval "$ac_compiler -V >&5") 2>&5
3363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3381 ac_clean_files_save=$ac_clean_files
3382 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3383 # Try to create an executable without -o first, disregard a.out.
3384 # It will help us diagnose broken compilers, and finding out an intuition
3386 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3387 $as_echo_n "checking for C compiler default output file name... " >&6; }
3388 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3390 # The possible output files:
3391 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3394 for ac_file in $ac_files
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3398 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3403 if { (ac_try="$ac_link_default"
3405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3406 *) ac_try_echo
=$ac_try;;
3408 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3409 $as_echo "$ac_try_echo") >&5
3410 (eval "$ac_link_default") 2>&5
3412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; then
3414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3415 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3416 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3417 # so that the user can short-circuit this test for compilers unknown to
3419 for ac_file
in $ac_files ''
3421 test -f "$ac_file" ||
continue
3423 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3426 # We found the default executable, but exeext='' is most
3430 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3432 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3434 # We set ac_cv_exeext here because the later test for it is not
3435 # safe: cross compilers may not add the suffix if given an `-o'
3436 # argument, so we may need to know it at that point already.
3437 # Even if this section looks crufty: it has the advantage of
3444 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3450 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3451 $as_echo "$ac_file" >&6; }
3452 if test -z "$ac_file"; then
3453 $as_echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.
$ac_ext >&5
3456 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3459 See \`config.log' for more details." >&5
3460 $as_echo "$as_me: error: C compiler cannot create executables
3461 See \`config.log' for more details." >&2;}
3462 { (exit 77); exit 77; }; }; }
3465 ac_exeext
=$ac_cv_exeext
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3470 $as_echo_n "checking whether the C compiler works... " >&6; }
3471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3472 # If not cross compiling, check that we can run a simple program.
3473 if test "$cross_compiling" != yes; then
3474 if { ac_try
='./$ac_file'
3475 { (case "(($ac_try" in
3476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3480 $as_echo "$ac_try_echo") >&5
3481 (eval "$ac_try") 2>&5
3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3487 if test "$cross_compiling" = maybe; then
3490 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3493 If you meant to cross compile
, use \
`--host'.
3494 See \`config.log
' for more details." >&5
3495 $as_echo "$as_me: error: cannot run C compiled programs.
3496 If you meant to cross compile, use \`--host'.
3497 See \
`config.log' for more details." >&2;}
3498 { (exit 1); exit 1; }; }; }
3502 { $as_echo "$as_me:$LINENO: result: yes" >&5
3503 $as_echo "yes" >&6; }
3505 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3506 ac_clean_files=$ac_clean_files_save
3507 # Check that the compiler produces executables we can run. If not, either
3508 # the compiler is broken, or we cross compile.
3509 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3510 $as_echo_n "checking whether we are cross compiling... " >&6; }
3511 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3512 $as_echo "$cross_compiling" >&6; }
3514 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3515 $as_echo_n "checking for suffix of executables... " >&6; }
3516 if { (ac_try="$ac_link"
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3522 $as_echo "$ac_try_echo") >&5
3523 (eval "$ac_link") 2>&5
3525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; then
3527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3529 # work properly (i.e., refer to `conftest.exe'), while it won't with
3531 for ac_file
in conftest.exe conftest conftest.
*; do
3532 test -f "$ac_file" ||
continue
3534 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3535 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3544 See \`config.log' for more details." >&5
3545 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3546 See \`config.log' for more details." >&2;}
3547 { (exit 1); exit 1; }; }; }
3550 rm -f conftest
$ac_cv_exeext
3551 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3552 $as_echo "$ac_cv_exeext" >&6; }
3554 rm -f conftest.
$ac_ext
3555 EXEEXT
=$ac_cv_exeext
3557 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3558 $as_echo_n "checking for suffix of object files... " >&6; }
3559 if test "${ac_cv_objext+set}" = set; then
3560 $as_echo_n "(cached) " >&6
3562 cat >conftest.
$ac_ext <<_ACEOF
3565 cat confdefs.h
>>conftest.
$ac_ext
3566 cat >>conftest.
$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3577 rm -f conftest.o conftest.obj
3578 if { (ac_try
="$ac_compile"
3580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3584 $as_echo "$ac_try_echo") >&5
3585 (eval "$ac_compile") 2>&5
3587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; then
3589 for ac_file in conftest.o conftest.obj conftest.*; do
3590 test -f "$ac_file" || continue;
3592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3598 $as_echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.$ac_ext >&5
3601 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3603 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3604 See \
`config.log' for more details." >&5
3605 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3606 See \`config.log
' for more details." >&2;}
3607 { (exit 1); exit 1; }; }; }
3610 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3613 $as_echo "$ac_cv_objext" >&6; }
3614 OBJEXT=$ac_cv_objext
3616 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3619 $as_echo_n "(cached) " >&6
3621 cat >conftest.$ac_ext <<_ACEOF
3624 cat confdefs.h >>conftest.$ac_ext
3625 cat >>conftest.$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3639 rm -f conftest.$ac_objext
3640 if { (ac_try="$ac_compile"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3646 $as_echo "$ac_try_echo") >&5
3647 (eval "$ac_compile") 2>conftest.er1
3649 grep -v '^
*+' conftest.er1 >conftest.err
3651 cat conftest.err >&5
3652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } && {
3654 test -z "$ac_c_werror_flag" ||
3655 test ! -s conftest.err
3656 } && test -s conftest.$ac_objext; then
3659 $as_echo "$as_me: failed program was:" >&5
3660 sed 's
/^
/|
/' conftest.$ac_ext >&5
3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3669 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3671 if test $ac_compiler_gnu = yes; then
3676 ac_test_CFLAGS=${CFLAGS+set}
3677 ac_save_CFLAGS=$CFLAGS
3678 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3680 if test "${ac_cv_prog_cc_g+set}" = set; then
3681 $as_echo_n "(cached) " >&6
3683 ac_save_c_werror_flag=$ac_c_werror_flag
3684 ac_c_werror_flag=yes
3687 cat >conftest.$ac_ext <<_ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3702 rm -f conftest.$ac_objext
3703 if { (ac_try="$ac_compile"
3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3709 $as_echo "$ac_try_echo") >&5
3710 (eval "$ac_compile") 2>conftest.er1
3712 grep -v '^
*+' conftest.er1 >conftest.err
3714 cat conftest.err >&5
3715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } && {
3717 test -z "$ac_c_werror_flag" ||
3718 test ! -s conftest.err
3719 } && test -s conftest.$ac_objext; then
3722 $as_echo "$as_me: failed program was:" >&5
3723 sed 's
/^
/|
/' conftest.$ac_ext >&5
3726 cat >conftest.$ac_ext <<_ACEOF
3729 cat confdefs.h >>conftest.$ac_ext
3730 cat >>conftest.$ac_ext <<_ACEOF
3731 /* end confdefs.h. */
3741 rm -f conftest.$ac_objext
3742 if { (ac_try="$ac_compile"
3744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3748 $as_echo "$ac_try_echo") >&5
3749 (eval "$ac_compile") 2>conftest.er1
3751 grep -v '^
*+' conftest.er1 >conftest.err
3753 cat conftest.err >&5
3754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } && {
3756 test -z "$ac_c_werror_flag" ||
3757 test ! -s conftest.err
3758 } && test -s conftest.$ac_objext; then
3761 $as_echo "$as_me: failed program was:" >&5
3762 sed 's
/^
/|
/' conftest.$ac_ext >&5
3764 ac_c_werror_flag=$ac_save_c_werror_flag
3766 cat >conftest.$ac_ext <<_ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3781 rm -f conftest.$ac_objext
3782 if { (ac_try="$ac_compile"
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3788 $as_echo "$ac_try_echo") >&5
3789 (eval "$ac_compile") 2>conftest.er1
3791 grep -v '^
*+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest.$ac_objext; then
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's
/^
/|
/' conftest.$ac_ext >&5
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 ac_c_werror_flag=$ac_save_c_werror_flag
3816 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3817 $as_echo "$ac_cv_prog_cc_g" >&6; }
3818 if test "$ac_test_CFLAGS" = set; then
3819 CFLAGS=$ac_save_CFLAGS
3820 elif test $ac_cv_prog_cc_g = yes; then
3821 if test "$GCC" = yes; then
3827 if test "$GCC" = yes; then
3833 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3834 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3835 if test "${ac_cv_prog_cc_c89+set}" = set; then
3836 $as_echo_n "(cached) " >&6
3838 ac_cv_prog_cc_c89=no
3840 cat >conftest.$ac_ext <<_ACEOF
3843 cat confdefs.h >>conftest.$ac_ext
3844 cat >>conftest.$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3848 #include <sys/types.h>
3849 #include <sys/stat.h>
3850 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3851 struct buf
{ int x
; };
3852 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3853 static char
*e
(p
, i
)
3859 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3864 s
= g
(p
, va_arg
(v
,int
));
3869 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3870 function prototypes and stuff
, but not
'\xHH' hex character constants.
3871 These don
't provoke an error unfortunately, instead are silently treated
3872 as 'x
'. The following induces an error, until -std is added to get
3873 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3874 array size at least. It's necessary to
write '\x00'==0 to get something
3875 that
's true only with -std. */
3876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3879 inside strings and character constants. */
3881 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3883 int test (int i, double x);
3884 struct s1 {int (*f) (int a);};
3885 struct s2 {int (*f) (double a);};
3886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3900 CC="$ac_save_CC $ac_arg"
3901 rm -f conftest.$ac_objext
3902 if { (ac_try="$ac_compile"
3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3908 $as_echo "$ac_try_echo") >&5
3909 (eval "$ac_compile") 2>conftest.er1
3911 grep -v '^
*+' conftest.er1 >conftest.err
3913 cat conftest.err >&5
3914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } && {
3916 test -z "$ac_c_werror_flag" ||
3917 test ! -s conftest.err
3918 } && test -s conftest.$ac_objext; then
3919 ac_cv_prog_cc_c89=$ac_arg
3921 $as_echo "$as_me: failed program was:" >&5
3922 sed 's
/^
/|
/' conftest.$ac_ext >&5
3927 rm -f core conftest.err conftest.$ac_objext
3928 test "x$ac_cv_prog_cc_c89" != "xno" && break
3930 rm -f conftest.$ac_ext
3935 case "x$ac_cv_prog_cc_c89" in
3937 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3938 $as_echo "none needed" >&6; } ;;
3940 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3941 $as_echo "unsupported" >&6; } ;;
3943 CC="$CC $ac_cv_prog_cc_c89"
3944 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3945 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3950 ac_cpp='$CPP $CPPFLAGS'
3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3952 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954 DEPDIR="${am__leading_dot}deps"
3956 ac_config_commands="$ac_config_commands depfiles"
3959 am_make=${MAKE-make}
3960 cat > confinc << 'END
'
3962 @echo this is the am__doit target
3965 # If we don't
find an include directive
, just comment out the code.
3966 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3967 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3971 # First try GNU make style include.
3972 echo "include confinc" > confmf
3973 # Ignore all kinds of additional output from `make'.
3974 case `$am_make -s -f confmf 2> /dev/null` in #(
3975 *the\ am__doit\ target
*)
3981 # Now try BSD make style include.
3982 if test "$am__include" = "#"; then
3983 echo '.include "confinc"' > confmf
3984 case `$am_make -s -f confmf 2> /dev/null` in #(
3985 *the\ am__doit\ target
*)
3986 am__include
=.include
3994 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3995 $as_echo "$_am_result" >&6; }
3996 rm -f confinc confmf
3998 # Check whether --enable-dependency-tracking was given.
3999 if test "${enable_dependency_tracking+set}" = set; then
4000 enableval
=$enable_dependency_tracking;
4003 if test "x$enable_dependency_tracking" != xno
; then
4004 am_depcomp
="$ac_aux_dir/depcomp"
4007 if test "x$enable_dependency_tracking" != xno; then
4017 depcc
="$CC" am_compiler_list
=
4019 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4020 $as_echo_n "checking dependency style of $depcc... " >&6; }
4021 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4022 $as_echo_n "(cached) " >&6
4024 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4025 # We make a subdir and do the tests there. Otherwise we can end up
4026 # making bogus files that we don't know about and never remove. For
4027 # instance it was reported that on HP-UX the gcc test will end up
4028 # making a dummy file named `D' -- because `-MD' means `put the output
4031 # Copy depcomp to subdir because otherwise we won't find it if we're
4032 # using a relative directory.
4033 cp "$am_depcomp" conftest.dir
4035 # We will build objects and dependencies in a subdirectory because
4036 # it helps to detect inapplicable dependency modes. For instance
4037 # both Tru64's cc and ICC support -MD to output dependencies as a
4038 # side effect of compilation, but ICC will put the dependencies in
4039 # the current directory while Tru64 will put them in the object
4043 am_cv_CC_dependencies_compiler_type
=none
4044 if test "$am_compiler_list" = ""; then
4045 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4048 case " $depcc " in #(
4049 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4052 for depmode
in $am_compiler_list; do
4053 # Setup a source with many dependencies, because some compilers
4054 # like to wrap large dependency lists on column 80 (with \), and
4055 # we should not choose a depcomp mode which is confused by this.
4057 # We need to recreate these files for each test, as the compiler may
4058 # overwrite some of them when testing with obscure command lines.
4059 # This happens at least with the AIX C compiler.
4061 for i
in 1 2 3 4 5 6; do
4062 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4063 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4064 # Solaris 8's {/usr,}/bin/sh.
4065 touch sub
/conftst
$i.h
4067 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4069 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4070 # mode. It turns out that the SunPro C++ compiler does not properly
4071 # handle `-M -o', and we need to detect this. Also, some Intel
4072 # versions had trouble with output in subdirs
4073 am__obj
=sub
/conftest.
${OBJEXT-o}
4074 am__minus_obj
="-o $am__obj"
4077 # This depmode causes a compiler race in universal mode.
4078 test "$am__universal" = false ||
continue
4081 # after this tag, mechanisms are not by side-effect, so they'll
4082 # only be used when explicitly requested
4083 if test "x$enable_dependency_tracking" = xyes
; then
4089 msvisualcpp | msvcmsys
)
4090 # This compiler won't grok `-c -o', but also, the minuso test has
4091 # not run yet. These depmodes are late enough in the game, and
4092 # so weak that their functioning should not be impacted.
4093 am__obj
=conftest.
${OBJEXT-o}
4098 if depmode
=$depmode \
4099 source=sub
/conftest.c object
=$am__obj \
4100 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4101 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4102 >/dev
/null
2>conftest.err
&&
4103 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4104 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4105 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4106 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4107 # icc doesn't choke on unknown options, it will just issue warnings
4108 # or remarks (even with -Werror). So we grep stderr for any message
4109 # that says an option was ignored or not supported.
4110 # When given -MP, icc 7.0 and 7.1 complain thusly:
4111 # icc: Command line warning: ignoring option '-M'; no argument required
4112 # The diagnosis changed in icc 8.0:
4113 # icc: Command line remark: option '-MP' not supported
4114 if (grep 'ignoring option' conftest.err ||
4115 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4116 am_cv_CC_dependencies_compiler_type
=$depmode
4125 am_cv_CC_dependencies_compiler_type
=none
4129 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4130 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4131 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4134 test "x$enable_dependency_tracking" != xno \
4135 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4137 am__fastdepCC_FALSE
='#'
4139 am__fastdepCC_TRUE
='#'
4140 am__fastdepCC_FALSE
=
4146 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4147 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4152 macro_version
='2.2.6'
4153 macro_revision
='1.3012'
4167 ltmain
="$ac_aux_dir/ltmain.sh"
4169 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4170 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4171 if test "${ac_cv_path_SED+set}" = set; then
4172 $as_echo_n "(cached) " >&6
4174 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4175 for ac_i
in 1 2 3 4 5 6 7; do
4176 ac_script
="$ac_script$as_nl$ac_script"
4178 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4179 $as_unset ac_script || ac_script
=
4180 if test -z "$SED"; then
4181 ac_path_SED_found
=false
4182 # Loop through the user's path and test for each of PROGNAME-LIST
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_prog
in sed gsed
; do
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4191 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4192 # Check for GNU ac_path_SED and select it if it is found.
4193 # Check for GNU $ac_path_SED
4194 case `"$ac_path_SED" --version 2>&1` in
4196 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4199 $as_echo_n 0123456789 >"conftest.in"
4202 cat "conftest.in" "conftest.in" >"conftest.tmp"
4203 mv "conftest.tmp" "conftest.in"
4204 cp "conftest.in" "conftest.nl"
4205 $as_echo '' >> "conftest.nl"
4206 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4207 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4208 ac_count
=`expr $ac_count + 1`
4209 if test $ac_count -gt ${ac_path_SED_max-0}; then
4210 # Best one so far, save it but keep looking for a better one
4211 ac_cv_path_SED
="$ac_path_SED"
4212 ac_path_SED_max
=$ac_count
4214 # 10*(2^10) chars as input seems more than enough
4215 test $ac_count -gt 10 && break
4217 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4220 $ac_path_SED_found && break 3
4225 if test -z "$ac_cv_path_SED"; then
4226 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4227 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4228 { (exit 1); exit 1; }; }
4235 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4236 $as_echo "$ac_cv_path_SED" >&6; }
4237 SED
="$ac_cv_path_SED"
4240 test -z "$SED" && SED
=sed
4241 Xsed
="$SED -e 1s/^X//"
4253 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4254 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4255 if test "${ac_cv_path_GREP+set}" = set; then
4256 $as_echo_n "(cached) " >&6
4258 if test -z "$GREP"; then
4259 ac_path_GREP_found
=false
4260 # Loop through the user's path and test for each of PROGNAME-LIST
4261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4262 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4265 test -z "$as_dir" && as_dir
=.
4266 for ac_prog
in grep ggrep
; do
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4269 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4270 # Check for GNU ac_path_GREP and select it if it is found.
4271 # Check for GNU $ac_path_GREP
4272 case `"$ac_path_GREP" --version 2>&1` in
4274 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4277 $as_echo_n 0123456789 >"conftest.in"
4280 cat "conftest.in" "conftest.in" >"conftest.tmp"
4281 mv "conftest.tmp" "conftest.in"
4282 cp "conftest.in" "conftest.nl"
4283 $as_echo 'GREP' >> "conftest.nl"
4284 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4285 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4286 ac_count
=`expr $ac_count + 1`
4287 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4288 # Best one so far, save it but keep looking for a better one
4289 ac_cv_path_GREP
="$ac_path_GREP"
4290 ac_path_GREP_max
=$ac_count
4292 # 10*(2^10) chars as input seems more than enough
4293 test $ac_count -gt 10 && break
4295 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4298 $ac_path_GREP_found && break 3
4303 if test -z "$ac_cv_path_GREP"; then
4304 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4305 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4306 { (exit 1); exit 1; }; }
4309 ac_cv_path_GREP
=$GREP
4313 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4314 $as_echo "$ac_cv_path_GREP" >&6; }
4315 GREP
="$ac_cv_path_GREP"
4318 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4319 $as_echo_n "checking for egrep... " >&6; }
4320 if test "${ac_cv_path_EGREP+set}" = set; then
4321 $as_echo_n "(cached) " >&6
4323 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4324 then ac_cv_path_EGREP
="$GREP -E"
4326 if test -z "$EGREP"; then
4327 ac_path_EGREP_found
=false
4328 # Loop through the user's path and test for each of PROGNAME-LIST
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_prog
in egrep; do
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4337 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4338 # Check for GNU ac_path_EGREP and select it if it is found.
4339 # Check for GNU $ac_path_EGREP
4340 case `"$ac_path_EGREP" --version 2>&1` in
4342 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4345 $as_echo_n 0123456789 >"conftest.in"
4348 cat "conftest.in" "conftest.in" >"conftest.tmp"
4349 mv "conftest.tmp" "conftest.in"
4350 cp "conftest.in" "conftest.nl"
4351 $as_echo 'EGREP' >> "conftest.nl"
4352 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4353 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4354 ac_count
=`expr $ac_count + 1`
4355 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4356 # Best one so far, save it but keep looking for a better one
4357 ac_cv_path_EGREP
="$ac_path_EGREP"
4358 ac_path_EGREP_max
=$ac_count
4360 # 10*(2^10) chars as input seems more than enough
4361 test $ac_count -gt 10 && break
4363 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4366 $ac_path_EGREP_found && break 3
4371 if test -z "$ac_cv_path_EGREP"; then
4372 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4373 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4374 { (exit 1); exit 1; }; }
4377 ac_cv_path_EGREP
=$EGREP
4382 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4383 $as_echo "$ac_cv_path_EGREP" >&6; }
4384 EGREP
="$ac_cv_path_EGREP"
4387 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4388 $as_echo_n "checking for fgrep... " >&6; }
4389 if test "${ac_cv_path_FGREP+set}" = set; then
4390 $as_echo_n "(cached) " >&6
4392 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4393 then ac_cv_path_FGREP
="$GREP -F"
4395 if test -z "$FGREP"; then
4396 ac_path_FGREP_found
=false
4397 # Loop through the user's path and test for each of PROGNAME-LIST
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_prog
in fgrep
; do
4404 for ac_exec_ext
in '' $ac_executable_extensions; do
4405 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4406 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4407 # Check for GNU ac_path_FGREP and select it if it is found.
4408 # Check for GNU $ac_path_FGREP
4409 case `"$ac_path_FGREP" --version 2>&1` in
4411 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4414 $as_echo_n 0123456789 >"conftest.in"
4417 cat "conftest.in" "conftest.in" >"conftest.tmp"
4418 mv "conftest.tmp" "conftest.in"
4419 cp "conftest.in" "conftest.nl"
4420 $as_echo 'FGREP' >> "conftest.nl"
4421 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4422 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4423 ac_count
=`expr $ac_count + 1`
4424 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4425 # Best one so far, save it but keep looking for a better one
4426 ac_cv_path_FGREP
="$ac_path_FGREP"
4427 ac_path_FGREP_max
=$ac_count
4429 # 10*(2^10) chars as input seems more than enough
4430 test $ac_count -gt 10 && break
4432 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4435 $ac_path_FGREP_found && break 3
4440 if test -z "$ac_cv_path_FGREP"; then
4441 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4442 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4443 { (exit 1); exit 1; }; }
4446 ac_cv_path_FGREP
=$FGREP
4451 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4452 $as_echo "$ac_cv_path_FGREP" >&6; }
4453 FGREP
="$ac_cv_path_FGREP"
4456 test -z "$GREP" && GREP
=grep
4476 # Check whether --with-gnu-ld was given.
4477 if test "${with_gnu_ld+set}" = set; then
4478 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4484 if test "$GCC" = yes; then
4485 # Check if gcc -print-prog-name=ld gives a path.
4486 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4487 $as_echo_n "checking for ld used by $CC... " >&6; }
4490 # gcc leaves a trailing carriage return which upsets mingw
4491 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4493 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4496 # Accept absolute paths.
4498 re_direlt
='/[^/][^/]*/\.\./'
4499 # Canonicalize the pathname of ld
4500 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4501 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4502 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4504 test -z "$LD" && LD
="$ac_prog"
4507 # If it fails, then pretend we aren't using GCC.
4511 # If it is relative, then search for the first ld in PATH.
4515 elif test "$with_gnu_ld" = yes; then
4516 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4517 $as_echo_n "checking for GNU ld... " >&6; }
4519 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4520 $as_echo_n "checking for non-GNU ld... " >&6; }
4522 if test "${lt_cv_path_LD+set}" = set; then
4523 $as_echo_n "(cached) " >&6
4525 if test -z "$LD"; then
4526 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4527 for ac_dir
in $PATH; do
4529 test -z "$ac_dir" && ac_dir
=.
4530 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4531 lt_cv_path_LD
="$ac_dir/$ac_prog"
4532 # Check to see if the program is GNU ld. I'd rather use --version,
4533 # but apparently some variants of GNU ld only accept -v.
4534 # Break only if it was the GNU/non-GNU ld that we prefer.
4535 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4536 *GNU
* |
*'with BFD'*)
4537 test "$with_gnu_ld" != no
&& break
4540 test "$with_gnu_ld" != yes && break
4547 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4552 if test -n "$LD"; then
4553 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4554 $as_echo "$LD" >&6; }
4556 { $as_echo "$as_me:$LINENO: result: no" >&5
4557 $as_echo "no" >&6; }
4559 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4560 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4561 { (exit 1); exit 1; }; }
4562 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4563 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4564 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4565 $as_echo_n "(cached) " >&6
4567 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4568 case `$LD -v 2>&1 </dev/null` in
4569 *GNU
* |
*'with BFD'*)
4570 lt_cv_prog_gnu_ld
=yes
4573 lt_cv_prog_gnu_ld
=no
4577 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4578 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4579 with_gnu_ld
=$lt_cv_prog_gnu_ld
4589 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4590 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4591 if test "${lt_cv_path_NM+set}" = set; then
4592 $as_echo_n "(cached) " >&6
4594 if test -n "$NM"; then
4595 # Let the user override the test.
4598 lt_nm_to_check
="${ac_tool_prefix}nm"
4599 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4600 lt_nm_to_check
="$lt_nm_to_check nm"
4602 for lt_tmp_nm
in $lt_nm_to_check; do
4603 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4604 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4606 test -z "$ac_dir" && ac_dir
=.
4607 tmp_nm
="$ac_dir/$lt_tmp_nm"
4608 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4609 # Check to see if the nm accepts a BSD-compat flag.
4610 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4611 # nm: unknown option "B" ignored
4612 # Tru64's nm complains that /dev/null is an invalid object file
4613 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4614 */dev
/null
* |
*'Invalid file or object type'*)
4615 lt_cv_path_NM
="$tmp_nm -B"
4619 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4621 lt_cv_path_NM
="$tmp_nm -p"
4625 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4626 continue # so that we can try to find one that supports BSD flags
4635 : ${lt_cv_path_NM=no}
4638 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4639 $as_echo "$lt_cv_path_NM" >&6; }
4640 if test "$lt_cv_path_NM" != "no"; then
4643 # Didn't find any BSD compatible name lister, look for dumpbin.
4644 if test -n "$ac_tool_prefix"; then
4645 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4648 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4649 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 $as_echo_n "checking for $ac_word... " >&6; }
4651 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4652 $as_echo_n "(cached) " >&6
4654 if test -n "$DUMPBIN"; then
4655 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4664 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4665 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 DUMPBIN
=$ac_cv_prog_DUMPBIN
4675 if test -n "$DUMPBIN"; then
4676 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4677 $as_echo "$DUMPBIN" >&6; }
4679 { $as_echo "$as_me:$LINENO: result: no" >&5
4680 $as_echo "no" >&6; }
4684 test -n "$DUMPBIN" && break
4687 if test -z "$DUMPBIN"; then
4688 ac_ct_DUMPBIN
=$DUMPBIN
4689 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4691 # Extract the first word of "$ac_prog", so it can be a program name with args.
4692 set dummy
$ac_prog; ac_word
=$2
4693 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$ac_ct_DUMPBIN"; then
4699 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_exec_ext
in '' $ac_executable_extensions; do
4707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4708 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4709 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4719 if test -n "$ac_ct_DUMPBIN"; then
4720 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4721 $as_echo "$ac_ct_DUMPBIN" >&6; }
4723 { $as_echo "$as_me:$LINENO: result: no" >&5
4724 $as_echo "no" >&6; }
4728 test -n "$ac_ct_DUMPBIN" && break
4731 if test "x$ac_ct_DUMPBIN" = x
; then
4734 case $cross_compiling:$ac_tool_warned in
4736 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4738 ac_tool_warned
=yes ;;
4740 DUMPBIN
=$ac_ct_DUMPBIN
4745 if test "$DUMPBIN" != ":"; then
4749 test -z "$NM" && NM
=nm
4756 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4757 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4758 if test "${lt_cv_nm_interface+set}" = set; then
4759 $as_echo_n "(cached) " >&6
4761 lt_cv_nm_interface
="BSD nm"
4762 echo "int some_variable = 0;" > conftest.
$ac_ext
4763 (eval echo "\"\$as_me:4763: $ac_compile\"" >&5)
4764 (eval "$ac_compile" 2>conftest.err
)
4765 cat conftest.err
>&5
4766 (eval echo "\"\$as_me:4766: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4767 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4768 cat conftest.err
>&5
4769 (eval echo "\"\$as_me:4769: output\"" >&5)
4770 cat conftest.out
>&5
4771 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4772 lt_cv_nm_interface
="MS dumpbin"
4776 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4777 $as_echo "$lt_cv_nm_interface" >&6; }
4779 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4780 $as_echo_n "checking whether ln -s works... " >&6; }
4782 if test "$LN_S" = "ln -s"; then
4783 { $as_echo "$as_me:$LINENO: result: yes" >&5
4784 $as_echo "yes" >&6; }
4786 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4787 $as_echo "no, using $LN_S" >&6; }
4790 # find the maximum length of command line arguments
4791 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4792 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4793 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4794 $as_echo_n "(cached) " >&6
4801 # On DJGPP, this test can blow up pretty badly due to problems in libc
4802 # (any single argument exceeding 2000 bytes causes a buffer overrun
4803 # during glob expansion). Even if it were fixed, the result of this
4804 # check would be larger than it should be.
4805 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4809 # Under GNU Hurd, this test is not required because there is
4810 # no limit to the length of command line arguments.
4811 # Libtool will interpret -1 as no limit whatsoever
4812 lt_cv_sys_max_cmd_len
=-1;
4815 cygwin
* | mingw
* | cegcc
*)
4816 # On Win9x/ME, this test blows up -- it succeeds, but takes
4817 # about 5 minutes as the teststring grows exponentially.
4818 # Worse, since 9x/ME are not pre-emptively multitasking,
4819 # you end up with a "frozen" computer, even though with patience
4820 # the test eventually succeeds (with a max line length of 256k).
4821 # Instead, let's just punt: use the minimum linelength reported by
4822 # all of the supported platforms: 8192 (on NT/2K/XP).
4823 lt_cv_sys_max_cmd_len
=8192;
4827 # On AmigaOS with pdksh, this test takes hours, literally.
4828 # So we just punt and use a minimum line length of 8192.
4829 lt_cv_sys_max_cmd_len
=8192;
4832 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4833 # This has been around since 386BSD, at least. Likely further.
4834 if test -x /sbin
/sysctl
; then
4835 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4836 elif test -x /usr
/sbin
/sysctl
; then
4837 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4839 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4841 # And add a safety zone
4842 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4843 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4847 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4848 lt_cv_sys_max_cmd_len
=196608
4852 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4853 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4854 # nice to cause kernel panics so lets avoid the loop below.
4855 # First set a reasonable default.
4856 lt_cv_sys_max_cmd_len
=16384
4858 if test -x /sbin
/sysconfig
; then
4859 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4860 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4865 lt_cv_sys_max_cmd_len
=102400
4867 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4868 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4869 if test -n "$kargmax"; then
4870 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4872 lt_cv_sys_max_cmd_len
=32768
4876 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4877 if test -n "$lt_cv_sys_max_cmd_len"; then
4878 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4879 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4881 # Make teststring a little bigger before we do anything with it.
4882 # a 1K string should be a reasonable start.
4883 for i
in 1 2 3 4 5 6 7 8 ; do
4884 teststring
=$teststring$teststring
4886 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4887 # If test is not a shell built-in, we'll probably end up computing a
4888 # maximum length that is only half of the actual maximum length, but
4890 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4891 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4892 test $i != 17 # 1/2 MB should be enough
4895 teststring
=$teststring$teststring
4897 # Only check the string length outside the loop.
4898 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4900 # Add a significant safety factor because C++ compilers can tack on
4901 # massive amounts of additional arguments before passing them to the
4902 # linker. It appears as though 1/2 is a usable value.
4903 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4910 if test -n $lt_cv_sys_max_cmd_len ; then
4911 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4912 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4914 { $as_echo "$as_me:$LINENO: result: none" >&5
4915 $as_echo "none" >&6; }
4917 max_cmd_len
=$lt_cv_sys_max_cmd_len
4928 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4929 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4930 # Try some XSI features
4933 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4935 && eval 'test $(( 1 + 1 )) -eq 2 \
4936 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4938 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4939 $as_echo "$xsi_shell" >&6; }
4942 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4943 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4945 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4947 && lt_shell_append=yes
4948 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4949 $as_echo "$lt_shell_append" >&6; }
4952 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4962 # test EBCDIC or ASCII
4963 case `echo X|tr X '\101'` in
4964 A) # ASCII based system
4965 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4966 lt_SP2NL='tr \040 \012'
4967 lt_NL2SP='tr \015\012 \040\040'
4969 *) # EBCDIC based system
4970 lt_SP2NL='tr \100 \n'
4971 lt_NL2SP='tr \r\n \100\100'
4983 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4984 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4985 if test "${lt_cv_ld_reload_flag+set}" = set; then
4986 $as_echo_n "(cached
) " >&6
4988 lt_cv_ld_reload_flag='-r'
4990 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4991 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4992 reload_flag=$lt_cv_ld_reload_flag
4993 case $reload_flag in
4995 *) reload_flag=" $reload_flag" ;;
4997 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5000 if test "$GCC" = yes; then
5001 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5003 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5016 if test -n "$ac_tool_prefix"; then
5017 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5018 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5019 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5020 $as_echo_n "checking
for $ac_word...
" >&6; }
5021 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5022 $as_echo_n "(cached
) " >&6
5024 if test -n "$OBJDUMP"; then
5025 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5035 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5044 OBJDUMP=$ac_cv_prog_OBJDUMP
5045 if test -n "$OBJDUMP"; then
5046 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5047 $as_echo "$OBJDUMP" >&6; }
5049 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5050 $as_echo "no
" >&6; }
5055 if test -z "$ac_cv_prog_OBJDUMP"; then
5056 ac_ct_OBJDUMP=$OBJDUMP
5057 # Extract the first word of "objdump
", so it can be a program name with args.
5058 set dummy objdump; ac_word=$2
5059 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5060 $as_echo_n "checking
for $ac_word...
" >&6; }
5061 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5062 $as_echo_n "(cached
) " >&6
5064 if test -n "$ac_ct_OBJDUMP"; then
5065 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5075 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5084 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5085 if test -n "$ac_ct_OBJDUMP"; then
5086 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5087 $as_echo "$ac_ct_OBJDUMP" >&6; }
5089 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5090 $as_echo "no
" >&6; }
5093 if test "x
$ac_ct_OBJDUMP" = x; then
5096 case $cross_compiling:$ac_tool_warned in
5098 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5099 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5100 ac_tool_warned=yes ;;
5102 OBJDUMP=$ac_ct_OBJDUMP
5105 OBJDUMP="$ac_cv_prog_OBJDUMP"
5108 test -z "$OBJDUMP" && OBJDUMP=objdump
5118 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5119 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5120 if test "${lt_cv_deplibs_check_method+set}" = set; then
5121 $as_echo_n "(cached
) " >&6
5123 lt_cv_file_magic_cmd='$MAGIC_CMD'
5124 lt_cv_file_magic_test_file=
5125 lt_cv_deplibs_check_method='unknown'
5126 # Need to set the preceding variable on all platforms that support
5127 # interlibrary dependencies.
5128 # 'none' -- dependencies not supported.
5129 # `unknown' -- same as none, but documents that we really don't know.
5130 # 'pass_all' -- all dependencies passed with no checks.
5131 # 'test_compile' -- check by making test program.
5132 # 'file_magic [[regex]]' -- check by looking for files in library path
5133 # which responds to the $file_magic_cmd with a given extended regex.
5134 # If you have `file' or equivalent on your system and you're not sure
5135 # whether `pass_all' will *always* work, you probably want this one.
5139 lt_cv_deplibs_check_method=pass_all
5143 lt_cv_deplibs_check_method=pass_all
5147 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5148 lt_cv_file_magic_cmd='/usr/bin/file -L'
5149 lt_cv_file_magic_test_file=/shlib/libc.so
5153 # func_win32_libid is a shell function defined in ltmain.sh
5154 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5155 lt_cv_file_magic_cmd='func_win32_libid'
5159 # Base MSYS/MinGW do not provide the 'file' command needed by
5160 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5161 # unless we find 'file', for example because we are cross-compiling.
5162 if ( file / ) >/dev/null 2>&1; then
5163 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5164 lt_cv_file_magic_cmd='func_win32_libid'
5166 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5167 lt_cv_file_magic_cmd='$OBJDUMP -f'
5172 # use the weaker test based on 'objdump'. See mingw*.
5173 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5174 lt_cv_file_magic_cmd='$OBJDUMP -f'
5177 darwin* | rhapsody*)
5178 lt_cv_deplibs_check_method=pass_all
5181 freebsd* | dragonfly*)
5182 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5185 # Not sure whether the presence of OpenBSD here was a mistake.
5186 # Let's accept both of them until this is cleared up.
5187 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5188 lt_cv_file_magic_cmd=/usr/bin/file
5189 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5193 lt_cv_deplibs_check_method=pass_all
5198 lt_cv_deplibs_check_method=pass_all
5201 hpux10.20* | hpux11*)
5202 lt_cv_file_magic_cmd=/usr/bin/file
5205 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5206 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5209 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5210 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5213 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5214 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5220 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5221 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5224 irix5* | irix6* | nonstopux*)
5226 *-32|*"-32 ") libmagic=32-bit;;
5227 *-n32|*"-n32 ") libmagic=N32;;
5228 *-64|*"-64 ") libmagic=64-bit;;
5229 *) libmagic=never-match;;
5231 lt_cv_deplibs_check_method=pass_all
5234 # This must be Linux ELF.
5235 linux* | k*bsd*-gnu)
5236 lt_cv_deplibs_check_method=pass_all
5240 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5249 lt_cv_file_magic_cmd=/usr/bin/file
5250 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5254 lt_cv_deplibs_check_method=pass_all
5258 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5265 osf3* | osf4* | osf5*)
5266 lt_cv_deplibs_check_method=pass_all
5270 lt_cv_deplibs_check_method=pass_all
5274 lt_cv_deplibs_check_method=pass_all
5277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5278 lt_cv_deplibs_check_method=pass_all
5282 case $host_vendor in
5284 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]'
5285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5288 lt_cv_deplibs_check_method=pass_all
5291 lt_cv_file_magic_cmd='/bin/file'
5292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5295 lt_cv_file_magic_cmd='/bin/file'
5296 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5297 lt_cv_file_magic_test_file=/lib/libc.so
5300 lt_cv_deplibs_check_method=pass_all
5303 lt_cv_deplibs_check_method=pass_all
5309 lt_cv_deplibs_check_method=pass_all
5314 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5315 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5316 file_magic_cmd=$lt_cv_file_magic_cmd
5317 deplibs_check_method=$lt_cv_deplibs_check_method
5318 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}ar; ac_word=$2
5334 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5335 $as_echo_n "checking
for $ac_word...
" >&6; }
5336 if test "${ac_cv_prog_AR+set}" = set; then
5337 $as_echo_n "(cached
) " >&6
5339 if test -n "$AR"; then
5340 ac_cv_prog_AR="$AR" # Let the user override the test.
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_AR="${ac_tool_prefix}ar"
5350 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5360 if test -n "$AR"; then
5361 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5362 $as_echo "$AR" >&6; }
5364 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5365 $as_echo "no
" >&6; }
5370 if test -z "$ac_cv_prog_AR"; then
5372 # Extract the first word of "ar", so it can be a program name with args.
5373 set dummy ar; ac_word=$2
5374 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5375 $as_echo_n "checking
for $ac_word...
" >&6; }
5376 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5377 $as_echo_n "(cached
) " >&6
5379 if test -n "$ac_ct_AR"; then
5380 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389 ac_cv_prog_ac_ct_AR="ar"
5390 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5399 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5400 if test -n "$ac_ct_AR"; then
5401 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5402 $as_echo "$ac_ct_AR" >&6; }
5404 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5405 $as_echo "no
" >&6; }
5408 if test "x
$ac_ct_AR" = x; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5414 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5415 ac_tool_warned=yes ;;
5423 test -z "$AR" && AR=ar
5424 test -z "$AR_FLAGS" && AR_FLAGS=cru
5436 if test -n "$ac_tool_prefix"; then
5437 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5438 set dummy ${ac_tool_prefix}strip; ac_word=$2
5439 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5440 $as_echo_n "checking
for $ac_word...
" >&6; }
5441 if test "${ac_cv_prog_STRIP+set}" = set; then
5442 $as_echo_n "(cached
) " >&6
5444 if test -n "$STRIP"; then
5445 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5455 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5464 STRIP=$ac_cv_prog_STRIP
5465 if test -n "$STRIP"; then
5466 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5467 $as_echo "$STRIP" >&6; }
5469 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5470 $as_echo "no
" >&6; }
5475 if test -z "$ac_cv_prog_STRIP"; then
5477 # Extract the first word of "strip
", so it can be a program name with args.
5478 set dummy strip; ac_word=$2
5479 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5480 $as_echo_n "checking
for $ac_word...
" >&6; }
5481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5482 $as_echo_n "(cached
) " >&6
5484 if test -n "$ac_ct_STRIP"; then
5485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494 ac_cv_prog_ac_ct_STRIP="strip
"
5495 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5505 if test -n "$ac_ct_STRIP"; then
5506 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5507 $as_echo "$ac_ct_STRIP" >&6; }
5509 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5510 $as_echo "no
" >&6; }
5513 if test "x
$ac_ct_STRIP" = x; then
5516 case $cross_compiling:$ac_tool_warned in
5518 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5519 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5520 ac_tool_warned=yes ;;
5525 STRIP="$ac_cv_prog_STRIP"
5528 test -z "$STRIP" && STRIP=:
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5538 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5539 $as_echo_n "checking
for $ac_word...
" >&6; }
5540 if test "${ac_cv_prog_RANLIB+set}" = set; then
5541 $as_echo_n "(cached
) " >&6
5543 if test -n "$RANLIB"; then
5544 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5554 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5563 RANLIB=$ac_cv_prog_RANLIB
5564 if test -n "$RANLIB"; then
5565 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5566 $as_echo "$RANLIB" >&6; }
5568 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5569 $as_echo "no
" >&6; }
5574 if test -z "$ac_cv_prog_RANLIB"; then
5575 ac_ct_RANLIB=$RANLIB
5576 # Extract the first word of "ranlib
", so it can be a program name with args.
5577 set dummy ranlib; ac_word=$2
5578 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5579 $as_echo_n "checking
for $ac_word...
" >&6; }
5580 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5581 $as_echo_n "(cached
) " >&6
5583 if test -n "$ac_ct_RANLIB"; then
5584 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5594 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5603 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5604 if test -n "$ac_ct_RANLIB"; then
5605 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5606 $as_echo "$ac_ct_RANLIB" >&6; }
5608 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5609 $as_echo "no
" >&6; }
5612 if test "x
$ac_ct_RANLIB" = x; then
5615 case $cross_compiling:$ac_tool_warned in
5617 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5619 ac_tool_warned=yes ;;
5621 RANLIB=$ac_ct_RANLIB
5624 RANLIB="$ac_cv_prog_RANLIB"
5627 test -z "$RANLIB" && RANLIB=:
5634 # Determine commands to create old-style static archives.
5635 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5636 old_postinstall_cmds='chmod 644 $oldlib'
5637 old_postuninstall_cmds=
5639 if test -n "$RANLIB"; then
5642 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5645 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5648 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5684 # If no C compiler was specified, use CC.
5687 # If no C compiler flags were specified, use CFLAGS.
5688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5690 # Allow CC to be a program name with arguments.
5694 # Check for command to grab the raw symbol name followed by C symbol from nm.
5695 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5696 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5697 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5698 $as_echo_n "(cached
) " >&6
5701 # These are sane defaults that work on at least a few old systems.
5702 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5704 # Character class describing NM global symbol codes.
5705 symcode='[BCDEGRST]'
5707 # Regexp to match symbols that can be accessed directly from C.
5708 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5710 # Define system-specific variables.
5715 cygwin* | mingw* | pw32* | cegcc*)
5716 symcode='[ABCDGISTW]'
5719 if test "$host_cpu" = ia64; then
5720 symcode='[ABCDEGRST]'
5724 symcode='[BCDEGRST]'
5727 symcode='[BCDEGQRST]'
5738 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5746 # If we're using GNU nm, then use its standard symbol codes.
5747 case `$NM -V 2>&1` in
5748 *GNU* | *'with BFD'*)
5749 symcode='[ABCDGIRSTW]' ;;
5752 # Transform an extracted symbol line into a proper C declaration.
5753 # Some systems (esp. on ia64) link data and code symbols differently,
5754 # so use this general approach.
5755 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5757 # Transform an extracted symbol line into symbol name and symbol address
5758 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5759 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'"
5761 # Handle CRLF in mingw tool chain
5765 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5769 # Try without a prefix underscore, then with it.
5770 for ac_symprfx in "" "_
"; do
5772 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5773 symxfrm="\\1 $ac_symprfx\\2 \\2"
5775 # Write the raw and C identifiers.
5776 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5777 # Fake it for dumpbin and say T for any non-static function
5778 # and D for any global variable.
5779 # Also find C++ and __fastcall symbols from MSVC++,
5780 # which start with @ or ?.
5781 lt_cv_sys_global_symbol_pipe="$AWK '"\
5782 " {last_section=section; section=\$ 3};"\
5783 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5784 " \$ 0!~/External *\|/{next};"\
5785 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5786 " {if(hide[section]) next};"\
5787 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5788 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5789 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5790 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5791 " ' prfx
=^
$ac_symprfx"
5793 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5796 # Check to see that the pipe works correctly.
5800 cat > conftest.$ac_ext <<_LT_EOF
5805 void nm_test_func(void);
5806 void nm_test_func(void){}
5810 int main(){nm_test_var='a';nm_test_func();return(0);}
5813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5814 (eval $ac_compile) 2>&5
5816 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5817 (exit $ac_status); }; then
5818 # Now try to grab the symbols.
5820 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5821 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5823 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5824 (exit $ac_status); } && test -s "$nlist"; then
5825 # Try sorting and uniquifying the output.
5826 if sort "$nlist" | uniq > "$nlist"T; then
5827 mv -f "$nlist"T "$nlist"
5832 # Make sure that we snagged all the symbols we need.
5833 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5834 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5835 cat <<_LT_EOF > conftest.$ac_ext
5841 # Now generate the symbol file.
5842 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5844 cat <<_LT_EOF >> conftest.$ac_ext
5846 /* The mapping between symbol names and symbols. */
5851 lt__PROGRAM__LTX_preloaded_symbols[] =
5853 { "@PROGRAM@
", (void *) 0 },
5855 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5856 cat <<\_LT_EOF >> conftest.$ac_ext
5860 /* This works around a problem in FreeBSD linker */
5861 #ifdef FREEBSD_WORKAROUND
5862 static const void *lt_preloaded_setup() {
5863 return lt__PROGRAM__LTX_preloaded_symbols;
5871 # Now try linking the two files.
5872 mv conftest.$ac_objext conftstm.$ac_objext
5873 lt_save_LIBS="$LIBS"
5874 lt_save_CFLAGS="$CFLAGS"
5875 LIBS="conftstm.
$ac_objext"
5876 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5878 (eval $ac_link) 2>&5
5880 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5881 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5884 LIBS="$lt_save_LIBS"
5885 CFLAGS="$lt_save_CFLAGS"
5887 echo "cannot
find nm_test_func
in $nlist" >&5
5890 echo "cannot
find nm_test_var
in $nlist" >&5
5893 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5896 echo "$progname: failed program was
:" >&5
5897 cat conftest.$ac_ext >&5
5899 rm -rf conftest* conftst*
5901 # Do not use the global_symbol_pipe unless it works.
5902 if test "$pipe_works" = yes; then
5905 lt_cv_sys_global_symbol_pipe=
5911 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5912 lt_cv_sys_global_symbol_to_cdecl=
5914 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5915 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5916 $as_echo "failed
" >&6; }
5918 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5919 $as_echo "ok
" >&6; }
5944 # Check whether --enable-libtool-lock was given.
5945 if test "${enable_libtool_lock+set}" = set; then
5946 enableval=$enable_libtool_lock;
5949 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5951 # Some flags need to be propagated to the compiler or linker for good
5955 # Find out which ABI we are using.
5956 echo 'int i;' > conftest.$ac_ext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>&5
5960 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5961 (exit $ac_status); }; then
5962 case `/usr/bin/file conftest.$ac_objext` in
5974 # Find out which ABI we are using.
5975 echo '#line 5975 "configure
"' > conftest.$ac_ext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977 (eval $ac_compile) 2>&5
5979 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5980 (exit $ac_status); }; then
5981 if test "$lt_cv_prog_gnu_ld" = yes; then
5982 case `/usr/bin/file conftest.$ac_objext` in
5984 LD="${LD-ld} -melf32bsmip"
5987 LD="${LD-ld} -melf32bmipn32"
5990 LD="${LD-ld} -melf64bmip"
5994 case `/usr/bin/file conftest.$ac_objext` in
6010 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6011 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6012 # Find out which ABI we are using.
6013 echo 'int i;' > conftest.$ac_ext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6015 (eval $ac_compile) 2>&5
6017 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6018 (exit $ac_status); }; then
6019 case `/usr/bin/file conftest.o` in
6022 x86_64-*kfreebsd*-gnu)
6023 LD="${LD-ld} -m elf_i386_fbsd
"
6026 LD="${LD-ld} -m elf_i386
"
6028 ppc64-*linux*|powerpc64-*linux*)
6029 LD="${LD-ld} -m elf32ppclinux
"
6032 LD="${LD-ld} -m elf_s390
"
6035 LD="${LD-ld} -m elf32_sparc
"
6041 x86_64-*kfreebsd*-gnu)
6042 LD="${LD-ld} -m elf_x86_64_fbsd
"
6045 LD="${LD-ld} -m elf_x86_64
"
6047 ppc*-*linux*|powerpc*-*linux*)
6048 LD="${LD-ld} -m elf64ppc
"
6050 s390*-*linux*|s390*-*tpf*)
6051 LD="${LD-ld} -m elf64_s390
"
6054 LD="${LD-ld} -m elf64_sparc
"
6064 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6065 SAVE_CFLAGS="$CFLAGS"
6066 CFLAGS="$CFLAGS -belf"
6067 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6068 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6069 if test "${lt_cv_cc_needs_belf+set}" = set; then
6070 $as_echo_n "(cached
) " >&6
6073 ac_cpp='$CPP $CPPFLAGS'
6074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6078 cat >conftest.$ac_ext <<_ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6093 rm -f conftest.$ac_objext conftest$ac_exeext
6094 if { (ac_try="$ac_link"
6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097 *) ac_try_echo=$ac_try;;
6099 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6100 $as_echo "$ac_try_echo") >&5
6101 (eval "$ac_link") 2>conftest.er1
6103 grep -v '^ *+' conftest.er1 >conftest.err
6105 cat conftest.err >&5
6106 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6107 (exit $ac_status); } && {
6108 test -z "$ac_c_werror_flag" ||
6109 test ! -s conftest.err
6110 } && test -s conftest$ac_exeext && {
6111 test "$cross_compiling" = yes ||
6112 $as_test_x conftest$ac_exeext
6114 lt_cv_cc_needs_belf=yes
6116 $as_echo "$as_me: failed program was
:" >&5
6117 sed 's/^/| /' conftest.$ac_ext >&5
6119 lt_cv_cc_needs_belf=no
6122 rm -rf conftest.dSYM
6123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6124 conftest$ac_exeext conftest.$ac_ext
6126 ac_cpp='$CPP $CPPFLAGS'
6127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6132 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6133 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6134 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6135 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6136 CFLAGS="$SAVE_CFLAGS"
6140 # Find out which ABI we are using.
6141 echo 'int i;' > conftest.$ac_ext
6142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6143 (eval $ac_compile) 2>&5
6145 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6146 (exit $ac_status); }; then
6147 case `/usr/bin/file conftest.o` in
6149 case $lt_cv_prog_gnu_ld in
6150 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6152 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6164 need_locks="$enable_libtool_lock"
6168 rhapsody* | darwin*)
6169 if test -n "$ac_tool_prefix"; then
6170 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6171 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6172 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6173 $as_echo_n "checking
for $ac_word...
" >&6; }
6174 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6175 $as_echo_n "(cached
) " >&6
6177 if test -n "$DSYMUTIL"; then
6178 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6187 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6188 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6197 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6198 if test -n "$DSYMUTIL"; then
6199 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6200 $as_echo "$DSYMUTIL" >&6; }
6202 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6203 $as_echo "no
" >&6; }
6208 if test -z "$ac_cv_prog_DSYMUTIL"; then
6209 ac_ct_DSYMUTIL=$DSYMUTIL
6210 # Extract the first word of "dsymutil
", so it can be a program name with args.
6211 set dummy dsymutil; ac_word=$2
6212 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6213 $as_echo_n "checking
for $ac_word...
" >&6; }
6214 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6215 $as_echo_n "(cached
) " >&6
6217 if test -n "$ac_ct_DSYMUTIL"; then
6218 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6227 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6228 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6237 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6238 if test -n "$ac_ct_DSYMUTIL"; then
6239 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6240 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6242 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6243 $as_echo "no
" >&6; }
6246 if test "x
$ac_ct_DSYMUTIL" = x; then
6249 case $cross_compiling:$ac_tool_warned in
6251 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6252 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6253 ac_tool_warned=yes ;;
6255 DSYMUTIL=$ac_ct_DSYMUTIL
6258 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6261 if test -n "$ac_tool_prefix"; then
6262 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6263 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6264 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6265 $as_echo_n "checking
for $ac_word...
" >&6; }
6266 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6267 $as_echo_n "(cached
) " >&6
6269 if test -n "$NMEDIT"; then
6270 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6279 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6280 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6289 NMEDIT=$ac_cv_prog_NMEDIT
6290 if test -n "$NMEDIT"; then
6291 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6292 $as_echo "$NMEDIT" >&6; }
6294 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6295 $as_echo "no
" >&6; }
6300 if test -z "$ac_cv_prog_NMEDIT"; then
6301 ac_ct_NMEDIT=$NMEDIT
6302 # Extract the first word of "nmedit
", so it can be a program name with args.
6303 set dummy nmedit; ac_word=$2
6304 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6305 $as_echo_n "checking
for $ac_word...
" >&6; }
6306 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6307 $as_echo_n "(cached
) " >&6
6309 if test -n "$ac_ct_NMEDIT"; then
6310 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT="nmedit
"
6320 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6330 if test -n "$ac_ct_NMEDIT"; then
6331 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6332 $as_echo "$ac_ct_NMEDIT" >&6; }
6334 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6335 $as_echo "no
" >&6; }
6338 if test "x
$ac_ct_NMEDIT" = x; then
6341 case $cross_compiling:$ac_tool_warned in
6343 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6344 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6345 ac_tool_warned=yes ;;
6347 NMEDIT=$ac_ct_NMEDIT
6350 NMEDIT="$ac_cv_prog_NMEDIT"
6353 if test -n "$ac_tool_prefix"; then
6354 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6355 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6356 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6357 $as_echo_n "checking
for $ac_word...
" >&6; }
6358 if test "${ac_cv_prog_LIPO+set}" = set; then
6359 $as_echo_n "(cached
) " >&6
6361 if test -n "$LIPO"; then
6362 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6372 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6381 LIPO=$ac_cv_prog_LIPO
6382 if test -n "$LIPO"; then
6383 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6384 $as_echo "$LIPO" >&6; }
6386 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6387 $as_echo "no
" >&6; }
6392 if test -z "$ac_cv_prog_LIPO"; then
6394 # Extract the first word of "lipo
", so it can be a program name with args.
6395 set dummy lipo; ac_word=$2
6396 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6397 $as_echo_n "checking
for $ac_word...
" >&6; }
6398 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6399 $as_echo_n "(cached
) " >&6
6401 if test -n "$ac_ct_LIPO"; then
6402 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_ac_ct_LIPO="lipo
"
6412 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6421 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6422 if test -n "$ac_ct_LIPO"; then
6423 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6424 $as_echo "$ac_ct_LIPO" >&6; }
6426 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6427 $as_echo "no
" >&6; }
6430 if test "x
$ac_ct_LIPO" = x; then
6433 case $cross_compiling:$ac_tool_warned in
6435 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6436 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6437 ac_tool_warned=yes ;;
6442 LIPO="$ac_cv_prog_LIPO"
6445 if test -n "$ac_tool_prefix"; then
6446 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}otool; ac_word=$2
6448 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6449 $as_echo_n "checking
for $ac_word...
" >&6; }
6450 if test "${ac_cv_prog_OTOOL+set}" = set; then
6451 $as_echo_n "(cached
) " >&6
6453 if test -n "$OTOOL"; then
6454 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6464 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6473 OTOOL=$ac_cv_prog_OTOOL
6474 if test -n "$OTOOL"; then
6475 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6476 $as_echo "$OTOOL" >&6; }
6478 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6479 $as_echo "no
" >&6; }
6484 if test -z "$ac_cv_prog_OTOOL"; then
6486 # Extract the first word of "otool
", so it can be a program name with args.
6487 set dummy otool; ac_word=$2
6488 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6489 $as_echo_n "checking
for $ac_word...
" >&6; }
6490 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6491 $as_echo_n "(cached
) " >&6
6493 if test -n "$ac_ct_OTOOL"; then
6494 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_ac_ct_OTOOL="otool
"
6504 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6513 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6514 if test -n "$ac_ct_OTOOL"; then
6515 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6516 $as_echo "$ac_ct_OTOOL" >&6; }
6518 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6519 $as_echo "no
" >&6; }
6522 if test "x
$ac_ct_OTOOL" = x; then
6525 case $cross_compiling:$ac_tool_warned in
6527 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6528 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6529 ac_tool_warned=yes ;;
6534 OTOOL="$ac_cv_prog_OTOOL"
6537 if test -n "$ac_tool_prefix"; then
6538 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6540 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6541 $as_echo_n "checking
for $ac_word...
" >&6; }
6542 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6543 $as_echo_n "(cached
) " >&6
6545 if test -n "$OTOOL64"; then
6546 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6556 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6565 OTOOL64=$ac_cv_prog_OTOOL64
6566 if test -n "$OTOOL64"; then
6567 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6568 $as_echo "$OTOOL64" >&6; }
6570 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6571 $as_echo "no
" >&6; }
6576 if test -z "$ac_cv_prog_OTOOL64"; then
6577 ac_ct_OTOOL64=$OTOOL64
6578 # Extract the first word of "otool64
", so it can be a program name with args.
6579 set dummy otool64; ac_word=$2
6580 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6581 $as_echo_n "checking
for $ac_word...
" >&6; }
6582 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6583 $as_echo_n "(cached
) " >&6
6585 if test -n "$ac_ct_OTOOL64"; then
6586 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6596 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6605 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6606 if test -n "$ac_ct_OTOOL64"; then
6607 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6608 $as_echo "$ac_ct_OTOOL64" >&6; }
6610 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6611 $as_echo "no
" >&6; }
6614 if test "x
$ac_ct_OTOOL64" = x; then
6617 case $cross_compiling:$ac_tool_warned in
6619 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6620 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6621 ac_tool_warned=yes ;;
6623 OTOOL64=$ac_ct_OTOOL64
6626 OTOOL64="$ac_cv_prog_OTOOL64"
6655 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6656 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6657 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6658 $as_echo_n "(cached
) " >&6
6660 lt_cv_apple_cc_single_mod=no
6661 if test -z "${LT_MULTI_MODULE}"; then
6662 # By default we will add the -single_module flag. You can override
6663 # by either setting the environment variable LT_MULTI_MODULE
6664 # non-empty at configure time, or by adding -multi_module to the
6666 rm -rf libconftest.dylib*
6667 echo "int foo
(void
){return 1;}" > conftest.c
6668 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6669 -dynamiclib -Wl,-single_module conftest.c
" >&5
6670 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6671 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6673 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6674 lt_cv_apple_cc_single_mod=yes
6676 cat conftest.err >&5
6678 rm -rf libconftest.dylib*
6682 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6683 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6684 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6685 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6686 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6687 $as_echo_n "(cached
) " >&6
6689 lt_cv_ld_exported_symbols_list=no
6690 save_LDFLAGS=$LDFLAGS
6691 echo "_main
" > conftest.sym
6692 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6693 cat >conftest.$ac_ext <<_ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
6698 /* end confdefs.h. */
6708 rm -f conftest.$ac_objext conftest$ac_exeext
6709 if { (ac_try="$ac_link"
6711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6714 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6715 $as_echo "$ac_try_echo") >&5
6716 (eval "$ac_link") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1 >conftest.err
6720 cat conftest.err >&5
6721 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest$ac_exeext && {
6726 test "$cross_compiling" = yes ||
6727 $as_test_x conftest$ac_exeext
6729 lt_cv_ld_exported_symbols_list=yes
6731 $as_echo "$as_me: failed program was
:" >&5
6732 sed 's/^/| /' conftest.$ac_ext >&5
6734 lt_cv_ld_exported_symbols_list=no
6737 rm -rf conftest.dSYM
6738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6739 conftest$ac_exeext conftest.$ac_ext
6740 LDFLAGS="$save_LDFLAGS"
6743 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6744 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6746 rhapsody* | darwin1.[012])
6747 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6749 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6750 darwin*) # darwin 5.x on
6751 # if running on 10.5 or later, the deployment target defaults
6752 # to the OS version, if on x86, and 10.4, the deployment
6753 # target defaults to 10.4. Don't you love it?
6754 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6755 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6756 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6758 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6760 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6764 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6765 _lt_dar_single_mod='$single_module'
6767 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6768 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6770 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6772 if test "$DSYMUTIL" != ":"; then
6773 _lt_dsymutil='~$DSYMUTIL $lib || :'
6781 ac_cpp='$CPP $CPPFLAGS'
6782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6785 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6786 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6787 # On Suns, sometimes $CPP names a directory.
6788 if test -n "$CPP" && test -d "$CPP"; then
6791 if test -z "$CPP"; then
6792 if test "${ac_cv_prog_CPP+set}" = set; then
6793 $as_echo_n "(cached
) " >&6
6795 # Double quotes because CPP needs to be expanded
6796 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6799 for ac_c_preproc_warn_flag in '' yes
6801 # Use a header file that comes with gcc, so configuring glibc
6802 # with a fresh cross-compiler works.
6803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6804 # <limits.h> exists even on freestanding compilers.
6805 # On the NeXT, cc -E runs the code through the compiler's parser,
6806 # not just through cpp. "Syntax error
" is here to catch this case.
6807 cat >conftest.$ac_ext <<_ACEOF
6810 cat confdefs.h >>conftest.$ac_ext
6811 cat >>conftest.$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6814 # include <limits.h>
6816 # include <assert.h>
6820 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823 *) ac_try_echo=$ac_try;;
6825 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6826 $as_echo "$ac_try_echo") >&5
6827 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6829 grep -v '^ *+' conftest.er1 >conftest.err
6831 cat conftest.err >&5
6832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6833 (exit $ac_status); } >/dev/null && {
6834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6835 test ! -s conftest.err
6839 $as_echo "$as_me: failed program was
:" >&5
6840 sed 's/^/| /' conftest.$ac_ext >&5
6842 # Broken: fails on valid input.
6846 rm -f conftest.err conftest.$ac_ext
6848 # OK, works on sane cases. Now check whether nonexistent headers
6849 # can be detected and how.
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 #include <ac_nonexistent.h>
6858 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861 *) ac_try_echo=$ac_try;;
6863 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6864 $as_echo "$ac_try_echo") >&5
6865 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6867 grep -v '^ *+' conftest.er1 >conftest.err
6869 cat conftest.err >&5
6870 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6871 (exit $ac_status); } >/dev/null && {
6872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6873 test ! -s conftest.err
6875 # Broken: success on invalid input.
6878 $as_echo "$as_me: failed program was
:" >&5
6879 sed 's/^/| /' conftest.$ac_ext >&5
6881 # Passes both tests.
6886 rm -f conftest.err conftest.$ac_ext
6889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6890 rm -f conftest.err conftest.$ac_ext
6891 if $ac_preproc_ok; then
6903 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6904 $as_echo "$CPP" >&6; }
6906 for ac_c_preproc_warn_flag in '' yes
6908 # Use a header file that comes with gcc, so configuring glibc
6909 # with a fresh cross-compiler works.
6910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6911 # <limits.h> exists even on freestanding compilers.
6912 # On the NeXT, cc -E runs the code through the compiler's parser,
6913 # not just through cpp. "Syntax error
" is here to catch this case.
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6921 # include <limits.h>
6923 # include <assert.h>
6927 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6930 *) ac_try_echo=$ac_try;;
6932 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6933 $as_echo "$ac_try_echo") >&5
6934 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6936 grep -v '^ *+' conftest.er1 >conftest.err
6938 cat conftest.err >&5
6939 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6940 (exit $ac_status); } >/dev/null && {
6941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6942 test ! -s conftest.err
6946 $as_echo "$as_me: failed program was
:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6949 # Broken: fails on valid input.
6953 rm -f conftest.err conftest.$ac_ext
6955 # OK, works on sane cases. Now check whether nonexistent headers
6956 # can be detected and how.
6957 cat >conftest.$ac_ext <<_ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <ac_nonexistent.h>
6965 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968 *) ac_try_echo=$ac_try;;
6970 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6971 $as_echo "$ac_try_echo") >&5
6972 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6974 grep -v '^ *+' conftest.er1 >conftest.err
6976 cat conftest.err >&5
6977 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6978 (exit $ac_status); } >/dev/null && {
6979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6980 test ! -s conftest.err
6982 # Broken: success on invalid input.
6985 $as_echo "$as_me: failed program was
:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6988 # Passes both tests.
6993 rm -f conftest.err conftest.$ac_ext
6996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6997 rm -f conftest.err conftest.$ac_ext
6998 if $ac_preproc_ok; then
7001 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7003 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7004 See \`config.log' for more details.
" >&5
7005 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7006 See \
`config.log' for more details." >&2;}
7007 { (exit 1); exit 1; }; }; }
7011 ac_cpp='$CPP $CPPFLAGS'
7012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7017 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7018 $as_echo_n "checking for ANSI C header files... " >&6; }
7019 if test "${ac_cv_header_stdc+set}" = set; then
7020 $as_echo_n "(cached) " >&6
7022 cat >conftest.$ac_ext <<_ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7041 rm -f conftest.$ac_objext
7042 if { (ac_try="$ac_compile"
7044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7045 *) ac_try_echo
=$ac_try;;
7047 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7048 $as_echo "$ac_try_echo") >&5
7049 (eval "$ac_compile") 2>conftest.er1
7051 grep -v '^ *+' conftest.er1
>conftest.err
7053 cat conftest.err
>&5
7054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } && {
7056 test -z "$ac_c_werror_flag" ||
7057 test ! -s conftest.err
7058 } && test -s conftest.
$ac_objext; then
7059 ac_cv_header_stdc
=yes
7061 $as_echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.
$ac_ext >&5
7064 ac_cv_header_stdc
=no
7067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7069 if test $ac_cv_header_stdc = yes; then
7070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7071 cat >conftest.
$ac_ext <<_ACEOF
7074 cat confdefs.h
>>conftest.
$ac_ext
7075 cat >>conftest.
$ac_ext <<_ACEOF
7076 /* end confdefs.h. */
7080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7081 $EGREP "memchr" >/dev
/null
2>&1; then
7084 ac_cv_header_stdc
=no
7090 if test $ac_cv_header_stdc = yes; then
7091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7092 cat >conftest.
$ac_ext <<_ACEOF
7095 cat confdefs.h
>>conftest.
$ac_ext
7096 cat >>conftest.
$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7102 $EGREP "free" >/dev
/null
2>&1; then
7105 ac_cv_header_stdc
=no
7111 if test $ac_cv_header_stdc = yes; then
7112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7113 if test "$cross_compiling" = yes; then
7116 cat >conftest.
$ac_ext <<_ACEOF
7119 cat confdefs.h
>>conftest.
$ac_ext
7120 cat >>conftest.
$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7124 #if ((' ' & 0x0FF) == 0x020)
7125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7128 # define ISLOWER(c) \
7129 (('a' <= (c) && (c) <= 'i') \
7130 || ('j' <= (c) && (c) <= 'r') \
7131 || ('s' <= (c) && (c) <= 'z'))
7132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7140 for (i = 0; i < 256; i++)
7141 if (XOR (islower (i), ISLOWER (i))
7142 || toupper (i) != TOUPPER (i))
7147 rm -f conftest
$ac_exeext
7148 if { (ac_try
="$ac_link"
7150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7151 *) ac_try_echo=$ac_try;;
7153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7154 $as_echo "$ac_try_echo") >&5
7155 (eval "$ac_link") 2>&5
7157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7159 { (case "(($ac_try" in
7160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7161 *) ac_try_echo
=$ac_try;;
7163 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7164 $as_echo "$ac_try_echo") >&5
7165 (eval "$ac_try") 2>&5
7167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; }; then
7171 $as_echo "$as_me: program exited with status $ac_status" >&5
7172 $as_echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.
$ac_ext >&5
7176 ac_cv_header_stdc
=no
7178 rm -rf conftest.dSYM
7179 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7185 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7186 $as_echo "$ac_cv_header_stdc" >&6; }
7187 if test $ac_cv_header_stdc = yes; then
7189 cat >>confdefs.h
<<\_ACEOF
7190 #define STDC_HEADERS 1
7195 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7205 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7206 inttypes.h stdint.h unistd.h
7208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 $as_echo_n "checking for $ac_header... " >&6; }
7211 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212 $as_echo_n "(cached) " >&6
7214 cat >conftest.
$ac_ext <<_ACEOF
7217 cat confdefs.h
>>conftest.
$ac_ext
7218 cat >>conftest.
$ac_ext <<_ACEOF
7219 /* end confdefs.h. */
7220 $ac_includes_default
7222 #include <$ac_header>
7224 rm -f conftest.
$ac_objext
7225 if { (ac_try
="$ac_compile"
7227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7228 *) ac_try_echo=$ac_try;;
7230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7231 $as_echo "$ac_try_echo") >&5
7232 (eval "$ac_compile") 2>conftest.er1
7234 grep -v '^ *+' conftest.er1 >conftest.err
7236 cat conftest.err >&5
7237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } && {
7239 test -z "$ac_c_werror_flag" ||
7240 test ! -s conftest.err
7241 } && test -s conftest.$ac_objext; then
7242 eval "$as_ac_Header=yes"
7244 $as_echo "$as_me: failed program was:" >&5
7245 sed 's/^/| /' conftest.$ac_ext >&5
7247 eval "$as_ac_Header=no"
7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7252 ac_res=`eval 'as_val=${'$as_ac_Header'}
7253 $as_echo "$as_val"'`
7254 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7255 $as_echo "$ac_res" >&6; }
7256 as_val=`eval 'as_val=${'$as_ac_Header'}
7257 $as_echo "$as_val"'`
7258 if test "x$as_val" = x""yes; then
7259 cat >>confdefs.h <<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7269 for ac_header in dlfcn.h
7271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7272 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7273 $as_echo_n "checking for $ac_header... " >&6; }
7274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7275 $as_echo_n "(cached) " >&6
7277 cat >conftest.$ac_ext <<_ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 $ac_includes_default
7285 #include <$ac_header>
7287 rm -f conftest.$ac_objext
7288 if { (ac_try="$ac_compile"
7290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7291 *) ac_try_echo
=$ac_try;;
7293 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7294 $as_echo "$ac_try_echo") >&5
7295 (eval "$ac_compile") 2>conftest.er1
7297 grep -v '^ *+' conftest.er1
>conftest.err
7299 cat conftest.err
>&5
7300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } && {
7302 test -z "$ac_c_werror_flag" ||
7303 test ! -s conftest.err
7304 } && test -s conftest.
$ac_objext; then
7305 eval "$as_ac_Header=yes"
7307 $as_echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.
$ac_ext >&5
7310 eval "$as_ac_Header=no"
7313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7315 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7316 $as_echo "$as_val"'`
7317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7318 $as_echo "$ac_res" >&6; }
7319 as_val
=`eval 'as_val=${'$as_ac_Header'}
7320 $as_echo "$as_val"'`
7321 if test "x$as_val" = x
""yes; then
7322 cat >>confdefs.h
<<_ACEOF
7323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342 # Check whether --enable-shared was given.
7343 if test "${enable_shared+set}" = set; then
7344 enableval
=$enable_shared; p
=${PACKAGE-default}
7346 yes) enable_shared
=yes ;;
7347 no
) enable_shared
=no
;;
7350 # Look at the argument we got. We use all the common list separators.
7351 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7352 for pkg
in $enableval; do
7354 if test "X$pkg" = "X$p"; then
7373 # Check whether --enable-static was given.
7374 if test "${enable_static+set}" = set; then
7375 enableval
=$enable_static; p
=${PACKAGE-default}
7377 yes) enable_static
=yes ;;
7378 no
) enable_static
=no
;;
7381 # Look at the argument we got. We use all the common list separators.
7382 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7383 for pkg
in $enableval; do
7385 if test "X$pkg" = "X$p"; then
7405 # Check whether --with-pic was given.
7406 if test "${with_pic+set}" = set; then
7407 withval
=$with_pic; pic_mode
="$withval"
7413 test -z "$pic_mode" && pic_mode
=default
7421 # Check whether --enable-fast-install was given.
7422 if test "${enable_fast_install+set}" = set; then
7423 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7425 yes) enable_fast_install
=yes ;;
7426 no
) enable_fast_install
=no
;;
7428 enable_fast_install
=no
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7431 for pkg
in $enableval; do
7433 if test "X$pkg" = "X$p"; then
7434 enable_fast_install
=yes
7441 enable_fast_install
=yes
7454 # This can be used to rebuild libtool when needed
7455 LIBTOOL_DEPS
="$ltmain"
7457 # Always use our own libtool.
7458 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7484 test -z "$LN_S" && LN_S
="ln -s"
7499 if test -n "${ZSH_VERSION+set}" ; then
7500 setopt NO_GLOB_SUBST
7503 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7504 $as_echo_n "checking for objdir... " >&6; }
7505 if test "${lt_cv_objdir+set}" = set; then
7506 $as_echo_n "(cached) " >&6
7508 rm -f .libs
2>/dev
/null
7509 mkdir .libs
2>/dev
/null
7510 if test -d .libs
; then
7513 # MS-DOS does not allow filenames that begin with a dot.
7516 rmdir .libs
2>/dev
/null
7518 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7519 $as_echo "$lt_cv_objdir" >&6; }
7520 objdir
=$lt_cv_objdir
7526 cat >>confdefs.h
<<_ACEOF
7527 #define LT_OBJDIR "$lt_cv_objdir/"
7548 # AIX sometimes has problems with the GCC collect2 program. For some
7549 # reason, if we set the COLLECT_NAMES environment variable, the problems
7550 # vanish in a puff of smoke.
7551 if test "X${COLLECT_NAMES+set}" != Xset
; then
7553 export COLLECT_NAMES
7558 # Sed substitution that helps us do robust quoting. It backslashifies
7559 # metacharacters that are still active within double-quoted strings.
7560 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7562 # Same as above, but do not quote variable references.
7563 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7565 # Sed substitution to delay expansion of an escaped shell variable in a
7566 # double_quote_subst'ed string.
7567 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7569 # Sed substitution to delay expansion of an escaped single quote.
7570 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7572 # Sed substitution to avoid accidental globbing in evaled expressions
7573 no_glob_subst
='s/\*/\\\*/g'
7577 can_build_shared
=yes
7579 # All known linkers require a `.a' archive for static linking (except MSVC,
7580 # which needs '.lib').
7583 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7586 old_CFLAGS
="$CFLAGS"
7588 # Set sane defaults for various variables
7589 test -z "$CC" && CC
=cc
7590 test -z "$LTCC" && LTCC
=$CC
7591 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7592 test -z "$LD" && LD
=ld
7593 test -z "$ac_objext" && ac_objext
=o
7595 for cc_temp
in $compiler""; do
7597 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7598 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7603 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7606 # Only perform the check for file, if the check method requires it
7607 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7608 case $deplibs_check_method in
7610 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7611 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7612 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7613 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7614 $as_echo_n "(cached) " >&6
7618 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7621 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7622 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7623 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7624 for ac_dir
in $ac_dummy; do
7626 test -z "$ac_dir" && ac_dir
=.
7627 if test -f $ac_dir/${ac_tool_prefix}file; then
7628 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7629 if test -n "$file_magic_test_file"; then
7630 case $deplibs_check_method in
7632 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7633 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7634 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7635 $EGREP "$file_magic_regex" > /dev
/null
; then
7640 *** Warning: the command libtool uses to detect shared libraries,
7641 *** $file_magic_cmd, produces output that libtool cannot recognize.
7642 *** The result is that libtool may fail to recognize shared libraries
7643 *** as such. This will affect the creation of libtool libraries that
7644 *** depend on shared libraries, but programs linked with such libtool
7645 *** libraries will work regardless of this problem. Nevertheless, you
7646 *** may want to report the problem to your system manager and/or to
7647 *** bug-libtool@gnu.org
7657 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7662 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7663 if test -n "$MAGIC_CMD"; then
7664 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7665 $as_echo "$MAGIC_CMD" >&6; }
7667 { $as_echo "$as_me:$LINENO: result: no" >&5
7668 $as_echo "no" >&6; }
7675 if test -z "$lt_cv_path_MAGIC_CMD"; then
7676 if test -n "$ac_tool_prefix"; then
7677 { $as_echo "$as_me:$LINENO: checking for file" >&5
7678 $as_echo_n "checking for file... " >&6; }
7679 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7680 $as_echo_n "(cached) " >&6
7684 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7687 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7688 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7689 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7690 for ac_dir
in $ac_dummy; do
7692 test -z "$ac_dir" && ac_dir
=.
7693 if test -f $ac_dir/file; then
7694 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7695 if test -n "$file_magic_test_file"; then
7696 case $deplibs_check_method in
7698 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7699 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7700 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7701 $EGREP "$file_magic_regex" > /dev
/null
; then
7706 *** Warning: the command libtool uses to detect shared libraries,
7707 *** $file_magic_cmd, produces output that libtool cannot recognize.
7708 *** The result is that libtool may fail to recognize shared libraries
7709 *** as such. This will affect the creation of libtool libraries that
7710 *** depend on shared libraries, but programs linked with such libtool
7711 *** libraries will work regardless of this problem. Nevertheless, you
7712 *** may want to report the problem to your system manager and/or to
7713 *** bug-libtool@gnu.org
7723 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7728 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7729 if test -n "$MAGIC_CMD"; then
7730 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7731 $as_echo "$MAGIC_CMD" >&6; }
7733 { $as_echo "$as_me:$LINENO: result: no" >&5
7734 $as_echo "no" >&6; }
7747 # Use C for the default configuration in the libtool script
7751 ac_cpp
='$CPP $CPPFLAGS'
7752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7757 # Source file extension for C test sources.
7760 # Object file extension for compiled C test sources.
7764 # Code to be used in simple compile tests
7765 lt_simple_compile_test_code
="int some_variable = 0;"
7767 # Code to be used in simple link tests
7768 lt_simple_link_test_code
='int main(){return(0);}'
7776 # If no C compiler was specified, use CC.
7779 # If no C compiler flags were specified, use CFLAGS.
7780 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7782 # Allow CC to be a program name with arguments.
7785 # Save the default compiler, since it gets overwritten when the other
7786 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7787 compiler_DEFAULT
=$CC
7789 # save warnings/boilerplate of simple test code
7790 ac_outfile
=conftest.
$ac_objext
7791 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7792 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7793 _lt_compiler_boilerplate
=`cat conftest.err`
7796 ac_outfile
=conftest.
$ac_objext
7797 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7798 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7799 _lt_linker_boilerplate
=`cat conftest.err`
7803 if test -n "$compiler"; then
7805 lt_prog_compiler_no_builtin_flag
=
7807 if test "$GCC" = yes; then
7808 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7810 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7811 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7812 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7813 $as_echo_n "(cached) " >&6
7815 lt_cv_prog_compiler_rtti_exceptions
=no
7816 ac_outfile
=conftest.
$ac_objext
7817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7818 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7819 # Insert the option either (1) after the last *FLAGS variable, or
7820 # (2) before a word containing "conftest.", or (3) at the end.
7821 # Note that $ac_compile itself does not contain backslashes and begins
7822 # with a dollar sign (not a hyphen), so the echo should work correctly.
7823 # The option is referenced via a variable to avoid confusing sed.
7824 lt_compile
=`echo "$ac_compile" | $SED \
7825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7827 -e 's:$: $lt_compiler_flag:'`
7828 (eval echo "\"\$as_me:7828: $lt_compile\"" >&5)
7829 (eval "$lt_compile" 2>conftest.err
)
7831 cat conftest.err
>&5
7832 echo "$as_me:7832: \$? = $ac_status" >&5
7833 if (exit $ac_status) && test -s "$ac_outfile"; then
7834 # The compiler can only warn and ignore the option if not recognized
7835 # So say no if there are warnings other than the usual output.
7836 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7838 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7839 lt_cv_prog_compiler_rtti_exceptions
=yes
7845 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7846 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7848 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7849 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7861 lt_prog_compiler_wl
=
7862 lt_prog_compiler_pic
=
7863 lt_prog_compiler_static
=
7865 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7866 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7868 if test "$GCC" = yes; then
7869 lt_prog_compiler_wl
='-Wl,'
7870 lt_prog_compiler_static
='-static'
7874 # All AIX code is PIC.
7875 if test "$host_cpu" = ia64
; then
7876 # AIX 5 now supports IA64 processor
7877 lt_prog_compiler_static
='-Bstatic'
7884 # see comment about AmigaOS4 .so support
7885 lt_prog_compiler_pic
='-fPIC'
7888 # FIXME: we need at least 68020 code to build shared libraries, but
7889 # adding the `-m68020' flag to GCC prevents building anything better,
7891 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7896 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7897 # PIC is the default for these OSes.
7900 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7901 # This hack is so that the source file can tell whether it is being
7902 # built for inclusion in a dll (and should export symbols for example).
7903 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7904 # (--disable-auto-import) libraries
7905 lt_prog_compiler_pic
='-DDLL_EXPORT'
7908 darwin
* | rhapsody
*)
7909 # PIC is the default on this platform
7910 # Common symbols not allowed in MH_DYLIB files
7911 lt_prog_compiler_pic
='-fno-common'
7915 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7916 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7917 # sets the default TLS model and affects inlining.
7923 lt_prog_compiler_pic
='-fPIC'
7929 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7930 # Instead, we relocate shared libraries at runtime.
7934 # Just because we use GCC doesn't mean we suddenly get shared libraries
7935 # on systems that don't support them.
7936 lt_prog_compiler_can_build_shared
=no
7941 # QNX uses GNU C++, but need to define -shared option too, otherwise
7943 lt_prog_compiler_pic
='-fPIC -shared'
7947 if test -d /usr
/nec
; then
7948 lt_prog_compiler_pic
=-Kconform_pic
7953 lt_prog_compiler_pic
='-fPIC'
7957 # PORTME Check for flag to pass linker flags through the system compiler.
7960 lt_prog_compiler_wl
='-Wl,'
7961 if test "$host_cpu" = ia64
; then
7962 # AIX 5 now supports IA64 processor
7963 lt_prog_compiler_static
='-Bstatic'
7965 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7969 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7970 # This hack is so that the source file can tell whether it is being
7971 # built for inclusion in a dll (and should export symbols for example).
7972 lt_prog_compiler_pic
='-DDLL_EXPORT'
7975 hpux9
* | hpux10
* | hpux11
*)
7976 lt_prog_compiler_wl
='-Wl,'
7977 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7984 lt_prog_compiler_pic
='+Z'
7987 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7988 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7991 irix5
* | irix6
* | nonstopux
*)
7992 lt_prog_compiler_wl
='-Wl,'
7993 # PIC (with -KPIC) is the default.
7994 lt_prog_compiler_static
='-non_shared'
7997 linux
* | k
*bsd
*-gnu)
7998 case $cc_basename in
7999 # old Intel for x86_64 which still supported -KPIC.
8001 lt_prog_compiler_wl
='-Wl,'
8002 lt_prog_compiler_pic
='-KPIC'
8003 lt_prog_compiler_static
='-static'
8005 # icc used to be incompatible with GCC.
8006 # ICC 10 doesn't accept -KPIC any more.
8008 lt_prog_compiler_wl
='-Wl,'
8009 lt_prog_compiler_pic
='-fPIC'
8010 lt_prog_compiler_static
='-static'
8012 # Lahey Fortran 8.1.
8014 lt_prog_compiler_wl
='-Wl,'
8015 lt_prog_compiler_pic
='--shared'
8016 lt_prog_compiler_static
='--static'
8018 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8019 # Portland Group compilers (*not* the Pentium gcc compiler,
8020 # which looks to be a dead project)
8021 lt_prog_compiler_wl
='-Wl,'
8022 lt_prog_compiler_pic
='-fpic'
8023 lt_prog_compiler_static
='-Bstatic'
8026 lt_prog_compiler_wl
='-Wl,'
8027 # All Alpha code is PIC.
8028 lt_prog_compiler_static
='-non_shared'
8031 # IBM XL C 8.0/Fortran 10.1 on PPC
8032 lt_prog_compiler_wl
='-Wl,'
8033 lt_prog_compiler_pic
='-qpic'
8034 lt_prog_compiler_static
='-qstaticlink'
8037 case `$CC -V 2>&1 | sed 5q` in
8040 lt_prog_compiler_pic
='-KPIC'
8041 lt_prog_compiler_static
='-Bstatic'
8042 lt_prog_compiler_wl
='-Wl,'
8045 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8046 lt_prog_compiler_pic
='-KPIC'
8047 lt_prog_compiler_static
='-Bstatic'
8048 lt_prog_compiler_wl
=''
8056 lt_prog_compiler_pic
='-KPIC'
8057 lt_prog_compiler_static
='-Bstatic'
8061 # QNX uses GNU C++, but need to define -shared option too, otherwise
8063 lt_prog_compiler_pic
='-fPIC -shared'
8066 osf3
* | osf4
* | osf5
*)
8067 lt_prog_compiler_wl
='-Wl,'
8068 # All OSF/1 code is PIC.
8069 lt_prog_compiler_static
='-non_shared'
8073 lt_prog_compiler_static
='-non_shared'
8077 lt_prog_compiler_pic
='-KPIC'
8078 lt_prog_compiler_static
='-Bstatic'
8079 case $cc_basename in
8081 lt_prog_compiler_wl
='-Qoption ld ';;
8083 lt_prog_compiler_wl
='-Wl,';;
8088 lt_prog_compiler_wl
='-Qoption ld '
8089 lt_prog_compiler_pic
='-PIC'
8090 lt_prog_compiler_static
='-Bstatic'
8093 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8094 lt_prog_compiler_wl
='-Wl,'
8095 lt_prog_compiler_pic
='-KPIC'
8096 lt_prog_compiler_static
='-Bstatic'
8100 if test -d /usr
/nec
;then
8101 lt_prog_compiler_pic
='-Kconform_pic'
8102 lt_prog_compiler_static
='-Bstatic'
8106 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8107 lt_prog_compiler_wl
='-Wl,'
8108 lt_prog_compiler_pic
='-KPIC'
8109 lt_prog_compiler_static
='-Bstatic'
8113 lt_prog_compiler_wl
='-Wl,'
8114 lt_prog_compiler_can_build_shared
=no
8118 lt_prog_compiler_pic
='-pic'
8119 lt_prog_compiler_static
='-Bstatic'
8123 lt_prog_compiler_can_build_shared
=no
8129 # For platforms which do not support PIC, -DPIC is meaningless:
8131 lt_prog_compiler_pic
=
8134 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8137 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8138 $as_echo "$lt_prog_compiler_pic" >&6; }
8146 # Check to make sure the PIC flag actually works.
8148 if test -n "$lt_prog_compiler_pic"; then
8149 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8150 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8151 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8152 $as_echo_n "(cached) " >&6
8154 lt_cv_prog_compiler_pic_works
=no
8155 ac_outfile
=conftest.
$ac_objext
8156 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8157 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8158 # Insert the option either (1) after the last *FLAGS variable, or
8159 # (2) before a word containing "conftest.", or (3) at the end.
8160 # Note that $ac_compile itself does not contain backslashes and begins
8161 # with a dollar sign (not a hyphen), so the echo should work correctly.
8162 # The option is referenced via a variable to avoid confusing sed.
8163 lt_compile
=`echo "$ac_compile" | $SED \
8164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8166 -e 's:$: $lt_compiler_flag:'`
8167 (eval echo "\"\$as_me:8167: $lt_compile\"" >&5)
8168 (eval "$lt_compile" 2>conftest.err
)
8170 cat conftest.err
>&5
8171 echo "$as_me:8171: \$? = $ac_status" >&5
8172 if (exit $ac_status) && test -s "$ac_outfile"; then
8173 # The compiler can only warn and ignore the option if not recognized
8174 # So say no if there are warnings other than the usual output.
8175 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8176 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8177 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8178 lt_cv_prog_compiler_pic_works
=yes
8184 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8185 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8187 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8188 case $lt_prog_compiler_pic in
8190 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8193 lt_prog_compiler_pic
=
8194 lt_prog_compiler_can_build_shared
=no
8205 # Check to make sure the static flag actually works.
8207 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8208 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8209 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8210 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8211 $as_echo_n "(cached) " >&6
8213 lt_cv_prog_compiler_static_works
=no
8214 save_LDFLAGS
="$LDFLAGS"
8215 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8216 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8217 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8218 # The linker can only warn and ignore the option if not recognized
8219 # So say no if there are warnings
8220 if test -s conftest.err
; then
8221 # Append any errors to the config.log.
8222 cat conftest.err
1>&5
8223 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8224 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8225 if diff conftest.exp conftest.er2
>/dev
/null
; then
8226 lt_cv_prog_compiler_static_works
=yes
8229 lt_cv_prog_compiler_static_works
=yes
8233 LDFLAGS
="$save_LDFLAGS"
8236 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8237 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8239 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8242 lt_prog_compiler_static
=
8251 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8253 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_c_o
=no
8257 $RM -r conftest
2>/dev
/null
8261 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8263 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8264 # Insert the option either (1) after the last *FLAGS variable, or
8265 # (2) before a word containing "conftest.", or (3) at the end.
8266 # Note that $ac_compile itself does not contain backslashes and begins
8267 # with a dollar sign (not a hyphen), so the echo should work correctly.
8268 lt_compile
=`echo "$ac_compile" | $SED \
8269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8271 -e 's:$: $lt_compiler_flag:'`
8272 (eval echo "\"\$as_me:8272: $lt_compile\"" >&5)
8273 (eval "$lt_compile" 2>out
/conftest.err
)
8275 cat out
/conftest.err
>&5
8276 echo "$as_me:8276: \$? = $ac_status" >&5
8277 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8279 # The compiler can only warn and ignore the option if not recognized
8280 # So say no if there are warnings
8281 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8282 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8283 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8284 lt_cv_prog_compiler_c_o
=yes
8289 # SGI C++ compiler will create directory out/ii_files/ for
8290 # template instantiation
8291 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8292 $RM out
/* && rmdir out
8298 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8306 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8308 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8309 $as_echo_n "(cached) " >&6
8311 lt_cv_prog_compiler_c_o
=no
8312 $RM -r conftest
2>/dev
/null
8316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8318 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8319 # Insert the option either (1) after the last *FLAGS variable, or
8320 # (2) before a word containing "conftest.", or (3) at the end.
8321 # Note that $ac_compile itself does not contain backslashes and begins
8322 # with a dollar sign (not a hyphen), so the echo should work correctly.
8323 lt_compile
=`echo "$ac_compile" | $SED \
8324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8326 -e 's:$: $lt_compiler_flag:'`
8327 (eval echo "\"\$as_me:8327: $lt_compile\"" >&5)
8328 (eval "$lt_compile" 2>out
/conftest.err
)
8330 cat out
/conftest.err
>&5
8331 echo "$as_me:8331: \$? = $ac_status" >&5
8332 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8334 # The compiler can only warn and ignore the option if not recognized
8335 # So say no if there are warnings
8336 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8337 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8338 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8339 lt_cv_prog_compiler_c_o
=yes
8344 # SGI C++ compiler will create directory out/ii_files/ for
8345 # template instantiation
8346 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8347 $RM out
/* && rmdir out
8353 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8359 hard_links
="nottested"
8360 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8361 # do not overwrite the value of need_locks provided by the user
8362 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8363 $as_echo_n "checking if we can lock with hard links... " >&6; }
8366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8368 ln conftest.a conftest.b
2>&5 || hard_links
=no
8369 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8370 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8371 $as_echo "$hard_links" >&6; }
8372 if test "$hard_links" = no
; then
8373 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8374 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8386 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8387 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8390 allow_undefined_flag
=
8391 always_export_symbols
=no
8393 archive_expsym_cmds
=
8394 compiler_needs_object
=no
8395 enable_shared_with_static_runtimes
=no
8396 export_dynamic_flag_spec
=
8397 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8398 hardcode_automatic
=no
8400 hardcode_direct_absolute
=no
8401 hardcode_libdir_flag_spec
=
8402 hardcode_libdir_flag_spec_ld
=
8403 hardcode_libdir_separator
=
8405 hardcode_shlibpath_var
=unsupported
8407 link_all_deplibs
=unknown
8410 old_archive_from_new_cmds
=
8411 old_archive_from_expsyms_cmds
=
8412 thread_safe_flag_spec
=
8413 whole_archive_flag_spec
=
8414 # include_expsyms should be a list of space-separated symbols to be *always*
8415 # included in the symbol list
8417 # exclude_expsyms can be an extended regexp of symbols to exclude
8418 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8419 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8420 # as well as any symbol that contains `d'.
8421 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8422 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8423 # platforms (ab)use it in PIC code, but their linkers get confused if
8424 # the symbol is explicitly referenced. Since portable code cannot
8425 # rely on this symbol name, it's probably fine to never include it in
8426 # preloaded symbol tables.
8427 # Exclude shared library initialization/finalization symbols.
8428 extract_expsyms_cmds
=
8431 cygwin
* | mingw
* | pw32
* | cegcc
*)
8432 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8433 # When not using gcc, we currently assume that we are using
8434 # Microsoft Visual C++.
8435 if test "$GCC" != yes; then
8440 # we just hope/assume this is gcc and not c89 (= MSVC++)
8449 if test "$with_gnu_ld" = yes; then
8450 # If archive_cmds runs LD, not CC, wlarc should be empty
8453 # Set some defaults for GNU ld with shared library support. These
8454 # are reset later if shared libraries are not supported. Putting them
8455 # here allows them to be overridden if necessary.
8456 runpath_var
=LD_RUN_PATH
8457 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8458 export_dynamic_flag_spec
='${wl}--export-dynamic'
8459 # ancient GNU ld didn't support --whole-archive et. al.
8460 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8461 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8463 whole_archive_flag_spec
=
8465 supports_anon_versioning
=no
8466 case `$LD -v 2>&1` in
8467 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8468 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8469 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8470 *\
2.11.
*) ;; # other 2.11 versions
8471 *) supports_anon_versioning
=yes ;;
8474 # See if GNU ld supports shared libraries.
8477 # On AIX/PPC, the GNU linker is very broken
8478 if test "$host_cpu" != ia64
; then
8482 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8483 *** to be unable to reliably create shared libraries on AIX.
8484 *** Therefore, libtool is disabling shared libraries support. If you
8485 *** really care for shared libraries, you may want to modify your PATH
8486 *** so that a non-GNU linker is found, and then restart.
8495 # see comment about AmigaOS4 .so support
8496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497 archive_expsym_cmds
=''
8500 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)'
8501 hardcode_libdir_flag_spec
='-L$libdir'
8502 hardcode_minus_L
=yes
8508 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8509 allow_undefined_flag
=unsupported
8510 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8511 # support --undefined. This deserves some investigation. FIXME
8512 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8518 cygwin
* | mingw
* | pw32
* | cegcc
*)
8519 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8520 # as there is no search path for DLLs.
8521 hardcode_libdir_flag_spec
='-L$libdir'
8522 allow_undefined_flag
=unsupported
8523 always_export_symbols
=no
8524 enable_shared_with_static_runtimes
=yes
8525 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8527 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8529 # If the export-symbols file already is a .def file (1st line
8530 # is EXPORTS), use it as is; otherwise, prepend...
8531 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8532 cp $export_symbols $output_objdir/$soname.def;
8534 echo EXPORTS > $output_objdir/$soname.def;
8535 cat $export_symbols >> $output_objdir/$soname.def;
8537 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8545 hardcode_shlibpath_var
=no
8546 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8547 export_dynamic_flag_spec
='${wl}-E'
8548 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8549 # Instead, shared libraries are loaded at an image base (0x10000000 by
8550 # default) and relocated if they conflict, which is a slow very memory
8551 # consuming and fragmenting process. To avoid this, we pick a random,
8552 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8553 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8554 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8555 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'
8558 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8560 if test "$host_os" = linux-dietlibc
; then
8561 case $cc_basename in
8562 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8565 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8566 && test "$tmp_diet" = no
8569 tmp_sharedflag
='-shared'
8570 case $cc_basename,$host_cpu in
8571 pgcc
*) # Portland Group C compiler
8572 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8573 tmp_addflag
=' $pic_flag'
8575 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8576 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8577 tmp_addflag
=' $pic_flag -Mnomain' ;;
8578 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8579 tmp_addflag
=' -i_dynamic' ;;
8580 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8581 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8582 ifc
* | ifort
*) # Intel Fortran compiler
8583 tmp_addflag
=' -nofor_main' ;;
8584 lf95
*) # Lahey Fortran 8.1
8585 whole_archive_flag_spec
=
8586 tmp_sharedflag
='--shared' ;;
8587 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8588 tmp_sharedflag
='-qmkshrobj'
8591 case `$CC -V 2>&1 | sed 5q` in
8592 *Sun\ C
*) # Sun C 5.9
8593 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8594 compiler_needs_object
=yes
8595 tmp_sharedflag
='-G' ;;
8596 *Sun\ F
*) # Sun Fortran 8.3
8597 tmp_sharedflag
='-G' ;;
8599 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8601 if test "x$supports_anon_versioning" = xyes
; then
8602 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8603 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8604 echo "local: *; };" >> $output_objdir/$libname.ver~
8605 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8608 case $cc_basename in
8610 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8611 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8612 hardcode_libdir_flag_spec
=
8613 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8614 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8615 if test "x$supports_anon_versioning" = xyes
; then
8616 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8617 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8618 echo "local: *; };" >> $output_objdir/$libname.ver~
8619 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8629 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8630 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8633 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8634 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8639 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8643 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8644 *** create shared libraries on Solaris systems. Therefore, libtool
8645 *** is disabling shared libraries support. We urge you to upgrade GNU
8646 *** binutils to release 2.9.1 or newer. Another option is to modify
8647 *** your PATH or compiler configuration so that the native linker is
8648 *** used, and then restart.
8651 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8652 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8653 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8659 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8660 case `$LD -v 2>&1` in
8661 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8665 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8666 *** reliably create shared libraries on SCO systems. Therefore, libtool
8667 *** is disabling shared libraries support. We urge you to upgrade GNU
8668 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8669 *** your PATH or compiler configuration so that the native linker is
8670 *** used, and then restart.
8675 # For security reasons, it is highly recommended that you always
8676 # use absolute paths for naming shared libraries, and exclude the
8677 # DT_RUNPATH tag from executables and libraries. But doing so
8678 # requires that you compile everything twice, which is a pain.
8679 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8680 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8681 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8682 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8691 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8694 hardcode_shlibpath_var
=no
8698 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8699 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8700 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8707 if test "$ld_shlibs" = no
; then
8709 hardcode_libdir_flag_spec
=
8710 export_dynamic_flag_spec
=
8711 whole_archive_flag_spec
=
8714 # PORTME fill in a description of your system's linker (not GNU ld)
8717 allow_undefined_flag
=unsupported
8718 always_export_symbols
=yes
8719 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'
8720 # Note: this linker hardcodes the directories in LIBPATH if there
8721 # are no directories specified by -L.
8722 hardcode_minus_L
=yes
8723 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8724 # Neither direct hardcoding nor static linking is supported with a
8726 hardcode_direct
=unsupported
8731 if test "$host_cpu" = ia64
; then
8732 # On IA64, the linker does run time linking by default, so we don't
8733 # have to do anything special.
8734 aix_use_runtimelinking
=no
8735 exp_sym_flag
='-Bexport'
8738 # If we're using GNU nm, then we don't want the "-C" option.
8739 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8740 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8741 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8743 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'
8745 aix_use_runtimelinking
=no
8747 # Test if we are trying to use run time linking or normal
8748 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8749 # need to do runtime linking.
8750 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8751 for ld_flag
in $LDFLAGS; do
8752 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8753 aix_use_runtimelinking
=yes
8760 exp_sym_flag
='-bexport'
8761 no_entry_flag
='-bnoentry'
8764 # When large executables or shared objects are built, AIX ld can
8765 # have problems creating the table of contents. If linking a library
8766 # or program results in "error TOC overflow" add -mminimal-toc to
8767 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8768 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8772 hardcode_direct_absolute
=yes
8773 hardcode_libdir_separator
=':'
8774 link_all_deplibs
=yes
8775 file_list_spec
='${wl}-f,'
8777 if test "$GCC" = yes; then
8778 case $host_os in aix4.
[012]|aix4.
[012].
*)
8779 # We only want to do this on AIX 4.2 and lower, the check
8780 # below for broken collect2 doesn't work under 4.3+
8781 collect2name
=`${CC} -print-prog-name=collect2`
8782 if test -f "$collect2name" &&
8783 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8785 # We have reworked collect2
8788 # We have old collect2
8789 hardcode_direct
=unsupported
8790 # It fails to find uninstalled libraries when the uninstalled
8791 # path is not listed in the libpath. Setting hardcode_minus_L
8792 # to unsupported forces relinking
8793 hardcode_minus_L
=yes
8794 hardcode_libdir_flag_spec
='-L$libdir'
8795 hardcode_libdir_separator
=
8799 shared_flag
='-shared'
8800 if test "$aix_use_runtimelinking" = yes; then
8801 shared_flag
="$shared_flag "'${wl}-G'
8805 if test "$host_cpu" = ia64
; then
8806 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8807 # chokes on -Wl,-G. The following line is correct:
8810 if test "$aix_use_runtimelinking" = yes; then
8811 shared_flag
='${wl}-G'
8813 shared_flag
='${wl}-bM:SRE'
8818 export_dynamic_flag_spec
='${wl}-bexpall'
8819 # It seems that -bexpall does not export symbols beginning with
8820 # underscore (_), so it is better to generate a list of symbols to export.
8821 always_export_symbols
=yes
8822 if test "$aix_use_runtimelinking" = yes; then
8823 # Warning - without using the other runtime loading flags (-brtl),
8824 # -berok will link without error, but may produce a broken library.
8825 allow_undefined_flag
='-berok'
8826 # Determine the default libpath from the value encoded in an
8828 cat >conftest.
$ac_ext <<_ACEOF
8831 cat confdefs.h
>>conftest.
$ac_ext
8832 cat >>conftest.
$ac_ext <<_ACEOF
8833 /* end confdefs.h. */
8843 rm -f conftest.
$ac_objext conftest
$ac_exeext
8844 if { (ac_try
="$ac_link"
8846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8847 *) ac_try_echo=$ac_try;;
8849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8850 $as_echo "$ac_try_echo") >&5
8851 (eval "$ac_link") 2>conftest.er1
8853 grep -v '^ *+' conftest.er1 >conftest.err
8855 cat conftest.err >&5
8856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } && {
8858 test -z "$ac_c_werror_flag" ||
8859 test ! -s conftest.err
8860 } && test -s conftest$ac_exeext && {
8861 test "$cross_compiling" = yes ||
8862 $as_test_x conftest$ac_exeext
8865 lt_aix_libpath_sed='
8866 /Import File Strings/,/^$/ {
8872 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8873 # Check for a 64-bit object if we didn't find anything.
8874 if test -z "$aix_libpath"; then
8875 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8878 $as_echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.$ac_ext >&5
8884 rm -rf conftest.dSYM
8885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8886 conftest$ac_exeext conftest.$ac_ext
8887 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8889 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8890 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8892 if test "$host_cpu" = ia64; then
8893 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8894 allow_undefined_flag="-z nodefs"
8895 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"
8897 # Determine the default libpath from the value encoded in an
8899 cat >conftest.$ac_ext <<_ACEOF
8902 cat confdefs.h >>conftest.$ac_ext
8903 cat >>conftest.$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8914 rm -f conftest.$ac_objext conftest$ac_exeext
8915 if { (ac_try="$ac_link"
8917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8918 *) ac_try_echo
=$ac_try;;
8920 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8921 $as_echo "$ac_try_echo") >&5
8922 (eval "$ac_link") 2>conftest.er1
8924 grep -v '^ *+' conftest.er1
>conftest.err
8926 cat conftest.err
>&5
8927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } && {
8929 test -z "$ac_c_werror_flag" ||
8930 test ! -s conftest.err
8931 } && test -s conftest
$ac_exeext && {
8932 test "$cross_compiling" = yes ||
8933 $as_test_x conftest
$ac_exeext
8936 lt_aix_libpath_sed
='
8937 /Import File Strings/,/^$/ {
8943 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8944 # Check for a 64-bit object if we didn't find anything.
8945 if test -z "$aix_libpath"; then
8946 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8949 $as_echo "$as_me: failed program was:" >&5
8950 sed 's/^/| /' conftest.
$ac_ext >&5
8955 rm -rf conftest.dSYM
8956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8957 conftest
$ac_exeext conftest.
$ac_ext
8958 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8960 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8961 # Warning - without using the other run time loading flags,
8962 # -berok will link without error, but may produce a broken library.
8963 no_undefined_flag
=' ${wl}-bernotok'
8964 allow_undefined_flag
=' ${wl}-berok'
8965 # Exported symbols can be pulled into shared objects from archives
8966 whole_archive_flag_spec
='$convenience'
8967 archive_cmds_need_lc
=yes
8968 # This is similar to how AIX traditionally builds its shared libraries.
8969 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'
8977 # see comment about AmigaOS4 .so support
8978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979 archive_expsym_cmds
=''
8982 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)'
8983 hardcode_libdir_flag_spec
='-L$libdir'
8984 hardcode_minus_L
=yes
8990 export_dynamic_flag_spec
=-rdynamic
8993 cygwin
* | mingw
* | pw32
* | cegcc
*)
8994 # When not using gcc, we currently assume that we are using
8995 # Microsoft Visual C++.
8996 # hardcode_libdir_flag_spec is actually meaningless, as there is
8997 # no search path for DLLs.
8998 hardcode_libdir_flag_spec
=' '
8999 allow_undefined_flag
=unsupported
9000 # Tell ltmain to make .lib files, not .a files.
9002 # Tell ltmain to make .dll files, not .so files.
9004 # FIXME: Setting linknames here is a bad hack.
9005 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9006 # The linker will automatically build a .lib file if we build a DLL.
9007 old_archive_from_new_cmds
='true'
9008 # FIXME: Should let the user specify the lib program.
9009 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9010 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9011 enable_shared_with_static_runtimes
=yes
9014 darwin
* | rhapsody
*)
9017 archive_cmds_need_lc
=no
9019 hardcode_automatic
=yes
9020 hardcode_shlibpath_var
=unsupported
9021 whole_archive_flag_spec
=''
9022 link_all_deplibs
=yes
9023 allow_undefined_flag
="$_lt_dar_allow_undefined"
9024 case $cc_basename in
9025 ifort
*) _lt_dar_can_shared
=yes ;;
9026 *) _lt_dar_can_shared
=$GCC ;;
9028 if test "$_lt_dar_can_shared" = "yes"; then
9029 output_verbose_link_cmd
=echo
9030 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9031 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9032 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}"
9033 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}"
9042 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9043 hardcode_libdir_flag_spec
='-L$libdir'
9044 hardcode_shlibpath_var
=no
9051 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9052 # support. Future versions do this automatically, but an explicit c++rt0.o
9053 # does not break anything, and helps significantly (at the cost of a little
9056 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9057 hardcode_libdir_flag_spec
='-R$libdir'
9059 hardcode_shlibpath_var
=no
9062 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9064 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9066 hardcode_minus_L
=yes
9067 hardcode_shlibpath_var
=no
9070 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9071 freebsd
* | dragonfly
*)
9072 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9073 hardcode_libdir_flag_spec
='-R$libdir'
9075 hardcode_shlibpath_var
=no
9079 if test "$GCC" = yes; then
9080 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9082 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'
9084 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9085 hardcode_libdir_separator
=:
9088 # hardcode_minus_L: Not really in the search PATH,
9089 # but as the default location of the library.
9090 hardcode_minus_L
=yes
9091 export_dynamic_flag_spec
='${wl}-E'
9095 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9096 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9100 if test "$with_gnu_ld" = no
; then
9101 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9102 hardcode_libdir_flag_spec_ld
='+b $libdir'
9103 hardcode_libdir_separator
=:
9105 hardcode_direct_absolute
=yes
9106 export_dynamic_flag_spec
='${wl}-E'
9107 # hardcode_minus_L: Not really in the search PATH,
9108 # but as the default location of the library.
9109 hardcode_minus_L
=yes
9114 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9117 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9139 if test "$with_gnu_ld" = no
; then
9140 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9141 hardcode_libdir_separator
=:
9146 hardcode_shlibpath_var
=no
9150 hardcode_direct_absolute
=yes
9151 export_dynamic_flag_spec
='${wl}-E'
9153 # hardcode_minus_L: Not really in the search PATH,
9154 # but as the default location of the library.
9155 hardcode_minus_L
=yes
9161 irix5
* | irix6
* | nonstopux
*)
9162 if test "$GCC" = yes; then
9163 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9164 # Try to use the -exported_symbol ld option, if it does not
9165 # work, assume that -exports_file does not work either and
9166 # implicitly export all symbols.
9167 save_LDFLAGS
="$LDFLAGS"
9168 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9169 cat >conftest.
$ac_ext <<_ACEOF
9172 rm -f conftest.
$ac_objext conftest
$ac_exeext
9173 if { (ac_try
="$ac_link"
9175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9176 *) ac_try_echo=$ac_try;;
9178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9179 $as_echo "$ac_try_echo") >&5
9180 (eval "$ac_link") 2>conftest.er1
9182 grep -v '^ *+' conftest.er1 >conftest.err
9184 cat conftest.err >&5
9185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); } && {
9187 test -z "$ac_c_werror_flag" ||
9188 test ! -s conftest.err
9189 } && test -s conftest$ac_exeext && {
9190 test "$cross_compiling" = yes ||
9191 $as_test_x conftest$ac_exeext
9193 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9196 $as_echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9202 rm -rf conftest.dSYM
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LDFLAGS="$save_LDFLAGS"
9207 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9208 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9210 archive_cmds_need_lc='no'
9211 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9212 hardcode_libdir_separator=:
9214 link_all_deplibs=yes
9218 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9219 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9221 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9223 hardcode_libdir_flag_spec='-R$libdir'
9225 hardcode_shlibpath_var=no
9229 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9231 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9232 hardcode_libdir_separator=:
9233 hardcode_shlibpath_var=no
9240 if test -f /usr/libexec/ld.so; then
9242 hardcode_shlibpath_var=no
9243 hardcode_direct_absolute=yes
9244 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9245 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9246 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9247 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9248 export_dynamic_flag_spec='${wl}-E'
9251 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9252 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9253 hardcode_libdir_flag_spec='-R$libdir'
9256 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9267 hardcode_libdir_flag_spec='-L$libdir'
9268 hardcode_minus_L=yes
9269 allow_undefined_flag=unsupported
9270 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'
9271 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9275 if test "$GCC" = yes; then
9276 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9277 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9279 allow_undefined_flag=' -expect_unresolved \*'
9280 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9282 archive_cmds_need_lc='no'
9283 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9284 hardcode_libdir_separator=:
9287 osf4* | osf5*) # as osf3* with the addition of -msym flag
9288 if test "$GCC" = yes; then
9289 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9290 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293 allow_undefined_flag=' -expect_unresolved \*'
9294 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9295 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~
9296 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9298 # Both c and cxx compiler support -rpath directly
9299 hardcode_libdir_flag_spec='-rpath $libdir'
9301 archive_cmds_need_lc='no'
9302 hardcode_libdir_separator=:
9306 no_undefined_flag=' -z defs'
9307 if test "$GCC" = yes; then
9309 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9310 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9311 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9313 case `$CC -V 2>&1` in
9316 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9317 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9318 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9322 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9324 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9328 hardcode_libdir_flag_spec='-R$libdir'
9329 hardcode_shlibpath_var=no
9331 solaris2.[0-5] | solaris2.[0-5].*) ;;
9333 # The compiler driver will combine and reorder linker options,
9334 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9335 # but is careful enough not to reorder.
9336 # Supported since Solaris 2.6 (maybe 2.5.1?)
9337 if test "$GCC" = yes; then
9338 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9340 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9344 link_all_deplibs
=yes
9348 if test "x$host_vendor" = xsequent
; then
9349 # Use $CC to link under sequent, because it throws in some extra .o
9350 # files that make .init and .fini sections work.
9351 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9355 hardcode_libdir_flag_spec
='-L$libdir'
9357 hardcode_minus_L
=yes
9358 hardcode_shlibpath_var
=no
9362 case $host_vendor in
9364 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9365 hardcode_direct
=yes # is this really true???
9368 ## LD is ld it makes a PLAMLIB
9369 ## CC just makes a GrossModule.
9370 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9371 reload_cmds
='$CC -r -o $output$reload_objs'
9375 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9376 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9379 runpath_var
='LD_RUN_PATH'
9380 hardcode_shlibpath_var
=no
9384 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9385 hardcode_shlibpath_var
=no
9386 export_dynamic_flag_spec
='-Bexport'
9390 if test -d /usr
/nec
; then
9391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9392 hardcode_shlibpath_var
=no
9393 runpath_var
=LD_RUN_PATH
9394 hardcode_runpath_var
=yes
9399 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9400 no_undefined_flag
='${wl}-z,text'
9401 archive_cmds_need_lc
=no
9402 hardcode_shlibpath_var
=no
9403 runpath_var
='LD_RUN_PATH'
9405 if test "$GCC" = yes; then
9406 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9410 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 sysv5
* | sco3.2v5
* | sco5v6
*)
9415 # Note: We can NOT use -z defs as we might desire, because we do not
9416 # link with -lc, and that would cause any symbols used from libc to
9417 # always be unresolved, which means just about no library would
9418 # ever link correctly. If we're not using GNU ld we use -z text
9419 # though, which does catch some bad symbols but isn't as heavy-handed
9421 no_undefined_flag
='${wl}-z,text'
9422 allow_undefined_flag
='${wl}-z,nodefs'
9423 archive_cmds_need_lc
=no
9424 hardcode_shlibpath_var
=no
9425 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9426 hardcode_libdir_separator
=':'
9427 link_all_deplibs
=yes
9428 export_dynamic_flag_spec
='${wl}-Bexport'
9429 runpath_var
='LD_RUN_PATH'
9431 if test "$GCC" = yes; then
9432 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9433 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9435 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9442 hardcode_libdir_flag_spec
='-L$libdir'
9443 hardcode_shlibpath_var
=no
9451 if test x
$host_vendor = xsni
; then
9453 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9454 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9460 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9461 $as_echo "$ld_shlibs" >&6; }
9462 test "$ld_shlibs" = no
&& can_build_shared
=no
9464 with_gnu_ld
=$with_gnu_ld
9481 # Do we need to explicitly link libc?
9483 case "x$archive_cmds_need_lc" in
9485 # Assume -lc should be added
9486 archive_cmds_need_lc
=yes
9488 if test "$enable_shared" = yes && test "$GCC" = yes; then
9489 case $archive_cmds in
9491 # FIXME: we may have to deal with multi-command sequences.
9494 # Test whether the compiler implicitly links with -lc since on some
9495 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9496 # to ld, don't add -lc before -lgcc.
9497 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9498 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9503 (eval $ac_compile) 2>&5
9505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } 2>conftest.err
; then
9509 libobjs
=conftest.
$ac_objext
9511 wl
=$lt_prog_compiler_wl
9512 pic_flag
=$lt_prog_compiler_pic
9518 lt_save_allow_undefined_flag
=$allow_undefined_flag
9519 allow_undefined_flag
=
9520 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9521 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); }
9526 archive_cmds_need_lc
=no
9528 archive_cmds_need_lc
=yes
9530 allow_undefined_flag
=$lt_save_allow_undefined_flag
9532 cat conftest.err
1>&5
9535 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9536 $as_echo "$archive_cmds_need_lc" >&6; }
9699 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9700 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9702 if test "$GCC" = yes; then
9704 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9705 *) lt_awk_arg
="/^libraries:/" ;;
9707 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9708 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9709 # if the path contains ";" then we assume it to be the separator
9710 # otherwise default to the standard path separator (i.e. ":") - it is
9711 # assumed that no part of a normal pathname contains ";" but that should
9712 # okay in the real world where ";" in dirpaths is itself problematic.
9713 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9715 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9717 # Ok, now we have the path, separated by spaces, we can step through it
9718 # and add multilib dir if necessary.
9719 lt_tmp_lt_search_path_spec
=
9720 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9721 for lt_sys_path
in $lt_search_path_spec; do
9722 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9723 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9725 test -d "$lt_sys_path" && \
9726 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9729 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9730 BEGIN {RS=" "; FS="/|\n";} {
9733 for (lt_i = NF; lt_i > 0; lt_i--) {
9734 if ($lt_i != "" && $lt_i != ".") {
9735 if ($lt_i == "..") {
9738 if (lt_count == 0) {
9739 lt_foo="/" $lt_i lt_foo;
9746 if (lt_foo != "") { lt_freq[lt_foo]++; }
9747 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9749 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9751 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9754 libname_spec
='lib$name'
9762 shlibpath_overrides_runpath
=unknown
9764 dynamic_linker
="$host_os ld.so"
9765 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9766 need_lib_prefix
=unknown
9767 hardcode_into_libs
=no
9769 # when you set need_version to no, make sure it does not cause -set_version
9770 # flags to be left without arguments
9771 need_version
=unknown
9776 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9777 shlibpath_var
=LIBPATH
9779 # AIX 3 has no versioning support, so we append a major version to the name.
9780 soname_spec
='${libname}${release}${shared_ext}$major'
9787 hardcode_into_libs
=yes
9788 if test "$host_cpu" = ia64
; then
9789 # AIX 5 supports IA64
9790 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9791 shlibpath_var
=LD_LIBRARY_PATH
9793 # With GCC up to 2.95.x, collect2 would create an import file
9794 # for dependence libraries. The import file would start with
9795 # the line `#! .'. This would cause the generated library to
9796 # depend on `.', always an invalid library. This was fixed in
9797 # development snapshots of GCC prior to 3.0.
9799 aix4 | aix4.
[01] | aix4.
[01].
*)
9800 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9802 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9809 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9810 # soname into executable. Probably we can add versioning support to
9811 # collect2, so additional links can be useful in future.
9812 if test "$aix_use_runtimelinking" = yes; then
9813 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9814 # instead of lib<name>.a to let people know that these are not
9815 # typical AIX shared libraries.
9816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9818 # We preserve .a as extension for shared libraries through AIX4.2
9819 # and later when we are not doing run time linking.
9820 library_names_spec
='${libname}${release}.a $libname.a'
9821 soname_spec
='${libname}${release}${shared_ext}$major'
9823 shlibpath_var
=LIBPATH
9830 # Since July 2007 AmigaOS4 officially supports .so libraries.
9831 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9835 library_names_spec
='$libname.ixlibrary $libname.a'
9836 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9837 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9843 library_names_spec
='${libname}${shared_ext}'
9844 dynamic_linker
="$host_os ld.so"
9845 shlibpath_var
=LIBRARY_PATH
9851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9852 soname_spec
='${libname}${release}${shared_ext}$major'
9853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9854 shlibpath_var
=LD_LIBRARY_PATH
9855 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9856 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9857 # the default ld.so.conf also contains /usr/contrib/lib and
9858 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9859 # libtool to hard-code these into programs
9862 cygwin
* | mingw
* | pw32
* | cegcc
*)
9863 version_type
=windows
9868 case $GCC,$host_os in
9869 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9870 library_names_spec
='$libname.dll.a'
9871 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9872 postinstall_cmds
='base_file=`basename \${file}`~
9873 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9874 dldir=$destdir/`dirname \$dlpath`~
9875 test -d \$dldir || mkdir -p \$dldir~
9876 $install_prog $dir/$dlname \$dldir/$dlname~
9877 chmod a+x \$dldir/$dlname~
9878 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9879 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9881 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9882 dlpath=$dir/\$dldll~
9884 shlibpath_overrides_runpath
=yes
9888 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9889 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9890 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9893 # MinGW DLLs use traditional 'lib' prefix
9894 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9895 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9896 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9897 # It is most probably a Windows format PATH printed by
9898 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9899 # path with ; separators, and with drive letters. We can handle the
9900 # drive letters (cygwin fileutils understands them), so leave them,
9901 # especially as we might pass files found there to a mingw objdump,
9902 # which wouldn't understand a cygwinified path. Ahh.
9903 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9905 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9909 # pw32 DLLs use 'pw' prefix rather than 'lib'
9910 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9916 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9919 dynamic_linker
='Win32 ld.exe'
9920 # FIXME: first we should search . and the directory the executable is in
9924 darwin
* | rhapsody
*)
9925 dynamic_linker
="$host_os dyld"
9929 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9930 soname_spec
='${libname}${release}${major}$shared_ext'
9931 shlibpath_overrides_runpath
=yes
9932 shlibpath_var
=DYLD_LIBRARY_PATH
9933 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9935 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9936 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9944 soname_spec
='${libname}${release}${shared_ext}$major'
9945 shlibpath_var
=LD_LIBRARY_PATH
9952 freebsd
* | dragonfly
*)
9953 # DragonFly does not have aout. When/if they implement a new
9954 # versioning mechanism, adjust this.
9955 if test -x /usr
/bin
/objformat
; then
9956 objformat
=`/usr/bin/objformat`
9959 freebsd
[123]*) objformat
=aout
;;
9963 version_type
=freebsd-
$objformat
9964 case $version_type in
9966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9971 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9975 shlibpath_var
=LD_LIBRARY_PATH
9978 shlibpath_overrides_runpath
=yes
9980 freebsd3.
[01]* | freebsdelf3.
[01]*)
9981 shlibpath_overrides_runpath
=yes
9982 hardcode_into_libs
=yes
9984 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9985 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9986 shlibpath_overrides_runpath
=no
9987 hardcode_into_libs
=yes
9989 *) # from 4.6 on, and DragonFly
9990 shlibpath_overrides_runpath
=yes
9991 hardcode_into_libs
=yes
10000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10001 soname_spec
='${libname}${release}${shared_ext}$major'
10002 shlibpath_var
=LD_LIBRARY_PATH
10003 hardcode_into_libs
=yes
10006 hpux9
* | hpux10
* | hpux11
*)
10007 # Give a soname corresponding to the major version so that dld.sl refuses to
10008 # link against other versions.
10015 hardcode_into_libs
=yes
10016 dynamic_linker
="$host_os dld.so"
10017 shlibpath_var
=LD_LIBRARY_PATH
10018 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10020 soname_spec
='${libname}${release}${shared_ext}$major'
10021 if test "X$HPUX_IA64_MODE" = X32
; then
10022 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10024 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10026 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10030 hardcode_into_libs
=yes
10031 dynamic_linker
="$host_os dld.sl"
10032 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10033 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10035 soname_spec
='${libname}${release}${shared_ext}$major'
10036 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10037 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10041 dynamic_linker
="$host_os dld.sl"
10042 shlibpath_var
=SHLIB_PATH
10043 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10045 soname_spec
='${libname}${release}${shared_ext}$major'
10048 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10049 postinstall_cmds
='chmod 555 $lib'
10056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10057 soname_spec
='${libname}${release}${shared_ext}$major'
10058 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10059 shlibpath_var
=LD_LIBRARY_PATH
10060 shlibpath_overrides_runpath
=no
10061 hardcode_into_libs
=yes
10064 irix5
* | irix6
* | nonstopux
*)
10066 nonstopux
*) version_type
=nonstopux
;;
10068 if test "$lt_cv_prog_gnu_ld" = yes; then
10076 soname_spec
='${libname}${release}${shared_ext}$major'
10077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10079 irix5
* | nonstopux
*)
10080 libsuff
= shlibsuff
=
10083 case $LD in # libtool.m4 will add one of these switches to LD
10084 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10085 libsuff
= shlibsuff
= libmagic
=32-bit;;
10086 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10087 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10088 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10089 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10090 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10094 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10095 shlibpath_overrides_runpath
=no
10096 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10097 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10098 hardcode_into_libs
=yes
10101 # No shared lib support for Linux oldld, aout, or coff.
10102 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10106 # This must be Linux ELF.
10107 linux
* | k
*bsd
*-gnu)
10111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112 soname_spec
='${libname}${release}${shared_ext}$major'
10113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10114 shlibpath_var
=LD_LIBRARY_PATH
10115 shlibpath_overrides_runpath
=no
10116 # Some binutils ld are patched to set DT_RUNPATH
10117 save_LDFLAGS
=$LDFLAGS
10118 save_libdir
=$libdir
10119 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10120 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10121 cat >conftest.
$ac_ext <<_ACEOF
10124 cat confdefs.h
>>conftest.
$ac_ext
10125 cat >>conftest.
$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10136 rm -f conftest.
$ac_objext conftest
$ac_exeext
10137 if { (ac_try
="$ac_link"
10138 case "(($ac_try" in
10139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10140 *) ac_try_echo=$ac_try;;
10142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10143 $as_echo "$ac_try_echo") >&5
10144 (eval "$ac_link") 2>conftest.er1
10146 grep -v '^ *+' conftest.er1 >conftest.err
10148 cat conftest.err >&5
10149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); } && {
10151 test -z "$ac_c_werror_flag" ||
10152 test ! -s conftest.err
10153 } && test -s conftest$ac_exeext && {
10154 test "$cross_compiling" = yes ||
10155 $as_test_x conftest$ac_exeext
10157 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10158 shlibpath_overrides_runpath=yes
10162 $as_echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10168 rm -rf conftest.dSYM
10169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LDFLAGS=$save_LDFLAGS
10172 libdir=$save_libdir
10174 # This implies no fast_install, which is unacceptable.
10175 # Some rework will be needed to allow for fast_install
10176 # before this can be enabled.
10177 hardcode_into_libs=yes
10179 # Add ABI-specific directories to the system library path.
10180 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10182 # Append ld.so.conf contents to the search path
10183 if test -f /etc/ld.so.conf; then
10184 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;/^$/d' |
tr '\n' ' '`
10185 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10188 # We used to test for /lib/ld.so.1 and disable shared libraries on
10189 # powerpc, because MkLinux only supported shared libraries with the
10190 # GNU dynamic linker. Since this was broken with cross compilers,
10191 # most powerpc-linux boxes support dynamic linking these days and
10192 # people can always --disable-shared, the test was removed, and we
10193 # assume the GNU/Linux dynamic linker is in use.
10194 dynamic_linker='GNU/Linux ld.so'
10201 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10203 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10204 dynamic_linker='NetBSD (a.out) ld.so'
10206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10207 soname_spec='${libname}${release}${shared_ext}$major'
10208 dynamic_linker='NetBSD ld.elf_so'
10210 shlibpath_var=LD_LIBRARY_PATH
10211 shlibpath_overrides_runpath=yes
10212 hardcode_into_libs=yes
10217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218 shlibpath_var=LD_LIBRARY_PATH
10219 shlibpath_overrides_runpath=yes
10226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10227 soname_spec='${libname}${release}${shared_ext}$major'
10228 shlibpath_var=LD_LIBRARY_PATH
10229 shlibpath_overrides_runpath=no
10230 hardcode_into_libs=yes
10231 dynamic_linker='ldqnx.so'
10236 sys_lib_dlsearch_path_spec="/usr/lib"
10238 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10240 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10241 *) need_version=no ;;
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10244 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10245 shlibpath_var=LD_LIBRARY_PATH
10246 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10248 openbsd2.[89] | openbsd2.[89].*)
10249 shlibpath_overrides_runpath=no
10252 shlibpath_overrides_runpath=yes
10256 shlibpath_overrides_runpath=yes
10261 libname_spec='$name'
10264 library_names_spec='$libname${shared_ext} $libname.a'
10265 dynamic_linker='OS/2 ld.exe'
10266 shlibpath_var=LIBPATH
10269 osf3* | osf4* | osf5*)
10273 soname_spec='${libname}${release}${shared_ext}$major'
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275 shlibpath_var=LD_LIBRARY_PATH
10276 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10277 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 shlibpath_var=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath=yes
10292 hardcode_into_libs=yes
10293 # ldd complains unless libraries are executable
10294 postinstall_cmds='chmod +x $lib'
10299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10300 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10301 shlibpath_var=LD_LIBRARY_PATH
10302 shlibpath_overrides_runpath=yes
10303 if test "$with_gnu_ld" = yes; then
10311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10312 soname_spec='${libname}${release}${shared_ext}$major'
10313 shlibpath_var=LD_LIBRARY_PATH
10314 case $host_vendor in
10316 shlibpath_overrides_runpath=no
10318 runpath_var=LD_RUN_PATH
10326 shlibpath_overrides_runpath=no
10327 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10333 if test -d /usr/nec ;then
10335 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10336 soname_spec='$libname${shared_ext}.$major'
10337 shlibpath_var=LD_LIBRARY_PATH
10341 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10342 version_type=freebsd-elf
10345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10346 soname_spec='${libname}${release}${shared_ext}$major'
10347 shlibpath_var=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath=yes
10349 hardcode_into_libs=yes
10350 if test "$with_gnu_ld" = yes; then
10351 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10353 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10356 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10360 sys_lib_dlsearch_path_spec='/usr/lib'
10364 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 shlibpath_var=LD_LIBRARY_PATH
10370 shlibpath_overrides_runpath=no
10371 hardcode_into_libs=yes
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10377 soname_spec='${libname}${release}${shared_ext}$major'
10378 shlibpath_var=LD_LIBRARY_PATH
10385 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10386 $as_echo "$dynamic_linker" >&6; }
10387 test "$dynamic_linker" = no && can_build_shared=no
10389 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10390 if test "$GCC" = yes; then
10391 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10394 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10395 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10397 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10398 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10487 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10488 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10490 if test -n "$hardcode_libdir_flag_spec" ||
10491 test -n "$runpath_var" ||
10492 test "X$hardcode_automatic" = "Xyes" ; then
10494 # We can hardcode non-existent directories.
10495 if test "$hardcode_direct" != no &&
10496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10497 # have to relink, otherwise we might link with an installed library
10498 # when we should be linking with a yet-to-be-installed one
10499 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10500 test "$hardcode_minus_L" != no; then
10501 # Linking always hardcodes the temporary library directory.
10502 hardcode_action=relink
10504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10505 hardcode_action=immediate
10508 # We cannot hardcode anything, or else we can only hardcode existing
10510 hardcode_action=unsupported
10512 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10513 $as_echo "$hardcode_action" >&6; }
10515 if test "$hardcode_action" = relink ||
10516 test "$inherit_rpath" = yes; then
10517 # Fast installation is not supported
10518 enable_fast_install=no
10519 elif test "$shlibpath_overrides_runpath" = yes ||
10520 test "$enable_shared" = no; then
10521 # Fast installation is not necessary
10522 enable_fast_install=needless
10530 if test "x$enable_dlopen" != xyes; then
10531 enable_dlopen=unknown
10532 enable_dlopen_self=unknown
10533 enable_dlopen_self_static=unknown
10540 lt_cv_dlopen="load_add_on"
10542 lt_cv_dlopen_self=yes
10545 mingw* | pw32* | cegcc*)
10546 lt_cv_dlopen="LoadLibrary"
10551 lt_cv_dlopen="dlopen"
10556 # if libdl is installed we need to link against it
10557 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10558 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10559 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10560 $as_echo_n "(cached) " >&6
10562 ac_check_lib_save_LIBS=$LIBS
10564 cat >conftest.$ac_ext <<_ACEOF
10567 cat confdefs.h >>conftest.$ac_ext
10568 cat >>conftest.$ac_ext <<_ACEOF
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10586 rm -f conftest.$ac_objext conftest$ac_exeext
10587 if { (ac_try="$ac_link"
10588 case "(($ac_try" in
10589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10590 *) ac_try_echo
=$ac_try;;
10592 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10593 $as_echo "$ac_try_echo") >&5
10594 (eval "$ac_link") 2>conftest.er1
10596 grep -v '^ *+' conftest.er1
>conftest.err
10598 cat conftest.err
>&5
10599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } && {
10601 test -z "$ac_c_werror_flag" ||
10602 test ! -s conftest.err
10603 } && test -s conftest
$ac_exeext && {
10604 test "$cross_compiling" = yes ||
10605 $as_test_x conftest
$ac_exeext
10607 ac_cv_lib_dl_dlopen
=yes
10609 $as_echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.
$ac_ext >&5
10612 ac_cv_lib_dl_dlopen
=no
10615 rm -rf conftest.dSYM
10616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10617 conftest
$ac_exeext conftest.
$ac_ext
10618 LIBS
=$ac_check_lib_save_LIBS
10620 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10621 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10622 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10623 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10626 lt_cv_dlopen
="dyld"
10628 lt_cv_dlopen_self
=yes
10635 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10636 $as_echo_n "checking for shl_load... " >&6; }
10637 if test "${ac_cv_func_shl_load+set}" = set; then
10638 $as_echo_n "(cached) " >&6
10640 cat >conftest.
$ac_ext <<_ACEOF
10643 cat confdefs.h
>>conftest.
$ac_ext
10644 cat >>conftest.
$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10646 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10648 #define shl_load innocuous_shl_load
10650 /* System header to define __stub macros and hopefully few prototypes,
10651 which can conflict with char shl_load (); below.
10652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10653 <limits.h> exists even on freestanding compilers. */
10656 # include <limits.h>
10658 # include <assert.h>
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10670 /* The GNU C library defines this for functions which it implements
10671 to always fail with ENOSYS. Some functions are actually named
10672 something starting with __ and the normal name is an alias. */
10673 #if defined __stub_shl_load || defined __stub___shl_load
10680 return shl_load ();
10685 rm -f conftest.
$ac_objext conftest
$ac_exeext
10686 if { (ac_try
="$ac_link"
10687 case "(($ac_try" in
10688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10692 $as_echo "$ac_try_echo") >&5
10693 (eval "$ac_link") 2>conftest.er1
10695 grep -v '^ *+' conftest.er1 >conftest.err
10697 cat conftest.err >&5
10698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } && {
10700 test -z "$ac_c_werror_flag" ||
10701 test ! -s conftest.err
10702 } && test -s conftest$ac_exeext && {
10703 test "$cross_compiling" = yes ||
10704 $as_test_x conftest$ac_exeext
10706 ac_cv_func_shl_load=yes
10708 $as_echo "$as_me: failed program was:" >&5
10709 sed 's/^/| /' conftest.$ac_ext >&5
10711 ac_cv_func_shl_load=no
10714 rm -rf conftest.dSYM
10715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10716 conftest$ac_exeext conftest.$ac_ext
10718 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10719 $as_echo "$ac_cv_func_shl_load" >&6; }
10720 if test "x$ac_cv_func_shl_load" = x""yes; then
10721 lt_cv_dlopen="shl_load"
10723 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10724 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10725 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10726 $as_echo_n "(cached) " >&6
10728 ac_check_lib_save_LIBS=$LIBS
10730 cat >conftest.$ac_ext <<_ACEOF
10733 cat confdefs.h >>conftest.$ac_ext
10734 cat >>conftest.$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10747 return shl_load ();
10752 rm -f conftest.$ac_objext conftest$ac_exeext
10753 if { (ac_try="$ac_link"
10754 case "(($ac_try" in
10755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10756 *) ac_try_echo
=$ac_try;;
10758 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10759 $as_echo "$ac_try_echo") >&5
10760 (eval "$ac_link") 2>conftest.er1
10762 grep -v '^ *+' conftest.er1
>conftest.err
10764 cat conftest.err
>&5
10765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } && {
10767 test -z "$ac_c_werror_flag" ||
10768 test ! -s conftest.err
10769 } && test -s conftest
$ac_exeext && {
10770 test "$cross_compiling" = yes ||
10771 $as_test_x conftest
$ac_exeext
10773 ac_cv_lib_dld_shl_load
=yes
10775 $as_echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.
$ac_ext >&5
10778 ac_cv_lib_dld_shl_load
=no
10781 rm -rf conftest.dSYM
10782 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10783 conftest
$ac_exeext conftest.
$ac_ext
10784 LIBS
=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10787 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10788 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10789 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10791 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10792 $as_echo_n "checking for dlopen... " >&6; }
10793 if test "${ac_cv_func_dlopen+set}" = set; then
10794 $as_echo_n "(cached) " >&6
10796 cat >conftest.
$ac_ext <<_ACEOF
10799 cat confdefs.h
>>conftest.
$ac_ext
10800 cat >>conftest.
$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10802 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10804 #define dlopen innocuous_dlopen
10806 /* System header to define __stub macros and hopefully few prototypes,
10807 which can conflict with char dlopen (); below.
10808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10809 <limits.h> exists even on freestanding compilers. */
10812 # include <limits.h>
10814 # include <assert.h>
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10826 /* The GNU C library defines this for functions which it implements
10827 to always fail with ENOSYS. Some functions are actually named
10828 something starting with __ and the normal name is an alias. */
10829 #if defined __stub_dlopen || defined __stub___dlopen
10841 rm -f conftest.
$ac_objext conftest
$ac_exeext
10842 if { (ac_try
="$ac_link"
10843 case "(($ac_try" in
10844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10845 *) ac_try_echo=$ac_try;;
10847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10848 $as_echo "$ac_try_echo") >&5
10849 (eval "$ac_link") 2>conftest.er1
10851 grep -v '^ *+' conftest.er1 >conftest.err
10853 cat conftest.err >&5
10854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } && {
10856 test -z "$ac_c_werror_flag" ||
10857 test ! -s conftest.err
10858 } && test -s conftest$ac_exeext && {
10859 test "$cross_compiling" = yes ||
10860 $as_test_x conftest$ac_exeext
10862 ac_cv_func_dlopen=yes
10864 $as_echo "$as_me: failed program was:" >&5
10865 sed 's/^/| /' conftest.$ac_ext >&5
10867 ac_cv_func_dlopen=no
10870 rm -rf conftest.dSYM
10871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10872 conftest$ac_exeext conftest.$ac_ext
10874 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10875 $as_echo "$ac_cv_func_dlopen" >&6; }
10876 if test "x$ac_cv_func_dlopen" = x""yes; then
10877 lt_cv_dlopen="dlopen"
10879 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10880 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10882 $as_echo_n "(cached) " >&6
10884 ac_check_lib_save_LIBS=$LIBS
10886 cat >conftest.$ac_ext <<_ACEOF
10889 cat confdefs.h >>conftest.$ac_ext
10890 cat >>conftest.$ac_ext <<_ACEOF
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10908 rm -f conftest.$ac_objext conftest$ac_exeext
10909 if { (ac_try="$ac_link"
10910 case "(($ac_try" in
10911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10912 *) ac_try_echo
=$ac_try;;
10914 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10915 $as_echo "$ac_try_echo") >&5
10916 (eval "$ac_link") 2>conftest.er1
10918 grep -v '^ *+' conftest.er1
>conftest.err
10920 cat conftest.err
>&5
10921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); } && {
10923 test -z "$ac_c_werror_flag" ||
10924 test ! -s conftest.err
10925 } && test -s conftest
$ac_exeext && {
10926 test "$cross_compiling" = yes ||
10927 $as_test_x conftest
$ac_exeext
10929 ac_cv_lib_dl_dlopen
=yes
10931 $as_echo "$as_me: failed program was:" >&5
10932 sed 's/^/| /' conftest.
$ac_ext >&5
10934 ac_cv_lib_dl_dlopen
=no
10937 rm -rf conftest.dSYM
10938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10939 conftest
$ac_exeext conftest.
$ac_ext
10940 LIBS
=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10943 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10944 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10945 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10947 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10948 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10949 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10950 $as_echo_n "(cached) " >&6
10952 ac_check_lib_save_LIBS
=$LIBS
10953 LIBS
="-lsvld $LIBS"
10954 cat >conftest.
$ac_ext <<_ACEOF
10957 cat confdefs.h
>>conftest.
$ac_ext
10958 cat >>conftest.
$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10976 rm -f conftest.
$ac_objext conftest
$ac_exeext
10977 if { (ac_try
="$ac_link"
10978 case "(($ac_try" in
10979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10980 *) ac_try_echo=$ac_try;;
10982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10983 $as_echo "$ac_try_echo") >&5
10984 (eval "$ac_link") 2>conftest.er1
10986 grep -v '^ *+' conftest.er1 >conftest.err
10988 cat conftest.err >&5
10989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } && {
10991 test -z "$ac_c_werror_flag" ||
10992 test ! -s conftest.err
10993 } && test -s conftest$ac_exeext && {
10994 test "$cross_compiling" = yes ||
10995 $as_test_x conftest$ac_exeext
10997 ac_cv_lib_svld_dlopen=yes
10999 $as_echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.$ac_ext >&5
11002 ac_cv_lib_svld_dlopen=no
11005 rm -rf conftest.dSYM
11006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11011 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11012 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11013 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11015 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11016 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11017 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11018 $as_echo_n "(cached) " >&6
11020 ac_check_lib_save_LIBS=$LIBS
11022 cat >conftest.$ac_ext <<_ACEOF
11025 cat confdefs.h >>conftest.$ac_ext
11026 cat >>conftest.$ac_ext <<_ACEOF
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11039 return dld_link ();
11044 rm -f conftest.$ac_objext conftest$ac_exeext
11045 if { (ac_try="$ac_link"
11046 case "(($ac_try" in
11047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11048 *) ac_try_echo
=$ac_try;;
11050 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11051 $as_echo "$ac_try_echo") >&5
11052 (eval "$ac_link") 2>conftest.er1
11054 grep -v '^ *+' conftest.er1
>conftest.err
11056 cat conftest.err
>&5
11057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest
$ac_exeext && {
11062 test "$cross_compiling" = yes ||
11063 $as_test_x conftest
$ac_exeext
11065 ac_cv_lib_dld_dld_link
=yes
11067 $as_echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.
$ac_ext >&5
11070 ac_cv_lib_dld_dld_link
=no
11073 rm -rf conftest.dSYM
11074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LIBS
=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11079 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11080 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11081 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11102 if test "x$lt_cv_dlopen" != xno
; then
11108 case $lt_cv_dlopen in
11110 save_CPPFLAGS
="$CPPFLAGS"
11111 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11113 save_LDFLAGS
="$LDFLAGS"
11114 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11117 LIBS
="$lt_cv_dlopen_libs $LIBS"
11119 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11120 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11121 if test "${lt_cv_dlopen_self+set}" = set; then
11122 $as_echo_n "(cached) " >&6
11124 if test "$cross_compiling" = yes; then :
11125 lt_cv_dlopen_self
=cross
11127 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11128 lt_status
=$lt_dlunknown
11129 cat > conftest.
$ac_ext <<_LT_EOF
11130 #line 11130 "configure"
11131 #include "confdefs.h"
11140 # define LT_DLGLOBAL RTLD_GLOBAL
11143 # define LT_DLGLOBAL DL_GLOBAL
11145 # define LT_DLGLOBAL 0
11149 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11150 find out it does not work in some platform. */
11151 #ifndef LT_DLLAZY_OR_NOW
11153 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11156 # define LT_DLLAZY_OR_NOW DL_LAZY
11159 # define LT_DLLAZY_OR_NOW RTLD_NOW
11162 # define LT_DLLAZY_OR_NOW DL_NOW
11164 # define LT_DLLAZY_OR_NOW 0
11171 void fnord() { int i=42;}
11174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11175 int status = $lt_dlunknown;
11179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11180 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11181 /* dlclose (self); */
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190 (eval $ac_link) 2>&5
11192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11194 (.
/conftest
; exit; ) >&5 2>/dev
/null
11196 case x
$lt_status in
11197 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11198 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11199 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11202 # compilation failed
11203 lt_cv_dlopen_self
=no
11210 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11211 $as_echo "$lt_cv_dlopen_self" >&6; }
11213 if test "x$lt_cv_dlopen_self" = xyes
; then
11214 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11215 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11216 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11217 if test "${lt_cv_dlopen_self_static+set}" = set; then
11218 $as_echo_n "(cached) " >&6
11220 if test "$cross_compiling" = yes; then :
11221 lt_cv_dlopen_self_static
=cross
11223 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11224 lt_status
=$lt_dlunknown
11225 cat > conftest.
$ac_ext <<_LT_EOF
11226 #line 11226 "configure"
11227 #include "confdefs.h"
11236 # define LT_DLGLOBAL RTLD_GLOBAL
11239 # define LT_DLGLOBAL DL_GLOBAL
11241 # define LT_DLGLOBAL 0
11245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246 find out it does not work in some platform. */
11247 #ifndef LT_DLLAZY_OR_NOW
11249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11252 # define LT_DLLAZY_OR_NOW DL_LAZY
11255 # define LT_DLLAZY_OR_NOW RTLD_NOW
11258 # define LT_DLLAZY_OR_NOW DL_NOW
11260 # define LT_DLLAZY_OR_NOW 0
11267 void fnord() { int i=42;}
11270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271 int status = $lt_dlunknown;
11275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11276 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11277 /* dlclose (self); */
11285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11286 (eval $ac_link) 2>&5
11288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11290 (.
/conftest
; exit; ) >&5 2>/dev
/null
11292 case x
$lt_status in
11293 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11294 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11295 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11298 # compilation failed
11299 lt_cv_dlopen_self_static
=no
11306 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11307 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11310 CPPFLAGS
="$save_CPPFLAGS"
11311 LDFLAGS
="$save_LDFLAGS"
11316 case $lt_cv_dlopen_self in
11317 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11318 *) enable_dlopen_self
=unknown
;;
11321 case $lt_cv_dlopen_self_static in
11322 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11323 *) enable_dlopen_self_static
=unknown
;;
11345 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11346 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11347 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11348 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11349 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11350 { $as_echo "$as_me:$LINENO: result: yes" >&5
11351 $as_echo "yes" >&6; }
11353 # FIXME - insert some real tests, host_os isn't really good enough
11356 if test -n "$STRIP" ; then
11357 striplib
="$STRIP -x"
11358 old_striplib
="$STRIP -S"
11359 { $as_echo "$as_me:$LINENO: result: yes" >&5
11360 $as_echo "yes" >&6; }
11362 { $as_echo "$as_me:$LINENO: result: no" >&5
11363 $as_echo "no" >&6; }
11367 { $as_echo "$as_me:$LINENO: result: no" >&5
11368 $as_echo "no" >&6; }
11384 # Report which library types will actually be built
11385 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11386 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11387 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11388 $as_echo "$can_build_shared" >&6; }
11390 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11391 $as_echo_n "checking whether to build shared libraries... " >&6; }
11392 test "$can_build_shared" = "no" && enable_shared
=no
11394 # On AIX, shared libraries and static libraries use the same namespace, and
11395 # are all built from PIC.
11398 test "$enable_shared" = yes && enable_static
=no
11399 if test -n "$RANLIB"; then
11400 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11401 postinstall_cmds
='$RANLIB $lib'
11406 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11407 test "$enable_shared" = yes && enable_static
=no
11411 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11412 $as_echo "$enable_shared" >&6; }
11414 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11415 $as_echo_n "checking whether to build static libraries... " >&6; }
11416 # Make sure either enable_shared or enable_static is yes.
11417 test "$enable_shared" = yes || enable_static
=yes
11418 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11419 $as_echo "$enable_static" >&6; }
11426 ac_cpp
='$CPP $CPPFLAGS'
11427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11445 ac_config_commands
="$ac_config_commands libtool"
11450 # Only expand once:
11455 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11456 $as_echo_n "checking spl license... " >&6; }
11458 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11459 $as_echo "$LICENSE" >&6; }
11460 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11466 # Check whether --with-config was given.
11467 if test "${with_config+set}" = set; then
11468 withval
=$with_config; SPL_CONFIG
="$withval"
11472 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11473 $as_echo_n "checking spl config... " >&6; }
11474 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11475 $as_echo "$SPL_CONFIG" >&6; };
11478 case "$SPL_CONFIG" in
11482 # Check whether --with-linux was given.
11483 if test "${with_linux+set}" = set; then
11484 withval
=$with_linux; kernelsrc
="$withval"
11489 # Check whether --with-linux-obj was given.
11490 if test "${with_linux_obj+set}" = set; then
11491 withval
=$with_linux_obj; kernelbuild
="$withval"
11495 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11496 $as_echo_n "checking kernel source directory... " >&6; }
11497 if test -z "$kernelsrc"; then
11498 headersdir
="/lib/modules/$(uname -r)/build"
11499 if test -e "$headersdir"; then
11500 sourcelink
=$
(readlink
-f "$headersdir")
11502 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11504 2>/dev
/null |
grep -v obj |
tail -1)
11507 if test -n "$sourcelink" && test -e ${sourcelink}; then
11508 kernelsrc
=`readlink -f ${sourcelink}`
11510 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11511 $as_echo "Not found" >&6; }
11512 { { $as_echo "$as_me:$LINENO: error:
11513 *** Please make sure the kernel devel package for your distribution
11514 *** is installed then try again. If that fails you can specify the
11515 *** location of the kernel source with the '--with-linux=PATH' option." >&5
11516 $as_echo "$as_me: error:
11517 *** Please make sure the kernel devel package for your distribution
11518 *** is installed then try again. If that fails you can specify the
11519 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
11520 { (exit 1); exit 1; }; }
11523 if test "$kernelsrc" = "NONE"; then
11528 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11529 $as_echo "$kernelsrc" >&6; }
11530 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11531 $as_echo_n "checking kernel build directory... " >&6; }
11532 if test -z "$kernelbuild"; then
11533 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
11534 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
11535 elif test -d ${kernelsrc}-obj/`arch`/default
; then
11536 kernelbuild
=${kernelsrc}-obj/`arch`/default
11537 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
11538 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
11540 kernelbuild
=${kernelsrc}
11543 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11544 $as_echo "$kernelbuild" >&6; }
11546 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11547 $as_echo_n "checking kernel source version... " >&6; }
11548 utsrelease1
=$kernelbuild/include
/linux
/version.h
11549 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11550 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11551 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11552 utsrelease
=linux
/version.h
11553 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11554 utsrelease
=linux
/utsrelease.h
11555 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11556 utsrelease
=generated
/utsrelease.h
11559 if test "$utsrelease"; then
11560 kernsrcver
=`(echo "#include <$utsrelease>";
11561 echo "kernsrcver=UTS_RELEASE") |
11562 cpp -I $kernelbuild/include |
11563 grep "^kernsrcver=" | cut -d \" -f 2`
11565 if test -z "$kernsrcver"; then
11566 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11567 $as_echo "Not found" >&6; }
11568 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11569 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11570 { (exit 1); exit 1; }; }
11573 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11574 $as_echo "Not found" >&6; }
11575 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11576 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11577 { (exit 1); exit 1; }; }
11580 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11581 $as_echo "$kernsrcver" >&6; }
11584 LINUX_OBJ
=${kernelbuild}
11585 LINUX_VERSION
=${kernsrcver}
11592 modpost
=$LINUX/scripts
/Makefile.modpost
11593 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11594 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11595 if test -f "$modpost"; then
11596 if grep -q Modules.symvers
$modpost; then
11597 LINUX_SYMBOLS
=Modules.symvers
11599 LINUX_SYMBOLS
=Module.symvers
11604 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11605 $as_echo "$LINUX_SYMBOLS" >&6; }
11610 abs_srcdir
=`readlink -f ${srcdir}`
11611 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11612 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
11613 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
11615 if test "${LINUX_OBJ}" != "${LINUX}"; then
11616 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11623 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11624 $as_echo_n "checking whether debugging is enabled... " >&6; }
11625 # Check whether --enable-debug was given.
11626 if test "${enable_debug+set}" = set; then
11627 enableval
=$enable_debug;
11633 if test "x$enable_debug" = xyes
; then
11635 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11636 DEBUG_CFLAGS
="-DDEBUG -Werror"
11640 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11641 DEBUG_CFLAGS
="-DNDEBUG"
11647 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
11648 $as_echo "$enable_debug" >&6; }
11651 # Check whether --enable-debug-kmem was given.
11652 if test "${enable_debug_kmem+set}" = set; then
11653 enableval
=$enable_debug_kmem;
11655 enable_debug_kmem
=yes
11659 if test "x$enable_debug_kmem" = xyes
; then
11661 cat >>confdefs.h
<<\_ACEOF
11662 #define DEBUG_KMEM 1
11665 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11669 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
11670 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11671 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
11672 $as_echo "$enable_debug_kmem" >&6; }
11675 # Check whether --enable-debug-kmem-tracking was given.
11676 if test "${enable_debug_kmem_tracking+set}" = set; then
11677 enableval
=$enable_debug_kmem_tracking;
11679 enable_debug_kmem_tracking
=no
11683 if test "x$enable_debug_kmem_tracking" = xyes
; then
11685 cat >>confdefs.h
<<\_ACEOF
11686 #define DEBUG_KMEM_TRACKING 1
11689 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11693 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
11694 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11695 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
11696 $as_echo "$enable_debug_kmem_tracking" >&6; }
11699 # Check whether --enable-atomic-spinlocks was given.
11700 if test "${enable_atomic_spinlocks+set}" = set; then
11701 enableval
=$enable_atomic_spinlocks;
11703 enable_atomic_spinlocks
=check
11709 cat >conftest.c
<<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11717 #include <asm/atomic.h>
11732 rm -Rf build
&& mkdir
-p build
11733 echo "obj-m := conftest.o" >build
/Makefile
11734 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11746 have_atomic64_t
=yes
11748 cat >>confdefs.h
<<\_ACEOF
11749 #define HAVE_ATOMIC64_T 1
11754 $as_echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.
$ac_ext >&5
11767 if test "x$enable_atomic_spinlocks" = xcheck
; then
11769 if test "x$have_atomic64_t" = xyes
; then
11771 enable_atomic_spinlocks
=no
11775 enable_atomic_spinlocks
=yes
11783 if test "x$enable_atomic_spinlocks" = xyes
; then
11786 cat >>confdefs.h
<<\_ACEOF
11787 #define ATOMIC_SPINLOCK 1
11793 if test "x$have_atomic64_t" = xno
; then
11795 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11797 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11798 See \`config.log' for more details." >&5
11799 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11800 See \`config.log' for more details." >&2;}
11801 { (exit 1); exit 1; }; }; }
11809 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
11810 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11811 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
11812 $as_echo "$enable_atomic_spinlocks" >&6; }
11814 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
11815 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11816 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
11817 $as_echo "$have_atomic64_t" >&6; }
11819 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
11820 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
11823 cat >conftest.c
<<_ACEOF
11826 cat confdefs.h
>>conftest.
$ac_ext
11827 cat >>conftest.
$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11831 #include <asm/atomic.h>
11837 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
11846 rm -Rf build
&& mkdir
-p build
11847 echo "obj-m := conftest.o" >build
/Makefile
11848 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11860 { $as_echo "$as_me:$LINENO: result: yes" >&5
11861 $as_echo "yes" >&6; }
11863 cat >>confdefs.h
<<\_ACEOF
11864 #define HAVE_ATOMIC64_CMPXCHG 1
11869 $as_echo "$as_me: failed program was:" >&5
11870 sed 's/^/| /' conftest.
$ac_ext >&5
11872 { $as_echo "$as_me:$LINENO: result: no" >&5
11873 $as_echo "no" >&6; }
11883 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
11884 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
11887 cat >conftest.c
<<_ACEOF
11890 cat confdefs.h
>>conftest.
$ac_ext
11891 cat >>conftest.
$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11895 #include <asm/atomic.h>
11901 atomic64_xchg((atomic64_t *)NULL, 0);
11910 rm -Rf build
&& mkdir
-p build
11911 echo "obj-m := conftest.o" >build
/Makefile
11912 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11924 { $as_echo "$as_me:$LINENO: result: yes" >&5
11925 $as_echo "yes" >&6; }
11927 cat >>confdefs.h
<<\_ACEOF
11928 #define HAVE_ATOMIC64_XCHG 1
11933 $as_echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11936 { $as_echo "$as_me:$LINENO: result: no" >&5
11937 $as_echo "no" >&6; }
11947 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
11948 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
11951 cat >conftest.c
<<_ACEOF
11954 cat confdefs.h
>>conftest.
$ac_ext
11955 cat >>conftest.
$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11959 #include <linux/types.h>
11974 rm -Rf build
&& mkdir
-p build
11975 echo "obj-m := conftest.o" >build
/Makefile
11976 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then
11988 { $as_echo "$as_me:$LINENO: result: yes" >&5
11989 $as_echo "yes" >&6; }
11991 cat >>confdefs.h
<<\_ACEOF
11992 #define HAVE_UINTPTR_T 1
11997 $as_echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.
$ac_ext >&5
12000 { $as_echo "$as_me:$LINENO: result: no" >&5
12001 $as_echo "no" >&6; }
12011 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12012 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12015 cat >conftest.c
<<_ACEOF
12018 cat confdefs.h
>>conftest.
$ac_ext
12019 cat >>conftest.
$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12023 #include <linux/workqueue.h>
12029 struct work_struct work;
12030 INIT_WORK(&work, NULL, NULL);
12039 rm -Rf build
&& mkdir
-p build
12040 echo "obj-m := conftest.o" >build
/Makefile
12041 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12048 (eval $ac_try) 2>&5
12050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); }; }; then
12053 { $as_echo "$as_me:$LINENO: result: yes" >&5
12054 $as_echo "yes" >&6; }
12056 cat >>confdefs.h
<<\_ACEOF
12057 #define HAVE_3ARGS_INIT_WORK 1
12062 $as_echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 { $as_echo "$as_me:$LINENO: result: no" >&5
12066 $as_echo "no" >&6; }
12076 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12077 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12080 cat >conftest.c
<<_ACEOF
12083 cat confdefs.h
>>conftest.
$ac_ext
12084 cat >>conftest.
$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12088 #include <linux/sysctl.h>
12094 return register_sysctl_table(NULL,0);
12103 rm -Rf build
&& mkdir
-p build
12104 echo "obj-m := conftest.o" >build
/Makefile
12105 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12117 { $as_echo "$as_me:$LINENO: result: yes" >&5
12118 $as_echo "yes" >&6; }
12120 cat >>confdefs.h
<<\_ACEOF
12121 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12126 $as_echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 { $as_echo "$as_me:$LINENO: result: no" >&5
12130 $as_echo "no" >&6; }
12141 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12142 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12145 cat >conftest.c
<<_ACEOF
12148 cat confdefs.h
>>conftest.
$ac_ext
12149 cat >>conftest.
$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12153 #include <linux/mm.h>
12159 return set_shrinker(DEFAULT_SEEKS, NULL);
12168 rm -Rf build
&& mkdir
-p build
12169 echo "obj-m := conftest.o" >build
/Makefile
12170 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177 (eval $ac_try) 2>&5
12179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }; }; then
12182 { $as_echo "$as_me:$LINENO: result: yes" >&5
12183 $as_echo "yes" >&6; }
12185 cat >>confdefs.h
<<\_ACEOF
12186 #define HAVE_SET_SHRINKER 1
12191 $as_echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 { $as_echo "$as_me:$LINENO: result: no" >&5
12195 $as_echo "no" >&6; }
12205 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12206 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12209 cat >conftest.c
<<_ACEOF
12212 cat confdefs.h
>>conftest.
$ac_ext
12213 cat >>conftest.
$ac_ext <<_ACEOF
12214 /* end confdefs.h. */
12217 #include <linux/namei.h>
12223 struct nameidata nd;
12225 nd.path.mnt = NULL;
12226 nd.path.dentry = NULL;
12235 rm -Rf build
&& mkdir
-p build
12236 echo "obj-m := conftest.o" >build
/Makefile
12237 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12239 (eval $ac_try) 2>&5
12241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12249 { $as_echo "$as_me:$LINENO: result: yes" >&5
12250 $as_echo "yes" >&6; }
12252 cat >>confdefs.h
<<\_ACEOF
12253 #define HAVE_PATH_IN_NAMEIDATA 1
12258 $as_echo "$as_me: failed program was:" >&5
12259 sed 's/^/| /' conftest.
$ac_ext >&5
12261 { $as_echo "$as_me:$LINENO: result: no" >&5
12262 $as_echo "no" >&6; }
12273 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12274 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12275 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12276 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12278 if test $rc -ne 0; then
12280 for file in kernel
/sched.c
; do
12281 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12282 "$LINUX_OBJ/$file" 2>/dev
/null
12284 if test $rc -eq 0; then
12289 if test $export -eq 0; then
12290 { $as_echo "$as_me:$LINENO: result: no" >&5
12291 $as_echo "no" >&6; }
12294 { $as_echo "$as_me:$LINENO: result: yes" >&5
12295 $as_echo "yes" >&6; }
12297 cat >>confdefs.h
<<\_ACEOF
12298 #define HAVE_TASK_CURR 1
12303 { $as_echo "$as_me:$LINENO: result: yes" >&5
12304 $as_echo "yes" >&6; }
12306 cat >>confdefs.h
<<\_ACEOF
12307 #define HAVE_TASK_CURR 1
12313 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12314 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12317 cat >conftest.c
<<_ACEOF
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12325 #include <linux/sysctl.h>
12331 #ifndef CTL_UNNUMBERED
12332 #error CTL_UNNUMBERED undefined
12342 rm -Rf build
&& mkdir
-p build
12343 echo "obj-m := conftest.o" >build
/Makefile
12344 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; }; then
12356 { $as_echo "$as_me:$LINENO: result: yes" >&5
12357 $as_echo "yes" >&6; }
12359 cat >>confdefs.h
<<\_ACEOF
12360 #define HAVE_CTL_UNNUMBERED 1
12365 $as_echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.
$ac_ext >&5
12368 { $as_echo "$as_me:$LINENO: result: no" >&5
12369 $as_echo "no" >&6; }
12380 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12381 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12384 cat >conftest.c
<<_ACEOF
12387 cat confdefs.h
>>conftest.
$ac_ext
12388 cat >>conftest.
$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12392 #include <linux/sysctl.h>
12398 struct ctl_table ctl;
12408 rm -Rf build
&& mkdir
-p build
12409 echo "obj-m := conftest.o" >build
/Makefile
12410 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12422 { $as_echo "$as_me:$LINENO: result: yes" >&5
12423 $as_echo "yes" >&6; }
12425 cat >>confdefs.h
<<\_ACEOF
12426 #define HAVE_CTL_NAME 1
12431 $as_echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.
$ac_ext >&5
12434 { $as_echo "$as_me:$LINENO: result: no" >&5
12435 $as_echo "no" >&6; }
12445 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
12446 $as_echo_n "checking whether fls64() is available... " >&6; }
12449 cat >conftest.c
<<_ACEOF
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12457 #include <linux/bitops.h>
12472 rm -Rf build
&& mkdir
-p build
12473 echo "obj-m := conftest.o" >build
/Makefile
12474 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12486 { $as_echo "$as_me:$LINENO: result: yes" >&5
12487 $as_echo "yes" >&6; }
12489 cat >>confdefs.h
<<\_ACEOF
12490 #define HAVE_FLS64 1
12495 $as_echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.
$ac_ext >&5
12498 { $as_echo "$as_me:$LINENO: result: no" >&5
12499 $as_echo "no" >&6; }
12510 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
12511 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
12512 grep -q -E '[[:space:]]device_create[[:space:]]' \
12513 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12515 if test $rc -ne 0; then
12517 for file in drivers
/base
/core.c
; do
12518 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12519 "$LINUX_OBJ/$file" 2>/dev
/null
12521 if test $rc -eq 0; then
12526 if test $export -eq 0; then
12527 { $as_echo "$as_me:$LINENO: result: no" >&5
12528 $as_echo "no" >&6; }
12531 { $as_echo "$as_me:$LINENO: result: yes" >&5
12532 $as_echo "yes" >&6; }
12534 cat >>confdefs.h
<<\_ACEOF
12535 #define HAVE_DEVICE_CREATE 1
12540 { $as_echo "$as_me:$LINENO: result: yes" >&5
12541 $as_echo "yes" >&6; }
12543 cat >>confdefs.h
<<\_ACEOF
12544 #define HAVE_DEVICE_CREATE 1
12551 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
12552 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12553 tmp_flags
="$EXTRA_KCFLAGS"
12554 EXTRA_KCFLAGS
="-Werror"
12557 cat >conftest.c
<<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12565 #include <linux/device.h>
12571 device_create(NULL, NULL, 0, NULL, "%d", 1);
12580 rm -Rf build
&& mkdir
-p build
12581 echo "obj-m := conftest.o" >build
/Makefile
12582 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12594 { $as_echo "$as_me:$LINENO: result: yes" >&5
12595 $as_echo "yes" >&6; }
12597 cat >>confdefs.h
<<\_ACEOF
12598 #define HAVE_5ARGS_DEVICE_CREATE 1
12603 $as_echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.
$ac_ext >&5
12606 { $as_echo "$as_me:$LINENO: result: no" >&5
12607 $as_echo "no" >&6; }
12616 EXTRA_KCFLAGS
="$tmp_flags"
12619 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
12620 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
12621 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12622 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12624 if test $rc -ne 0; then
12626 for file in drivers
/base
/class.c
; do
12627 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12628 "$LINUX_OBJ/$file" 2>/dev
/null
12630 if test $rc -eq 0; then
12635 if test $export -eq 0; then
12636 { $as_echo "$as_me:$LINENO: result: no" >&5
12637 $as_echo "no" >&6; }
12640 { $as_echo "$as_me:$LINENO: result: yes" >&5
12641 $as_echo "yes" >&6; }
12643 cat >>confdefs.h
<<\_ACEOF
12644 #define HAVE_CLASS_DEVICE_CREATE 1
12649 { $as_echo "$as_me:$LINENO: result: yes" >&5
12650 $as_echo "yes" >&6; }
12652 cat >>confdefs.h
<<\_ACEOF
12653 #define HAVE_CLASS_DEVICE_CREATE 1
12660 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
12661 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
12662 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12663 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12665 if test $rc -ne 0; then
12667 for file in kernel
/time.c
; do
12668 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12669 "$LINUX_OBJ/$file" 2>/dev
/null
12671 if test $rc -eq 0; then
12676 if test $export -eq 0; then
12677 { $as_echo "$as_me:$LINENO: result: no" >&5
12678 $as_echo "no" >&6; }
12681 { $as_echo "$as_me:$LINENO: result: yes" >&5
12682 $as_echo "yes" >&6; }
12684 cat >>confdefs.h
<<\_ACEOF
12685 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12690 { $as_echo "$as_me:$LINENO: result: yes" >&5
12691 $as_echo "yes" >&6; }
12693 cat >>confdefs.h
<<\_ACEOF
12694 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12701 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
12702 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12705 cat >conftest.c
<<_ACEOF
12708 cat confdefs.h
>>conftest.
$ac_ext
12709 cat >>conftest.
$ac_ext <<_ACEOF
12710 /* end confdefs.h. */
12713 #include <linux/time.h>
12714 void set_normalized_timespec(struct timespec *ts,
12715 time_t sec, long nsec) { }
12728 rm -Rf build
&& mkdir
-p build
12729 echo "obj-m := conftest.o" >build
/Makefile
12730 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; }; then
12742 { $as_echo "$as_me:$LINENO: result: no" >&5
12743 $as_echo "no" >&6; }
12746 $as_echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.
$ac_ext >&5
12749 { $as_echo "$as_me:$LINENO: result: yes" >&5
12750 $as_echo "yes" >&6; }
12752 cat >>confdefs.h
<<\_ACEOF
12753 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
12766 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
12767 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12770 cat >conftest.c
<<_ACEOF
12773 cat confdefs.h
>>conftest.
$ac_ext
12774 cat >>conftest.
$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12778 #include <linux/time.h>
12784 struct timespec a, b, c = { 0 };
12785 c = timespec_sub(a, b);
12794 rm -Rf build
&& mkdir
-p build
12795 echo "obj-m := conftest.o" >build
/Makefile
12796 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12808 { $as_echo "$as_me:$LINENO: result: yes" >&5
12809 $as_echo "yes" >&6; }
12811 cat >>confdefs.h
<<\_ACEOF
12812 #define HAVE_TIMESPEC_SUB 1
12817 $as_echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.
$ac_ext >&5
12820 { $as_echo "$as_me:$LINENO: result: no" >&5
12821 $as_echo "no" >&6; }
12832 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
12833 $as_echo_n "checking whether init_utsname() is available... " >&6; }
12836 cat >conftest.c
<<_ACEOF
12839 cat confdefs.h
>>conftest.
$ac_ext
12840 cat >>conftest.
$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12844 #include <linux/utsname.h>
12850 struct new_utsname *a = init_utsname();
12859 rm -Rf build
&& mkdir
-p build
12860 echo "obj-m := conftest.o" >build
/Makefile
12861 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 (eval $ac_try) 2>&5
12870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); }; }; then
12873 { $as_echo "$as_me:$LINENO: result: yes" >&5
12874 $as_echo "yes" >&6; }
12876 cat >>confdefs.h
<<\_ACEOF
12877 #define HAVE_INIT_UTSNAME 1
12882 $as_echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12885 { $as_echo "$as_me:$LINENO: result: no" >&5
12886 $as_echo "no" >&6; }
12897 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
12898 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
12901 cat >conftest.c
<<_ACEOF
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12909 #include <linux/fdtable.h>
12924 rm -Rf build
&& mkdir
-p build
12925 echo "obj-m := conftest.o" >build
/Makefile
12926 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12939 cat >>confdefs.h
<<\_ACEOF
12940 #define HAVE_FDTABLE_HEADER 1
12943 { $as_echo "$as_me:$LINENO: result: yes" >&5
12944 $as_echo "yes" >&6; }
12948 $as_echo "$as_me: failed program was:" >&5
12949 sed 's/^/| /' conftest.
$ac_ext >&5
12951 { $as_echo "$as_me:$LINENO: result: no" >&5
12952 $as_echo "no" >&6; }
12965 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
12966 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
12969 cat >conftest.c
<<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12977 #include <linux/sched.h>
12978 #include <linux/file.h>
12979 #ifdef HAVE_FDTABLE_HEADER
12980 #include <linux/fdtable.h>
12987 struct files_struct *files = current->files;
12988 struct fdtable *fdt = files_fdtable(files);
12997 rm -Rf build
&& mkdir
-p build
12998 echo "obj-m := conftest.o" >build
/Makefile
12999 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; }; then
13011 { $as_echo "$as_me:$LINENO: result: yes" >&5
13012 $as_echo "yes" >&6; }
13014 cat >>confdefs.h
<<\_ACEOF
13015 #define HAVE_FILES_FDTABLE 1
13020 $as_echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 { $as_echo "$as_me:$LINENO: result: no" >&5
13024 $as_echo "no" >&6; }
13035 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13036 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13039 cat >conftest.c
<<_ACEOF
13042 cat confdefs.h
>>conftest.
$ac_ext
13043 cat >>conftest.
$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13047 #include <linux/uaccess.h>
13062 rm -Rf build
&& mkdir
-p build
13063 echo "obj-m := conftest.o" >build
/Makefile
13064 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13077 cat >>confdefs.h
<<\_ACEOF
13078 #define HAVE_UACCESS_HEADER 1
13081 { $as_echo "$as_me:$LINENO: result: yes" >&5
13082 $as_echo "yes" >&6; }
13086 $as_echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 { $as_echo "$as_me:$LINENO: result: no" >&5
13090 $as_echo "no" >&6; }
13103 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13104 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13107 cat >conftest.c
<<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13115 #include <linux/slab.h>
13121 void *a = kmalloc_node(1, GFP_KERNEL, 0);
13130 rm -Rf build
&& mkdir
-p build
13131 echo "obj-m := conftest.o" >build
/Makefile
13132 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13144 { $as_echo "$as_me:$LINENO: result: yes" >&5
13145 $as_echo "yes" >&6; }
13147 cat >>confdefs.h
<<\_ACEOF
13148 #define HAVE_KMALLOC_NODE 1
13153 $as_echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.
$ac_ext >&5
13156 { $as_echo "$as_me:$LINENO: result: no" >&5
13157 $as_echo "no" >&6; }
13168 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13169 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13170 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13171 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13173 if test $rc -ne 0; then
13176 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13177 "$LINUX_OBJ/$file" 2>/dev
/null
13179 if test $rc -eq 0; then
13184 if test $export -eq 0; then
13185 { $as_echo "$as_me:$LINENO: result: no" >&5
13186 $as_echo "no" >&6; }
13189 { $as_echo "$as_me:$LINENO: result: yes" >&5
13190 $as_echo "yes" >&6; }
13192 cat >>confdefs.h
<<\_ACEOF
13193 #define HAVE_MONOTONIC_CLOCK 1
13198 { $as_echo "$as_me:$LINENO: result: yes" >&5
13199 $as_echo "yes" >&6; }
13201 cat >>confdefs.h
<<\_ACEOF
13202 #define HAVE_MONOTONIC_CLOCK 1
13209 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13210 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13213 cat >conftest.c
<<_ACEOF
13216 cat confdefs.h
>>conftest.
$ac_ext
13217 cat >>conftest.
$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13221 #include <linux/fs.h>
13222 #include <linux/mutex.h>
13229 mutex_init(&i.i_mutex);
13238 rm -Rf build
&& mkdir
-p build
13239 echo "obj-m := conftest.o" >build
/Makefile
13240 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13247 (eval $ac_try) 2>&5
13249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); }; }; then
13252 { $as_echo "$as_me:$LINENO: result: yes" >&5
13253 $as_echo "yes" >&6; }
13255 cat >>confdefs.h
<<\_ACEOF
13256 #define HAVE_INODE_I_MUTEX 1
13261 $as_echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.
$ac_ext >&5
13264 { $as_echo "$as_me:$LINENO: result: no" >&5
13265 $as_echo "no" >&6; }
13276 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13277 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13280 cat >conftest.c
<<_ACEOF
13283 cat confdefs.h
>>conftest.
$ac_ext
13284 cat >>conftest.
$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13288 #include <linux/mutex.h>
13304 rm -Rf build
&& mkdir
-p build
13305 echo "obj-m := conftest.o" >build
/Makefile
13306 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; }; then
13318 { $as_echo "$as_me:$LINENO: result: yes" >&5
13319 $as_echo "yes" >&6; }
13321 cat >>confdefs.h
<<\_ACEOF
13322 #define HAVE_MUTEX_OWNER 1
13327 $as_echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 { $as_echo "$as_me:$LINENO: result: no" >&5
13331 $as_echo "no" >&6; }
13342 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
13343 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13346 cat >conftest.c
<<_ACEOF
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13354 #include <linux/mutex.h>
13360 struct mutex mutex;
13361 mutex_init(&mutex);
13362 mutex_lock_nested(&mutex, 0);
13371 rm -Rf build
&& mkdir
-p build
13372 echo "obj-m := conftest.o" >build
/Makefile
13373 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13385 { $as_echo "$as_me:$LINENO: result: yes" >&5
13386 $as_echo "yes" >&6; }
13388 cat >>confdefs.h
<<\_ACEOF
13389 #define HAVE_MUTEX_LOCK_NESTED 1
13394 $as_echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.
$ac_ext >&5
13397 { $as_echo "$as_me:$LINENO: result: no" >&5
13398 $as_echo "no" >&6; }
13409 { $as_echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
13410 $as_echo_n "checking whether symbol div64_64 is exported... " >&6; }
13411 grep -q -E '[[:space:]]div64_64[[:space:]]' \
13412 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13414 if test $rc -ne 0; then
13417 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
13418 "$LINUX_OBJ/$file" 2>/dev
/null
13420 if test $rc -eq 0; then
13425 if test $export -eq 0; then
13426 { $as_echo "$as_me:$LINENO: result: no" >&5
13427 $as_echo "no" >&6; }
13430 { $as_echo "$as_me:$LINENO: result: yes" >&5
13431 $as_echo "yes" >&6; }
13433 cat >>confdefs.h
<<\_ACEOF
13434 #define HAVE_DIV64_64 1
13439 { $as_echo "$as_me:$LINENO: result: yes" >&5
13440 $as_echo "yes" >&6; }
13442 cat >>confdefs.h
<<\_ACEOF
13443 #define HAVE_DIV64_64 1
13450 { $as_echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
13451 $as_echo_n "checking whether symbol div64_u64 is exported... " >&6; }
13452 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
13453 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13455 if test $rc -ne 0; then
13458 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
13459 "$LINUX_OBJ/$file" 2>/dev
/null
13461 if test $rc -eq 0; then
13466 if test $export -eq 0; then
13467 { $as_echo "$as_me:$LINENO: result: no" >&5
13468 $as_echo "no" >&6; }
13471 { $as_echo "$as_me:$LINENO: result: yes" >&5
13472 $as_echo "yes" >&6; }
13474 cat >>confdefs.h
<<\_ACEOF
13475 #define HAVE_DIV64_U64 1
13480 { $as_echo "$as_me:$LINENO: result: yes" >&5
13481 $as_echo "yes" >&6; }
13483 cat >>confdefs.h
<<\_ACEOF
13484 #define HAVE_DIV64_U64 1
13491 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
13492 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13495 cat >conftest.c
<<_ACEOF
13498 cat confdefs.h
>>conftest.
$ac_ext
13499 cat >>conftest.
$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13503 #include <linux/smp.h>
13509 on_each_cpu(NULL, NULL, 0);
13518 rm -Rf build
&& mkdir
-p build
13519 echo "obj-m := conftest.o" >build
/Makefile
13520 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13532 { $as_echo "$as_me:$LINENO: result: yes" >&5
13533 $as_echo "yes" >&6; }
13535 cat >>confdefs.h
<<\_ACEOF
13536 #define HAVE_3ARGS_ON_EACH_CPU 1
13541 $as_echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.
$ac_ext >&5
13544 { $as_echo "$as_me:$LINENO: result: no" >&5
13545 $as_echo "no" >&6; }
13556 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
13557 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
13558 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13559 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13561 if test $rc -ne 0; then
13564 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13565 "$LINUX_OBJ/$file" 2>/dev
/null
13567 if test $rc -eq 0; then
13572 if test $export -eq 0; then
13573 { $as_echo "$as_me:$LINENO: result: no" >&5
13574 $as_echo "no" >&6; }
13577 { $as_echo "$as_me:$LINENO: result: yes" >&5
13578 $as_echo "yes" >&6; }
13580 cat >>confdefs.h
<<\_ACEOF
13581 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13586 { $as_echo "$as_me:$LINENO: result: yes" >&5
13587 $as_echo "yes" >&6; }
13589 cat >>confdefs.h
<<\_ACEOF
13590 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13597 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
13598 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
13599 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13600 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13602 if test $rc -ne 0; then
13605 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13606 "$LINUX_OBJ/$file" 2>/dev
/null
13608 if test $rc -eq 0; then
13613 if test $export -eq 0; then
13614 { $as_echo "$as_me:$LINENO: result: no" >&5
13615 $as_echo "no" >&6; }
13618 { $as_echo "$as_me:$LINENO: result: yes" >&5
13619 $as_echo "yes" >&6; }
13621 cat >>confdefs.h
<<\_ACEOF
13622 #define HAVE_GET_VMALLOC_INFO 1
13627 { $as_echo "$as_me:$LINENO: result: yes" >&5
13628 $as_echo "yes" >&6; }
13630 cat >>confdefs.h
<<\_ACEOF
13631 #define HAVE_GET_VMALLOC_INFO 1
13638 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
13639 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13640 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13642 if test $rc -eq 0; then
13643 { $as_echo "$as_me:$LINENO: result: yes" >&5
13644 $as_echo "yes" >&6; }
13646 cat >>confdefs.h
<<\_ACEOF
13647 #define HAVE_PGDAT_HELPERS 1
13651 { $as_echo "$as_me:$LINENO: result: no" >&5
13652 $as_echo "no" >&6; }
13656 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
13657 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
13658 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13659 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13661 if test $rc -ne 0; then
13664 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13665 "$LINUX_OBJ/$file" 2>/dev
/null
13667 if test $rc -eq 0; then
13672 if test $export -eq 0; then
13673 { $as_echo "$as_me:$LINENO: result: no" >&5
13674 $as_echo "no" >&6; }
13677 { $as_echo "$as_me:$LINENO: result: yes" >&5
13678 $as_echo "yes" >&6; }
13680 cat >>confdefs.h
<<\_ACEOF
13681 #define HAVE_FIRST_ONLINE_PGDAT 1
13686 { $as_echo "$as_me:$LINENO: result: yes" >&5
13687 $as_echo "yes" >&6; }
13689 cat >>confdefs.h
<<\_ACEOF
13690 #define HAVE_FIRST_ONLINE_PGDAT 1
13697 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
13698 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
13699 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13700 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13702 if test $rc -ne 0; then
13705 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13706 "$LINUX_OBJ/$file" 2>/dev
/null
13708 if test $rc -eq 0; then
13713 if test $export -eq 0; then
13714 { $as_echo "$as_me:$LINENO: result: no" >&5
13715 $as_echo "no" >&6; }
13718 { $as_echo "$as_me:$LINENO: result: yes" >&5
13719 $as_echo "yes" >&6; }
13721 cat >>confdefs.h
<<\_ACEOF
13722 #define HAVE_NEXT_ONLINE_PGDAT 1
13727 { $as_echo "$as_me:$LINENO: result: yes" >&5
13728 $as_echo "yes" >&6; }
13730 cat >>confdefs.h
<<\_ACEOF
13731 #define HAVE_NEXT_ONLINE_PGDAT 1
13738 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
13739 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
13740 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13741 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13743 if test $rc -ne 0; then
13746 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13747 "$LINUX_OBJ/$file" 2>/dev
/null
13749 if test $rc -eq 0; then
13754 if test $export -eq 0; then
13755 { $as_echo "$as_me:$LINENO: result: no" >&5
13756 $as_echo "no" >&6; }
13759 { $as_echo "$as_me:$LINENO: result: yes" >&5
13760 $as_echo "yes" >&6; }
13762 cat >>confdefs.h
<<\_ACEOF
13763 #define HAVE_NEXT_ZONE 1
13768 { $as_echo "$as_me:$LINENO: result: yes" >&5
13769 $as_echo "yes" >&6; }
13771 cat >>confdefs.h
<<\_ACEOF
13772 #define HAVE_NEXT_ZONE 1
13779 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
13780 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
13781 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13782 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13784 if test $rc -ne 0; then
13787 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13788 "$LINUX_OBJ/$file" 2>/dev
/null
13790 if test $rc -eq 0; then
13795 if test $export -eq 0; then
13796 { $as_echo "$as_me:$LINENO: result: no" >&5
13797 $as_echo "no" >&6; }
13800 { $as_echo "$as_me:$LINENO: result: yes" >&5
13801 $as_echo "yes" >&6; }
13803 cat >>confdefs.h
<<\_ACEOF
13804 #define HAVE_PGDAT_LIST 1
13809 { $as_echo "$as_me:$LINENO: result: yes" >&5
13810 $as_echo "yes" >&6; }
13812 cat >>confdefs.h
<<\_ACEOF
13813 #define HAVE_PGDAT_LIST 1
13820 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
13821 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13824 cat >conftest.c
<<_ACEOF
13827 cat confdefs.h
>>conftest.
$ac_ext
13828 cat >>conftest.
$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13832 #include <linux/mm.h>
13838 unsigned long state;
13839 state = global_page_state(0);
13848 rm -Rf build
&& mkdir
-p build
13849 echo "obj-m := conftest.o" >build
/Makefile
13850 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13862 { $as_echo "$as_me:$LINENO: result: yes" >&5
13863 $as_echo "yes" >&6; }
13865 cat >>confdefs.h
<<\_ACEOF
13866 #define HAVE_GLOBAL_PAGE_STATE 1
13871 $as_echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.
$ac_ext >&5
13874 { $as_echo "$as_me:$LINENO: result: no" >&5
13875 $as_echo "no" >&6; }
13886 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
13887 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13890 cat >conftest.c
<<_ACEOF
13893 cat confdefs.h
>>conftest.
$ac_ext
13894 cat >>conftest.
$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13898 #include <linux/mm.h>
13904 enum zone_stat_item zsi;
13905 zsi = NR_FREE_PAGES;
13914 rm -Rf build
&& mkdir
-p build
13915 echo "obj-m := conftest.o" >build
/Makefile
13916 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13928 { $as_echo "$as_me:$LINENO: result: yes" >&5
13929 $as_echo "yes" >&6; }
13931 cat >>confdefs.h
<<\_ACEOF
13932 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
13937 $as_echo "$as_me: failed program was:" >&5
13938 sed 's/^/| /' conftest.
$ac_ext >&5
13940 { $as_echo "$as_me:$LINENO: result: no" >&5
13941 $as_echo "no" >&6; }
13952 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
13953 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
13956 cat >conftest.c
<<_ACEOF
13959 cat confdefs.h
>>conftest.
$ac_ext
13960 cat >>conftest.
$ac_ext <<_ACEOF
13961 /* end confdefs.h. */
13964 #include <linux/mm.h>
13970 enum zone_stat_item zsi;
13980 rm -Rf build
&& mkdir
-p build
13981 echo "obj-m := conftest.o" >build
/Makefile
13982 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13994 { $as_echo "$as_me:$LINENO: result: yes" >&5
13995 $as_echo "yes" >&6; }
13997 cat >>confdefs.h
<<\_ACEOF
13998 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
14003 $as_echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.
$ac_ext >&5
14006 { $as_echo "$as_me:$LINENO: result: no" >&5
14007 $as_echo "no" >&6; }
14017 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14018 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14021 cat >conftest.c
<<_ACEOF
14024 cat confdefs.h
>>conftest.
$ac_ext
14025 cat >>conftest.
$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14029 #include <linux/mm.h>
14035 enum zone_stat_item zsi;
14036 zsi = NR_INACTIVE_ANON;
14045 rm -Rf build
&& mkdir
-p build
14046 echo "obj-m := conftest.o" >build
/Makefile
14047 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054 (eval $ac_try) 2>&5
14056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); }; }; then
14059 { $as_echo "$as_me:$LINENO: result: yes" >&5
14060 $as_echo "yes" >&6; }
14062 cat >>confdefs.h
<<\_ACEOF
14063 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14068 $as_echo "$as_me: failed program was:" >&5
14069 sed 's/^/| /' conftest.
$ac_ext >&5
14071 { $as_echo "$as_me:$LINENO: result: no" >&5
14072 $as_echo "no" >&6; }
14082 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14083 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14086 cat >conftest.c
<<_ACEOF
14089 cat confdefs.h
>>conftest.
$ac_ext
14090 cat >>conftest.
$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14094 #include <linux/mm.h>
14100 enum zone_stat_item zsi;
14101 zsi = NR_INACTIVE_FILE;
14110 rm -Rf build
&& mkdir
-p build
14111 echo "obj-m := conftest.o" >build
/Makefile
14112 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; }; then
14124 { $as_echo "$as_me:$LINENO: result: yes" >&5
14125 $as_echo "yes" >&6; }
14127 cat >>confdefs.h
<<\_ACEOF
14128 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14133 $as_echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 { $as_echo "$as_me:$LINENO: result: no" >&5
14137 $as_echo "no" >&6; }
14148 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14149 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14152 cat >conftest.c
<<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14160 #include <linux/mm.h>
14166 enum zone_stat_item zsi;
14176 rm -Rf build
&& mkdir
-p build
14177 echo "obj-m := conftest.o" >build
/Makefile
14178 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14190 { $as_echo "$as_me:$LINENO: result: yes" >&5
14191 $as_echo "yes" >&6; }
14193 cat >>confdefs.h
<<\_ACEOF
14194 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14199 $as_echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 { $as_echo "$as_me:$LINENO: result: no" >&5
14203 $as_echo "no" >&6; }
14213 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14214 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14217 cat >conftest.c
<<_ACEOF
14220 cat confdefs.h
>>conftest.
$ac_ext
14221 cat >>conftest.
$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14225 #include <linux/mm.h>
14231 enum zone_stat_item zsi;
14232 zsi = NR_ACTIVE_ANON;
14241 rm -Rf build
&& mkdir
-p build
14242 echo "obj-m := conftest.o" >build
/Makefile
14243 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14250 (eval $ac_try) 2>&5
14252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }; }; then
14255 { $as_echo "$as_me:$LINENO: result: yes" >&5
14256 $as_echo "yes" >&6; }
14258 cat >>confdefs.h
<<\_ACEOF
14259 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14264 $as_echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.
$ac_ext >&5
14267 { $as_echo "$as_me:$LINENO: result: no" >&5
14268 $as_echo "no" >&6; }
14278 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14279 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14282 cat >conftest.c
<<_ACEOF
14285 cat confdefs.h
>>conftest.
$ac_ext
14286 cat >>conftest.
$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14290 #include <linux/mm.h>
14296 enum zone_stat_item zsi;
14297 zsi = NR_ACTIVE_FILE;
14306 rm -Rf build
&& mkdir
-p build
14307 echo "obj-m := conftest.o" >build
/Makefile
14308 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; }; then
14320 { $as_echo "$as_me:$LINENO: result: yes" >&5
14321 $as_echo "yes" >&6; }
14323 cat >>confdefs.h
<<\_ACEOF
14324 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14329 $as_echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.
$ac_ext >&5
14332 { $as_echo "$as_me:$LINENO: result: no" >&5
14333 $as_echo "no" >&6; }
14344 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14345 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14348 cat >conftest.c
<<_ACEOF
14351 cat confdefs.h
>>conftest.
$ac_ext
14352 cat >>conftest.
$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14361 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14362 #error "global_page_state needs NR_FREE_PAGES"
14365 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14366 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14367 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14368 #error "global_page_state needs NR_ACTIVE*"
14371 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14372 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14373 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14374 #error "global_page_state needs NR_INACTIVE*"
14384 rm -Rf build
&& mkdir
-p build
14385 echo "obj-m := conftest.o" >build
/Makefile
14386 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14398 { $as_echo "$as_me:$LINENO: result: no" >&5
14399 $as_echo "no" >&6; }
14402 $as_echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.
$ac_ext >&5
14405 { $as_echo "$as_me:$LINENO: result: yes" >&5
14406 $as_echo "yes" >&6; }
14408 cat >>confdefs.h
<<\_ACEOF
14409 #define NEED_GET_ZONE_COUNTS 1
14413 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
14414 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
14415 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14416 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14418 if test $rc -ne 0; then
14421 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14422 "$LINUX_OBJ/$file" 2>/dev
/null
14424 if test $rc -eq 0; then
14429 if test $export -eq 0; then
14430 { $as_echo "$as_me:$LINENO: result: no" >&5
14431 $as_echo "no" >&6; }
14434 { $as_echo "$as_me:$LINENO: result: yes" >&5
14435 $as_echo "yes" >&6; }
14437 cat >>confdefs.h
<<\_ACEOF
14438 #define HAVE_GET_ZONE_COUNTS 1
14443 { $as_echo "$as_me:$LINENO: result: yes" >&5
14444 $as_echo "yes" >&6; }
14446 cat >>confdefs.h
<<\_ACEOF
14447 #define HAVE_GET_ZONE_COUNTS 1
14462 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
14463 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
14464 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14465 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14467 if test $rc -ne 0; then
14470 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14471 "$LINUX_OBJ/$file" 2>/dev
/null
14473 if test $rc -eq 0; then
14478 if test $export -eq 0; then
14479 { $as_echo "$as_me:$LINENO: result: no" >&5
14480 $as_echo "no" >&6; }
14483 { $as_echo "$as_me:$LINENO: result: yes" >&5
14484 $as_echo "yes" >&6; }
14486 cat >>confdefs.h
<<\_ACEOF
14487 #define HAVE_SET_FS_PWD 1
14492 { $as_echo "$as_me:$LINENO: result: yes" >&5
14493 $as_echo "yes" >&6; }
14495 cat >>confdefs.h
<<\_ACEOF
14496 #define HAVE_SET_FS_PWD 1
14502 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
14503 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
14506 cat >conftest.c
<<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14514 #include <linux/sched.h>
14515 #include <linux/fs_struct.h>
14521 set_fs_pwd(NULL, NULL);
14530 rm -Rf build
&& mkdir
-p build
14531 echo "obj-m := conftest.o" >build
/Makefile
14532 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14544 { $as_echo "$as_me:$LINENO: result: yes" >&5
14545 $as_echo "yes" >&6; }
14547 cat >>confdefs.h
<<\_ACEOF
14548 #define HAVE_2ARGS_SET_FS_PWD 1
14553 $as_echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.
$ac_ext >&5
14556 { $as_echo "$as_me:$LINENO: result: no" >&5
14557 $as_echo "no" >&6; }
14567 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
14568 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14571 cat >conftest.c
<<_ACEOF
14574 cat confdefs.h
>>conftest.
$ac_ext
14575 cat >>conftest.
$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14579 #include <linux/fs.h>
14585 vfs_unlink(NULL, NULL);
14594 rm -Rf build
&& mkdir
-p build
14595 echo "obj-m := conftest.o" >build
/Makefile
14596 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14608 { $as_echo "$as_me:$LINENO: result: yes" >&5
14609 $as_echo "yes" >&6; }
14611 cat >>confdefs.h
<<\_ACEOF
14612 #define HAVE_2ARGS_VFS_UNLINK 1
14617 $as_echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.
$ac_ext >&5
14620 { $as_echo "$as_me:$LINENO: result: no" >&5
14621 $as_echo "no" >&6; }
14631 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
14632 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14635 cat >conftest.c
<<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14643 #include <linux/fs.h>
14649 vfs_rename(NULL, NULL, NULL, NULL);
14658 rm -Rf build
&& mkdir
-p build
14659 echo "obj-m := conftest.o" >build
/Makefile
14660 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14672 { $as_echo "$as_me:$LINENO: result: yes" >&5
14673 $as_echo "yes" >&6; }
14675 cat >>confdefs.h
<<\_ACEOF
14676 #define HAVE_4ARGS_VFS_RENAME 1
14681 $as_echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 { $as_echo "$as_me:$LINENO: result: no" >&5
14685 $as_echo "no" >&6; }
14696 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
14697 $as_echo_n "checking whether struct cred exists... " >&6; }
14700 cat >conftest.c
<<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14708 #include <linux/cred.h>
14724 rm -Rf build
&& mkdir
-p build
14725 echo "obj-m := conftest.o" >build
/Makefile
14726 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14738 { $as_echo "$as_me:$LINENO: result: yes" >&5
14739 $as_echo "yes" >&6; }
14741 cat >>confdefs.h
<<\_ACEOF
14742 #define HAVE_CRED_STRUCT 1
14747 $as_echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 { $as_echo "$as_me:$LINENO: result: no" >&5
14751 $as_echo "no" >&6; }
14762 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
14763 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
14764 grep -q -E '[[:space:]]groups_search[[:space:]]' \
14765 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14767 if test $rc -ne 0; then
14770 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
14771 "$LINUX_OBJ/$file" 2>/dev
/null
14773 if test $rc -eq 0; then
14778 if test $export -eq 0; then
14779 { $as_echo "$as_me:$LINENO: result: no" >&5
14780 $as_echo "no" >&6; }
14783 { $as_echo "$as_me:$LINENO: result: yes" >&5
14784 $as_echo "yes" >&6; }
14786 cat >>confdefs.h
<<\_ACEOF
14787 #define HAVE_GROUPS_SEARCH 1
14792 { $as_echo "$as_me:$LINENO: result: yes" >&5
14793 $as_echo "yes" >&6; }
14795 cat >>confdefs.h
<<\_ACEOF
14796 #define HAVE_GROUPS_SEARCH 1
14803 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
14804 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
14805 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
14806 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14808 if test $rc -ne 0; then
14811 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
14812 "$LINUX_OBJ/$file" 2>/dev
/null
14814 if test $rc -eq 0; then
14819 if test $export -eq 0; then
14820 { $as_echo "$as_me:$LINENO: result: no" >&5
14821 $as_echo "no" >&6; }
14824 { $as_echo "$as_me:$LINENO: result: yes" >&5
14825 $as_echo "yes" >&6; }
14827 cat >>confdefs.h
<<\_ACEOF
14828 #define HAVE_PUT_TASK_STRUCT 1
14833 { $as_echo "$as_me:$LINENO: result: yes" >&5
14834 $as_echo "yes" >&6; }
14836 cat >>confdefs.h
<<\_ACEOF
14837 #define HAVE_PUT_TASK_STRUCT 1
14844 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
14845 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
14848 cat >conftest.c
<<_ACEOF
14851 cat confdefs.h
>>conftest.
$ac_ext
14852 cat >>conftest.
$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14856 #include <linux/sysctl.h>
14862 proc_dostring(NULL, 0, NULL, NULL, NULL);
14871 rm -Rf build
&& mkdir
-p build
14872 echo "obj-m := conftest.o" >build
/Makefile
14873 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14885 { $as_echo "$as_me:$LINENO: result: yes" >&5
14886 $as_echo "yes" >&6; }
14888 cat >>confdefs.h
<<\_ACEOF
14889 #define HAVE_5ARGS_PROC_HANDLER 1
14894 $as_echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.
$ac_ext >&5
14897 { $as_echo "$as_me:$LINENO: result: no" >&5
14898 $as_echo "no" >&6; }
14909 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
14910 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
14911 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
14912 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14914 if test $rc -ne 0; then
14917 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
14918 "$LINUX_OBJ/$file" 2>/dev
/null
14920 if test $rc -eq 0; then
14925 if test $export -eq 0; then
14926 { $as_echo "$as_me:$LINENO: result: no" >&5
14927 $as_echo "no" >&6; }
14930 { $as_echo "$as_me:$LINENO: result: yes" >&5
14931 $as_echo "yes" >&6; }
14933 cat >>confdefs.h
<<\_ACEOF
14934 #define HAVE_KVASPRINTF 1
14939 { $as_echo "$as_me:$LINENO: result: yes" >&5
14940 $as_echo "yes" >&6; }
14942 cat >>confdefs.h
<<\_ACEOF
14943 #define HAVE_KVASPRINTF 1
14954 # Check whether --with-linux was given.
14955 if test "${with_linux+set}" = set; then
14956 withval
=$with_linux; kernelsrc
="$withval"
14961 # Check whether --with-linux-obj was given.
14962 if test "${with_linux_obj+set}" = set; then
14963 withval
=$with_linux_obj; kernelbuild
="$withval"
14967 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
14968 $as_echo_n "checking kernel source directory... " >&6; }
14969 if test -z "$kernelsrc"; then
14970 headersdir
="/lib/modules/$(uname -r)/build"
14971 if test -e "$headersdir"; then
14972 sourcelink
=$
(readlink
-f "$headersdir")
14974 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
14976 2>/dev
/null |
grep -v obj |
tail -1)
14979 if test -n "$sourcelink" && test -e ${sourcelink}; then
14980 kernelsrc
=`readlink -f ${sourcelink}`
14982 { $as_echo "$as_me:$LINENO: result: Not found" >&5
14983 $as_echo "Not found" >&6; }
14984 { { $as_echo "$as_me:$LINENO: error:
14985 *** Please make sure the kernel devel package for your distribution
14986 *** is installed then try again. If that fails you can specify the
14987 *** location of the kernel source with the '--with-linux=PATH' option." >&5
14988 $as_echo "$as_me: error:
14989 *** Please make sure the kernel devel package for your distribution
14990 *** is installed then try again. If that fails you can specify the
14991 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
14992 { (exit 1); exit 1; }; }
14995 if test "$kernelsrc" = "NONE"; then
15000 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
15001 $as_echo "$kernelsrc" >&6; }
15002 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
15003 $as_echo_n "checking kernel build directory... " >&6; }
15004 if test -z "$kernelbuild"; then
15005 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
15006 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
15007 elif test -d ${kernelsrc}-obj/`arch`/default
; then
15008 kernelbuild
=${kernelsrc}-obj/`arch`/default
15009 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
15010 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
15012 kernelbuild
=${kernelsrc}
15015 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
15016 $as_echo "$kernelbuild" >&6; }
15018 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
15019 $as_echo_n "checking kernel source version... " >&6; }
15020 utsrelease1
=$kernelbuild/include
/linux
/version.h
15021 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15022 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15023 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15024 utsrelease
=linux
/version.h
15025 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15026 utsrelease
=linux
/utsrelease.h
15027 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15028 utsrelease
=generated
/utsrelease.h
15031 if test "$utsrelease"; then
15032 kernsrcver
=`(echo "#include <$utsrelease>";
15033 echo "kernsrcver=UTS_RELEASE") |
15034 cpp -I $kernelbuild/include |
15035 grep "^kernsrcver=" | cut -d \" -f 2`
15037 if test -z "$kernsrcver"; then
15038 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15039 $as_echo "Not found" >&6; }
15040 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
15041 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
15042 { (exit 1); exit 1; }; }
15045 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15046 $as_echo "Not found" >&6; }
15047 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
15048 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
15049 { (exit 1); exit 1; }; }
15052 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
15053 $as_echo "$kernsrcver" >&6; }
15056 LINUX_OBJ
=${kernelbuild}
15057 LINUX_VERSION
=${kernsrcver}
15064 modpost
=$LINUX/scripts
/Makefile.modpost
15065 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
15066 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15067 if test -f "$modpost"; then
15068 if grep -q Modules.symvers
$modpost; then
15069 LINUX_SYMBOLS
=Modules.symvers
15071 LINUX_SYMBOLS
=Module.symvers
15076 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
15077 $as_echo "$LINUX_SYMBOLS" >&6; }
15082 abs_srcdir
=`readlink -f ${srcdir}`
15083 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15084 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
15085 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
15087 if test "${LINUX_OBJ}" != "${LINUX}"; then
15088 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15095 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
15096 $as_echo_n "checking whether debugging is enabled... " >&6; }
15097 # Check whether --enable-debug was given.
15098 if test "${enable_debug+set}" = set; then
15099 enableval
=$enable_debug;
15105 if test "x$enable_debug" = xyes
; then
15107 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15108 DEBUG_CFLAGS
="-DDEBUG -Werror"
15112 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15113 DEBUG_CFLAGS
="-DNDEBUG"
15119 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
15120 $as_echo "$enable_debug" >&6; }
15123 # Check whether --enable-debug-kmem was given.
15124 if test "${enable_debug_kmem+set}" = set; then
15125 enableval
=$enable_debug_kmem;
15127 enable_debug_kmem
=yes
15131 if test "x$enable_debug_kmem" = xyes
; then
15133 cat >>confdefs.h
<<\_ACEOF
15134 #define DEBUG_KMEM 1
15137 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15141 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
15142 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15143 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
15144 $as_echo "$enable_debug_kmem" >&6; }
15147 # Check whether --enable-debug-kmem-tracking was given.
15148 if test "${enable_debug_kmem_tracking+set}" = set; then
15149 enableval
=$enable_debug_kmem_tracking;
15151 enable_debug_kmem_tracking
=no
15155 if test "x$enable_debug_kmem_tracking" = xyes
; then
15157 cat >>confdefs.h
<<\_ACEOF
15158 #define DEBUG_KMEM_TRACKING 1
15161 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15165 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
15166 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15167 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
15168 $as_echo "$enable_debug_kmem_tracking" >&6; }
15171 # Check whether --enable-atomic-spinlocks was given.
15172 if test "${enable_atomic_spinlocks+set}" = set; then
15173 enableval
=$enable_atomic_spinlocks;
15175 enable_atomic_spinlocks
=check
15181 cat >conftest.c
<<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15189 #include <asm/atomic.h>
15204 rm -Rf build
&& mkdir
-p build
15205 echo "obj-m := conftest.o" >build
/Makefile
15206 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; }; then
15218 have_atomic64_t
=yes
15220 cat >>confdefs.h
<<\_ACEOF
15221 #define HAVE_ATOMIC64_T 1
15226 $as_echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.
$ac_ext >&5
15239 if test "x$enable_atomic_spinlocks" = xcheck
; then
15241 if test "x$have_atomic64_t" = xyes
; then
15243 enable_atomic_spinlocks
=no
15247 enable_atomic_spinlocks
=yes
15255 if test "x$enable_atomic_spinlocks" = xyes
; then
15258 cat >>confdefs.h
<<\_ACEOF
15259 #define ATOMIC_SPINLOCK 1
15265 if test "x$have_atomic64_t" = xno
; then
15267 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15269 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15270 See \`config.log' for more details." >&5
15271 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15272 See \`config.log' for more details." >&2;}
15273 { (exit 1); exit 1; }; }; }
15281 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
15282 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15283 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
15284 $as_echo "$enable_atomic_spinlocks" >&6; }
15286 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
15287 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15288 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
15289 $as_echo "$have_atomic64_t" >&6; }
15291 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
15292 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
15295 cat >conftest.c
<<_ACEOF
15298 cat confdefs.h
>>conftest.
$ac_ext
15299 cat >>conftest.
$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15303 #include <asm/atomic.h>
15309 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
15318 rm -Rf build
&& mkdir
-p build
15319 echo "obj-m := conftest.o" >build
/Makefile
15320 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15332 { $as_echo "$as_me:$LINENO: result: yes" >&5
15333 $as_echo "yes" >&6; }
15335 cat >>confdefs.h
<<\_ACEOF
15336 #define HAVE_ATOMIC64_CMPXCHG 1
15341 $as_echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.
$ac_ext >&5
15344 { $as_echo "$as_me:$LINENO: result: no" >&5
15345 $as_echo "no" >&6; }
15355 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
15356 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
15359 cat >conftest.c
<<_ACEOF
15362 cat confdefs.h
>>conftest.
$ac_ext
15363 cat >>conftest.
$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15367 #include <asm/atomic.h>
15373 atomic64_xchg((atomic64_t *)NULL, 0);
15382 rm -Rf build
&& mkdir
-p build
15383 echo "obj-m := conftest.o" >build
/Makefile
15384 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15391 (eval $ac_try) 2>&5
15393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); }; }; then
15396 { $as_echo "$as_me:$LINENO: result: yes" >&5
15397 $as_echo "yes" >&6; }
15399 cat >>confdefs.h
<<\_ACEOF
15400 #define HAVE_ATOMIC64_XCHG 1
15405 $as_echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.
$ac_ext >&5
15408 { $as_echo "$as_me:$LINENO: result: no" >&5
15409 $as_echo "no" >&6; }
15419 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
15420 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
15423 cat >conftest.c
<<_ACEOF
15426 cat confdefs.h
>>conftest.
$ac_ext
15427 cat >>conftest.
$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15431 #include <linux/types.h>
15446 rm -Rf build
&& mkdir
-p build
15447 echo "obj-m := conftest.o" >build
/Makefile
15448 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15460 { $as_echo "$as_me:$LINENO: result: yes" >&5
15461 $as_echo "yes" >&6; }
15463 cat >>confdefs.h
<<\_ACEOF
15464 #define HAVE_UINTPTR_T 1
15469 $as_echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.
$ac_ext >&5
15472 { $as_echo "$as_me:$LINENO: result: no" >&5
15473 $as_echo "no" >&6; }
15483 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
15484 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
15487 cat >conftest.c
<<_ACEOF
15490 cat confdefs.h
>>conftest.
$ac_ext
15491 cat >>conftest.
$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15495 #include <linux/workqueue.h>
15501 struct work_struct work;
15502 INIT_WORK(&work, NULL, NULL);
15511 rm -Rf build
&& mkdir
-p build
15512 echo "obj-m := conftest.o" >build
/Makefile
15513 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15525 { $as_echo "$as_me:$LINENO: result: yes" >&5
15526 $as_echo "yes" >&6; }
15528 cat >>confdefs.h
<<\_ACEOF
15529 #define HAVE_3ARGS_INIT_WORK 1
15534 $as_echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.
$ac_ext >&5
15537 { $as_echo "$as_me:$LINENO: result: no" >&5
15538 $as_echo "no" >&6; }
15548 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
15549 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
15552 cat >conftest.c
<<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15560 #include <linux/sysctl.h>
15566 return register_sysctl_table(NULL,0);
15575 rm -Rf build
&& mkdir
-p build
15576 echo "obj-m := conftest.o" >build
/Makefile
15577 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; }; then
15589 { $as_echo "$as_me:$LINENO: result: yes" >&5
15590 $as_echo "yes" >&6; }
15592 cat >>confdefs.h
<<\_ACEOF
15593 #define HAVE_2ARGS_REGISTER_SYSCTL 1
15598 $as_echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 { $as_echo "$as_me:$LINENO: result: no" >&5
15602 $as_echo "no" >&6; }
15613 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
15614 $as_echo_n "checking whether set_shrinker() available... " >&6; }
15617 cat >conftest.c
<<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15625 #include <linux/mm.h>
15631 return set_shrinker(DEFAULT_SEEKS, NULL);
15640 rm -Rf build
&& mkdir
-p build
15641 echo "obj-m := conftest.o" >build
/Makefile
15642 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15654 { $as_echo "$as_me:$LINENO: result: yes" >&5
15655 $as_echo "yes" >&6; }
15657 cat >>confdefs.h
<<\_ACEOF
15658 #define HAVE_SET_SHRINKER 1
15663 $as_echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 { $as_echo "$as_me:$LINENO: result: no" >&5
15667 $as_echo "no" >&6; }
15677 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
15678 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
15681 cat >conftest.c
<<_ACEOF
15684 cat confdefs.h
>>conftest.
$ac_ext
15685 cat >>conftest.
$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15689 #include <linux/namei.h>
15695 struct nameidata nd;
15697 nd.path.mnt = NULL;
15698 nd.path.dentry = NULL;
15707 rm -Rf build
&& mkdir
-p build
15708 echo "obj-m := conftest.o" >build
/Makefile
15709 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15721 { $as_echo "$as_me:$LINENO: result: yes" >&5
15722 $as_echo "yes" >&6; }
15724 cat >>confdefs.h
<<\_ACEOF
15725 #define HAVE_PATH_IN_NAMEIDATA 1
15730 $as_echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.
$ac_ext >&5
15733 { $as_echo "$as_me:$LINENO: result: no" >&5
15734 $as_echo "no" >&6; }
15745 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
15746 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
15747 grep -q -E '[[:space:]]task_curr[[:space:]]' \
15748 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15750 if test $rc -ne 0; then
15752 for file in kernel
/sched.c
; do
15753 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
15754 "$LINUX_OBJ/$file" 2>/dev
/null
15756 if test $rc -eq 0; then
15761 if test $export -eq 0; then
15762 { $as_echo "$as_me:$LINENO: result: no" >&5
15763 $as_echo "no" >&6; }
15766 { $as_echo "$as_me:$LINENO: result: yes" >&5
15767 $as_echo "yes" >&6; }
15769 cat >>confdefs.h
<<\_ACEOF
15770 #define HAVE_TASK_CURR 1
15775 { $as_echo "$as_me:$LINENO: result: yes" >&5
15776 $as_echo "yes" >&6; }
15778 cat >>confdefs.h
<<\_ACEOF
15779 #define HAVE_TASK_CURR 1
15785 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
15786 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
15789 cat >conftest.c
<<_ACEOF
15792 cat confdefs.h
>>conftest.
$ac_ext
15793 cat >>conftest.
$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15797 #include <linux/sysctl.h>
15803 #ifndef CTL_UNNUMBERED
15804 #error CTL_UNNUMBERED undefined
15814 rm -Rf build
&& mkdir
-p build
15815 echo "obj-m := conftest.o" >build
/Makefile
15816 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15828 { $as_echo "$as_me:$LINENO: result: yes" >&5
15829 $as_echo "yes" >&6; }
15831 cat >>confdefs.h
<<\_ACEOF
15832 #define HAVE_CTL_UNNUMBERED 1
15837 $as_echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 { $as_echo "$as_me:$LINENO: result: no" >&5
15841 $as_echo "no" >&6; }
15852 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
15853 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
15856 cat >conftest.c
<<_ACEOF
15859 cat confdefs.h
>>conftest.
$ac_ext
15860 cat >>conftest.
$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15864 #include <linux/sysctl.h>
15870 struct ctl_table ctl;
15880 rm -Rf build
&& mkdir
-p build
15881 echo "obj-m := conftest.o" >build
/Makefile
15882 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15894 { $as_echo "$as_me:$LINENO: result: yes" >&5
15895 $as_echo "yes" >&6; }
15897 cat >>confdefs.h
<<\_ACEOF
15898 #define HAVE_CTL_NAME 1
15903 $as_echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15906 { $as_echo "$as_me:$LINENO: result: no" >&5
15907 $as_echo "no" >&6; }
15917 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
15918 $as_echo_n "checking whether fls64() is available... " >&6; }
15921 cat >conftest.c
<<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15929 #include <linux/bitops.h>
15944 rm -Rf build
&& mkdir
-p build
15945 echo "obj-m := conftest.o" >build
/Makefile
15946 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15958 { $as_echo "$as_me:$LINENO: result: yes" >&5
15959 $as_echo "yes" >&6; }
15961 cat >>confdefs.h
<<\_ACEOF
15962 #define HAVE_FLS64 1
15967 $as_echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.
$ac_ext >&5
15970 { $as_echo "$as_me:$LINENO: result: no" >&5
15971 $as_echo "no" >&6; }
15982 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
15983 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
15984 grep -q -E '[[:space:]]device_create[[:space:]]' \
15985 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15987 if test $rc -ne 0; then
15989 for file in drivers
/base
/core.c
; do
15990 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
15991 "$LINUX_OBJ/$file" 2>/dev
/null
15993 if test $rc -eq 0; then
15998 if test $export -eq 0; then
15999 { $as_echo "$as_me:$LINENO: result: no" >&5
16000 $as_echo "no" >&6; }
16003 { $as_echo "$as_me:$LINENO: result: yes" >&5
16004 $as_echo "yes" >&6; }
16006 cat >>confdefs.h
<<\_ACEOF
16007 #define HAVE_DEVICE_CREATE 1
16012 { $as_echo "$as_me:$LINENO: result: yes" >&5
16013 $as_echo "yes" >&6; }
16015 cat >>confdefs.h
<<\_ACEOF
16016 #define HAVE_DEVICE_CREATE 1
16023 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
16024 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
16025 tmp_flags
="$EXTRA_KCFLAGS"
16026 EXTRA_KCFLAGS
="-Werror"
16029 cat >conftest.c
<<_ACEOF
16032 cat confdefs.h
>>conftest.
$ac_ext
16033 cat >>conftest.
$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16037 #include <linux/device.h>
16043 device_create(NULL, NULL, 0, NULL, "%d", 1);
16052 rm -Rf build
&& mkdir
-p build
16053 echo "obj-m := conftest.o" >build
/Makefile
16054 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16066 { $as_echo "$as_me:$LINENO: result: yes" >&5
16067 $as_echo "yes" >&6; }
16069 cat >>confdefs.h
<<\_ACEOF
16070 #define HAVE_5ARGS_DEVICE_CREATE 1
16075 $as_echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16078 { $as_echo "$as_me:$LINENO: result: no" >&5
16079 $as_echo "no" >&6; }
16088 EXTRA_KCFLAGS
="$tmp_flags"
16091 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
16092 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
16093 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
16094 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16096 if test $rc -ne 0; then
16098 for file in drivers
/base
/class.c
; do
16099 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
16100 "$LINUX_OBJ/$file" 2>/dev
/null
16102 if test $rc -eq 0; then
16107 if test $export -eq 0; then
16108 { $as_echo "$as_me:$LINENO: result: no" >&5
16109 $as_echo "no" >&6; }
16112 { $as_echo "$as_me:$LINENO: result: yes" >&5
16113 $as_echo "yes" >&6; }
16115 cat >>confdefs.h
<<\_ACEOF
16116 #define HAVE_CLASS_DEVICE_CREATE 1
16121 { $as_echo "$as_me:$LINENO: result: yes" >&5
16122 $as_echo "yes" >&6; }
16124 cat >>confdefs.h
<<\_ACEOF
16125 #define HAVE_CLASS_DEVICE_CREATE 1
16132 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
16133 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
16134 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
16135 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16137 if test $rc -ne 0; then
16139 for file in kernel
/time.c
; do
16140 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
16141 "$LINUX_OBJ/$file" 2>/dev
/null
16143 if test $rc -eq 0; then
16148 if test $export -eq 0; then
16149 { $as_echo "$as_me:$LINENO: result: no" >&5
16150 $as_echo "no" >&6; }
16153 { $as_echo "$as_me:$LINENO: result: yes" >&5
16154 $as_echo "yes" >&6; }
16156 cat >>confdefs.h
<<\_ACEOF
16157 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16162 { $as_echo "$as_me:$LINENO: result: yes" >&5
16163 $as_echo "yes" >&6; }
16165 cat >>confdefs.h
<<\_ACEOF
16166 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16173 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
16174 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
16177 cat >conftest.c
<<_ACEOF
16180 cat confdefs.h
>>conftest.
$ac_ext
16181 cat >>conftest.
$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16185 #include <linux/time.h>
16186 void set_normalized_timespec(struct timespec *ts,
16187 time_t sec, long nsec) { }
16200 rm -Rf build
&& mkdir
-p build
16201 echo "obj-m := conftest.o" >build
/Makefile
16202 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16204 (eval $ac_try) 2>&5
16206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16214 { $as_echo "$as_me:$LINENO: result: no" >&5
16215 $as_echo "no" >&6; }
16218 $as_echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.
$ac_ext >&5
16221 { $as_echo "$as_me:$LINENO: result: yes" >&5
16222 $as_echo "yes" >&6; }
16224 cat >>confdefs.h
<<\_ACEOF
16225 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
16238 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
16239 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
16242 cat >conftest.c
<<_ACEOF
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16250 #include <linux/time.h>
16256 struct timespec a, b, c = { 0 };
16257 c = timespec_sub(a, b);
16266 rm -Rf build
&& mkdir
-p build
16267 echo "obj-m := conftest.o" >build
/Makefile
16268 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; }; then
16280 { $as_echo "$as_me:$LINENO: result: yes" >&5
16281 $as_echo "yes" >&6; }
16283 cat >>confdefs.h
<<\_ACEOF
16284 #define HAVE_TIMESPEC_SUB 1
16289 $as_echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.
$ac_ext >&5
16292 { $as_echo "$as_me:$LINENO: result: no" >&5
16293 $as_echo "no" >&6; }
16304 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
16305 $as_echo_n "checking whether init_utsname() is available... " >&6; }
16308 cat >conftest.c
<<_ACEOF
16311 cat confdefs.h
>>conftest.
$ac_ext
16312 cat >>conftest.
$ac_ext <<_ACEOF
16313 /* end confdefs.h. */
16316 #include <linux/utsname.h>
16322 struct new_utsname *a = init_utsname();
16331 rm -Rf build
&& mkdir
-p build
16332 echo "obj-m := conftest.o" >build
/Makefile
16333 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; }; then
16345 { $as_echo "$as_me:$LINENO: result: yes" >&5
16346 $as_echo "yes" >&6; }
16348 cat >>confdefs.h
<<\_ACEOF
16349 #define HAVE_INIT_UTSNAME 1
16354 $as_echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.
$ac_ext >&5
16357 { $as_echo "$as_me:$LINENO: result: no" >&5
16358 $as_echo "no" >&6; }
16369 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
16370 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
16373 cat >conftest.c
<<_ACEOF
16376 cat confdefs.h
>>conftest.
$ac_ext
16377 cat >>conftest.
$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16381 #include <linux/fdtable.h>
16396 rm -Rf build
&& mkdir
-p build
16397 echo "obj-m := conftest.o" >build
/Makefile
16398 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; }; then
16411 cat >>confdefs.h
<<\_ACEOF
16412 #define HAVE_FDTABLE_HEADER 1
16415 { $as_echo "$as_me:$LINENO: result: yes" >&5
16416 $as_echo "yes" >&6; }
16420 $as_echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 { $as_echo "$as_me:$LINENO: result: no" >&5
16424 $as_echo "no" >&6; }
16437 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
16438 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
16441 cat >conftest.c
<<_ACEOF
16444 cat confdefs.h
>>conftest.
$ac_ext
16445 cat >>conftest.
$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16449 #include <linux/sched.h>
16450 #include <linux/file.h>
16451 #ifdef HAVE_FDTABLE_HEADER
16452 #include <linux/fdtable.h>
16459 struct files_struct *files = current->files;
16460 struct fdtable *fdt = files_fdtable(files);
16469 rm -Rf build
&& mkdir
-p build
16470 echo "obj-m := conftest.o" >build
/Makefile
16471 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16483 { $as_echo "$as_me:$LINENO: result: yes" >&5
16484 $as_echo "yes" >&6; }
16486 cat >>confdefs.h
<<\_ACEOF
16487 #define HAVE_FILES_FDTABLE 1
16492 $as_echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.
$ac_ext >&5
16495 { $as_echo "$as_me:$LINENO: result: no" >&5
16496 $as_echo "no" >&6; }
16507 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
16508 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
16511 cat >conftest.c
<<_ACEOF
16514 cat confdefs.h
>>conftest.
$ac_ext
16515 cat >>conftest.
$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16519 #include <linux/uaccess.h>
16534 rm -Rf build
&& mkdir
-p build
16535 echo "obj-m := conftest.o" >build
/Makefile
16536 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16549 cat >>confdefs.h
<<\_ACEOF
16550 #define HAVE_UACCESS_HEADER 1
16553 { $as_echo "$as_me:$LINENO: result: yes" >&5
16554 $as_echo "yes" >&6; }
16558 $as_echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 { $as_echo "$as_me:$LINENO: result: no" >&5
16562 $as_echo "no" >&6; }
16575 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
16576 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
16579 cat >conftest.c
<<_ACEOF
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16587 #include <linux/slab.h>
16593 void *a = kmalloc_node(1, GFP_KERNEL, 0);
16602 rm -Rf build
&& mkdir
-p build
16603 echo "obj-m := conftest.o" >build
/Makefile
16604 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16616 { $as_echo "$as_me:$LINENO: result: yes" >&5
16617 $as_echo "yes" >&6; }
16619 cat >>confdefs.h
<<\_ACEOF
16620 #define HAVE_KMALLOC_NODE 1
16625 $as_echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 { $as_echo "$as_me:$LINENO: result: no" >&5
16629 $as_echo "no" >&6; }
16640 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
16641 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
16642 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
16643 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16645 if test $rc -ne 0; then
16648 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
16649 "$LINUX_OBJ/$file" 2>/dev
/null
16651 if test $rc -eq 0; then
16656 if test $export -eq 0; then
16657 { $as_echo "$as_me:$LINENO: result: no" >&5
16658 $as_echo "no" >&6; }
16661 { $as_echo "$as_me:$LINENO: result: yes" >&5
16662 $as_echo "yes" >&6; }
16664 cat >>confdefs.h
<<\_ACEOF
16665 #define HAVE_MONOTONIC_CLOCK 1
16670 { $as_echo "$as_me:$LINENO: result: yes" >&5
16671 $as_echo "yes" >&6; }
16673 cat >>confdefs.h
<<\_ACEOF
16674 #define HAVE_MONOTONIC_CLOCK 1
16681 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
16682 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
16685 cat >conftest.c
<<_ACEOF
16688 cat confdefs.h
>>conftest.
$ac_ext
16689 cat >>conftest.
$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16693 #include <linux/fs.h>
16694 #include <linux/mutex.h>
16701 mutex_init(&i.i_mutex);
16710 rm -Rf build
&& mkdir
-p build
16711 echo "obj-m := conftest.o" >build
/Makefile
16712 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16724 { $as_echo "$as_me:$LINENO: result: yes" >&5
16725 $as_echo "yes" >&6; }
16727 cat >>confdefs.h
<<\_ACEOF
16728 #define HAVE_INODE_I_MUTEX 1
16733 $as_echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.
$ac_ext >&5
16736 { $as_echo "$as_me:$LINENO: result: no" >&5
16737 $as_echo "no" >&6; }
16748 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
16749 $as_echo_n "checking whether struct mutex has owner... " >&6; }
16752 cat >conftest.c
<<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16760 #include <linux/mutex.h>
16776 rm -Rf build
&& mkdir
-p build
16777 echo "obj-m := conftest.o" >build
/Makefile
16778 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16790 { $as_echo "$as_me:$LINENO: result: yes" >&5
16791 $as_echo "yes" >&6; }
16793 cat >>confdefs.h
<<\_ACEOF
16794 #define HAVE_MUTEX_OWNER 1
16799 $as_echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16802 { $as_echo "$as_me:$LINENO: result: no" >&5
16803 $as_echo "no" >&6; }
16814 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
16815 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
16818 cat >conftest.c
<<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16826 #include <linux/mutex.h>
16832 struct mutex mutex;
16833 mutex_init(&mutex);
16834 mutex_lock_nested(&mutex, 0);
16843 rm -Rf build
&& mkdir
-p build
16844 echo "obj-m := conftest.o" >build
/Makefile
16845 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16857 { $as_echo "$as_me:$LINENO: result: yes" >&5
16858 $as_echo "yes" >&6; }
16860 cat >>confdefs.h
<<\_ACEOF
16861 #define HAVE_MUTEX_LOCK_NESTED 1
16866 $as_echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 { $as_echo "$as_me:$LINENO: result: no" >&5
16870 $as_echo "no" >&6; }
16881 { $as_echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
16882 $as_echo_n "checking whether symbol div64_64 is exported... " >&6; }
16883 grep -q -E '[[:space:]]div64_64[[:space:]]' \
16884 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16886 if test $rc -ne 0; then
16889 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
16890 "$LINUX_OBJ/$file" 2>/dev
/null
16892 if test $rc -eq 0; then
16897 if test $export -eq 0; then
16898 { $as_echo "$as_me:$LINENO: result: no" >&5
16899 $as_echo "no" >&6; }
16902 { $as_echo "$as_me:$LINENO: result: yes" >&5
16903 $as_echo "yes" >&6; }
16905 cat >>confdefs.h
<<\_ACEOF
16906 #define HAVE_DIV64_64 1
16911 { $as_echo "$as_me:$LINENO: result: yes" >&5
16912 $as_echo "yes" >&6; }
16914 cat >>confdefs.h
<<\_ACEOF
16915 #define HAVE_DIV64_64 1
16922 { $as_echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
16923 $as_echo_n "checking whether symbol div64_u64 is exported... " >&6; }
16924 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
16925 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16927 if test $rc -ne 0; then
16930 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
16931 "$LINUX_OBJ/$file" 2>/dev
/null
16933 if test $rc -eq 0; then
16938 if test $export -eq 0; then
16939 { $as_echo "$as_me:$LINENO: result: no" >&5
16940 $as_echo "no" >&6; }
16943 { $as_echo "$as_me:$LINENO: result: yes" >&5
16944 $as_echo "yes" >&6; }
16946 cat >>confdefs.h
<<\_ACEOF
16947 #define HAVE_DIV64_U64 1
16952 { $as_echo "$as_me:$LINENO: result: yes" >&5
16953 $as_echo "yes" >&6; }
16955 cat >>confdefs.h
<<\_ACEOF
16956 #define HAVE_DIV64_U64 1
16963 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
16964 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
16967 cat >conftest.c
<<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16975 #include <linux/smp.h>
16981 on_each_cpu(NULL, NULL, 0);
16990 rm -Rf build
&& mkdir
-p build
16991 echo "obj-m := conftest.o" >build
/Makefile
16992 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17004 { $as_echo "$as_me:$LINENO: result: yes" >&5
17005 $as_echo "yes" >&6; }
17007 cat >>confdefs.h
<<\_ACEOF
17008 #define HAVE_3ARGS_ON_EACH_CPU 1
17013 $as_echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 { $as_echo "$as_me:$LINENO: result: no" >&5
17017 $as_echo "no" >&6; }
17028 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
17029 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
17030 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
17031 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17033 if test $rc -ne 0; then
17036 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
17037 "$LINUX_OBJ/$file" 2>/dev
/null
17039 if test $rc -eq 0; then
17044 if test $export -eq 0; then
17045 { $as_echo "$as_me:$LINENO: result: no" >&5
17046 $as_echo "no" >&6; }
17049 { $as_echo "$as_me:$LINENO: result: yes" >&5
17050 $as_echo "yes" >&6; }
17052 cat >>confdefs.h
<<\_ACEOF
17053 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17058 { $as_echo "$as_me:$LINENO: result: yes" >&5
17059 $as_echo "yes" >&6; }
17061 cat >>confdefs.h
<<\_ACEOF
17062 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17069 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
17070 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
17071 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
17072 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17074 if test $rc -ne 0; then
17077 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
17078 "$LINUX_OBJ/$file" 2>/dev
/null
17080 if test $rc -eq 0; then
17085 if test $export -eq 0; then
17086 { $as_echo "$as_me:$LINENO: result: no" >&5
17087 $as_echo "no" >&6; }
17090 { $as_echo "$as_me:$LINENO: result: yes" >&5
17091 $as_echo "yes" >&6; }
17093 cat >>confdefs.h
<<\_ACEOF
17094 #define HAVE_GET_VMALLOC_INFO 1
17099 { $as_echo "$as_me:$LINENO: result: yes" >&5
17100 $as_echo "yes" >&6; }
17102 cat >>confdefs.h
<<\_ACEOF
17103 #define HAVE_GET_VMALLOC_INFO 1
17110 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
17111 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
17112 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
17114 if test $rc -eq 0; then
17115 { $as_echo "$as_me:$LINENO: result: yes" >&5
17116 $as_echo "yes" >&6; }
17118 cat >>confdefs.h
<<\_ACEOF
17119 #define HAVE_PGDAT_HELPERS 1
17123 { $as_echo "$as_me:$LINENO: result: no" >&5
17124 $as_echo "no" >&6; }
17128 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
17129 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
17130 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
17131 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17133 if test $rc -ne 0; then
17136 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
17137 "$LINUX_OBJ/$file" 2>/dev
/null
17139 if test $rc -eq 0; then
17144 if test $export -eq 0; then
17145 { $as_echo "$as_me:$LINENO: result: no" >&5
17146 $as_echo "no" >&6; }
17149 { $as_echo "$as_me:$LINENO: result: yes" >&5
17150 $as_echo "yes" >&6; }
17152 cat >>confdefs.h
<<\_ACEOF
17153 #define HAVE_FIRST_ONLINE_PGDAT 1
17158 { $as_echo "$as_me:$LINENO: result: yes" >&5
17159 $as_echo "yes" >&6; }
17161 cat >>confdefs.h
<<\_ACEOF
17162 #define HAVE_FIRST_ONLINE_PGDAT 1
17169 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
17170 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
17171 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
17172 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17174 if test $rc -ne 0; then
17177 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
17178 "$LINUX_OBJ/$file" 2>/dev
/null
17180 if test $rc -eq 0; then
17185 if test $export -eq 0; then
17186 { $as_echo "$as_me:$LINENO: result: no" >&5
17187 $as_echo "no" >&6; }
17190 { $as_echo "$as_me:$LINENO: result: yes" >&5
17191 $as_echo "yes" >&6; }
17193 cat >>confdefs.h
<<\_ACEOF
17194 #define HAVE_NEXT_ONLINE_PGDAT 1
17199 { $as_echo "$as_me:$LINENO: result: yes" >&5
17200 $as_echo "yes" >&6; }
17202 cat >>confdefs.h
<<\_ACEOF
17203 #define HAVE_NEXT_ONLINE_PGDAT 1
17210 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
17211 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
17212 grep -q -E '[[:space:]]next_zone[[:space:]]' \
17213 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17215 if test $rc -ne 0; then
17218 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
17219 "$LINUX_OBJ/$file" 2>/dev
/null
17221 if test $rc -eq 0; then
17226 if test $export -eq 0; then
17227 { $as_echo "$as_me:$LINENO: result: no" >&5
17228 $as_echo "no" >&6; }
17231 { $as_echo "$as_me:$LINENO: result: yes" >&5
17232 $as_echo "yes" >&6; }
17234 cat >>confdefs.h
<<\_ACEOF
17235 #define HAVE_NEXT_ZONE 1
17240 { $as_echo "$as_me:$LINENO: result: yes" >&5
17241 $as_echo "yes" >&6; }
17243 cat >>confdefs.h
<<\_ACEOF
17244 #define HAVE_NEXT_ZONE 1
17251 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
17252 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
17253 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
17254 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17256 if test $rc -ne 0; then
17259 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
17260 "$LINUX_OBJ/$file" 2>/dev
/null
17262 if test $rc -eq 0; then
17267 if test $export -eq 0; then
17268 { $as_echo "$as_me:$LINENO: result: no" >&5
17269 $as_echo "no" >&6; }
17272 { $as_echo "$as_me:$LINENO: result: yes" >&5
17273 $as_echo "yes" >&6; }
17275 cat >>confdefs.h
<<\_ACEOF
17276 #define HAVE_PGDAT_LIST 1
17281 { $as_echo "$as_me:$LINENO: result: yes" >&5
17282 $as_echo "yes" >&6; }
17284 cat >>confdefs.h
<<\_ACEOF
17285 #define HAVE_PGDAT_LIST 1
17292 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
17293 $as_echo_n "checking whether global_page_state() is available... " >&6; }
17296 cat >conftest.c
<<_ACEOF
17299 cat confdefs.h
>>conftest.
$ac_ext
17300 cat >>conftest.
$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17304 #include <linux/mm.h>
17310 unsigned long state;
17311 state = global_page_state(0);
17320 rm -Rf build
&& mkdir
-p build
17321 echo "obj-m := conftest.o" >build
/Makefile
17322 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17334 { $as_echo "$as_me:$LINENO: result: yes" >&5
17335 $as_echo "yes" >&6; }
17337 cat >>confdefs.h
<<\_ACEOF
17338 #define HAVE_GLOBAL_PAGE_STATE 1
17343 $as_echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.
$ac_ext >&5
17346 { $as_echo "$as_me:$LINENO: result: no" >&5
17347 $as_echo "no" >&6; }
17358 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
17359 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
17362 cat >conftest.c
<<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17370 #include <linux/mm.h>
17376 enum zone_stat_item zsi;
17377 zsi = NR_FREE_PAGES;
17386 rm -Rf build
&& mkdir
-p build
17387 echo "obj-m := conftest.o" >build
/Makefile
17388 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17400 { $as_echo "$as_me:$LINENO: result: yes" >&5
17401 $as_echo "yes" >&6; }
17403 cat >>confdefs.h
<<\_ACEOF
17404 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
17409 $as_echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 { $as_echo "$as_me:$LINENO: result: no" >&5
17413 $as_echo "no" >&6; }
17424 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
17425 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
17428 cat >conftest.c
<<_ACEOF
17431 cat confdefs.h
>>conftest.
$ac_ext
17432 cat >>conftest.
$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17436 #include <linux/mm.h>
17442 enum zone_stat_item zsi;
17452 rm -Rf build
&& mkdir
-p build
17453 echo "obj-m := conftest.o" >build
/Makefile
17454 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17466 { $as_echo "$as_me:$LINENO: result: yes" >&5
17467 $as_echo "yes" >&6; }
17469 cat >>confdefs.h
<<\_ACEOF
17470 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
17475 $as_echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.
$ac_ext >&5
17478 { $as_echo "$as_me:$LINENO: result: no" >&5
17479 $as_echo "no" >&6; }
17489 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
17490 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
17493 cat >conftest.c
<<_ACEOF
17496 cat confdefs.h
>>conftest.
$ac_ext
17497 cat >>conftest.
$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17501 #include <linux/mm.h>
17507 enum zone_stat_item zsi;
17508 zsi = NR_INACTIVE_ANON;
17517 rm -Rf build
&& mkdir
-p build
17518 echo "obj-m := conftest.o" >build
/Makefile
17519 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; }; then
17531 { $as_echo "$as_me:$LINENO: result: yes" >&5
17532 $as_echo "yes" >&6; }
17534 cat >>confdefs.h
<<\_ACEOF
17535 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
17540 $as_echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 { $as_echo "$as_me:$LINENO: result: no" >&5
17544 $as_echo "no" >&6; }
17554 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
17555 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
17558 cat >conftest.c
<<_ACEOF
17561 cat confdefs.h
>>conftest.
$ac_ext
17562 cat >>conftest.
$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17566 #include <linux/mm.h>
17572 enum zone_stat_item zsi;
17573 zsi = NR_INACTIVE_FILE;
17582 rm -Rf build
&& mkdir
-p build
17583 echo "obj-m := conftest.o" >build
/Makefile
17584 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; }; then
17596 { $as_echo "$as_me:$LINENO: result: yes" >&5
17597 $as_echo "yes" >&6; }
17599 cat >>confdefs.h
<<\_ACEOF
17600 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
17605 $as_echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 { $as_echo "$as_me:$LINENO: result: no" >&5
17609 $as_echo "no" >&6; }
17620 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
17621 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
17624 cat >conftest.c
<<_ACEOF
17627 cat confdefs.h
>>conftest.
$ac_ext
17628 cat >>conftest.
$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17632 #include <linux/mm.h>
17638 enum zone_stat_item zsi;
17648 rm -Rf build
&& mkdir
-p build
17649 echo "obj-m := conftest.o" >build
/Makefile
17650 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17662 { $as_echo "$as_me:$LINENO: result: yes" >&5
17663 $as_echo "yes" >&6; }
17665 cat >>confdefs.h
<<\_ACEOF
17666 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
17671 $as_echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17674 { $as_echo "$as_me:$LINENO: result: no" >&5
17675 $as_echo "no" >&6; }
17685 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
17686 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
17689 cat >conftest.c
<<_ACEOF
17692 cat confdefs.h
>>conftest.
$ac_ext
17693 cat >>conftest.
$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17697 #include <linux/mm.h>
17703 enum zone_stat_item zsi;
17704 zsi = NR_ACTIVE_ANON;
17713 rm -Rf build
&& mkdir
-p build
17714 echo "obj-m := conftest.o" >build
/Makefile
17715 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17727 { $as_echo "$as_me:$LINENO: result: yes" >&5
17728 $as_echo "yes" >&6; }
17730 cat >>confdefs.h
<<\_ACEOF
17731 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
17736 $as_echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 { $as_echo "$as_me:$LINENO: result: no" >&5
17740 $as_echo "no" >&6; }
17750 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
17751 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
17754 cat >conftest.c
<<_ACEOF
17757 cat confdefs.h
>>conftest.
$ac_ext
17758 cat >>conftest.
$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17762 #include <linux/mm.h>
17768 enum zone_stat_item zsi;
17769 zsi = NR_ACTIVE_FILE;
17778 rm -Rf build
&& mkdir
-p build
17779 echo "obj-m := conftest.o" >build
/Makefile
17780 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17792 { $as_echo "$as_me:$LINENO: result: yes" >&5
17793 $as_echo "yes" >&6; }
17795 cat >>confdefs.h
<<\_ACEOF
17796 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
17801 $as_echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.
$ac_ext >&5
17804 { $as_echo "$as_me:$LINENO: result: no" >&5
17805 $as_echo "no" >&6; }
17816 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
17817 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
17820 cat >conftest.c
<<_ACEOF
17823 cat confdefs.h
>>conftest.
$ac_ext
17824 cat >>conftest.
$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17833 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
17834 #error "global_page_state needs NR_FREE_PAGES"
17837 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
17838 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
17839 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
17840 #error "global_page_state needs NR_ACTIVE*"
17843 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
17844 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
17845 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
17846 #error "global_page_state needs NR_INACTIVE*"
17856 rm -Rf build
&& mkdir
-p build
17857 echo "obj-m := conftest.o" >build
/Makefile
17858 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; }; then
17870 { $as_echo "$as_me:$LINENO: result: no" >&5
17871 $as_echo "no" >&6; }
17874 $as_echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.
$ac_ext >&5
17877 { $as_echo "$as_me:$LINENO: result: yes" >&5
17878 $as_echo "yes" >&6; }
17880 cat >>confdefs.h
<<\_ACEOF
17881 #define NEED_GET_ZONE_COUNTS 1
17885 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
17886 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
17887 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
17888 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17890 if test $rc -ne 0; then
17893 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
17894 "$LINUX_OBJ/$file" 2>/dev
/null
17896 if test $rc -eq 0; then
17901 if test $export -eq 0; then
17902 { $as_echo "$as_me:$LINENO: result: no" >&5
17903 $as_echo "no" >&6; }
17906 { $as_echo "$as_me:$LINENO: result: yes" >&5
17907 $as_echo "yes" >&6; }
17909 cat >>confdefs.h
<<\_ACEOF
17910 #define HAVE_GET_ZONE_COUNTS 1
17915 { $as_echo "$as_me:$LINENO: result: yes" >&5
17916 $as_echo "yes" >&6; }
17918 cat >>confdefs.h
<<\_ACEOF
17919 #define HAVE_GET_ZONE_COUNTS 1
17934 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
17935 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
17936 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
17937 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17939 if test $rc -ne 0; then
17942 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
17943 "$LINUX_OBJ/$file" 2>/dev
/null
17945 if test $rc -eq 0; then
17950 if test $export -eq 0; then
17951 { $as_echo "$as_me:$LINENO: result: no" >&5
17952 $as_echo "no" >&6; }
17955 { $as_echo "$as_me:$LINENO: result: yes" >&5
17956 $as_echo "yes" >&6; }
17958 cat >>confdefs.h
<<\_ACEOF
17959 #define HAVE_SET_FS_PWD 1
17964 { $as_echo "$as_me:$LINENO: result: yes" >&5
17965 $as_echo "yes" >&6; }
17967 cat >>confdefs.h
<<\_ACEOF
17968 #define HAVE_SET_FS_PWD 1
17974 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
17975 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
17978 cat >conftest.c
<<_ACEOF
17981 cat confdefs.h
>>conftest.
$ac_ext
17982 cat >>conftest.
$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17986 #include <linux/sched.h>
17987 #include <linux/fs_struct.h>
17993 set_fs_pwd(NULL, NULL);
18002 rm -Rf build
&& mkdir
-p build
18003 echo "obj-m := conftest.o" >build
/Makefile
18004 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18016 { $as_echo "$as_me:$LINENO: result: yes" >&5
18017 $as_echo "yes" >&6; }
18019 cat >>confdefs.h
<<\_ACEOF
18020 #define HAVE_2ARGS_SET_FS_PWD 1
18025 $as_echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.
$ac_ext >&5
18028 { $as_echo "$as_me:$LINENO: result: no" >&5
18029 $as_echo "no" >&6; }
18039 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
18040 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
18043 cat >conftest.c
<<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18051 #include <linux/fs.h>
18057 vfs_unlink(NULL, NULL);
18066 rm -Rf build
&& mkdir
-p build
18067 echo "obj-m := conftest.o" >build
/Makefile
18068 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18080 { $as_echo "$as_me:$LINENO: result: yes" >&5
18081 $as_echo "yes" >&6; }
18083 cat >>confdefs.h
<<\_ACEOF
18084 #define HAVE_2ARGS_VFS_UNLINK 1
18089 $as_echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.
$ac_ext >&5
18092 { $as_echo "$as_me:$LINENO: result: no" >&5
18093 $as_echo "no" >&6; }
18103 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
18104 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
18107 cat >conftest.c
<<_ACEOF
18110 cat confdefs.h
>>conftest.
$ac_ext
18111 cat >>conftest.
$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18115 #include <linux/fs.h>
18121 vfs_rename(NULL, NULL, NULL, NULL);
18130 rm -Rf build
&& mkdir
-p build
18131 echo "obj-m := conftest.o" >build
/Makefile
18132 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18144 { $as_echo "$as_me:$LINENO: result: yes" >&5
18145 $as_echo "yes" >&6; }
18147 cat >>confdefs.h
<<\_ACEOF
18148 #define HAVE_4ARGS_VFS_RENAME 1
18153 $as_echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 { $as_echo "$as_me:$LINENO: result: no" >&5
18157 $as_echo "no" >&6; }
18168 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
18169 $as_echo_n "checking whether struct cred exists... " >&6; }
18172 cat >conftest.c
<<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18180 #include <linux/cred.h>
18196 rm -Rf build
&& mkdir
-p build
18197 echo "obj-m := conftest.o" >build
/Makefile
18198 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18210 { $as_echo "$as_me:$LINENO: result: yes" >&5
18211 $as_echo "yes" >&6; }
18213 cat >>confdefs.h
<<\_ACEOF
18214 #define HAVE_CRED_STRUCT 1
18219 $as_echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.
$ac_ext >&5
18222 { $as_echo "$as_me:$LINENO: result: no" >&5
18223 $as_echo "no" >&6; }
18234 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
18235 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
18236 grep -q -E '[[:space:]]groups_search[[:space:]]' \
18237 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18239 if test $rc -ne 0; then
18242 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
18243 "$LINUX_OBJ/$file" 2>/dev
/null
18245 if test $rc -eq 0; then
18250 if test $export -eq 0; then
18251 { $as_echo "$as_me:$LINENO: result: no" >&5
18252 $as_echo "no" >&6; }
18255 { $as_echo "$as_me:$LINENO: result: yes" >&5
18256 $as_echo "yes" >&6; }
18258 cat >>confdefs.h
<<\_ACEOF
18259 #define HAVE_GROUPS_SEARCH 1
18264 { $as_echo "$as_me:$LINENO: result: yes" >&5
18265 $as_echo "yes" >&6; }
18267 cat >>confdefs.h
<<\_ACEOF
18268 #define HAVE_GROUPS_SEARCH 1
18275 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
18276 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
18277 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
18278 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18280 if test $rc -ne 0; then
18283 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
18284 "$LINUX_OBJ/$file" 2>/dev
/null
18286 if test $rc -eq 0; then
18291 if test $export -eq 0; then
18292 { $as_echo "$as_me:$LINENO: result: no" >&5
18293 $as_echo "no" >&6; }
18296 { $as_echo "$as_me:$LINENO: result: yes" >&5
18297 $as_echo "yes" >&6; }
18299 cat >>confdefs.h
<<\_ACEOF
18300 #define HAVE_PUT_TASK_STRUCT 1
18305 { $as_echo "$as_me:$LINENO: result: yes" >&5
18306 $as_echo "yes" >&6; }
18308 cat >>confdefs.h
<<\_ACEOF
18309 #define HAVE_PUT_TASK_STRUCT 1
18316 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
18317 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
18320 cat >conftest.c
<<_ACEOF
18323 cat confdefs.h
>>conftest.
$ac_ext
18324 cat >>conftest.
$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18328 #include <linux/sysctl.h>
18334 proc_dostring(NULL, 0, NULL, NULL, NULL);
18343 rm -Rf build
&& mkdir
-p build
18344 echo "obj-m := conftest.o" >build
/Makefile
18345 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; }; then
18357 { $as_echo "$as_me:$LINENO: result: yes" >&5
18358 $as_echo "yes" >&6; }
18360 cat >>confdefs.h
<<\_ACEOF
18361 #define HAVE_5ARGS_PROC_HANDLER 1
18366 $as_echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.
$ac_ext >&5
18369 { $as_echo "$as_me:$LINENO: result: no" >&5
18370 $as_echo "no" >&6; }
18381 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
18382 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
18383 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
18384 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18386 if test $rc -ne 0; then
18389 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
18390 "$LINUX_OBJ/$file" 2>/dev
/null
18392 if test $rc -eq 0; then
18397 if test $export -eq 0; then
18398 { $as_echo "$as_me:$LINENO: result: no" >&5
18399 $as_echo "no" >&6; }
18402 { $as_echo "$as_me:$LINENO: result: yes" >&5
18403 $as_echo "yes" >&6; }
18405 cat >>confdefs.h
<<\_ACEOF
18406 #define HAVE_KVASPRINTF 1
18411 { $as_echo "$as_me:$LINENO: result: yes" >&5
18412 $as_echo "yes" >&6; }
18414 cat >>confdefs.h
<<\_ACEOF
18415 #define HAVE_KVASPRINTF 1
18425 { $as_echo "$as_me:$LINENO: result: Error!" >&5
18426 $as_echo "Error!" >&6; }
18427 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
18428 user kernel|user|all|srpm" >&5
18429 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
18430 user kernel|user|all|srpm" >&2;}
18431 { (exit 1); exit 1; }; } ;;
18434 if test "$SPL_CONFIG" = user ||
18435 test "$SPL_CONFIG" = all
; then
18437 CONFIG_USER_FALSE
='#'
18439 CONFIG_USER_TRUE
='#'
18443 if test "$SPL_CONFIG" = kernel ||
18444 test "$SPL_CONFIG" = all
; then
18445 CONFIG_KERNEL_TRUE
=
18446 CONFIG_KERNEL_FALSE
='#'
18448 CONFIG_KERNEL_TRUE
='#'
18449 CONFIG_KERNEL_FALSE
=
18454 ac_config_files
="$ac_config_files Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile scripts/Makefile spl.spec spl-modules.spec"
18457 cat >confcache
<<\_ACEOF
18458 # This file is a shell script that caches the results of configure
18459 # tests run on this system so they can be shared between configure
18460 # scripts and configure runs, see configure's option --config-cache.
18461 # It is not useful on other systems. If it contains results you don't
18462 # want to keep, you may remove or edit it.
18464 # config.status only pays attention to the cache file if you give it
18465 # the --recheck option to rerun configure.
18467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18469 # following values.
18473 # The following way of writing the cache mishandles newlines in values,
18474 # but we know of no workaround that is simple, portable, and efficient.
18475 # So, we kill variables containing newlines.
18476 # Ultrix sh set writes to stderr and can't be redirected directly,
18477 # and sets the high bit in the cache file unless we assign to the vars.
18479 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18480 eval ac_val
=\$
$ac_var
18484 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18488 _ | IFS | as_nl
) ;; #(
18489 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18490 *) $as_unset $ac_var ;;
18496 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18497 *${as_nl}ac_space
=\
*)
18498 # `set' does not quote correctly, so add quotes (double-quote
18499 # substitution turns \\\\ into \\, and sed turns \\ into \).
18502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18505 # `set' quotes correctly as required by POSIX, so do not add quotes.
18506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18519 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18520 if test -w "$cache_file"; then
18521 test "x$cache_file" != "x/dev/null" &&
18522 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18523 $as_echo "$as_me: updating cache $cache_file" >&6;}
18524 cat confcache
>$cache_file
18526 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18533 # Let make expand exec_prefix.
18534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18536 DEFS
=-DHAVE_CONFIG_H
18540 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18541 # 1. Remove the extension, and $U if already installed.
18542 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18543 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18544 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18545 # will be set to the directory where LIBOBJS objects are built.
18546 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18547 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18549 LIBOBJS
=$ac_libobjs
18551 LTLIBOBJS
=$ac_ltlibobjs
18554 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18555 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18556 Usually this means the macro was only invoked conditionally." >&5
18557 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18558 Usually this means the macro was only invoked conditionally." >&2;}
18559 { (exit 1); exit 1; }; }
18561 if test -n "$EXEEXT"; then
18563 am__EXEEXT_FALSE
='#'
18565 am__EXEEXT_TRUE
='#'
18569 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18570 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18571 Usually this means the macro was only invoked conditionally." >&5
18572 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18573 Usually this means the macro was only invoked conditionally." >&2;}
18574 { (exit 1); exit 1; }; }
18576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18577 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18578 Usually this means the macro was only invoked conditionally." >&5
18579 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18580 Usually this means the macro was only invoked conditionally." >&2;}
18581 { (exit 1); exit 1; }; }
18583 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18584 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
18585 Usually this means the macro was only invoked conditionally." >&5
18586 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
18587 Usually this means the macro was only invoked conditionally." >&2;}
18588 { (exit 1); exit 1; }; }
18590 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18591 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
18592 Usually this means the macro was only invoked conditionally." >&5
18593 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
18594 Usually this means the macro was only invoked conditionally." >&2;}
18595 { (exit 1); exit 1; }; }
18598 : ${CONFIG_STATUS=./config.status}
18600 ac_clean_files_save
=$ac_clean_files
18601 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18602 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18604 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18606 # Generated by $as_me.
18607 # Run this file to recreate the current configuration.
18608 # Compiler output produced by configure, useful for debugging
18609 # configure, is in config.log if it exists.
18612 ac_cs_recheck=false
18614 SHELL=\${CONFIG_SHELL-$SHELL}
18617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18618 ## --------------------- ##
18619 ## M4sh Initialization. ##
18620 ## --------------------- ##
18622 # Be more Bourne compatible
18623 DUALCASE
=1; export DUALCASE
# for MKS sh
18624 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18627 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18628 # is contrary to our usage. Disable this feature.
18629 alias -g '${1+"$@"}'='"$@"'
18630 setopt NO_GLOB_SUBST
18632 case `(set -o) 2>/dev/null` in
18633 *posix
*) set -o posix
;;
18642 # Avoid depending upon Character Ranges.
18643 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18644 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18645 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18646 as_cr_digits
='0123456789'
18647 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18652 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18653 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18655 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18656 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18657 as_echo='printf %s
\n'
18658 as_echo_n='printf %s
'
18660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18661 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18662 as_echo_n='/usr
/ucb
/echo -n'
18664 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18665 as_echo_n_body='eval
18669 expr "X$arg" : "X\\(.*\\)$as_nl";
18670 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18672 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18674 export as_echo_n_body
18675 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18677 export as_echo_body
18678 as_echo='sh
-c $as_echo_body as_echo
'
18681 # The user is always right.
18682 if test "${PATH_SEPARATOR+set}" != set; then
18684 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18685 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18690 # Support unset when possible.
18691 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18699 # We need space, tab and new line, in precisely that order. Quoting is
18700 # there to prevent editors from complaining about space-tab.
18701 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18702 # splitting by setting IFS to empty value.)
18705 # Find who we are. Look in the path if we contain no directory separator.
18707 *[\\/]* ) as_myself=$0 ;;
18708 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18709 for as_dir in $PATH
18712 test -z "$as_dir" && as_dir=.
18713 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18719 # We did not find ourselves, most probably we were run as `sh COMMAND'
18720 # in which case we are not to be found in the path.
18721 if test "x$as_myself" = x
; then
18724 if test ! -f "$as_myself"; then
18725 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18726 { (exit 1); exit 1; }
18729 # Work around bugs in pre-3.0 UWIN ksh.
18730 for as_var
in ENV MAIL MAILPATH
18731 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18743 # Required to use basename.
18744 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18745 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18751 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18752 as_basename
=basename
18758 # Name of the executable.
18759 as_me
=`$as_basename -- "$0" ||
18760 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18761 X"$0" : 'X\(//\)$' \| \
18762 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18764 sed '/^.*\/\([^/][^/]*\)\/*$/{
18783 as_lineno_1
=$LINENO
18784 as_lineno_2
=$LINENO
18785 test "x$as_lineno_1" != "x$as_lineno_2" &&
18786 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
18788 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18789 # uniformly replaced by the line number. The first 'sed' inserts a
18790 # line-number line after each line using $LINENO; the second 'sed'
18791 # does the real work. The second script uses 'N' to pair each
18792 # line-number line with the line containing $LINENO, and appends
18793 # trailing '-' during substitution so that $LINENO is not a special
18794 # case at line end.
18795 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18796 # scripts with optimization help from Paolo Bonzini. Blame Lee
18797 # E. McMahon (1931-1989) for sed's syntax. :-)
18809 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18812 ' >$as_me.lineno
&&
18813 chmod +x
"$as_me.lineno" ||
18814 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18815 { (exit 1); exit 1; }; }
18817 # Don't try to exec as it changes $[0], causing all sort of problems
18818 # (the dirname of $[0] is not the place where we might find the
18819 # original and so on. Autoconf is especially sensitive to this).
18820 .
"./$as_me.lineno"
18821 # Exit status is that of the last command.
18826 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18832 ECHO_C
= ECHO_N
= ECHO_T
=
18833 case `echo -n x` in
18835 case `echo 'x\c'` in
18836 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18842 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18843 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18849 rm -f conf$$ conf$$.exe conf$$.
file
18850 if test -d conf$$.dir
; then
18851 rm -f conf$$.dir
/conf$$.
file
18854 mkdir conf$$.dir
2>/dev
/null
18856 if (echo >conf$$.
file) 2>/dev
/null
; then
18857 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18859 # ... but there are two gotchas:
18860 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18861 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18862 # In both cases, we have to default to `cp -p'.
18863 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18865 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18873 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18874 rmdir conf$$.dir
2>/dev
/null
18876 if mkdir
-p .
2>/dev
/null
; then
18879 test -d .
/-p && rmdir .
/-p
18883 if test -x / >/dev
/null
2>&1; then
18884 as_test_x
='test -x'
18886 if ls -dL / >/dev
/null
2>&1; then
18893 if test -d "$1"; then
18899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18900 ???[sx]*):;;*)false;;esac;fi
18904 as_executable_p
=$as_test_x
18906 # Sed expression to map a string onto a valid CPP name.
18907 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18909 # Sed expression to map a string onto a valid variable name.
18910 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18915 # Save the log message, to keep $[0] and so on meaningful, and to
18916 # report actual input values of CONFIG_FILES etc. instead of their
18917 # values after options handling.
18919 This file was extended by $as_me, which was
18920 generated by GNU Autoconf 2.63. Invocation command line was
18922 CONFIG_FILES = $CONFIG_FILES
18923 CONFIG_HEADERS = $CONFIG_HEADERS
18924 CONFIG_LINKS = $CONFIG_LINKS
18925 CONFIG_COMMANDS = $CONFIG_COMMANDS
18928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18933 case $ac_config_files in *"
18934 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18937 case $ac_config_headers in *"
18938 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18943 # Files that config.status was made for.
18944 config_files="$ac_config_files"
18945 config_headers="$ac_config_headers"
18946 config_commands="$ac_config_commands"
18950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18952 \`$as_me' instantiates files from templates according to the
18953 current configuration.
18955 Usage: $0 [OPTION]... [FILE]...
18957 -h, --help print this help, then exit
18958 -V, --version print version number and configuration settings, then exit
18959 -q, --quiet, --silent
18960 do not print progress messages
18961 -d, --debug don't remove temporary files
18962 --recheck update $as_me by reconfiguring in the same conditions
18963 --file=FILE[:TEMPLATE]
18964 instantiate the configuration file FILE
18965 --header=FILE[:TEMPLATE]
18966 instantiate the configuration header FILE
18968 Configuration files:
18971 Configuration headers:
18974 Configuration commands:
18977 Report bugs to <bug-autoconf@gnu.org>."
18980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18983 configured by $0, generated by GNU Autoconf 2.63,
18984 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18986 Copyright (C) 2008 Free Software Foundation, Inc.
18987 This config.status script is free software; the Free Software Foundation
18988 gives unlimited permission to copy, distribute and modify it."
18995 test -n "\$AWK" || AWK=awk
18998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18999 # The default lists apply if the user does not specify any file.
19005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19006 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19017 # Handling of the options.
19018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19021 $as_echo "$ac_cs_version"; exit ;;
19022 --debug |
--debu |
--deb |
--de |
--d |
-d )
19024 --file |
--fil |
--fi |
--f )
19027 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19029 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
19030 ac_need_defaults
=false
;;
19031 --header |
--heade |
--head |
--hea )
19034 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19036 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
19037 ac_need_defaults
=false
;;
19039 # Conflict between --help and --header
19040 { $as_echo "$as_me: error: ambiguous option: $1
19041 Try \`$0 --help' for more information." >&2
19042 { (exit 1); exit 1; }; };;
19043 --help |
--hel |
-h )
19044 $as_echo "$ac_cs_usage"; exit ;;
19045 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19046 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19049 # This is an error.
19050 -*) { $as_echo "$as_me: error: unrecognized option: $1
19051 Try \`$0 --help' for more information." >&2
19052 { (exit 1); exit 1; }; } ;;
19054 *) ac_config_targets
="$ac_config_targets $1"
19055 ac_need_defaults
=false
;;
19061 ac_configure_extra_args
=
19063 if $ac_cs_silent; then
19065 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19070 if \$ac_cs_recheck; then
19071 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19073 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19074 CONFIG_SHELL='$SHELL'
19075 export CONFIG_SHELL
19080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19084 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19085 ## Running $as_me. ##
19091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19095 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19098 # The HP-UX ksh and POSIX shell print the target directory to stdout
19099 # if CDPATH is set.
19100 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19102 sed_quote_subst='$sed_quote_subst'
19103 double_quote_subst='$double_quote_subst'
19104 delay_variable_subst='$delay_variable_subst'
19105 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19106 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19107 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19108 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19109 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19110 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19111 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19112 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19113 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19114 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19115 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19116 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19117 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19118 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19119 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19120 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19121 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19122 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19123 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19124 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19125 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19126 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19127 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19128 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19129 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19130 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19131 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19132 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19133 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19134 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19135 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19136 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19137 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19138 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19139 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19140 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19141 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19142 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19143 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19144 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19145 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19146 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19147 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19148 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19149 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
19150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19151 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19152 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19153 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19154 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19155 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19156 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19157 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19158 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19159 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19160 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19161 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19162 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19163 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19164 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19165 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19166 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19167 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19168 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19169 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19170 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19171 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19172 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19173 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19174 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19175 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19176 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19177 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19178 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19179 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19180 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19181 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19182 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19183 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19184 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19185 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19186 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19187 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19188 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19189 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19190 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19191 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19192 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19193 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19194 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19195 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19196 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19197 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19198 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19199 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19200 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19201 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19202 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19203 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19204 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19205 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19206 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19207 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19208 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19209 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19210 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19211 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19212 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19213 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19214 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19215 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19216 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19217 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19218 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19219 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19220 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19221 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19222 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19225 LTCFLAGS='$LTCFLAGS'
19226 compiler='$compiler_DEFAULT'
19228 # Quote evaled strings.
19240 deplibs_check_method \
19249 lt_cv_sys_global_symbol_pipe \
19250 lt_cv_sys_global_symbol_to_cdecl \
19251 lt_cv_sys_global_symbol_to_c_name_address \
19252 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19255 lt_prog_compiler_no_builtin_flag \
19256 lt_prog_compiler_wl \
19257 lt_prog_compiler_pic \
19258 lt_prog_compiler_static \
19259 lt_cv_prog_compiler_c_o \
19267 export_dynamic_flag_spec \
19268 whole_archive_flag_spec \
19269 compiler_needs_object \
19271 allow_undefined_flag \
19272 no_undefined_flag \
19273 hardcode_libdir_flag_spec \
19274 hardcode_libdir_flag_spec_ld \
19275 hardcode_libdir_separator \
19280 variables_saved_for_relink \
19282 library_names_spec \
19287 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19288 *[\\\\\\\`\\"\\\$]*)
19289 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19292 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19297 # Double-quote double-evaled strings.
19298 for var in reload_cmds \
19299 old_postinstall_cmds \
19300 old_postuninstall_cmds \
19302 extract_expsyms_cmds \
19303 old_archive_from_new_cmds \
19304 old_archive_from_expsyms_cmds \
19306 archive_expsym_cmds \
19308 module_expsym_cmds \
19309 export_symbols_cmds \
19312 postuninstall_cmds \
19314 sys_lib_search_path_spec \
19315 sys_lib_dlsearch_path_spec; do
19316 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19317 *[\\\\\\\`\\"\\\$]*)
19318 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19321 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19326 # Fix-up fallback echo if it was mangled by the above quoting rules.
19328 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19332 ac_aux_dir='$ac_aux_dir'
19333 xsi_shell='$xsi_shell'
19334 lt_shell_append='$lt_shell_append'
19336 # See if we are running on zsh, and set the options which allow our
19337 # commands through without removal of \ escapes INIT.
19338 if test -n "\${ZSH_VERSION+set}" ; then
19339 setopt NO_GLOB_SUBST
19345 TIMESTAMP='$TIMESTAMP'
19354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19356 # Handling of arguments.
19357 for ac_config_target
in $ac_config_targets
19359 case $ac_config_target in
19360 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19361 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19362 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19363 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19364 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19365 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19366 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19367 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19368 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19369 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19370 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19371 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
19372 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
19374 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19375 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19376 { (exit 1); exit 1; }; };;
19381 # If the user did not use the arguments to specify the items to instantiate,
19382 # then the envvar interface is used. Set only those that are not.
19383 # We use the long form for the default assignment because of an extremely
19384 # bizarre bug on SunOS 4.1.3.
19385 if $ac_need_defaults; then
19386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19391 # Have a temporary directory for convenience. Make it in the build tree
19392 # simply because there is no reason against having it here, and in addition,
19393 # creating and moving files from /tmp can sometimes cause problems.
19394 # Hook for its removal unless debugging.
19395 # Note that there is a small window in which the directory will not be cleaned:
19396 # after its creation but before its name has been assigned to `$tmp'.
19400 trap 'exit_status=$?
19401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19403 trap '{ (exit 1); exit 1; }' 1 2 13 15
19405 # Create a (secure) tmp directory for tmp files.
19408 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19409 test -n "$tmp" && test -d "$tmp"
19412 tmp
=.
/conf$$
-$RANDOM
19413 (umask 077 && mkdir
"$tmp")
19416 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19417 { (exit 1); exit 1; }
19420 # Set up the scripts for CONFIG_FILES section.
19421 # No need to generate them if there are no CONFIG_FILES.
19422 # This happens for instance with `./config.status config.h'.
19423 if test -n "$CONFIG_FILES"; then
19427 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19431 ac_cs_awk_cr
=$ac_cr
19434 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19439 echo "cat >conf$$subs.awk <<_ACEOF" &&
19440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19442 } >conf$$subs.sh ||
19443 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19444 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19445 { (exit 1); exit 1; }; }
19446 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19448 for ac_last_try in false false false false false :; do
19449 . ./conf$$subs.sh ||
19450 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19451 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19452 { (exit 1); exit 1; }; }
19454 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19455 if test $ac_delim_n = $ac_delim_num; then
19457 elif $ac_last_try; then
19458 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19459 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19460 { (exit 1); exit 1; }; }
19462 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19465 rm -f conf$$subs.sh
19467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19468 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19472 s/^/S["/; s
/!.
*/"]=/
19482 s/\(.\{148\}\).*/\1/
19484 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19489 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19496 s/\(.\{148\}\).*/\1/
19498 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19502 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19507 ' <conf$$subs.awk | sed '
19512 ' >>$CONFIG_STATUS || ac_write_fail=1
19513 rm -f conf$$subs.awk
19514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19517 for (key in S) S_is_set[key] = 1
19523 nfields = split(line, field, "@
")
19525 len = length(field[1])
19526 for (i = 2; i < nfields; i++) {
19528 keylen = length(key)
19529 if (S_is_set[key]) {
19531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19532 len += length(value) + length(field[++i])
19543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19544 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19545 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19548 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19549 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
19550 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
19551 { (exit 1); exit 1; }; }
19554 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19555 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19556 # trailing colons and then remove the whole line if VPATH becomes empty
19557 # (actually we leave an empty line to preserve line numbers).
19558 if test "x
$srcdir" = x.; then
19559 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19560 s/:*\$(srcdir):*/:/
19561 s/:*\${srcdir}:*/:/
19563 s/^\([^=]*=[ ]*\):*/\1/
19569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19570 fi # test -n "$CONFIG_FILES"
19572 # Set up the scripts for CONFIG_HEADERS section.
19573 # No need to generate them if there are no CONFIG_HEADERS.
19574 # This happens for instance with `./config.status Makefile'.
19575 if test -n "$CONFIG_HEADERS"; then
19576 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19580 # Transform confdefs.h into an awk script `defines.awk', embedded as
19581 # here-document in config.status, that substitutes the proper values into
19582 # config.h.in to produce config.h.
19584 # Create a delimiter string that does not exist in confdefs.h, to ease
19585 # handling of long lines.
19587 for ac_last_try in false false :; do
19588 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19589 if test -z "$ac_t"; then
19591 elif $ac_last_try; then
19592 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
19593 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
19594 { (exit 1); exit 1; }; }
19596 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19600 # For the awk script, D is an array of macro values keyed by name,
19601 # likewise P contains macro parameters if any. Preserve backslash
19602 # newline sequences.
19604 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19606 s/.\{148\}/&'"$ac_delim"'/g
19609 s/^[ ]*#[ ]*define[ ][ ]*/ /
19616 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19618 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19623 D["\
1"]=" \
3\\\\\\n
"\\/p
19625 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19630 s/.\{148\}/&'"$ac_delim"'/g
19635 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19638 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19640 ' <confdefs.h | sed '
19641 s/'"$ac_delim"'/"\\\
19642 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19645 for (key in D) D_is_set[key] = 1
19648 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19650 split(line, arg, " ")
19651 if (arg[1] == "#") {
19655 defundef
= substr
(arg
[1], 2)
19658 split(mac1
, mac2
, "(") #)
19660 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19661 if (D_is_set
[macro
]) {
19662 # Preserve the white space surrounding the "#".
19663 print prefix
"define", macro P
[macro
] D
[macro
]
19666 # Replace #undef with comments. This is necessary, for example,
19667 # in the case of _POSIX_SOURCE, which is predefined and required
19668 # on some systems where configure will not decide to define it.
19669 if (defundef
== "undef") {
19670 print
"/*", prefix defundef
, macro
, "*/"
19678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19679 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19680 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19681 { (exit 1); exit 1; }; }
19682 fi # test -n "$CONFIG_HEADERS"
19685 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19690 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19692 case $ac_mode$ac_tag in
19694 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19695 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19696 { (exit 1); exit 1; }; };;
19697 :[FH
]-) ac_tag
=-:-;;
19698 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19715 -) ac_f
="$tmp/stdin";;
19716 *) # Look for the file first in the build tree, then in the source tree
19717 # (if the path is not absolute). The absolute path cannot be DOS-style,
19718 # because $ac_f cannot contain `:'.
19722 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19724 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19725 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19726 { (exit 1); exit 1; }; };;
19728 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19729 ac_file_inputs
="$ac_file_inputs '$ac_f'"
19732 # Let's still pretend it is `configure' which instantiates (i.e., don't
19733 # use $as_me), people would be surprised to read:
19734 # /* config.h. Generated by config.status. */
19735 configure_input
='Generated from '`
19736 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19738 if test x
"$ac_file" != x-
; then
19739 configure_input
="$ac_file. $configure_input"
19740 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19741 $as_echo "$as_me: creating $ac_file" >&6;}
19743 # Neutralize special characters interpreted by sed in replacement strings.
19744 case $configure_input in #(
19745 *\
&* |
*\|
* |
*\\* )
19746 ac_sed_conf_input
=`$as_echo "$configure_input" |
19747 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19748 *) ac_sed_conf_input
=$configure_input;;
19752 *:-:* |
*:-) cat >"$tmp/stdin" \
19753 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19754 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19755 { (exit 1); exit 1; }; } ;;
19760 ac_dir
=`$as_dirname -- "$ac_file" ||
19761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19762 X"$ac_file" : 'X\(//\)[^/]' \| \
19763 X"$ac_file" : 'X\(//\)$' \| \
19764 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19765 $as_echo X"$ac_file" |
19766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19770 /^X\(\/\/\)[^/].*/{
19785 -*) as_dir
=.
/$as_dir;;
19787 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
19791 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19792 *) as_qdir
=$as_dir;;
19794 as_dirs
="'$as_qdir' $as_dirs"
19795 as_dir
=`$as_dirname -- "$as_dir" ||
19796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19797 X"$as_dir" : 'X\(//\)[^/]' \| \
19798 X"$as_dir" : 'X\(//\)$' \| \
19799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19800 $as_echo X"$as_dir" |
19801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19805 /^X\(\/\/\)[^/].*/{
19818 test -d "$as_dir" && break
19820 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19821 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19822 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19823 { (exit 1); exit 1; }; }; }
19827 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19829 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19830 # A ".." for each directory in $ac_dir_suffix.
19831 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19832 case $ac_top_builddir_sub in
19833 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19834 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19837 ac_abs_top_builddir
=$ac_pwd
19838 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19839 # for backward compatibility:
19840 ac_top_builddir
=$ac_top_build_prefix
19843 .
) # We are building in place.
19845 ac_top_srcdir
=$ac_top_builddir_sub
19846 ac_abs_top_srcdir
=$ac_pwd ;;
19847 [\\/]* | ?
:[\\/]* ) # Absolute name.
19848 ac_srcdir
=$srcdir$ac_dir_suffix;
19849 ac_top_srcdir
=$srcdir
19850 ac_abs_top_srcdir
=$srcdir ;;
19851 *) # Relative name.
19852 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19853 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19854 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19856 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19866 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19867 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19869 ac_MKDIR_P
=$MKDIR_P
19871 [\\/$
]* | ?
:[\\/]* ) ;;
19872 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19877 # If the template does not know about datarootdir, expand it.
19878 # FIXME: This hack should be removed a few years after 2.60.
19879 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19892 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19893 *datarootdir
*) ac_datarootdir_seen
=yes;;
19894 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19895 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19896 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19899 ac_datarootdir_hack='
19900 s&@datadir@&$datadir&g
19901 s&@docdir@&$docdir&g
19902 s&@infodir@&$infodir&g
19903 s&@localedir@&$localedir&g
19904 s&@mandir@&$mandir&g
19905 s&\\\${datarootdir}&$datarootdir&g' ;;
19909 # Neutralize VPATH when `$srcdir' = `.'.
19910 # Shell code in configure.ac might set extrasub.
19911 # FIXME: do we really want to maintain this feature?
19912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19913 ac_sed_extra="$ac_vpsub
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19918 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19919 s|@configure_input@|
$ac_sed_conf_input|
;t t
19920 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19921 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19922 s
&@srcdir@
&$ac_srcdir&;t t
19923 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19924 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19925 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19926 s
&@builddir@
&$ac_builddir&;t t
19927 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19928 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19929 s
&@INSTALL@
&$ac_INSTALL&;t t
19930 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19931 $ac_datarootdir_hack
19933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19934 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
19935 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
19936 { (exit 1); exit 1; }; }
19938 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19939 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19940 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19941 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19942 which seems to be undefined. Please make sure it is defined." >&5
19943 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19944 which seems to be undefined. Please make sure it is defined." >&2;}
19948 -) cat "$tmp/out" && rm -f "$tmp/out";;
19949 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19951 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19952 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19953 { (exit 1); exit 1; }; }
19959 if test x"$ac_file" != x-; then
19961 $as_echo "/* $configure_input */" \
19962 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19963 } >"$tmp/config.h" \
19964 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19965 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19966 { (exit 1); exit 1; }; }
19967 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19968 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19969 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19972 mv "$tmp/config.h" "$ac_file" \
19973 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19974 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19975 { (exit 1); exit 1; }; }
19978 $as_echo "/* $configure_input */" \
19979 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19980 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19981 $as_echo "$as_me: error: could not create -" >&2;}
19982 { (exit 1); exit 1; }; }
19984 # Compute "$ac_file"'s index
in $config_headers.
19987 for _am_header
in $config_headers :; do
19988 case $_am_header in
19989 $_am_arg |
$_am_arg:* )
19992 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19995 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19996 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19997 X"$_am_arg" : 'X\(//\)[^/]' \| \
19998 X"$_am_arg" : 'X\(//\)$' \| \
19999 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20000 $as_echo X"$_am_arg" |
20001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20005 /^X\(\/\/\)[^/].*/{
20017 s/.*/./; q'`/stamp-h
$_am_stamp_count
20020 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
20021 $as_echo "$as_me: executing $ac_file commands" >&6;}
20026 case $ac_file$ac_mode in
20028 (mv spl_config.h spl_config.h.tmp
&&
20029 awk -f config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20030 rm spl_config.h.tmp
) ||
exit 1 ;;
20031 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20032 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20033 # are listed without --file. Let's play safe and only enable the eval
20034 # if we detect the quoting.
20035 case $CONFIG_FILES in
20036 *\'*) eval set x
"$CONFIG_FILES" ;;
20037 *) set x
$CONFIG_FILES ;;
20042 # Strip MF so we end up with the name of the file.
20043 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20044 # Check whether this is an Automake generated Makefile or not.
20045 # We used to match only the files named `Makefile.in', but
20046 # some people rename them; so instead we look at the file content.
20047 # Grep'ing the first line is not enough: some people post-process
20048 # each Makefile.in and add a new line on top of each file to say so.
20049 # Grep'ing the whole file is not good either: AIX grep has a line
20050 # limit of 2048, but all sed's we know have understand at least 4000.
20051 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20052 dirpart
=`$as_dirname -- "$mf" ||
20053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20054 X"$mf" : 'X\(//\)[^/]' \| \
20055 X"$mf" : 'X\(//\)$' \| \
20056 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20062 /^X\(\/\/\)[^/].*/{
20078 # Extract the definition of DEPDIR, am__include, and am__quote
20079 # from the Makefile without running `make'.
20080 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20081 test -z "$DEPDIR" && continue
20082 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20083 test -z "am__include" && continue
20084 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20085 # When using ansi2knr, U may be empty or an underscore; expand it
20086 U
=`sed -n 's/^U = //p' < "$mf"`
20087 # Find all dependency output files, they are included files with
20088 # $(DEPDIR) in their names. We invoke sed twice because it is the
20089 # simplest approach to changing $(DEPDIR) to its actual value in the
20091 for file in `sed -n "
20092 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20093 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20094 # Make sure the directory exists.
20095 test -f "$dirpart/$file" && continue
20096 fdir
=`$as_dirname -- "$file" ||
20097 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20098 X"$file" : 'X\(//\)[^/]' \| \
20099 X"$file" : 'X\(//\)$' \| \
20100 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20101 $as_echo X"$file" |
20102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20106 /^X\(\/\/\)[^/].*/{
20119 { as_dir
=$dirpart/$fdir
20121 -*) as_dir
=.
/$as_dir;;
20123 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20127 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20128 *) as_qdir
=$as_dir;;
20130 as_dirs
="'$as_qdir' $as_dirs"
20131 as_dir
=`$as_dirname -- "$as_dir" ||
20132 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20133 X"$as_dir" : 'X\(//\)[^/]' \| \
20134 X"$as_dir" : 'X\(//\)$' \| \
20135 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20136 $as_echo X"$as_dir" |
20137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20141 /^X\(\/\/\)[^/].*/{
20154 test -d "$as_dir" && break
20156 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20157 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20158 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20159 { (exit 1); exit 1; }; }; }
20160 # echo "creating $dirpart/$file"
20161 echo '# dummy' > "$dirpart/$file"
20168 # See if we are running on zsh, and set the options which allow our
20169 # commands through without removal of \ escapes.
20170 if test -n "${ZSH_VERSION+set}" ; then
20171 setopt NO_GLOB_SUBST
20174 cfgfile
="${ofile}T"
20175 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20178 cat <<_LT_EOF >> "$cfgfile"
20181 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20182 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20183 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20184 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20186 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20187 # 2006, 2007, 2008 Free Software Foundation, Inc.
20188 # Written by Gordon Matzigkeit, 1996
20190 # This file is part of GNU Libtool.
20192 # GNU Libtool is free software; you can redistribute it and/or
20193 # modify it under the terms of the GNU General Public License as
20194 # published by the Free Software Foundation; either version 2 of
20195 # the License, or (at your option) any later version.
20197 # As a special exception to the GNU General Public License,
20198 # if you distribute this file as part of a program or library that
20199 # is built using GNU Libtool, you may include this file under the
20200 # same distribution terms that you use for the rest of that program.
20202 # GNU Libtool is distributed in the hope that it will be useful,
20203 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20205 # GNU General Public License for more details.
20207 # You should have received a copy of the GNU General Public License
20208 # along with GNU Libtool; see the file COPYING. If not, a copy
20209 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20210 # obtained by writing to the Free Software Foundation, Inc.,
20211 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20214 # The names of the tagged configurations supported by this script.
20217 # ### BEGIN LIBTOOL CONFIG
20219 # Which release of libtool.m4 was used?
20220 macro_version=$macro_version
20221 macro_revision=$macro_revision
20223 # Whether or not to build shared libraries.
20224 build_libtool_libs=$enable_shared
20226 # Whether or not to build static libraries.
20227 build_old_libs=$enable_static
20229 # What type of objects to build.
20232 # Whether or not to optimize for fast installation.
20233 fast_install=$enable_fast_install
20236 host_alias=$host_alias
20240 # The build system.
20241 build_alias=$build_alias
20245 # A sed program that does not truncate output.
20248 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20249 Xsed="\$SED -e 1s/^X//"
20251 # A grep program that handles long lines.
20257 # A literal string matcher.
20260 # A BSD- or MS-compatible name lister.
20263 # Whether we need soft or hard links.
20266 # What is the maximum length of a command?
20267 max_cmd_len=$max_cmd_len
20269 # Object file suffix (normally "o").
20272 # Executable file suffix (normally "").
20275 # whether the shell understands "unset".
20278 # turn spaces into newlines.
20281 # turn newlines into spaces.
20284 # How to create reloadable object files.
20285 reload_flag=$lt_reload_flag
20286 reload_cmds=$lt_reload_cmds
20288 # An object symbol dumper.
20289 OBJDUMP=$lt_OBJDUMP
20291 # Method to check whether dependent libraries are shared objects.
20292 deplibs_check_method=$lt_deplibs_check_method
20294 # Command to use when deplibs_check_method == "file_magic".
20295 file_magic_cmd=$lt_file_magic_cmd
20299 AR_FLAGS=$lt_AR_FLAGS
20301 # A symbol stripping program.
20304 # Commands used to install an old-style archive.
20306 old_postinstall_cmds=$lt_old_postinstall_cmds
20307 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20312 # LTCC compiler flags.
20313 LTCFLAGS=$lt_CFLAGS
20315 # Take the output of nm and produce a listing of raw symbols and C names.
20316 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20318 # Transform the output of nm in a proper C declaration.
20319 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20321 # Transform the output of nm in a C name address pair.
20322 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20324 # Transform the output of nm in a C name address pair when lib prefix is needed.
20325 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20327 # The name of the directory that contains temporary libtool files.
20330 # Shell to use when invoking shell scripts.
20333 # An echo program that does not interpret backslashes.
20336 # Used to examine libraries when file_magic_cmd begins with "file".
20337 MAGIC_CMD=$MAGIC_CMD
20339 # Must we lock files when doing compilation?
20340 need_locks=$lt_need_locks
20342 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20343 DSYMUTIL=$lt_DSYMUTIL
20345 # Tool to change global to local symbols on Mac OS X.
20348 # Tool to manipulate fat objects and archives on Mac OS X.
20351 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20354 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20355 OTOOL64=$lt_OTOOL64
20357 # Old archive suffix (normally "a").
20360 # Shared library suffix (normally ".so").
20361 shrext_cmds=$lt_shrext_cmds
20363 # The commands to extract the exported symbol list from a shared archive.
20364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20366 # Variables whose values should be saved in libtool wrapper scripts and
20367 # restored at link time.
20368 variables_saved_for_relink=$lt_variables_saved_for_relink
20370 # Do we need the "lib" prefix for modules?
20371 need_lib_prefix=$need_lib_prefix
20373 # Do we need a version for libraries?
20374 need_version=$need_version
20376 # Library versioning type.
20377 version_type=$version_type
20379 # Shared library runtime path variable.
20380 runpath_var=$runpath_var
20382 # Shared library path variable.
20383 shlibpath_var=$shlibpath_var
20385 # Is shlibpath searched before the hard-coded library search path?
20386 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20388 # Format of library name prefix.
20389 libname_spec=$lt_libname_spec
20391 # List of archive names. First name is the real one, the rest are links.
20392 # The last name is the one that the linker finds with -lNAME
20393 library_names_spec=$lt_library_names_spec
20395 # The coded name of the library, if different from the real name.
20396 soname_spec=$lt_soname_spec
20398 # Command to use after installation of a shared archive.
20399 postinstall_cmds=$lt_postinstall_cmds
20401 # Command to use after uninstallation of a shared archive.
20402 postuninstall_cmds=$lt_postuninstall_cmds
20404 # Commands used to finish a libtool library installation in a directory.
20405 finish_cmds=$lt_finish_cmds
20407 # As "finish_cmds", except a single script fragment to be evaled but
20409 finish_eval=$lt_finish_eval
20411 # Whether we should hardcode library paths into libraries.
20412 hardcode_into_libs=$hardcode_into_libs
20414 # Compile-time system search path for libraries.
20415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20417 # Run-time system search path for libraries.
20418 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20420 # Whether dlopen is supported.
20421 dlopen_support=$enable_dlopen
20423 # Whether dlopen of programs is supported.
20424 dlopen_self=$enable_dlopen_self
20426 # Whether dlopen of statically linked programs is supported.
20427 dlopen_self_static=$enable_dlopen_self_static
20429 # Commands to strip libraries.
20430 old_striplib=$lt_old_striplib
20431 striplib=$lt_striplib
20434 # The linker used to build libraries.
20437 # Commands used to build an old-style archive.
20438 old_archive_cmds=$lt_old_archive_cmds
20440 # A language specific compiler.
20443 # Is the compiler the GNU compiler?
20446 # Compiler flag to turn off builtin functions.
20447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20449 # How to pass a linker flag through the compiler.
20450 wl=$lt_lt_prog_compiler_wl
20452 # Additional compiler flags for building library objects.
20453 pic_flag=$lt_lt_prog_compiler_pic
20455 # Compiler flag to prevent dynamic linking.
20456 link_static_flag=$lt_lt_prog_compiler_static
20458 # Does compiler simultaneously support -c and -o options?
20459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20461 # Whether or not to add -lc for building shared libraries.
20462 build_libtool_need_lc=$archive_cmds_need_lc
20464 # Whether or not to disallow shared libs when runtime libs are static.
20465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20467 # Compiler flag to allow reflexive dlopens.
20468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20470 # Compiler flag to generate shared objects directly from archives.
20471 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20473 # Whether the compiler copes with passing no objects directly.
20474 compiler_needs_object=$lt_compiler_needs_object
20476 # Create an old-style archive from a shared archive.
20477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20479 # Create a temporary old-style archive to link instead of a shared archive.
20480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20482 # Commands used to build a shared archive.
20483 archive_cmds=$lt_archive_cmds
20484 archive_expsym_cmds=$lt_archive_expsym_cmds
20486 # Commands used to build a loadable module if different from building
20487 # a shared archive.
20488 module_cmds=$lt_module_cmds
20489 module_expsym_cmds=$lt_module_expsym_cmds
20491 # Whether we are building with GNU ld or not.
20492 with_gnu_ld=$lt_with_gnu_ld
20494 # Flag that allows shared libraries with undefined symbols to be built.
20495 allow_undefined_flag=$lt_allow_undefined_flag
20497 # Flag that enforces no undefined symbols.
20498 no_undefined_flag=$lt_no_undefined_flag
20500 # Flag to hardcode \$libdir into a binary during linking.
20501 # This must work even if \$libdir does not exist
20502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20504 # If ld is used when linking, flag to hardcode \$libdir into a binary
20505 # during linking. This must work even if \$libdir does not exist.
20506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20508 # Whether we need a single "-rpath" flag with a separated argument.
20509 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20512 # DIR into the resulting binary.
20513 hardcode_direct=$hardcode_direct
20515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20516 # DIR into the resulting binary and the resulting library dependency is
20517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20518 # library is relocated.
20519 hardcode_direct_absolute=$hardcode_direct_absolute
20521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20522 # into the resulting binary.
20523 hardcode_minus_L=$hardcode_minus_L
20525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20526 # into the resulting binary.
20527 hardcode_shlibpath_var=$hardcode_shlibpath_var
20529 # Set to "yes" if building a shared library automatically hardcodes DIR
20530 # into the library and all subsequent libraries and executables linked
20532 hardcode_automatic=$hardcode_automatic
20534 # Set to yes if linker adds runtime paths of dependent libraries
20535 # to runtime path list.
20536 inherit_rpath=$inherit_rpath
20538 # Whether libtool must link a program against all its dependency libraries.
20539 link_all_deplibs=$link_all_deplibs
20541 # Fix the shell variable \$srcfile for the compiler.
20542 fix_srcfile_path=$lt_fix_srcfile_path
20544 # Set to "yes" if exported symbols are required.
20545 always_export_symbols=$always_export_symbols
20547 # The commands to list exported symbols.
20548 export_symbols_cmds=$lt_export_symbols_cmds
20550 # Symbols that should not be listed in the preloaded symbols.
20551 exclude_expsyms=$lt_exclude_expsyms
20553 # Symbols that must always be exported.
20554 include_expsyms=$lt_include_expsyms
20556 # Commands necessary for linking programs (against libraries) with templates.
20557 prelink_cmds=$lt_prelink_cmds
20559 # Specify filename containing input files.
20560 file_list_spec=$lt_file_list_spec
20562 # How to hardcode a shared library path into an executable.
20563 hardcode_action=$hardcode_action
20565 # ### END LIBTOOL CONFIG
20571 cat <<\_LT_EOF
>> "$cfgfile"
20572 # AIX sometimes has problems with the GCC collect2 program. For some
20573 # reason, if we set the COLLECT_NAMES environment variable, the problems
20574 # vanish in a puff of smoke.
20575 if test "X${COLLECT_NAMES+set}" != Xset
; then
20577 export COLLECT_NAMES
20584 ltmain
="$ac_aux_dir/ltmain.sh"
20587 # We use sed instead of cat because bash on DJGPP gets confused if
20588 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20589 # text mode, it properly converts lines to CR/LF. This bash problem
20590 # is reportedly fixed, but why not run on old versions too?
20591 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20592 ||
(rm -f "$cfgfile"; exit 1)
20596 cat << \_LT_EOF
>> "$cfgfile"
20598 # func_dirname file append nondir_replacement
20599 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20600 # otherwise set result to NONDIR_REPLACEMENT.
20604 */*) func_dirname_result
="${1%/*}${2}" ;;
20605 * ) func_dirname_result
="${3}" ;;
20609 # func_basename file
20612 func_basename_result
="${1##*/}"
20615 # func_dirname_and_basename file append nondir_replacement
20616 # perform func_basename and func_dirname in a single function
20618 # dirname: Compute the dirname of FILE. If nonempty,
20619 # add APPEND to the result, otherwise set result
20620 # to NONDIR_REPLACEMENT.
20621 # value returned in "$func_dirname_result"
20622 # basename: Compute filename of FILE.
20623 # value retuned in "$func_basename_result"
20624 # Implementation must be kept synchronized with func_dirname
20625 # and func_basename. For efficiency, we do not delegate to
20626 # those functions but instead duplicate the functionality here.
20627 func_dirname_and_basename
()
20630 */*) func_dirname_result
="${1%/*}${2}" ;;
20631 * ) func_dirname_result
="${3}" ;;
20633 func_basename_result
="${1##*/}"
20636 # func_stripname prefix suffix name
20637 # strip PREFIX and SUFFIX off of NAME.
20638 # PREFIX and SUFFIX must not contain globbing or regex special
20639 # characters, hashes, percent signs, but SUFFIX may contain a leading
20640 # dot (in which case that matches only a dot).
20643 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20644 # positional parameters, so assign one to ordinary parameter first.
20645 func_stripname_result
=${3}
20646 func_stripname_result
=${func_stripname_result#"${1}"}
20647 func_stripname_result
=${func_stripname_result%"${2}"}
20653 func_opt_split_opt
=${1%%=*}
20654 func_opt_split_arg
=${1#*=}
20661 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20662 *) func_lo2o_result
=${1} ;;
20666 # func_xform libobj-or-source
20669 func_xform_result
=${1%.*}.lo
20672 # func_arith arithmetic-term...
20675 func_arith_result
=$
(( $
* ))
20679 # STRING may not start with a hyphen.
20682 func_len_result
=${#1}
20687 *) # Bourne compatible functions.
20688 cat << \_LT_EOF
>> "$cfgfile"
20690 # func_dirname file append nondir_replacement
20691 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20692 # otherwise set result to NONDIR_REPLACEMENT.
20695 # Extract subdirectory from the argument.
20696 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20697 if test "X$func_dirname_result" = "X${1}"; then
20698 func_dirname_result
="${3}"
20700 func_dirname_result
="$func_dirname_result${2}"
20704 # func_basename file
20707 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20711 # func_stripname prefix suffix name
20712 # strip PREFIX and SUFFIX off of NAME.
20713 # PREFIX and SUFFIX must not contain globbing or regex special
20714 # characters, hashes, percent signs, but SUFFIX may contain a leading
20715 # dot (in which case that matches only a dot).
20716 # func_strip_suffix prefix name
20720 .
*) func_stripname_result
=`$ECHO "X${3}" \
20721 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20722 *) func_stripname_result
=`$ECHO "X${3}" \
20723 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20728 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20729 my_sed_long_arg
='1s/^-[^=]*=//'
20734 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20735 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20741 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20744 # func_xform libobj-or-source
20747 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20750 # func_arith arithmetic-term...
20753 func_arith_result
=`expr "$@"`
20757 # STRING may not start with a hyphen.
20760 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20766 case $lt_shell_append in
20768 cat << \_LT_EOF
>> "$cfgfile"
20770 # func_append var value
20771 # Append VALUE to the end of shell variable VAR.
20779 cat << \_LT_EOF
>> "$cfgfile"
20781 # func_append var value
20782 # Append VALUE to the end of shell variable VAR.
20793 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20794 ||
(rm -f "$cfgfile"; exit 1)
20796 mv -f "$cfgfile" "$ofile" ||
20797 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20806 { (exit 0); exit 0; }
20808 chmod +x
$CONFIG_STATUS
20809 ac_clean_files
=$ac_clean_files_save
20811 test $ac_write_fail = 0 ||
20812 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20813 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20814 { (exit 1); exit 1; }; }
20817 # configure is writing to config.log, and then calls config.status.
20818 # config.status does its own redirection, appending to config.log.
20819 # Unfortunately, on DOS this fails, as config.log is still kept open
20820 # by configure, so config.status won't be able to write to it; its
20821 # output is simply discarded. So we exec the FD to /dev/null,
20822 # effectively closing config.log, so it can be properly (re)opened and
20823 # appended to by config.status. When coming back to configure, we
20824 # need to make the FD available again.
20825 if test "$no_create" != yes; then
20827 ac_config_status_args
=
20828 test "$silent" = yes &&
20829 ac_config_status_args
="$ac_config_status_args --quiet"
20831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20834 # would make configure fail if this is the last instruction.
20835 $ac_cs_success ||
{ (exit 1); exit 1; }
20837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20838 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}