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
874 INSTALL_STRIP_PROGRAM
892 MAINTAINER_MODE_FALSE
942 program_transform_name
954 enable_option_checking
955 enable_maintainer_mode
957 enable_dependency_tracking
971 enable_debug_kmem_tracking
972 enable_atomic_spinlocks
974 ac_precious_vars
='build_alias
985 # Initialize some variables set by options.
987 ac_init_version
=false
988 ac_unrecognized_opts
=
990 # The variables have the same names as the options, with
991 # dashes changed to underlines.
999 program_transform_name
=s
,x
,x
,
1007 # Installation directory options.
1008 # These are left unexpanded so users can "make install exec_prefix=/foo"
1009 # and all the variables that are supposed to be based on exec_prefix
1010 # by default will actually change.
1011 # Use braces instead of parens because sh, perl, etc. also accept them.
1012 # (The list follows the same order as the GNU Coding Standards.)
1013 bindir
='${exec_prefix}/bin'
1014 sbindir
='${exec_prefix}/sbin'
1015 libexecdir
='${exec_prefix}/libexec'
1016 datarootdir
='${prefix}/share'
1017 datadir
='${datarootdir}'
1018 sysconfdir
='${prefix}/etc'
1019 sharedstatedir
='${prefix}/com'
1020 localstatedir
='${prefix}/var'
1021 includedir
='${prefix}/include'
1022 oldincludedir
='/usr/include'
1023 docdir
='${datarootdir}/doc/${PACKAGE}'
1024 infodir
='${datarootdir}/info'
1029 libdir
='${exec_prefix}/lib'
1030 localedir
='${datarootdir}/locale'
1031 mandir
='${datarootdir}/man'
1037 # If the previous option needs an argument, assign it.
1038 if test -n "$ac_prev"; then
1039 eval $ac_prev=\
$ac_option
1045 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1049 # Accept the important Cygnus configure options, so we can diagnose typos.
1051 case $ac_dashdash$ac_option in
1055 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1057 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1058 bindir
=$ac_optarg ;;
1060 -build |
--build |
--buil |
--bui |
--bu)
1061 ac_prev
=build_alias
;;
1062 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1063 build_alias
=$ac_optarg ;;
1065 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1066 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1067 ac_prev
=cache_file
;;
1068 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1069 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1070 cache_file
=$ac_optarg ;;
1072 --config-cache |
-C)
1073 cache_file
=config.cache
;;
1075 -datadir |
--datadir |
--datadi |
--datad)
1077 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1078 datadir
=$ac_optarg ;;
1080 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1081 |
--dataroo |
--dataro |
--datar)
1082 ac_prev
=datarootdir
;;
1083 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1084 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1085 datarootdir
=$ac_optarg ;;
1087 -disable-* |
--disable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1092 { (exit 1); exit 1; }; }
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_
$ac_useropt"
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval enable_
$ac_useropt=no
;;
1104 -docdir |
--docdir |
--docdi |
--doc |
--do)
1106 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1107 docdir
=$ac_optarg ;;
1109 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1111 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1112 dvidir
=$ac_optarg ;;
1114 -enable-* |
--enable-*)
1115 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1124 "enable_
$ac_useropt"
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval enable_
$ac_useropt=\
$ac_optarg ;;
1131 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1132 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1133 |
--exec |
--exe |
--ex)
1134 ac_prev
=exec_prefix
;;
1135 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1136 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1137 |
--exec=* |
--exe=* |
--ex=*)
1138 exec_prefix
=$ac_optarg ;;
1140 -gas |
--gas |
--ga |
--g)
1141 # Obsolete; use --with-gas.
1144 -help |
--help |
--hel |
--he |
-h)
1145 ac_init_help
=long
;;
1146 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1147 ac_init_help
=recursive
;;
1148 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1149 ac_init_help
=short
;;
1151 -host |
--host |
--hos |
--ho)
1152 ac_prev
=host_alias
;;
1153 -host=* |
--host=* |
--hos=* |
--ho=*)
1154 host_alias
=$ac_optarg ;;
1156 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1158 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1160 htmldir
=$ac_optarg ;;
1162 -includedir |
--includedir |
--includedi |
--included |
--include \
1163 |
--includ |
--inclu |
--incl |
--inc)
1164 ac_prev
=includedir
;;
1165 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1166 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1167 includedir
=$ac_optarg ;;
1169 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1171 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1172 infodir
=$ac_optarg ;;
1174 -libdir |
--libdir |
--libdi |
--libd)
1176 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1177 libdir
=$ac_optarg ;;
1179 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1180 |
--libexe |
--libex |
--libe)
1181 ac_prev
=libexecdir
;;
1182 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1183 |
--libexe=* |
--libex=* |
--libe=*)
1184 libexecdir
=$ac_optarg ;;
1186 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1187 ac_prev
=localedir
;;
1188 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1189 localedir
=$ac_optarg ;;
1191 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1192 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1193 ac_prev
=localstatedir
;;
1194 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1195 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1196 localstatedir
=$ac_optarg ;;
1198 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1200 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1201 mandir
=$ac_optarg ;;
1203 -nfp |
--nfp |
--nf)
1204 # Obsolete; use --without-fp.
1207 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1208 |
--no-cr |
--no-c |
-n)
1211 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1212 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1215 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1216 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1217 |
--oldin |
--oldi |
--old |
--ol |
--o)
1218 ac_prev
=oldincludedir
;;
1219 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1220 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1221 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1222 oldincludedir
=$ac_optarg ;;
1224 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1226 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1227 prefix
=$ac_optarg ;;
1229 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1230 |
--program-pre |
--program-pr |
--program-p)
1231 ac_prev
=program_prefix
;;
1232 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1233 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1234 program_prefix
=$ac_optarg ;;
1236 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1237 |
--program-suf |
--program-su |
--program-s)
1238 ac_prev
=program_suffix
;;
1239 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1240 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1241 program_suffix
=$ac_optarg ;;
1243 -program-transform-name |
--program-transform-name \
1244 |
--program-transform-nam |
--program-transform-na \
1245 |
--program-transform-n |
--program-transform- \
1246 |
--program-transform |
--program-transfor \
1247 |
--program-transfo |
--program-transf \
1248 |
--program-trans |
--program-tran \
1249 |
--progr-tra |
--program-tr |
--program-t)
1250 ac_prev
=program_transform_name
;;
1251 -program-transform-name=* |
--program-transform-name=* \
1252 |
--program-transform-nam=* |
--program-transform-na=* \
1253 |
--program-transform-n=* |
--program-transform-=* \
1254 |
--program-transform=* |
--program-transfor=* \
1255 |
--program-transfo=* |
--program-transf=* \
1256 |
--program-trans=* |
--program-tran=* \
1257 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1258 program_transform_name
=$ac_optarg ;;
1260 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1262 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1263 pdfdir
=$ac_optarg ;;
1265 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1267 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1270 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1271 |
-silent |
--silent |
--silen |
--sile |
--sil)
1274 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1276 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1278 sbindir
=$ac_optarg ;;
1280 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1281 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1282 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1284 ac_prev
=sharedstatedir
;;
1285 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1286 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1287 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1289 sharedstatedir
=$ac_optarg ;;
1291 -site |
--site |
--sit)
1293 -site=* |
--site=* |
--sit=*)
1296 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1298 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1299 srcdir
=$ac_optarg ;;
1301 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1302 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1303 ac_prev
=sysconfdir
;;
1304 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1305 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1306 sysconfdir
=$ac_optarg ;;
1308 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1309 ac_prev
=target_alias
;;
1310 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1311 target_alias
=$ac_optarg ;;
1313 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1316 -version |
--version |
--versio |
--versi |
--vers |
-V)
1317 ac_init_version
=: ;;
1320 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1323 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1324 { (exit 1); exit 1; }; }
1325 ac_useropt_orig
=$ac_useropt
1326 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1331 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1332 ac_unrecognized_sep
=', ';;
1334 eval with_
$ac_useropt=\
$ac_optarg ;;
1336 -without-* |
--without-*)
1337 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1338 # Reject names that are not valid shell variable names.
1339 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1340 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1341 { (exit 1); exit 1; }; }
1342 ac_useropt_orig
=$ac_useropt
1343 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1344 case $ac_user_opts in
1348 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1349 ac_unrecognized_sep
=', ';;
1351 eval with_
$ac_useropt=no
;;
1354 # Obsolete; use --with-x.
1357 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1358 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1359 ac_prev
=x_includes
;;
1360 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1361 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1362 x_includes
=$ac_optarg ;;
1364 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1365 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1366 ac_prev
=x_libraries
;;
1367 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1368 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1369 x_libraries
=$ac_optarg ;;
1371 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1372 Try \`$0 --help' for more information." >&2
1373 { (exit 1); exit 1; }; }
1377 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1380 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1381 { (exit 1); exit 1; }; }
1382 eval $ac_envvar=\
$ac_optarg
1383 export $ac_envvar ;;
1386 # FIXME: should be removed in autoconf 3.0.
1387 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1388 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1389 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1390 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1396 if test -n "$ac_prev"; then
1397 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1398 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1399 { (exit 1); exit 1; }; }
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1405 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1406 { (exit 1); exit 1; }; } ;;
1407 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1411 # Check all directory arguments for consistency.
1412 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1413 datadir sysconfdir sharedstatedir localstatedir includedir \
1414 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1415 libdir localedir mandir
1417 eval ac_val
=\$
$ac_var
1418 # Remove trailing slashes.
1421 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1422 eval $ac_var=\
$ac_val;;
1424 # Be sure to have absolute directory names.
1426 [\\/$
]* | ?
:[\\/]* ) continue;;
1427 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1429 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1430 { (exit 1); exit 1; }; }
1433 # There might be people who depend on the old broken behavior: `$host'
1434 # used to hold the argument of --host etc.
1435 # FIXME: To remove some day.
1438 target
=$target_alias
1440 # FIXME: To remove some day.
1441 if test "x$host_alias" != x
; then
1442 if test "x$build_alias" = x
; then
1443 cross_compiling
=maybe
1444 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1445 If a cross compiler is detected then cross compile mode will be used." >&2
1446 elif test "x$build_alias" != "x$host_alias"; then
1452 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1454 test "$silent" = yes && exec 6>/dev
/null
1457 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1458 ac_ls_di
=`ls -di .` &&
1459 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1460 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1461 { (exit 1); exit 1; }; }
1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1464 { (exit 1); exit 1; }; }
1467 # Find the source files, if location was not specified.
1468 if test -z "$srcdir"; then
1469 ac_srcdir_defaulted
=yes
1470 # Try the directory containing this script, then the parent directory.
1471 ac_confdir
=`$as_dirname -- "$as_myself" ||
1472 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1473 X"$as_myself" : 'X\(//\)[^/]' \| \
1474 X"$as_myself" : 'X\(//\)$' \| \
1475 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1476 $as_echo X"$as_myself" |
1477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1499 ac_srcdir_defaulted
=no
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1502 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1503 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1504 { (exit 1); exit 1; }; }
1506 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1508 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1509 { (exit 1); exit 1; }; }
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1519 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521 for ac_var
in $ac_precious_vars; do
1522 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1523 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1524 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1525 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1529 # Report the --help message.
1531 if test "$ac_init_help" = "long"; then
1532 # Omit some internal or obsolete options to make the list less imposing.
1533 # This message is too long to be a string in the A/UX 3.1 sh.
1535 \`configure' configures this package to adapt to many kinds of systems.
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE. See below for descriptions of some of the useful variables.
1542 Defaults for the options are specified in brackets.
1545 -h, --help display this help and exit
1546 --help=short display options specific to this package
1547 --help=recursive display the short help of all the included packages
1548 -V, --version display version information and exit
1549 -q, --quiet, --silent do not print \`checking...' messages
1550 --cache-file=FILE cache test results in FILE [disabled]
1551 -C, --config-cache alias for \`--cache-file=config.cache'
1552 -n, --no-create do not create output files
1553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1555 Installation directories:
1556 --prefix=PREFIX install architecture-independent files in PREFIX
1557 [$ac_default_prefix]
1558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1566 For better control, use the options below.
1568 Fine tuning of the installation directories:
1569 --bindir=DIR user executables [EPREFIX/bin]
1570 --sbindir=DIR system admin executables [EPREFIX/sbin]
1571 --libexecdir=DIR program executables [EPREFIX/libexec]
1572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575 --libdir=DIR object code libraries [EPREFIX/lib]
1576 --includedir=DIR C header files [PREFIX/include]
1577 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1578 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580 --infodir=DIR info documentation [DATAROOTDIR/info]
1581 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582 --mandir=DIR man documentation [DATAROOTDIR/man]
1583 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1584 --htmldir=DIR html documentation [DOCDIR]
1585 --dvidir=DIR dvi documentation [DOCDIR]
1586 --pdfdir=DIR pdf documentation [DOCDIR]
1587 --psdir=DIR ps documentation [DOCDIR]
1593 --program-prefix=PREFIX prepend PREFIX to installed program names
1594 --program-suffix=SUFFIX append SUFFIX to installed program names
1595 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1598 --build=BUILD configure
for building on BUILD
[guessed
]
1599 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1600 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1604 if test -n "$ac_init_help"; then
1609 --disable-option-checking ignore unrecognized
--enable/--with options
1610 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1611 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1612 --enable-maintainer-mode enable make rules and dependencies not useful
1613 (and sometimes confusing
) to the casual installer
1614 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1615 --disable-silent-rules verbose build output (undo: `make V
=0')
1616 --disable-dependency-tracking speeds up one-time build
1617 --enable-dependency-tracking do not reject slow dependency extractors
1618 --enable-shared[=PKGS] build shared libraries [default=yes]
1619 --enable-static[=PKGS] build static libraries [default=yes]
1620 --enable-fast-install[=PKGS]
1621 optimize for fast installation [default=yes]
1622 --disable-libtool-lock avoid locking (might break parallel builds)
1623 --enable-linux-builtin Configure for builtin in-tree kernel modules
1625 --enable-debug Enable generic debug support [default=no]
1626 --enable-debug-log Enable basic debug logging [default=yes]
1627 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1628 --enable-debug-kmem-tracking
1629 Enable detailed kmem tracking [default=no]
1630 --enable-atomic-spinlocks
1631 Atomic types use spinlocks [default=check]
1634 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1635 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1636 --with-pic try to use only PIC/non-PIC objects [default=use
1638 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1639 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1640 --with-linux=PATH Path to kernel source
1641 --with-linux-obj=PATH Path to kernel build objects
1643 Some influential environment variables:
1644 CC C compiler command
1645 CFLAGS C compiler flags
1646 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1647 nonstandard directory <lib dir>
1648 LIBS libraries to pass to the linker, e.g. -l<library>
1649 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1650 you have headers in a nonstandard directory <include dir>
1653 Use these variables to override the choices made by `configure' or to
help
1654 it to
find libraries and programs with nonstandard names
/locations.
1660 if test "$ac_init_help" = "recursive"; then
1661 # If there are subdirs, report their specific --help.
1662 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1663 test -d "$ac_dir" ||
1664 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1669 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1671 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1672 # A ".." for each directory in $ac_dir_suffix.
1673 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1674 case $ac_top_builddir_sub in
1675 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1676 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1679 ac_abs_top_builddir
=$ac_pwd
1680 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1681 # for backward compatibility:
1682 ac_top_builddir
=$ac_top_build_prefix
1685 .
) # We are building in place.
1687 ac_top_srcdir
=$ac_top_builddir_sub
1688 ac_abs_top_srcdir
=$ac_pwd ;;
1689 [\\/]* | ?
:[\\/]* ) # Absolute name.
1690 ac_srcdir
=$srcdir$ac_dir_suffix;
1691 ac_top_srcdir
=$srcdir
1692 ac_abs_top_srcdir
=$srcdir ;;
1694 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1695 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1696 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1698 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1700 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1701 # Check for guested configure.
1702 if test -f "$ac_srcdir/configure.gnu"; then
1704 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1705 elif test -f "$ac_srcdir/configure"; then
1707 $SHELL "$ac_srcdir/configure" --help=recursive
1709 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1711 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1715 test -n "$ac_init_help" && exit $ac_status
1716 if $ac_init_version; then
1719 generated by GNU Autoconf
2.63
1721 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1722 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1723 This configure
script is free software
; the Free Software Foundation
1724 gives unlimited permission to copy
, distribute and modify it.
1728 cat >config.log
<<_ACEOF
1729 This file contains any messages produced by compilers while
1730 running configure, to aid debugging if configure makes a mistake.
1732 It was created by $as_me, which was
1733 generated by GNU Autoconf 2.63. Invocation command line was
1745 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1746 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1747 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1748 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1749 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1751 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1752 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1754 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1755 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1756 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1757 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1758 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1759 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1760 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir
=.
1769 $as_echo "PATH: $as_dir"
1785 # Keep a trace of the command line.
1786 # Strip out --no-create and --no-recursion so they do not pile up.
1787 # Strip out --silent because we don't want to record it for future runs.
1788 # Also quote any args containing shell meta-characters.
1789 # Make two passes to allow for proper duplicate-argument suppression.
1793 ac_must_keep_next
=false
1799 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1800 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1801 |
-silent |
--silent |
--silen |
--sile |
--sil)
1804 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1807 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1809 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1810 if test $ac_must_keep_next = true
; then
1811 ac_must_keep_next
=false
# Got value, back to normal.
1814 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1815 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1816 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1817 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1818 case "$ac_configure_args0 " in
1819 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1822 -* ) ac_must_keep_next
=true
;;
1825 ac_configure_args
="$ac_configure_args '$ac_arg'"
1830 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1831 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1833 # When interrupted or exit'd, cleanup temporary files, and complete
1834 # config.log. We remove comments because anyway the quotes in there
1835 # would cause problems or look ugly.
1836 # WARNING: Use '\'' to represent an apostrophe within the trap.
1837 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1838 trap 'exit_status=$?
1839 # Save into config.log some information that might help in debugging.
1844 ## ---------------- ##
1845 ## Cache variables. ##
1846 ## ---------------- ##
1849 # The following way of writing the cache mishandles newlines in values,
1851 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1852 eval ac_val=\$$ac_var
1856 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1857 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1860 _ | IFS | as_nl) ;; #(
1861 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1862 *) $as_unset $ac_var ;;
1867 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1868 *${as_nl}ac_space=\ *)
1870 "s/'\''/'\''\\\\'\'''\''/g;
1871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1882 ## ----------------- ##
1883 ## Output variables. ##
1884 ## ----------------- ##
1887 for ac_var in $ac_subst_vars
1889 eval ac_val=\$$ac_var
1891 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1893 $as_echo "$ac_var='\''$ac_val'\''"
1897 if test -n "$ac_subst_files"; then
1899 ## ------------------- ##
1900 ## File substitutions. ##
1901 ## ------------------- ##
1904 for ac_var
in $ac_subst_files
1906 eval ac_val
=\$
$ac_var
1908 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910 $as_echo "$ac_var='\''$ac_val'\''"
1915 if test -s confdefs.h; then
1925 test "$ac_signal" != 0 &&
1926 $as_echo "$as_me: caught signal $ac_signal"
1927 $as_echo "$as_me: exit $exit_status"
1929 rm -f core *.core core.conftest.* &&
1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1933 for ac_signal
in 1 2 13 15; do
1934 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1939 rm -f -r conftest
* confdefs.h
1941 # Predefined preprocessor variables.
1943 cat >>confdefs.h
<<_ACEOF
1944 #define PACKAGE_NAME "$PACKAGE_NAME"
1948 cat >>confdefs.h
<<_ACEOF
1949 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953 cat >>confdefs.h
<<_ACEOF
1954 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1958 cat >>confdefs.h
<<_ACEOF
1959 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 cat >>confdefs.h
<<_ACEOF
1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1968 # Let the site file select an alternate cache file if it wants to.
1969 # Prefer an explicitly selected file to automatically selected ones.
1972 if test -n "$CONFIG_SITE"; then
1973 ac_site_file1
=$CONFIG_SITE
1974 elif test "x$prefix" != xNONE
; then
1975 ac_site_file1
=$prefix/share
/config.site
1976 ac_site_file2
=$prefix/etc
/config.site
1978 ac_site_file1
=$ac_default_prefix/share
/config.site
1979 ac_site_file2
=$ac_default_prefix/etc
/config.site
1981 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1983 test "x$ac_site_file" = xNONE
&& continue
1984 if test -r "$ac_site_file"; then
1985 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1986 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1987 sed 's/^/| /' "$ac_site_file" >&5
1992 if test -r "$cache_file"; then
1993 # Some versions of bash will fail to source /dev/null (special
1994 # files actually), so we avoid doing that.
1995 if test -f "$cache_file"; then
1996 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1997 $as_echo "$as_me: loading cache $cache_file" >&6;}
1999 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2000 *) .
"./$cache_file";;
2004 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2005 $as_echo "$as_me: creating cache $cache_file" >&6;}
2009 # Check that the precious variables saved in the cache have kept the same
2011 ac_cache_corrupted
=false
2012 for ac_var
in $ac_precious_vars; do
2013 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2014 eval ac_new_set
=\
$ac_env_${ac_var}_set
2015 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2016 eval ac_new_val
=\
$ac_env_${ac_var}_value
2017 case $ac_old_set,$ac_new_set in
2019 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2020 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2021 ac_cache_corrupted
=: ;;
2023 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2024 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2025 ac_cache_corrupted
=: ;;
2028 if test "x$ac_old_val" != "x$ac_new_val"; then
2029 # differences in whitespace do not lead to failure.
2030 ac_old_val_w
=`echo x $ac_old_val`
2031 ac_new_val_w
=`echo x $ac_new_val`
2032 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2033 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2034 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2035 ac_cache_corrupted
=:
2037 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2038 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2039 eval $ac_var=\
$ac_old_val
2041 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2042 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2043 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2044 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2047 # Pass precious variables to config.status.
2048 if test "$ac_new_set" = set; then
2050 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2051 *) ac_arg
=$ac_var=$ac_new_val ;;
2053 case " $ac_configure_args " in
2054 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2055 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2059 if $ac_cache_corrupted; then
2060 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2062 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2063 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2064 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2065 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2066 { (exit 1); exit 1; }; }
2086 ac_cpp
='$CPP $CPPFLAGS'
2087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2093 ac_cpp
='$CPP $CPPFLAGS'
2094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2099 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2100 $as_echo_n "checking metadata... " >&6; }
2103 _spl_ac_meta_got_file
=no
2104 if test -f "$META"; then
2105 _spl_ac_meta_got_file
=yes
2107 SPL_META_NAME
=`perl -n\
2108 -e "BEGIN { \\$key=shift @ARGV; }"\
2109 -e "next unless s/^\s*\\$key[:=]//i;"\
2110 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2113 -e "s/^(['\"])(.*)\1/\\$2/;"\
2115 -e "END { print \\$val if defined \\$val; }"\
2116 '(?:NAME|PROJECT|PACKAGE)' $META`;
2117 if test -n "$SPL_META_NAME"; then
2119 cat >>confdefs.h
<<_ACEOF
2120 #define SPL_META_NAME "$SPL_META_NAME"
2126 SPL_META_VERSION
=`perl -n\
2127 -e "BEGIN { \\$key=shift @ARGV; }"\
2128 -e "next unless s/^\s*\\$key[:=]//i;"\
2129 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2132 -e "s/^(['\"])(.*)\1/\\$2/;"\
2134 -e "END { print \\$val if defined \\$val; }"\
2136 if test -n "$SPL_META_VERSION"; then
2138 cat >>confdefs.h
<<_ACEOF
2139 #define SPL_META_VERSION "$SPL_META_VERSION"
2145 SPL_META_RELEASE
=`perl -n\
2146 -e "BEGIN { \\$key=shift @ARGV; }"\
2147 -e "next unless s/^\s*\\$key[:=]//i;"\
2148 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2151 -e "s/^(['\"])(.*)\1/\\$2/;"\
2153 -e "END { print \\$val if defined \\$val; }"\
2155 if test -n "$SPL_META_RELEASE"; then
2157 cat >>confdefs.h
<<_ACEOF
2158 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2164 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2165 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2166 test -n "$SPL_META_RELEASE" &&
2167 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2169 cat >>confdefs.h
<<_ACEOF
2170 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2176 SPL_META_DATA
=`perl -n\
2177 -e "BEGIN { \\$key=shift @ARGV; }"\
2178 -e "next unless s/^\s*\\$key[:=]//i;"\
2179 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2182 -e "s/^(['\"])(.*)\1/\\$2/;"\
2184 -e "END { print \\$val if defined \\$val; }"\
2186 if test -n "$SPL_META_DATA"; then
2188 cat >>confdefs.h
<<_ACEOF
2189 #define SPL_META_DATA "$SPL_META_DATA"
2195 SPL_META_AUTHOR
=`perl -n\
2196 -e "BEGIN { \\$key=shift @ARGV; }"\
2197 -e "next unless s/^\s*\\$key[:=]//i;"\
2198 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2201 -e "s/^(['\"])(.*)\1/\\$2/;"\
2203 -e "END { print \\$val if defined \\$val; }"\
2205 if test -n "$SPL_META_AUTHOR"; then
2207 cat >>confdefs.h
<<_ACEOF
2208 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2215 SPL_META_LT_CURRENT
=`perl -n\
2216 -e "BEGIN { \\$key=shift @ARGV; }"\
2217 -e "next unless s/^\s*\\$key[:=]//i;"\
2218 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2221 -e "s/^(['\"])(.*)\1/\\$2/;"\
2223 -e "END { print \\$val if defined \\$val; }"\
2224 'LT_CURRENT' $META`;
2225 SPL_META_LT_REVISION
=`perl -n\
2226 -e "BEGIN { \\$key=shift @ARGV; }"\
2227 -e "next unless s/^\s*\\$key[:=]//i;"\
2228 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2231 -e "s/^(['\"])(.*)\1/\\$2/;"\
2233 -e "END { print \\$val if defined \\$val; }"\
2234 'LT_REVISION' $META`;
2235 SPL_META_LT_AGE
=`perl -n\
2236 -e "BEGIN { \\$key=shift @ARGV; }"\
2237 -e "next unless s/^\s*\\$key[:=]//i;"\
2238 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2241 -e "s/^(['\"])(.*)\1/\\$2/;"\
2243 -e "END { print \\$val if defined \\$val; }"\
2245 if test -n "$SPL_META_LT_CURRENT" \
2246 -o -n "$SPL_META_LT_REVISION" \
2247 -o -n "$SPL_META_LT_AGE"; then
2248 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2249 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2250 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2272 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2273 $as_echo "$_spl_ac_meta_got_file" >&6; }
2277 for ac_dir
in config
"$srcdir"/config
; do
2278 if test -f "$ac_dir/install-sh"; then
2280 ac_install_sh
="$ac_aux_dir/install-sh -c"
2282 elif test -f "$ac_dir/install.sh"; then
2284 ac_install_sh
="$ac_aux_dir/install.sh -c"
2286 elif test -f "$ac_dir/shtool"; then
2288 ac_install_sh
="$ac_aux_dir/shtool install -c"
2292 if test -z "$ac_aux_dir"; then
2293 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2294 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2295 { (exit 1); exit 1; }; }
2298 # These three variables are undocumented and unsupported,
2299 # and are intended to be withdrawn in a future Autoconf release.
2300 # They can cause serious problems if a builder's source tree is in a directory
2301 # whose full name contains unusual characters.
2302 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2303 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2304 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2307 # Make sure we can run config.sub.
2308 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2309 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2310 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2311 { (exit 1); exit 1; }; }
2313 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2314 $as_echo_n "checking build system type... " >&6; }
2315 if test "${ac_cv_build+set}" = set; then
2316 $as_echo_n "(cached) " >&6
2318 ac_build_alias
=$build_alias
2319 test "x$ac_build_alias" = x
&&
2320 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2321 test "x$ac_build_alias" = x
&&
2322 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2323 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2324 { (exit 1); exit 1; }; }
2325 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2326 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2327 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2328 { (exit 1); exit 1; }; }
2331 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2332 $as_echo "$ac_cv_build" >&6; }
2333 case $ac_cv_build in
2335 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2336 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2337 { (exit 1); exit 1; }; };;
2340 ac_save_IFS
=$IFS; IFS
='-'
2346 # Remember, the first character of IFS is used to create $*,
2347 # except with old shells:
2350 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2353 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2354 $as_echo_n "checking host system type... " >&6; }
2355 if test "${ac_cv_host+set}" = set; then
2356 $as_echo_n "(cached) " >&6
2358 if test "x$host_alias" = x
; then
2359 ac_cv_host
=$ac_cv_build
2361 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2362 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2363 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2364 { (exit 1); exit 1; }; }
2368 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2369 $as_echo "$ac_cv_host" >&6; }
2372 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2373 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2374 { (exit 1); exit 1; }; };;
2377 ac_save_IFS
=$IFS; IFS
='-'
2383 # Remember, the first character of IFS is used to create $*,
2384 # except with old shells:
2387 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2390 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2391 $as_echo_n "checking target system type... " >&6; }
2392 if test "${ac_cv_target+set}" = set; then
2393 $as_echo_n "(cached) " >&6
2395 if test "x$target_alias" = x
; then
2396 ac_cv_target
=$ac_cv_host
2398 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2399 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2400 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2401 { (exit 1); exit 1; }; }
2405 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2406 $as_echo "$ac_cv_target" >&6; }
2407 case $ac_cv_target in
2409 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2410 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2411 { (exit 1); exit 1; }; };;
2413 target
=$ac_cv_target
2414 ac_save_IFS
=$IFS; IFS
='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2427 # The aliases save the names the user supplied, while $host etc.
2428 # will get canonicalized.
2429 test -n "$target_alias" &&
2430 test "$program_prefix$program_suffix$program_transform_name" = \
2432 program_prefix
=${target_alias}-
2434 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2435 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2436 # Check whether --enable-maintainer-mode was given.
2437 if test "${enable_maintainer_mode+set}" = set; then
2438 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2440 USE_MAINTAINER_MODE
=no
2443 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2444 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2445 if test $USE_MAINTAINER_MODE = yes; then
2446 MAINTAINER_MODE_TRUE
=
2447 MAINTAINER_MODE_FALSE
='#'
2449 MAINTAINER_MODE_TRUE
='#'
2450 MAINTAINER_MODE_FALSE
=
2453 MAINT
=$MAINTAINER_MODE_TRUE
2456 # Check whether --enable-silent-rules was given.
2457 if test "${enable_silent_rules+set}" = set; then
2458 enableval
=$enable_silent_rules;
2461 case $enable_silent_rules in
2462 yes) AM_DEFAULT_VERBOSITY
=0;;
2463 no
) AM_DEFAULT_VERBOSITY
=1;;
2464 *) AM_DEFAULT_VERBOSITY
=1;;
2468 am__api_version='1.11'
2470 # Find a good install program. We prefer a C program (faster),
2471 # so one script is as good as another. But avoid the broken or
2472 # incompatible versions:
2473 # SysV /etc/install, /usr/sbin/install
2474 # SunOS /usr/etc/install
2475 # IRIX /sbin/install
2477 # AmigaOS /C/install, which installs bootblocks on floppy discs
2478 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2479 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2480 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2481 # OS/2's system install, which has a completely different semantic
2482 # ./install, which can be erroneously created by make from ./install.sh.
2483 # Reject install programs that cannot install multiple files.
2484 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2485 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2486 if test -z "$INSTALL"; then
2487 if test "${ac_cv_path_install+set}" = set; then
2488 $as_echo_n "(cached) " >&6
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 # Account for people who put trailing slashes in PATH elements.
2497 .
/ | .
// |
/cC
/* | \
2498 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2499 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2502 # OSF1 and SCO ODT 3.0 have their own names for install.
2503 # Don't use installbsd from OSF since it installs stuff as root
2505 for ac_prog
in ginstall scoinst
install; do
2506 for ac_exec_ext
in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2508 if test $ac_prog = install &&
2509 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2510 # AIX install. It has an incompatible calling convention.
2512 elif test $ac_prog = install &&
2513 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2514 # program-specific install script used by HP pwplus--don't use.
2517 rm -rf conftest.one conftest.two conftest.dir
2518 echo one
> conftest.one
2519 echo two
> conftest.two
2521 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2522 test -s conftest.one
&& test -s conftest.two
&&
2523 test -s conftest.dir
/conftest.one
&&
2524 test -s conftest.dir
/conftest.two
2526 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2539 rm -rf conftest.one conftest.two conftest.dir
2542 if test "${ac_cv_path_install+set}" = set; then
2543 INSTALL
=$ac_cv_path_install
2545 # As a last resort, use the slow shell script. Don't cache a
2546 # value for INSTALL within a source directory, because that will
2547 # break other packages using the cache if that directory is
2548 # removed, or if the value is a relative name.
2549 INSTALL
=$ac_install_sh
2552 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2553 $as_echo "$INSTALL" >&6; }
2555 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2556 # It thinks the first close brace ends the variable substitution.
2557 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2559 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2561 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2563 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2564 $as_echo_n "checking whether build environment is sane... " >&6; }
2567 echo timestamp
> conftest.
file
2568 # Reject unsafe characters in $srcdir or the absolute working directory
2569 # name. Accept space and tab only in the latter.
2573 *[\\\"\
#\$\&\'\`$am_lf]*)
2574 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2575 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2576 { (exit 1); exit 1; }; };;
2579 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2580 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2581 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2582 { (exit 1); exit 1; }; };;
2585 # Do `set' in a subshell so we don't clobber the current shell's
2586 # arguments. Must try -L first in case configure is actually a
2587 # symlink; some systems play weird games with the mod time of symlinks
2588 # (eg FreeBSD returns the mod time of the symlink's containing
2591 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2592 if test "$*" = "X"; then
2594 set X
`ls -t "$srcdir/configure" conftest.file`
2597 if test "$*" != "X $srcdir/configure conftest.file" \
2598 && test "$*" != "X conftest.file $srcdir/configure"; then
2600 # If neither matched, then we have a broken ls. This can happen
2601 # if, for instance, CONFIG_SHELL is bash and it inherits a
2602 # broken ls alias from the environment. This has actually
2603 # happened. Such a system could not be considered "sane".
2604 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2605 alias in your environment" >&5
2606 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2607 alias in your environment" >&2;}
2608 { (exit 1); exit 1; }; }
2611 test "$2" = conftest.
file
2617 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2618 Check your system clock" >&5
2619 $as_echo "$as_me: error: newly created file is older than distributed files!
2620 Check your system clock" >&2;}
2621 { (exit 1); exit 1; }; }
2623 { $as_echo "$as_me:$LINENO: result: yes" >&5
2624 $as_echo "yes" >&6; }
2625 test "$program_prefix" != NONE
&&
2626 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2627 # Use a double $ so make ignores it.
2628 test "$program_suffix" != NONE
&&
2629 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2630 # Double any \ or $.
2631 # By default was `s,x,x', remove it if useless.
2632 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2633 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2635 # expand $ac_aux_dir to an absolute path
2636 am_aux_dir
=`cd $ac_aux_dir && pwd`
2638 if test x
"${MISSING+set}" != xset
; then
2641 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2643 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2646 # Use eval to expand $SHELL
2647 if eval "$MISSING --run true"; then
2648 am_missing_run
="$MISSING --run "
2651 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2652 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2655 if test x
"${install_sh}" != xset
; then
2658 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2660 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2664 # Installed binaries are usually stripped using `strip' when the user
2665 # run `make install-strip'. However `strip' might not be the right
2666 # tool to use in cross-compilation environments, therefore Automake
2667 # will honor the `STRIP' environment variable to overrule this program.
2668 if test "$cross_compiling" != no
; then
2669 if test -n "$ac_tool_prefix"; then
2670 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2671 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2672 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_STRIP+set}" = set; then
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$STRIP"; then
2678 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2688 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 STRIP
=$ac_cv_prog_STRIP
2698 if test -n "$STRIP"; then
2699 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2700 $as_echo "$STRIP" >&6; }
2702 { $as_echo "$as_me:$LINENO: result: no" >&5
2703 $as_echo "no" >&6; }
2708 if test -z "$ac_cv_prog_STRIP"; then
2710 # Extract the first word of "strip", so it can be a program name with args.
2711 set dummy strip
; ac_word
=$2
2712 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$ac_ct_STRIP"; then
2718 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_ac_ct_STRIP
="strip"
2728 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2738 if test -n "$ac_ct_STRIP"; then
2739 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2740 $as_echo "$ac_ct_STRIP" >&6; }
2742 { $as_echo "$as_me:$LINENO: result: no" >&5
2743 $as_echo "no" >&6; }
2746 if test "x$ac_ct_STRIP" = x
; then
2749 case $cross_compiling:$ac_tool_warned in
2751 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned
=yes ;;
2758 STRIP
="$ac_cv_prog_STRIP"
2762 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2764 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2765 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2766 if test -z "$MKDIR_P"; then
2767 if test "${ac_cv_path_mkdir+set}" = set; then
2768 $as_echo_n "(cached) " >&6
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_prog
in mkdir gmkdir
; do
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2778 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2779 'mkdir (GNU coreutils) '* | \
2780 'mkdir (coreutils) '* | \
2781 'mkdir (fileutils) '4.1*)
2782 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2792 if test "${ac_cv_path_mkdir+set}" = set; then
2793 MKDIR_P
="$ac_cv_path_mkdir -p"
2795 # As a last resort, use the slow shell script. Don't cache a
2796 # value for MKDIR_P within a source directory, because that will
2797 # break other packages using the cache if that directory is
2798 # removed, or if the value is a relative name.
2799 test -d .
/--version && rmdir .
/--version
2800 MKDIR_P
="$ac_install_sh -d"
2803 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2804 $as_echo "$MKDIR_P" >&6; }
2808 [\\/$
]* | ?
:[\\/]*) ;;
2809 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2812 for ac_prog
in gawk mawk nawk
awk
2814 # Extract the first word of "$ac_prog", so it can be a program name with args.
2815 set dummy
$ac_prog; ac_word
=$2
2816 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_AWK+set}" = set; then
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$AWK"; then
2822 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_AWK
="$ac_prog"
2832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$AWK"; then
2843 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2844 $as_echo "$AWK" >&6; }
2846 { $as_echo "$as_me:$LINENO: result: no" >&5
2847 $as_echo "no" >&6; }
2851 test -n "$AWK" && break
2854 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2857 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2858 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2859 $as_echo_n "(cached) " >&6
2861 cat >conftest.
make <<\_ACEOF
2864 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2866 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2869 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2871 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2875 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2876 { $as_echo "$as_me:$LINENO: result: yes" >&5
2877 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:$LINENO: result: no" >&5
2881 $as_echo "no" >&6; }
2882 SET_MAKE
="MAKE=${MAKE-make}"
2885 rm -rf .tst
2>/dev
/null
2886 mkdir .tst
2>/dev
/null
2887 if test -d .tst
; then
2892 rmdir .tst
2>/dev
/null
2894 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2895 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2896 # is not polluted with repeated "-I."
2897 am__isrc
=' -I$(srcdir)'
2898 # test to see if srcdir already configured
2899 if test -f $srcdir/config.status
; then
2900 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2901 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2902 { (exit 1); exit 1; }; }
2906 # test whether we have cygpath
2907 if test -z "$CYGPATH_W"; then
2908 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2909 CYGPATH_W
='cygpath -w'
2916 # Define the identity of the package.
2917 PACKAGE
=$SPL_META_NAME
2918 VERSION
=$SPL_META_VERSION
2921 cat >>confdefs.h
<<_ACEOF
2922 #define PACKAGE "$PACKAGE"
2926 cat >>confdefs.h
<<_ACEOF
2927 #define VERSION "$VERSION"
2930 # Some tools Automake needs.
2932 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2935 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2938 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2941 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2944 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2946 # We need awk for the "check" target. The system "awk" is bad on
2948 # Always define AMTAR for backward compatibility.
2950 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2952 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2958 ac_config_headers
="$ac_config_headers spl_config.h"
2961 # Find a good install program. We prefer a C program (faster),
2962 # so one script is as good as another. But avoid the broken or
2963 # incompatible versions:
2964 # SysV /etc/install, /usr/sbin/install
2965 # SunOS /usr/etc/install
2966 # IRIX /sbin/install
2968 # AmigaOS /C/install, which installs bootblocks on floppy discs
2969 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2970 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2971 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2972 # OS/2's system install, which has a completely different semantic
2973 # ./install, which can be erroneously created by make from ./install.sh.
2974 # Reject install programs that cannot install multiple files.
2975 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2976 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2977 if test -z "$INSTALL"; then
2978 if test "${ac_cv_path_install+set}" = set; then
2979 $as_echo_n "(cached) " >&6
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 # Account for people who put trailing slashes in PATH elements.
2988 .
/ | .
// |
/cC
/* | \
2989 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2990 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2993 # OSF1 and SCO ODT 3.0 have their own names for install.
2994 # Don't use installbsd from OSF since it installs stuff as root
2996 for ac_prog
in ginstall scoinst
install; do
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2999 if test $ac_prog = install &&
3000 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3001 # AIX install. It has an incompatible calling convention.
3003 elif test $ac_prog = install &&
3004 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3005 # program-specific install script used by HP pwplus--don't use.
3008 rm -rf conftest.one conftest.two conftest.dir
3009 echo one
> conftest.one
3010 echo two
> conftest.two
3012 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3013 test -s conftest.one
&& test -s conftest.two
&&
3014 test -s conftest.dir
/conftest.one
&&
3015 test -s conftest.dir
/conftest.two
3017 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3030 rm -rf conftest.one conftest.two conftest.dir
3033 if test "${ac_cv_path_install+set}" = set; then
3034 INSTALL
=$ac_cv_path_install
3036 # As a last resort, use the slow shell script. Don't cache a
3037 # value for INSTALL within a source directory, because that will
3038 # break other packages using the cache if that directory is
3039 # removed, or if the value is a relative name.
3040 INSTALL
=$ac_install_sh
3043 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3044 $as_echo "$INSTALL" >&6; }
3046 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3047 # It thinks the first close brace ends the variable substitution.
3048 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3050 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3052 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3055 ac_cpp
='$CPP $CPPFLAGS'
3056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3061 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if test "${ac_cv_prog_CC+set}" = set; then
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$CC"; then
3068 ac_cv_prog_CC
="$CC" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$CC"; then
3089 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3092 { $as_echo "$as_me:$LINENO: result: no" >&5
3093 $as_echo "no" >&6; }
3098 if test -z "$ac_cv_prog_CC"; then
3100 # Extract the first word of "gcc", so it can be a program name with args.
3101 set dummy gcc
; ac_word
=$2
3102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$ac_ct_CC"; then
3108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117 ac_cv_prog_ac_ct_CC
="gcc"
3118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3128 if test -n "$ac_ct_CC"; then
3129 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3130 $as_echo "$ac_ct_CC" >&6; }
3132 { $as_echo "$as_me:$LINENO: result: no" >&5
3133 $as_echo "no" >&6; }
3136 if test "x$ac_ct_CC" = x
; then
3139 case $cross_compiling:$ac_tool_warned in
3141 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3143 ac_tool_warned
=yes ;;
3151 if test -z "$CC"; then
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3154 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if test "${ac_cv_prog_CC+set}" = set; then
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC
="$CC" # Let the user override the test.
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_exec_ext
in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 if test -n "$CC"; then
3182 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3185 { $as_echo "$as_me:$LINENO: result: no" >&5
3186 $as_echo "no" >&6; }
3192 if test -z "$CC"; then
3193 # Extract the first word of "cc", so it can be a program name with args.
3194 set dummy cc
; ac_word
=$2
3195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_CC+set}" = set; then
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$CC"; then
3201 ac_cv_prog_CC
="$CC" # Let the user override the test.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3212 ac_prog_rejected
=yes
3216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test $ac_prog_rejected = yes; then
3224 # We found a bogon in the path, so make sure we never use it.
3225 set dummy
$ac_cv_prog_CC
3227 if test $# != 0; then
3228 # We chose a different compiler from the bogus one.
3229 # However, it has the same basename, so the bogon will be chosen
3230 # first if we set CC to just the basename; use the full file name.
3232 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3238 if test -n "$CC"; then
3239 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3240 $as_echo "$CC" >&6; }
3242 { $as_echo "$as_me:$LINENO: result: no" >&5
3243 $as_echo "no" >&6; }
3248 if test -z "$CC"; then
3249 if test -n "$ac_tool_prefix"; then
3250 for ac_prog
in cl.exe
3252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3254 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_CC+set}" = set; then
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$CC"; then
3260 ac_cv_prog_CC
="$CC" # Let the user override the test.
3262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir
=.
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test -n "$CC"; then
3281 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3282 $as_echo "$CC" >&6; }
3284 { $as_echo "$as_me:$LINENO: result: no" >&5
3285 $as_echo "no" >&6; }
3289 test -n "$CC" && break
3292 if test -z "$CC"; then
3294 for ac_prog
in cl.exe
3296 # Extract the first word of "$ac_prog", so it can be a program name with args.
3297 set dummy
$ac_prog; ac_word
=$2
3298 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3299 $as_echo_n "checking for $ac_word... " >&6; }
3300 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3301 $as_echo_n "(cached) " >&6
3303 if test -n "$ac_ct_CC"; then
3304 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3310 test -z "$as_dir" && as_dir
=.
3311 for ac_exec_ext
in '' $ac_executable_extensions; do
3312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3313 ac_cv_prog_ac_ct_CC
="$ac_prog"
3314 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3324 if test -n "$ac_ct_CC"; then
3325 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3326 $as_echo "$ac_ct_CC" >&6; }
3328 { $as_echo "$as_me:$LINENO: result: no" >&5
3329 $as_echo "no" >&6; }
3333 test -n "$ac_ct_CC" && break
3336 if test "x$ac_ct_CC" = x
; then
3339 case $cross_compiling:$ac_tool_warned in
3341 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3343 ac_tool_warned
=yes ;;
3352 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3355 See \`config.log' for more details." >&5
3356 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3357 See \`config.log' for more details." >&2;}
3358 { (exit 1); exit 1; }; }; }
3360 # Provide some information about the compiler.
3361 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3364 { (ac_try
="$ac_compiler --version >&5"
3366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3370 $as_echo "$ac_try_echo") >&5
3371 (eval "$ac_compiler --version >&5") 2>&5
3373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }
3375 { (ac_try="$ac_compiler -v >&5"
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_compiler -v >&5") 2>&5
3384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }
3386 { (ac_try
="$ac_compiler -V >&5"
3388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3392 $as_echo "$ac_try_echo") >&5
3393 (eval "$ac_compiler -V >&5") 2>&5
3395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }
3398 cat >conftest.$ac_ext <<_ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3413 ac_clean_files_save=$ac_clean_files
3414 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3415 # Try to create an executable without -o first, disregard a.out.
3416 # It will help us diagnose broken compilers, and finding out an intuition
3418 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3419 $as_echo_n "checking for C compiler default output file name... " >&6; }
3420 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3422 # The possible output files:
3423 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3426 for ac_file in $ac_files
3429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3430 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3435 if { (ac_try="$ac_link_default"
3437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3438 *) ac_try_echo
=$ac_try;;
3440 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3441 $as_echo "$ac_try_echo") >&5
3442 (eval "$ac_link_default") 2>&5
3444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; then
3446 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3447 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3448 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3449 # so that the user can short-circuit this test for compilers unknown to
3451 for ac_file
in $ac_files ''
3453 test -f "$ac_file" ||
continue
3455 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3458 # We found the default executable, but exeext='' is most
3462 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3464 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3466 # We set ac_cv_exeext here because the later test for it is not
3467 # safe: cross compilers may not add the suffix if given an `-o'
3468 # argument, so we may need to know it at that point already.
3469 # Even if this section looks crufty: it has the advantage of
3476 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3482 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3483 $as_echo "$ac_file" >&6; }
3484 if test -z "$ac_file"; then
3485 $as_echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.
$ac_ext >&5
3488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3491 See \`config.log' for more details." >&5
3492 $as_echo "$as_me: error: C compiler cannot create executables
3493 See \`config.log' for more details." >&2;}
3494 { (exit 77); exit 77; }; }; }
3497 ac_exeext
=$ac_cv_exeext
3499 # Check that the compiler produces executables we can run. If not, either
3500 # the compiler is broken, or we cross compile.
3501 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3502 $as_echo_n "checking whether the C compiler works... " >&6; }
3503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3504 # If not cross compiling, check that we can run a simple program.
3505 if test "$cross_compiling" != yes; then
3506 if { ac_try
='./$ac_file'
3507 { (case "(($ac_try" in
3508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3512 $as_echo "$ac_try_echo") >&5
3513 (eval "$ac_try") 2>&5
3515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; }; then
3519 if test "$cross_compiling" = maybe; then
3522 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3525 If you meant to cross compile
, use \
`--host'.
3526 See \`config.log
' for more details." >&5
3527 $as_echo "$as_me: error: cannot run C compiled programs.
3528 If you meant to cross compile, use \`--host'.
3529 See \
`config.log' for more details." >&2;}
3530 { (exit 1); exit 1; }; }; }
3534 { $as_echo "$as_me:$LINENO: result: yes" >&5
3535 $as_echo "yes" >&6; }
3537 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3538 ac_clean_files=$ac_clean_files_save
3539 # Check that the compiler produces executables we can run. If not, either
3540 # the compiler is broken, or we cross compile.
3541 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3542 $as_echo_n "checking whether we are cross compiling... " >&6; }
3543 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3544 $as_echo "$cross_compiling" >&6; }
3546 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3547 $as_echo_n "checking for suffix of executables... " >&6; }
3548 if { (ac_try="$ac_link"
3550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3551 *) ac_try_echo
=$ac_try;;
3553 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3554 $as_echo "$ac_try_echo") >&5
3555 (eval "$ac_link") 2>&5
3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; then
3559 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3561 # work properly (i.e., refer to `conftest.exe'), while it won't with
3563 for ac_file
in conftest.exe conftest conftest.
*; do
3564 test -f "$ac_file" ||
continue
3566 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3567 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3573 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3576 See \`config.log' for more details." >&5
3577 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3578 See \`config.log' for more details." >&2;}
3579 { (exit 1); exit 1; }; }; }
3582 rm -f conftest
$ac_cv_exeext
3583 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3584 $as_echo "$ac_cv_exeext" >&6; }
3586 rm -f conftest.
$ac_ext
3587 EXEEXT
=$ac_cv_exeext
3589 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if test "${ac_cv_objext+set}" = set; then
3592 $as_echo_n "(cached) " >&6
3594 cat >conftest.
$ac_ext <<_ACEOF
3597 cat confdefs.h
>>conftest.
$ac_ext
3598 cat >>conftest.
$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3609 rm -f conftest.o conftest.obj
3610 if { (ac_try
="$ac_compile"
3612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616 $as_echo "$ac_try_echo") >&5
3617 (eval "$ac_compile") 2>&5
3619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; then
3621 for ac_file in conftest.o conftest.obj conftest.*; do
3622 test -f "$ac_file" || continue;
3624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3625 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3630 $as_echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3633 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3636 See \
`config.log' for more details." >&5
3637 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3638 See \`config.log
' for more details." >&2;}
3639 { (exit 1); exit 1; }; }; }
3642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3644 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3645 $as_echo "$ac_cv_objext" >&6; }
3646 OBJEXT=$ac_cv_objext
3648 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3649 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3651 $as_echo_n "(cached) " >&6
3653 cat >conftest.$ac_ext <<_ACEOF
3656 cat confdefs.h >>conftest.$ac_ext
3657 cat >>conftest.$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3671 rm -f conftest.$ac_objext
3672 if { (ac_try="$ac_compile"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3678 $as_echo "$ac_try_echo") >&5
3679 (eval "$ac_compile") 2>conftest.er1
3681 grep -v '^
*+' conftest.er1 >conftest.err
3683 cat conftest.err >&5
3684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } && {
3686 test -z "$ac_c_werror_flag" ||
3687 test ! -s conftest.err
3688 } && test -s conftest.$ac_objext; then
3691 $as_echo "$as_me: failed program was:" >&5
3692 sed 's
/^
/|
/' conftest.$ac_ext >&5
3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3701 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3702 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3703 if test $ac_compiler_gnu = yes; then
3708 ac_test_CFLAGS=${CFLAGS+set}
3709 ac_save_CFLAGS=$CFLAGS
3710 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3711 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3712 if test "${ac_cv_prog_cc_g+set}" = set; then
3713 $as_echo_n "(cached) " >&6
3715 ac_save_c_werror_flag=$ac_c_werror_flag
3716 ac_c_werror_flag=yes
3719 cat >conftest.$ac_ext <<_ACEOF
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3734 rm -f conftest.$ac_objext
3735 if { (ac_try="$ac_compile"
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3741 $as_echo "$ac_try_echo") >&5
3742 (eval "$ac_compile") 2>conftest.er1
3744 grep -v '^
*+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } && {
3749 test -z "$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3751 } && test -s conftest.$ac_objext; then
3754 $as_echo "$as_me: failed program was:" >&5
3755 sed 's
/^
/|
/' conftest.$ac_ext >&5
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3773 rm -f conftest.$ac_objext
3774 if { (ac_try="$ac_compile"
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3780 $as_echo "$ac_try_echo") >&5
3781 (eval "$ac_compile") 2>conftest.er1
3783 grep -v '^
*+' conftest.er1 >conftest.err
3785 cat conftest.err >&5
3786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); } && {
3788 test -z "$ac_c_werror_flag" ||
3789 test ! -s conftest.err
3790 } && test -s conftest.$ac_objext; then
3793 $as_echo "$as_me: failed program was:" >&5
3794 sed 's
/^
/|
/' conftest.$ac_ext >&5
3796 ac_c_werror_flag=$ac_save_c_werror_flag
3798 cat >conftest.$ac_ext <<_ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3813 rm -f conftest.$ac_objext
3814 if { (ac_try="$ac_compile"
3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3820 $as_echo "$ac_try_echo") >&5
3821 (eval "$ac_compile") 2>conftest.er1
3823 grep -v '^
*+' conftest.er1 >conftest.err
3825 cat conftest.err >&5
3826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); } && {
3828 test -z "$ac_c_werror_flag" ||
3829 test ! -s conftest.err
3830 } && test -s conftest.$ac_objext; then
3833 $as_echo "$as_me: failed program was:" >&5
3834 sed 's
/^
/|
/' conftest.$ac_ext >&5
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_c_werror_flag=$ac_save_c_werror_flag
3848 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3849 $as_echo "$ac_cv_prog_cc_g" >&6; }
3850 if test "$ac_test_CFLAGS" = set; then
3851 CFLAGS=$ac_save_CFLAGS
3852 elif test $ac_cv_prog_cc_g = yes; then
3853 if test "$GCC" = yes; then
3859 if test "$GCC" = yes; then
3865 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3866 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3867 if test "${ac_cv_prog_cc_c89+set}" = set; then
3868 $as_echo_n "(cached) " >&6
3870 ac_cv_prog_cc_c89=no
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3880 #include <sys/types.h>
3881 #include <sys/stat.h>
3882 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3883 struct buf
{ int x
; };
3884 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3885 static char
*e
(p
, i
)
3891 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3896 s
= g
(p
, va_arg
(v
,int
));
3901 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3902 function prototypes and stuff
, but not
'\xHH' hex character constants.
3903 These don
't provoke an error unfortunately, instead are silently treated
3904 as 'x
'. The following induces an error, until -std is added to get
3905 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3906 array size at least. It's necessary to
write '\x00'==0 to get something
3907 that
's true only with -std. */
3908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3911 inside strings and character constants. */
3913 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3915 int test (int i, double x);
3916 struct s1 {int (*f) (int a);};
3917 struct s2 {int (*f) (double a);};
3918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3932 CC="$ac_save_CC $ac_arg"
3933 rm -f conftest.$ac_objext
3934 if { (ac_try="$ac_compile"
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3940 $as_echo "$ac_try_echo") >&5
3941 (eval "$ac_compile") 2>conftest.er1
3943 grep -v '^
*+' conftest.er1 >conftest.err
3945 cat conftest.err >&5
3946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); } && {
3948 test -z "$ac_c_werror_flag" ||
3949 test ! -s conftest.err
3950 } && test -s conftest.$ac_objext; then
3951 ac_cv_prog_cc_c89=$ac_arg
3953 $as_echo "$as_me: failed program was:" >&5
3954 sed 's
/^
/|
/' conftest.$ac_ext >&5
3959 rm -f core conftest.err conftest.$ac_objext
3960 test "x$ac_cv_prog_cc_c89" != "xno" && break
3962 rm -f conftest.$ac_ext
3967 case "x$ac_cv_prog_cc_c89" in
3969 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3970 $as_echo "none needed" >&6; } ;;
3972 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3973 $as_echo "unsupported" >&6; } ;;
3975 CC="$CC $ac_cv_prog_cc_c89"
3976 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3977 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3984 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3986 DEPDIR="${am__leading_dot}deps"
3988 ac_config_commands="$ac_config_commands depfiles"
3991 am_make=${MAKE-make}
3992 cat > confinc << 'END
'
3994 @echo this is the am__doit target
3997 # If we don't
find an include directive
, just comment out the code.
3998 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3999 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4003 # First try GNU make style include.
4004 echo "include confinc" > confmf
4005 # Ignore all kinds of additional output from `make'.
4006 case `$am_make -s -f confmf 2> /dev/null` in #(
4007 *the\ am__doit\ target
*)
4013 # Now try BSD make style include.
4014 if test "$am__include" = "#"; then
4015 echo '.include "confinc"' > confmf
4016 case `$am_make -s -f confmf 2> /dev/null` in #(
4017 *the\ am__doit\ target
*)
4018 am__include
=.include
4026 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4027 $as_echo "$_am_result" >&6; }
4028 rm -f confinc confmf
4030 # Check whether --enable-dependency-tracking was given.
4031 if test "${enable_dependency_tracking+set}" = set; then
4032 enableval
=$enable_dependency_tracking;
4035 if test "x$enable_dependency_tracking" != xno
; then
4036 am_depcomp
="$ac_aux_dir/depcomp"
4039 if test "x$enable_dependency_tracking" != xno; then
4049 depcc
="$CC" am_compiler_list
=
4051 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4052 $as_echo_n "checking dependency style of $depcc... " >&6; }
4053 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4054 $as_echo_n "(cached) " >&6
4056 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4057 # We make a subdir and do the tests there. Otherwise we can end up
4058 # making bogus files that we don't know about and never remove. For
4059 # instance it was reported that on HP-UX the gcc test will end up
4060 # making a dummy file named `D' -- because `-MD' means `put the output
4063 # Copy depcomp to subdir because otherwise we won't find it if we're
4064 # using a relative directory.
4065 cp "$am_depcomp" conftest.dir
4067 # We will build objects and dependencies in a subdirectory because
4068 # it helps to detect inapplicable dependency modes. For instance
4069 # both Tru64's cc and ICC support -MD to output dependencies as a
4070 # side effect of compilation, but ICC will put the dependencies in
4071 # the current directory while Tru64 will put them in the object
4075 am_cv_CC_dependencies_compiler_type
=none
4076 if test "$am_compiler_list" = ""; then
4077 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4080 case " $depcc " in #(
4081 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4084 for depmode
in $am_compiler_list; do
4085 # Setup a source with many dependencies, because some compilers
4086 # like to wrap large dependency lists on column 80 (with \), and
4087 # we should not choose a depcomp mode which is confused by this.
4089 # We need to recreate these files for each test, as the compiler may
4090 # overwrite some of them when testing with obscure command lines.
4091 # This happens at least with the AIX C compiler.
4093 for i
in 1 2 3 4 5 6; do
4094 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4095 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4096 # Solaris 8's {/usr,}/bin/sh.
4097 touch sub
/conftst
$i.h
4099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4101 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4102 # mode. It turns out that the SunPro C++ compiler does not properly
4103 # handle `-M -o', and we need to detect this. Also, some Intel
4104 # versions had trouble with output in subdirs
4105 am__obj
=sub
/conftest.
${OBJEXT-o}
4106 am__minus_obj
="-o $am__obj"
4109 # This depmode causes a compiler race in universal mode.
4110 test "$am__universal" = false ||
continue
4113 # after this tag, mechanisms are not by side-effect, so they'll
4114 # only be used when explicitly requested
4115 if test "x$enable_dependency_tracking" = xyes
; then
4121 msvisualcpp | msvcmsys
)
4122 # This compiler won't grok `-c -o', but also, the minuso test has
4123 # not run yet. These depmodes are late enough in the game, and
4124 # so weak that their functioning should not be impacted.
4125 am__obj
=conftest.
${OBJEXT-o}
4130 if depmode
=$depmode \
4131 source=sub
/conftest.c object
=$am__obj \
4132 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4133 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4134 >/dev
/null
2>conftest.err
&&
4135 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4136 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4137 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4138 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4139 # icc doesn't choke on unknown options, it will just issue warnings
4140 # or remarks (even with -Werror). So we grep stderr for any message
4141 # that says an option was ignored or not supported.
4142 # When given -MP, icc 7.0 and 7.1 complain thusly:
4143 # icc: Command line warning: ignoring option '-M'; no argument required
4144 # The diagnosis changed in icc 8.0:
4145 # icc: Command line remark: option '-MP' not supported
4146 if (grep 'ignoring option' conftest.err ||
4147 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4148 am_cv_CC_dependencies_compiler_type
=$depmode
4157 am_cv_CC_dependencies_compiler_type
=none
4161 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4162 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4163 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4166 test "x$enable_dependency_tracking" != xno \
4167 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4169 am__fastdepCC_FALSE
='#'
4171 am__fastdepCC_TRUE
='#'
4172 am__fastdepCC_FALSE
=
4178 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4179 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4184 macro_version
='2.2.6b'
4185 macro_revision
='1.3017'
4199 ltmain
="$ac_aux_dir/ltmain.sh"
4201 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4203 if test "${ac_cv_path_SED+set}" = set; then
4204 $as_echo_n "(cached) " >&6
4206 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4207 for ac_i
in 1 2 3 4 5 6 7; do
4208 ac_script
="$ac_script$as_nl$ac_script"
4210 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4211 $as_unset ac_script || ac_script
=
4212 if test -z "$SED"; then
4213 ac_path_SED_found
=false
4214 # Loop through the user's path and test for each of PROGNAME-LIST
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_prog
in sed gsed
; do
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4223 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4224 # Check for GNU ac_path_SED and select it if it is found.
4225 # Check for GNU $ac_path_SED
4226 case `"$ac_path_SED" --version 2>&1` in
4228 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4231 $as_echo_n 0123456789 >"conftest.in"
4234 cat "conftest.in" "conftest.in" >"conftest.tmp"
4235 mv "conftest.tmp" "conftest.in"
4236 cp "conftest.in" "conftest.nl"
4237 $as_echo '' >> "conftest.nl"
4238 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4239 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4240 ac_count
=`expr $ac_count + 1`
4241 if test $ac_count -gt ${ac_path_SED_max-0}; then
4242 # Best one so far, save it but keep looking for a better one
4243 ac_cv_path_SED
="$ac_path_SED"
4244 ac_path_SED_max
=$ac_count
4246 # 10*(2^10) chars as input seems more than enough
4247 test $ac_count -gt 10 && break
4249 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4252 $ac_path_SED_found && break 3
4257 if test -z "$ac_cv_path_SED"; then
4258 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4259 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4260 { (exit 1); exit 1; }; }
4267 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4268 $as_echo "$ac_cv_path_SED" >&6; }
4269 SED
="$ac_cv_path_SED"
4272 test -z "$SED" && SED
=sed
4273 Xsed
="$SED -e 1s/^X//"
4285 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4287 if test "${ac_cv_path_GREP+set}" = set; then
4288 $as_echo_n "(cached) " >&6
4290 if test -z "$GREP"; then
4291 ac_path_GREP_found
=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_prog
in grep ggrep
; do
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4302 # Check for GNU ac_path_GREP and select it if it is found.
4303 # Check for GNU $ac_path_GREP
4304 case `"$ac_path_GREP" --version 2>&1` in
4306 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4309 $as_echo_n 0123456789 >"conftest.in"
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'GREP' >> "conftest.nl"
4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4318 ac_count
=`expr $ac_count + 1`
4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_GREP
="$ac_path_GREP"
4322 ac_path_GREP_max
=$ac_count
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4330 $ac_path_GREP_found && break 3
4335 if test -z "$ac_cv_path_GREP"; then
4336 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4337 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4338 { (exit 1); exit 1; }; }
4341 ac_cv_path_GREP
=$GREP
4345 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4346 $as_echo "$ac_cv_path_GREP" >&6; }
4347 GREP
="$ac_cv_path_GREP"
4350 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4351 $as_echo_n "checking for egrep... " >&6; }
4352 if test "${ac_cv_path_EGREP+set}" = set; then
4353 $as_echo_n "(cached) " >&6
4355 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4356 then ac_cv_path_EGREP
="$GREP -E"
4358 if test -z "$EGREP"; then
4359 ac_path_EGREP_found
=false
4360 # Loop through the user's path and test for each of PROGNAME-LIST
4361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4362 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4365 test -z "$as_dir" && as_dir
=.
4366 for ac_prog
in egrep; do
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4370 # Check for GNU ac_path_EGREP and select it if it is found.
4371 # Check for GNU $ac_path_EGREP
4372 case `"$ac_path_EGREP" --version 2>&1` in
4374 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4377 $as_echo_n 0123456789 >"conftest.in"
4380 cat "conftest.in" "conftest.in" >"conftest.tmp"
4381 mv "conftest.tmp" "conftest.in"
4382 cp "conftest.in" "conftest.nl"
4383 $as_echo 'EGREP' >> "conftest.nl"
4384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4385 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4386 ac_count
=`expr $ac_count + 1`
4387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4388 # Best one so far, save it but keep looking for a better one
4389 ac_cv_path_EGREP
="$ac_path_EGREP"
4390 ac_path_EGREP_max
=$ac_count
4392 # 10*(2^10) chars as input seems more than enough
4393 test $ac_count -gt 10 && break
4395 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4398 $ac_path_EGREP_found && break 3
4403 if test -z "$ac_cv_path_EGREP"; then
4404 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4405 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4406 { (exit 1); exit 1; }; }
4409 ac_cv_path_EGREP
=$EGREP
4414 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4415 $as_echo "$ac_cv_path_EGREP" >&6; }
4416 EGREP
="$ac_cv_path_EGREP"
4419 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4420 $as_echo_n "checking for fgrep... " >&6; }
4421 if test "${ac_cv_path_FGREP+set}" = set; then
4422 $as_echo_n "(cached) " >&6
4424 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4425 then ac_cv_path_FGREP
="$GREP -F"
4427 if test -z "$FGREP"; then
4428 ac_path_FGREP_found
=false
4429 # Loop through the user's path and test for each of PROGNAME-LIST
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4431 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_prog
in fgrep
; do
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4438 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4439 # Check for GNU ac_path_FGREP and select it if it is found.
4440 # Check for GNU $ac_path_FGREP
4441 case `"$ac_path_FGREP" --version 2>&1` in
4443 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4446 $as_echo_n 0123456789 >"conftest.in"
4449 cat "conftest.in" "conftest.in" >"conftest.tmp"
4450 mv "conftest.tmp" "conftest.in"
4451 cp "conftest.in" "conftest.nl"
4452 $as_echo 'FGREP' >> "conftest.nl"
4453 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4454 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4455 ac_count
=`expr $ac_count + 1`
4456 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4457 # Best one so far, save it but keep looking for a better one
4458 ac_cv_path_FGREP
="$ac_path_FGREP"
4459 ac_path_FGREP_max
=$ac_count
4461 # 10*(2^10) chars as input seems more than enough
4462 test $ac_count -gt 10 && break
4464 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4467 $ac_path_FGREP_found && break 3
4472 if test -z "$ac_cv_path_FGREP"; then
4473 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4474 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4475 { (exit 1); exit 1; }; }
4478 ac_cv_path_FGREP
=$FGREP
4483 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4484 $as_echo "$ac_cv_path_FGREP" >&6; }
4485 FGREP
="$ac_cv_path_FGREP"
4488 test -z "$GREP" && GREP
=grep
4508 # Check whether --with-gnu-ld was given.
4509 if test "${with_gnu_ld+set}" = set; then
4510 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4516 if test "$GCC" = yes; then
4517 # Check if gcc -print-prog-name=ld gives a path.
4518 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4519 $as_echo_n "checking for ld used by $CC... " >&6; }
4522 # gcc leaves a trailing carriage return which upsets mingw
4523 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4525 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4528 # Accept absolute paths.
4530 re_direlt
='/[^/][^/]*/\.\./'
4531 # Canonicalize the pathname of ld
4532 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4533 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4534 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4536 test -z "$LD" && LD
="$ac_prog"
4539 # If it fails, then pretend we aren't using GCC.
4543 # If it is relative, then search for the first ld in PATH.
4547 elif test "$with_gnu_ld" = yes; then
4548 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4549 $as_echo_n "checking for GNU ld... " >&6; }
4551 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4552 $as_echo_n "checking for non-GNU ld... " >&6; }
4554 if test "${lt_cv_path_LD+set}" = set; then
4555 $as_echo_n "(cached) " >&6
4557 if test -z "$LD"; then
4558 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4559 for ac_dir
in $PATH; do
4561 test -z "$ac_dir" && ac_dir
=.
4562 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4563 lt_cv_path_LD
="$ac_dir/$ac_prog"
4564 # Check to see if the program is GNU ld. I'd rather use --version,
4565 # but apparently some variants of GNU ld only accept -v.
4566 # Break only if it was the GNU/non-GNU ld that we prefer.
4567 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4568 *GNU
* |
*'with BFD'*)
4569 test "$with_gnu_ld" != no
&& break
4572 test "$with_gnu_ld" != yes && break
4579 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4584 if test -n "$LD"; then
4585 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4586 $as_echo "$LD" >&6; }
4588 { $as_echo "$as_me:$LINENO: result: no" >&5
4589 $as_echo "no" >&6; }
4591 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4592 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4593 { (exit 1); exit 1; }; }
4594 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4595 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4596 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4597 $as_echo_n "(cached) " >&6
4599 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4600 case `$LD -v 2>&1 </dev/null` in
4601 *GNU
* |
*'with BFD'*)
4602 lt_cv_prog_gnu_ld
=yes
4605 lt_cv_prog_gnu_ld
=no
4609 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4610 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4611 with_gnu_ld
=$lt_cv_prog_gnu_ld
4621 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4622 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4623 if test "${lt_cv_path_NM+set}" = set; then
4624 $as_echo_n "(cached) " >&6
4626 if test -n "$NM"; then
4627 # Let the user override the test.
4630 lt_nm_to_check
="${ac_tool_prefix}nm"
4631 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4632 lt_nm_to_check
="$lt_nm_to_check nm"
4634 for lt_tmp_nm
in $lt_nm_to_check; do
4635 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4636 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4638 test -z "$ac_dir" && ac_dir
=.
4639 tmp_nm
="$ac_dir/$lt_tmp_nm"
4640 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4641 # Check to see if the nm accepts a BSD-compat flag.
4642 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4643 # nm: unknown option "B" ignored
4644 # Tru64's nm complains that /dev/null is an invalid object file
4645 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4646 */dev
/null
* |
*'Invalid file or object type'*)
4647 lt_cv_path_NM
="$tmp_nm -B"
4651 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4653 lt_cv_path_NM
="$tmp_nm -p"
4657 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4658 continue # so that we can try to find one that supports BSD flags
4667 : ${lt_cv_path_NM=no}
4670 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4671 $as_echo "$lt_cv_path_NM" >&6; }
4672 if test "$lt_cv_path_NM" != "no"; then
4675 # Didn't find any BSD compatible name lister, look for dumpbin.
4676 if test -n "$ac_tool_prefix"; then
4677 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4680 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$DUMPBIN"; then
4687 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 DUMPBIN
=$ac_cv_prog_DUMPBIN
4707 if test -n "$DUMPBIN"; then
4708 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4709 $as_echo "$DUMPBIN" >&6; }
4711 { $as_echo "$as_me:$LINENO: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$DUMPBIN" && break
4719 if test -z "$DUMPBIN"; then
4720 ac_ct_DUMPBIN
=$DUMPBIN
4721 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4723 # Extract the first word of "$ac_prog", so it can be a program name with args.
4724 set dummy
$ac_prog; ac_word
=$2
4725 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4728 $as_echo_n "(cached) " >&6
4730 if test -n "$ac_ct_DUMPBIN"; then
4731 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4741 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4751 if test -n "$ac_ct_DUMPBIN"; then
4752 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4753 $as_echo "$ac_ct_DUMPBIN" >&6; }
4755 { $as_echo "$as_me:$LINENO: result: no" >&5
4756 $as_echo "no" >&6; }
4760 test -n "$ac_ct_DUMPBIN" && break
4763 if test "x$ac_ct_DUMPBIN" = x
; then
4766 case $cross_compiling:$ac_tool_warned in
4768 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4770 ac_tool_warned
=yes ;;
4772 DUMPBIN
=$ac_ct_DUMPBIN
4777 if test "$DUMPBIN" != ":"; then
4781 test -z "$NM" && NM
=nm
4788 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4789 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4790 if test "${lt_cv_nm_interface+set}" = set; then
4791 $as_echo_n "(cached) " >&6
4793 lt_cv_nm_interface
="BSD nm"
4794 echo "int some_variable = 0;" > conftest.
$ac_ext
4795 (eval echo "\"\$as_me:4795: $ac_compile\"" >&5)
4796 (eval "$ac_compile" 2>conftest.err
)
4797 cat conftest.err
>&5
4798 (eval echo "\"\$as_me:4798: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4799 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4800 cat conftest.err
>&5
4801 (eval echo "\"\$as_me:4801: output\"" >&5)
4802 cat conftest.out
>&5
4803 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4804 lt_cv_nm_interface
="MS dumpbin"
4808 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4809 $as_echo "$lt_cv_nm_interface" >&6; }
4811 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4812 $as_echo_n "checking whether ln -s works... " >&6; }
4814 if test "$LN_S" = "ln -s"; then
4815 { $as_echo "$as_me:$LINENO: result: yes" >&5
4816 $as_echo "yes" >&6; }
4818 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4819 $as_echo "no, using $LN_S" >&6; }
4822 # find the maximum length of command line arguments
4823 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4824 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4825 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4826 $as_echo_n "(cached) " >&6
4833 # On DJGPP, this test can blow up pretty badly due to problems in libc
4834 # (any single argument exceeding 2000 bytes causes a buffer overrun
4835 # during glob expansion). Even if it were fixed, the result of this
4836 # check would be larger than it should be.
4837 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4841 # Under GNU Hurd, this test is not required because there is
4842 # no limit to the length of command line arguments.
4843 # Libtool will interpret -1 as no limit whatsoever
4844 lt_cv_sys_max_cmd_len
=-1;
4847 cygwin
* | mingw
* | cegcc
*)
4848 # On Win9x/ME, this test blows up -- it succeeds, but takes
4849 # about 5 minutes as the teststring grows exponentially.
4850 # Worse, since 9x/ME are not pre-emptively multitasking,
4851 # you end up with a "frozen" computer, even though with patience
4852 # the test eventually succeeds (with a max line length of 256k).
4853 # Instead, let's just punt: use the minimum linelength reported by
4854 # all of the supported platforms: 8192 (on NT/2K/XP).
4855 lt_cv_sys_max_cmd_len
=8192;
4859 # On AmigaOS with pdksh, this test takes hours, literally.
4860 # So we just punt and use a minimum line length of 8192.
4861 lt_cv_sys_max_cmd_len
=8192;
4864 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4865 # This has been around since 386BSD, at least. Likely further.
4866 if test -x /sbin
/sysctl
; then
4867 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4868 elif test -x /usr
/sbin
/sysctl
; then
4869 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4871 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4873 # And add a safety zone
4874 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4875 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4879 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4880 lt_cv_sys_max_cmd_len
=196608
4884 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4885 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4886 # nice to cause kernel panics so lets avoid the loop below.
4887 # First set a reasonable default.
4888 lt_cv_sys_max_cmd_len
=16384
4890 if test -x /sbin
/sysconfig
; then
4891 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4892 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4897 lt_cv_sys_max_cmd_len
=102400
4899 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4900 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4901 if test -n "$kargmax"; then
4902 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4904 lt_cv_sys_max_cmd_len
=32768
4908 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4909 if test -n "$lt_cv_sys_max_cmd_len"; then
4910 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4911 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4913 # Make teststring a little bigger before we do anything with it.
4914 # a 1K string should be a reasonable start.
4915 for i
in 1 2 3 4 5 6 7 8 ; do
4916 teststring
=$teststring$teststring
4918 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4919 # If test is not a shell built-in, we'll probably end up computing a
4920 # maximum length that is only half of the actual maximum length, but
4922 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4923 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4924 test $i != 17 # 1/2 MB should be enough
4927 teststring
=$teststring$teststring
4929 # Only check the string length outside the loop.
4930 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4932 # Add a significant safety factor because C++ compilers can tack on
4933 # massive amounts of additional arguments before passing them to the
4934 # linker. It appears as though 1/2 is a usable value.
4935 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4942 if test -n $lt_cv_sys_max_cmd_len ; then
4943 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4944 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4946 { $as_echo "$as_me:$LINENO: result: none" >&5
4947 $as_echo "none" >&6; }
4949 max_cmd_len
=$lt_cv_sys_max_cmd_len
4960 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4961 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4962 # Try some XSI features
4965 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4967 && eval 'test $(( 1 + 1 )) -eq 2 \
4968 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4970 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4971 $as_echo "$xsi_shell" >&6; }
4974 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4975 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4977 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4979 && lt_shell_append=yes
4980 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4981 $as_echo "$lt_shell_append" >&6; }
4984 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4994 # test EBCDIC or ASCII
4995 case `echo X|tr X '\101'` in
4996 A) # ASCII based system
4997 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4998 lt_SP2NL='tr \040 \012'
4999 lt_NL2SP='tr \015\012 \040\040'
5001 *) # EBCDIC based system
5002 lt_SP2NL='tr \100 \n'
5003 lt_NL2SP='tr \r\n \100\100'
5015 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5016 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5017 if test "${lt_cv_ld_reload_flag+set}" = set; then
5018 $as_echo_n "(cached
) " >&6
5020 lt_cv_ld_reload_flag='-r'
5022 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5023 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5024 reload_flag=$lt_cv_ld_reload_flag
5025 case $reload_flag in
5027 *) reload_flag=" $reload_flag" ;;
5029 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5032 if test "$GCC" = yes; then
5033 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5035 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5048 if test -n "$ac_tool_prefix"; then
5049 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5050 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5051 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5052 $as_echo_n "checking
for $ac_word...
" >&6; }
5053 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5054 $as_echo_n "(cached
) " >&6
5056 if test -n "$OBJDUMP"; then
5057 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5067 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5076 OBJDUMP=$ac_cv_prog_OBJDUMP
5077 if test -n "$OBJDUMP"; then
5078 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5079 $as_echo "$OBJDUMP" >&6; }
5081 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5082 $as_echo "no
" >&6; }
5087 if test -z "$ac_cv_prog_OBJDUMP"; then
5088 ac_ct_OBJDUMP=$OBJDUMP
5089 # Extract the first word of "objdump
", so it can be a program name with args.
5090 set dummy objdump; ac_word=$2
5091 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5092 $as_echo_n "checking
for $ac_word...
" >&6; }
5093 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5094 $as_echo_n "(cached
) " >&6
5096 if test -n "$ac_ct_OBJDUMP"; then
5097 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5107 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5116 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5117 if test -n "$ac_ct_OBJDUMP"; then
5118 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5119 $as_echo "$ac_ct_OBJDUMP" >&6; }
5121 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5122 $as_echo "no
" >&6; }
5125 if test "x
$ac_ct_OBJDUMP" = x; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5131 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5132 ac_tool_warned=yes ;;
5134 OBJDUMP=$ac_ct_OBJDUMP
5137 OBJDUMP="$ac_cv_prog_OBJDUMP"
5140 test -z "$OBJDUMP" && OBJDUMP=objdump
5150 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5151 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5152 if test "${lt_cv_deplibs_check_method+set}" = set; then
5153 $as_echo_n "(cached
) " >&6
5155 lt_cv_file_magic_cmd='$MAGIC_CMD'
5156 lt_cv_file_magic_test_file=
5157 lt_cv_deplibs_check_method='unknown'
5158 # Need to set the preceding variable on all platforms that support
5159 # interlibrary dependencies.
5160 # 'none' -- dependencies not supported.
5161 # `unknown' -- same as none, but documents that we really don't know.
5162 # 'pass_all' -- all dependencies passed with no checks.
5163 # 'test_compile' -- check by making test program.
5164 # 'file_magic [[regex]]' -- check by looking for files in library path
5165 # which responds to the $file_magic_cmd with a given extended regex.
5166 # If you have `file' or equivalent on your system and you're not sure
5167 # whether `pass_all' will *always* work, you probably want this one.
5171 lt_cv_deplibs_check_method=pass_all
5175 lt_cv_deplibs_check_method=pass_all
5179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5180 lt_cv_file_magic_cmd='/usr/bin/file -L'
5181 lt_cv_file_magic_test_file=/shlib/libc.so
5185 # func_win32_libid is a shell function defined in ltmain.sh
5186 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5187 lt_cv_file_magic_cmd='func_win32_libid'
5191 # Base MSYS/MinGW do not provide the 'file' command needed by
5192 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5193 # unless we find 'file', for example because we are cross-compiling.
5194 if ( file / ) >/dev/null 2>&1; then
5195 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5196 lt_cv_file_magic_cmd='func_win32_libid'
5198 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5199 lt_cv_file_magic_cmd='$OBJDUMP -f'
5204 # use the weaker test based on 'objdump'. See mingw*.
5205 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5206 lt_cv_file_magic_cmd='$OBJDUMP -f'
5209 darwin* | rhapsody*)
5210 lt_cv_deplibs_check_method=pass_all
5213 freebsd* | dragonfly*)
5214 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5217 # Not sure whether the presence of OpenBSD here was a mistake.
5218 # Let's accept both of them until this is cleared up.
5219 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5220 lt_cv_file_magic_cmd=/usr/bin/file
5221 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5225 lt_cv_deplibs_check_method=pass_all
5230 lt_cv_deplibs_check_method=pass_all
5233 hpux10.20* | hpux11*)
5234 lt_cv_file_magic_cmd=/usr/bin/file
5237 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5238 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5241 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]'
5242 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5246 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5252 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5256 irix5* | irix6* | nonstopux*)
5258 *-32|*"-32 ") libmagic=32-bit;;
5259 *-n32|*"-n32 ") libmagic=N32;;
5260 *-64|*"-64 ") libmagic=64-bit;;
5261 *) libmagic=never-match;;
5263 lt_cv_deplibs_check_method=pass_all
5266 # This must be Linux ELF.
5267 linux* | k*bsd*-gnu)
5268 lt_cv_deplibs_check_method=pass_all
5272 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5273 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5281 lt_cv_file_magic_cmd=/usr/bin/file
5282 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5286 lt_cv_deplibs_check_method=pass_all
5290 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5297 osf3* | osf4* | osf5*)
5298 lt_cv_deplibs_check_method=pass_all
5302 lt_cv_deplibs_check_method=pass_all
5306 lt_cv_deplibs_check_method=pass_all
5309 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5310 lt_cv_deplibs_check_method=pass_all
5314 case $host_vendor in
5316 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]'
5317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5320 lt_cv_deplibs_check_method=pass_all
5323 lt_cv_file_magic_cmd='/bin/file'
5324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5327 lt_cv_file_magic_cmd='/bin/file'
5328 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5329 lt_cv_file_magic_test_file=/lib/libc.so
5332 lt_cv_deplibs_check_method=pass_all
5335 lt_cv_deplibs_check_method=pass_all
5341 lt_cv_deplibs_check_method=pass_all
5346 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5347 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5348 file_magic_cmd=$lt_cv_file_magic_cmd
5349 deplibs_check_method=$lt_cv_deplibs_check_method
5350 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5363 if test -n "$ac_tool_prefix"; then
5364 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5365 set dummy ${ac_tool_prefix}ar; ac_word=$2
5366 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5367 $as_echo_n "checking
for $ac_word...
" >&6; }
5368 if test "${ac_cv_prog_AR+set}" = set; then
5369 $as_echo_n "(cached
) " >&6
5371 if test -n "$AR"; then
5372 ac_cv_prog_AR="$AR" # Let the user override the test.
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5381 ac_cv_prog_AR="${ac_tool_prefix}ar"
5382 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5392 if test -n "$AR"; then
5393 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5394 $as_echo "$AR" >&6; }
5396 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5397 $as_echo "no
" >&6; }
5402 if test -z "$ac_cv_prog_AR"; then
5404 # Extract the first word of "ar", so it can be a program name with args.
5405 set dummy ar; ac_word=$2
5406 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5407 $as_echo_n "checking
for $ac_word...
" >&6; }
5408 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5409 $as_echo_n "(cached
) " >&6
5411 if test -n "$ac_ct_AR"; then
5412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5421 ac_cv_prog_ac_ct_AR="ar"
5422 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5432 if test -n "$ac_ct_AR"; then
5433 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5434 $as_echo "$ac_ct_AR" >&6; }
5436 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5437 $as_echo "no
" >&6; }
5440 if test "x
$ac_ct_AR" = x; then
5443 case $cross_compiling:$ac_tool_warned in
5445 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5446 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5447 ac_tool_warned=yes ;;
5455 test -z "$AR" && AR=ar
5456 test -z "$AR_FLAGS" && AR_FLAGS=cru
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}strip; ac_word=$2
5471 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5472 $as_echo_n "checking
for $ac_word...
" >&6; }
5473 if test "${ac_cv_prog_STRIP+set}" = set; then
5474 $as_echo_n "(cached
) " >&6
5476 if test -n "$STRIP"; then
5477 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5487 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5496 STRIP=$ac_cv_prog_STRIP
5497 if test -n "$STRIP"; then
5498 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5499 $as_echo "$STRIP" >&6; }
5501 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5502 $as_echo "no
" >&6; }
5507 if test -z "$ac_cv_prog_STRIP"; then
5509 # Extract the first word of "strip
", so it can be a program name with args.
5510 set dummy strip; ac_word=$2
5511 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5512 $as_echo_n "checking
for $ac_word...
" >&6; }
5513 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5514 $as_echo_n "(cached
) " >&6
5516 if test -n "$ac_ct_STRIP"; then
5517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_ac_ct_STRIP="strip
"
5527 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5537 if test -n "$ac_ct_STRIP"; then
5538 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5539 $as_echo "$ac_ct_STRIP" >&6; }
5541 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5542 $as_echo "no
" >&6; }
5545 if test "x
$ac_ct_STRIP" = x; then
5548 case $cross_compiling:$ac_tool_warned in
5550 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5551 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5552 ac_tool_warned=yes ;;
5557 STRIP="$ac_cv_prog_STRIP"
5560 test -z "$STRIP" && STRIP=:
5567 if test -n "$ac_tool_prefix"; then
5568 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5569 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5570 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5571 $as_echo_n "checking
for $ac_word...
" >&6; }
5572 if test "${ac_cv_prog_RANLIB+set}" = set; then
5573 $as_echo_n "(cached
) " >&6
5575 if test -n "$RANLIB"; then
5576 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5586 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5595 RANLIB=$ac_cv_prog_RANLIB
5596 if test -n "$RANLIB"; then
5597 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5598 $as_echo "$RANLIB" >&6; }
5600 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5601 $as_echo "no
" >&6; }
5606 if test -z "$ac_cv_prog_RANLIB"; then
5607 ac_ct_RANLIB=$RANLIB
5608 # Extract the first word of "ranlib
", so it can be a program name with args.
5609 set dummy ranlib; ac_word=$2
5610 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5611 $as_echo_n "checking
for $ac_word...
" >&6; }
5612 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5613 $as_echo_n "(cached
) " >&6
5615 if test -n "$ac_ct_RANLIB"; then
5616 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 test -z "$as_dir" && as_dir=.
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5625 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5626 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5635 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5636 if test -n "$ac_ct_RANLIB"; then
5637 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5638 $as_echo "$ac_ct_RANLIB" >&6; }
5640 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5641 $as_echo "no
" >&6; }
5644 if test "x
$ac_ct_RANLIB" = x; then
5647 case $cross_compiling:$ac_tool_warned in
5649 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5650 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5651 ac_tool_warned=yes ;;
5653 RANLIB=$ac_ct_RANLIB
5656 RANLIB="$ac_cv_prog_RANLIB"
5659 test -z "$RANLIB" && RANLIB=:
5666 # Determine commands to create old-style static archives.
5667 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5668 old_postinstall_cmds='chmod 644 $oldlib'
5669 old_postuninstall_cmds=
5671 if test -n "$RANLIB"; then
5674 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5677 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5680 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5716 # If no C compiler was specified, use CC.
5719 # If no C compiler flags were specified, use CFLAGS.
5720 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5722 # Allow CC to be a program name with arguments.
5726 # Check for command to grab the raw symbol name followed by C symbol from nm.
5727 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5728 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5729 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5730 $as_echo_n "(cached
) " >&6
5733 # These are sane defaults that work on at least a few old systems.
5734 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5736 # Character class describing NM global symbol codes.
5737 symcode='[BCDEGRST]'
5739 # Regexp to match symbols that can be accessed directly from C.
5740 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5742 # Define system-specific variables.
5747 cygwin* | mingw* | pw32* | cegcc*)
5748 symcode='[ABCDGISTW]'
5751 if test "$host_cpu" = ia64; then
5752 symcode='[ABCDEGRST]'
5756 symcode='[BCDEGRST]'
5759 symcode='[BCDEGQRST]'
5770 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5778 # If we're using GNU nm, then use its standard symbol codes.
5779 case `$NM -V 2>&1` in
5780 *GNU* | *'with BFD'*)
5781 symcode='[ABCDGIRSTW]' ;;
5784 # Transform an extracted symbol line into a proper C declaration.
5785 # Some systems (esp. on ia64) link data and code symbols differently,
5786 # so use this general approach.
5787 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5789 # Transform an extracted symbol line into symbol name and symbol address
5790 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5791 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'"
5793 # Handle CRLF in mingw tool chain
5797 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5801 # Try without a prefix underscore, then with it.
5802 for ac_symprfx in "" "_
"; do
5804 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5805 symxfrm="\\1 $ac_symprfx\\2 \\2"
5807 # Write the raw and C identifiers.
5808 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5809 # Fake it for dumpbin and say T for any non-static function
5810 # and D for any global variable.
5811 # Also find C++ and __fastcall symbols from MSVC++,
5812 # which start with @ or ?.
5813 lt_cv_sys_global_symbol_pipe="$AWK '"\
5814 " {last_section=section; section=\$ 3};"\
5815 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5816 " \$ 0!~/External *\|/{next};"\
5817 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5818 " {if(hide[section]) next};"\
5819 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5820 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5821 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5822 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5823 " ' prfx
=^
$ac_symprfx"
5825 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5828 # Check to see that the pipe works correctly.
5832 cat > conftest.$ac_ext <<_LT_EOF
5837 void nm_test_func(void);
5838 void nm_test_func(void){}
5842 int main(){nm_test_var='a';nm_test_func();return(0);}
5845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5846 (eval $ac_compile) 2>&5
5848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5849 (exit $ac_status); }; then
5850 # Now try to grab the symbols.
5852 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5853 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5856 (exit $ac_status); } && test -s "$nlist"; then
5857 # Try sorting and uniquifying the output.
5858 if sort "$nlist" | uniq > "$nlist"T; then
5859 mv -f "$nlist"T "$nlist"
5864 # Make sure that we snagged all the symbols we need.
5865 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5866 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5867 cat <<_LT_EOF > conftest.$ac_ext
5873 # Now generate the symbol file.
5874 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5876 cat <<_LT_EOF >> conftest.$ac_ext
5878 /* The mapping between symbol names and symbols. */
5883 lt__PROGRAM__LTX_preloaded_symbols[] =
5885 { "@PROGRAM@
", (void *) 0 },
5887 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5888 cat <<\_LT_EOF >> conftest.$ac_ext
5892 /* This works around a problem in FreeBSD linker */
5893 #ifdef FREEBSD_WORKAROUND
5894 static const void *lt_preloaded_setup() {
5895 return lt__PROGRAM__LTX_preloaded_symbols;
5903 # Now try linking the two files.
5904 mv conftest.$ac_objext conftstm.$ac_objext
5905 lt_save_LIBS="$LIBS"
5906 lt_save_CFLAGS="$CFLAGS"
5907 LIBS="conftstm.
$ac_objext"
5908 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5910 (eval $ac_link) 2>&5
5912 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5913 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5916 LIBS="$lt_save_LIBS"
5917 CFLAGS="$lt_save_CFLAGS"
5919 echo "cannot
find nm_test_func
in $nlist" >&5
5922 echo "cannot
find nm_test_var
in $nlist" >&5
5925 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5928 echo "$progname: failed program was
:" >&5
5929 cat conftest.$ac_ext >&5
5931 rm -rf conftest* conftst*
5933 # Do not use the global_symbol_pipe unless it works.
5934 if test "$pipe_works" = yes; then
5937 lt_cv_sys_global_symbol_pipe=
5943 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5944 lt_cv_sys_global_symbol_to_cdecl=
5946 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5947 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5948 $as_echo "failed
" >&6; }
5950 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5951 $as_echo "ok
" >&6; }
5976 # Check whether --enable-libtool-lock was given.
5977 if test "${enable_libtool_lock+set}" = set; then
5978 enableval=$enable_libtool_lock;
5981 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5983 # Some flags need to be propagated to the compiler or linker for good
5987 # Find out which ABI we are using.
5988 echo 'int i;' > conftest.$ac_ext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 (eval $ac_compile) 2>&5
5992 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5993 (exit $ac_status); }; then
5994 case `/usr/bin/file conftest.$ac_objext` in
6006 # Find out which ABI we are using.
6007 echo '#line 6007 "configure
"' > conftest.$ac_ext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>&5
6011 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6012 (exit $ac_status); }; then
6013 if test "$lt_cv_prog_gnu_ld" = yes; then
6014 case `/usr/bin/file conftest.$ac_objext` in
6016 LD="${LD-ld} -melf32bsmip"
6019 LD="${LD-ld} -melf32bmipn32"
6022 LD="${LD-ld} -melf64bmip"
6026 case `/usr/bin/file conftest.$ac_objext` in
6042 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6043 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6044 # Find out which ABI we are using.
6045 echo 'int i;' > conftest.$ac_ext
6046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6047 (eval $ac_compile) 2>&5
6049 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6050 (exit $ac_status); }; then
6051 case `/usr/bin/file conftest.o` in
6054 x86_64-*kfreebsd*-gnu)
6055 LD="${LD-ld} -m elf_i386_fbsd
"
6058 LD="${LD-ld} -m elf_i386
"
6060 ppc64-*linux*|powerpc64-*linux*)
6061 LD="${LD-ld} -m elf32ppclinux
"
6064 LD="${LD-ld} -m elf_s390
"
6067 LD="${LD-ld} -m elf32_sparc
"
6073 x86_64-*kfreebsd*-gnu)
6074 LD="${LD-ld} -m elf_x86_64_fbsd
"
6077 LD="${LD-ld} -m elf_x86_64
"
6079 ppc*-*linux*|powerpc*-*linux*)
6080 LD="${LD-ld} -m elf64ppc
"
6082 s390*-*linux*|s390*-*tpf*)
6083 LD="${LD-ld} -m elf64_s390
"
6086 LD="${LD-ld} -m elf64_sparc
"
6096 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6097 SAVE_CFLAGS="$CFLAGS"
6098 CFLAGS="$CFLAGS -belf"
6099 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6100 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6101 if test "${lt_cv_cc_needs_belf+set}" = set; then
6102 $as_echo_n "(cached
) " >&6
6105 ac_cpp='$CPP $CPPFLAGS'
6106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6110 cat >conftest.$ac_ext <<_ACEOF
6113 cat confdefs.h >>conftest.$ac_ext
6114 cat >>conftest.$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6125 rm -f conftest.$ac_objext conftest$ac_exeext
6126 if { (ac_try="$ac_link"
6128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6131 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6132 $as_echo "$ac_try_echo") >&5
6133 (eval "$ac_link") 2>conftest.er1
6135 grep -v '^ *+' conftest.er1 >conftest.err
6137 cat conftest.err >&5
6138 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6139 (exit $ac_status); } && {
6140 test -z "$ac_c_werror_flag" ||
6141 test ! -s conftest.err
6142 } && test -s conftest$ac_exeext && {
6143 test "$cross_compiling" = yes ||
6144 $as_test_x conftest$ac_exeext
6146 lt_cv_cc_needs_belf=yes
6148 $as_echo "$as_me: failed program was
:" >&5
6149 sed 's/^/| /' conftest.$ac_ext >&5
6151 lt_cv_cc_needs_belf=no
6154 rm -rf conftest.dSYM
6155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6156 conftest$ac_exeext conftest.$ac_ext
6158 ac_cpp='$CPP $CPPFLAGS'
6159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6164 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6165 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6166 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6167 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6168 CFLAGS="$SAVE_CFLAGS"
6172 # Find out which ABI we are using.
6173 echo 'int i;' > conftest.$ac_ext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 (eval $ac_compile) 2>&5
6177 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6178 (exit $ac_status); }; then
6179 case `/usr/bin/file conftest.o` in
6181 case $lt_cv_prog_gnu_ld in
6182 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6184 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6196 need_locks="$enable_libtool_lock"
6200 rhapsody* | darwin*)
6201 if test -n "$ac_tool_prefix"; then
6202 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6203 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6204 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6205 $as_echo_n "checking
for $ac_word...
" >&6; }
6206 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6207 $as_echo_n "(cached
) " >&6
6209 if test -n "$DSYMUTIL"; then
6210 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6220 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6229 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6230 if test -n "$DSYMUTIL"; then
6231 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6232 $as_echo "$DSYMUTIL" >&6; }
6234 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6235 $as_echo "no
" >&6; }
6240 if test -z "$ac_cv_prog_DSYMUTIL"; then
6241 ac_ct_DSYMUTIL=$DSYMUTIL
6242 # Extract the first word of "dsymutil
", so it can be a program name with args.
6243 set dummy dsymutil; ac_word=$2
6244 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6245 $as_echo_n "checking
for $ac_word...
" >&6; }
6246 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6247 $as_echo_n "(cached
) " >&6
6249 if test -n "$ac_ct_DSYMUTIL"; then
6250 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6260 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6269 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6270 if test -n "$ac_ct_DSYMUTIL"; then
6271 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6272 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6274 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6275 $as_echo "no
" >&6; }
6278 if test "x
$ac_ct_DSYMUTIL" = x; then
6281 case $cross_compiling:$ac_tool_warned in
6283 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6284 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6285 ac_tool_warned=yes ;;
6287 DSYMUTIL=$ac_ct_DSYMUTIL
6290 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6293 if test -n "$ac_tool_prefix"; then
6294 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6295 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6296 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6297 $as_echo_n "checking
for $ac_word...
" >&6; }
6298 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6299 $as_echo_n "(cached
) " >&6
6301 if test -n "$NMEDIT"; then
6302 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6312 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6321 NMEDIT=$ac_cv_prog_NMEDIT
6322 if test -n "$NMEDIT"; then
6323 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6324 $as_echo "$NMEDIT" >&6; }
6326 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6327 $as_echo "no
" >&6; }
6332 if test -z "$ac_cv_prog_NMEDIT"; then
6333 ac_ct_NMEDIT=$NMEDIT
6334 # Extract the first word of "nmedit
", so it can be a program name with args.
6335 set dummy nmedit; ac_word=$2
6336 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6337 $as_echo_n "checking
for $ac_word...
" >&6; }
6338 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6339 $as_echo_n "(cached
) " >&6
6341 if test -n "$ac_ct_NMEDIT"; then
6342 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6352 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6362 if test -n "$ac_ct_NMEDIT"; then
6363 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6364 $as_echo "$ac_ct_NMEDIT" >&6; }
6366 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6367 $as_echo "no
" >&6; }
6370 if test "x
$ac_ct_NMEDIT" = x; then
6373 case $cross_compiling:$ac_tool_warned in
6375 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6376 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6377 ac_tool_warned=yes ;;
6379 NMEDIT=$ac_ct_NMEDIT
6382 NMEDIT="$ac_cv_prog_NMEDIT"
6385 if test -n "$ac_tool_prefix"; then
6386 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6387 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6388 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6389 $as_echo_n "checking
for $ac_word...
" >&6; }
6390 if test "${ac_cv_prog_LIPO+set}" = set; then
6391 $as_echo_n "(cached
) " >&6
6393 if test -n "$LIPO"; then
6394 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6403 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6404 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6413 LIPO=$ac_cv_prog_LIPO
6414 if test -n "$LIPO"; then
6415 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6416 $as_echo "$LIPO" >&6; }
6418 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6419 $as_echo "no
" >&6; }
6424 if test -z "$ac_cv_prog_LIPO"; then
6426 # Extract the first word of "lipo
", so it can be a program name with args.
6427 set dummy lipo; ac_word=$2
6428 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6429 $as_echo_n "checking
for $ac_word...
" >&6; }
6430 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6431 $as_echo_n "(cached
) " >&6
6433 if test -n "$ac_ct_LIPO"; then
6434 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6443 ac_cv_prog_ac_ct_LIPO="lipo
"
6444 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6453 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6454 if test -n "$ac_ct_LIPO"; then
6455 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6456 $as_echo "$ac_ct_LIPO" >&6; }
6458 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6459 $as_echo "no
" >&6; }
6462 if test "x
$ac_ct_LIPO" = x; then
6465 case $cross_compiling:$ac_tool_warned in
6467 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6468 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6469 ac_tool_warned=yes ;;
6474 LIPO="$ac_cv_prog_LIPO"
6477 if test -n "$ac_tool_prefix"; then
6478 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6479 set dummy ${ac_tool_prefix}otool; ac_word=$2
6480 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6481 $as_echo_n "checking
for $ac_word...
" >&6; }
6482 if test "${ac_cv_prog_OTOOL+set}" = set; then
6483 $as_echo_n "(cached
) " >&6
6485 if test -n "$OTOOL"; then
6486 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6496 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6505 OTOOL=$ac_cv_prog_OTOOL
6506 if test -n "$OTOOL"; then
6507 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6508 $as_echo "$OTOOL" >&6; }
6510 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6511 $as_echo "no
" >&6; }
6516 if test -z "$ac_cv_prog_OTOOL"; then
6518 # Extract the first word of "otool
", so it can be a program name with args.
6519 set dummy otool; ac_word=$2
6520 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6521 $as_echo_n "checking
for $ac_word...
" >&6; }
6522 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6523 $as_echo_n "(cached
) " >&6
6525 if test -n "$ac_ct_OTOOL"; then
6526 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_ac_ct_OTOOL="otool
"
6536 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6545 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6546 if test -n "$ac_ct_OTOOL"; then
6547 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6548 $as_echo "$ac_ct_OTOOL" >&6; }
6550 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6551 $as_echo "no
" >&6; }
6554 if test "x
$ac_ct_OTOOL" = x; then
6557 case $cross_compiling:$ac_tool_warned in
6559 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6560 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6561 ac_tool_warned=yes ;;
6566 OTOOL="$ac_cv_prog_OTOOL"
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6572 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6573 $as_echo_n "checking
for $ac_word...
" >&6; }
6574 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6575 $as_echo_n "(cached
) " >&6
6577 if test -n "$OTOOL64"; then
6578 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6588 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6597 OTOOL64=$ac_cv_prog_OTOOL64
6598 if test -n "$OTOOL64"; then
6599 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6600 $as_echo "$OTOOL64" >&6; }
6602 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6603 $as_echo "no
" >&6; }
6608 if test -z "$ac_cv_prog_OTOOL64"; then
6609 ac_ct_OTOOL64=$OTOOL64
6610 # Extract the first word of "otool64
", so it can be a program name with args.
6611 set dummy otool64; ac_word=$2
6612 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6613 $as_echo_n "checking
for $ac_word...
" >&6; }
6614 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6615 $as_echo_n "(cached
) " >&6
6617 if test -n "$ac_ct_OTOOL64"; then
6618 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6628 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6637 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6638 if test -n "$ac_ct_OTOOL64"; then
6639 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6640 $as_echo "$ac_ct_OTOOL64" >&6; }
6642 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6643 $as_echo "no
" >&6; }
6646 if test "x
$ac_ct_OTOOL64" = x; then
6649 case $cross_compiling:$ac_tool_warned in
6651 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6652 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6653 ac_tool_warned=yes ;;
6655 OTOOL64=$ac_ct_OTOOL64
6658 OTOOL64="$ac_cv_prog_OTOOL64"
6687 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6688 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6689 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6690 $as_echo_n "(cached
) " >&6
6692 lt_cv_apple_cc_single_mod=no
6693 if test -z "${LT_MULTI_MODULE}"; then
6694 # By default we will add the -single_module flag. You can override
6695 # by either setting the environment variable LT_MULTI_MODULE
6696 # non-empty at configure time, or by adding -multi_module to the
6698 rm -rf libconftest.dylib*
6699 echo "int foo
(void
){return 1;}" > conftest.c
6700 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6701 -dynamiclib -Wl,-single_module conftest.c
" >&5
6702 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6703 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6705 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6706 lt_cv_apple_cc_single_mod=yes
6708 cat conftest.err >&5
6710 rm -rf libconftest.dylib*
6714 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6715 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6716 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6717 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6718 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6719 $as_echo_n "(cached
) " >&6
6721 lt_cv_ld_exported_symbols_list=no
6722 save_LDFLAGS=$LDFLAGS
6723 echo "_main
" > conftest.sym
6724 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6725 cat >conftest.$ac_ext <<_ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6740 rm -f conftest.$ac_objext conftest$ac_exeext
6741 if { (ac_try="$ac_link"
6743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6744 *) ac_try_echo=$ac_try;;
6746 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6747 $as_echo "$ac_try_echo") >&5
6748 (eval "$ac_link") 2>conftest.er1
6750 grep -v '^ *+' conftest.er1 >conftest.err
6752 cat conftest.err >&5
6753 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6754 (exit $ac_status); } && {
6755 test -z "$ac_c_werror_flag" ||
6756 test ! -s conftest.err
6757 } && test -s conftest$ac_exeext && {
6758 test "$cross_compiling" = yes ||
6759 $as_test_x conftest$ac_exeext
6761 lt_cv_ld_exported_symbols_list=yes
6763 $as_echo "$as_me: failed program was
:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 lt_cv_ld_exported_symbols_list=no
6769 rm -rf conftest.dSYM
6770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6771 conftest$ac_exeext conftest.$ac_ext
6772 LDFLAGS="$save_LDFLAGS"
6775 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6776 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6778 rhapsody* | darwin1.[012])
6779 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6781 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6782 darwin*) # darwin 5.x on
6783 # if running on 10.5 or later, the deployment target defaults
6784 # to the OS version, if on x86, and 10.4, the deployment
6785 # target defaults to 10.4. Don't you love it?
6786 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6787 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6788 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6790 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6792 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6796 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6797 _lt_dar_single_mod='$single_module'
6799 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6800 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6802 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6804 if test "$DSYMUTIL" != ":"; then
6805 _lt_dsymutil='~$DSYMUTIL $lib || :'
6813 ac_cpp='$CPP $CPPFLAGS'
6814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6818 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6819 # On Suns, sometimes $CPP names a directory.
6820 if test -n "$CPP" && test -d "$CPP"; then
6823 if test -z "$CPP"; then
6824 if test "${ac_cv_prog_CPP+set}" = set; then
6825 $as_echo_n "(cached
) " >&6
6827 # Double quotes because CPP needs to be expanded
6828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6831 for ac_c_preproc_warn_flag in '' yes
6833 # Use a header file that comes with gcc, so configuring glibc
6834 # with a fresh cross-compiler works.
6835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6836 # <limits.h> exists even on freestanding compilers.
6837 # On the NeXT, cc -E runs the code through the compiler's parser,
6838 # not just through cpp. "Syntax error
" is here to catch this case.
6839 cat >conftest.$ac_ext <<_ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6846 # include <limits.h>
6848 # include <assert.h>
6852 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855 *) ac_try_echo=$ac_try;;
6857 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6858 $as_echo "$ac_try_echo") >&5
6859 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6861 grep -v '^ *+' conftest.er1 >conftest.err
6863 cat conftest.err >&5
6864 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6865 (exit $ac_status); } >/dev/null && {
6866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6867 test ! -s conftest.err
6871 $as_echo "$as_me: failed program was
:" >&5
6872 sed 's/^/| /' conftest.$ac_ext >&5
6874 # Broken: fails on valid input.
6878 rm -f conftest.err conftest.$ac_ext
6880 # OK, works on sane cases. Now check whether nonexistent headers
6881 # can be detected and how.
6882 cat >conftest.$ac_ext <<_ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6888 #include <ac_nonexistent.h>
6890 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6893 *) ac_try_echo=$ac_try;;
6895 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6896 $as_echo "$ac_try_echo") >&5
6897 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6899 grep -v '^ *+' conftest.er1 >conftest.err
6901 cat conftest.err >&5
6902 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6903 (exit $ac_status); } >/dev/null && {
6904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6907 # Broken: success on invalid input.
6910 $as_echo "$as_me: failed program was
:" >&5
6911 sed 's/^/| /' conftest.$ac_ext >&5
6913 # Passes both tests.
6918 rm -f conftest.err conftest.$ac_ext
6921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6922 rm -f conftest.err conftest.$ac_ext
6923 if $ac_preproc_ok; then
6935 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6936 $as_echo "$CPP" >&6; }
6938 for ac_c_preproc_warn_flag in '' yes
6940 # Use a header file that comes with gcc, so configuring glibc
6941 # with a fresh cross-compiler works.
6942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6943 # <limits.h> exists even on freestanding compilers.
6944 # On the NeXT, cc -E runs the code through the compiler's parser,
6945 # not just through cpp. "Syntax error
" is here to catch this case.
6946 cat >conftest.$ac_ext <<_ACEOF
6949 cat confdefs.h >>conftest.$ac_ext
6950 cat >>conftest.$ac_ext <<_ACEOF
6951 /* end confdefs.h. */
6953 # include <limits.h>
6955 # include <assert.h>
6959 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6964 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6965 $as_echo "$ac_try_echo") >&5
6966 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6968 grep -v '^ *+' conftest.er1 >conftest.err
6970 cat conftest.err >&5
6971 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6972 (exit $ac_status); } >/dev/null && {
6973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6974 test ! -s conftest.err
6978 $as_echo "$as_me: failed program was
:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 # Broken: fails on valid input.
6985 rm -f conftest.err conftest.$ac_ext
6987 # OK, works on sane cases. Now check whether nonexistent headers
6988 # can be detected and how.
6989 cat >conftest.$ac_ext <<_ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <ac_nonexistent.h>
6997 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000 *) ac_try_echo=$ac_try;;
7002 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7003 $as_echo "$ac_try_echo") >&5
7004 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7006 grep -v '^ *+' conftest.er1 >conftest.err
7008 cat conftest.err >&5
7009 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7010 (exit $ac_status); } >/dev/null && {
7011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012 test ! -s conftest.err
7014 # Broken: success on invalid input.
7017 $as_echo "$as_me: failed program was
:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 # Passes both tests.
7025 rm -f conftest.err conftest.$ac_ext
7028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7029 rm -f conftest.err conftest.$ac_ext
7030 if $ac_preproc_ok; then
7033 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7035 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7036 See \`config.log' for more details.
" >&5
7037 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7038 See \
`config.log' for more details." >&2;}
7039 { (exit 1); exit 1; }; }; }
7043 ac_cpp='$CPP $CPPFLAGS'
7044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7049 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7050 $as_echo_n "checking for ANSI C header files... " >&6; }
7051 if test "${ac_cv_header_stdc+set}" = set; then
7052 $as_echo_n "(cached) " >&6
7054 cat >conftest.$ac_ext <<_ACEOF
7057 cat confdefs.h >>conftest.$ac_ext
7058 cat >>conftest.$ac_ext <<_ACEOF
7059 /* end confdefs.h. */
7073 rm -f conftest.$ac_objext
7074 if { (ac_try="$ac_compile"
7076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7077 *) ac_try_echo
=$ac_try;;
7079 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7080 $as_echo "$ac_try_echo") >&5
7081 (eval "$ac_compile") 2>conftest.er1
7083 grep -v '^ *+' conftest.er1
>conftest.err
7085 cat conftest.err
>&5
7086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); } && {
7088 test -z "$ac_c_werror_flag" ||
7089 test ! -s conftest.err
7090 } && test -s conftest.
$ac_objext; then
7091 ac_cv_header_stdc
=yes
7093 $as_echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.
$ac_ext >&5
7096 ac_cv_header_stdc
=no
7099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7101 if test $ac_cv_header_stdc = yes; then
7102 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7103 cat >conftest.
$ac_ext <<_ACEOF
7106 cat confdefs.h
>>conftest.
$ac_ext
7107 cat >>conftest.
$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7113 $EGREP "memchr" >/dev
/null
2>&1; then
7116 ac_cv_header_stdc
=no
7122 if test $ac_cv_header_stdc = yes; then
7123 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7124 cat >conftest.
$ac_ext <<_ACEOF
7127 cat confdefs.h
>>conftest.
$ac_ext
7128 cat >>conftest.
$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7134 $EGREP "free" >/dev
/null
2>&1; then
7137 ac_cv_header_stdc
=no
7143 if test $ac_cv_header_stdc = yes; then
7144 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7145 if test "$cross_compiling" = yes; then
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7156 #if ((' ' & 0x0FF) == 0x020)
7157 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7158 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7160 # define ISLOWER(c) \
7161 (('a' <= (c) && (c) <= 'i') \
7162 || ('j' <= (c) && (c) <= 'r') \
7163 || ('s' <= (c) && (c) <= 'z'))
7164 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7167 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7172 for (i = 0; i < 256; i++)
7173 if (XOR (islower (i), ISLOWER (i))
7174 || toupper (i) != TOUPPER (i))
7179 rm -f conftest
$ac_exeext
7180 if { (ac_try
="$ac_link"
7182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7183 *) ac_try_echo=$ac_try;;
7185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7186 $as_echo "$ac_try_echo") >&5
7187 (eval "$ac_link") 2>&5
7189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7191 { (case "(($ac_try" in
7192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7193 *) ac_try_echo
=$ac_try;;
7195 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7196 $as_echo "$ac_try_echo") >&5
7197 (eval "$ac_try") 2>&5
7199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7203 $as_echo "$as_me: program exited with status $ac_status" >&5
7204 $as_echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.
$ac_ext >&5
7208 ac_cv_header_stdc
=no
7210 rm -rf conftest.dSYM
7211 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7217 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7218 $as_echo "$ac_cv_header_stdc" >&6; }
7219 if test $ac_cv_header_stdc = yes; then
7221 cat >>confdefs.h
<<\_ACEOF
7222 #define STDC_HEADERS 1
7227 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7237 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7238 inttypes.h stdint.h unistd.h
7240 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7241 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 $as_echo_n "checking for $ac_header... " >&6; }
7243 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7244 $as_echo_n "(cached) " >&6
7246 cat >conftest.
$ac_ext <<_ACEOF
7249 cat confdefs.h
>>conftest.
$ac_ext
7250 cat >>conftest.
$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 $ac_includes_default
7254 #include <$ac_header>
7256 rm -f conftest.
$ac_objext
7257 if { (ac_try
="$ac_compile"
7259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7263 $as_echo "$ac_try_echo") >&5
7264 (eval "$ac_compile") 2>conftest.er1
7266 grep -v '^ *+' conftest.er1 >conftest.err
7268 cat conftest.err >&5
7269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } && {
7271 test -z "$ac_c_werror_flag" ||
7272 test ! -s conftest.err
7273 } && test -s conftest.$ac_objext; then
7274 eval "$as_ac_Header=yes"
7276 $as_echo "$as_me: failed program was:" >&5
7277 sed 's/^/| /' conftest.$ac_ext >&5
7279 eval "$as_ac_Header=no"
7282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284 ac_res=`eval 'as_val=${'$as_ac_Header'}
7285 $as_echo "$as_val"'`
7286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7287 $as_echo "$ac_res" >&6; }
7288 as_val=`eval 'as_val=${'$as_ac_Header'}
7289 $as_echo "$as_val"'`
7290 if test "x$as_val" = x""yes; then
7291 cat >>confdefs.h <<_ACEOF
7292 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7301 for ac_header in dlfcn.h
7303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7304 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7305 $as_echo_n "checking for $ac_header... " >&6; }
7306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7307 $as_echo_n "(cached) " >&6
7309 cat >conftest.$ac_ext <<_ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 $ac_includes_default
7317 #include <$ac_header>
7319 rm -f conftest.$ac_objext
7320 if { (ac_try="$ac_compile"
7322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7323 *) ac_try_echo
=$ac_try;;
7325 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7326 $as_echo "$ac_try_echo") >&5
7327 (eval "$ac_compile") 2>conftest.er1
7329 grep -v '^ *+' conftest.er1
>conftest.err
7331 cat conftest.err
>&5
7332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } && {
7334 test -z "$ac_c_werror_flag" ||
7335 test ! -s conftest.err
7336 } && test -s conftest.
$ac_objext; then
7337 eval "$as_ac_Header=yes"
7339 $as_echo "$as_me: failed program was:" >&5
7340 sed 's/^/| /' conftest.
$ac_ext >&5
7342 eval "$as_ac_Header=no"
7345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7347 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7348 $as_echo "$as_val"'`
7349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7350 $as_echo "$ac_res" >&6; }
7351 as_val
=`eval 'as_val=${'$as_ac_Header'}
7352 $as_echo "$as_val"'`
7353 if test "x$as_val" = x
""yes; then
7354 cat >>confdefs.h
<<_ACEOF
7355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7374 # Check whether --enable-shared was given.
7375 if test "${enable_shared+set}" = set; then
7376 enableval
=$enable_shared; p
=${PACKAGE-default}
7378 yes) enable_shared
=yes ;;
7379 no
) enable_shared
=no
;;
7382 # Look at the argument we got. We use all the common list separators.
7383 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7384 for pkg
in $enableval; do
7386 if test "X$pkg" = "X$p"; then
7405 # Check whether --enable-static was given.
7406 if test "${enable_static+set}" = set; then
7407 enableval
=$enable_static; p
=${PACKAGE-default}
7409 yes) enable_static
=yes ;;
7410 no
) enable_static
=no
;;
7413 # Look at the argument we got. We use all the common list separators.
7414 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7415 for pkg
in $enableval; do
7417 if test "X$pkg" = "X$p"; then
7437 # Check whether --with-pic was given.
7438 if test "${with_pic+set}" = set; then
7439 withval
=$with_pic; pic_mode
="$withval"
7445 test -z "$pic_mode" && pic_mode
=default
7453 # Check whether --enable-fast-install was given.
7454 if test "${enable_fast_install+set}" = set; then
7455 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7457 yes) enable_fast_install
=yes ;;
7458 no
) enable_fast_install
=no
;;
7460 enable_fast_install
=no
7461 # Look at the argument we got. We use all the common list separators.
7462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7463 for pkg
in $enableval; do
7465 if test "X$pkg" = "X$p"; then
7466 enable_fast_install
=yes
7473 enable_fast_install
=yes
7486 # This can be used to rebuild libtool when needed
7487 LIBTOOL_DEPS
="$ltmain"
7489 # Always use our own libtool.
7490 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7516 test -z "$LN_S" && LN_S
="ln -s"
7531 if test -n "${ZSH_VERSION+set}" ; then
7532 setopt NO_GLOB_SUBST
7535 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7536 $as_echo_n "checking for objdir... " >&6; }
7537 if test "${lt_cv_objdir+set}" = set; then
7538 $as_echo_n "(cached) " >&6
7540 rm -f .libs
2>/dev
/null
7541 mkdir .libs
2>/dev
/null
7542 if test -d .libs
; then
7545 # MS-DOS does not allow filenames that begin with a dot.
7548 rmdir .libs
2>/dev
/null
7550 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7551 $as_echo "$lt_cv_objdir" >&6; }
7552 objdir
=$lt_cv_objdir
7558 cat >>confdefs.h
<<_ACEOF
7559 #define LT_OBJDIR "$lt_cv_objdir/"
7580 # AIX sometimes has problems with the GCC collect2 program. For some
7581 # reason, if we set the COLLECT_NAMES environment variable, the problems
7582 # vanish in a puff of smoke.
7583 if test "X${COLLECT_NAMES+set}" != Xset
; then
7585 export COLLECT_NAMES
7590 # Sed substitution that helps us do robust quoting. It backslashifies
7591 # metacharacters that are still active within double-quoted strings.
7592 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7594 # Same as above, but do not quote variable references.
7595 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7597 # Sed substitution to delay expansion of an escaped shell variable in a
7598 # double_quote_subst'ed string.
7599 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7601 # Sed substitution to delay expansion of an escaped single quote.
7602 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7604 # Sed substitution to avoid accidental globbing in evaled expressions
7605 no_glob_subst
='s/\*/\\\*/g'
7609 can_build_shared
=yes
7611 # All known linkers require a `.a' archive for static linking (except MSVC,
7612 # which needs '.lib').
7615 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7618 old_CFLAGS
="$CFLAGS"
7620 # Set sane defaults for various variables
7621 test -z "$CC" && CC
=cc
7622 test -z "$LTCC" && LTCC
=$CC
7623 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7624 test -z "$LD" && LD
=ld
7625 test -z "$ac_objext" && ac_objext
=o
7627 for cc_temp
in $compiler""; do
7629 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7630 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7635 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7638 # Only perform the check for file, if the check method requires it
7639 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7640 case $deplibs_check_method in
7642 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7643 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7644 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7645 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7646 $as_echo_n "(cached) " >&6
7650 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7653 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7654 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7655 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7656 for ac_dir
in $ac_dummy; do
7658 test -z "$ac_dir" && ac_dir
=.
7659 if test -f $ac_dir/${ac_tool_prefix}file; then
7660 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7661 if test -n "$file_magic_test_file"; then
7662 case $deplibs_check_method in
7664 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7665 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7666 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7667 $EGREP "$file_magic_regex" > /dev
/null
; then
7672 *** Warning: the command libtool uses to detect shared libraries,
7673 *** $file_magic_cmd, produces output that libtool cannot recognize.
7674 *** The result is that libtool may fail to recognize shared libraries
7675 *** as such. This will affect the creation of libtool libraries that
7676 *** depend on shared libraries, but programs linked with such libtool
7677 *** libraries will work regardless of this problem. Nevertheless, you
7678 *** may want to report the problem to your system manager and/or to
7679 *** bug-libtool@gnu.org
7689 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7694 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7695 if test -n "$MAGIC_CMD"; then
7696 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7697 $as_echo "$MAGIC_CMD" >&6; }
7699 { $as_echo "$as_me:$LINENO: result: no" >&5
7700 $as_echo "no" >&6; }
7707 if test -z "$lt_cv_path_MAGIC_CMD"; then
7708 if test -n "$ac_tool_prefix"; then
7709 { $as_echo "$as_me:$LINENO: checking for file" >&5
7710 $as_echo_n "checking for file... " >&6; }
7711 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7712 $as_echo_n "(cached) " >&6
7716 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7719 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7720 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7721 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7722 for ac_dir
in $ac_dummy; do
7724 test -z "$ac_dir" && ac_dir
=.
7725 if test -f $ac_dir/file; then
7726 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7727 if test -n "$file_magic_test_file"; then
7728 case $deplibs_check_method in
7730 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7731 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7732 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7733 $EGREP "$file_magic_regex" > /dev
/null
; then
7738 *** Warning: the command libtool uses to detect shared libraries,
7739 *** $file_magic_cmd, produces output that libtool cannot recognize.
7740 *** The result is that libtool may fail to recognize shared libraries
7741 *** as such. This will affect the creation of libtool libraries that
7742 *** depend on shared libraries, but programs linked with such libtool
7743 *** libraries will work regardless of this problem. Nevertheless, you
7744 *** may want to report the problem to your system manager and/or to
7745 *** bug-libtool@gnu.org
7755 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7760 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7761 if test -n "$MAGIC_CMD"; then
7762 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7763 $as_echo "$MAGIC_CMD" >&6; }
7765 { $as_echo "$as_me:$LINENO: result: no" >&5
7766 $as_echo "no" >&6; }
7779 # Use C for the default configuration in the libtool script
7783 ac_cpp
='$CPP $CPPFLAGS'
7784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7789 # Source file extension for C test sources.
7792 # Object file extension for compiled C test sources.
7796 # Code to be used in simple compile tests
7797 lt_simple_compile_test_code
="int some_variable = 0;"
7799 # Code to be used in simple link tests
7800 lt_simple_link_test_code
='int main(){return(0);}'
7808 # If no C compiler was specified, use CC.
7811 # If no C compiler flags were specified, use CFLAGS.
7812 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7814 # Allow CC to be a program name with arguments.
7817 # Save the default compiler, since it gets overwritten when the other
7818 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7819 compiler_DEFAULT
=$CC
7821 # save warnings/boilerplate of simple test code
7822 ac_outfile
=conftest.
$ac_objext
7823 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7824 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7825 _lt_compiler_boilerplate
=`cat conftest.err`
7828 ac_outfile
=conftest.
$ac_objext
7829 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7830 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7831 _lt_linker_boilerplate
=`cat conftest.err`
7835 if test -n "$compiler"; then
7837 lt_prog_compiler_no_builtin_flag
=
7839 if test "$GCC" = yes; then
7840 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7842 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7843 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7844 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7845 $as_echo_n "(cached) " >&6
7847 lt_cv_prog_compiler_rtti_exceptions
=no
7848 ac_outfile
=conftest.
$ac_objext
7849 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7850 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7851 # Insert the option either (1) after the last *FLAGS variable, or
7852 # (2) before a word containing "conftest.", or (3) at the end.
7853 # Note that $ac_compile itself does not contain backslashes and begins
7854 # with a dollar sign (not a hyphen), so the echo should work correctly.
7855 # The option is referenced via a variable to avoid confusing sed.
7856 lt_compile
=`echo "$ac_compile" | $SED \
7857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7859 -e 's:$: $lt_compiler_flag:'`
7860 (eval echo "\"\$as_me:7860: $lt_compile\"" >&5)
7861 (eval "$lt_compile" 2>conftest.err
)
7863 cat conftest.err
>&5
7864 echo "$as_me:7864: \$? = $ac_status" >&5
7865 if (exit $ac_status) && test -s "$ac_outfile"; then
7866 # The compiler can only warn and ignore the option if not recognized
7867 # So say no if there are warnings other than the usual output.
7868 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7869 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7870 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7871 lt_cv_prog_compiler_rtti_exceptions
=yes
7877 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7878 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7880 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7881 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7893 lt_prog_compiler_wl
=
7894 lt_prog_compiler_pic
=
7895 lt_prog_compiler_static
=
7897 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7900 if test "$GCC" = yes; then
7901 lt_prog_compiler_wl
='-Wl,'
7902 lt_prog_compiler_static
='-static'
7906 # All AIX code is PIC.
7907 if test "$host_cpu" = ia64
; then
7908 # AIX 5 now supports IA64 processor
7909 lt_prog_compiler_static
='-Bstatic'
7916 # see comment about AmigaOS4 .so support
7917 lt_prog_compiler_pic
='-fPIC'
7920 # FIXME: we need at least 68020 code to build shared libraries, but
7921 # adding the `-m68020' flag to GCC prevents building anything better,
7923 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7928 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7929 # PIC is the default for these OSes.
7932 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7933 # This hack is so that the source file can tell whether it is being
7934 # built for inclusion in a dll (and should export symbols for example).
7935 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7936 # (--disable-auto-import) libraries
7937 lt_prog_compiler_pic
='-DDLL_EXPORT'
7940 darwin
* | rhapsody
*)
7941 # PIC is the default on this platform
7942 # Common symbols not allowed in MH_DYLIB files
7943 lt_prog_compiler_pic
='-fno-common'
7947 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7948 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7949 # sets the default TLS model and affects inlining.
7955 lt_prog_compiler_pic
='-fPIC'
7961 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7962 # Instead, we relocate shared libraries at runtime.
7966 # Just because we use GCC doesn't mean we suddenly get shared libraries
7967 # on systems that don't support them.
7968 lt_prog_compiler_can_build_shared
=no
7973 # QNX uses GNU C++, but need to define -shared option too, otherwise
7975 lt_prog_compiler_pic
='-fPIC -shared'
7979 if test -d /usr
/nec
; then
7980 lt_prog_compiler_pic
=-Kconform_pic
7985 lt_prog_compiler_pic
='-fPIC'
7989 # PORTME Check for flag to pass linker flags through the system compiler.
7992 lt_prog_compiler_wl
='-Wl,'
7993 if test "$host_cpu" = ia64
; then
7994 # AIX 5 now supports IA64 processor
7995 lt_prog_compiler_static
='-Bstatic'
7997 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8001 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8002 # This hack is so that the source file can tell whether it is being
8003 # built for inclusion in a dll (and should export symbols for example).
8004 lt_prog_compiler_pic
='-DDLL_EXPORT'
8007 hpux9
* | hpux10
* | hpux11
*)
8008 lt_prog_compiler_wl
='-Wl,'
8009 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8016 lt_prog_compiler_pic
='+Z'
8019 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8020 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8023 irix5
* | irix6
* | nonstopux
*)
8024 lt_prog_compiler_wl
='-Wl,'
8025 # PIC (with -KPIC) is the default.
8026 lt_prog_compiler_static
='-non_shared'
8029 linux
* | k
*bsd
*-gnu)
8030 case $cc_basename in
8031 # old Intel for x86_64 which still supported -KPIC.
8033 lt_prog_compiler_wl
='-Wl,'
8034 lt_prog_compiler_pic
='-KPIC'
8035 lt_prog_compiler_static
='-static'
8037 # icc used to be incompatible with GCC.
8038 # ICC 10 doesn't accept -KPIC any more.
8040 lt_prog_compiler_wl
='-Wl,'
8041 lt_prog_compiler_pic
='-fPIC'
8042 lt_prog_compiler_static
='-static'
8044 # Lahey Fortran 8.1.
8046 lt_prog_compiler_wl
='-Wl,'
8047 lt_prog_compiler_pic
='--shared'
8048 lt_prog_compiler_static
='--static'
8050 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8051 # Portland Group compilers (*not* the Pentium gcc compiler,
8052 # which looks to be a dead project)
8053 lt_prog_compiler_wl
='-Wl,'
8054 lt_prog_compiler_pic
='-fpic'
8055 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_wl
='-Wl,'
8059 # All Alpha code is PIC.
8060 lt_prog_compiler_static
='-non_shared'
8063 # IBM XL C 8.0/Fortran 10.1 on PPC
8064 lt_prog_compiler_wl
='-Wl,'
8065 lt_prog_compiler_pic
='-qpic'
8066 lt_prog_compiler_static
='-qstaticlink'
8069 case `$CC -V 2>&1 | sed 5q` in
8072 lt_prog_compiler_pic
='-KPIC'
8073 lt_prog_compiler_static
='-Bstatic'
8074 lt_prog_compiler_wl
='-Wl,'
8077 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8078 lt_prog_compiler_pic
='-KPIC'
8079 lt_prog_compiler_static
='-Bstatic'
8080 lt_prog_compiler_wl
=''
8088 lt_prog_compiler_pic
='-KPIC'
8089 lt_prog_compiler_static
='-Bstatic'
8093 # QNX uses GNU C++, but need to define -shared option too, otherwise
8095 lt_prog_compiler_pic
='-fPIC -shared'
8098 osf3
* | osf4
* | osf5
*)
8099 lt_prog_compiler_wl
='-Wl,'
8100 # All OSF/1 code is PIC.
8101 lt_prog_compiler_static
='-non_shared'
8105 lt_prog_compiler_static
='-non_shared'
8109 lt_prog_compiler_pic
='-KPIC'
8110 lt_prog_compiler_static
='-Bstatic'
8111 case $cc_basename in
8113 lt_prog_compiler_wl
='-Qoption ld ';;
8115 lt_prog_compiler_wl
='-Wl,';;
8120 lt_prog_compiler_wl
='-Qoption ld '
8121 lt_prog_compiler_pic
='-PIC'
8122 lt_prog_compiler_static
='-Bstatic'
8125 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8126 lt_prog_compiler_wl
='-Wl,'
8127 lt_prog_compiler_pic
='-KPIC'
8128 lt_prog_compiler_static
='-Bstatic'
8132 if test -d /usr
/nec
;then
8133 lt_prog_compiler_pic
='-Kconform_pic'
8134 lt_prog_compiler_static
='-Bstatic'
8138 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8139 lt_prog_compiler_wl
='-Wl,'
8140 lt_prog_compiler_pic
='-KPIC'
8141 lt_prog_compiler_static
='-Bstatic'
8145 lt_prog_compiler_wl
='-Wl,'
8146 lt_prog_compiler_can_build_shared
=no
8150 lt_prog_compiler_pic
='-pic'
8151 lt_prog_compiler_static
='-Bstatic'
8155 lt_prog_compiler_can_build_shared
=no
8161 # For platforms which do not support PIC, -DPIC is meaningless:
8163 lt_prog_compiler_pic
=
8166 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8169 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8170 $as_echo "$lt_prog_compiler_pic" >&6; }
8178 # Check to make sure the PIC flag actually works.
8180 if test -n "$lt_prog_compiler_pic"; then
8181 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8182 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8183 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8184 $as_echo_n "(cached) " >&6
8186 lt_cv_prog_compiler_pic_works
=no
8187 ac_outfile
=conftest.
$ac_objext
8188 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8189 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8190 # Insert the option either (1) after the last *FLAGS variable, or
8191 # (2) before a word containing "conftest.", or (3) at the end.
8192 # Note that $ac_compile itself does not contain backslashes and begins
8193 # with a dollar sign (not a hyphen), so the echo should work correctly.
8194 # The option is referenced via a variable to avoid confusing sed.
8195 lt_compile
=`echo "$ac_compile" | $SED \
8196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8198 -e 's:$: $lt_compiler_flag:'`
8199 (eval echo "\"\$as_me:8199: $lt_compile\"" >&5)
8200 (eval "$lt_compile" 2>conftest.err
)
8202 cat conftest.err
>&5
8203 echo "$as_me:8203: \$? = $ac_status" >&5
8204 if (exit $ac_status) && test -s "$ac_outfile"; then
8205 # The compiler can only warn and ignore the option if not recognized
8206 # So say no if there are warnings other than the usual output.
8207 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8208 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8209 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8210 lt_cv_prog_compiler_pic_works
=yes
8216 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8217 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8219 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8220 case $lt_prog_compiler_pic in
8222 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8225 lt_prog_compiler_pic
=
8226 lt_prog_compiler_can_build_shared
=no
8237 # Check to make sure the static flag actually works.
8239 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8240 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8241 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8242 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8243 $as_echo_n "(cached) " >&6
8245 lt_cv_prog_compiler_static_works
=no
8246 save_LDFLAGS
="$LDFLAGS"
8247 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8248 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8249 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8250 # The linker can only warn and ignore the option if not recognized
8251 # So say no if there are warnings
8252 if test -s conftest.err
; then
8253 # Append any errors to the config.log.
8254 cat conftest.err
1>&5
8255 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8256 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8257 if diff conftest.exp conftest.er2
>/dev
/null
; then
8258 lt_cv_prog_compiler_static_works
=yes
8261 lt_cv_prog_compiler_static_works
=yes
8265 LDFLAGS
="$save_LDFLAGS"
8268 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8269 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8271 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8274 lt_prog_compiler_static
=
8283 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8284 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8285 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8286 $as_echo_n "(cached) " >&6
8288 lt_cv_prog_compiler_c_o
=no
8289 $RM -r conftest
2>/dev
/null
8293 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8295 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8296 # Insert the option either (1) after the last *FLAGS variable, or
8297 # (2) before a word containing "conftest.", or (3) at the end.
8298 # Note that $ac_compile itself does not contain backslashes and begins
8299 # with a dollar sign (not a hyphen), so the echo should work correctly.
8300 lt_compile
=`echo "$ac_compile" | $SED \
8301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8303 -e 's:$: $lt_compiler_flag:'`
8304 (eval echo "\"\$as_me:8304: $lt_compile\"" >&5)
8305 (eval "$lt_compile" 2>out
/conftest.err
)
8307 cat out
/conftest.err
>&5
8308 echo "$as_me:8308: \$? = $ac_status" >&5
8309 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8311 # The compiler can only warn and ignore the option if not recognized
8312 # So say no if there are warnings
8313 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8314 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8315 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8316 lt_cv_prog_compiler_c_o
=yes
8321 # SGI C++ compiler will create directory out/ii_files/ for
8322 # template instantiation
8323 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8324 $RM out
/* && rmdir out
8330 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8331 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8338 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8340 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8341 $as_echo_n "(cached) " >&6
8343 lt_cv_prog_compiler_c_o
=no
8344 $RM -r conftest
2>/dev
/null
8348 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8350 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8351 # Insert the option either (1) after the last *FLAGS variable, or
8352 # (2) before a word containing "conftest.", or (3) at the end.
8353 # Note that $ac_compile itself does not contain backslashes and begins
8354 # with a dollar sign (not a hyphen), so the echo should work correctly.
8355 lt_compile
=`echo "$ac_compile" | $SED \
8356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8358 -e 's:$: $lt_compiler_flag:'`
8359 (eval echo "\"\$as_me:8359: $lt_compile\"" >&5)
8360 (eval "$lt_compile" 2>out
/conftest.err
)
8362 cat out
/conftest.err
>&5
8363 echo "$as_me:8363: \$? = $ac_status" >&5
8364 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8366 # The compiler can only warn and ignore the option if not recognized
8367 # So say no if there are warnings
8368 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8369 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8370 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8371 lt_cv_prog_compiler_c_o
=yes
8376 # SGI C++ compiler will create directory out/ii_files/ for
8377 # template instantiation
8378 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8379 $RM out
/* && rmdir out
8385 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8386 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8391 hard_links
="nottested"
8392 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8393 # do not overwrite the value of need_locks provided by the user
8394 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8395 $as_echo_n "checking if we can lock with hard links... " >&6; }
8398 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8400 ln conftest.a conftest.b
2>&5 || hard_links
=no
8401 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8402 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8403 $as_echo "$hard_links" >&6; }
8404 if test "$hard_links" = no
; then
8405 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8406 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8418 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8419 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8422 allow_undefined_flag
=
8423 always_export_symbols
=no
8425 archive_expsym_cmds
=
8426 compiler_needs_object
=no
8427 enable_shared_with_static_runtimes
=no
8428 export_dynamic_flag_spec
=
8429 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8430 hardcode_automatic
=no
8432 hardcode_direct_absolute
=no
8433 hardcode_libdir_flag_spec
=
8434 hardcode_libdir_flag_spec_ld
=
8435 hardcode_libdir_separator
=
8437 hardcode_shlibpath_var
=unsupported
8439 link_all_deplibs
=unknown
8442 old_archive_from_new_cmds
=
8443 old_archive_from_expsyms_cmds
=
8444 thread_safe_flag_spec
=
8445 whole_archive_flag_spec
=
8446 # include_expsyms should be a list of space-separated symbols to be *always*
8447 # included in the symbol list
8449 # exclude_expsyms can be an extended regexp of symbols to exclude
8450 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8451 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8452 # as well as any symbol that contains `d'.
8453 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8454 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8455 # platforms (ab)use it in PIC code, but their linkers get confused if
8456 # the symbol is explicitly referenced. Since portable code cannot
8457 # rely on this symbol name, it's probably fine to never include it in
8458 # preloaded symbol tables.
8459 # Exclude shared library initialization/finalization symbols.
8460 extract_expsyms_cmds
=
8463 cygwin
* | mingw
* | pw32
* | cegcc
*)
8464 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8465 # When not using gcc, we currently assume that we are using
8466 # Microsoft Visual C++.
8467 if test "$GCC" != yes; then
8472 # we just hope/assume this is gcc and not c89 (= MSVC++)
8481 if test "$with_gnu_ld" = yes; then
8482 # If archive_cmds runs LD, not CC, wlarc should be empty
8485 # Set some defaults for GNU ld with shared library support. These
8486 # are reset later if shared libraries are not supported. Putting them
8487 # here allows them to be overridden if necessary.
8488 runpath_var
=LD_RUN_PATH
8489 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8490 export_dynamic_flag_spec
='${wl}--export-dynamic'
8491 # ancient GNU ld didn't support --whole-archive et. al.
8492 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8493 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8495 whole_archive_flag_spec
=
8497 supports_anon_versioning
=no
8498 case `$LD -v 2>&1` in
8499 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8500 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8501 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8502 *\
2.11.
*) ;; # other 2.11 versions
8503 *) supports_anon_versioning
=yes ;;
8506 # See if GNU ld supports shared libraries.
8509 # On AIX/PPC, the GNU linker is very broken
8510 if test "$host_cpu" != ia64
; then
8514 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8515 *** to be unable to reliably create shared libraries on AIX.
8516 *** Therefore, libtool is disabling shared libraries support. If you
8517 *** really care for shared libraries, you may want to modify your PATH
8518 *** so that a non-GNU linker is found, and then restart.
8527 # see comment about AmigaOS4 .so support
8528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8529 archive_expsym_cmds
=''
8532 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)'
8533 hardcode_libdir_flag_spec
='-L$libdir'
8534 hardcode_minus_L
=yes
8540 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8541 allow_undefined_flag
=unsupported
8542 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8543 # support --undefined. This deserves some investigation. FIXME
8544 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8550 cygwin
* | mingw
* | pw32
* | cegcc
*)
8551 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8552 # as there is no search path for DLLs.
8553 hardcode_libdir_flag_spec
='-L$libdir'
8554 allow_undefined_flag
=unsupported
8555 always_export_symbols
=no
8556 enable_shared_with_static_runtimes
=yes
8557 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8559 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8561 # If the export-symbols file already is a .def file (1st line
8562 # is EXPORTS), use it as is; otherwise, prepend...
8563 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8564 cp $export_symbols $output_objdir/$soname.def;
8566 echo EXPORTS > $output_objdir/$soname.def;
8567 cat $export_symbols >> $output_objdir/$soname.def;
8569 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8577 hardcode_shlibpath_var
=no
8578 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8579 export_dynamic_flag_spec
='${wl}-E'
8580 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8581 # Instead, shared libraries are loaded at an image base (0x10000000 by
8582 # default) and relocated if they conflict, which is a slow very memory
8583 # consuming and fragmenting process. To avoid this, we pick a random,
8584 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8585 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8586 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8587 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'
8590 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8592 if test "$host_os" = linux-dietlibc
; then
8593 case $cc_basename in
8594 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8597 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8598 && test "$tmp_diet" = no
8601 tmp_sharedflag
='-shared'
8602 case $cc_basename,$host_cpu in
8603 pgcc
*) # Portland Group C compiler
8604 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'
8605 tmp_addflag
=' $pic_flag'
8607 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8608 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'
8609 tmp_addflag
=' $pic_flag -Mnomain' ;;
8610 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8611 tmp_addflag
=' -i_dynamic' ;;
8612 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8613 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8614 ifc
* | ifort
*) # Intel Fortran compiler
8615 tmp_addflag
=' -nofor_main' ;;
8616 lf95
*) # Lahey Fortran 8.1
8617 whole_archive_flag_spec
=
8618 tmp_sharedflag
='--shared' ;;
8619 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8620 tmp_sharedflag
='-qmkshrobj'
8623 case `$CC -V 2>&1 | sed 5q` in
8624 *Sun\ C
*) # Sun C 5.9
8625 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'
8626 compiler_needs_object
=yes
8627 tmp_sharedflag
='-G' ;;
8628 *Sun\ F
*) # Sun Fortran 8.3
8629 tmp_sharedflag
='-G' ;;
8631 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8633 if test "x$supports_anon_versioning" = xyes
; then
8634 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8635 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8636 echo "local: *; };" >> $output_objdir/$libname.ver~
8637 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8640 case $cc_basename in
8642 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8643 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8644 hardcode_libdir_flag_spec
=
8645 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8646 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8647 if test "x$supports_anon_versioning" = xyes
; then
8648 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8650 echo "local: *; };" >> $output_objdir/$libname.ver~
8651 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8661 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8662 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8665 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8666 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8671 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8675 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8676 *** create shared libraries on Solaris systems. Therefore, libtool
8677 *** is disabling shared libraries support. We urge you to upgrade GNU
8678 *** binutils to release 2.9.1 or newer. Another option is to modify
8679 *** your PATH or compiler configuration so that the native linker is
8680 *** used, and then restart.
8683 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8684 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8691 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8692 case `$LD -v 2>&1` in
8693 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8697 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8698 *** reliably create shared libraries on SCO systems. Therefore, libtool
8699 *** is disabling shared libraries support. We urge you to upgrade GNU
8700 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8701 *** your PATH or compiler configuration so that the native linker is
8702 *** used, and then restart.
8707 # For security reasons, it is highly recommended that you always
8708 # use absolute paths for naming shared libraries, and exclude the
8709 # DT_RUNPATH tag from executables and libraries. But doing so
8710 # requires that you compile everything twice, which is a pain.
8711 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8712 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8713 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8714 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8723 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var
=no
8730 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8731 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8739 if test "$ld_shlibs" = no
; then
8741 hardcode_libdir_flag_spec
=
8742 export_dynamic_flag_spec
=
8743 whole_archive_flag_spec
=
8746 # PORTME fill in a description of your system's linker (not GNU ld)
8749 allow_undefined_flag
=unsupported
8750 always_export_symbols
=yes
8751 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'
8752 # Note: this linker hardcodes the directories in LIBPATH if there
8753 # are no directories specified by -L.
8754 hardcode_minus_L
=yes
8755 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8756 # Neither direct hardcoding nor static linking is supported with a
8758 hardcode_direct
=unsupported
8763 if test "$host_cpu" = ia64
; then
8764 # On IA64, the linker does run time linking by default, so we don't
8765 # have to do anything special.
8766 aix_use_runtimelinking
=no
8767 exp_sym_flag
='-Bexport'
8770 # If we're using GNU nm, then we don't want the "-C" option.
8771 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8772 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8773 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'
8775 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'
8777 aix_use_runtimelinking
=no
8779 # Test if we are trying to use run time linking or normal
8780 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8781 # need to do runtime linking.
8782 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8783 for ld_flag
in $LDFLAGS; do
8784 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8785 aix_use_runtimelinking
=yes
8792 exp_sym_flag
='-bexport'
8793 no_entry_flag
='-bnoentry'
8796 # When large executables or shared objects are built, AIX ld can
8797 # have problems creating the table of contents. If linking a library
8798 # or program results in "error TOC overflow" add -mminimal-toc to
8799 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8800 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8804 hardcode_direct_absolute
=yes
8805 hardcode_libdir_separator
=':'
8806 link_all_deplibs
=yes
8807 file_list_spec
='${wl}-f,'
8809 if test "$GCC" = yes; then
8810 case $host_os in aix4.
[012]|aix4.
[012].
*)
8811 # We only want to do this on AIX 4.2 and lower, the check
8812 # below for broken collect2 doesn't work under 4.3+
8813 collect2name
=`${CC} -print-prog-name=collect2`
8814 if test -f "$collect2name" &&
8815 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8817 # We have reworked collect2
8820 # We have old collect2
8821 hardcode_direct
=unsupported
8822 # It fails to find uninstalled libraries when the uninstalled
8823 # path is not listed in the libpath. Setting hardcode_minus_L
8824 # to unsupported forces relinking
8825 hardcode_minus_L
=yes
8826 hardcode_libdir_flag_spec
='-L$libdir'
8827 hardcode_libdir_separator
=
8831 shared_flag
='-shared'
8832 if test "$aix_use_runtimelinking" = yes; then
8833 shared_flag
="$shared_flag "'${wl}-G'
8837 if test "$host_cpu" = ia64
; then
8838 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8839 # chokes on -Wl,-G. The following line is correct:
8842 if test "$aix_use_runtimelinking" = yes; then
8843 shared_flag
='${wl}-G'
8845 shared_flag
='${wl}-bM:SRE'
8850 export_dynamic_flag_spec
='${wl}-bexpall'
8851 # It seems that -bexpall does not export symbols beginning with
8852 # underscore (_), so it is better to generate a list of symbols to export.
8853 always_export_symbols
=yes
8854 if test "$aix_use_runtimelinking" = yes; then
8855 # Warning - without using the other runtime loading flags (-brtl),
8856 # -berok will link without error, but may produce a broken library.
8857 allow_undefined_flag
='-berok'
8858 # Determine the default libpath from the value encoded in an
8860 cat >conftest.
$ac_ext <<_ACEOF
8863 cat confdefs.h
>>conftest.
$ac_ext
8864 cat >>conftest.
$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8875 rm -f conftest.
$ac_objext conftest
$ac_exeext
8876 if { (ac_try
="$ac_link"
8878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8882 $as_echo "$ac_try_echo") >&5
8883 (eval "$ac_link") 2>conftest.er1
8885 grep -v '^ *+' conftest.er1 >conftest.err
8887 cat conftest.err >&5
8888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } && {
8890 test -z "$ac_c_werror_flag" ||
8891 test ! -s conftest.err
8892 } && test -s conftest$ac_exeext && {
8893 test "$cross_compiling" = yes ||
8894 $as_test_x conftest$ac_exeext
8897 lt_aix_libpath_sed='
8898 /Import File Strings/,/^$/ {
8904 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8905 # Check for a 64-bit object if we didn't find anything.
8906 if test -z "$aix_libpath"; then
8907 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8910 $as_echo "$as_me: failed program was:" >&5
8911 sed 's/^/| /' conftest.$ac_ext >&5
8916 rm -rf conftest.dSYM
8917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8918 conftest$ac_exeext conftest.$ac_ext
8919 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8921 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8922 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"
8924 if test "$host_cpu" = ia64; then
8925 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8926 allow_undefined_flag="-z nodefs"
8927 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"
8929 # Determine the default libpath from the value encoded in an
8931 cat >conftest.$ac_ext <<_ACEOF
8934 cat confdefs.h >>conftest.$ac_ext
8935 cat >>conftest.$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8946 rm -f conftest.$ac_objext conftest$ac_exeext
8947 if { (ac_try="$ac_link"
8949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8950 *) ac_try_echo
=$ac_try;;
8952 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8953 $as_echo "$ac_try_echo") >&5
8954 (eval "$ac_link") 2>conftest.er1
8956 grep -v '^ *+' conftest.er1
>conftest.err
8958 cat conftest.err
>&5
8959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } && {
8961 test -z "$ac_c_werror_flag" ||
8962 test ! -s conftest.err
8963 } && test -s conftest
$ac_exeext && {
8964 test "$cross_compiling" = yes ||
8965 $as_test_x conftest
$ac_exeext
8968 lt_aix_libpath_sed
='
8969 /Import File Strings/,/^$/ {
8975 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8976 # Check for a 64-bit object if we didn't find anything.
8977 if test -z "$aix_libpath"; then
8978 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981 $as_echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.
$ac_ext >&5
8987 rm -rf conftest.dSYM
8988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8989 conftest
$ac_exeext conftest.
$ac_ext
8990 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8992 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8993 # Warning - without using the other run time loading flags,
8994 # -berok will link without error, but may produce a broken library.
8995 no_undefined_flag
=' ${wl}-bernotok'
8996 allow_undefined_flag
=' ${wl}-berok'
8997 # Exported symbols can be pulled into shared objects from archives
8998 whole_archive_flag_spec
='$convenience'
8999 archive_cmds_need_lc
=yes
9000 # This is similar to how AIX traditionally builds its shared libraries.
9001 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'
9009 # see comment about AmigaOS4 .so support
9010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 archive_expsym_cmds
=''
9014 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)'
9015 hardcode_libdir_flag_spec
='-L$libdir'
9016 hardcode_minus_L
=yes
9022 export_dynamic_flag_spec
=-rdynamic
9025 cygwin
* | mingw
* | pw32
* | cegcc
*)
9026 # When not using gcc, we currently assume that we are using
9027 # Microsoft Visual C++.
9028 # hardcode_libdir_flag_spec is actually meaningless, as there is
9029 # no search path for DLLs.
9030 hardcode_libdir_flag_spec
=' '
9031 allow_undefined_flag
=unsupported
9032 # Tell ltmain to make .lib files, not .a files.
9034 # Tell ltmain to make .dll files, not .so files.
9036 # FIXME: Setting linknames here is a bad hack.
9037 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9038 # The linker will automatically build a .lib file if we build a DLL.
9039 old_archive_from_new_cmds
='true'
9040 # FIXME: Should let the user specify the lib program.
9041 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9042 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9043 enable_shared_with_static_runtimes
=yes
9046 darwin
* | rhapsody
*)
9049 archive_cmds_need_lc
=no
9051 hardcode_automatic
=yes
9052 hardcode_shlibpath_var
=unsupported
9053 whole_archive_flag_spec
=''
9054 link_all_deplibs
=yes
9055 allow_undefined_flag
="$_lt_dar_allow_undefined"
9056 case $cc_basename in
9057 ifort
*) _lt_dar_can_shared
=yes ;;
9058 *) _lt_dar_can_shared
=$GCC ;;
9060 if test "$_lt_dar_can_shared" = "yes"; then
9061 output_verbose_link_cmd
=echo
9062 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9063 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9064 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}"
9065 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}"
9074 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9075 hardcode_libdir_flag_spec
='-L$libdir'
9076 hardcode_shlibpath_var
=no
9083 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9084 # support. Future versions do this automatically, but an explicit c++rt0.o
9085 # does not break anything, and helps significantly (at the cost of a little
9088 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9089 hardcode_libdir_flag_spec
='-R$libdir'
9091 hardcode_shlibpath_var
=no
9094 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9096 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9098 hardcode_minus_L
=yes
9099 hardcode_shlibpath_var
=no
9102 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9103 freebsd
* | dragonfly
*)
9104 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9105 hardcode_libdir_flag_spec
='-R$libdir'
9107 hardcode_shlibpath_var
=no
9111 if test "$GCC" = yes; then
9112 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'
9114 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'
9116 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9117 hardcode_libdir_separator
=:
9120 # hardcode_minus_L: Not really in the search PATH,
9121 # but as the default location of the library.
9122 hardcode_minus_L
=yes
9123 export_dynamic_flag_spec
='${wl}-E'
9127 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9128 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9132 if test "$with_gnu_ld" = no
; then
9133 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9134 hardcode_libdir_flag_spec_ld
='+b $libdir'
9135 hardcode_libdir_separator
=:
9137 hardcode_direct_absolute
=yes
9138 export_dynamic_flag_spec
='${wl}-E'
9139 # hardcode_minus_L: Not really in the search PATH,
9140 # but as the default location of the library.
9141 hardcode_minus_L
=yes
9146 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9149 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9155 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9161 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9164 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9167 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9171 if test "$with_gnu_ld" = no
; then
9172 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9173 hardcode_libdir_separator
=:
9178 hardcode_shlibpath_var
=no
9182 hardcode_direct_absolute
=yes
9183 export_dynamic_flag_spec
='${wl}-E'
9185 # hardcode_minus_L: Not really in the search PATH,
9186 # but as the default location of the library.
9187 hardcode_minus_L
=yes
9193 irix5
* | irix6
* | nonstopux
*)
9194 if test "$GCC" = yes; then
9195 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'
9196 # Try to use the -exported_symbol ld option, if it does not
9197 # work, assume that -exports_file does not work either and
9198 # implicitly export all symbols.
9199 save_LDFLAGS
="$LDFLAGS"
9200 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9201 cat >conftest.
$ac_ext <<_ACEOF
9204 rm -f conftest.
$ac_objext conftest
$ac_exeext
9205 if { (ac_try
="$ac_link"
9207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9208 *) ac_try_echo=$ac_try;;
9210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9211 $as_echo "$ac_try_echo") >&5
9212 (eval "$ac_link") 2>conftest.er1
9214 grep -v '^ *+' conftest.er1 >conftest.err
9216 cat conftest.err >&5
9217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } && {
9219 test -z "$ac_c_werror_flag" ||
9220 test ! -s conftest.err
9221 } && test -s conftest$ac_exeext && {
9222 test "$cross_compiling" = yes ||
9223 $as_test_x conftest$ac_exeext
9225 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'
9228 $as_echo "$as_me: failed program was:" >&5
9229 sed 's/^/| /' conftest.$ac_ext >&5
9234 rm -rf conftest.dSYM
9235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LDFLAGS="$save_LDFLAGS"
9239 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'
9240 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'
9242 archive_cmds_need_lc='no'
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 hardcode_libdir_separator=:
9246 link_all_deplibs=yes
9250 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9251 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9253 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9255 hardcode_libdir_flag_spec='-R$libdir'
9257 hardcode_shlibpath_var=no
9261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9263 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9264 hardcode_libdir_separator=:
9265 hardcode_shlibpath_var=no
9272 if test -f /usr/libexec/ld.so; then
9274 hardcode_shlibpath_var=no
9275 hardcode_direct_absolute=yes
9276 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9277 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9279 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9280 export_dynamic_flag_spec='${wl}-E'
9283 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9284 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_libdir_flag_spec='-R$libdir'
9288 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9289 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9299 hardcode_libdir_flag_spec='-L$libdir'
9300 hardcode_minus_L=yes
9301 allow_undefined_flag=unsupported
9302 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9303 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9307 if test "$GCC" = yes; then
9308 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9309 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9311 allow_undefined_flag=' -expect_unresolved \*'
9312 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9314 archive_cmds_need_lc='no'
9315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9316 hardcode_libdir_separator=:
9319 osf4* | osf5*) # as osf3* with the addition of -msym flag
9320 if test "$GCC" = yes; then
9321 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9322 archive_cmds='$CC -shared${allow_undefined_flag} $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'
9323 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9325 allow_undefined_flag=' -expect_unresolved \*'
9326 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9327 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9328 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9330 # Both c and cxx compiler support -rpath directly
9331 hardcode_libdir_flag_spec='-rpath $libdir'
9333 archive_cmds_need_lc='no'
9334 hardcode_libdir_separator=:
9338 no_undefined_flag=' -z defs'
9339 if test "$GCC" = yes; then
9341 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9343 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9345 case `$CC -V 2>&1` in
9348 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9350 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9354 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9356 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9360 hardcode_libdir_flag_spec='-R$libdir'
9361 hardcode_shlibpath_var=no
9363 solaris2.[0-5] | solaris2.[0-5].*) ;;
9365 # The compiler driver will combine and reorder linker options,
9366 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9367 # but is careful enough not to reorder.
9368 # Supported since Solaris 2.6 (maybe 2.5.1?)
9369 if test "$GCC" = yes; then
9370 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9372 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9376 link_all_deplibs
=yes
9380 if test "x$host_vendor" = xsequent
; then
9381 # Use $CC to link under sequent, because it throws in some extra .o
9382 # files that make .init and .fini sections work.
9383 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_libdir_flag_spec
='-L$libdir'
9389 hardcode_minus_L
=yes
9390 hardcode_shlibpath_var
=no
9394 case $host_vendor in
9396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9397 hardcode_direct
=yes # is this really true???
9400 ## LD is ld it makes a PLAMLIB
9401 ## CC just makes a GrossModule.
9402 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9403 reload_cmds
='$CC -r -o $output$reload_objs'
9407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9408 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9411 runpath_var
='LD_RUN_PATH'
9412 hardcode_shlibpath_var
=no
9416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9417 hardcode_shlibpath_var
=no
9418 export_dynamic_flag_spec
='-Bexport'
9422 if test -d /usr
/nec
; then
9423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424 hardcode_shlibpath_var
=no
9425 runpath_var
=LD_RUN_PATH
9426 hardcode_runpath_var
=yes
9431 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9432 no_undefined_flag
='${wl}-z,text'
9433 archive_cmds_need_lc
=no
9434 hardcode_shlibpath_var
=no
9435 runpath_var
='LD_RUN_PATH'
9437 if test "$GCC" = yes; then
9438 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9446 sysv5
* | sco3.2v5
* | sco5v6
*)
9447 # Note: We can NOT use -z defs as we might desire, because we do not
9448 # link with -lc, and that would cause any symbols used from libc to
9449 # always be unresolved, which means just about no library would
9450 # ever link correctly. If we're not using GNU ld we use -z text
9451 # though, which does catch some bad symbols but isn't as heavy-handed
9453 no_undefined_flag
='${wl}-z,text'
9454 allow_undefined_flag
='${wl}-z,nodefs'
9455 archive_cmds_need_lc
=no
9456 hardcode_shlibpath_var
=no
9457 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9458 hardcode_libdir_separator
=':'
9459 link_all_deplibs
=yes
9460 export_dynamic_flag_spec
='${wl}-Bexport'
9461 runpath_var
='LD_RUN_PATH'
9463 if test "$GCC" = yes; then
9464 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9473 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9474 hardcode_libdir_flag_spec
='-L$libdir'
9475 hardcode_shlibpath_var
=no
9483 if test x
$host_vendor = xsni
; then
9485 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9486 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9492 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9493 $as_echo "$ld_shlibs" >&6; }
9494 test "$ld_shlibs" = no
&& can_build_shared
=no
9496 with_gnu_ld
=$with_gnu_ld
9513 # Do we need to explicitly link libc?
9515 case "x$archive_cmds_need_lc" in
9517 # Assume -lc should be added
9518 archive_cmds_need_lc
=yes
9520 if test "$enable_shared" = yes && test "$GCC" = yes; then
9521 case $archive_cmds in
9523 # FIXME: we may have to deal with multi-command sequences.
9526 # Test whether the compiler implicitly links with -lc since on some
9527 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9528 # to ld, don't add -lc before -lgcc.
9529 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9530 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9532 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9535 (eval $ac_compile) 2>&5
9537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } 2>conftest.err
; then
9541 libobjs
=conftest.
$ac_objext
9543 wl
=$lt_prog_compiler_wl
9544 pic_flag
=$lt_prog_compiler_pic
9550 lt_save_allow_undefined_flag
=$allow_undefined_flag
9551 allow_undefined_flag
=
9552 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9553 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }
9558 archive_cmds_need_lc
=no
9560 archive_cmds_need_lc
=yes
9562 allow_undefined_flag
=$lt_save_allow_undefined_flag
9564 cat conftest.err
1>&5
9567 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9568 $as_echo "$archive_cmds_need_lc" >&6; }
9731 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9732 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9734 if test "$GCC" = yes; then
9736 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9737 *) lt_awk_arg
="/^libraries:/" ;;
9739 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9740 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9741 # if the path contains ";" then we assume it to be the separator
9742 # otherwise default to the standard path separator (i.e. ":") - it is
9743 # assumed that no part of a normal pathname contains ";" but that should
9744 # okay in the real world where ";" in dirpaths is itself problematic.
9745 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9747 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9749 # Ok, now we have the path, separated by spaces, we can step through it
9750 # and add multilib dir if necessary.
9751 lt_tmp_lt_search_path_spec
=
9752 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9753 for lt_sys_path
in $lt_search_path_spec; do
9754 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9755 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9757 test -d "$lt_sys_path" && \
9758 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9761 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9762 BEGIN {RS=" "; FS="/|\n";} {
9765 for (lt_i = NF; lt_i > 0; lt_i--) {
9766 if ($lt_i != "" && $lt_i != ".") {
9767 if ($lt_i == "..") {
9770 if (lt_count == 0) {
9771 lt_foo="/" $lt_i lt_foo;
9778 if (lt_foo != "") { lt_freq[lt_foo]++; }
9779 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9781 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9783 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9786 libname_spec
='lib$name'
9794 shlibpath_overrides_runpath
=unknown
9796 dynamic_linker
="$host_os ld.so"
9797 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9798 need_lib_prefix
=unknown
9799 hardcode_into_libs
=no
9801 # when you set need_version to no, make sure it does not cause -set_version
9802 # flags to be left without arguments
9803 need_version
=unknown
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9809 shlibpath_var
=LIBPATH
9811 # AIX 3 has no versioning support, so we append a major version to the name.
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9819 hardcode_into_libs
=yes
9820 if test "$host_cpu" = ia64
; then
9821 # AIX 5 supports IA64
9822 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9823 shlibpath_var
=LD_LIBRARY_PATH
9825 # With GCC up to 2.95.x, collect2 would create an import file
9826 # for dependence libraries. The import file would start with
9827 # the line `#! .'. This would cause the generated library to
9828 # depend on `.', always an invalid library. This was fixed in
9829 # development snapshots of GCC prior to 3.0.
9831 aix4 | aix4.
[01] | aix4.
[01].
*)
9832 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9834 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9841 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9842 # soname into executable. Probably we can add versioning support to
9843 # collect2, so additional links can be useful in future.
9844 if test "$aix_use_runtimelinking" = yes; then
9845 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9846 # instead of lib<name>.a to let people know that these are not
9847 # typical AIX shared libraries.
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850 # We preserve .a as extension for shared libraries through AIX4.2
9851 # and later when we are not doing run time linking.
9852 library_names_spec
='${libname}${release}.a $libname.a'
9853 soname_spec
='${libname}${release}${shared_ext}$major'
9855 shlibpath_var
=LIBPATH
9862 # Since July 2007 AmigaOS4 officially supports .so libraries.
9863 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867 library_names_spec
='$libname.ixlibrary $libname.a'
9868 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9869 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'
9875 library_names_spec
='${libname}${shared_ext}'
9876 dynamic_linker
="$host_os ld.so"
9877 shlibpath_var
=LIBRARY_PATH
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 soname_spec
='${libname}${release}${shared_ext}$major'
9885 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9886 shlibpath_var
=LD_LIBRARY_PATH
9887 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9888 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9889 # the default ld.so.conf also contains /usr/contrib/lib and
9890 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9891 # libtool to hard-code these into programs
9894 cygwin
* | mingw
* | pw32
* | cegcc
*)
9895 version_type
=windows
9900 case $GCC,$host_os in
9901 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9902 library_names_spec
='$libname.dll.a'
9903 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9904 postinstall_cmds
='base_file=`basename \${file}`~
9905 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9906 dldir=$destdir/`dirname \$dlpath`~
9907 test -d \$dldir || mkdir -p \$dldir~
9908 $install_prog $dir/$dlname \$dldir/$dlname~
9909 chmod a+x \$dldir/$dlname~
9910 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9911 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9913 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9914 dlpath=$dir/\$dldll~
9916 shlibpath_overrides_runpath
=yes
9920 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9921 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9922 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9925 # MinGW DLLs use traditional 'lib' prefix
9926 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9927 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9928 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9929 # It is most probably a Windows format PATH printed by
9930 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9931 # path with ; separators, and with drive letters. We can handle the
9932 # drive letters (cygwin fileutils understands them), so leave them,
9933 # especially as we might pass files found there to a mingw objdump,
9934 # which wouldn't understand a cygwinified path. Ahh.
9935 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9937 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9941 # pw32 DLLs use 'pw' prefix rather than 'lib'
9942 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9948 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9951 dynamic_linker
='Win32 ld.exe'
9952 # FIXME: first we should search . and the directory the executable is in
9956 darwin
* | rhapsody
*)
9957 dynamic_linker
="$host_os dyld"
9961 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9962 soname_spec
='${libname}${release}${major}$shared_ext'
9963 shlibpath_overrides_runpath
=yes
9964 shlibpath_var
=DYLD_LIBRARY_PATH
9965 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9967 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9968 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9976 soname_spec
='${libname}${release}${shared_ext}$major'
9977 shlibpath_var
=LD_LIBRARY_PATH
9984 freebsd
* | dragonfly
*)
9985 # DragonFly does not have aout. When/if they implement a new
9986 # versioning mechanism, adjust this.
9987 if test -x /usr
/bin
/objformat
; then
9988 objformat
=`/usr/bin/objformat`
9991 freebsd
[123]*) objformat
=aout
;;
9995 version_type
=freebsd-
$objformat
9996 case $version_type in
9998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10007 shlibpath_var
=LD_LIBRARY_PATH
10010 shlibpath_overrides_runpath
=yes
10012 freebsd3.
[01]* | freebsdelf3.
[01]*)
10013 shlibpath_overrides_runpath
=yes
10014 hardcode_into_libs
=yes
10016 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10017 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10018 shlibpath_overrides_runpath
=no
10019 hardcode_into_libs
=yes
10021 *) # from 4.6 on, and DragonFly
10022 shlibpath_overrides_runpath
=yes
10023 hardcode_into_libs
=yes
10032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10033 soname_spec
='${libname}${release}${shared_ext}$major'
10034 shlibpath_var
=LD_LIBRARY_PATH
10035 hardcode_into_libs
=yes
10038 hpux9
* | hpux10
* | hpux11
*)
10039 # Give a soname corresponding to the major version so that dld.sl refuses to
10040 # link against other versions.
10047 hardcode_into_libs
=yes
10048 dynamic_linker
="$host_os dld.so"
10049 shlibpath_var
=LD_LIBRARY_PATH
10050 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052 soname_spec
='${libname}${release}${shared_ext}$major'
10053 if test "X$HPUX_IA64_MODE" = X32
; then
10054 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10056 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10058 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10062 hardcode_into_libs
=yes
10063 dynamic_linker
="$host_os dld.sl"
10064 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10065 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10067 soname_spec
='${libname}${release}${shared_ext}$major'
10068 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10069 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10073 dynamic_linker
="$host_os dld.sl"
10074 shlibpath_var
=SHLIB_PATH
10075 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10077 soname_spec
='${libname}${release}${shared_ext}$major'
10080 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10081 postinstall_cmds
='chmod 555 $lib'
10088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10089 soname_spec
='${libname}${release}${shared_ext}$major'
10090 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10091 shlibpath_var
=LD_LIBRARY_PATH
10092 shlibpath_overrides_runpath
=no
10093 hardcode_into_libs
=yes
10096 irix5
* | irix6
* | nonstopux
*)
10098 nonstopux
*) version_type
=nonstopux
;;
10100 if test "$lt_cv_prog_gnu_ld" = yes; then
10108 soname_spec
='${libname}${release}${shared_ext}$major'
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10111 irix5
* | nonstopux
*)
10112 libsuff
= shlibsuff
=
10115 case $LD in # libtool.m4 will add one of these switches to LD
10116 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10117 libsuff
= shlibsuff
= libmagic
=32-bit;;
10118 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10119 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10120 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10121 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10122 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10126 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10127 shlibpath_overrides_runpath
=no
10128 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10129 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10130 hardcode_into_libs
=yes
10133 # No shared lib support for Linux oldld, aout, or coff.
10134 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10138 # This must be Linux ELF.
10139 linux
* | k
*bsd
*-gnu)
10143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144 soname_spec
='${libname}${release}${shared_ext}$major'
10145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10146 shlibpath_var
=LD_LIBRARY_PATH
10147 shlibpath_overrides_runpath
=no
10148 # Some binutils ld are patched to set DT_RUNPATH
10149 save_LDFLAGS
=$LDFLAGS
10150 save_libdir
=$libdir
10151 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10152 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10153 cat >conftest.
$ac_ext <<_ACEOF
10156 cat confdefs.h
>>conftest.
$ac_ext
10157 cat >>conftest.
$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10168 rm -f conftest.
$ac_objext conftest
$ac_exeext
10169 if { (ac_try
="$ac_link"
10170 case "(($ac_try" in
10171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10175 $as_echo "$ac_try_echo") >&5
10176 (eval "$ac_link") 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } && {
10183 test -z "$ac_c_werror_flag" ||
10184 test ! -s conftest.err
10185 } && test -s conftest$ac_exeext && {
10186 test "$cross_compiling" = yes ||
10187 $as_test_x conftest$ac_exeext
10189 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10190 shlibpath_overrides_runpath=yes
10194 $as_echo "$as_me: failed program was:" >&5
10195 sed 's/^/| /' conftest.$ac_ext >&5
10200 rm -rf conftest.dSYM
10201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LDFLAGS=$save_LDFLAGS
10204 libdir=$save_libdir
10206 # This implies no fast_install, which is unacceptable.
10207 # Some rework will be needed to allow for fast_install
10208 # before this can be enabled.
10209 hardcode_into_libs=yes
10211 # Add ABI-specific directories to the system library path.
10212 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10214 # Append ld.so.conf contents to the search path
10215 if test -f /etc/ld.so.conf; then
10216 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' ' '`
10217 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10220 # We used to test for /lib/ld.so.1 and disable shared libraries on
10221 # powerpc, because MkLinux only supported shared libraries with the
10222 # GNU dynamic linker. Since this was broken with cross compilers,
10223 # most powerpc-linux boxes support dynamic linking these days and
10224 # people can always --disable-shared, the test was removed, and we
10225 # assume the GNU/Linux dynamic linker is in use.
10226 dynamic_linker='GNU/Linux ld.so'
10233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10235 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10236 dynamic_linker='NetBSD (a.out) ld.so'
10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10239 soname_spec='${libname}${release}${shared_ext}$major'
10240 dynamic_linker='NetBSD ld.elf_so'
10242 shlibpath_var=LD_LIBRARY_PATH
10243 shlibpath_overrides_runpath=yes
10244 hardcode_into_libs=yes
10249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10250 shlibpath_var=LD_LIBRARY_PATH
10251 shlibpath_overrides_runpath=yes
10258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259 soname_spec='${libname}${release}${shared_ext}$major'
10260 shlibpath_var=LD_LIBRARY_PATH
10261 shlibpath_overrides_runpath=no
10262 hardcode_into_libs=yes
10263 dynamic_linker='ldqnx.so'
10268 sys_lib_dlsearch_path_spec="/usr/lib"
10270 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10272 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10273 *) need_version=no ;;
10275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10276 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10277 shlibpath_var=LD_LIBRARY_PATH
10278 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10280 openbsd2.[89] | openbsd2.[89].*)
10281 shlibpath_overrides_runpath=no
10284 shlibpath_overrides_runpath=yes
10288 shlibpath_overrides_runpath=yes
10293 libname_spec='$name'
10296 library_names_spec='$libname${shared_ext} $libname.a'
10297 dynamic_linker='OS/2 ld.exe'
10298 shlibpath_var=LIBPATH
10301 osf3* | osf4* | osf5*)
10305 soname_spec='${libname}${release}${shared_ext}$major'
10306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 shlibpath_var=LD_LIBRARY_PATH
10308 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10309 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321 soname_spec='${libname}${release}${shared_ext}$major'
10322 shlibpath_var=LD_LIBRARY_PATH
10323 shlibpath_overrides_runpath=yes
10324 hardcode_into_libs=yes
10325 # ldd complains unless libraries are executable
10326 postinstall_cmds='chmod +x $lib'
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10332 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10333 shlibpath_var=LD_LIBRARY_PATH
10334 shlibpath_overrides_runpath=yes
10335 if test "$with_gnu_ld" = yes; then
10343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec='${libname}${release}${shared_ext}$major'
10345 shlibpath_var=LD_LIBRARY_PATH
10346 case $host_vendor in
10348 shlibpath_overrides_runpath=no
10350 runpath_var=LD_RUN_PATH
10358 shlibpath_overrides_runpath=no
10359 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10365 if test -d /usr/nec ;then
10367 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10368 soname_spec='$libname${shared_ext}.$major'
10369 shlibpath_var=LD_LIBRARY_PATH
10373 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10374 version_type=freebsd-elf
10377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10378 soname_spec='${libname}${release}${shared_ext}$major'
10379 shlibpath_var=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath=yes
10381 hardcode_into_libs=yes
10382 if test "$with_gnu_ld" = yes; then
10383 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10385 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10388 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10392 sys_lib_dlsearch_path_spec='/usr/lib'
10396 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 shlibpath_var=LD_LIBRARY_PATH
10402 shlibpath_overrides_runpath=no
10403 hardcode_into_libs=yes
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 shlibpath_var=LD_LIBRARY_PATH
10417 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10418 $as_echo "$dynamic_linker" >&6; }
10419 test "$dynamic_linker" = no && can_build_shared=no
10421 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10422 if test "$GCC" = yes; then
10423 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10426 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10427 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10429 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10430 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10519 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10520 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10522 if test -n "$hardcode_libdir_flag_spec" ||
10523 test -n "$runpath_var" ||
10524 test "X$hardcode_automatic" = "Xyes" ; then
10526 # We can hardcode non-existent directories.
10527 if test "$hardcode_direct" != no &&
10528 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10529 # have to relink, otherwise we might link with an installed library
10530 # when we should be linking with a yet-to-be-installed one
10531 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10532 test "$hardcode_minus_L" != no; then
10533 # Linking always hardcodes the temporary library directory.
10534 hardcode_action=relink
10536 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10537 hardcode_action=immediate
10540 # We cannot hardcode anything, or else we can only hardcode existing
10542 hardcode_action=unsupported
10544 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10545 $as_echo "$hardcode_action" >&6; }
10547 if test "$hardcode_action" = relink ||
10548 test "$inherit_rpath" = yes; then
10549 # Fast installation is not supported
10550 enable_fast_install=no
10551 elif test "$shlibpath_overrides_runpath" = yes ||
10552 test "$enable_shared" = no; then
10553 # Fast installation is not necessary
10554 enable_fast_install=needless
10562 if test "x$enable_dlopen" != xyes; then
10563 enable_dlopen=unknown
10564 enable_dlopen_self=unknown
10565 enable_dlopen_self_static=unknown
10572 lt_cv_dlopen="load_add_on"
10574 lt_cv_dlopen_self=yes
10577 mingw* | pw32* | cegcc*)
10578 lt_cv_dlopen="LoadLibrary"
10583 lt_cv_dlopen="dlopen"
10588 # if libdl is installed we need to link against it
10589 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10590 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10591 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10592 $as_echo_n "(cached) " >&6
10594 ac_check_lib_save_LIBS=$LIBS
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (ac_try="$ac_link"
10620 case "(($ac_try" in
10621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10622 *) ac_try_echo
=$ac_try;;
10624 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10625 $as_echo "$ac_try_echo") >&5
10626 (eval "$ac_link") 2>conftest.er1
10628 grep -v '^ *+' conftest.er1
>conftest.err
10630 cat conftest.err
>&5
10631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); } && {
10633 test -z "$ac_c_werror_flag" ||
10634 test ! -s conftest.err
10635 } && test -s conftest
$ac_exeext && {
10636 test "$cross_compiling" = yes ||
10637 $as_test_x conftest
$ac_exeext
10639 ac_cv_lib_dl_dlopen
=yes
10641 $as_echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 ac_cv_lib_dl_dlopen
=no
10647 rm -rf conftest.dSYM
10648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10649 conftest
$ac_exeext conftest.
$ac_ext
10650 LIBS
=$ac_check_lib_save_LIBS
10652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10653 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10654 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10655 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10658 lt_cv_dlopen
="dyld"
10660 lt_cv_dlopen_self
=yes
10667 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10668 $as_echo_n "checking for shl_load... " >&6; }
10669 if test "${ac_cv_func_shl_load+set}" = set; then
10670 $as_echo_n "(cached) " >&6
10672 cat >conftest.
$ac_ext <<_ACEOF
10675 cat confdefs.h
>>conftest.
$ac_ext
10676 cat >>conftest.
$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10680 #define shl_load innocuous_shl_load
10682 /* System header to define __stub macros and hopefully few prototypes,
10683 which can conflict with char shl_load (); below.
10684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10685 <limits.h> exists even on freestanding compilers. */
10688 # include <limits.h>
10690 # include <assert.h>
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10702 /* The GNU C library defines this for functions which it implements
10703 to always fail with ENOSYS. Some functions are actually named
10704 something starting with __ and the normal name is an alias. */
10705 #if defined __stub_shl_load || defined __stub___shl_load
10712 return shl_load ();
10717 rm -f conftest.
$ac_objext conftest
$ac_exeext
10718 if { (ac_try
="$ac_link"
10719 case "(($ac_try" in
10720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10724 $as_echo "$ac_try_echo") >&5
10725 (eval "$ac_link") 2>conftest.er1
10727 grep -v '^ *+' conftest.er1 >conftest.err
10729 cat conftest.err >&5
10730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } && {
10732 test -z "$ac_c_werror_flag" ||
10733 test ! -s conftest.err
10734 } && test -s conftest$ac_exeext && {
10735 test "$cross_compiling" = yes ||
10736 $as_test_x conftest$ac_exeext
10738 ac_cv_func_shl_load=yes
10740 $as_echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 ac_cv_func_shl_load=no
10746 rm -rf conftest.dSYM
10747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10748 conftest$ac_exeext conftest.$ac_ext
10750 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10751 $as_echo "$ac_cv_func_shl_load" >&6; }
10752 if test "x$ac_cv_func_shl_load" = x""yes; then
10753 lt_cv_dlopen="shl_load"
10755 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10756 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10757 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10758 $as_echo_n "(cached) " >&6
10760 ac_check_lib_save_LIBS=$LIBS
10762 cat >conftest.$ac_ext <<_ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10779 return shl_load ();
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (ac_try="$ac_link"
10786 case "(($ac_try" in
10787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10788 *) ac_try_echo
=$ac_try;;
10790 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10791 $as_echo "$ac_try_echo") >&5
10792 (eval "$ac_link") 2>conftest.er1
10794 grep -v '^ *+' conftest.er1
>conftest.err
10796 cat conftest.err
>&5
10797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); } && {
10799 test -z "$ac_c_werror_flag" ||
10800 test ! -s conftest.err
10801 } && test -s conftest
$ac_exeext && {
10802 test "$cross_compiling" = yes ||
10803 $as_test_x conftest
$ac_exeext
10805 ac_cv_lib_dld_shl_load
=yes
10807 $as_echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.
$ac_ext >&5
10810 ac_cv_lib_dld_shl_load
=no
10813 rm -rf conftest.dSYM
10814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10819 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10820 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10821 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10823 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10824 $as_echo_n "checking for dlopen... " >&6; }
10825 if test "${ac_cv_func_dlopen+set}" = set; then
10826 $as_echo_n "(cached) " >&6
10828 cat >conftest.
$ac_ext <<_ACEOF
10831 cat confdefs.h
>>conftest.
$ac_ext
10832 cat >>conftest.
$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10836 #define dlopen innocuous_dlopen
10838 /* System header to define __stub macros and hopefully few prototypes,
10839 which can conflict with char dlopen (); below.
10840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10841 <limits.h> exists even on freestanding compilers. */
10844 # include <limits.h>
10846 # include <assert.h>
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10858 /* The GNU C library defines this for functions which it implements
10859 to always fail with ENOSYS. Some functions are actually named
10860 something starting with __ and the normal name is an alias. */
10861 #if defined __stub_dlopen || defined __stub___dlopen
10873 rm -f conftest.
$ac_objext conftest
$ac_exeext
10874 if { (ac_try
="$ac_link"
10875 case "(($ac_try" in
10876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10877 *) ac_try_echo=$ac_try;;
10879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10880 $as_echo "$ac_try_echo") >&5
10881 (eval "$ac_link") 2>conftest.er1
10883 grep -v '^ *+' conftest.er1 >conftest.err
10885 cat conftest.err >&5
10886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } && {
10888 test -z "$ac_c_werror_flag" ||
10889 test ! -s conftest.err
10890 } && test -s conftest$ac_exeext && {
10891 test "$cross_compiling" = yes ||
10892 $as_test_x conftest$ac_exeext
10894 ac_cv_func_dlopen=yes
10896 $as_echo "$as_me: failed program was:" >&5
10897 sed 's/^/| /' conftest.$ac_ext >&5
10899 ac_cv_func_dlopen=no
10902 rm -rf conftest.dSYM
10903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10904 conftest$ac_exeext conftest.$ac_ext
10906 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10907 $as_echo "$ac_cv_func_dlopen" >&6; }
10908 if test "x$ac_cv_func_dlopen" = x""yes; then
10909 lt_cv_dlopen="dlopen"
10911 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10912 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10913 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10914 $as_echo_n "(cached) " >&6
10916 ac_check_lib_save_LIBS=$LIBS
10918 cat >conftest.$ac_ext <<_ACEOF
10921 cat confdefs.h >>conftest.$ac_ext
10922 cat >>conftest.$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10940 rm -f conftest.$ac_objext conftest$ac_exeext
10941 if { (ac_try="$ac_link"
10942 case "(($ac_try" in
10943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10944 *) ac_try_echo
=$ac_try;;
10946 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10947 $as_echo "$ac_try_echo") >&5
10948 (eval "$ac_link") 2>conftest.er1
10950 grep -v '^ *+' conftest.er1
>conftest.err
10952 cat conftest.err
>&5
10953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } && {
10955 test -z "$ac_c_werror_flag" ||
10956 test ! -s conftest.err
10957 } && test -s conftest
$ac_exeext && {
10958 test "$cross_compiling" = yes ||
10959 $as_test_x conftest
$ac_exeext
10961 ac_cv_lib_dl_dlopen
=yes
10963 $as_echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 ac_cv_lib_dl_dlopen
=no
10969 rm -rf conftest.dSYM
10970 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10971 conftest
$ac_exeext conftest.
$ac_ext
10972 LIBS
=$ac_check_lib_save_LIBS
10974 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10975 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10976 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10977 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10979 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10980 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10981 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10982 $as_echo_n "(cached) " >&6
10984 ac_check_lib_save_LIBS
=$LIBS
10985 LIBS
="-lsvld $LIBS"
10986 cat >conftest.
$ac_ext <<_ACEOF
10989 cat confdefs.h
>>conftest.
$ac_ext
10990 cat >>conftest.
$ac_ext <<_ACEOF
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
11008 rm -f conftest.
$ac_objext conftest
$ac_exeext
11009 if { (ac_try
="$ac_link"
11010 case "(($ac_try" in
11011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11012 *) ac_try_echo=$ac_try;;
11014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11015 $as_echo "$ac_try_echo") >&5
11016 (eval "$ac_link") 2>conftest.er1
11018 grep -v '^ *+' conftest.er1 >conftest.err
11020 cat conftest.err >&5
11021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } && {
11023 test -z "$ac_c_werror_flag" ||
11024 test ! -s conftest.err
11025 } && test -s conftest$ac_exeext && {
11026 test "$cross_compiling" = yes ||
11027 $as_test_x conftest$ac_exeext
11029 ac_cv_lib_svld_dlopen=yes
11031 $as_echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11034 ac_cv_lib_svld_dlopen=no
11037 rm -rf conftest.dSYM
11038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11043 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11044 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11045 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11047 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11048 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11049 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11050 $as_echo_n "(cached) " >&6
11052 ac_check_lib_save_LIBS=$LIBS
11054 cat >conftest.$ac_ext <<_ACEOF
11057 cat confdefs.h >>conftest.$ac_ext
11058 cat >>conftest.$ac_ext <<_ACEOF
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11071 return dld_link ();
11076 rm -f conftest.$ac_objext conftest$ac_exeext
11077 if { (ac_try="$ac_link"
11078 case "(($ac_try" in
11079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11080 *) ac_try_echo
=$ac_try;;
11082 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11083 $as_echo "$ac_try_echo") >&5
11084 (eval "$ac_link") 2>conftest.er1
11086 grep -v '^ *+' conftest.er1
>conftest.err
11088 cat conftest.err
>&5
11089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } && {
11091 test -z "$ac_c_werror_flag" ||
11092 test ! -s conftest.err
11093 } && test -s conftest
$ac_exeext && {
11094 test "$cross_compiling" = yes ||
11095 $as_test_x conftest
$ac_exeext
11097 ac_cv_lib_dld_dld_link
=yes
11099 $as_echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.
$ac_ext >&5
11102 ac_cv_lib_dld_dld_link
=no
11105 rm -rf conftest.dSYM
11106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11111 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11112 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11113 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11134 if test "x$lt_cv_dlopen" != xno
; then
11140 case $lt_cv_dlopen in
11142 save_CPPFLAGS
="$CPPFLAGS"
11143 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11145 save_LDFLAGS
="$LDFLAGS"
11146 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11149 LIBS
="$lt_cv_dlopen_libs $LIBS"
11151 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11152 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11153 if test "${lt_cv_dlopen_self+set}" = set; then
11154 $as_echo_n "(cached) " >&6
11156 if test "$cross_compiling" = yes; then :
11157 lt_cv_dlopen_self
=cross
11159 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11160 lt_status
=$lt_dlunknown
11161 cat > conftest.
$ac_ext <<_LT_EOF
11162 #line 11162 "configure"
11163 #include "confdefs.h"
11172 # define LT_DLGLOBAL RTLD_GLOBAL
11175 # define LT_DLGLOBAL DL_GLOBAL
11177 # define LT_DLGLOBAL 0
11181 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11182 find out it does not work in some platform. */
11183 #ifndef LT_DLLAZY_OR_NOW
11185 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11188 # define LT_DLLAZY_OR_NOW DL_LAZY
11191 # define LT_DLLAZY_OR_NOW RTLD_NOW
11194 # define LT_DLLAZY_OR_NOW DL_NOW
11196 # define LT_DLLAZY_OR_NOW 0
11203 void fnord() { int i=42;}
11206 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11207 int status = $lt_dlunknown;
11211 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11212 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11213 /* dlclose (self); */
11221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11222 (eval $ac_link) 2>&5
11224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11226 (.
/conftest
; exit; ) >&5 2>/dev
/null
11228 case x
$lt_status in
11229 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11230 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11231 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11234 # compilation failed
11235 lt_cv_dlopen_self
=no
11242 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11243 $as_echo "$lt_cv_dlopen_self" >&6; }
11245 if test "x$lt_cv_dlopen_self" = xyes
; then
11246 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11247 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11248 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11249 if test "${lt_cv_dlopen_self_static+set}" = set; then
11250 $as_echo_n "(cached) " >&6
11252 if test "$cross_compiling" = yes; then :
11253 lt_cv_dlopen_self_static
=cross
11255 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11256 lt_status
=$lt_dlunknown
11257 cat > conftest.
$ac_ext <<_LT_EOF
11258 #line 11258 "configure"
11259 #include "confdefs.h"
11268 # define LT_DLGLOBAL RTLD_GLOBAL
11271 # define LT_DLGLOBAL DL_GLOBAL
11273 # define LT_DLGLOBAL 0
11277 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11278 find out it does not work in some platform. */
11279 #ifndef LT_DLLAZY_OR_NOW
11281 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11284 # define LT_DLLAZY_OR_NOW DL_LAZY
11287 # define LT_DLLAZY_OR_NOW RTLD_NOW
11290 # define LT_DLLAZY_OR_NOW DL_NOW
11292 # define LT_DLLAZY_OR_NOW 0
11299 void fnord() { int i=42;}
11302 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11303 int status = $lt_dlunknown;
11307 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11308 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11309 /* dlclose (self); */
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11318 (eval $ac_link) 2>&5
11320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11322 (.
/conftest
; exit; ) >&5 2>/dev
/null
11324 case x
$lt_status in
11325 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11326 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11327 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11330 # compilation failed
11331 lt_cv_dlopen_self_static
=no
11338 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11339 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11342 CPPFLAGS
="$save_CPPFLAGS"
11343 LDFLAGS
="$save_LDFLAGS"
11348 case $lt_cv_dlopen_self in
11349 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11350 *) enable_dlopen_self
=unknown
;;
11353 case $lt_cv_dlopen_self_static in
11354 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11355 *) enable_dlopen_self_static
=unknown
;;
11377 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11378 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11379 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11380 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11381 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11382 { $as_echo "$as_me:$LINENO: result: yes" >&5
11383 $as_echo "yes" >&6; }
11385 # FIXME - insert some real tests, host_os isn't really good enough
11388 if test -n "$STRIP" ; then
11389 striplib
="$STRIP -x"
11390 old_striplib
="$STRIP -S"
11391 { $as_echo "$as_me:$LINENO: result: yes" >&5
11392 $as_echo "yes" >&6; }
11394 { $as_echo "$as_me:$LINENO: result: no" >&5
11395 $as_echo "no" >&6; }
11399 { $as_echo "$as_me:$LINENO: result: no" >&5
11400 $as_echo "no" >&6; }
11416 # Report which library types will actually be built
11417 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11418 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11419 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11420 $as_echo "$can_build_shared" >&6; }
11422 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11423 $as_echo_n "checking whether to build shared libraries... " >&6; }
11424 test "$can_build_shared" = "no" && enable_shared
=no
11426 # On AIX, shared libraries and static libraries use the same namespace, and
11427 # are all built from PIC.
11430 test "$enable_shared" = yes && enable_static
=no
11431 if test -n "$RANLIB"; then
11432 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11433 postinstall_cmds
='$RANLIB $lib'
11438 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11439 test "$enable_shared" = yes && enable_static
=no
11443 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11444 $as_echo "$enable_shared" >&6; }
11446 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11447 $as_echo_n "checking whether to build static libraries... " >&6; }
11448 # Make sure either enable_shared or enable_static is yes.
11449 test "$enable_shared" = yes || enable_static
=yes
11450 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11451 $as_echo "$enable_static" >&6; }
11458 ac_cpp
='$CPP $CPPFLAGS'
11459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11477 ac_config_commands
="$ac_config_commands libtool"
11482 # Only expand once:
11487 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11488 $as_echo_n "checking spl license... " >&6; }
11490 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11491 $as_echo "$LICENSE" >&6; }
11492 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11497 { $as_echo "$as_me:$LINENO: checking linux distribution" >&5
11498 $as_echo_n "checking linux distribution... " >&6; }
11499 if test -f /etc
/toss-release
; then
11501 elif test -f /etc
/fedora-release
; then
11503 elif test -f /etc
/redhat-release
; then
11505 elif test -f /etc
/gentoo-release
; then
11507 elif test -f /etc
/arch-release
; then
11509 elif test -f /etc
/SuSE-release
; then
11511 elif test -f /etc
/slackware-version
; then
11513 elif test -f /etc
/lunar.release
; then
11515 elif test -f /etc
/lsb-release
; then
11517 elif test -f /etc
/debian_version
; then
11522 { $as_echo "$as_me:$LINENO: result: $VENDOR" >&5
11523 $as_echo "$VENDOR" >&6; }
11526 { $as_echo "$as_me:$LINENO: checking default package type" >&5
11527 $as_echo_n "checking default package type... " >&6; }
11529 toss
) DEFAULT_PACKAGE
=rpm
;;
11530 redhat
) DEFAULT_PACKAGE
=rpm
;;
11531 fedora
) DEFAULT_PACKAGE
=rpm
;;
11532 gentoo
) DEFAULT_PACKAGE
=tgz
;;
11533 arch
) DEFAULT_PACKAGE
=arch
;;
11534 sles
) DEFAULT_PACKAGE
=rpm
;;
11535 slackware
) DEFAULT_PACKAGE
=tgz
;;
11536 lunar
) DEFAULT_PACKAGE
=tgz
;;
11537 ubuntu
) DEFAULT_PACKAGE
=deb
;;
11538 debian
) DEFAULT_PACKAGE
=deb
;;
11539 *) DEFAULT_PACKAGE
=rpm
;;
11542 { $as_echo "$as_me:$LINENO: result: $DEFAULT_PACKAGE" >&5
11543 $as_echo "$DEFAULT_PACKAGE" >&6; }
11550 { $as_echo "$as_me:$LINENO: checking whether $RPM is available" >&5
11551 $as_echo_n "checking whether $RPM is available... " >&6; }
11552 if tmp
=$
($RPM --version 2>/dev
/null
); then
11554 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11556 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM ($RPM_VERSION)" >&5
11557 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
11562 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM" >&5
11563 $as_echo "$HAVE_RPM" >&6; }
11568 { $as_echo "$as_me:$LINENO: checking whether $RPMBUILD is available" >&5
11569 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
11570 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then
11572 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11574 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
11575 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
11580 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD" >&5
11581 $as_echo "$HAVE_RPMBUILD" >&6; }
11596 DPKGBUILD
=dpkg-buildpackage
11598 { $as_echo "$as_me:$LINENO: checking whether $DPKG is available" >&5
11599 $as_echo_n "checking whether $DPKG is available... " >&6; }
11600 if tmp
=$
($DPKG --version 2>/dev
/null
); then
11602 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
11604 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
11605 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
11610 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG" >&5
11611 $as_echo "$HAVE_DPKG" >&6; }
11616 { $as_echo "$as_me:$LINENO: checking whether $DPKGBUILD is available" >&5
11617 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
11618 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then
11620 DPKGBUILD_VERSION
=$
(echo $tmp | \
11621 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
11623 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
11624 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
11629 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD" >&5
11630 $as_echo "$HAVE_DPKGBUILD" >&6; }
11646 { $as_echo "$as_me:$LINENO: checking whether $ALIEN is available" >&5
11647 $as_echo_n "checking whether $ALIEN is available... " >&6; }
11648 if tmp
=$
($ALIEN --version 2>/dev
/null
); then
11650 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
11652 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
11653 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
11658 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN" >&5
11659 $as_echo "$HAVE_ALIEN" >&6; }
11669 if test "$VENDOR" = "arch"; then
11674 { $as_echo "$as_me:$LINENO: checking whether $PACMAN is available" >&5
11675 $as_echo_n "checking whether $PACMAN is available... " >&6; }
11676 tmp
=$
($PACMAN --version 2>/dev
/null
)
11677 if test -n "$tmp"; then
11679 PACMAN_VERSION
=$
(echo $tmp |
11680 $AWK '/Pacman/ { print $3 }' |
11683 { $as_echo "$as_me:$LINENO: result: $HAVE_PACMAN ($PACMAN_VERSION)" >&5
11684 $as_echo "$HAVE_PACMAN ($PACMAN_VERSION)" >&6; }
11689 { $as_echo "$as_me:$LINENO: result: $HAVE_PACMAN" >&5
11690 $as_echo "$HAVE_PACMAN" >&6; }
11695 { $as_echo "$as_me:$LINENO: checking whether $MAKEPKG is available" >&5
11696 $as_echo_n "checking whether $MAKEPKG is available... " >&6; }
11697 tmp
=$
($MAKEPKG --version 2>/dev
/null
)
11698 if test -n "$tmp"; then
11700 MAKEPKG_VERSION
=$
(echo $tmp |
$AWK '/makepkg/ { print $3 }')
11702 { $as_echo "$as_me:$LINENO: result: $HAVE_MAKEPKG ($MAKEPKG_VERSION)" >&5
11703 $as_echo "$HAVE_MAKEPKG ($MAKEPKG_VERSION)" >&6; }
11708 { $as_echo "$as_me:$LINENO: result: $HAVE_MAKEPKG" >&5
11709 $as_echo "$HAVE_MAKEPKG" >&6; }
11728 # Check whether --with-config was given.
11729 if test "${with_config+set}" = set; then
11730 withval
=$with_config; SPL_CONFIG
="$withval"
11733 # Check whether --enable-linux-builtin was given.
11734 if test "${enable_linux_builtin+set}" = set; then
11735 enableval
=$enable_linux_builtin;
11737 enable_linux_builtin
=no
11741 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11742 $as_echo_n "checking spl config... " >&6; }
11743 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11744 $as_echo "$SPL_CONFIG" >&6; };
11747 case "$SPL_CONFIG" in
11751 # Check whether --with-linux was given.
11752 if test "${with_linux+set}" = set; then
11753 withval
=$with_linux; kernelsrc
="$withval"
11758 # Check whether --with-linux-obj was given.
11759 if test "${with_linux_obj+set}" = set; then
11760 withval
=$with_linux_obj; kernelbuild
="$withval"
11764 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11765 $as_echo_n "checking kernel source directory... " >&6; }
11766 if test -z "$kernelsrc"; then
11767 if test -e "/lib/modules/$(uname -r)/source"; then
11768 headersdir
="/lib/modules/$(uname -r)/source"
11769 sourcelink
=$
(readlink
-f "$headersdir")
11770 elif test -e "/lib/modules/$(uname -r)/build"; then
11771 headersdir
="/lib/modules/$(uname -r)/build"
11772 sourcelink
=$
(readlink
-f "$headersdir")
11774 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11776 2>/dev
/null |
grep -v obj |
tail -1)
11779 if test -n "$sourcelink" && test -e ${sourcelink}; then
11780 kernelsrc
=`readlink -f ${sourcelink}`
11782 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11783 $as_echo "Not found" >&6; }
11784 { { $as_echo "$as_me:$LINENO: error:
11785 *** Please make sure the kernel devel package for your distribution
11786 *** is installed then try again. If that fails you can specify the
11787 *** location of the kernel source with the '--with-linux=PATH' option." >&5
11788 $as_echo "$as_me: error:
11789 *** Please make sure the kernel devel package for your distribution
11790 *** is installed then try again. If that fails you can specify the
11791 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
11792 { (exit 1); exit 1; }; }
11795 if test "$kernelsrc" = "NONE"; then
11800 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11801 $as_echo "$kernelsrc" >&6; }
11802 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11803 $as_echo_n "checking kernel build directory... " >&6; }
11804 if test -z "$kernelbuild"; then
11805 if test -e "/lib/modules/$(uname -r)/build"; then
11806 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
11807 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
11808 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
11809 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
11810 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
11811 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
11812 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
11814 kernelbuild
=${kernelsrc}
11817 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11818 $as_echo "$kernelbuild" >&6; }
11820 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11821 $as_echo_n "checking kernel source version... " >&6; }
11822 utsrelease1
=$kernelbuild/include
/linux
/version.h
11823 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11824 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11825 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11826 utsrelease
=linux
/version.h
11827 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11828 utsrelease
=linux
/utsrelease.h
11829 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11830 utsrelease
=generated
/utsrelease.h
11833 if test "$utsrelease"; then
11834 kernsrcver
=`(echo "#include <$utsrelease>";
11835 echo "kernsrcver=UTS_RELEASE") |
11836 cpp -I $kernelbuild/include |
11837 grep "^kernsrcver=" | cut -d \" -f 2`
11839 if test -z "$kernsrcver"; then
11840 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11841 $as_echo "Not found" >&6; }
11842 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11843 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11844 { (exit 1); exit 1; }; }
11847 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11848 $as_echo "Not found" >&6; }
11849 if test "x$enable_linux_builtin" != xyes
; then
11850 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11851 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11852 { (exit 1); exit 1; }; }
11854 { { $as_echo "$as_me:$LINENO: error:
11855 *** Cannot find UTS_RELEASE definition.
11856 *** Please run 'make prepare' inside the kernel source tree." >&5
11857 $as_echo "$as_me: error:
11858 *** Cannot find UTS_RELEASE definition.
11859 *** Please run 'make prepare' inside the kernel source tree." >&2;}
11860 { (exit 1); exit 1; }; }
11864 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11865 $as_echo "$kernsrcver" >&6; }
11868 LINUX_OBJ
=${kernelbuild}
11869 LINUX_VERSION
=${kernsrcver}
11876 modpost
=$LINUX/scripts
/Makefile.modpost
11877 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11878 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11879 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
11880 if grep -q Modules.symvers
$modpost; then
11881 LINUX_SYMBOLS
=Modules.symvers
11883 LINUX_SYMBOLS
=Module.symvers
11886 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
11887 { { $as_echo "$as_me:$LINENO: error:
11888 *** Please make sure the kernel devel package for your distribution
11889 *** is installed. If your building with a custom kernel make sure the
11890 *** kernel is configured, built, and the '--with-linux=PATH' configure
11891 *** option refers to the location of the kernel source." >&5
11892 $as_echo "$as_me: error:
11893 *** Please make sure the kernel devel package for your distribution
11894 *** is installed. If your building with a custom kernel make sure the
11895 *** kernel is configured, built, and the '--with-linux=PATH' configure
11896 *** option refers to the location of the kernel source." >&2;}
11897 { (exit 1); exit 1; }; }
11902 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11903 $as_echo "$LINUX_SYMBOLS" >&6; }
11908 { $as_echo "$as_me:$LINENO: checking whether Linux was built with CONFIG_PREEMPT" >&5
11909 $as_echo_n "checking whether Linux was built with CONFIG_PREEMPT... " >&6; }
11912 cat confdefs.h
- <<_ACEOF >conftest.c
11915 cat confdefs.h
>>conftest.
$ac_ext
11916 cat >>conftest.
$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11920 #include <linux/module.h>
11926 #ifndef CONFIG_PREEMPT
11927 #error CONFIG_PREEMPT not #defined
11937 rm -Rf build
&& mkdir
-p build
11938 echo "obj-m := conftest.o" >build
/Makefile
11939 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'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; }; then
11951 { $as_echo "$as_me:$LINENO: result: yes" >&5
11952 $as_echo "yes" >&6; }
11953 { { $as_echo "$as_me:$LINENO: error:
11954 *** Kernel built with CONFIG_PREEMPT which is not supported.
11955 ** You must rebuild your kernel without this option." >&5
11956 $as_echo "$as_me: error:
11957 *** Kernel built with CONFIG_PREEMPT which is not supported.
11958 ** You must rebuild your kernel without this option." >&2;}
11959 { (exit 1); exit 1; }; }
11962 $as_echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11965 { $as_echo "$as_me:$LINENO: result: no" >&5
11966 $as_echo "no" >&6; }
11979 if test "${LINUX_OBJ}" != "${LINUX}"; then
11980 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11984 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11988 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11989 $as_echo_n "checking whether debugging is enabled... " >&6; }
11990 # Check whether --enable-debug was given.
11991 if test "${enable_debug+set}" = set; then
11992 enableval
=$enable_debug;
11998 if test "x$enable_debug" = xyes
; then
12000 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
12001 DEBUG_CFLAGS
="-DDEBUG -Werror"
12002 DEBUG_SPL
="_with_debug"
12006 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
12007 DEBUG_CFLAGS
="-DNDEBUG"
12008 DEBUG_SPL
="_without_debug"
12015 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
12016 $as_echo "$enable_debug" >&6; }
12019 # Check whether --enable-debug-log was given.
12020 if test "${enable_debug_log+set}" = set; then
12021 enableval
=$enable_debug_log;
12023 enable_debug_log
=yes
12027 if test "x$enable_debug_log" = xyes
; then
12029 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
12030 DEBUG_LOG
="_with_debug_log"
12032 cat >>confdefs.h
<<\_ACEOF
12033 #define DEBUG_LOG 1
12039 DEBUG_LOG
="_without_debug_log"
12045 { $as_echo "$as_me:$LINENO: checking whether basic debug logging is enabled" >&5
12046 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
12047 { $as_echo "$as_me:$LINENO: result: $enable_debug_log" >&5
12048 $as_echo "$enable_debug_log" >&6; }
12051 # Check whether --enable-debug-kmem was given.
12052 if test "${enable_debug_kmem+set}" = set; then
12053 enableval
=$enable_debug_kmem;
12055 enable_debug_kmem
=yes
12059 if test "x$enable_debug_kmem" = xyes
; then
12061 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
12062 DEBUG_KMEM
="_with_debug_kmem"
12064 cat >>confdefs.h
<<\_ACEOF
12065 #define DEBUG_KMEM 1
12071 DEBUG_KMEM
="_without_debug_kmem"
12077 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
12078 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
12079 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
12080 $as_echo "$enable_debug_kmem" >&6; }
12083 # Check whether --enable-debug-kmem-tracking was given.
12084 if test "${enable_debug_kmem_tracking+set}" = set; then
12085 enableval
=$enable_debug_kmem_tracking;
12087 enable_debug_kmem_tracking
=no
12091 if test "x$enable_debug_kmem_tracking" = xyes
; then
12093 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
12094 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
12096 cat >>confdefs.h
<<\_ACEOF
12097 #define DEBUG_KMEM_TRACKING 1
12103 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
12109 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
12110 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
12111 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
12112 $as_echo "$enable_debug_kmem_tracking" >&6; }
12114 { $as_echo "$as_me:$LINENO: checking whether modules can be built" >&5
12115 $as_echo_n "checking whether modules can be built... " >&6; }
12118 cat confdefs.h
- <<_ACEOF >conftest.c
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12137 rm -Rf build
&& mkdir
-p build
12138 echo "obj-m := conftest.o" >build
/Makefile
12139 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'
12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12151 { $as_echo "$as_me:$LINENO: result: yes" >&5
12152 $as_echo "yes" >&6; }
12155 $as_echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.
$ac_ext >&5
12158 { $as_echo "$as_me:$LINENO: result: no" >&5
12159 $as_echo "no" >&6; }
12160 if test "x$enable_linux_builtin" != xyes
; then
12161 { { $as_echo "$as_me:$LINENO: error: *** Unable to build an empty module." >&5
12162 $as_echo "$as_me: error: *** Unable to build an empty module." >&2;}
12163 { (exit 1); exit 1; }; }
12165 { { $as_echo "$as_me:$LINENO: error:
12166 *** Unable to build an empty module.
12167 *** Please run 'make scripts' inside the kernel source tree." >&5
12168 $as_echo "$as_me: error:
12169 *** Unable to build an empty module.
12170 *** Please run 'make scripts' inside the kernel source tree." >&2;}
12171 { (exit 1); exit 1; }; }
12183 # Check whether --enable-atomic-spinlocks was given.
12184 if test "${enable_atomic_spinlocks+set}" = set; then
12185 enableval
=$enable_atomic_spinlocks;
12187 enable_atomic_spinlocks
=check
12193 cat confdefs.h
- <<_ACEOF >conftest.c
12196 cat confdefs.h
>>conftest.
$ac_ext
12197 cat >>conftest.
$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12201 #include <asm/atomic.h>
12207 atomic64_t *ptr __attribute__ ((unused));
12216 rm -Rf build
&& mkdir
-p build
12217 echo "obj-m := conftest.o" >build
/Makefile
12218 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'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12230 have_atomic64_t
=yes
12232 cat >>confdefs.h
<<\_ACEOF
12233 #define HAVE_ATOMIC64_T 1
12238 $as_echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12251 if test "x$enable_atomic_spinlocks" = xcheck
; then
12253 if test "x$have_atomic64_t" = xyes
; then
12255 enable_atomic_spinlocks
=no
12259 enable_atomic_spinlocks
=yes
12267 if test "x$enable_atomic_spinlocks" = xyes
; then
12270 cat >>confdefs.h
<<\_ACEOF
12271 #define ATOMIC_SPINLOCK 1
12277 if test "x$have_atomic64_t" = xno
; then
12279 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12281 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
12282 See \`config.log' for more details." >&5
12283 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
12284 See \`config.log' for more details." >&2;}
12285 { (exit 1); exit 1; }; }; }
12293 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
12294 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12295 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
12296 $as_echo "$enable_atomic_spinlocks" >&6; }
12298 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
12299 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12300 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
12301 $as_echo "$have_atomic64_t" >&6; }
12303 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
12304 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
12307 cat confdefs.h
- <<_ACEOF >conftest.c
12310 cat confdefs.h
>>conftest.
$ac_ext
12311 cat >>conftest.
$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12315 #include <asm/atomic.h>
12316 #include <asm/system.h>
12322 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
12331 rm -Rf build
&& mkdir
-p build
12332 echo "obj-m := conftest.o" >build
/Makefile
12333 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'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12345 { $as_echo "$as_me:$LINENO: result: yes" >&5
12346 $as_echo "yes" >&6; }
12348 cat >>confdefs.h
<<\_ACEOF
12349 #define HAVE_ATOMIC64_CMPXCHG 1
12354 $as_echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.
$ac_ext >&5
12357 { $as_echo "$as_me:$LINENO: result: no" >&5
12358 $as_echo "no" >&6; }
12368 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
12369 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
12372 cat confdefs.h
- <<_ACEOF >conftest.c
12375 cat confdefs.h
>>conftest.
$ac_ext
12376 cat >>conftest.
$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12380 #include <asm/atomic.h>
12386 atomic64_xchg((atomic64_t *)NULL, 0);
12395 rm -Rf build
&& mkdir
-p build
12396 echo "obj-m := conftest.o" >build
/Makefile
12397 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'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; }; then
12409 { $as_echo "$as_me:$LINENO: result: yes" >&5
12410 $as_echo "yes" >&6; }
12412 cat >>confdefs.h
<<\_ACEOF
12413 #define HAVE_ATOMIC64_XCHG 1
12418 $as_echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 { $as_echo "$as_me:$LINENO: result: no" >&5
12422 $as_echo "no" >&6; }
12432 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
12433 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
12436 cat confdefs.h
- <<_ACEOF >conftest.c
12439 cat confdefs.h
>>conftest.
$ac_ext
12440 cat >>conftest.
$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12444 #include <linux/types.h>
12450 uintptr_t *ptr __attribute__ ((unused));
12459 rm -Rf build
&& mkdir
-p build
12460 echo "obj-m := conftest.o" >build
/Makefile
12461 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'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; }; then
12473 { $as_echo "$as_me:$LINENO: result: yes" >&5
12474 $as_echo "yes" >&6; }
12476 cat >>confdefs.h
<<\_ACEOF
12477 #define HAVE_UINTPTR_T 1
12482 $as_echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12485 { $as_echo "$as_me:$LINENO: result: no" >&5
12486 $as_echo "no" >&6; }
12496 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12497 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12500 cat confdefs.h
- <<_ACEOF >conftest.c
12503 cat confdefs.h
>>conftest.
$ac_ext
12504 cat >>conftest.
$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12508 #include <linux/workqueue.h>
12514 struct work_struct work __attribute__ ((unused));
12515 INIT_WORK(&work, NULL, NULL);
12524 rm -Rf build
&& mkdir
-p build
12525 echo "obj-m := conftest.o" >build
/Makefile
12526 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'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; }; then
12538 { $as_echo "$as_me:$LINENO: result: yes" >&5
12539 $as_echo "yes" >&6; }
12541 cat >>confdefs.h
<<\_ACEOF
12542 #define HAVE_3ARGS_INIT_WORK 1
12547 $as_echo "$as_me: failed program was:" >&5
12548 sed 's/^/| /' conftest.
$ac_ext >&5
12550 { $as_echo "$as_me:$LINENO: result: no" >&5
12551 $as_echo "no" >&6; }
12561 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12562 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12565 cat confdefs.h
- <<_ACEOF >conftest.c
12568 cat confdefs.h
>>conftest.
$ac_ext
12569 cat >>conftest.
$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12573 #include <linux/sysctl.h>
12579 (void) register_sysctl_table(NULL, 0);
12588 rm -Rf build
&& mkdir
-p build
12589 echo "obj-m := conftest.o" >build
/Makefile
12590 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'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; }; then
12602 { $as_echo "$as_me:$LINENO: result: yes" >&5
12603 $as_echo "yes" >&6; }
12605 cat >>confdefs.h
<<\_ACEOF
12606 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12611 $as_echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 { $as_echo "$as_me:$LINENO: result: no" >&5
12615 $as_echo "no" >&6; }
12626 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12627 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12630 cat confdefs.h
- <<_ACEOF >conftest.c
12633 cat confdefs.h
>>conftest.
$ac_ext
12634 cat >>conftest.
$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12638 #include <linux/mm.h>
12644 return set_shrinker(DEFAULT_SEEKS, NULL);
12653 rm -Rf build
&& mkdir
-p build
12654 echo "obj-m := conftest.o" >build
/Makefile
12655 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'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12667 { $as_echo "$as_me:$LINENO: result: yes" >&5
12668 $as_echo "yes" >&6; }
12670 cat >>confdefs.h
<<\_ACEOF
12671 #define HAVE_SET_SHRINKER 1
12676 $as_echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.
$ac_ext >&5
12679 { $as_echo "$as_me:$LINENO: result: no" >&5
12680 $as_echo "no" >&6; }
12690 { $as_echo "$as_me:$LINENO: checking whether shrinker callback wants 3 args" >&5
12691 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
12692 tmp_flags
="$EXTRA_KCFLAGS"
12693 EXTRA_KCFLAGS
="-Werror"
12696 cat confdefs.h
- <<_ACEOF >conftest.c
12699 cat confdefs.h
>>conftest.
$ac_ext
12700 cat >>conftest.
$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12704 #include <linux/mm.h>
12706 int shrinker_cb(struct shrinker *, int, unsigned int);
12712 struct shrinker cache_shrinker = {
12713 .shrink = shrinker_cb,
12714 .seeks = DEFAULT_SEEKS,
12716 register_shrinker(&cache_shrinker);
12725 rm -Rf build
&& mkdir
-p build
12726 echo "obj-m := conftest.o" >build
/Makefile
12727 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'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; }; then
12739 { $as_echo "$as_me:$LINENO: result: yes" >&5
12740 $as_echo "yes" >&6; }
12742 cat >>confdefs.h
<<\_ACEOF
12743 #define HAVE_3ARGS_SHRINKER_CALLBACK 1
12748 $as_echo "$as_me: failed program was:" >&5
12749 sed 's/^/| /' conftest.
$ac_ext >&5
12751 { $as_echo "$as_me:$LINENO: result: no" >&5
12752 $as_echo "no" >&6; }
12761 EXTRA_KCFLAGS
="$tmp_flags"
12763 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12764 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12767 cat confdefs.h
- <<_ACEOF >conftest.c
12770 cat confdefs.h
>>conftest.
$ac_ext
12771 cat >>conftest.
$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12775 #include <linux/namei.h>
12781 struct nameidata nd __attribute__ ((unused));
12783 nd.path.mnt = NULL;
12784 nd.path.dentry = NULL;
12793 rm -Rf build
&& mkdir
-p build
12794 echo "obj-m := conftest.o" >build
/Makefile
12795 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'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12807 { $as_echo "$as_me:$LINENO: result: yes" >&5
12808 $as_echo "yes" >&6; }
12810 cat >>confdefs.h
<<\_ACEOF
12811 #define HAVE_PATH_IN_NAMEIDATA 1
12816 $as_echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.
$ac_ext >&5
12819 { $as_echo "$as_me:$LINENO: result: no" >&5
12820 $as_echo "no" >&6; }
12831 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12832 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12833 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12834 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12836 if test $rc -ne 0; then
12838 for file in kernel
/sched.c
; do
12839 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12840 "$LINUX_OBJ/$file" 2>/dev
/null
12842 if test $rc -eq 0; then
12847 if test $export -eq 0; then
12848 { $as_echo "$as_me:$LINENO: result: no" >&5
12849 $as_echo "no" >&6; }
12852 { $as_echo "$as_me:$LINENO: result: yes" >&5
12853 $as_echo "yes" >&6; }
12855 cat >>confdefs.h
<<\_ACEOF
12856 #define HAVE_TASK_CURR 1
12861 { $as_echo "$as_me:$LINENO: result: yes" >&5
12862 $as_echo "yes" >&6; }
12864 cat >>confdefs.h
<<\_ACEOF
12865 #define HAVE_TASK_CURR 1
12871 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12872 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12875 cat confdefs.h
- <<_ACEOF >conftest.c
12878 cat confdefs.h
>>conftest.
$ac_ext
12879 cat >>conftest.
$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12883 #include <linux/sysctl.h>
12889 #ifndef CTL_UNNUMBERED
12890 #error CTL_UNNUMBERED undefined
12900 rm -Rf build
&& mkdir
-p build
12901 echo "obj-m := conftest.o" >build
/Makefile
12902 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'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12914 { $as_echo "$as_me:$LINENO: result: yes" >&5
12915 $as_echo "yes" >&6; }
12917 cat >>confdefs.h
<<\_ACEOF
12918 #define HAVE_CTL_UNNUMBERED 1
12923 $as_echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12926 { $as_echo "$as_me:$LINENO: result: no" >&5
12927 $as_echo "no" >&6; }
12938 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12939 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12942 cat confdefs.h
- <<_ACEOF >conftest.c
12945 cat confdefs.h
>>conftest.
$ac_ext
12946 cat >>conftest.
$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12950 #include <linux/sysctl.h>
12956 struct ctl_table ctl __attribute__ ((unused));
12966 rm -Rf build
&& mkdir
-p build
12967 echo "obj-m := conftest.o" >build
/Makefile
12968 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'
12969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12970 (eval $ac_try) 2>&5
12972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12980 { $as_echo "$as_me:$LINENO: result: yes" >&5
12981 $as_echo "yes" >&6; }
12983 cat >>confdefs.h
<<\_ACEOF
12984 #define HAVE_CTL_NAME 1
12989 $as_echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.
$ac_ext >&5
12992 { $as_echo "$as_me:$LINENO: result: no" >&5
12993 $as_echo "no" >&6; }
13003 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
13004 $as_echo_n "checking whether fls64() is available... " >&6; }
13007 cat confdefs.h
- <<_ACEOF >conftest.c
13010 cat confdefs.h
>>conftest.
$ac_ext
13011 cat >>conftest.
$ac_ext <<_ACEOF
13012 /* end confdefs.h. */
13015 #include <linux/bitops.h>
13030 rm -Rf build
&& mkdir
-p build
13031 echo "obj-m := conftest.o" >build
/Makefile
13032 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'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13044 { $as_echo "$as_me:$LINENO: result: yes" >&5
13045 $as_echo "yes" >&6; }
13047 cat >>confdefs.h
<<\_ACEOF
13048 #define HAVE_FLS64 1
13053 $as_echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.
$ac_ext >&5
13056 { $as_echo "$as_me:$LINENO: result: no" >&5
13057 $as_echo "no" >&6; }
13068 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
13069 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
13070 grep -q -E '[[:space:]]device_create[[:space:]]' \
13071 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13073 if test $rc -ne 0; then
13075 for file in drivers
/base
/core.c
; do
13076 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
13077 "$LINUX_OBJ/$file" 2>/dev
/null
13079 if test $rc -eq 0; then
13084 if test $export -eq 0; then
13085 { $as_echo "$as_me:$LINENO: result: no" >&5
13086 $as_echo "no" >&6; }
13089 { $as_echo "$as_me:$LINENO: result: yes" >&5
13090 $as_echo "yes" >&6; }
13092 cat >>confdefs.h
<<\_ACEOF
13093 #define HAVE_DEVICE_CREATE 1
13098 { $as_echo "$as_me:$LINENO: result: yes" >&5
13099 $as_echo "yes" >&6; }
13101 cat >>confdefs.h
<<\_ACEOF
13102 #define HAVE_DEVICE_CREATE 1
13109 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
13110 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
13111 tmp_flags
="$EXTRA_KCFLAGS"
13112 EXTRA_KCFLAGS
="-Werror"
13115 cat confdefs.h
- <<_ACEOF >conftest.c
13118 cat confdefs.h
>>conftest.
$ac_ext
13119 cat >>conftest.
$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13123 #include <linux/device.h>
13129 device_create(NULL, NULL, 0, NULL, "%d", 1);
13138 rm -Rf build
&& mkdir
-p build
13139 echo "obj-m := conftest.o" >build
/Makefile
13140 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'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; }; then
13152 { $as_echo "$as_me:$LINENO: result: yes" >&5
13153 $as_echo "yes" >&6; }
13155 cat >>confdefs.h
<<\_ACEOF
13156 #define HAVE_5ARGS_DEVICE_CREATE 1
13161 $as_echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13164 { $as_echo "$as_me:$LINENO: result: no" >&5
13165 $as_echo "no" >&6; }
13174 EXTRA_KCFLAGS
="$tmp_flags"
13177 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
13178 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
13179 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
13180 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13182 if test $rc -ne 0; then
13184 for file in drivers
/base
/class.c
; do
13185 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
13186 "$LINUX_OBJ/$file" 2>/dev
/null
13188 if test $rc -eq 0; then
13193 if test $export -eq 0; then
13194 { $as_echo "$as_me:$LINENO: result: no" >&5
13195 $as_echo "no" >&6; }
13198 { $as_echo "$as_me:$LINENO: result: yes" >&5
13199 $as_echo "yes" >&6; }
13201 cat >>confdefs.h
<<\_ACEOF
13202 #define HAVE_CLASS_DEVICE_CREATE 1
13207 { $as_echo "$as_me:$LINENO: result: yes" >&5
13208 $as_echo "yes" >&6; }
13210 cat >>confdefs.h
<<\_ACEOF
13211 #define HAVE_CLASS_DEVICE_CREATE 1
13218 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
13219 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
13220 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
13221 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13223 if test $rc -ne 0; then
13225 for file in kernel
/time.c
; do
13226 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
13227 "$LINUX_OBJ/$file" 2>/dev
/null
13229 if test $rc -eq 0; then
13234 if test $export -eq 0; then
13235 { $as_echo "$as_me:$LINENO: result: no" >&5
13236 $as_echo "no" >&6; }
13239 { $as_echo "$as_me:$LINENO: result: yes" >&5
13240 $as_echo "yes" >&6; }
13242 cat >>confdefs.h
<<\_ACEOF
13243 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
13248 { $as_echo "$as_me:$LINENO: result: yes" >&5
13249 $as_echo "yes" >&6; }
13251 cat >>confdefs.h
<<\_ACEOF
13252 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
13259 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
13260 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
13263 cat confdefs.h
- <<_ACEOF >conftest.c
13266 cat confdefs.h
>>conftest.
$ac_ext
13267 cat >>conftest.
$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13271 #include <linux/time.h>
13272 void set_normalized_timespec(struct timespec *ts,
13273 time_t sec, long nsec) { }
13286 rm -Rf build
&& mkdir
-p build
13287 echo "obj-m := conftest.o" >build
/Makefile
13288 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'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13300 { $as_echo "$as_me:$LINENO: result: no" >&5
13301 $as_echo "no" >&6; }
13304 $as_echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 { $as_echo "$as_me:$LINENO: result: yes" >&5
13308 $as_echo "yes" >&6; }
13310 cat >>confdefs.h
<<\_ACEOF
13311 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
13324 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
13325 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
13328 cat confdefs.h
- <<_ACEOF >conftest.c
13331 cat confdefs.h
>>conftest.
$ac_ext
13332 cat >>conftest.
$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13336 #include <linux/time.h>
13342 struct timespec a = { 0 };
13343 struct timespec b = { 0 };
13344 struct timespec c __attribute__ ((unused));
13345 c = timespec_sub(a, b);
13354 rm -Rf build
&& mkdir
-p build
13355 echo "obj-m := conftest.o" >build
/Makefile
13356 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'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13368 { $as_echo "$as_me:$LINENO: result: yes" >&5
13369 $as_echo "yes" >&6; }
13371 cat >>confdefs.h
<<\_ACEOF
13372 #define HAVE_TIMESPEC_SUB 1
13377 $as_echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.
$ac_ext >&5
13380 { $as_echo "$as_me:$LINENO: result: no" >&5
13381 $as_echo "no" >&6; }
13392 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
13393 $as_echo_n "checking whether init_utsname() is available... " >&6; }
13396 cat confdefs.h
- <<_ACEOF >conftest.c
13399 cat confdefs.h
>>conftest.
$ac_ext
13400 cat >>conftest.
$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13404 #include <linux/utsname.h>
13410 struct new_utsname *a __attribute__ ((unused));
13411 a = init_utsname();
13420 rm -Rf build
&& mkdir
-p build
13421 echo "obj-m := conftest.o" >build
/Makefile
13422 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'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13429 (eval $ac_try) 2>&5
13431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13434 { $as_echo "$as_me:$LINENO: result: yes" >&5
13435 $as_echo "yes" >&6; }
13437 cat >>confdefs.h
<<\_ACEOF
13438 #define HAVE_INIT_UTSNAME 1
13443 $as_echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.
$ac_ext >&5
13446 { $as_echo "$as_me:$LINENO: result: no" >&5
13447 $as_echo "no" >&6; }
13458 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
13459 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
13462 cat confdefs.h
- <<_ACEOF >conftest.c
13465 cat confdefs.h
>>conftest.
$ac_ext
13466 cat >>conftest.
$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13470 #include <linux/fdtable.h>
13485 rm -Rf build
&& mkdir
-p build
13486 echo "obj-m := conftest.o" >build
/Makefile
13487 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'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13500 cat >>confdefs.h
<<\_ACEOF
13501 #define HAVE_FDTABLE_HEADER 1
13504 { $as_echo "$as_me:$LINENO: result: yes" >&5
13505 $as_echo "yes" >&6; }
13509 $as_echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.
$ac_ext >&5
13512 { $as_echo "$as_me:$LINENO: result: no" >&5
13513 $as_echo "no" >&6; }
13526 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
13527 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
13530 cat confdefs.h
- <<_ACEOF >conftest.c
13533 cat confdefs.h
>>conftest.
$ac_ext
13534 cat >>conftest.
$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13538 #include <linux/sched.h>
13539 #include <linux/file.h>
13540 #ifdef HAVE_FDTABLE_HEADER
13541 #include <linux/fdtable.h>
13548 struct files_struct *files = current->files;
13549 struct fdtable *fdt __attribute__ ((unused));
13550 fdt = files_fdtable(files);
13559 rm -Rf build
&& mkdir
-p build
13560 echo "obj-m := conftest.o" >build
/Makefile
13561 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'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13573 { $as_echo "$as_me:$LINENO: result: yes" >&5
13574 $as_echo "yes" >&6; }
13576 cat >>confdefs.h
<<\_ACEOF
13577 #define HAVE_FILES_FDTABLE 1
13582 $as_echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.
$ac_ext >&5
13585 { $as_echo "$as_me:$LINENO: result: no" >&5
13586 $as_echo "no" >&6; }
13597 { $as_echo "$as_me:$LINENO: checking whether __clear_close_on_exec() is available" >&5
13598 $as_echo_n "checking whether __clear_close_on_exec() is available... " >&6; }
13601 cat confdefs.h
- <<_ACEOF >conftest.c
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13609 #include <linux/fdtable.h>
13615 struct fdtable *fdt = NULL;
13618 __clear_close_on_exec(fd, fdt);
13627 rm -Rf build
&& mkdir
-p build
13628 echo "obj-m := conftest.o" >build
/Makefile
13629 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'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13641 { $as_echo "$as_me:$LINENO: result: yes" >&5
13642 $as_echo "yes" >&6; }
13644 cat >>confdefs.h
<<\_ACEOF
13645 #define HAVE_CLEAR_CLOSE_ON_EXEC 1
13650 $as_echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.
$ac_ext >&5
13653 { $as_echo "$as_me:$LINENO: result: no" >&5
13654 $as_echo "no" >&6; }
13665 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13666 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13669 cat confdefs.h
- <<_ACEOF >conftest.c
13672 cat confdefs.h
>>conftest.
$ac_ext
13673 cat >>conftest.
$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13677 #include <linux/uaccess.h>
13692 rm -Rf build
&& mkdir
-p build
13693 echo "obj-m := conftest.o" >build
/Makefile
13694 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'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13707 cat >>confdefs.h
<<\_ACEOF
13708 #define HAVE_UACCESS_HEADER 1
13711 { $as_echo "$as_me:$LINENO: result: yes" >&5
13712 $as_echo "yes" >&6; }
13716 $as_echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13719 { $as_echo "$as_me:$LINENO: result: no" >&5
13720 $as_echo "no" >&6; }
13733 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13734 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13737 cat confdefs.h
- <<_ACEOF >conftest.c
13740 cat confdefs.h
>>conftest.
$ac_ext
13741 cat >>conftest.
$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13745 #include <linux/slab.h>
13751 void *a __attribute__ ((unused));
13752 a = kmalloc_node(1, GFP_KERNEL, 0);
13761 rm -Rf build
&& mkdir
-p build
13762 echo "obj-m := conftest.o" >build
/Makefile
13763 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'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13775 { $as_echo "$as_me:$LINENO: result: yes" >&5
13776 $as_echo "yes" >&6; }
13778 cat >>confdefs.h
<<\_ACEOF
13779 #define HAVE_KMALLOC_NODE 1
13784 $as_echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.
$ac_ext >&5
13787 { $as_echo "$as_me:$LINENO: result: no" >&5
13788 $as_echo "no" >&6; }
13799 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13800 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13801 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13802 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13804 if test $rc -ne 0; then
13807 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13808 "$LINUX_OBJ/$file" 2>/dev
/null
13810 if test $rc -eq 0; then
13815 if test $export -eq 0; then
13816 { $as_echo "$as_me:$LINENO: result: no" >&5
13817 $as_echo "no" >&6; }
13820 { $as_echo "$as_me:$LINENO: result: yes" >&5
13821 $as_echo "yes" >&6; }
13823 cat >>confdefs.h
<<\_ACEOF
13824 #define HAVE_MONOTONIC_CLOCK 1
13829 { $as_echo "$as_me:$LINENO: result: yes" >&5
13830 $as_echo "yes" >&6; }
13832 cat >>confdefs.h
<<\_ACEOF
13833 #define HAVE_MONOTONIC_CLOCK 1
13840 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13841 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13844 cat confdefs.h
- <<_ACEOF >conftest.c
13847 cat confdefs.h
>>conftest.
$ac_ext
13848 cat >>conftest.
$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13852 #include <linux/fs.h>
13853 #include <linux/mutex.h>
13860 mutex_init(&i.i_mutex);
13869 rm -Rf build
&& mkdir
-p build
13870 echo "obj-m := conftest.o" >build
/Makefile
13871 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'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13883 { $as_echo "$as_me:$LINENO: result: yes" >&5
13884 $as_echo "yes" >&6; }
13886 cat >>confdefs.h
<<\_ACEOF
13887 #define HAVE_INODE_I_MUTEX 1
13892 $as_echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.
$ac_ext >&5
13895 { $as_echo "$as_me:$LINENO: result: no" >&5
13896 $as_echo "no" >&6; }
13907 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13908 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13911 cat confdefs.h
- <<_ACEOF >conftest.c
13914 cat confdefs.h
>>conftest.
$ac_ext
13915 cat >>conftest.
$ac_ext <<_ACEOF
13916 /* end confdefs.h. */
13919 #include <linux/mutex.h>
13925 struct mutex mtx __attribute__ ((unused));
13935 rm -Rf build
&& mkdir
-p build
13936 echo "obj-m := conftest.o" >build
/Makefile
13937 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'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13949 { $as_echo "$as_me:$LINENO: result: yes" >&5
13950 $as_echo "yes" >&6; }
13952 cat >>confdefs.h
<<\_ACEOF
13953 #define HAVE_MUTEX_OWNER 1
13958 $as_echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.
$ac_ext >&5
13961 { $as_echo "$as_me:$LINENO: result: no" >&5
13962 $as_echo "no" >&6; }
13973 { $as_echo "$as_me:$LINENO: checking whether struct mutex owner is a task_struct" >&5
13974 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
13975 tmp_flags
="$EXTRA_KCFLAGS"
13976 EXTRA_KCFLAGS
="-Werror"
13979 cat confdefs.h
- <<_ACEOF >conftest.c
13982 cat confdefs.h
>>conftest.
$ac_ext
13983 cat >>conftest.
$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13987 #include <linux/mutex.h>
13993 struct mutex mtx __attribute__ ((unused));
13994 mtx.owner = current;
14003 rm -Rf build
&& mkdir
-p build
14004 echo "obj-m := conftest.o" >build
/Makefile
14005 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'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14017 { $as_echo "$as_me:$LINENO: result: yes" >&5
14018 $as_echo "yes" >&6; }
14020 cat >>confdefs.h
<<\_ACEOF
14021 #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
14026 $as_echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.
$ac_ext >&5
14029 { $as_echo "$as_me:$LINENO: result: no" >&5
14030 $as_echo "no" >&6; }
14039 EXTRA_KCFLAGS
="$tmp_flags"
14042 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
14043 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
14046 cat confdefs.h
- <<_ACEOF >conftest.c
14049 cat confdefs.h
>>conftest.
$ac_ext
14050 cat >>conftest.
$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14054 #include <linux/mutex.h>
14060 struct mutex mutex;
14061 mutex_init(&mutex);
14062 mutex_lock_nested(&mutex, 0);
14071 rm -Rf build
&& mkdir
-p build
14072 echo "obj-m := conftest.o" >build
/Makefile
14073 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'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; }; then
14085 { $as_echo "$as_me:$LINENO: result: yes" >&5
14086 $as_echo "yes" >&6; }
14088 cat >>confdefs.h
<<\_ACEOF
14089 #define HAVE_MUTEX_LOCK_NESTED 1
14094 $as_echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.
$ac_ext >&5
14097 { $as_echo "$as_me:$LINENO: result: no" >&5
14098 $as_echo "no" >&6; }
14109 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
14110 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
14113 cat confdefs.h
- <<_ACEOF >conftest.c
14116 cat confdefs.h
>>conftest.
$ac_ext
14117 cat >>conftest.
$ac_ext <<_ACEOF
14118 /* end confdefs.h. */
14121 #include <linux/smp.h>
14127 on_each_cpu(NULL, NULL, 0);
14136 rm -Rf build
&& mkdir
-p build
14137 echo "obj-m := conftest.o" >build
/Makefile
14138 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'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14150 { $as_echo "$as_me:$LINENO: result: yes" >&5
14151 $as_echo "yes" >&6; }
14153 cat >>confdefs.h
<<\_ACEOF
14154 #define HAVE_3ARGS_ON_EACH_CPU 1
14159 $as_echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.
$ac_ext >&5
14162 { $as_echo "$as_me:$LINENO: result: no" >&5
14163 $as_echo "no" >&6; }
14174 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
14175 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
14176 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
14177 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14179 if test $rc -ne 0; then
14182 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
14183 "$LINUX_OBJ/$file" 2>/dev
/null
14185 if test $rc -eq 0; then
14190 if test $export -eq 0; then
14191 { $as_echo "$as_me:$LINENO: result: no" >&5
14192 $as_echo "no" >&6; }
14195 { $as_echo "$as_me:$LINENO: result: yes" >&5
14196 $as_echo "yes" >&6; }
14198 cat >>confdefs.h
<<\_ACEOF
14199 #define HAVE_KALLSYMS_LOOKUP_NAME 1
14204 { $as_echo "$as_me:$LINENO: result: yes" >&5
14205 $as_echo "yes" >&6; }
14207 cat >>confdefs.h
<<\_ACEOF
14208 #define HAVE_KALLSYMS_LOOKUP_NAME 1
14215 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
14216 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
14217 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
14218 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14220 if test $rc -ne 0; then
14223 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
14224 "$LINUX_OBJ/$file" 2>/dev
/null
14226 if test $rc -eq 0; then
14231 if test $export -eq 0; then
14232 { $as_echo "$as_me:$LINENO: result: no" >&5
14233 $as_echo "no" >&6; }
14236 { $as_echo "$as_me:$LINENO: result: yes" >&5
14237 $as_echo "yes" >&6; }
14239 cat >>confdefs.h
<<\_ACEOF
14240 #define HAVE_GET_VMALLOC_INFO 1
14245 { $as_echo "$as_me:$LINENO: result: yes" >&5
14246 $as_echo "yes" >&6; }
14248 cat >>confdefs.h
<<\_ACEOF
14249 #define HAVE_GET_VMALLOC_INFO 1
14256 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
14257 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
14258 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
14260 if test $rc -eq 0; then
14261 { $as_echo "$as_me:$LINENO: result: yes" >&5
14262 $as_echo "yes" >&6; }
14264 cat >>confdefs.h
<<\_ACEOF
14265 #define HAVE_PGDAT_HELPERS 1
14269 { $as_echo "$as_me:$LINENO: result: no" >&5
14270 $as_echo "no" >&6; }
14274 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
14275 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
14276 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
14277 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14279 if test $rc -ne 0; then
14282 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
14283 "$LINUX_OBJ/$file" 2>/dev
/null
14285 if test $rc -eq 0; then
14290 if test $export -eq 0; then
14291 { $as_echo "$as_me:$LINENO: result: no" >&5
14292 $as_echo "no" >&6; }
14295 { $as_echo "$as_me:$LINENO: result: yes" >&5
14296 $as_echo "yes" >&6; }
14298 cat >>confdefs.h
<<\_ACEOF
14299 #define HAVE_FIRST_ONLINE_PGDAT 1
14304 { $as_echo "$as_me:$LINENO: result: yes" >&5
14305 $as_echo "yes" >&6; }
14307 cat >>confdefs.h
<<\_ACEOF
14308 #define HAVE_FIRST_ONLINE_PGDAT 1
14315 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
14316 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
14317 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
14318 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14320 if test $rc -ne 0; then
14323 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
14324 "$LINUX_OBJ/$file" 2>/dev
/null
14326 if test $rc -eq 0; then
14331 if test $export -eq 0; then
14332 { $as_echo "$as_me:$LINENO: result: no" >&5
14333 $as_echo "no" >&6; }
14336 { $as_echo "$as_me:$LINENO: result: yes" >&5
14337 $as_echo "yes" >&6; }
14339 cat >>confdefs.h
<<\_ACEOF
14340 #define HAVE_NEXT_ONLINE_PGDAT 1
14345 { $as_echo "$as_me:$LINENO: result: yes" >&5
14346 $as_echo "yes" >&6; }
14348 cat >>confdefs.h
<<\_ACEOF
14349 #define HAVE_NEXT_ONLINE_PGDAT 1
14356 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
14357 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
14358 grep -q -E '[[:space:]]next_zone[[:space:]]' \
14359 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14361 if test $rc -ne 0; then
14364 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
14365 "$LINUX_OBJ/$file" 2>/dev
/null
14367 if test $rc -eq 0; then
14372 if test $export -eq 0; then
14373 { $as_echo "$as_me:$LINENO: result: no" >&5
14374 $as_echo "no" >&6; }
14377 { $as_echo "$as_me:$LINENO: result: yes" >&5
14378 $as_echo "yes" >&6; }
14380 cat >>confdefs.h
<<\_ACEOF
14381 #define HAVE_NEXT_ZONE 1
14386 { $as_echo "$as_me:$LINENO: result: yes" >&5
14387 $as_echo "yes" >&6; }
14389 cat >>confdefs.h
<<\_ACEOF
14390 #define HAVE_NEXT_ZONE 1
14397 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
14398 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
14399 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
14400 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14402 if test $rc -ne 0; then
14405 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
14406 "$LINUX_OBJ/$file" 2>/dev
/null
14408 if test $rc -eq 0; then
14413 if test $export -eq 0; then
14414 { $as_echo "$as_me:$LINENO: result: no" >&5
14415 $as_echo "no" >&6; }
14418 { $as_echo "$as_me:$LINENO: result: yes" >&5
14419 $as_echo "yes" >&6; }
14421 cat >>confdefs.h
<<\_ACEOF
14422 #define HAVE_PGDAT_LIST 1
14427 { $as_echo "$as_me:$LINENO: result: yes" >&5
14428 $as_echo "yes" >&6; }
14430 cat >>confdefs.h
<<\_ACEOF
14431 #define HAVE_PGDAT_LIST 1
14438 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
14439 $as_echo_n "checking whether global_page_state() is available... " >&6; }
14442 cat confdefs.h
- <<_ACEOF >conftest.c
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14450 #include <linux/mm.h>
14456 unsigned long state __attribute__ ((unused));
14457 state = global_page_state(0);
14466 rm -Rf build
&& mkdir
-p build
14467 echo "obj-m := conftest.o" >build
/Makefile
14468 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'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14480 { $as_echo "$as_me:$LINENO: result: yes" >&5
14481 $as_echo "yes" >&6; }
14483 cat >>confdefs.h
<<\_ACEOF
14484 #define HAVE_GLOBAL_PAGE_STATE 1
14489 $as_echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 { $as_echo "$as_me:$LINENO: result: no" >&5
14493 $as_echo "no" >&6; }
14504 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
14505 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
14508 cat confdefs.h
- <<_ACEOF >conftest.c
14511 cat confdefs.h
>>conftest.
$ac_ext
14512 cat >>conftest.
$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14516 #include <linux/mm.h>
14522 enum zone_stat_item zsi __attribute__ ((unused));
14523 zsi = NR_FREE_PAGES;
14532 rm -Rf build
&& mkdir
-p build
14533 echo "obj-m := conftest.o" >build
/Makefile
14534 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'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14546 { $as_echo "$as_me:$LINENO: result: yes" >&5
14547 $as_echo "yes" >&6; }
14549 cat >>confdefs.h
<<\_ACEOF
14550 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
14555 $as_echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.
$ac_ext >&5
14558 { $as_echo "$as_me:$LINENO: result: no" >&5
14559 $as_echo "no" >&6; }
14570 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
14571 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
14574 cat confdefs.h
- <<_ACEOF >conftest.c
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14582 #include <linux/mm.h>
14588 enum zone_stat_item zsi __attribute__ ((unused));
14598 rm -Rf build
&& mkdir
-p build
14599 echo "obj-m := conftest.o" >build
/Makefile
14600 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'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14612 { $as_echo "$as_me:$LINENO: result: yes" >&5
14613 $as_echo "yes" >&6; }
14615 cat >>confdefs.h
<<\_ACEOF
14616 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
14621 $as_echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14624 { $as_echo "$as_me:$LINENO: result: no" >&5
14625 $as_echo "no" >&6; }
14635 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14636 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14639 cat confdefs.h
- <<_ACEOF >conftest.c
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14647 #include <linux/mm.h>
14653 enum zone_stat_item zsi __attribute__ ((unused));
14654 zsi = NR_INACTIVE_ANON;
14663 rm -Rf build
&& mkdir
-p build
14664 echo "obj-m := conftest.o" >build
/Makefile
14665 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'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14677 { $as_echo "$as_me:$LINENO: result: yes" >&5
14678 $as_echo "yes" >&6; }
14680 cat >>confdefs.h
<<\_ACEOF
14681 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14686 $as_echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.
$ac_ext >&5
14689 { $as_echo "$as_me:$LINENO: result: no" >&5
14690 $as_echo "no" >&6; }
14700 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14701 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14704 cat confdefs.h
- <<_ACEOF >conftest.c
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14712 #include <linux/mm.h>
14718 enum zone_stat_item zsi __attribute__ ((unused));
14719 zsi = NR_INACTIVE_FILE;
14728 rm -Rf build
&& mkdir
-p build
14729 echo "obj-m := conftest.o" >build
/Makefile
14730 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'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14742 { $as_echo "$as_me:$LINENO: result: yes" >&5
14743 $as_echo "yes" >&6; }
14745 cat >>confdefs.h
<<\_ACEOF
14746 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14751 $as_echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.
$ac_ext >&5
14754 { $as_echo "$as_me:$LINENO: result: no" >&5
14755 $as_echo "no" >&6; }
14766 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14767 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14770 cat confdefs.h
- <<_ACEOF >conftest.c
14773 cat confdefs.h
>>conftest.
$ac_ext
14774 cat >>conftest.
$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14778 #include <linux/mm.h>
14784 enum zone_stat_item zsi __attribute__ ((unused));
14794 rm -Rf build
&& mkdir
-p build
14795 echo "obj-m := conftest.o" >build
/Makefile
14796 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'
14797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14798 (eval $ac_try) 2>&5
14800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14808 { $as_echo "$as_me:$LINENO: result: yes" >&5
14809 $as_echo "yes" >&6; }
14811 cat >>confdefs.h
<<\_ACEOF
14812 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14817 $as_echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.
$ac_ext >&5
14820 { $as_echo "$as_me:$LINENO: result: no" >&5
14821 $as_echo "no" >&6; }
14831 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14832 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14835 cat confdefs.h
- <<_ACEOF >conftest.c
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14843 #include <linux/mm.h>
14849 enum zone_stat_item zsi __attribute__ ((unused));
14850 zsi = NR_ACTIVE_ANON;
14859 rm -Rf build
&& mkdir
-p build
14860 echo "obj-m := conftest.o" >build
/Makefile
14861 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'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14873 { $as_echo "$as_me:$LINENO: result: yes" >&5
14874 $as_echo "yes" >&6; }
14876 cat >>confdefs.h
<<\_ACEOF
14877 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14882 $as_echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14885 { $as_echo "$as_me:$LINENO: result: no" >&5
14886 $as_echo "no" >&6; }
14896 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14897 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14900 cat confdefs.h
- <<_ACEOF >conftest.c
14903 cat confdefs.h
>>conftest.
$ac_ext
14904 cat >>conftest.
$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14908 #include <linux/mm.h>
14914 enum zone_stat_item zsi __attribute__ ((unused));
14915 zsi = NR_ACTIVE_FILE;
14924 rm -Rf build
&& mkdir
-p build
14925 echo "obj-m := conftest.o" >build
/Makefile
14926 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'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14933 (eval $ac_try) 2>&5
14935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); }; }; then
14938 { $as_echo "$as_me:$LINENO: result: yes" >&5
14939 $as_echo "yes" >&6; }
14941 cat >>confdefs.h
<<\_ACEOF
14942 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14947 $as_echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.
$ac_ext >&5
14950 { $as_echo "$as_me:$LINENO: result: no" >&5
14951 $as_echo "no" >&6; }
14962 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14963 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14966 cat confdefs.h
- <<_ACEOF >conftest.c
14969 cat confdefs.h
>>conftest.
$ac_ext
14970 cat >>conftest.
$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14979 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14980 #error "global_page_state needs NR_FREE_PAGES"
14983 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14984 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14985 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14986 #error "global_page_state needs NR_ACTIVE*"
14989 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14990 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14991 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14992 #error "global_page_state needs NR_INACTIVE*"
15002 rm -Rf build
&& mkdir
-p build
15003 echo "obj-m := conftest.o" >build
/Makefile
15004 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'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15016 { $as_echo "$as_me:$LINENO: result: no" >&5
15017 $as_echo "no" >&6; }
15020 $as_echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.
$ac_ext >&5
15023 { $as_echo "$as_me:$LINENO: result: yes" >&5
15024 $as_echo "yes" >&6; }
15026 cat >>confdefs.h
<<\_ACEOF
15027 #define NEED_GET_ZONE_COUNTS 1
15031 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
15032 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
15033 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
15034 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15036 if test $rc -ne 0; then
15039 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
15040 "$LINUX_OBJ/$file" 2>/dev
/null
15042 if test $rc -eq 0; then
15047 if test $export -eq 0; then
15048 { $as_echo "$as_me:$LINENO: result: no" >&5
15049 $as_echo "no" >&6; }
15052 { $as_echo "$as_me:$LINENO: result: yes" >&5
15053 $as_echo "yes" >&6; }
15055 cat >>confdefs.h
<<\_ACEOF
15056 #define HAVE_GET_ZONE_COUNTS 1
15061 { $as_echo "$as_me:$LINENO: result: yes" >&5
15062 $as_echo "yes" >&6; }
15064 cat >>confdefs.h
<<\_ACEOF
15065 #define HAVE_GET_ZONE_COUNTS 1
15080 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
15081 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
15082 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
15083 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15085 if test $rc -ne 0; then
15088 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
15089 "$LINUX_OBJ/$file" 2>/dev
/null
15091 if test $rc -eq 0; then
15096 if test $export -eq 0; then
15097 { $as_echo "$as_me:$LINENO: result: no" >&5
15098 $as_echo "no" >&6; }
15101 { $as_echo "$as_me:$LINENO: result: yes" >&5
15102 $as_echo "yes" >&6; }
15104 cat >>confdefs.h
<<\_ACEOF
15105 #define HAVE_USER_PATH_DIR 1
15110 { $as_echo "$as_me:$LINENO: result: yes" >&5
15111 $as_echo "yes" >&6; }
15113 cat >>confdefs.h
<<\_ACEOF
15114 #define HAVE_USER_PATH_DIR 1
15121 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
15122 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
15123 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
15124 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15126 if test $rc -ne 0; then
15129 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
15130 "$LINUX_OBJ/$file" 2>/dev
/null
15132 if test $rc -eq 0; then
15137 if test $export -eq 0; then
15138 { $as_echo "$as_me:$LINENO: result: no" >&5
15139 $as_echo "no" >&6; }
15142 { $as_echo "$as_me:$LINENO: result: yes" >&5
15143 $as_echo "yes" >&6; }
15145 cat >>confdefs.h
<<\_ACEOF
15146 #define HAVE_SET_FS_PWD 1
15151 { $as_echo "$as_me:$LINENO: result: yes" >&5
15152 $as_echo "yes" >&6; }
15154 cat >>confdefs.h
<<\_ACEOF
15155 #define HAVE_SET_FS_PWD 1
15161 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
15162 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
15165 cat confdefs.h
- <<_ACEOF >conftest.c
15168 cat confdefs.h
>>conftest.
$ac_ext
15169 cat >>conftest.
$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15173 #include <linux/sched.h>
15174 #include <linux/fs_struct.h>
15180 set_fs_pwd(NULL, NULL);
15189 rm -Rf build
&& mkdir
-p build
15190 echo "obj-m := conftest.o" >build
/Makefile
15191 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'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15203 { $as_echo "$as_me:$LINENO: result: yes" >&5
15204 $as_echo "yes" >&6; }
15206 cat >>confdefs.h
<<\_ACEOF
15207 #define HAVE_2ARGS_SET_FS_PWD 1
15212 $as_echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.
$ac_ext >&5
15215 { $as_echo "$as_me:$LINENO: result: no" >&5
15216 $as_echo "no" >&6; }
15226 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
15227 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
15230 cat confdefs.h
- <<_ACEOF >conftest.c
15233 cat confdefs.h
>>conftest.
$ac_ext
15234 cat >>conftest.
$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15238 #include <linux/fs.h>
15244 vfs_unlink(NULL, NULL);
15253 rm -Rf build
&& mkdir
-p build
15254 echo "obj-m := conftest.o" >build
/Makefile
15255 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'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15262 (eval $ac_try) 2>&5
15264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); }; }; then
15267 { $as_echo "$as_me:$LINENO: result: yes" >&5
15268 $as_echo "yes" >&6; }
15270 cat >>confdefs.h
<<\_ACEOF
15271 #define HAVE_2ARGS_VFS_UNLINK 1
15276 $as_echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.
$ac_ext >&5
15279 { $as_echo "$as_me:$LINENO: result: no" >&5
15280 $as_echo "no" >&6; }
15290 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
15291 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
15294 cat confdefs.h
- <<_ACEOF >conftest.c
15297 cat confdefs.h
>>conftest.
$ac_ext
15298 cat >>conftest.
$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15302 #include <linux/fs.h>
15308 vfs_rename(NULL, NULL, NULL, NULL);
15317 rm -Rf build
&& mkdir
-p build
15318 echo "obj-m := conftest.o" >build
/Makefile
15319 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'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; }; then
15331 { $as_echo "$as_me:$LINENO: result: yes" >&5
15332 $as_echo "yes" >&6; }
15334 cat >>confdefs.h
<<\_ACEOF
15335 #define HAVE_4ARGS_VFS_RENAME 1
15340 $as_echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 { $as_echo "$as_me:$LINENO: result: no" >&5
15344 $as_echo "no" >&6; }
15355 { $as_echo "$as_me:$LINENO: checking whether symbol vfs_fsync is exported" >&5
15356 $as_echo_n "checking whether symbol vfs_fsync is exported... " >&6; }
15357 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
15358 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15360 if test $rc -ne 0; then
15362 for file in fs
/sync.c
; do
15363 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
15364 "$LINUX_OBJ/$file" 2>/dev
/null
15366 if test $rc -eq 0; then
15371 if test $export -eq 0; then
15372 { $as_echo "$as_me:$LINENO: result: no" >&5
15373 $as_echo "no" >&6; }
15376 { $as_echo "$as_me:$LINENO: result: yes" >&5
15377 $as_echo "yes" >&6; }
15379 cat >>confdefs.h
<<\_ACEOF
15380 #define HAVE_VFS_FSYNC 1
15385 { $as_echo "$as_me:$LINENO: result: yes" >&5
15386 $as_echo "yes" >&6; }
15388 cat >>confdefs.h
<<\_ACEOF
15389 #define HAVE_VFS_FSYNC 1
15396 { $as_echo "$as_me:$LINENO: checking whether vfs_fsync() wants 2 args" >&5
15397 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
15400 cat confdefs.h
- <<_ACEOF >conftest.c
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15408 #include <linux/fs.h>
15414 vfs_fsync(NULL, 0);
15423 rm -Rf build
&& mkdir
-p build
15424 echo "obj-m := conftest.o" >build
/Makefile
15425 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'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15437 { $as_echo "$as_me:$LINENO: result: yes" >&5
15438 $as_echo "yes" >&6; }
15440 cat >>confdefs.h
<<\_ACEOF
15441 #define HAVE_2ARGS_VFS_FSYNC 1
15446 $as_echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.
$ac_ext >&5
15449 { $as_echo "$as_me:$LINENO: result: no" >&5
15450 $as_echo "no" >&6; }
15461 { $as_echo "$as_me:$LINENO: checking whether struct fs_struct uses spinlock_t" >&5
15462 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
15463 tmp_flags
="$EXTRA_KCFLAGS"
15464 EXTRA_KCFLAGS
="-Werror"
15467 cat confdefs.h
- <<_ACEOF >conftest.c
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15475 #include <linux/sched.h>
15476 #include <linux/fs_struct.h>
15482 struct fs_struct fs;
15483 spin_lock_init(&fs.lock);
15492 rm -Rf build
&& mkdir
-p build
15493 echo "obj-m := conftest.o" >build
/Makefile
15494 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'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15506 { $as_echo "$as_me:$LINENO: result: yes" >&5
15507 $as_echo "yes" >&6; }
15509 cat >>confdefs.h
<<\_ACEOF
15510 #define HAVE_FS_STRUCT_SPINLOCK 1
15515 $as_echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 { $as_echo "$as_me:$LINENO: result: no" >&5
15519 $as_echo "no" >&6; }
15528 EXTRA_KCFLAGS
="$tmp_flags"
15531 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
15532 $as_echo_n "checking whether struct cred exists... " >&6; }
15535 cat confdefs.h
- <<_ACEOF >conftest.c
15538 cat confdefs.h
>>conftest.
$ac_ext
15539 cat >>conftest.
$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15543 #include <linux/cred.h>
15549 struct cred *cr __attribute__ ((unused));
15559 rm -Rf build
&& mkdir
-p build
15560 echo "obj-m := conftest.o" >build
/Makefile
15561 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'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; }; then
15573 { $as_echo "$as_me:$LINENO: result: yes" >&5
15574 $as_echo "yes" >&6; }
15576 cat >>confdefs.h
<<\_ACEOF
15577 #define HAVE_CRED_STRUCT 1
15582 $as_echo "$as_me: failed program was:" >&5
15583 sed 's/^/| /' conftest.
$ac_ext >&5
15585 { $as_echo "$as_me:$LINENO: result: no" >&5
15586 $as_echo "no" >&6; }
15597 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
15598 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
15599 grep -q -E '[[:space:]]groups_search[[:space:]]' \
15600 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15602 if test $rc -ne 0; then
15605 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
15606 "$LINUX_OBJ/$file" 2>/dev
/null
15608 if test $rc -eq 0; then
15613 if test $export -eq 0; then
15614 { $as_echo "$as_me:$LINENO: result: no" >&5
15615 $as_echo "no" >&6; }
15618 { $as_echo "$as_me:$LINENO: result: yes" >&5
15619 $as_echo "yes" >&6; }
15621 cat >>confdefs.h
<<\_ACEOF
15622 #define HAVE_GROUPS_SEARCH 1
15627 { $as_echo "$as_me:$LINENO: result: yes" >&5
15628 $as_echo "yes" >&6; }
15630 cat >>confdefs.h
<<\_ACEOF
15631 #define HAVE_GROUPS_SEARCH 1
15638 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
15639 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
15640 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
15641 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15643 if test $rc -ne 0; then
15646 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
15647 "$LINUX_OBJ/$file" 2>/dev
/null
15649 if test $rc -eq 0; then
15654 if test $export -eq 0; then
15655 { $as_echo "$as_me:$LINENO: result: no" >&5
15656 $as_echo "no" >&6; }
15659 { $as_echo "$as_me:$LINENO: result: yes" >&5
15660 $as_echo "yes" >&6; }
15662 cat >>confdefs.h
<<\_ACEOF
15663 #define HAVE_PUT_TASK_STRUCT 1
15668 { $as_echo "$as_me:$LINENO: result: yes" >&5
15669 $as_echo "yes" >&6; }
15671 cat >>confdefs.h
<<\_ACEOF
15672 #define HAVE_PUT_TASK_STRUCT 1
15679 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
15680 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
15683 cat confdefs.h
- <<_ACEOF >conftest.c
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15691 #include <linux/sysctl.h>
15697 proc_dostring(NULL, 0, NULL, NULL, NULL);
15706 rm -Rf build
&& mkdir
-p build
15707 echo "obj-m := conftest.o" >build
/Makefile
15708 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'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; }; then
15720 { $as_echo "$as_me:$LINENO: result: yes" >&5
15721 $as_echo "yes" >&6; }
15723 cat >>confdefs.h
<<\_ACEOF
15724 #define HAVE_5ARGS_PROC_HANDLER 1
15729 $as_echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.
$ac_ext >&5
15732 { $as_echo "$as_me:$LINENO: result: no" >&5
15733 $as_echo "no" >&6; }
15744 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
15745 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
15746 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15747 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15749 if test $rc -ne 0; then
15752 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15753 "$LINUX_OBJ/$file" 2>/dev
/null
15755 if test $rc -eq 0; then
15760 if test $export -eq 0; then
15761 { $as_echo "$as_me:$LINENO: result: no" >&5
15762 $as_echo "no" >&6; }
15765 { $as_echo "$as_me:$LINENO: result: yes" >&5
15766 $as_echo "yes" >&6; }
15768 cat >>confdefs.h
<<\_ACEOF
15769 #define HAVE_KVASPRINTF 1
15774 { $as_echo "$as_me:$LINENO: result: yes" >&5
15775 $as_echo "yes" >&6; }
15777 cat >>confdefs.h
<<\_ACEOF
15778 #define HAVE_KVASPRINTF 1
15785 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
15786 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
15787 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
15788 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15790 if test $rc -ne 0; then
15792 for file in lib
/rwsem-spinlock.c
; do
15793 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
15794 "$LINUX_OBJ/$file" 2>/dev
/null
15796 if test $rc -eq 0; then
15801 if test $export -eq 0; then
15802 { $as_echo "$as_me:$LINENO: result: no" >&5
15803 $as_echo "no" >&6; }
15806 { $as_echo "$as_me:$LINENO: result: yes" >&5
15807 $as_echo "yes" >&6; }
15809 cat >>confdefs.h
<<\_ACEOF
15810 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15815 { $as_echo "$as_me:$LINENO: result: yes" >&5
15816 $as_echo "yes" >&6; }
15818 cat >>confdefs.h
<<\_ACEOF
15819 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15826 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes is exported" >&5
15827 $as_echo_n "checking whether symbol invalidate_inodes is exported... " >&6; }
15828 grep -q -E '[[:space:]]invalidate_inodes[[:space:]]' \
15829 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15831 if test $rc -ne 0; then
15834 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes)" \
15835 "$LINUX_OBJ/$file" 2>/dev
/null
15837 if test $rc -eq 0; then
15842 if test $export -eq 0; then
15843 { $as_echo "$as_me:$LINENO: result: no" >&5
15844 $as_echo "no" >&6; }
15847 { $as_echo "$as_me:$LINENO: result: yes" >&5
15848 $as_echo "yes" >&6; }
15850 cat >>confdefs.h
<<\_ACEOF
15851 #define HAVE_INVALIDATE_INODES 1
15856 { $as_echo "$as_me:$LINENO: result: yes" >&5
15857 $as_echo "yes" >&6; }
15859 cat >>confdefs.h
<<\_ACEOF
15860 #define HAVE_INVALIDATE_INODES 1
15865 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes_check is exported" >&5
15866 $as_echo_n "checking whether symbol invalidate_inodes_check is exported... " >&6; }
15867 grep -q -E '[[:space:]]invalidate_inodes_check[[:space:]]' \
15868 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15870 if test $rc -ne 0; then
15873 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes_check)" \
15874 "$LINUX_OBJ/$file" 2>/dev
/null
15876 if test $rc -eq 0; then
15881 if test $export -eq 0; then
15882 { $as_echo "$as_me:$LINENO: result: no" >&5
15883 $as_echo "no" >&6; }
15886 { $as_echo "$as_me:$LINENO: result: yes" >&5
15887 $as_echo "yes" >&6; }
15889 cat >>confdefs.h
<<\_ACEOF
15890 #define HAVE_INVALIDATE_INODES_CHECK 1
15895 { $as_echo "$as_me:$LINENO: result: yes" >&5
15896 $as_echo "yes" >&6; }
15898 cat >>confdefs.h
<<\_ACEOF
15899 #define HAVE_INVALIDATE_INODES_CHECK 1
15905 { $as_echo "$as_me:$LINENO: checking whether invalidate_inodes() wants 2 args" >&5
15906 $as_echo_n "checking whether invalidate_inodes() wants 2 args... " >&6; }
15909 cat confdefs.h
- <<_ACEOF >conftest.c
15912 cat confdefs.h
>>conftest.
$ac_ext
15913 cat >>conftest.
$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15917 #include <linux/fs.h>
15923 return __invalidate_device(NULL, 0);
15932 rm -Rf build
&& mkdir
-p build
15933 echo "obj-m := conftest.o" >build
/Makefile
15934 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'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15946 { $as_echo "$as_me:$LINENO: result: yes" >&5
15947 $as_echo "yes" >&6; }
15949 cat >>confdefs.h
<<\_ACEOF
15950 #define HAVE_2ARGS_INVALIDATE_INODES 1
15955 $as_echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.
$ac_ext >&5
15958 { $as_echo "$as_me:$LINENO: result: no" >&5
15959 $as_echo "no" >&6; }
15970 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_dcache_memory is exported" >&5
15971 $as_echo_n "checking whether symbol shrink_dcache_memory is exported... " >&6; }
15972 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
15973 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15975 if test $rc -ne 0; then
15977 for file in fs
/dcache.c
; do
15978 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
15979 "$LINUX_OBJ/$file" 2>/dev
/null
15981 if test $rc -eq 0; then
15986 if test $export -eq 0; then
15987 { $as_echo "$as_me:$LINENO: result: no" >&5
15988 $as_echo "no" >&6; }
15991 { $as_echo "$as_me:$LINENO: result: yes" >&5
15992 $as_echo "yes" >&6; }
15994 cat >>confdefs.h
<<\_ACEOF
15995 #define HAVE_SHRINK_DCACHE_MEMORY 1
16000 { $as_echo "$as_me:$LINENO: result: yes" >&5
16001 $as_echo "yes" >&6; }
16003 cat >>confdefs.h
<<\_ACEOF
16004 #define HAVE_SHRINK_DCACHE_MEMORY 1
16011 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_icache_memory is exported" >&5
16012 $as_echo_n "checking whether symbol shrink_icache_memory is exported... " >&6; }
16013 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
16014 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16016 if test $rc -ne 0; then
16018 for file in fs
/inode.c
; do
16019 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
16020 "$LINUX_OBJ/$file" 2>/dev
/null
16022 if test $rc -eq 0; then
16027 if test $export -eq 0; then
16028 { $as_echo "$as_me:$LINENO: result: no" >&5
16029 $as_echo "no" >&6; }
16032 { $as_echo "$as_me:$LINENO: result: yes" >&5
16033 $as_echo "yes" >&6; }
16035 cat >>confdefs.h
<<\_ACEOF
16036 #define HAVE_SHRINK_ICACHE_MEMORY 1
16041 { $as_echo "$as_me:$LINENO: result: yes" >&5
16042 $as_echo "yes" >&6; }
16044 cat >>confdefs.h
<<\_ACEOF
16045 #define HAVE_SHRINK_ICACHE_MEMORY 1
16053 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent exists in header" >&5
16054 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
16056 for file in include
/linux
/namei.h
; do
16057 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
16059 if test $rc -eq 0; then
16064 if test $header -eq 0; then
16065 { $as_echo "$as_me:$LINENO: result: no" >&5
16066 $as_echo "no" >&6; }
16069 { $as_echo "$as_me:$LINENO: result: yes" >&5
16070 $as_echo "yes" >&6; }
16072 cat >>confdefs.h
<<\_ACEOF
16073 #define HAVE_KERN_PATH_PARENT_HEADER 1
16080 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent is exported" >&5
16081 $as_echo_n "checking whether symbol kern_path_parent is exported... " >&6; }
16082 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
16083 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16085 if test $rc -ne 0; then
16087 for file in fs
/namei.c
; do
16088 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
16089 "$LINUX_OBJ/$file" 2>/dev
/null
16091 if test $rc -eq 0; then
16096 if test $export -eq 0; then
16097 { $as_echo "$as_me:$LINENO: result: no" >&5
16098 $as_echo "no" >&6; }
16101 { $as_echo "$as_me:$LINENO: result: yes" >&5
16102 $as_echo "yes" >&6; }
16104 cat >>confdefs.h
<<\_ACEOF
16105 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
16110 { $as_echo "$as_me:$LINENO: result: yes" >&5
16111 $as_echo "yes" >&6; }
16113 cat >>confdefs.h
<<\_ACEOF
16114 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
16120 { $as_echo "$as_me:$LINENO: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
16121 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
16124 cat confdefs.h
- <<_ACEOF >conftest.c
16127 cat confdefs.h
>>conftest.
$ac_ext
16128 cat >>conftest.
$ac_ext <<_ACEOF
16129 /* end confdefs.h. */
16132 #include <linux/zlib.h>
16138 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
16147 rm -Rf build
&& mkdir
-p build
16148 echo "obj-m := conftest.o" >build
/Makefile
16149 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'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16161 { $as_echo "$as_me:$LINENO: result: yes" >&5
16162 $as_echo "yes" >&6; }
16164 cat >>confdefs.h
<<\_ACEOF
16165 #define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1
16170 $as_echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.
$ac_ext >&5
16173 { $as_echo "$as_me:$LINENO: result: no" >&5
16174 $as_echo "no" >&6; }
16185 { $as_echo "$as_me:$LINENO: checking whether struct shrink_control exists" >&5
16186 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
16189 cat confdefs.h
- <<_ACEOF >conftest.c
16192 cat confdefs.h
>>conftest.
$ac_ext
16193 cat >>conftest.
$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16197 #include <linux/mm.h>
16203 struct shrink_control sc __attribute__ ((unused));
16206 sc.gfp_mask = GFP_KERNEL;
16215 rm -Rf build
&& mkdir
-p build
16216 echo "obj-m := conftest.o" >build
/Makefile
16217 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'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16229 { $as_echo "$as_me:$LINENO: result: yes" >&5
16230 $as_echo "yes" >&6; }
16232 cat >>confdefs.h
<<\_ACEOF
16233 #define HAVE_SHRINK_CONTROL_STRUCT 1
16238 $as_echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16241 { $as_echo "$as_me:$LINENO: result: no" >&5
16242 $as_echo "no" >&6; }
16253 { $as_echo "$as_me:$LINENO: checking whether struct rw_semaphore member wait_lock is raw" >&5
16254 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
16255 tmp_flags
="$EXTRA_KCFLAGS"
16256 EXTRA_KCFLAGS
="-Werror"
16259 cat confdefs.h
- <<_ACEOF >conftest.c
16262 cat confdefs.h
>>conftest.
$ac_ext
16263 cat >>conftest.
$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16267 #include <linux/rwsem.h>
16273 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
16274 raw_spinlock_t dummy_lock __attribute__ ((unused));
16275 dummy_semaphore.wait_lock = dummy_lock;
16284 rm -Rf build
&& mkdir
-p build
16285 echo "obj-m := conftest.o" >build
/Makefile
16286 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'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; }; then
16298 { $as_echo "$as_me:$LINENO: result: yes" >&5
16299 $as_echo "yes" >&6; }
16301 cat >>confdefs.h
<<\_ACEOF
16302 #define RWSEM_SPINLOCK_IS_RAW 1
16307 $as_echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.
$ac_ext >&5
16310 { $as_echo "$as_me:$LINENO: result: no" >&5
16311 $as_echo "no" >&6; }
16320 EXTRA_KCFLAGS
="$tmp_flags"
16323 { $as_echo "$as_me:$LINENO: checking whether pmd_alloc_with_mask exists" >&5
16324 $as_echo_n "checking whether pmd_alloc_with_mask exists... " >&6; }
16327 cat confdefs.h
- <<_ACEOF >conftest.c
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16335 #if !defined(CONFIG_MMU)
16339 #if defined(RCH_HAS_4LEVEL_HACK)
16340 #undef RCH_HAS_4LEVEL_HACK
16343 #include <linux/mm.h>
16349 struct mm_struct init_mm;
16351 unsigned long addr = 0;
16352 gfp_t gfp_mask = GFP_KERNEL;
16354 pmd_alloc_with_mask(&init_mm, pud, addr, gfp_mask);
16363 rm -Rf build
&& mkdir
-p build
16364 echo "obj-m := conftest.o" >build
/Makefile
16365 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'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16377 { $as_echo "$as_me:$LINENO: result: yes" >&5
16378 $as_echo "yes" >&6; }
16380 cat >>confdefs.h
<<\_ACEOF
16381 #define HAVE_PMD_ALLOC_WITH_MASK 1
16386 $as_echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.
$ac_ext >&5
16389 { $as_echo "$as_me:$LINENO: result: no" >&5
16390 $as_echo "no" >&6; }
16405 # Check whether --with-linux was given.
16406 if test "${with_linux+set}" = set; then
16407 withval
=$with_linux; kernelsrc
="$withval"
16412 # Check whether --with-linux-obj was given.
16413 if test "${with_linux_obj+set}" = set; then
16414 withval
=$with_linux_obj; kernelbuild
="$withval"
16418 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
16419 $as_echo_n "checking kernel source directory... " >&6; }
16420 if test -z "$kernelsrc"; then
16421 if test -e "/lib/modules/$(uname -r)/source"; then
16422 headersdir
="/lib/modules/$(uname -r)/source"
16423 sourcelink
=$
(readlink
-f "$headersdir")
16424 elif test -e "/lib/modules/$(uname -r)/build"; then
16425 headersdir
="/lib/modules/$(uname -r)/build"
16426 sourcelink
=$
(readlink
-f "$headersdir")
16428 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
16430 2>/dev
/null |
grep -v obj |
tail -1)
16433 if test -n "$sourcelink" && test -e ${sourcelink}; then
16434 kernelsrc
=`readlink -f ${sourcelink}`
16436 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16437 $as_echo "Not found" >&6; }
16438 { { $as_echo "$as_me:$LINENO: error:
16439 *** Please make sure the kernel devel package for your distribution
16440 *** is installed then try again. If that fails you can specify the
16441 *** location of the kernel source with the '--with-linux=PATH' option." >&5
16442 $as_echo "$as_me: error:
16443 *** Please make sure the kernel devel package for your distribution
16444 *** is installed then try again. If that fails you can specify the
16445 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
16446 { (exit 1); exit 1; }; }
16449 if test "$kernelsrc" = "NONE"; then
16454 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
16455 $as_echo "$kernelsrc" >&6; }
16456 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
16457 $as_echo_n "checking kernel build directory... " >&6; }
16458 if test -z "$kernelbuild"; then
16459 if test -e "/lib/modules/$(uname -r)/build"; then
16460 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
16461 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
16462 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
16463 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
16464 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
16465 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
16466 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
16468 kernelbuild
=${kernelsrc}
16471 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
16472 $as_echo "$kernelbuild" >&6; }
16474 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
16475 $as_echo_n "checking kernel source version... " >&6; }
16476 utsrelease1
=$kernelbuild/include
/linux
/version.h
16477 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
16478 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
16479 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
16480 utsrelease
=linux
/version.h
16481 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
16482 utsrelease
=linux
/utsrelease.h
16483 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
16484 utsrelease
=generated
/utsrelease.h
16487 if test "$utsrelease"; then
16488 kernsrcver
=`(echo "#include <$utsrelease>";
16489 echo "kernsrcver=UTS_RELEASE") |
16490 cpp -I $kernelbuild/include |
16491 grep "^kernsrcver=" | cut -d \" -f 2`
16493 if test -z "$kernsrcver"; then
16494 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16495 $as_echo "Not found" >&6; }
16496 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
16497 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
16498 { (exit 1); exit 1; }; }
16501 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16502 $as_echo "Not found" >&6; }
16503 if test "x$enable_linux_builtin" != xyes
; then
16504 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
16505 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
16506 { (exit 1); exit 1; }; }
16508 { { $as_echo "$as_me:$LINENO: error:
16509 *** Cannot find UTS_RELEASE definition.
16510 *** Please run 'make prepare' inside the kernel source tree." >&5
16511 $as_echo "$as_me: error:
16512 *** Cannot find UTS_RELEASE definition.
16513 *** Please run 'make prepare' inside the kernel source tree." >&2;}
16514 { (exit 1); exit 1; }; }
16518 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
16519 $as_echo "$kernsrcver" >&6; }
16522 LINUX_OBJ
=${kernelbuild}
16523 LINUX_VERSION
=${kernsrcver}
16530 modpost
=$LINUX/scripts
/Makefile.modpost
16531 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
16532 $as_echo_n "checking kernel file name for module symbols... " >&6; }
16533 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
16534 if grep -q Modules.symvers
$modpost; then
16535 LINUX_SYMBOLS
=Modules.symvers
16537 LINUX_SYMBOLS
=Module.symvers
16540 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
16541 { { $as_echo "$as_me:$LINENO: error:
16542 *** Please make sure the kernel devel package for your distribution
16543 *** is installed. If your building with a custom kernel make sure the
16544 *** kernel is configured, built, and the '--with-linux=PATH' configure
16545 *** option refers to the location of the kernel source." >&5
16546 $as_echo "$as_me: error:
16547 *** Please make sure the kernel devel package for your distribution
16548 *** is installed. If your building with a custom kernel make sure the
16549 *** kernel is configured, built, and the '--with-linux=PATH' configure
16550 *** option refers to the location of the kernel source." >&2;}
16551 { (exit 1); exit 1; }; }
16556 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
16557 $as_echo "$LINUX_SYMBOLS" >&6; }
16562 { $as_echo "$as_me:$LINENO: checking whether Linux was built with CONFIG_PREEMPT" >&5
16563 $as_echo_n "checking whether Linux was built with CONFIG_PREEMPT... " >&6; }
16566 cat confdefs.h
- <<_ACEOF >conftest.c
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16574 #include <linux/module.h>
16580 #ifndef CONFIG_PREEMPT
16581 #error CONFIG_PREEMPT not #defined
16591 rm -Rf build
&& mkdir
-p build
16592 echo "obj-m := conftest.o" >build
/Makefile
16593 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'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16605 { $as_echo "$as_me:$LINENO: result: yes" >&5
16606 $as_echo "yes" >&6; }
16607 { { $as_echo "$as_me:$LINENO: error:
16608 *** Kernel built with CONFIG_PREEMPT which is not supported.
16609 ** You must rebuild your kernel without this option." >&5
16610 $as_echo "$as_me: error:
16611 *** Kernel built with CONFIG_PREEMPT which is not supported.
16612 ** You must rebuild your kernel without this option." >&2;}
16613 { (exit 1); exit 1; }; }
16616 $as_echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 { $as_echo "$as_me:$LINENO: result: no" >&5
16620 $as_echo "no" >&6; }
16633 if test "${LINUX_OBJ}" != "${LINUX}"; then
16634 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
16638 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
16642 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
16643 $as_echo_n "checking whether debugging is enabled... " >&6; }
16644 # Check whether --enable-debug was given.
16645 if test "${enable_debug+set}" = set; then
16646 enableval
=$enable_debug;
16652 if test "x$enable_debug" = xyes
; then
16654 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
16655 DEBUG_CFLAGS
="-DDEBUG -Werror"
16656 DEBUG_SPL
="_with_debug"
16660 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
16661 DEBUG_CFLAGS
="-DNDEBUG"
16662 DEBUG_SPL
="_without_debug"
16669 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
16670 $as_echo "$enable_debug" >&6; }
16673 # Check whether --enable-debug-log was given.
16674 if test "${enable_debug_log+set}" = set; then
16675 enableval
=$enable_debug_log;
16677 enable_debug_log
=yes
16681 if test "x$enable_debug_log" = xyes
; then
16683 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
16684 DEBUG_LOG
="_with_debug_log"
16686 cat >>confdefs.h
<<\_ACEOF
16687 #define DEBUG_LOG 1
16693 DEBUG_LOG
="_without_debug_log"
16699 { $as_echo "$as_me:$LINENO: checking whether basic debug logging is enabled" >&5
16700 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
16701 { $as_echo "$as_me:$LINENO: result: $enable_debug_log" >&5
16702 $as_echo "$enable_debug_log" >&6; }
16705 # Check whether --enable-debug-kmem was given.
16706 if test "${enable_debug_kmem+set}" = set; then
16707 enableval
=$enable_debug_kmem;
16709 enable_debug_kmem
=yes
16713 if test "x$enable_debug_kmem" = xyes
; then
16715 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
16716 DEBUG_KMEM
="_with_debug_kmem"
16718 cat >>confdefs.h
<<\_ACEOF
16719 #define DEBUG_KMEM 1
16725 DEBUG_KMEM
="_without_debug_kmem"
16731 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
16732 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
16733 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
16734 $as_echo "$enable_debug_kmem" >&6; }
16737 # Check whether --enable-debug-kmem-tracking was given.
16738 if test "${enable_debug_kmem_tracking+set}" = set; then
16739 enableval
=$enable_debug_kmem_tracking;
16741 enable_debug_kmem_tracking
=no
16745 if test "x$enable_debug_kmem_tracking" = xyes
; then
16747 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
16748 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
16750 cat >>confdefs.h
<<\_ACEOF
16751 #define DEBUG_KMEM_TRACKING 1
16757 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
16763 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
16764 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
16765 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
16766 $as_echo "$enable_debug_kmem_tracking" >&6; }
16768 { $as_echo "$as_me:$LINENO: checking whether modules can be built" >&5
16769 $as_echo_n "checking whether modules can be built... " >&6; }
16772 cat confdefs.h
- <<_ACEOF >conftest.c
16775 cat confdefs.h
>>conftest.
$ac_ext
16776 cat >>conftest.
$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16791 rm -Rf build
&& mkdir
-p build
16792 echo "obj-m := conftest.o" >build
/Makefile
16793 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'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16805 { $as_echo "$as_me:$LINENO: result: yes" >&5
16806 $as_echo "yes" >&6; }
16809 $as_echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16812 { $as_echo "$as_me:$LINENO: result: no" >&5
16813 $as_echo "no" >&6; }
16814 if test "x$enable_linux_builtin" != xyes
; then
16815 { { $as_echo "$as_me:$LINENO: error: *** Unable to build an empty module." >&5
16816 $as_echo "$as_me: error: *** Unable to build an empty module." >&2;}
16817 { (exit 1); exit 1; }; }
16819 { { $as_echo "$as_me:$LINENO: error:
16820 *** Unable to build an empty module.
16821 *** Please run 'make scripts' inside the kernel source tree." >&5
16822 $as_echo "$as_me: error:
16823 *** Unable to build an empty module.
16824 *** Please run 'make scripts' inside the kernel source tree." >&2;}
16825 { (exit 1); exit 1; }; }
16837 # Check whether --enable-atomic-spinlocks was given.
16838 if test "${enable_atomic_spinlocks+set}" = set; then
16839 enableval
=$enable_atomic_spinlocks;
16841 enable_atomic_spinlocks
=check
16847 cat confdefs.h
- <<_ACEOF >conftest.c
16850 cat confdefs.h
>>conftest.
$ac_ext
16851 cat >>conftest.
$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16855 #include <asm/atomic.h>
16861 atomic64_t *ptr __attribute__ ((unused));
16870 rm -Rf build
&& mkdir
-p build
16871 echo "obj-m := conftest.o" >build
/Makefile
16872 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'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16884 have_atomic64_t
=yes
16886 cat >>confdefs.h
<<\_ACEOF
16887 #define HAVE_ATOMIC64_T 1
16892 $as_echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16905 if test "x$enable_atomic_spinlocks" = xcheck
; then
16907 if test "x$have_atomic64_t" = xyes
; then
16909 enable_atomic_spinlocks
=no
16913 enable_atomic_spinlocks
=yes
16921 if test "x$enable_atomic_spinlocks" = xyes
; then
16924 cat >>confdefs.h
<<\_ACEOF
16925 #define ATOMIC_SPINLOCK 1
16931 if test "x$have_atomic64_t" = xno
; then
16933 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16935 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
16936 See \`config.log' for more details." >&5
16937 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
16938 See \`config.log' for more details." >&2;}
16939 { (exit 1); exit 1; }; }; }
16947 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
16948 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
16949 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
16950 $as_echo "$enable_atomic_spinlocks" >&6; }
16952 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
16953 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
16954 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
16955 $as_echo "$have_atomic64_t" >&6; }
16957 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
16958 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
16961 cat confdefs.h
- <<_ACEOF >conftest.c
16964 cat confdefs.h
>>conftest.
$ac_ext
16965 cat >>conftest.
$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16969 #include <asm/atomic.h>
16970 #include <asm/system.h>
16976 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
16985 rm -Rf build
&& mkdir
-p build
16986 echo "obj-m := conftest.o" >build
/Makefile
16987 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'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
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); }; }; then
16999 { $as_echo "$as_me:$LINENO: result: yes" >&5
17000 $as_echo "yes" >&6; }
17002 cat >>confdefs.h
<<\_ACEOF
17003 #define HAVE_ATOMIC64_CMPXCHG 1
17008 $as_echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.
$ac_ext >&5
17011 { $as_echo "$as_me:$LINENO: result: no" >&5
17012 $as_echo "no" >&6; }
17022 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
17023 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
17026 cat confdefs.h
- <<_ACEOF >conftest.c
17029 cat confdefs.h
>>conftest.
$ac_ext
17030 cat >>conftest.
$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17034 #include <asm/atomic.h>
17040 atomic64_xchg((atomic64_t *)NULL, 0);
17049 rm -Rf build
&& mkdir
-p build
17050 echo "obj-m := conftest.o" >build
/Makefile
17051 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'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17063 { $as_echo "$as_me:$LINENO: result: yes" >&5
17064 $as_echo "yes" >&6; }
17066 cat >>confdefs.h
<<\_ACEOF
17067 #define HAVE_ATOMIC64_XCHG 1
17072 $as_echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.
$ac_ext >&5
17075 { $as_echo "$as_me:$LINENO: result: no" >&5
17076 $as_echo "no" >&6; }
17086 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
17087 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
17090 cat confdefs.h
- <<_ACEOF >conftest.c
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17098 #include <linux/types.h>
17104 uintptr_t *ptr __attribute__ ((unused));
17113 rm -Rf build
&& mkdir
-p build
17114 echo "obj-m := conftest.o" >build
/Makefile
17115 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'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17127 { $as_echo "$as_me:$LINENO: result: yes" >&5
17128 $as_echo "yes" >&6; }
17130 cat >>confdefs.h
<<\_ACEOF
17131 #define HAVE_UINTPTR_T 1
17136 $as_echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.
$ac_ext >&5
17139 { $as_echo "$as_me:$LINENO: result: no" >&5
17140 $as_echo "no" >&6; }
17150 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
17151 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
17154 cat confdefs.h
- <<_ACEOF >conftest.c
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17162 #include <linux/workqueue.h>
17168 struct work_struct work __attribute__ ((unused));
17169 INIT_WORK(&work, NULL, NULL);
17178 rm -Rf build
&& mkdir
-p build
17179 echo "obj-m := conftest.o" >build
/Makefile
17180 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'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17192 { $as_echo "$as_me:$LINENO: result: yes" >&5
17193 $as_echo "yes" >&6; }
17195 cat >>confdefs.h
<<\_ACEOF
17196 #define HAVE_3ARGS_INIT_WORK 1
17201 $as_echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.
$ac_ext >&5
17204 { $as_echo "$as_me:$LINENO: result: no" >&5
17205 $as_echo "no" >&6; }
17215 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
17216 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
17219 cat confdefs.h
- <<_ACEOF >conftest.c
17222 cat confdefs.h
>>conftest.
$ac_ext
17223 cat >>conftest.
$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17227 #include <linux/sysctl.h>
17233 (void) register_sysctl_table(NULL, 0);
17242 rm -Rf build
&& mkdir
-p build
17243 echo "obj-m := conftest.o" >build
/Makefile
17244 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'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; }; then
17256 { $as_echo "$as_me:$LINENO: result: yes" >&5
17257 $as_echo "yes" >&6; }
17259 cat >>confdefs.h
<<\_ACEOF
17260 #define HAVE_2ARGS_REGISTER_SYSCTL 1
17265 $as_echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.
$ac_ext >&5
17268 { $as_echo "$as_me:$LINENO: result: no" >&5
17269 $as_echo "no" >&6; }
17280 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
17281 $as_echo_n "checking whether set_shrinker() available... " >&6; }
17284 cat confdefs.h
- <<_ACEOF >conftest.c
17287 cat confdefs.h
>>conftest.
$ac_ext
17288 cat >>conftest.
$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17292 #include <linux/mm.h>
17298 return set_shrinker(DEFAULT_SEEKS, NULL);
17307 rm -Rf build
&& mkdir
-p build
17308 echo "obj-m := conftest.o" >build
/Makefile
17309 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'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17321 { $as_echo "$as_me:$LINENO: result: yes" >&5
17322 $as_echo "yes" >&6; }
17324 cat >>confdefs.h
<<\_ACEOF
17325 #define HAVE_SET_SHRINKER 1
17330 $as_echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 { $as_echo "$as_me:$LINENO: result: no" >&5
17334 $as_echo "no" >&6; }
17344 { $as_echo "$as_me:$LINENO: checking whether shrinker callback wants 3 args" >&5
17345 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
17346 tmp_flags
="$EXTRA_KCFLAGS"
17347 EXTRA_KCFLAGS
="-Werror"
17350 cat confdefs.h
- <<_ACEOF >conftest.c
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17358 #include <linux/mm.h>
17360 int shrinker_cb(struct shrinker *, int, unsigned int);
17366 struct shrinker cache_shrinker = {
17367 .shrink = shrinker_cb,
17368 .seeks = DEFAULT_SEEKS,
17370 register_shrinker(&cache_shrinker);
17379 rm -Rf build
&& mkdir
-p build
17380 echo "obj-m := conftest.o" >build
/Makefile
17381 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'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17393 { $as_echo "$as_me:$LINENO: result: yes" >&5
17394 $as_echo "yes" >&6; }
17396 cat >>confdefs.h
<<\_ACEOF
17397 #define HAVE_3ARGS_SHRINKER_CALLBACK 1
17402 $as_echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.
$ac_ext >&5
17405 { $as_echo "$as_me:$LINENO: result: no" >&5
17406 $as_echo "no" >&6; }
17415 EXTRA_KCFLAGS
="$tmp_flags"
17417 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
17418 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
17421 cat confdefs.h
- <<_ACEOF >conftest.c
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17429 #include <linux/namei.h>
17435 struct nameidata nd __attribute__ ((unused));
17437 nd.path.mnt = NULL;
17438 nd.path.dentry = NULL;
17447 rm -Rf build
&& mkdir
-p build
17448 echo "obj-m := conftest.o" >build
/Makefile
17449 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'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
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); }; }; then
17461 { $as_echo "$as_me:$LINENO: result: yes" >&5
17462 $as_echo "yes" >&6; }
17464 cat >>confdefs.h
<<\_ACEOF
17465 #define HAVE_PATH_IN_NAMEIDATA 1
17470 $as_echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.
$ac_ext >&5
17473 { $as_echo "$as_me:$LINENO: result: no" >&5
17474 $as_echo "no" >&6; }
17485 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
17486 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
17487 grep -q -E '[[:space:]]task_curr[[:space:]]' \
17488 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17490 if test $rc -ne 0; then
17492 for file in kernel
/sched.c
; do
17493 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
17494 "$LINUX_OBJ/$file" 2>/dev
/null
17496 if test $rc -eq 0; then
17501 if test $export -eq 0; then
17502 { $as_echo "$as_me:$LINENO: result: no" >&5
17503 $as_echo "no" >&6; }
17506 { $as_echo "$as_me:$LINENO: result: yes" >&5
17507 $as_echo "yes" >&6; }
17509 cat >>confdefs.h
<<\_ACEOF
17510 #define HAVE_TASK_CURR 1
17515 { $as_echo "$as_me:$LINENO: result: yes" >&5
17516 $as_echo "yes" >&6; }
17518 cat >>confdefs.h
<<\_ACEOF
17519 #define HAVE_TASK_CURR 1
17525 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
17526 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
17529 cat confdefs.h
- <<_ACEOF >conftest.c
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17537 #include <linux/sysctl.h>
17543 #ifndef CTL_UNNUMBERED
17544 #error CTL_UNNUMBERED undefined
17554 rm -Rf build
&& mkdir
-p build
17555 echo "obj-m := conftest.o" >build
/Makefile
17556 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'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; }; then
17568 { $as_echo "$as_me:$LINENO: result: yes" >&5
17569 $as_echo "yes" >&6; }
17571 cat >>confdefs.h
<<\_ACEOF
17572 #define HAVE_CTL_UNNUMBERED 1
17577 $as_echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.
$ac_ext >&5
17580 { $as_echo "$as_me:$LINENO: result: no" >&5
17581 $as_echo "no" >&6; }
17592 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
17593 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
17596 cat confdefs.h
- <<_ACEOF >conftest.c
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17604 #include <linux/sysctl.h>
17610 struct ctl_table ctl __attribute__ ((unused));
17620 rm -Rf build
&& mkdir
-p build
17621 echo "obj-m := conftest.o" >build
/Makefile
17622 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'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; }; then
17634 { $as_echo "$as_me:$LINENO: result: yes" >&5
17635 $as_echo "yes" >&6; }
17637 cat >>confdefs.h
<<\_ACEOF
17638 #define HAVE_CTL_NAME 1
17643 $as_echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.
$ac_ext >&5
17646 { $as_echo "$as_me:$LINENO: result: no" >&5
17647 $as_echo "no" >&6; }
17657 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
17658 $as_echo_n "checking whether fls64() is available... " >&6; }
17661 cat confdefs.h
- <<_ACEOF >conftest.c
17664 cat confdefs.h
>>conftest.
$ac_ext
17665 cat >>conftest.
$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17669 #include <linux/bitops.h>
17684 rm -Rf build
&& mkdir
-p build
17685 echo "obj-m := conftest.o" >build
/Makefile
17686 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'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17698 { $as_echo "$as_me:$LINENO: result: yes" >&5
17699 $as_echo "yes" >&6; }
17701 cat >>confdefs.h
<<\_ACEOF
17702 #define HAVE_FLS64 1
17707 $as_echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.
$ac_ext >&5
17710 { $as_echo "$as_me:$LINENO: result: no" >&5
17711 $as_echo "no" >&6; }
17722 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
17723 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
17724 grep -q -E '[[:space:]]device_create[[:space:]]' \
17725 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17727 if test $rc -ne 0; then
17729 for file in drivers
/base
/core.c
; do
17730 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
17731 "$LINUX_OBJ/$file" 2>/dev
/null
17733 if test $rc -eq 0; then
17738 if test $export -eq 0; then
17739 { $as_echo "$as_me:$LINENO: result: no" >&5
17740 $as_echo "no" >&6; }
17743 { $as_echo "$as_me:$LINENO: result: yes" >&5
17744 $as_echo "yes" >&6; }
17746 cat >>confdefs.h
<<\_ACEOF
17747 #define HAVE_DEVICE_CREATE 1
17752 { $as_echo "$as_me:$LINENO: result: yes" >&5
17753 $as_echo "yes" >&6; }
17755 cat >>confdefs.h
<<\_ACEOF
17756 #define HAVE_DEVICE_CREATE 1
17763 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
17764 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
17765 tmp_flags
="$EXTRA_KCFLAGS"
17766 EXTRA_KCFLAGS
="-Werror"
17769 cat confdefs.h
- <<_ACEOF >conftest.c
17772 cat confdefs.h
>>conftest.
$ac_ext
17773 cat >>conftest.
$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17777 #include <linux/device.h>
17783 device_create(NULL, NULL, 0, NULL, "%d", 1);
17792 rm -Rf build
&& mkdir
-p build
17793 echo "obj-m := conftest.o" >build
/Makefile
17794 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'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17806 { $as_echo "$as_me:$LINENO: result: yes" >&5
17807 $as_echo "yes" >&6; }
17809 cat >>confdefs.h
<<\_ACEOF
17810 #define HAVE_5ARGS_DEVICE_CREATE 1
17815 $as_echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.
$ac_ext >&5
17818 { $as_echo "$as_me:$LINENO: result: no" >&5
17819 $as_echo "no" >&6; }
17828 EXTRA_KCFLAGS
="$tmp_flags"
17831 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
17832 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
17833 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
17834 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17836 if test $rc -ne 0; then
17838 for file in drivers
/base
/class.c
; do
17839 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
17840 "$LINUX_OBJ/$file" 2>/dev
/null
17842 if test $rc -eq 0; then
17847 if test $export -eq 0; then
17848 { $as_echo "$as_me:$LINENO: result: no" >&5
17849 $as_echo "no" >&6; }
17852 { $as_echo "$as_me:$LINENO: result: yes" >&5
17853 $as_echo "yes" >&6; }
17855 cat >>confdefs.h
<<\_ACEOF
17856 #define HAVE_CLASS_DEVICE_CREATE 1
17861 { $as_echo "$as_me:$LINENO: result: yes" >&5
17862 $as_echo "yes" >&6; }
17864 cat >>confdefs.h
<<\_ACEOF
17865 #define HAVE_CLASS_DEVICE_CREATE 1
17872 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
17873 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
17874 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
17875 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17877 if test $rc -ne 0; then
17879 for file in kernel
/time.c
; do
17880 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
17881 "$LINUX_OBJ/$file" 2>/dev
/null
17883 if test $rc -eq 0; then
17888 if test $export -eq 0; then
17889 { $as_echo "$as_me:$LINENO: result: no" >&5
17890 $as_echo "no" >&6; }
17893 { $as_echo "$as_me:$LINENO: result: yes" >&5
17894 $as_echo "yes" >&6; }
17896 cat >>confdefs.h
<<\_ACEOF
17897 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
17902 { $as_echo "$as_me:$LINENO: result: yes" >&5
17903 $as_echo "yes" >&6; }
17905 cat >>confdefs.h
<<\_ACEOF
17906 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
17913 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
17914 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
17917 cat confdefs.h
- <<_ACEOF >conftest.c
17920 cat confdefs.h
>>conftest.
$ac_ext
17921 cat >>conftest.
$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17925 #include <linux/time.h>
17926 void set_normalized_timespec(struct timespec *ts,
17927 time_t sec, long nsec) { }
17940 rm -Rf build
&& mkdir
-p build
17941 echo "obj-m := conftest.o" >build
/Makefile
17942 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'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17954 { $as_echo "$as_me:$LINENO: result: no" >&5
17955 $as_echo "no" >&6; }
17958 $as_echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 { $as_echo "$as_me:$LINENO: result: yes" >&5
17962 $as_echo "yes" >&6; }
17964 cat >>confdefs.h
<<\_ACEOF
17965 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
17978 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
17979 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
17982 cat confdefs.h
- <<_ACEOF >conftest.c
17985 cat confdefs.h
>>conftest.
$ac_ext
17986 cat >>conftest.
$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17990 #include <linux/time.h>
17996 struct timespec a = { 0 };
17997 struct timespec b = { 0 };
17998 struct timespec c __attribute__ ((unused));
17999 c = timespec_sub(a, b);
18008 rm -Rf build
&& mkdir
-p build
18009 echo "obj-m := conftest.o" >build
/Makefile
18010 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'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18022 { $as_echo "$as_me:$LINENO: result: yes" >&5
18023 $as_echo "yes" >&6; }
18025 cat >>confdefs.h
<<\_ACEOF
18026 #define HAVE_TIMESPEC_SUB 1
18031 $as_echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.
$ac_ext >&5
18034 { $as_echo "$as_me:$LINENO: result: no" >&5
18035 $as_echo "no" >&6; }
18046 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
18047 $as_echo_n "checking whether init_utsname() is available... " >&6; }
18050 cat confdefs.h
- <<_ACEOF >conftest.c
18053 cat confdefs.h
>>conftest.
$ac_ext
18054 cat >>conftest.
$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18058 #include <linux/utsname.h>
18064 struct new_utsname *a __attribute__ ((unused));
18065 a = init_utsname();
18074 rm -Rf build
&& mkdir
-p build
18075 echo "obj-m := conftest.o" >build
/Makefile
18076 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'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; }; then
18088 { $as_echo "$as_me:$LINENO: result: yes" >&5
18089 $as_echo "yes" >&6; }
18091 cat >>confdefs.h
<<\_ACEOF
18092 #define HAVE_INIT_UTSNAME 1
18097 $as_echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.
$ac_ext >&5
18100 { $as_echo "$as_me:$LINENO: result: no" >&5
18101 $as_echo "no" >&6; }
18112 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
18113 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
18116 cat confdefs.h
- <<_ACEOF >conftest.c
18119 cat confdefs.h
>>conftest.
$ac_ext
18120 cat >>conftest.
$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18124 #include <linux/fdtable.h>
18139 rm -Rf build
&& mkdir
-p build
18140 echo "obj-m := conftest.o" >build
/Makefile
18141 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'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18154 cat >>confdefs.h
<<\_ACEOF
18155 #define HAVE_FDTABLE_HEADER 1
18158 { $as_echo "$as_me:$LINENO: result: yes" >&5
18159 $as_echo "yes" >&6; }
18163 $as_echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.
$ac_ext >&5
18166 { $as_echo "$as_me:$LINENO: result: no" >&5
18167 $as_echo "no" >&6; }
18180 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
18181 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
18184 cat confdefs.h
- <<_ACEOF >conftest.c
18187 cat confdefs.h
>>conftest.
$ac_ext
18188 cat >>conftest.
$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18192 #include <linux/sched.h>
18193 #include <linux/file.h>
18194 #ifdef HAVE_FDTABLE_HEADER
18195 #include <linux/fdtable.h>
18202 struct files_struct *files = current->files;
18203 struct fdtable *fdt __attribute__ ((unused));
18204 fdt = files_fdtable(files);
18213 rm -Rf build
&& mkdir
-p build
18214 echo "obj-m := conftest.o" >build
/Makefile
18215 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'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; }; then
18227 { $as_echo "$as_me:$LINENO: result: yes" >&5
18228 $as_echo "yes" >&6; }
18230 cat >>confdefs.h
<<\_ACEOF
18231 #define HAVE_FILES_FDTABLE 1
18236 $as_echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18239 { $as_echo "$as_me:$LINENO: result: no" >&5
18240 $as_echo "no" >&6; }
18251 { $as_echo "$as_me:$LINENO: checking whether __clear_close_on_exec() is available" >&5
18252 $as_echo_n "checking whether __clear_close_on_exec() is available... " >&6; }
18255 cat confdefs.h
- <<_ACEOF >conftest.c
18258 cat confdefs.h
>>conftest.
$ac_ext
18259 cat >>conftest.
$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18263 #include <linux/fdtable.h>
18269 struct fdtable *fdt = NULL;
18272 __clear_close_on_exec(fd, fdt);
18281 rm -Rf build
&& mkdir
-p build
18282 echo "obj-m := conftest.o" >build
/Makefile
18283 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'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18295 { $as_echo "$as_me:$LINENO: result: yes" >&5
18296 $as_echo "yes" >&6; }
18298 cat >>confdefs.h
<<\_ACEOF
18299 #define HAVE_CLEAR_CLOSE_ON_EXEC 1
18304 $as_echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.
$ac_ext >&5
18307 { $as_echo "$as_me:$LINENO: result: no" >&5
18308 $as_echo "no" >&6; }
18319 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
18320 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
18323 cat confdefs.h
- <<_ACEOF >conftest.c
18326 cat confdefs.h
>>conftest.
$ac_ext
18327 cat >>conftest.
$ac_ext <<_ACEOF
18328 /* end confdefs.h. */
18331 #include <linux/uaccess.h>
18346 rm -Rf build
&& mkdir
-p build
18347 echo "obj-m := conftest.o" >build
/Makefile
18348 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'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; }; then
18361 cat >>confdefs.h
<<\_ACEOF
18362 #define HAVE_UACCESS_HEADER 1
18365 { $as_echo "$as_me:$LINENO: result: yes" >&5
18366 $as_echo "yes" >&6; }
18370 $as_echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.
$ac_ext >&5
18373 { $as_echo "$as_me:$LINENO: result: no" >&5
18374 $as_echo "no" >&6; }
18387 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
18388 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
18391 cat confdefs.h
- <<_ACEOF >conftest.c
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18399 #include <linux/slab.h>
18405 void *a __attribute__ ((unused));
18406 a = kmalloc_node(1, GFP_KERNEL, 0);
18415 rm -Rf build
&& mkdir
-p build
18416 echo "obj-m := conftest.o" >build
/Makefile
18417 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'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18429 { $as_echo "$as_me:$LINENO: result: yes" >&5
18430 $as_echo "yes" >&6; }
18432 cat >>confdefs.h
<<\_ACEOF
18433 #define HAVE_KMALLOC_NODE 1
18438 $as_echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.
$ac_ext >&5
18441 { $as_echo "$as_me:$LINENO: result: no" >&5
18442 $as_echo "no" >&6; }
18453 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
18454 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
18455 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
18456 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18458 if test $rc -ne 0; then
18461 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
18462 "$LINUX_OBJ/$file" 2>/dev
/null
18464 if test $rc -eq 0; then
18469 if test $export -eq 0; then
18470 { $as_echo "$as_me:$LINENO: result: no" >&5
18471 $as_echo "no" >&6; }
18474 { $as_echo "$as_me:$LINENO: result: yes" >&5
18475 $as_echo "yes" >&6; }
18477 cat >>confdefs.h
<<\_ACEOF
18478 #define HAVE_MONOTONIC_CLOCK 1
18483 { $as_echo "$as_me:$LINENO: result: yes" >&5
18484 $as_echo "yes" >&6; }
18486 cat >>confdefs.h
<<\_ACEOF
18487 #define HAVE_MONOTONIC_CLOCK 1
18494 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
18495 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
18498 cat confdefs.h
- <<_ACEOF >conftest.c
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18506 #include <linux/fs.h>
18507 #include <linux/mutex.h>
18514 mutex_init(&i.i_mutex);
18523 rm -Rf build
&& mkdir
-p build
18524 echo "obj-m := conftest.o" >build
/Makefile
18525 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'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18537 { $as_echo "$as_me:$LINENO: result: yes" >&5
18538 $as_echo "yes" >&6; }
18540 cat >>confdefs.h
<<\_ACEOF
18541 #define HAVE_INODE_I_MUTEX 1
18546 $as_echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.
$ac_ext >&5
18549 { $as_echo "$as_me:$LINENO: result: no" >&5
18550 $as_echo "no" >&6; }
18561 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
18562 $as_echo_n "checking whether struct mutex has owner... " >&6; }
18565 cat confdefs.h
- <<_ACEOF >conftest.c
18568 cat confdefs.h
>>conftest.
$ac_ext
18569 cat >>conftest.
$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18573 #include <linux/mutex.h>
18579 struct mutex mtx __attribute__ ((unused));
18589 rm -Rf build
&& mkdir
-p build
18590 echo "obj-m := conftest.o" >build
/Makefile
18591 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'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18598 (eval $ac_try) 2>&5
18600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); }; }; then
18603 { $as_echo "$as_me:$LINENO: result: yes" >&5
18604 $as_echo "yes" >&6; }
18606 cat >>confdefs.h
<<\_ACEOF
18607 #define HAVE_MUTEX_OWNER 1
18612 $as_echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.
$ac_ext >&5
18615 { $as_echo "$as_me:$LINENO: result: no" >&5
18616 $as_echo "no" >&6; }
18627 { $as_echo "$as_me:$LINENO: checking whether struct mutex owner is a task_struct" >&5
18628 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
18629 tmp_flags
="$EXTRA_KCFLAGS"
18630 EXTRA_KCFLAGS
="-Werror"
18633 cat confdefs.h
- <<_ACEOF >conftest.c
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18641 #include <linux/mutex.h>
18647 struct mutex mtx __attribute__ ((unused));
18648 mtx.owner = current;
18657 rm -Rf build
&& mkdir
-p build
18658 echo "obj-m := conftest.o" >build
/Makefile
18659 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'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18671 { $as_echo "$as_me:$LINENO: result: yes" >&5
18672 $as_echo "yes" >&6; }
18674 cat >>confdefs.h
<<\_ACEOF
18675 #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
18680 $as_echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.
$ac_ext >&5
18683 { $as_echo "$as_me:$LINENO: result: no" >&5
18684 $as_echo "no" >&6; }
18693 EXTRA_KCFLAGS
="$tmp_flags"
18696 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
18697 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
18700 cat confdefs.h
- <<_ACEOF >conftest.c
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18708 #include <linux/mutex.h>
18714 struct mutex mutex;
18715 mutex_init(&mutex);
18716 mutex_lock_nested(&mutex, 0);
18725 rm -Rf build
&& mkdir
-p build
18726 echo "obj-m := conftest.o" >build
/Makefile
18727 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'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18739 { $as_echo "$as_me:$LINENO: result: yes" >&5
18740 $as_echo "yes" >&6; }
18742 cat >>confdefs.h
<<\_ACEOF
18743 #define HAVE_MUTEX_LOCK_NESTED 1
18748 $as_echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 { $as_echo "$as_me:$LINENO: result: no" >&5
18752 $as_echo "no" >&6; }
18763 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
18764 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
18767 cat confdefs.h
- <<_ACEOF >conftest.c
18770 cat confdefs.h
>>conftest.
$ac_ext
18771 cat >>conftest.
$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18775 #include <linux/smp.h>
18781 on_each_cpu(NULL, NULL, 0);
18790 rm -Rf build
&& mkdir
-p build
18791 echo "obj-m := conftest.o" >build
/Makefile
18792 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'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; }; then
18804 { $as_echo "$as_me:$LINENO: result: yes" >&5
18805 $as_echo "yes" >&6; }
18807 cat >>confdefs.h
<<\_ACEOF
18808 #define HAVE_3ARGS_ON_EACH_CPU 1
18813 $as_echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 { $as_echo "$as_me:$LINENO: result: no" >&5
18817 $as_echo "no" >&6; }
18828 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
18829 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
18830 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
18831 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18833 if test $rc -ne 0; then
18836 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
18837 "$LINUX_OBJ/$file" 2>/dev
/null
18839 if test $rc -eq 0; then
18844 if test $export -eq 0; then
18845 { $as_echo "$as_me:$LINENO: result: no" >&5
18846 $as_echo "no" >&6; }
18849 { $as_echo "$as_me:$LINENO: result: yes" >&5
18850 $as_echo "yes" >&6; }
18852 cat >>confdefs.h
<<\_ACEOF
18853 #define HAVE_KALLSYMS_LOOKUP_NAME 1
18858 { $as_echo "$as_me:$LINENO: result: yes" >&5
18859 $as_echo "yes" >&6; }
18861 cat >>confdefs.h
<<\_ACEOF
18862 #define HAVE_KALLSYMS_LOOKUP_NAME 1
18869 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
18870 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
18871 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
18872 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18874 if test $rc -ne 0; then
18877 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
18878 "$LINUX_OBJ/$file" 2>/dev
/null
18880 if test $rc -eq 0; then
18885 if test $export -eq 0; then
18886 { $as_echo "$as_me:$LINENO: result: no" >&5
18887 $as_echo "no" >&6; }
18890 { $as_echo "$as_me:$LINENO: result: yes" >&5
18891 $as_echo "yes" >&6; }
18893 cat >>confdefs.h
<<\_ACEOF
18894 #define HAVE_GET_VMALLOC_INFO 1
18899 { $as_echo "$as_me:$LINENO: result: yes" >&5
18900 $as_echo "yes" >&6; }
18902 cat >>confdefs.h
<<\_ACEOF
18903 #define HAVE_GET_VMALLOC_INFO 1
18910 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
18911 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
18912 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
18914 if test $rc -eq 0; then
18915 { $as_echo "$as_me:$LINENO: result: yes" >&5
18916 $as_echo "yes" >&6; }
18918 cat >>confdefs.h
<<\_ACEOF
18919 #define HAVE_PGDAT_HELPERS 1
18923 { $as_echo "$as_me:$LINENO: result: no" >&5
18924 $as_echo "no" >&6; }
18928 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
18929 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
18930 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
18931 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18933 if test $rc -ne 0; then
18936 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
18937 "$LINUX_OBJ/$file" 2>/dev
/null
18939 if test $rc -eq 0; then
18944 if test $export -eq 0; then
18945 { $as_echo "$as_me:$LINENO: result: no" >&5
18946 $as_echo "no" >&6; }
18949 { $as_echo "$as_me:$LINENO: result: yes" >&5
18950 $as_echo "yes" >&6; }
18952 cat >>confdefs.h
<<\_ACEOF
18953 #define HAVE_FIRST_ONLINE_PGDAT 1
18958 { $as_echo "$as_me:$LINENO: result: yes" >&5
18959 $as_echo "yes" >&6; }
18961 cat >>confdefs.h
<<\_ACEOF
18962 #define HAVE_FIRST_ONLINE_PGDAT 1
18969 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
18970 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
18971 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
18972 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18974 if test $rc -ne 0; then
18977 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
18978 "$LINUX_OBJ/$file" 2>/dev
/null
18980 if test $rc -eq 0; then
18985 if test $export -eq 0; then
18986 { $as_echo "$as_me:$LINENO: result: no" >&5
18987 $as_echo "no" >&6; }
18990 { $as_echo "$as_me:$LINENO: result: yes" >&5
18991 $as_echo "yes" >&6; }
18993 cat >>confdefs.h
<<\_ACEOF
18994 #define HAVE_NEXT_ONLINE_PGDAT 1
18999 { $as_echo "$as_me:$LINENO: result: yes" >&5
19000 $as_echo "yes" >&6; }
19002 cat >>confdefs.h
<<\_ACEOF
19003 #define HAVE_NEXT_ONLINE_PGDAT 1
19010 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
19011 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
19012 grep -q -E '[[:space:]]next_zone[[:space:]]' \
19013 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19015 if test $rc -ne 0; then
19018 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
19019 "$LINUX_OBJ/$file" 2>/dev
/null
19021 if test $rc -eq 0; then
19026 if test $export -eq 0; then
19027 { $as_echo "$as_me:$LINENO: result: no" >&5
19028 $as_echo "no" >&6; }
19031 { $as_echo "$as_me:$LINENO: result: yes" >&5
19032 $as_echo "yes" >&6; }
19034 cat >>confdefs.h
<<\_ACEOF
19035 #define HAVE_NEXT_ZONE 1
19040 { $as_echo "$as_me:$LINENO: result: yes" >&5
19041 $as_echo "yes" >&6; }
19043 cat >>confdefs.h
<<\_ACEOF
19044 #define HAVE_NEXT_ZONE 1
19051 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
19052 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
19053 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
19054 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19056 if test $rc -ne 0; then
19059 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
19060 "$LINUX_OBJ/$file" 2>/dev
/null
19062 if test $rc -eq 0; then
19067 if test $export -eq 0; then
19068 { $as_echo "$as_me:$LINENO: result: no" >&5
19069 $as_echo "no" >&6; }
19072 { $as_echo "$as_me:$LINENO: result: yes" >&5
19073 $as_echo "yes" >&6; }
19075 cat >>confdefs.h
<<\_ACEOF
19076 #define HAVE_PGDAT_LIST 1
19081 { $as_echo "$as_me:$LINENO: result: yes" >&5
19082 $as_echo "yes" >&6; }
19084 cat >>confdefs.h
<<\_ACEOF
19085 #define HAVE_PGDAT_LIST 1
19092 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
19093 $as_echo_n "checking whether global_page_state() is available... " >&6; }
19096 cat confdefs.h
- <<_ACEOF >conftest.c
19099 cat confdefs.h
>>conftest.
$ac_ext
19100 cat >>conftest.
$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19104 #include <linux/mm.h>
19110 unsigned long state __attribute__ ((unused));
19111 state = global_page_state(0);
19120 rm -Rf build
&& mkdir
-p build
19121 echo "obj-m := conftest.o" >build
/Makefile
19122 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'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19134 { $as_echo "$as_me:$LINENO: result: yes" >&5
19135 $as_echo "yes" >&6; }
19137 cat >>confdefs.h
<<\_ACEOF
19138 #define HAVE_GLOBAL_PAGE_STATE 1
19143 $as_echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.
$ac_ext >&5
19146 { $as_echo "$as_me:$LINENO: result: no" >&5
19147 $as_echo "no" >&6; }
19158 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
19159 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
19162 cat confdefs.h
- <<_ACEOF >conftest.c
19165 cat confdefs.h
>>conftest.
$ac_ext
19166 cat >>conftest.
$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19170 #include <linux/mm.h>
19176 enum zone_stat_item zsi __attribute__ ((unused));
19177 zsi = NR_FREE_PAGES;
19186 rm -Rf build
&& mkdir
-p build
19187 echo "obj-m := conftest.o" >build
/Makefile
19188 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'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19200 { $as_echo "$as_me:$LINENO: result: yes" >&5
19201 $as_echo "yes" >&6; }
19203 cat >>confdefs.h
<<\_ACEOF
19204 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
19209 $as_echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19212 { $as_echo "$as_me:$LINENO: result: no" >&5
19213 $as_echo "no" >&6; }
19224 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
19225 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
19228 cat confdefs.h
- <<_ACEOF >conftest.c
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19236 #include <linux/mm.h>
19242 enum zone_stat_item zsi __attribute__ ((unused));
19252 rm -Rf build
&& mkdir
-p build
19253 echo "obj-m := conftest.o" >build
/Makefile
19254 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'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19266 { $as_echo "$as_me:$LINENO: result: yes" >&5
19267 $as_echo "yes" >&6; }
19269 cat >>confdefs.h
<<\_ACEOF
19270 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
19275 $as_echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.
$ac_ext >&5
19278 { $as_echo "$as_me:$LINENO: result: no" >&5
19279 $as_echo "no" >&6; }
19289 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
19290 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
19293 cat confdefs.h
- <<_ACEOF >conftest.c
19296 cat confdefs.h
>>conftest.
$ac_ext
19297 cat >>conftest.
$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19301 #include <linux/mm.h>
19307 enum zone_stat_item zsi __attribute__ ((unused));
19308 zsi = NR_INACTIVE_ANON;
19317 rm -Rf build
&& mkdir
-p build
19318 echo "obj-m := conftest.o" >build
/Makefile
19319 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'
19320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321 (eval $ac_try) 2>&5
19323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326 (eval $ac_try) 2>&5
19328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); }; }; then
19331 { $as_echo "$as_me:$LINENO: result: yes" >&5
19332 $as_echo "yes" >&6; }
19334 cat >>confdefs.h
<<\_ACEOF
19335 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
19340 $as_echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19343 { $as_echo "$as_me:$LINENO: result: no" >&5
19344 $as_echo "no" >&6; }
19354 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
19355 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
19358 cat confdefs.h
- <<_ACEOF >conftest.c
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19366 #include <linux/mm.h>
19372 enum zone_stat_item zsi __attribute__ ((unused));
19373 zsi = NR_INACTIVE_FILE;
19382 rm -Rf build
&& mkdir
-p build
19383 echo "obj-m := conftest.o" >build
/Makefile
19384 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'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19396 { $as_echo "$as_me:$LINENO: result: yes" >&5
19397 $as_echo "yes" >&6; }
19399 cat >>confdefs.h
<<\_ACEOF
19400 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
19405 $as_echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.
$ac_ext >&5
19408 { $as_echo "$as_me:$LINENO: result: no" >&5
19409 $as_echo "no" >&6; }
19420 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
19421 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
19424 cat confdefs.h
- <<_ACEOF >conftest.c
19427 cat confdefs.h
>>conftest.
$ac_ext
19428 cat >>conftest.
$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19432 #include <linux/mm.h>
19438 enum zone_stat_item zsi __attribute__ ((unused));
19448 rm -Rf build
&& mkdir
-p build
19449 echo "obj-m := conftest.o" >build
/Makefile
19450 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'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19462 { $as_echo "$as_me:$LINENO: result: yes" >&5
19463 $as_echo "yes" >&6; }
19465 cat >>confdefs.h
<<\_ACEOF
19466 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
19471 $as_echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.
$ac_ext >&5
19474 { $as_echo "$as_me:$LINENO: result: no" >&5
19475 $as_echo "no" >&6; }
19485 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
19486 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
19489 cat confdefs.h
- <<_ACEOF >conftest.c
19492 cat confdefs.h
>>conftest.
$ac_ext
19493 cat >>conftest.
$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19497 #include <linux/mm.h>
19503 enum zone_stat_item zsi __attribute__ ((unused));
19504 zsi = NR_ACTIVE_ANON;
19513 rm -Rf build
&& mkdir
-p build
19514 echo "obj-m := conftest.o" >build
/Makefile
19515 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'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19527 { $as_echo "$as_me:$LINENO: result: yes" >&5
19528 $as_echo "yes" >&6; }
19530 cat >>confdefs.h
<<\_ACEOF
19531 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
19536 $as_echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19539 { $as_echo "$as_me:$LINENO: result: no" >&5
19540 $as_echo "no" >&6; }
19550 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
19551 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
19554 cat confdefs.h
- <<_ACEOF >conftest.c
19557 cat confdefs.h
>>conftest.
$ac_ext
19558 cat >>conftest.
$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19562 #include <linux/mm.h>
19568 enum zone_stat_item zsi __attribute__ ((unused));
19569 zsi = NR_ACTIVE_FILE;
19578 rm -Rf build
&& mkdir
-p build
19579 echo "obj-m := conftest.o" >build
/Makefile
19580 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'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; }; then
19592 { $as_echo "$as_me:$LINENO: result: yes" >&5
19593 $as_echo "yes" >&6; }
19595 cat >>confdefs.h
<<\_ACEOF
19596 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
19601 $as_echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.
$ac_ext >&5
19604 { $as_echo "$as_me:$LINENO: result: no" >&5
19605 $as_echo "no" >&6; }
19616 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
19617 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
19620 cat confdefs.h
- <<_ACEOF >conftest.c
19623 cat confdefs.h
>>conftest.
$ac_ext
19624 cat >>conftest.
$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19633 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
19634 #error "global_page_state needs NR_FREE_PAGES"
19637 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
19638 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
19639 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
19640 #error "global_page_state needs NR_ACTIVE*"
19643 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
19644 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
19645 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
19646 #error "global_page_state needs NR_INACTIVE*"
19656 rm -Rf build
&& mkdir
-p build
19657 echo "obj-m := conftest.o" >build
/Makefile
19658 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'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19670 { $as_echo "$as_me:$LINENO: result: no" >&5
19671 $as_echo "no" >&6; }
19674 $as_echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.
$ac_ext >&5
19677 { $as_echo "$as_me:$LINENO: result: yes" >&5
19678 $as_echo "yes" >&6; }
19680 cat >>confdefs.h
<<\_ACEOF
19681 #define NEED_GET_ZONE_COUNTS 1
19685 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
19686 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
19687 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
19688 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19690 if test $rc -ne 0; then
19693 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
19694 "$LINUX_OBJ/$file" 2>/dev
/null
19696 if test $rc -eq 0; then
19701 if test $export -eq 0; then
19702 { $as_echo "$as_me:$LINENO: result: no" >&5
19703 $as_echo "no" >&6; }
19706 { $as_echo "$as_me:$LINENO: result: yes" >&5
19707 $as_echo "yes" >&6; }
19709 cat >>confdefs.h
<<\_ACEOF
19710 #define HAVE_GET_ZONE_COUNTS 1
19715 { $as_echo "$as_me:$LINENO: result: yes" >&5
19716 $as_echo "yes" >&6; }
19718 cat >>confdefs.h
<<\_ACEOF
19719 #define HAVE_GET_ZONE_COUNTS 1
19734 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
19735 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
19736 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
19737 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19739 if test $rc -ne 0; then
19742 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
19743 "$LINUX_OBJ/$file" 2>/dev
/null
19745 if test $rc -eq 0; then
19750 if test $export -eq 0; then
19751 { $as_echo "$as_me:$LINENO: result: no" >&5
19752 $as_echo "no" >&6; }
19755 { $as_echo "$as_me:$LINENO: result: yes" >&5
19756 $as_echo "yes" >&6; }
19758 cat >>confdefs.h
<<\_ACEOF
19759 #define HAVE_USER_PATH_DIR 1
19764 { $as_echo "$as_me:$LINENO: result: yes" >&5
19765 $as_echo "yes" >&6; }
19767 cat >>confdefs.h
<<\_ACEOF
19768 #define HAVE_USER_PATH_DIR 1
19775 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
19776 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
19777 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
19778 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19780 if test $rc -ne 0; then
19783 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
19784 "$LINUX_OBJ/$file" 2>/dev
/null
19786 if test $rc -eq 0; then
19791 if test $export -eq 0; then
19792 { $as_echo "$as_me:$LINENO: result: no" >&5
19793 $as_echo "no" >&6; }
19796 { $as_echo "$as_me:$LINENO: result: yes" >&5
19797 $as_echo "yes" >&6; }
19799 cat >>confdefs.h
<<\_ACEOF
19800 #define HAVE_SET_FS_PWD 1
19805 { $as_echo "$as_me:$LINENO: result: yes" >&5
19806 $as_echo "yes" >&6; }
19808 cat >>confdefs.h
<<\_ACEOF
19809 #define HAVE_SET_FS_PWD 1
19815 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
19816 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
19819 cat confdefs.h
- <<_ACEOF >conftest.c
19822 cat confdefs.h
>>conftest.
$ac_ext
19823 cat >>conftest.
$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19827 #include <linux/sched.h>
19828 #include <linux/fs_struct.h>
19834 set_fs_pwd(NULL, NULL);
19843 rm -Rf build
&& mkdir
-p build
19844 echo "obj-m := conftest.o" >build
/Makefile
19845 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'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19857 { $as_echo "$as_me:$LINENO: result: yes" >&5
19858 $as_echo "yes" >&6; }
19860 cat >>confdefs.h
<<\_ACEOF
19861 #define HAVE_2ARGS_SET_FS_PWD 1
19866 $as_echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.
$ac_ext >&5
19869 { $as_echo "$as_me:$LINENO: result: no" >&5
19870 $as_echo "no" >&6; }
19880 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
19881 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
19884 cat confdefs.h
- <<_ACEOF >conftest.c
19887 cat confdefs.h
>>conftest.
$ac_ext
19888 cat >>conftest.
$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19892 #include <linux/fs.h>
19898 vfs_unlink(NULL, NULL);
19907 rm -Rf build
&& mkdir
-p build
19908 echo "obj-m := conftest.o" >build
/Makefile
19909 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'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19921 { $as_echo "$as_me:$LINENO: result: yes" >&5
19922 $as_echo "yes" >&6; }
19924 cat >>confdefs.h
<<\_ACEOF
19925 #define HAVE_2ARGS_VFS_UNLINK 1
19930 $as_echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.
$ac_ext >&5
19933 { $as_echo "$as_me:$LINENO: result: no" >&5
19934 $as_echo "no" >&6; }
19944 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
19945 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
19948 cat confdefs.h
- <<_ACEOF >conftest.c
19951 cat confdefs.h
>>conftest.
$ac_ext
19952 cat >>conftest.
$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19956 #include <linux/fs.h>
19962 vfs_rename(NULL, NULL, NULL, NULL);
19971 rm -Rf build
&& mkdir
-p build
19972 echo "obj-m := conftest.o" >build
/Makefile
19973 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'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19985 { $as_echo "$as_me:$LINENO: result: yes" >&5
19986 $as_echo "yes" >&6; }
19988 cat >>confdefs.h
<<\_ACEOF
19989 #define HAVE_4ARGS_VFS_RENAME 1
19994 $as_echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
19997 { $as_echo "$as_me:$LINENO: result: no" >&5
19998 $as_echo "no" >&6; }
20009 { $as_echo "$as_me:$LINENO: checking whether symbol vfs_fsync is exported" >&5
20010 $as_echo_n "checking whether symbol vfs_fsync is exported... " >&6; }
20011 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
20012 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20014 if test $rc -ne 0; then
20016 for file in fs
/sync.c
; do
20017 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
20018 "$LINUX_OBJ/$file" 2>/dev
/null
20020 if test $rc -eq 0; then
20025 if test $export -eq 0; then
20026 { $as_echo "$as_me:$LINENO: result: no" >&5
20027 $as_echo "no" >&6; }
20030 { $as_echo "$as_me:$LINENO: result: yes" >&5
20031 $as_echo "yes" >&6; }
20033 cat >>confdefs.h
<<\_ACEOF
20034 #define HAVE_VFS_FSYNC 1
20039 { $as_echo "$as_me:$LINENO: result: yes" >&5
20040 $as_echo "yes" >&6; }
20042 cat >>confdefs.h
<<\_ACEOF
20043 #define HAVE_VFS_FSYNC 1
20050 { $as_echo "$as_me:$LINENO: checking whether vfs_fsync() wants 2 args" >&5
20051 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
20054 cat confdefs.h
- <<_ACEOF >conftest.c
20057 cat confdefs.h
>>conftest.
$ac_ext
20058 cat >>conftest.
$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20062 #include <linux/fs.h>
20068 vfs_fsync(NULL, 0);
20077 rm -Rf build
&& mkdir
-p build
20078 echo "obj-m := conftest.o" >build
/Makefile
20079 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'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20091 { $as_echo "$as_me:$LINENO: result: yes" >&5
20092 $as_echo "yes" >&6; }
20094 cat >>confdefs.h
<<\_ACEOF
20095 #define HAVE_2ARGS_VFS_FSYNC 1
20100 $as_echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.
$ac_ext >&5
20103 { $as_echo "$as_me:$LINENO: result: no" >&5
20104 $as_echo "no" >&6; }
20115 { $as_echo "$as_me:$LINENO: checking whether struct fs_struct uses spinlock_t" >&5
20116 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
20117 tmp_flags
="$EXTRA_KCFLAGS"
20118 EXTRA_KCFLAGS
="-Werror"
20121 cat confdefs.h
- <<_ACEOF >conftest.c
20124 cat confdefs.h
>>conftest.
$ac_ext
20125 cat >>conftest.
$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20129 #include <linux/sched.h>
20130 #include <linux/fs_struct.h>
20136 struct fs_struct fs;
20137 spin_lock_init(&fs.lock);
20146 rm -Rf build
&& mkdir
-p build
20147 echo "obj-m := conftest.o" >build
/Makefile
20148 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'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then
20160 { $as_echo "$as_me:$LINENO: result: yes" >&5
20161 $as_echo "yes" >&6; }
20163 cat >>confdefs.h
<<\_ACEOF
20164 #define HAVE_FS_STRUCT_SPINLOCK 1
20169 $as_echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20172 { $as_echo "$as_me:$LINENO: result: no" >&5
20173 $as_echo "no" >&6; }
20182 EXTRA_KCFLAGS
="$tmp_flags"
20185 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
20186 $as_echo_n "checking whether struct cred exists... " >&6; }
20189 cat confdefs.h
- <<_ACEOF >conftest.c
20192 cat confdefs.h
>>conftest.
$ac_ext
20193 cat >>conftest.
$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20197 #include <linux/cred.h>
20203 struct cred *cr __attribute__ ((unused));
20213 rm -Rf build
&& mkdir
-p build
20214 echo "obj-m := conftest.o" >build
/Makefile
20215 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'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20227 { $as_echo "$as_me:$LINENO: result: yes" >&5
20228 $as_echo "yes" >&6; }
20230 cat >>confdefs.h
<<\_ACEOF
20231 #define HAVE_CRED_STRUCT 1
20236 $as_echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.
$ac_ext >&5
20239 { $as_echo "$as_me:$LINENO: result: no" >&5
20240 $as_echo "no" >&6; }
20251 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
20252 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
20253 grep -q -E '[[:space:]]groups_search[[:space:]]' \
20254 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20256 if test $rc -ne 0; then
20259 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
20260 "$LINUX_OBJ/$file" 2>/dev
/null
20262 if test $rc -eq 0; then
20267 if test $export -eq 0; then
20268 { $as_echo "$as_me:$LINENO: result: no" >&5
20269 $as_echo "no" >&6; }
20272 { $as_echo "$as_me:$LINENO: result: yes" >&5
20273 $as_echo "yes" >&6; }
20275 cat >>confdefs.h
<<\_ACEOF
20276 #define HAVE_GROUPS_SEARCH 1
20281 { $as_echo "$as_me:$LINENO: result: yes" >&5
20282 $as_echo "yes" >&6; }
20284 cat >>confdefs.h
<<\_ACEOF
20285 #define HAVE_GROUPS_SEARCH 1
20292 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
20293 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
20294 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
20295 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20297 if test $rc -ne 0; then
20300 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
20301 "$LINUX_OBJ/$file" 2>/dev
/null
20303 if test $rc -eq 0; then
20308 if test $export -eq 0; then
20309 { $as_echo "$as_me:$LINENO: result: no" >&5
20310 $as_echo "no" >&6; }
20313 { $as_echo "$as_me:$LINENO: result: yes" >&5
20314 $as_echo "yes" >&6; }
20316 cat >>confdefs.h
<<\_ACEOF
20317 #define HAVE_PUT_TASK_STRUCT 1
20322 { $as_echo "$as_me:$LINENO: result: yes" >&5
20323 $as_echo "yes" >&6; }
20325 cat >>confdefs.h
<<\_ACEOF
20326 #define HAVE_PUT_TASK_STRUCT 1
20333 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
20334 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
20337 cat confdefs.h
- <<_ACEOF >conftest.c
20340 cat confdefs.h
>>conftest.
$ac_ext
20341 cat >>conftest.
$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20345 #include <linux/sysctl.h>
20351 proc_dostring(NULL, 0, NULL, NULL, NULL);
20360 rm -Rf build
&& mkdir
-p build
20361 echo "obj-m := conftest.o" >build
/Makefile
20362 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'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20374 { $as_echo "$as_me:$LINENO: result: yes" >&5
20375 $as_echo "yes" >&6; }
20377 cat >>confdefs.h
<<\_ACEOF
20378 #define HAVE_5ARGS_PROC_HANDLER 1
20383 $as_echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.
$ac_ext >&5
20386 { $as_echo "$as_me:$LINENO: result: no" >&5
20387 $as_echo "no" >&6; }
20398 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
20399 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
20400 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
20401 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20403 if test $rc -ne 0; then
20406 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
20407 "$LINUX_OBJ/$file" 2>/dev
/null
20409 if test $rc -eq 0; then
20414 if test $export -eq 0; then
20415 { $as_echo "$as_me:$LINENO: result: no" >&5
20416 $as_echo "no" >&6; }
20419 { $as_echo "$as_me:$LINENO: result: yes" >&5
20420 $as_echo "yes" >&6; }
20422 cat >>confdefs.h
<<\_ACEOF
20423 #define HAVE_KVASPRINTF 1
20428 { $as_echo "$as_me:$LINENO: result: yes" >&5
20429 $as_echo "yes" >&6; }
20431 cat >>confdefs.h
<<\_ACEOF
20432 #define HAVE_KVASPRINTF 1
20439 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
20440 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
20441 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
20442 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20444 if test $rc -ne 0; then
20446 for file in lib
/rwsem-spinlock.c
; do
20447 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
20448 "$LINUX_OBJ/$file" 2>/dev
/null
20450 if test $rc -eq 0; then
20455 if test $export -eq 0; then
20456 { $as_echo "$as_me:$LINENO: result: no" >&5
20457 $as_echo "no" >&6; }
20460 { $as_echo "$as_me:$LINENO: result: yes" >&5
20461 $as_echo "yes" >&6; }
20463 cat >>confdefs.h
<<\_ACEOF
20464 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
20469 { $as_echo "$as_me:$LINENO: result: yes" >&5
20470 $as_echo "yes" >&6; }
20472 cat >>confdefs.h
<<\_ACEOF
20473 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
20480 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes is exported" >&5
20481 $as_echo_n "checking whether symbol invalidate_inodes is exported... " >&6; }
20482 grep -q -E '[[:space:]]invalidate_inodes[[:space:]]' \
20483 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20485 if test $rc -ne 0; then
20488 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes)" \
20489 "$LINUX_OBJ/$file" 2>/dev
/null
20491 if test $rc -eq 0; then
20496 if test $export -eq 0; then
20497 { $as_echo "$as_me:$LINENO: result: no" >&5
20498 $as_echo "no" >&6; }
20501 { $as_echo "$as_me:$LINENO: result: yes" >&5
20502 $as_echo "yes" >&6; }
20504 cat >>confdefs.h
<<\_ACEOF
20505 #define HAVE_INVALIDATE_INODES 1
20510 { $as_echo "$as_me:$LINENO: result: yes" >&5
20511 $as_echo "yes" >&6; }
20513 cat >>confdefs.h
<<\_ACEOF
20514 #define HAVE_INVALIDATE_INODES 1
20519 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes_check is exported" >&5
20520 $as_echo_n "checking whether symbol invalidate_inodes_check is exported... " >&6; }
20521 grep -q -E '[[:space:]]invalidate_inodes_check[[:space:]]' \
20522 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20524 if test $rc -ne 0; then
20527 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes_check)" \
20528 "$LINUX_OBJ/$file" 2>/dev
/null
20530 if test $rc -eq 0; then
20535 if test $export -eq 0; then
20536 { $as_echo "$as_me:$LINENO: result: no" >&5
20537 $as_echo "no" >&6; }
20540 { $as_echo "$as_me:$LINENO: result: yes" >&5
20541 $as_echo "yes" >&6; }
20543 cat >>confdefs.h
<<\_ACEOF
20544 #define HAVE_INVALIDATE_INODES_CHECK 1
20549 { $as_echo "$as_me:$LINENO: result: yes" >&5
20550 $as_echo "yes" >&6; }
20552 cat >>confdefs.h
<<\_ACEOF
20553 #define HAVE_INVALIDATE_INODES_CHECK 1
20559 { $as_echo "$as_me:$LINENO: checking whether invalidate_inodes() wants 2 args" >&5
20560 $as_echo_n "checking whether invalidate_inodes() wants 2 args... " >&6; }
20563 cat confdefs.h
- <<_ACEOF >conftest.c
20566 cat confdefs.h
>>conftest.
$ac_ext
20567 cat >>conftest.
$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20571 #include <linux/fs.h>
20577 return __invalidate_device(NULL, 0);
20586 rm -Rf build
&& mkdir
-p build
20587 echo "obj-m := conftest.o" >build
/Makefile
20588 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'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20600 { $as_echo "$as_me:$LINENO: result: yes" >&5
20601 $as_echo "yes" >&6; }
20603 cat >>confdefs.h
<<\_ACEOF
20604 #define HAVE_2ARGS_INVALIDATE_INODES 1
20609 $as_echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 { $as_echo "$as_me:$LINENO: result: no" >&5
20613 $as_echo "no" >&6; }
20624 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_dcache_memory is exported" >&5
20625 $as_echo_n "checking whether symbol shrink_dcache_memory is exported... " >&6; }
20626 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
20627 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20629 if test $rc -ne 0; then
20631 for file in fs
/dcache.c
; do
20632 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
20633 "$LINUX_OBJ/$file" 2>/dev
/null
20635 if test $rc -eq 0; then
20640 if test $export -eq 0; then
20641 { $as_echo "$as_me:$LINENO: result: no" >&5
20642 $as_echo "no" >&6; }
20645 { $as_echo "$as_me:$LINENO: result: yes" >&5
20646 $as_echo "yes" >&6; }
20648 cat >>confdefs.h
<<\_ACEOF
20649 #define HAVE_SHRINK_DCACHE_MEMORY 1
20654 { $as_echo "$as_me:$LINENO: result: yes" >&5
20655 $as_echo "yes" >&6; }
20657 cat >>confdefs.h
<<\_ACEOF
20658 #define HAVE_SHRINK_DCACHE_MEMORY 1
20665 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_icache_memory is exported" >&5
20666 $as_echo_n "checking whether symbol shrink_icache_memory is exported... " >&6; }
20667 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
20668 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20670 if test $rc -ne 0; then
20672 for file in fs
/inode.c
; do
20673 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
20674 "$LINUX_OBJ/$file" 2>/dev
/null
20676 if test $rc -eq 0; then
20681 if test $export -eq 0; then
20682 { $as_echo "$as_me:$LINENO: result: no" >&5
20683 $as_echo "no" >&6; }
20686 { $as_echo "$as_me:$LINENO: result: yes" >&5
20687 $as_echo "yes" >&6; }
20689 cat >>confdefs.h
<<\_ACEOF
20690 #define HAVE_SHRINK_ICACHE_MEMORY 1
20695 { $as_echo "$as_me:$LINENO: result: yes" >&5
20696 $as_echo "yes" >&6; }
20698 cat >>confdefs.h
<<\_ACEOF
20699 #define HAVE_SHRINK_ICACHE_MEMORY 1
20707 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent exists in header" >&5
20708 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
20710 for file in include
/linux
/namei.h
; do
20711 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
20713 if test $rc -eq 0; then
20718 if test $header -eq 0; then
20719 { $as_echo "$as_me:$LINENO: result: no" >&5
20720 $as_echo "no" >&6; }
20723 { $as_echo "$as_me:$LINENO: result: yes" >&5
20724 $as_echo "yes" >&6; }
20726 cat >>confdefs.h
<<\_ACEOF
20727 #define HAVE_KERN_PATH_PARENT_HEADER 1
20734 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent is exported" >&5
20735 $as_echo_n "checking whether symbol kern_path_parent is exported... " >&6; }
20736 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
20737 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20739 if test $rc -ne 0; then
20741 for file in fs
/namei.c
; do
20742 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
20743 "$LINUX_OBJ/$file" 2>/dev
/null
20745 if test $rc -eq 0; then
20750 if test $export -eq 0; then
20751 { $as_echo "$as_me:$LINENO: result: no" >&5
20752 $as_echo "no" >&6; }
20755 { $as_echo "$as_me:$LINENO: result: yes" >&5
20756 $as_echo "yes" >&6; }
20758 cat >>confdefs.h
<<\_ACEOF
20759 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
20764 { $as_echo "$as_me:$LINENO: result: yes" >&5
20765 $as_echo "yes" >&6; }
20767 cat >>confdefs.h
<<\_ACEOF
20768 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
20774 { $as_echo "$as_me:$LINENO: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
20775 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
20778 cat confdefs.h
- <<_ACEOF >conftest.c
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20786 #include <linux/zlib.h>
20792 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
20801 rm -Rf build
&& mkdir
-p build
20802 echo "obj-m := conftest.o" >build
/Makefile
20803 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'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20815 { $as_echo "$as_me:$LINENO: result: yes" >&5
20816 $as_echo "yes" >&6; }
20818 cat >>confdefs.h
<<\_ACEOF
20819 #define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1
20824 $as_echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 { $as_echo "$as_me:$LINENO: result: no" >&5
20828 $as_echo "no" >&6; }
20839 { $as_echo "$as_me:$LINENO: checking whether struct shrink_control exists" >&5
20840 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
20843 cat confdefs.h
- <<_ACEOF >conftest.c
20846 cat confdefs.h
>>conftest.
$ac_ext
20847 cat >>conftest.
$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20851 #include <linux/mm.h>
20857 struct shrink_control sc __attribute__ ((unused));
20860 sc.gfp_mask = GFP_KERNEL;
20869 rm -Rf build
&& mkdir
-p build
20870 echo "obj-m := conftest.o" >build
/Makefile
20871 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'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20883 { $as_echo "$as_me:$LINENO: result: yes" >&5
20884 $as_echo "yes" >&6; }
20886 cat >>confdefs.h
<<\_ACEOF
20887 #define HAVE_SHRINK_CONTROL_STRUCT 1
20892 $as_echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.
$ac_ext >&5
20895 { $as_echo "$as_me:$LINENO: result: no" >&5
20896 $as_echo "no" >&6; }
20907 { $as_echo "$as_me:$LINENO: checking whether struct rw_semaphore member wait_lock is raw" >&5
20908 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
20909 tmp_flags
="$EXTRA_KCFLAGS"
20910 EXTRA_KCFLAGS
="-Werror"
20913 cat confdefs.h
- <<_ACEOF >conftest.c
20916 cat confdefs.h
>>conftest.
$ac_ext
20917 cat >>conftest.
$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20921 #include <linux/rwsem.h>
20927 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
20928 raw_spinlock_t dummy_lock __attribute__ ((unused));
20929 dummy_semaphore.wait_lock = dummy_lock;
20938 rm -Rf build
&& mkdir
-p build
20939 echo "obj-m := conftest.o" >build
/Makefile
20940 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'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20952 { $as_echo "$as_me:$LINENO: result: yes" >&5
20953 $as_echo "yes" >&6; }
20955 cat >>confdefs.h
<<\_ACEOF
20956 #define RWSEM_SPINLOCK_IS_RAW 1
20961 $as_echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 { $as_echo "$as_me:$LINENO: result: no" >&5
20965 $as_echo "no" >&6; }
20974 EXTRA_KCFLAGS
="$tmp_flags"
20977 { $as_echo "$as_me:$LINENO: checking whether pmd_alloc_with_mask exists" >&5
20978 $as_echo_n "checking whether pmd_alloc_with_mask exists... " >&6; }
20981 cat confdefs.h
- <<_ACEOF >conftest.c
20984 cat confdefs.h
>>conftest.
$ac_ext
20985 cat >>conftest.
$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20989 #if !defined(CONFIG_MMU)
20993 #if defined(RCH_HAS_4LEVEL_HACK)
20994 #undef RCH_HAS_4LEVEL_HACK
20997 #include <linux/mm.h>
21003 struct mm_struct init_mm;
21005 unsigned long addr = 0;
21006 gfp_t gfp_mask = GFP_KERNEL;
21008 pmd_alloc_with_mask(&init_mm, pud, addr, gfp_mask);
21017 rm -Rf build
&& mkdir
-p build
21018 echo "obj-m := conftest.o" >build
/Makefile
21019 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'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21031 { $as_echo "$as_me:$LINENO: result: yes" >&5
21032 $as_echo "yes" >&6; }
21034 cat >>confdefs.h
<<\_ACEOF
21035 #define HAVE_PMD_ALLOC_WITH_MASK 1
21040 $as_echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.
$ac_ext >&5
21043 { $as_echo "$as_me:$LINENO: result: no" >&5
21044 $as_echo "no" >&6; }
21058 { $as_echo "$as_me:$LINENO: result: Error!" >&5
21059 $as_echo "Error!" >&6; }
21060 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
21061 user kernel|user|all|srpm" >&5
21062 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
21063 user kernel|user|all|srpm" >&2;}
21064 { (exit 1); exit 1; }; } ;;
21067 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
21069 CONFIG_USER_FALSE
='#'
21071 CONFIG_USER_TRUE
='#'
21075 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
21076 test "x$enable_linux_builtin" != xyes
; then
21077 CONFIG_KERNEL_TRUE
=
21078 CONFIG_KERNEL_FALSE
='#'
21080 CONFIG_KERNEL_TRUE
='#'
21081 CONFIG_KERNEL_FALSE
=
21086 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 PKGBUILD-spl PKGBUILD-spl-modules spl.release"
21089 cat >confcache
<<\_ACEOF
21090 # This file is a shell script that caches the results of configure
21091 # tests run on this system so they can be shared between configure
21092 # scripts and configure runs, see configure's option --config-cache.
21093 # It is not useful on other systems. If it contains results you don't
21094 # want to keep, you may remove or edit it.
21096 # config.status only pays attention to the cache file if you give it
21097 # the --recheck option to rerun configure.
21099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21101 # following values.
21105 # The following way of writing the cache mishandles newlines in values,
21106 # but we know of no workaround that is simple, portable, and efficient.
21107 # So, we kill variables containing newlines.
21108 # Ultrix sh set writes to stderr and can't be redirected directly,
21109 # and sets the high bit in the cache file unless we assign to the vars.
21111 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21112 eval ac_val
=\$
$ac_var
21116 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
21117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21120 _ | IFS | as_nl
) ;; #(
21121 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21122 *) $as_unset $ac_var ;;
21128 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21129 *${as_nl}ac_space
=\
*)
21130 # `set' does not quote correctly, so add quotes (double-quote
21131 # substitution turns \\\\ into \\, and sed turns \\ into \).
21134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21137 # `set' quotes correctly as required by POSIX, so do not add quotes.
21138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21149 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21151 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21152 if test -w "$cache_file"; then
21153 test "x$cache_file" != "x/dev/null" &&
21154 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21155 $as_echo "$as_me: updating cache $cache_file" >&6;}
21156 cat confcache
>$cache_file
21158 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21164 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21165 # Let make expand exec_prefix.
21166 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21168 DEFS
=-DHAVE_CONFIG_H
21172 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21173 # 1. Remove the extension, and $U if already installed.
21174 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21175 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21176 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21177 # will be set to the directory where LIBOBJS objects are built.
21178 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21179 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21181 LIBOBJS
=$ac_libobjs
21183 LTLIBOBJS
=$ac_ltlibobjs
21186 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21187 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21188 Usually this means the macro was only invoked conditionally." >&5
21189 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21190 Usually this means the macro was only invoked conditionally." >&2;}
21191 { (exit 1); exit 1; }; }
21193 if test -n "$EXEEXT"; then
21195 am__EXEEXT_FALSE
='#'
21197 am__EXEEXT_TRUE
='#'
21201 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21202 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21203 Usually this means the macro was only invoked conditionally." >&5
21204 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21205 Usually this means the macro was only invoked conditionally." >&2;}
21206 { (exit 1); exit 1; }; }
21208 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21209 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21210 Usually this means the macro was only invoked conditionally." >&5
21211 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21212 Usually this means the macro was only invoked conditionally." >&2;}
21213 { (exit 1); exit 1; }; }
21215 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
21216 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
21217 Usually this means the macro was only invoked conditionally." >&5
21218 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
21219 Usually this means the macro was only invoked conditionally." >&2;}
21220 { (exit 1); exit 1; }; }
21222 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
21223 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
21224 Usually this means the macro was only invoked conditionally." >&5
21225 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
21226 Usually this means the macro was only invoked conditionally." >&2;}
21227 { (exit 1); exit 1; }; }
21230 : ${CONFIG_STATUS=./config.status}
21232 ac_clean_files_save
=$ac_clean_files
21233 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21234 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21235 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21236 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21238 # Generated by $as_me.
21239 # Run this file to recreate the current configuration.
21240 # Compiler output produced by configure, useful for debugging
21241 # configure, is in config.log if it exists.
21244 ac_cs_recheck=false
21246 SHELL=\${CONFIG_SHELL-$SHELL}
21249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21250 ## --------------------- ##
21251 ## M4sh Initialization. ##
21252 ## --------------------- ##
21254 # Be more Bourne compatible
21255 DUALCASE
=1; export DUALCASE
# for MKS sh
21256 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21259 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21260 # is contrary to our usage. Disable this feature.
21261 alias -g '${1+"$@"}'='"$@"'
21262 setopt NO_GLOB_SUBST
21264 case `(set -o) 2>/dev/null` in
21265 *posix
*) set -o posix
;;
21274 # Avoid depending upon Character Ranges.
21275 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21276 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21277 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21278 as_cr_digits
='0123456789'
21279 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21284 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21285 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21288 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21289 as_echo='printf %s
\n'
21290 as_echo_n='printf %s
'
21292 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21293 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21294 as_echo_n='/usr
/ucb
/echo -n'
21296 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21297 as_echo_n_body='eval
21301 expr "X$arg" : "X\\(.*\\)$as_nl";
21302 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21304 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21306 export as_echo_n_body
21307 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21309 export as_echo_body
21310 as_echo='sh
-c $as_echo_body as_echo
'
21313 # The user is always right.
21314 if test "${PATH_SEPARATOR+set}" != set; then
21316 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21317 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21322 # Support unset when possible.
21323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21331 # We need space, tab and new line, in precisely that order. Quoting is
21332 # there to prevent editors from complaining about space-tab.
21333 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21334 # splitting by setting IFS to empty value.)
21337 # Find who we are. Look in the path if we contain no directory separator.
21339 *[\\/]* ) as_myself=$0 ;;
21340 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21341 for as_dir in $PATH
21344 test -z "$as_dir" && as_dir=.
21345 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21351 # We did not find ourselves, most probably we were run as `sh COMMAND'
21352 # in which case we are not to be found in the path.
21353 if test "x$as_myself" = x
; then
21356 if test ! -f "$as_myself"; then
21357 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21358 { (exit 1); exit 1; }
21361 # Work around bugs in pre-3.0 UWIN ksh.
21362 for as_var
in ENV MAIL MAILPATH
21363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21375 # Required to use basename.
21376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21384 as_basename
=basename
21390 # Name of the executable.
21391 as_me
=`$as_basename -- "$0" ||
21392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21393 X"$0" : 'X\(//\)$' \| \
21394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21396 sed '/^.*\/\([^/][^/]*\)\/*$/{
21415 as_lineno_1
=$LINENO
21416 as_lineno_2
=$LINENO
21417 test "x$as_lineno_1" != "x$as_lineno_2" &&
21418 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21421 # uniformly replaced by the line number. The first 'sed' inserts a
21422 # line-number line after each line using $LINENO; the second 'sed'
21423 # does the real work. The second script uses 'N' to pair each
21424 # line-number line with the line containing $LINENO, and appends
21425 # trailing '-' during substitution so that $LINENO is not a special
21426 # case at line end.
21427 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21428 # scripts with optimization help from Paolo Bonzini. Blame Lee
21429 # E. McMahon (1931-1989) for sed's syntax. :-)
21441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21444 ' >$as_me.lineno
&&
21445 chmod +x
"$as_me.lineno" ||
21446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21447 { (exit 1); exit 1; }; }
21449 # Don't try to exec as it changes $[0], causing all sort of problems
21450 # (the dirname of $[0] is not the place where we might find the
21451 # original and so on. Autoconf is especially sensitive to this).
21452 .
"./$as_me.lineno"
21453 # Exit status is that of the last command.
21458 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21464 ECHO_C
= ECHO_N
= ECHO_T
=
21465 case `echo -n x` in
21467 case `echo 'x\c'` in
21468 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21474 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21475 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21481 rm -f conf$$ conf$$.exe conf$$.
file
21482 if test -d conf$$.dir
; then
21483 rm -f conf$$.dir
/conf$$.
file
21486 mkdir conf$$.dir
2>/dev
/null
21488 if (echo >conf$$.
file) 2>/dev
/null
; then
21489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21491 # ... but there are two gotchas:
21492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21494 # In both cases, we have to default to `cp -p'.
21495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21506 rmdir conf$$.dir
2>/dev
/null
21508 if mkdir
-p .
2>/dev
/null
; then
21511 test -d .
/-p && rmdir .
/-p
21515 if test -x / >/dev
/null
2>&1; then
21516 as_test_x
='test -x'
21518 if ls -dL / >/dev
/null
2>&1; then
21525 if test -d "$1"; then
21531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21532 ???[sx]*):;;*)false;;esac;fi
21536 as_executable_p
=$as_test_x
21538 # Sed expression to map a string onto a valid CPP name.
21539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21541 # Sed expression to map a string onto a valid variable name.
21542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21547 # Save the log message, to keep $[0] and so on meaningful, and to
21548 # report actual input values of CONFIG_FILES etc. instead of their
21549 # values after options handling.
21551 This file was extended by $as_me, which was
21552 generated by GNU Autoconf 2.63. Invocation command line was
21554 CONFIG_FILES = $CONFIG_FILES
21555 CONFIG_HEADERS = $CONFIG_HEADERS
21556 CONFIG_LINKS = $CONFIG_LINKS
21557 CONFIG_COMMANDS = $CONFIG_COMMANDS
21560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21565 case $ac_config_files in *"
21566 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21569 case $ac_config_headers in *"
21570 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21575 # Files that config.status was made for.
21576 config_files="$ac_config_files"
21577 config_headers="$ac_config_headers"
21578 config_commands="$ac_config_commands"
21582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21584 \`$as_me' instantiates files from templates according to the
21585 current configuration.
21587 Usage: $0 [OPTION]... [FILE]...
21589 -h, --help print this help, then exit
21590 -V, --version print version number and configuration settings, then exit
21591 -q, --quiet, --silent
21592 do not print progress messages
21593 -d, --debug don't remove temporary files
21594 --recheck update $as_me by reconfiguring in the same conditions
21595 --file=FILE[:TEMPLATE]
21596 instantiate the configuration file FILE
21597 --header=FILE[:TEMPLATE]
21598 instantiate the configuration header FILE
21600 Configuration files:
21603 Configuration headers:
21606 Configuration commands:
21609 Report bugs to <bug-autoconf@gnu.org>."
21612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21615 configured by $0, generated by GNU Autoconf 2.63,
21616 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21618 Copyright (C) 2008 Free Software Foundation, Inc.
21619 This config.status script is free software; the Free Software Foundation
21620 gives unlimited permission to copy, distribute and modify it."
21627 test -n "\$AWK" || AWK=awk
21630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21631 # The default lists apply if the user does not specify any file.
21637 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21638 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21649 # Handling of the options.
21650 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21652 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21653 $as_echo "$ac_cs_version"; exit ;;
21654 --debug |
--debu |
--deb |
--de |
--d |
-d )
21656 --file |
--fil |
--fi |
--f )
21659 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21661 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
21662 ac_need_defaults
=false
;;
21663 --header |
--heade |
--head |
--hea )
21666 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21668 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
21669 ac_need_defaults
=false
;;
21671 # Conflict between --help and --header
21672 { $as_echo "$as_me: error: ambiguous option: $1
21673 Try \`$0 --help' for more information." >&2
21674 { (exit 1); exit 1; }; };;
21675 --help |
--hel |
-h )
21676 $as_echo "$ac_cs_usage"; exit ;;
21677 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21678 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21681 # This is an error.
21682 -*) { $as_echo "$as_me: error: unrecognized option: $1
21683 Try \`$0 --help' for more information." >&2
21684 { (exit 1); exit 1; }; } ;;
21686 *) ac_config_targets
="$ac_config_targets $1"
21687 ac_need_defaults
=false
;;
21693 ac_configure_extra_args
=
21695 if $ac_cs_silent; then
21697 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21702 if \$ac_cs_recheck; then
21703 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21705 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21706 CONFIG_SHELL='$SHELL'
21707 export CONFIG_SHELL
21712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21716 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21717 ## Running $as_me. ##
21723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21727 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21730 # The HP-UX ksh and POSIX shell print the target directory to stdout
21731 # if CDPATH is set.
21732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21734 sed_quote_subst='$sed_quote_subst'
21735 double_quote_subst='$double_quote_subst'
21736 delay_variable_subst='$delay_variable_subst'
21737 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21738 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21739 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21740 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21741 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21742 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21743 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21744 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21745 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21746 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21747 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21748 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21749 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21750 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21751 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21752 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21753 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21754 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21755 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21756 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21757 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21758 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21759 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21760 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21761 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21762 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21763 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21764 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21765 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21766 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21767 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21768 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21769 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21770 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21771 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21772 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21773 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21774 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21775 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21776 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21777 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21778 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21779 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21780 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21781 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"`'
21782 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"`'
21783 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21784 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21785 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21786 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21787 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21788 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21789 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21790 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21791 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21792 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21793 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
21794 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
21795 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
21796 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21797 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
21798 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21799 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21800 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21801 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21802 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21803 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21804 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21805 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21806 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21807 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21808 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21809 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21810 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21811 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21812 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21813 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21814 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21815 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21816 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21817 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21818 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21819 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21820 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21821 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21822 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21823 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21824 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21825 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21826 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21827 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21828 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21829 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21830 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21831 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21832 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21833 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21834 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21835 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21836 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21837 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21838 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21839 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21840 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21841 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21842 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21843 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21844 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21845 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21846 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21847 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21848 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21849 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21850 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21851 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21852 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21853 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21854 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21857 LTCFLAGS='$LTCFLAGS'
21858 compiler='$compiler_DEFAULT'
21860 # Quote evaled strings.
21872 deplibs_check_method \
21881 lt_cv_sys_global_symbol_pipe \
21882 lt_cv_sys_global_symbol_to_cdecl \
21883 lt_cv_sys_global_symbol_to_c_name_address \
21884 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21887 lt_prog_compiler_no_builtin_flag \
21888 lt_prog_compiler_wl \
21889 lt_prog_compiler_pic \
21890 lt_prog_compiler_static \
21891 lt_cv_prog_compiler_c_o \
21899 export_dynamic_flag_spec \
21900 whole_archive_flag_spec \
21901 compiler_needs_object \
21903 allow_undefined_flag \
21904 no_undefined_flag \
21905 hardcode_libdir_flag_spec \
21906 hardcode_libdir_flag_spec_ld \
21907 hardcode_libdir_separator \
21912 variables_saved_for_relink \
21914 library_names_spec \
21919 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21920 *[\\\\\\\`\\"\\\$]*)
21921 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21924 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21929 # Double-quote double-evaled strings.
21930 for var in reload_cmds \
21931 old_postinstall_cmds \
21932 old_postuninstall_cmds \
21934 extract_expsyms_cmds \
21935 old_archive_from_new_cmds \
21936 old_archive_from_expsyms_cmds \
21938 archive_expsym_cmds \
21940 module_expsym_cmds \
21941 export_symbols_cmds \
21944 postuninstall_cmds \
21946 sys_lib_search_path_spec \
21947 sys_lib_dlsearch_path_spec; do
21948 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21949 *[\\\\\\\`\\"\\\$]*)
21950 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21953 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21958 # Fix-up fallback echo if it was mangled by the above quoting rules.
21960 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21964 ac_aux_dir='$ac_aux_dir'
21965 xsi_shell='$xsi_shell'
21966 lt_shell_append='$lt_shell_append'
21968 # See if we are running on zsh, and set the options which allow our
21969 # commands through without removal of \ escapes INIT.
21970 if test -n "\${ZSH_VERSION+set}" ; then
21971 setopt NO_GLOB_SUBST
21977 TIMESTAMP='$TIMESTAMP'
21986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21988 # Handling of arguments.
21989 for ac_config_target
in $ac_config_targets
21991 case $ac_config_target in
21992 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
21993 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21994 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21995 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21996 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
21997 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
21998 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
21999 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
22000 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
22001 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22002 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
22003 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
22004 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
22005 "PKGBUILD-spl") CONFIG_FILES
="$CONFIG_FILES PKGBUILD-spl" ;;
22006 "PKGBUILD-spl-modules") CONFIG_FILES
="$CONFIG_FILES PKGBUILD-spl-modules" ;;
22007 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
22009 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22010 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22011 { (exit 1); exit 1; }; };;
22016 # If the user did not use the arguments to specify the items to instantiate,
22017 # then the envvar interface is used. Set only those that are not.
22018 # We use the long form for the default assignment because of an extremely
22019 # bizarre bug on SunOS 4.1.3.
22020 if $ac_need_defaults; then
22021 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22022 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22026 # Have a temporary directory for convenience. Make it in the build tree
22027 # simply because there is no reason against having it here, and in addition,
22028 # creating and moving files from /tmp can sometimes cause problems.
22029 # Hook for its removal unless debugging.
22030 # Note that there is a small window in which the directory will not be cleaned:
22031 # after its creation but before its name has been assigned to `$tmp'.
22035 trap 'exit_status=$?
22036 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22038 trap '{ (exit 1); exit 1; }' 1 2 13 15
22040 # Create a (secure) tmp directory for tmp files.
22043 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22044 test -n "$tmp" && test -d "$tmp"
22047 tmp
=.
/conf$$
-$RANDOM
22048 (umask 077 && mkdir
"$tmp")
22051 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22052 { (exit 1); exit 1; }
22055 # Set up the scripts for CONFIG_FILES section.
22056 # No need to generate them if there are no CONFIG_FILES.
22057 # This happens for instance with `./config.status config.h'.
22058 if test -n "$CONFIG_FILES"; then
22062 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22063 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22066 ac_cs_awk_cr
=$ac_cr
22069 echo 'BEGIN {' >"$tmp/subs1.awk" &&
22074 echo "cat >conf$$subs.awk <<_ACEOF" &&
22075 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22077 } >conf$$subs.sh ||
22078 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22079 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22080 { (exit 1); exit 1; }; }
22081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22083 for ac_last_try in false false false false false :; do
22084 . ./conf$$subs.sh ||
22085 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22086 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22087 { (exit 1); exit 1; }; }
22089 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22090 if test $ac_delim_n = $ac_delim_num; then
22092 elif $ac_last_try; then
22093 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22094 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22095 { (exit 1); exit 1; }; }
22097 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22100 rm -f conf$$subs.sh
22102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22103 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
22107 s/^/S["/; s
/!.
*/"]=/
22117 s/\(.\{148\}\).*/\1/
22119 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22124 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22131 s/\(.\{148\}\).*/\1/
22133 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22137 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22142 ' <conf$$subs.awk | sed '
22147 ' >>$CONFIG_STATUS || ac_write_fail=1
22148 rm -f conf$$subs.awk
22149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22151 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
22152 for (key in S) S_is_set[key] = 1
22158 nfields = split(line, field, "@
")
22160 len = length(field[1])
22161 for (i = 2; i < nfields; i++) {
22163 keylen = length(key)
22164 if (S_is_set[key]) {
22166 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22167 len += length(value) + length(field[++i])
22178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22179 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22180 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22183 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
22184 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
22185 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
22186 { (exit 1); exit 1; }; }
22189 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22190 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
22191 # trailing colons and then remove the whole line if VPATH becomes empty
22192 # (actually we leave an empty line to preserve line numbers).
22193 if test "x
$srcdir" = x.; then
22194 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22195 s/:*\$(srcdir):*/:/
22196 s/:*\${srcdir}:*/:/
22198 s/^\([^=]*=[ ]*\):*/\1/
22204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22205 fi # test -n "$CONFIG_FILES"
22207 # Set up the scripts for CONFIG_HEADERS section.
22208 # No need to generate them if there are no CONFIG_HEADERS.
22209 # This happens for instance with `./config.status Makefile'.
22210 if test -n "$CONFIG_HEADERS"; then
22211 cat >"$tmp/defines.
awk" <<\_ACAWK ||
22215 # Transform confdefs.h into an awk script `defines.awk', embedded as
22216 # here-document in config.status, that substitutes the proper values into
22217 # config.h.in to produce config.h.
22219 # Create a delimiter string that does not exist in confdefs.h, to ease
22220 # handling of long lines.
22222 for ac_last_try in false false :; do
22223 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
22224 if test -z "$ac_t"; then
22226 elif $ac_last_try; then
22227 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
22228 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
22229 { (exit 1); exit 1; }; }
22231 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22235 # For the awk script, D is an array of macro values keyed by name,
22236 # likewise P contains macro parameters if any. Preserve backslash
22237 # newline sequences.
22239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22241 s/.\{148\}/&'"$ac_delim"'/g
22244 s/^[ ]*#[ ]*define[ ][ ]*/ /
22251 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22253 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22258 D["\
1"]=" \
3\\\\\\n
"\\/p
22260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22265 s/.\{148\}/&'"$ac_delim"'/g
22270 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22273 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22275 ' <confdefs.h | sed '
22276 s/'"$ac_delim"'/"\\\
22277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22280 for (key in D) D_is_set[key] = 1
22283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22285 split(line, arg, " ")
22286 if (arg[1] == "#") {
22290 defundef
= substr
(arg
[1], 2)
22293 split(mac1
, mac2
, "(") #)
22295 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22296 if (D_is_set
[macro
]) {
22297 # Preserve the white space surrounding the "#".
22298 print prefix
"define", macro P
[macro
] D
[macro
]
22301 # Replace #undef with comments. This is necessary, for example,
22302 # in the case of _POSIX_SOURCE, which is predefined and required
22303 # on some systems where configure will not decide to define it.
22304 if (defundef
== "undef") {
22305 print
"/*", prefix defundef
, macro
, "*/"
22313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22314 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22315 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22316 { (exit 1); exit 1; }; }
22317 fi # test -n "$CONFIG_HEADERS"
22320 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22325 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22327 case $ac_mode$ac_tag in
22329 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22330 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22331 { (exit 1); exit 1; }; };;
22332 :[FH
]-) ac_tag
=-:-;;
22333 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22350 -) ac_f
="$tmp/stdin";;
22351 *) # Look for the file first in the build tree, then in the source tree
22352 # (if the path is not absolute). The absolute path cannot be DOS-style,
22353 # because $ac_f cannot contain `:'.
22357 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22359 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22360 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22361 { (exit 1); exit 1; }; };;
22363 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22364 ac_file_inputs
="$ac_file_inputs '$ac_f'"
22367 # Let's still pretend it is `configure' which instantiates (i.e., don't
22368 # use $as_me), people would be surprised to read:
22369 # /* config.h. Generated by config.status. */
22370 configure_input
='Generated from '`
22371 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22373 if test x
"$ac_file" != x-
; then
22374 configure_input
="$ac_file. $configure_input"
22375 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22376 $as_echo "$as_me: creating $ac_file" >&6;}
22378 # Neutralize special characters interpreted by sed in replacement strings.
22379 case $configure_input in #(
22380 *\
&* |
*\|
* |
*\\* )
22381 ac_sed_conf_input
=`$as_echo "$configure_input" |
22382 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22383 *) ac_sed_conf_input
=$configure_input;;
22387 *:-:* |
*:-) cat >"$tmp/stdin" \
22388 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22389 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22390 { (exit 1); exit 1; }; } ;;
22395 ac_dir
=`$as_dirname -- "$ac_file" ||
22396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22397 X"$ac_file" : 'X\(//\)[^/]' \| \
22398 X"$ac_file" : 'X\(//\)$' \| \
22399 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22400 $as_echo X"$ac_file" |
22401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22405 /^X\(\/\/\)[^/].*/{
22420 -*) as_dir
=.
/$as_dir;;
22422 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22426 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22427 *) as_qdir
=$as_dir;;
22429 as_dirs
="'$as_qdir' $as_dirs"
22430 as_dir
=`$as_dirname -- "$as_dir" ||
22431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22432 X"$as_dir" : 'X\(//\)[^/]' \| \
22433 X"$as_dir" : 'X\(//\)$' \| \
22434 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22435 $as_echo X"$as_dir" |
22436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22440 /^X\(\/\/\)[^/].*/{
22453 test -d "$as_dir" && break
22455 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22456 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22457 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22458 { (exit 1); exit 1; }; }; }
22462 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22464 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22465 # A ".." for each directory in $ac_dir_suffix.
22466 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22467 case $ac_top_builddir_sub in
22468 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22469 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22472 ac_abs_top_builddir
=$ac_pwd
22473 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22474 # for backward compatibility:
22475 ac_top_builddir
=$ac_top_build_prefix
22478 .
) # We are building in place.
22480 ac_top_srcdir
=$ac_top_builddir_sub
22481 ac_abs_top_srcdir
=$ac_pwd ;;
22482 [\\/]* | ?
:[\\/]* ) # Absolute name.
22483 ac_srcdir
=$srcdir$ac_dir_suffix;
22484 ac_top_srcdir
=$srcdir
22485 ac_abs_top_srcdir
=$srcdir ;;
22486 *) # Relative name.
22487 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22488 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22489 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22491 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22501 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22502 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22504 ac_MKDIR_P
=$MKDIR_P
22506 [\\/$
]* | ?
:[\\/]* ) ;;
22507 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22512 # If the template does not know about datarootdir, expand it.
22513 # FIXME: This hack should be removed a few years after 2.60.
22514 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22527 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22528 *datarootdir
*) ac_datarootdir_seen
=yes;;
22529 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22530 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22531 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22534 ac_datarootdir_hack='
22535 s&@datadir@&$datadir&g
22536 s&@docdir@&$docdir&g
22537 s&@infodir@&$infodir&g
22538 s&@localedir@&$localedir&g
22539 s&@mandir@&$mandir&g
22540 s&\\\${datarootdir}&$datarootdir&g' ;;
22544 # Neutralize VPATH when `$srcdir' = `.'.
22545 # Shell code in configure.ac might set extrasub.
22546 # FIXME: do we really want to maintain this feature?
22547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22548 ac_sed_extra="$ac_vpsub
22551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22553 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22554 s|@configure_input@|
$ac_sed_conf_input|
;t t
22555 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22556 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22557 s
&@srcdir@
&$ac_srcdir&;t t
22558 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22559 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22560 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22561 s
&@builddir@
&$ac_builddir&;t t
22562 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22563 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22564 s
&@INSTALL@
&$ac_INSTALL&;t t
22565 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22566 $ac_datarootdir_hack
22568 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
22569 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
22570 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
22571 { (exit 1); exit 1; }; }
22573 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22574 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22575 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22576 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22577 which seems to be undefined. Please make sure it is defined." >&5
22578 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22579 which seems to be undefined. Please make sure it is defined." >&2;}
22583 -) cat "$tmp/out" && rm -f "$tmp/out";;
22584 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22586 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22587 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22588 { (exit 1); exit 1; }; }
22594 if test x"$ac_file" != x-; then
22596 $as_echo "/* $configure_input */" \
22597 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22598 } >"$tmp/config.h" \
22599 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22600 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22601 { (exit 1); exit 1; }; }
22602 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22603 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22604 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22607 mv "$tmp/config.h" "$ac_file" \
22608 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22609 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22610 { (exit 1); exit 1; }; }
22613 $as_echo "/* $configure_input */" \
22614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22615 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22616 $as_echo "$as_me: error: could not create -" >&2;}
22617 { (exit 1); exit 1; }; }
22619 # Compute "$ac_file"'s index
in $config_headers.
22622 for _am_header
in $config_headers :; do
22623 case $_am_header in
22624 $_am_arg |
$_am_arg:* )
22627 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22630 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22631 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22632 X"$_am_arg" : 'X\(//\)[^/]' \| \
22633 X"$_am_arg" : 'X\(//\)$' \| \
22634 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22635 $as_echo X"$_am_arg" |
22636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22640 /^X\(\/\/\)[^/].*/{
22652 s/.*/./; q'`/stamp-h
$_am_stamp_count
22655 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22656 $as_echo "$as_me: executing $ac_file commands" >&6;}
22661 case $ac_file$ac_mode in
22663 (mv spl_config.h spl_config.h.tmp
&&
22664 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
22665 rm spl_config.h.tmp
) ||
exit 1 ;;
22666 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22667 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22668 # are listed without --file. Let's play safe and only enable the eval
22669 # if we detect the quoting.
22670 case $CONFIG_FILES in
22671 *\'*) eval set x
"$CONFIG_FILES" ;;
22672 *) set x
$CONFIG_FILES ;;
22677 # Strip MF so we end up with the name of the file.
22678 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22679 # Check whether this is an Automake generated Makefile or not.
22680 # We used to match only the files named `Makefile.in', but
22681 # some people rename them; so instead we look at the file content.
22682 # Grep'ing the first line is not enough: some people post-process
22683 # each Makefile.in and add a new line on top of each file to say so.
22684 # Grep'ing the whole file is not good either: AIX grep has a line
22685 # limit of 2048, but all sed's we know have understand at least 4000.
22686 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22687 dirpart
=`$as_dirname -- "$mf" ||
22688 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22689 X"$mf" : 'X\(//\)[^/]' \| \
22690 X"$mf" : 'X\(//\)$' \| \
22691 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22697 /^X\(\/\/\)[^/].*/{
22713 # Extract the definition of DEPDIR, am__include, and am__quote
22714 # from the Makefile without running `make'.
22715 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22716 test -z "$DEPDIR" && continue
22717 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22718 test -z "am__include" && continue
22719 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22720 # When using ansi2knr, U may be empty or an underscore; expand it
22721 U
=`sed -n 's/^U = //p' < "$mf"`
22722 # Find all dependency output files, they are included files with
22723 # $(DEPDIR) in their names. We invoke sed twice because it is the
22724 # simplest approach to changing $(DEPDIR) to its actual value in the
22726 for file in `sed -n "
22727 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22728 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22729 # Make sure the directory exists.
22730 test -f "$dirpart/$file" && continue
22731 fdir
=`$as_dirname -- "$file" ||
22732 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22733 X"$file" : 'X\(//\)[^/]' \| \
22734 X"$file" : 'X\(//\)$' \| \
22735 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22736 $as_echo X"$file" |
22737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22741 /^X\(\/\/\)[^/].*/{
22754 { as_dir
=$dirpart/$fdir
22756 -*) as_dir
=.
/$as_dir;;
22758 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22762 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22763 *) as_qdir
=$as_dir;;
22765 as_dirs
="'$as_qdir' $as_dirs"
22766 as_dir
=`$as_dirname -- "$as_dir" ||
22767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22768 X"$as_dir" : 'X\(//\)[^/]' \| \
22769 X"$as_dir" : 'X\(//\)$' \| \
22770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22771 $as_echo X"$as_dir" |
22772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22776 /^X\(\/\/\)[^/].*/{
22789 test -d "$as_dir" && break
22791 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22792 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22793 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22794 { (exit 1); exit 1; }; }; }
22795 # echo "creating $dirpart/$file"
22796 echo '# dummy' > "$dirpart/$file"
22803 # See if we are running on zsh, and set the options which allow our
22804 # commands through without removal of \ escapes.
22805 if test -n "${ZSH_VERSION+set}" ; then
22806 setopt NO_GLOB_SUBST
22809 cfgfile
="${ofile}T"
22810 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22813 cat <<_LT_EOF >> "$cfgfile"
22816 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22817 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22822 # 2006, 2007, 2008 Free Software Foundation, Inc.
22823 # Written by Gordon Matzigkeit, 1996
22825 # This file is part of GNU Libtool.
22827 # GNU Libtool is free software; you can redistribute it and/or
22828 # modify it under the terms of the GNU General Public License as
22829 # published by the Free Software Foundation; either version 2 of
22830 # the License, or (at your option) any later version.
22832 # As a special exception to the GNU General Public License,
22833 # if you distribute this file as part of a program or library that
22834 # is built using GNU Libtool, you may include this file under the
22835 # same distribution terms that you use for the rest of that program.
22837 # GNU Libtool is distributed in the hope that it will be useful,
22838 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22840 # GNU General Public License for more details.
22842 # You should have received a copy of the GNU General Public License
22843 # along with GNU Libtool; see the file COPYING. If not, a copy
22844 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22845 # obtained by writing to the Free Software Foundation, Inc.,
22846 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22849 # The names of the tagged configurations supported by this script.
22852 # ### BEGIN LIBTOOL CONFIG
22854 # Which release of libtool.m4 was used?
22855 macro_version=$macro_version
22856 macro_revision=$macro_revision
22858 # Whether or not to build shared libraries.
22859 build_libtool_libs=$enable_shared
22861 # Whether or not to build static libraries.
22862 build_old_libs=$enable_static
22864 # What type of objects to build.
22867 # Whether or not to optimize for fast installation.
22868 fast_install=$enable_fast_install
22871 host_alias=$host_alias
22875 # The build system.
22876 build_alias=$build_alias
22880 # A sed program that does not truncate output.
22883 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22884 Xsed="\$SED -e 1s/^X//"
22886 # A grep program that handles long lines.
22892 # A literal string matcher.
22895 # A BSD- or MS-compatible name lister.
22898 # Whether we need soft or hard links.
22901 # What is the maximum length of a command?
22902 max_cmd_len=$max_cmd_len
22904 # Object file suffix (normally "o").
22907 # Executable file suffix (normally "").
22910 # whether the shell understands "unset".
22913 # turn spaces into newlines.
22916 # turn newlines into spaces.
22919 # How to create reloadable object files.
22920 reload_flag=$lt_reload_flag
22921 reload_cmds=$lt_reload_cmds
22923 # An object symbol dumper.
22924 OBJDUMP=$lt_OBJDUMP
22926 # Method to check whether dependent libraries are shared objects.
22927 deplibs_check_method=$lt_deplibs_check_method
22929 # Command to use when deplibs_check_method == "file_magic".
22930 file_magic_cmd=$lt_file_magic_cmd
22934 AR_FLAGS=$lt_AR_FLAGS
22936 # A symbol stripping program.
22939 # Commands used to install an old-style archive.
22941 old_postinstall_cmds=$lt_old_postinstall_cmds
22942 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22947 # LTCC compiler flags.
22948 LTCFLAGS=$lt_CFLAGS
22950 # Take the output of nm and produce a listing of raw symbols and C names.
22951 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22953 # Transform the output of nm in a proper C declaration.
22954 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22956 # Transform the output of nm in a C name address pair.
22957 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22959 # Transform the output of nm in a C name address pair when lib prefix is needed.
22960 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22962 # The name of the directory that contains temporary libtool files.
22965 # Shell to use when invoking shell scripts.
22968 # An echo program that does not interpret backslashes.
22971 # Used to examine libraries when file_magic_cmd begins with "file".
22972 MAGIC_CMD=$MAGIC_CMD
22974 # Must we lock files when doing compilation?
22975 need_locks=$lt_need_locks
22977 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22978 DSYMUTIL=$lt_DSYMUTIL
22980 # Tool to change global to local symbols on Mac OS X.
22983 # Tool to manipulate fat objects and archives on Mac OS X.
22986 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22989 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22990 OTOOL64=$lt_OTOOL64
22992 # Old archive suffix (normally "a").
22995 # Shared library suffix (normally ".so").
22996 shrext_cmds=$lt_shrext_cmds
22998 # The commands to extract the exported symbol list from a shared archive.
22999 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23001 # Variables whose values should be saved in libtool wrapper scripts and
23002 # restored at link time.
23003 variables_saved_for_relink=$lt_variables_saved_for_relink
23005 # Do we need the "lib" prefix for modules?
23006 need_lib_prefix=$need_lib_prefix
23008 # Do we need a version for libraries?
23009 need_version=$need_version
23011 # Library versioning type.
23012 version_type=$version_type
23014 # Shared library runtime path variable.
23015 runpath_var=$runpath_var
23017 # Shared library path variable.
23018 shlibpath_var=$shlibpath_var
23020 # Is shlibpath searched before the hard-coded library search path?
23021 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23023 # Format of library name prefix.
23024 libname_spec=$lt_libname_spec
23026 # List of archive names. First name is the real one, the rest are links.
23027 # The last name is the one that the linker finds with -lNAME
23028 library_names_spec=$lt_library_names_spec
23030 # The coded name of the library, if different from the real name.
23031 soname_spec=$lt_soname_spec
23033 # Command to use after installation of a shared archive.
23034 postinstall_cmds=$lt_postinstall_cmds
23036 # Command to use after uninstallation of a shared archive.
23037 postuninstall_cmds=$lt_postuninstall_cmds
23039 # Commands used to finish a libtool library installation in a directory.
23040 finish_cmds=$lt_finish_cmds
23042 # As "finish_cmds", except a single script fragment to be evaled but
23044 finish_eval=$lt_finish_eval
23046 # Whether we should hardcode library paths into libraries.
23047 hardcode_into_libs=$hardcode_into_libs
23049 # Compile-time system search path for libraries.
23050 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23052 # Run-time system search path for libraries.
23053 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23055 # Whether dlopen is supported.
23056 dlopen_support=$enable_dlopen
23058 # Whether dlopen of programs is supported.
23059 dlopen_self=$enable_dlopen_self
23061 # Whether dlopen of statically linked programs is supported.
23062 dlopen_self_static=$enable_dlopen_self_static
23064 # Commands to strip libraries.
23065 old_striplib=$lt_old_striplib
23066 striplib=$lt_striplib
23069 # The linker used to build libraries.
23072 # Commands used to build an old-style archive.
23073 old_archive_cmds=$lt_old_archive_cmds
23075 # A language specific compiler.
23078 # Is the compiler the GNU compiler?
23081 # Compiler flag to turn off builtin functions.
23082 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23084 # How to pass a linker flag through the compiler.
23085 wl=$lt_lt_prog_compiler_wl
23087 # Additional compiler flags for building library objects.
23088 pic_flag=$lt_lt_prog_compiler_pic
23090 # Compiler flag to prevent dynamic linking.
23091 link_static_flag=$lt_lt_prog_compiler_static
23093 # Does compiler simultaneously support -c and -o options?
23094 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23096 # Whether or not to add -lc for building shared libraries.
23097 build_libtool_need_lc=$archive_cmds_need_lc
23099 # Whether or not to disallow shared libs when runtime libs are static.
23100 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23102 # Compiler flag to allow reflexive dlopens.
23103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23105 # Compiler flag to generate shared objects directly from archives.
23106 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23108 # Whether the compiler copes with passing no objects directly.
23109 compiler_needs_object=$lt_compiler_needs_object
23111 # Create an old-style archive from a shared archive.
23112 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23114 # Create a temporary old-style archive to link instead of a shared archive.
23115 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23117 # Commands used to build a shared archive.
23118 archive_cmds=$lt_archive_cmds
23119 archive_expsym_cmds=$lt_archive_expsym_cmds
23121 # Commands used to build a loadable module if different from building
23122 # a shared archive.
23123 module_cmds=$lt_module_cmds
23124 module_expsym_cmds=$lt_module_expsym_cmds
23126 # Whether we are building with GNU ld or not.
23127 with_gnu_ld=$lt_with_gnu_ld
23129 # Flag that allows shared libraries with undefined symbols to be built.
23130 allow_undefined_flag=$lt_allow_undefined_flag
23132 # Flag that enforces no undefined symbols.
23133 no_undefined_flag=$lt_no_undefined_flag
23135 # Flag to hardcode \$libdir into a binary during linking.
23136 # This must work even if \$libdir does not exist
23137 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23139 # If ld is used when linking, flag to hardcode \$libdir into a binary
23140 # during linking. This must work even if \$libdir does not exist.
23141 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23143 # Whether we need a single "-rpath" flag with a separated argument.
23144 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23147 # DIR into the resulting binary.
23148 hardcode_direct=$hardcode_direct
23150 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23151 # DIR into the resulting binary and the resulting library dependency is
23152 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23153 # library is relocated.
23154 hardcode_direct_absolute=$hardcode_direct_absolute
23156 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23157 # into the resulting binary.
23158 hardcode_minus_L=$hardcode_minus_L
23160 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23161 # into the resulting binary.
23162 hardcode_shlibpath_var=$hardcode_shlibpath_var
23164 # Set to "yes" if building a shared library automatically hardcodes DIR
23165 # into the library and all subsequent libraries and executables linked
23167 hardcode_automatic=$hardcode_automatic
23169 # Set to yes if linker adds runtime paths of dependent libraries
23170 # to runtime path list.
23171 inherit_rpath=$inherit_rpath
23173 # Whether libtool must link a program against all its dependency libraries.
23174 link_all_deplibs=$link_all_deplibs
23176 # Fix the shell variable \$srcfile for the compiler.
23177 fix_srcfile_path=$lt_fix_srcfile_path
23179 # Set to "yes" if exported symbols are required.
23180 always_export_symbols=$always_export_symbols
23182 # The commands to list exported symbols.
23183 export_symbols_cmds=$lt_export_symbols_cmds
23185 # Symbols that should not be listed in the preloaded symbols.
23186 exclude_expsyms=$lt_exclude_expsyms
23188 # Symbols that must always be exported.
23189 include_expsyms=$lt_include_expsyms
23191 # Commands necessary for linking programs (against libraries) with templates.
23192 prelink_cmds=$lt_prelink_cmds
23194 # Specify filename containing input files.
23195 file_list_spec=$lt_file_list_spec
23197 # How to hardcode a shared library path into an executable.
23198 hardcode_action=$hardcode_action
23200 # ### END LIBTOOL CONFIG
23206 cat <<\_LT_EOF
>> "$cfgfile"
23207 # AIX sometimes has problems with the GCC collect2 program. For some
23208 # reason, if we set the COLLECT_NAMES environment variable, the problems
23209 # vanish in a puff of smoke.
23210 if test "X${COLLECT_NAMES+set}" != Xset
; then
23212 export COLLECT_NAMES
23219 ltmain
="$ac_aux_dir/ltmain.sh"
23222 # We use sed instead of cat because bash on DJGPP gets confused if
23223 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23224 # text mode, it properly converts lines to CR/LF. This bash problem
23225 # is reportedly fixed, but why not run on old versions too?
23226 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23227 ||
(rm -f "$cfgfile"; exit 1)
23231 cat << \_LT_EOF
>> "$cfgfile"
23233 # func_dirname file append nondir_replacement
23234 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23235 # otherwise set result to NONDIR_REPLACEMENT.
23239 */*) func_dirname_result
="${1%/*}${2}" ;;
23240 * ) func_dirname_result
="${3}" ;;
23244 # func_basename file
23247 func_basename_result
="${1##*/}"
23250 # func_dirname_and_basename file append nondir_replacement
23251 # perform func_basename and func_dirname in a single function
23253 # dirname: Compute the dirname of FILE. If nonempty,
23254 # add APPEND to the result, otherwise set result
23255 # to NONDIR_REPLACEMENT.
23256 # value returned in "$func_dirname_result"
23257 # basename: Compute filename of FILE.
23258 # value retuned in "$func_basename_result"
23259 # Implementation must be kept synchronized with func_dirname
23260 # and func_basename. For efficiency, we do not delegate to
23261 # those functions but instead duplicate the functionality here.
23262 func_dirname_and_basename
()
23265 */*) func_dirname_result
="${1%/*}${2}" ;;
23266 * ) func_dirname_result
="${3}" ;;
23268 func_basename_result
="${1##*/}"
23271 # func_stripname prefix suffix name
23272 # strip PREFIX and SUFFIX off of NAME.
23273 # PREFIX and SUFFIX must not contain globbing or regex special
23274 # characters, hashes, percent signs, but SUFFIX may contain a leading
23275 # dot (in which case that matches only a dot).
23278 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23279 # positional parameters, so assign one to ordinary parameter first.
23280 func_stripname_result
=${3}
23281 func_stripname_result
=${func_stripname_result#"${1}"}
23282 func_stripname_result
=${func_stripname_result%"${2}"}
23288 func_opt_split_opt
=${1%%=*}
23289 func_opt_split_arg
=${1#*=}
23296 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
23297 *) func_lo2o_result
=${1} ;;
23301 # func_xform libobj-or-source
23304 func_xform_result
=${1%.*}.lo
23307 # func_arith arithmetic-term...
23310 func_arith_result
=$
(( $
* ))
23314 # STRING may not start with a hyphen.
23317 func_len_result
=${#1}
23322 *) # Bourne compatible functions.
23323 cat << \_LT_EOF
>> "$cfgfile"
23325 # func_dirname file append nondir_replacement
23326 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23327 # otherwise set result to NONDIR_REPLACEMENT.
23330 # Extract subdirectory from the argument.
23331 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
23332 if test "X$func_dirname_result" = "X${1}"; then
23333 func_dirname_result
="${3}"
23335 func_dirname_result
="$func_dirname_result${2}"
23339 # func_basename file
23342 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
23346 # func_stripname prefix suffix name
23347 # strip PREFIX and SUFFIX off of NAME.
23348 # PREFIX and SUFFIX must not contain globbing or regex special
23349 # characters, hashes, percent signs, but SUFFIX may contain a leading
23350 # dot (in which case that matches only a dot).
23351 # func_strip_suffix prefix name
23355 .
*) func_stripname_result
=`$ECHO "X${3}" \
23356 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
23357 *) func_stripname_result
=`$ECHO "X${3}" \
23358 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
23363 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
23364 my_sed_long_arg
='1s/^-[^=]*=//'
23369 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
23370 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
23376 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
23379 # func_xform libobj-or-source
23382 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
23385 # func_arith arithmetic-term...
23388 func_arith_result
=`expr "$@"`
23392 # STRING may not start with a hyphen.
23395 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23401 case $lt_shell_append in
23403 cat << \_LT_EOF
>> "$cfgfile"
23405 # func_append var value
23406 # Append VALUE to the end of shell variable VAR.
23414 cat << \_LT_EOF
>> "$cfgfile"
23416 # func_append var value
23417 # Append VALUE to the end of shell variable VAR.
23428 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23429 ||
(rm -f "$cfgfile"; exit 1)
23431 mv -f "$cfgfile" "$ofile" ||
23432 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23441 { (exit 0); exit 0; }
23443 chmod +x
$CONFIG_STATUS
23444 ac_clean_files
=$ac_clean_files_save
23446 test $ac_write_fail = 0 ||
23447 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23448 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23449 { (exit 1); exit 1; }; }
23452 # configure is writing to config.log, and then calls config.status.
23453 # config.status does its own redirection, appending to config.log.
23454 # Unfortunately, on DOS this fails, as config.log is still kept open
23455 # by configure, so config.status won't be able to write to it; its
23456 # output is simply discarded. So we exec the FD to /dev/null,
23457 # effectively closing config.log, so it can be properly (re)opened and
23458 # appended to by config.status. When coming back to configure, we
23459 # need to make the FD available again.
23460 if test "$no_create" != yes; then
23462 ac_config_status_args
=
23463 test "$silent" = yes &&
23464 ac_config_status_args
="$ac_config_status_args --quiet"
23466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23469 # would make configure fail if this is the last instruction.
23470 $ac_cs_success ||
{ (exit 1); exit 1; }
23472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23473 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}