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
970 enable_debug_kmem_tracking
971 enable_atomic_spinlocks
973 ac_precious_vars
='build_alias
984 # Initialize some variables set by options.
986 ac_init_version
=false
987 ac_unrecognized_opts
=
989 # The variables have the same names as the options, with
990 # dashes changed to underlines.
998 program_transform_name
=s
,x
,x
,
1006 # Installation directory options.
1007 # These are left unexpanded so users can "make install exec_prefix=/foo"
1008 # and all the variables that are supposed to be based on exec_prefix
1009 # by default will actually change.
1010 # Use braces instead of parens because sh, perl, etc. also accept them.
1011 # (The list follows the same order as the GNU Coding Standards.)
1012 bindir
='${exec_prefix}/bin'
1013 sbindir
='${exec_prefix}/sbin'
1014 libexecdir
='${exec_prefix}/libexec'
1015 datarootdir
='${prefix}/share'
1016 datadir
='${datarootdir}'
1017 sysconfdir
='${prefix}/etc'
1018 sharedstatedir
='${prefix}/com'
1019 localstatedir
='${prefix}/var'
1020 includedir
='${prefix}/include'
1021 oldincludedir
='/usr/include'
1022 docdir
='${datarootdir}/doc/${PACKAGE}'
1023 infodir
='${datarootdir}/info'
1028 libdir
='${exec_prefix}/lib'
1029 localedir
='${datarootdir}/locale'
1030 mandir
='${datarootdir}/man'
1036 # If the previous option needs an argument, assign it.
1037 if test -n "$ac_prev"; then
1038 eval $ac_prev=\
$ac_option
1044 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1048 # Accept the important Cygnus configure options, so we can diagnose typos.
1050 case $ac_dashdash$ac_option in
1054 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1056 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1057 bindir
=$ac_optarg ;;
1059 -build |
--build |
--buil |
--bui |
--bu)
1060 ac_prev
=build_alias
;;
1061 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1062 build_alias
=$ac_optarg ;;
1064 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1065 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1066 ac_prev
=cache_file
;;
1067 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1068 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1069 cache_file
=$ac_optarg ;;
1071 --config-cache |
-C)
1072 cache_file
=config.cache
;;
1074 -datadir |
--datadir |
--datadi |
--datad)
1076 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1077 datadir
=$ac_optarg ;;
1079 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1080 |
--dataroo |
--dataro |
--datar)
1081 ac_prev
=datarootdir
;;
1082 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1083 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1084 datarootdir
=$ac_optarg ;;
1086 -disable-* |
--disable-*)
1087 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=no
;;
1103 -docdir |
--docdir |
--docdi |
--doc |
--do)
1105 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1106 docdir
=$ac_optarg ;;
1108 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1110 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1111 dvidir
=$ac_optarg ;;
1113 -enable-* |
--enable-*)
1114 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1118 { (exit 1); exit 1; }; }
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1123 "enable_
$ac_useropt"
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval enable_
$ac_useropt=\
$ac_optarg ;;
1130 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1131 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1132 |
--exec |
--exe |
--ex)
1133 ac_prev
=exec_prefix
;;
1134 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1135 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1136 |
--exec=* |
--exe=* |
--ex=*)
1137 exec_prefix
=$ac_optarg ;;
1139 -gas |
--gas |
--ga |
--g)
1140 # Obsolete; use --with-gas.
1143 -help |
--help |
--hel |
--he |
-h)
1144 ac_init_help
=long
;;
1145 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1146 ac_init_help
=recursive
;;
1147 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1148 ac_init_help
=short
;;
1150 -host |
--host |
--hos |
--ho)
1151 ac_prev
=host_alias
;;
1152 -host=* |
--host=* |
--hos=* |
--ho=*)
1153 host_alias
=$ac_optarg ;;
1155 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1157 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1159 htmldir
=$ac_optarg ;;
1161 -includedir |
--includedir |
--includedi |
--included |
--include \
1162 |
--includ |
--inclu |
--incl |
--inc)
1163 ac_prev
=includedir
;;
1164 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1165 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1166 includedir
=$ac_optarg ;;
1168 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1170 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1171 infodir
=$ac_optarg ;;
1173 -libdir |
--libdir |
--libdi |
--libd)
1175 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1176 libdir
=$ac_optarg ;;
1178 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1179 |
--libexe |
--libex |
--libe)
1180 ac_prev
=libexecdir
;;
1181 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1182 |
--libexe=* |
--libex=* |
--libe=*)
1183 libexecdir
=$ac_optarg ;;
1185 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1186 ac_prev
=localedir
;;
1187 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1188 localedir
=$ac_optarg ;;
1190 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1191 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1192 ac_prev
=localstatedir
;;
1193 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1194 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1195 localstatedir
=$ac_optarg ;;
1197 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1199 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1200 mandir
=$ac_optarg ;;
1202 -nfp |
--nfp |
--nf)
1203 # Obsolete; use --without-fp.
1206 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1207 |
--no-cr |
--no-c |
-n)
1210 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1211 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1214 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1215 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1216 |
--oldin |
--oldi |
--old |
--ol |
--o)
1217 ac_prev
=oldincludedir
;;
1218 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1219 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1220 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1221 oldincludedir
=$ac_optarg ;;
1223 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1225 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1226 prefix
=$ac_optarg ;;
1228 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1229 |
--program-pre |
--program-pr |
--program-p)
1230 ac_prev
=program_prefix
;;
1231 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1232 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1233 program_prefix
=$ac_optarg ;;
1235 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1236 |
--program-suf |
--program-su |
--program-s)
1237 ac_prev
=program_suffix
;;
1238 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1239 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1240 program_suffix
=$ac_optarg ;;
1242 -program-transform-name |
--program-transform-name \
1243 |
--program-transform-nam |
--program-transform-na \
1244 |
--program-transform-n |
--program-transform- \
1245 |
--program-transform |
--program-transfor \
1246 |
--program-transfo |
--program-transf \
1247 |
--program-trans |
--program-tran \
1248 |
--progr-tra |
--program-tr |
--program-t)
1249 ac_prev
=program_transform_name
;;
1250 -program-transform-name=* |
--program-transform-name=* \
1251 |
--program-transform-nam=* |
--program-transform-na=* \
1252 |
--program-transform-n=* |
--program-transform-=* \
1253 |
--program-transform=* |
--program-transfor=* \
1254 |
--program-transfo=* |
--program-transf=* \
1255 |
--program-trans=* |
--program-tran=* \
1256 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1257 program_transform_name
=$ac_optarg ;;
1259 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1261 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1262 pdfdir
=$ac_optarg ;;
1264 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1266 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1270 |
-silent |
--silent |
--silen |
--sile |
--sil)
1273 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1275 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1277 sbindir
=$ac_optarg ;;
1279 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1280 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1281 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1283 ac_prev
=sharedstatedir
;;
1284 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1285 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1286 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1288 sharedstatedir
=$ac_optarg ;;
1290 -site |
--site |
--sit)
1292 -site=* |
--site=* |
--sit=*)
1295 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1297 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1298 srcdir
=$ac_optarg ;;
1300 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1301 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1302 ac_prev
=sysconfdir
;;
1303 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1304 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1305 sysconfdir
=$ac_optarg ;;
1307 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1308 ac_prev
=target_alias
;;
1309 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1310 target_alias
=$ac_optarg ;;
1312 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1315 -version |
--version |
--versio |
--versi |
--vers |
-V)
1316 ac_init_version
=: ;;
1319 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1320 # Reject names that are not valid shell variable names.
1321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1322 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1323 { (exit 1); exit 1; }; }
1324 ac_useropt_orig
=$ac_useropt
1325 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1326 case $ac_user_opts in
1330 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1331 ac_unrecognized_sep
=', ';;
1333 eval with_
$ac_useropt=\
$ac_optarg ;;
1335 -without-* |
--without-*)
1336 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1339 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1340 { (exit 1); exit 1; }; }
1341 ac_useropt_orig
=$ac_useropt
1342 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1343 case $ac_user_opts in
1347 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1348 ac_unrecognized_sep
=', ';;
1350 eval with_
$ac_useropt=no
;;
1353 # Obsolete; use --with-x.
1356 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1357 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1358 ac_prev
=x_includes
;;
1359 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1360 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1361 x_includes
=$ac_optarg ;;
1363 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1364 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1365 ac_prev
=x_libraries
;;
1366 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1367 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1368 x_libraries
=$ac_optarg ;;
1370 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1371 Try \`$0 --help' for more information." >&2
1372 { (exit 1); exit 1; }; }
1376 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1379 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1380 { (exit 1); exit 1; }; }
1381 eval $ac_envvar=\
$ac_optarg
1382 export $ac_envvar ;;
1385 # FIXME: should be removed in autoconf 3.0.
1386 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1387 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1389 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1395 if test -n "$ac_prev"; then
1396 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1397 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1398 { (exit 1); exit 1; }; }
1401 if test -n "$ac_unrecognized_opts"; then
1402 case $enable_option_checking in
1404 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1405 { (exit 1); exit 1; }; } ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1410 # Check all directory arguments for consistency.
1411 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val
=\$
$ac_var
1417 # Remove trailing slashes.
1420 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\
$ac_val;;
1423 # Be sure to have absolute directory names.
1425 [\\/$
]* | ?
:[\\/]* ) continue;;
1426 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1428 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1429 { (exit 1); exit 1; }; }
1432 # There might be people who depend on the old broken behavior: `$host'
1433 # used to hold the argument of --host etc.
1434 # FIXME: To remove some day.
1437 target
=$target_alias
1439 # FIXME: To remove some day.
1440 if test "x$host_alias" != x
; then
1441 if test "x$build_alias" = x
; then
1442 cross_compiling
=maybe
1443 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1444 If a cross compiler is detected then cross compile mode will be used." >&2
1445 elif test "x$build_alias" != "x$host_alias"; then
1451 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1453 test "$silent" = yes && exec 6>/dev
/null
1456 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1457 ac_ls_di
=`ls -di .` &&
1458 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1459 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1460 { (exit 1); exit 1; }; }
1461 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1462 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1463 { (exit 1); exit 1; }; }
1466 # Find the source files, if location was not specified.
1467 if test -z "$srcdir"; then
1468 ac_srcdir_defaulted
=yes
1469 # Try the directory containing this script, then the parent directory.
1470 ac_confdir
=`$as_dirname -- "$as_myself" ||
1471 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1472 X"$as_myself" : 'X\(//\)[^/]' \| \
1473 X"$as_myself" : 'X\(//\)$' \| \
1474 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1475 $as_echo X"$as_myself" |
1476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 if test ! -r "$srcdir/$ac_unique_file"; then
1498 ac_srcdir_defaulted
=no
1500 if test ! -r "$srcdir/$ac_unique_file"; then
1501 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1502 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1503 { (exit 1); exit 1; }; }
1505 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1507 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1508 { (exit 1); exit 1; }; }
1510 # When building in place, set srcdir=.
1511 if test "$ac_abs_confdir" = "$ac_pwd"; then
1514 # Remove unnecessary trailing slashes from srcdir.
1515 # Double slashes in file names in object file debugging info
1516 # mess up M-x gdb in Emacs.
1518 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520 for ac_var
in $ac_precious_vars; do
1521 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1522 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1523 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1524 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1528 # Report the --help message.
1530 if test "$ac_init_help" = "long"; then
1531 # Omit some internal or obsolete options to make the list less imposing.
1532 # This message is too long to be a string in the A/UX 3.1 sh.
1534 \`configure' configures this package to adapt to many kinds of systems.
1536 Usage: $0 [OPTION]... [VAR=VALUE]...
1538 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1539 VAR=VALUE. See below for descriptions of some of the useful variables.
1541 Defaults for the options are specified in brackets.
1544 -h, --help display this help and exit
1545 --help=short display options specific to this package
1546 --help=recursive display the short help of all the included packages
1547 -V, --version display version information and exit
1548 -q, --quiet, --silent do not print \`checking...' messages
1549 --cache-file=FILE cache test results in FILE [disabled]
1550 -C, --config-cache alias for \`--cache-file=config.cache'
1551 -n, --no-create do not create output files
1552 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1554 Installation directories:
1555 --prefix=PREFIX install architecture-independent files in PREFIX
1556 [$ac_default_prefix]
1557 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1560 By default, \`make install' will install all the files in
1561 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1562 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1563 for instance \`--prefix=\$HOME'.
1565 For better control, use the options below.
1567 Fine tuning of the installation directories:
1568 --bindir=DIR user executables [EPREFIX/bin]
1569 --sbindir=DIR system admin executables [EPREFIX/sbin]
1570 --libexecdir=DIR program executables [EPREFIX/libexec]
1571 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1572 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1573 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1574 --libdir=DIR object code libraries [EPREFIX/lib]
1575 --includedir=DIR C header files [PREFIX/include]
1576 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1577 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1578 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1579 --infodir=DIR info documentation [DATAROOTDIR/info]
1580 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1581 --mandir=DIR man documentation [DATAROOTDIR/man]
1582 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1583 --htmldir=DIR html documentation [DOCDIR]
1584 --dvidir=DIR dvi documentation [DOCDIR]
1585 --pdfdir=DIR pdf documentation [DOCDIR]
1586 --psdir=DIR ps documentation [DOCDIR]
1592 --program-prefix=PREFIX prepend PREFIX to installed program names
1593 --program-suffix=SUFFIX append SUFFIX to installed program names
1594 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1597 --build=BUILD configure
for building on BUILD
[guessed
]
1598 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1599 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1603 if test -n "$ac_init_help"; then
1608 --disable-option-checking ignore unrecognized
--enable/--with options
1609 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1610 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1611 --enable-maintainer-mode enable make rules and dependencies not useful
1612 (and sometimes confusing
) to the casual installer
1613 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1614 --disable-silent-rules verbose build output (undo: `make V
=0')
1615 --disable-dependency-tracking speeds up one-time build
1616 --enable-dependency-tracking do not reject slow dependency extractors
1617 --enable-shared[=PKGS] build shared libraries [default=yes]
1618 --enable-static[=PKGS] build static libraries [default=yes]
1619 --enable-fast-install[=PKGS]
1620 optimize for fast installation [default=yes]
1621 --disable-libtool-lock avoid locking (might break parallel builds)
1622 --enable-debug Enable generic debug support [default=no]
1623 --enable-debug-log Enable basic debug logging [default=yes]
1624 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1625 --enable-debug-kmem-tracking
1626 Enable detailed kmem tracking [default=no]
1627 --enable-atomic-spinlocks
1628 Atomic types use spinlocks [default=check]
1631 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1632 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1633 --with-pic try to use only PIC/non-PIC objects [default=use
1635 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1636 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1637 --with-linux=PATH Path to kernel source
1638 --with-linux-obj=PATH Path to kernel build objects
1640 Some influential environment variables:
1641 CC C compiler command
1642 CFLAGS C compiler flags
1643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1644 nonstandard directory <lib dir>
1645 LIBS libraries to pass to the linker, e.g. -l<library>
1646 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1647 you have headers in a nonstandard directory <include dir>
1650 Use these variables to override the choices made by `configure' or to
help
1651 it to
find libraries and programs with nonstandard names
/locations.
1657 if test "$ac_init_help" = "recursive"; then
1658 # If there are subdirs, report their specific --help.
1659 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1660 test -d "$ac_dir" ||
1661 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1666 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1668 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1669 # A ".." for each directory in $ac_dir_suffix.
1670 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1671 case $ac_top_builddir_sub in
1672 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1673 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1676 ac_abs_top_builddir
=$ac_pwd
1677 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1678 # for backward compatibility:
1679 ac_top_builddir
=$ac_top_build_prefix
1682 .
) # We are building in place.
1684 ac_top_srcdir
=$ac_top_builddir_sub
1685 ac_abs_top_srcdir
=$ac_pwd ;;
1686 [\\/]* | ?
:[\\/]* ) # Absolute name.
1687 ac_srcdir
=$srcdir$ac_dir_suffix;
1688 ac_top_srcdir
=$srcdir
1689 ac_abs_top_srcdir
=$srcdir ;;
1691 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1692 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1693 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1695 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1697 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1698 # Check for guested configure.
1699 if test -f "$ac_srcdir/configure.gnu"; then
1701 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1702 elif test -f "$ac_srcdir/configure"; then
1704 $SHELL "$ac_srcdir/configure" --help=recursive
1706 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1708 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1712 test -n "$ac_init_help" && exit $ac_status
1713 if $ac_init_version; then
1716 generated by GNU Autoconf
2.63
1718 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1719 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1720 This configure
script is free software
; the Free Software Foundation
1721 gives unlimited permission to copy
, distribute and modify it.
1725 cat >config.log
<<_ACEOF
1726 This file contains any messages produced by compilers while
1727 running configure, to aid debugging if configure makes a mistake.
1729 It was created by $as_me, which was
1730 generated by GNU Autoconf 2.63. Invocation command line was
1742 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1743 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1744 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1745 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1746 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1748 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1749 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1751 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1752 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1753 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1754 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1755 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1756 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1757 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 $as_echo "PATH: $as_dir"
1782 # Keep a trace of the command line.
1783 # Strip out --no-create and --no-recursion so they do not pile up.
1784 # Strip out --silent because we don't want to record it for future runs.
1785 # Also quote any args containing shell meta-characters.
1786 # Make two passes to allow for proper duplicate-argument suppression.
1790 ac_must_keep_next
=false
1796 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1797 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1798 |
-silent |
--silent |
--silen |
--sile |
--sil)
1801 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1804 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1806 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1807 if test $ac_must_keep_next = true
; then
1808 ac_must_keep_next
=false
# Got value, back to normal.
1811 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1812 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1813 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1814 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1815 case "$ac_configure_args0 " in
1816 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1819 -* ) ac_must_keep_next
=true
;;
1822 ac_configure_args
="$ac_configure_args '$ac_arg'"
1827 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1828 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1830 # When interrupted or exit'd, cleanup temporary files, and complete
1831 # config.log. We remove comments because anyway the quotes in there
1832 # would cause problems or look ugly.
1833 # WARNING: Use '\'' to represent an apostrophe within the trap.
1834 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1835 trap 'exit_status=$?
1836 # Save into config.log some information that might help in debugging.
1841 ## ---------------- ##
1842 ## Cache variables. ##
1843 ## ---------------- ##
1846 # The following way of writing the cache mishandles newlines in values,
1848 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1849 eval ac_val=\$$ac_var
1853 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1857 _ | IFS | as_nl) ;; #(
1858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1859 *) $as_unset $ac_var ;;
1864 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1865 *${as_nl}ac_space=\ *)
1867 "s/'\''/'\''\\\\'\'''\''/g;
1868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1879 ## ----------------- ##
1880 ## Output variables. ##
1881 ## ----------------- ##
1884 for ac_var in $ac_subst_vars
1886 eval ac_val=\$$ac_var
1888 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890 $as_echo "$ac_var='\''$ac_val'\''"
1894 if test -n "$ac_subst_files"; then
1896 ## ------------------- ##
1897 ## File substitutions. ##
1898 ## ------------------- ##
1901 for ac_var
in $ac_subst_files
1903 eval ac_val
=\$
$ac_var
1905 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1907 $as_echo "$ac_var='\''$ac_val'\''"
1912 if test -s confdefs.h; then
1922 test "$ac_signal" != 0 &&
1923 $as_echo "$as_me: caught signal $ac_signal"
1924 $as_echo "$as_me: exit $exit_status"
1926 rm -f core *.core core.conftest.* &&
1927 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1930 for ac_signal
in 1 2 13 15; do
1931 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1935 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1936 rm -f -r conftest
* confdefs.h
1938 # Predefined preprocessor variables.
1940 cat >>confdefs.h
<<_ACEOF
1941 #define PACKAGE_NAME "$PACKAGE_NAME"
1945 cat >>confdefs.h
<<_ACEOF
1946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1950 cat >>confdefs.h
<<_ACEOF
1951 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1955 cat >>confdefs.h
<<_ACEOF
1956 #define PACKAGE_STRING "$PACKAGE_STRING"
1960 cat >>confdefs.h
<<_ACEOF
1961 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1965 # Let the site file select an alternate cache file if it wants to.
1966 # Prefer an explicitly selected file to automatically selected ones.
1969 if test -n "$CONFIG_SITE"; then
1970 ac_site_file1
=$CONFIG_SITE
1971 elif test "x$prefix" != xNONE
; then
1972 ac_site_file1
=$prefix/share
/config.site
1973 ac_site_file2
=$prefix/etc
/config.site
1975 ac_site_file1
=$ac_default_prefix/share
/config.site
1976 ac_site_file2
=$ac_default_prefix/etc
/config.site
1978 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1980 test "x$ac_site_file" = xNONE
&& continue
1981 if test -r "$ac_site_file"; then
1982 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1984 sed 's/^/| /' "$ac_site_file" >&5
1989 if test -r "$cache_file"; then
1990 # Some versions of bash will fail to source /dev/null (special
1991 # files actually), so we avoid doing that.
1992 if test -f "$cache_file"; then
1993 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1994 $as_echo "$as_me: loading cache $cache_file" >&6;}
1996 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1997 *) .
"./$cache_file";;
2001 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2002 $as_echo "$as_me: creating cache $cache_file" >&6;}
2006 # Check that the precious variables saved in the cache have kept the same
2008 ac_cache_corrupted
=false
2009 for ac_var
in $ac_precious_vars; do
2010 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2011 eval ac_new_set
=\
$ac_env_${ac_var}_set
2012 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2013 eval ac_new_val
=\
$ac_env_${ac_var}_value
2014 case $ac_old_set,$ac_new_set in
2016 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2017 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2018 ac_cache_corrupted
=: ;;
2020 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2021 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2022 ac_cache_corrupted
=: ;;
2025 if test "x$ac_old_val" != "x$ac_new_val"; then
2026 # differences in whitespace do not lead to failure.
2027 ac_old_val_w
=`echo x $ac_old_val`
2028 ac_new_val_w
=`echo x $ac_new_val`
2029 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2030 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2031 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2032 ac_cache_corrupted
=:
2034 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2035 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2036 eval $ac_var=\
$ac_old_val
2038 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2039 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2040 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2041 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2044 # Pass precious variables to config.status.
2045 if test "$ac_new_set" = set; then
2047 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2048 *) ac_arg
=$ac_var=$ac_new_val ;;
2050 case " $ac_configure_args " in
2051 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2052 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2056 if $ac_cache_corrupted; then
2057 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2060 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2061 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2062 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2063 { (exit 1); exit 1; }; }
2083 ac_cpp
='$CPP $CPPFLAGS'
2084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2090 ac_cpp
='$CPP $CPPFLAGS'
2091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2096 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2097 $as_echo_n "checking metadata... " >&6; }
2100 _spl_ac_meta_got_file
=no
2101 if test -f "$META"; then
2102 _spl_ac_meta_got_file
=yes
2104 SPL_META_NAME
=`perl -n\
2105 -e "BEGIN { \\$key=shift @ARGV; }"\
2106 -e "next unless s/^\s*\\$key[:=]//i;"\
2107 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2110 -e "s/^(['\"])(.*)\1/\\$2/;"\
2112 -e "END { print \\$val if defined \\$val; }"\
2113 '(?:NAME|PROJECT|PACKAGE)' $META`;
2114 if test -n "$SPL_META_NAME"; then
2116 cat >>confdefs.h
<<_ACEOF
2117 #define SPL_META_NAME "$SPL_META_NAME"
2123 SPL_META_VERSION
=`perl -n\
2124 -e "BEGIN { \\$key=shift @ARGV; }"\
2125 -e "next unless s/^\s*\\$key[:=]//i;"\
2126 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2129 -e "s/^(['\"])(.*)\1/\\$2/;"\
2131 -e "END { print \\$val if defined \\$val; }"\
2133 if test -n "$SPL_META_VERSION"; then
2135 cat >>confdefs.h
<<_ACEOF
2136 #define SPL_META_VERSION "$SPL_META_VERSION"
2142 SPL_META_RELEASE
=`perl -n\
2143 -e "BEGIN { \\$key=shift @ARGV; }"\
2144 -e "next unless s/^\s*\\$key[:=]//i;"\
2145 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2148 -e "s/^(['\"])(.*)\1/\\$2/;"\
2150 -e "END { print \\$val if defined \\$val; }"\
2152 if test -n "$SPL_META_RELEASE"; then
2154 cat >>confdefs.h
<<_ACEOF
2155 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2161 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2162 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2163 test -n "$SPL_META_RELEASE" &&
2164 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2166 cat >>confdefs.h
<<_ACEOF
2167 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2173 SPL_META_DATA
=`perl -n\
2174 -e "BEGIN { \\$key=shift @ARGV; }"\
2175 -e "next unless s/^\s*\\$key[:=]//i;"\
2176 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2179 -e "s/^(['\"])(.*)\1/\\$2/;"\
2181 -e "END { print \\$val if defined \\$val; }"\
2183 if test -n "$SPL_META_DATA"; then
2185 cat >>confdefs.h
<<_ACEOF
2186 #define SPL_META_DATA "$SPL_META_DATA"
2192 SPL_META_AUTHOR
=`perl -n\
2193 -e "BEGIN { \\$key=shift @ARGV; }"\
2194 -e "next unless s/^\s*\\$key[:=]//i;"\
2195 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2198 -e "s/^(['\"])(.*)\1/\\$2/;"\
2200 -e "END { print \\$val if defined \\$val; }"\
2202 if test -n "$SPL_META_AUTHOR"; then
2204 cat >>confdefs.h
<<_ACEOF
2205 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2212 SPL_META_LT_CURRENT
=`perl -n\
2213 -e "BEGIN { \\$key=shift @ARGV; }"\
2214 -e "next unless s/^\s*\\$key[:=]//i;"\
2215 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2218 -e "s/^(['\"])(.*)\1/\\$2/;"\
2220 -e "END { print \\$val if defined \\$val; }"\
2221 'LT_CURRENT' $META`;
2222 SPL_META_LT_REVISION
=`perl -n\
2223 -e "BEGIN { \\$key=shift @ARGV; }"\
2224 -e "next unless s/^\s*\\$key[:=]//i;"\
2225 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2228 -e "s/^(['\"])(.*)\1/\\$2/;"\
2230 -e "END { print \\$val if defined \\$val; }"\
2231 'LT_REVISION' $META`;
2232 SPL_META_LT_AGE
=`perl -n\
2233 -e "BEGIN { \\$key=shift @ARGV; }"\
2234 -e "next unless s/^\s*\\$key[:=]//i;"\
2235 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2238 -e "s/^(['\"])(.*)\1/\\$2/;"\
2240 -e "END { print \\$val if defined \\$val; }"\
2242 if test -n "$SPL_META_LT_CURRENT" \
2243 -o -n "$SPL_META_LT_REVISION" \
2244 -o -n "$SPL_META_LT_AGE"; then
2245 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2246 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2247 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2249 cat >>confdefs.h
<<_ACEOF
2250 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2269 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2270 $as_echo "$_spl_ac_meta_got_file" >&6; }
2274 for ac_dir
in config
"$srcdir"/config
; do
2275 if test -f "$ac_dir/install-sh"; then
2277 ac_install_sh
="$ac_aux_dir/install-sh -c"
2279 elif test -f "$ac_dir/install.sh"; then
2281 ac_install_sh
="$ac_aux_dir/install.sh -c"
2283 elif test -f "$ac_dir/shtool"; then
2285 ac_install_sh
="$ac_aux_dir/shtool install -c"
2289 if test -z "$ac_aux_dir"; then
2290 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2291 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2292 { (exit 1); exit 1; }; }
2295 # These three variables are undocumented and unsupported,
2296 # and are intended to be withdrawn in a future Autoconf release.
2297 # They can cause serious problems if a builder's source tree is in a directory
2298 # whose full name contains unusual characters.
2299 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2300 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2301 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2304 # Make sure we can run config.sub.
2305 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2306 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2307 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2308 { (exit 1); exit 1; }; }
2310 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2311 $as_echo_n "checking build system type... " >&6; }
2312 if test "${ac_cv_build+set}" = set; then
2313 $as_echo_n "(cached) " >&6
2315 ac_build_alias
=$build_alias
2316 test "x$ac_build_alias" = x
&&
2317 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2318 test "x$ac_build_alias" = x
&&
2319 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2320 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2321 { (exit 1); exit 1; }; }
2322 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2323 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2324 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2325 { (exit 1); exit 1; }; }
2328 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2329 $as_echo "$ac_cv_build" >&6; }
2330 case $ac_cv_build in
2332 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2333 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2334 { (exit 1); exit 1; }; };;
2337 ac_save_IFS
=$IFS; IFS
='-'
2343 # Remember, the first character of IFS is used to create $*,
2344 # except with old shells:
2347 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2350 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2351 $as_echo_n "checking host system type... " >&6; }
2352 if test "${ac_cv_host+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2355 if test "x$host_alias" = x
; then
2356 ac_cv_host
=$ac_cv_build
2358 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2359 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2360 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2361 { (exit 1); exit 1; }; }
2365 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2366 $as_echo "$ac_cv_host" >&6; }
2369 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2370 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2371 { (exit 1); exit 1; }; };;
2374 ac_save_IFS
=$IFS; IFS
='-'
2380 # Remember, the first character of IFS is used to create $*,
2381 # except with old shells:
2384 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2387 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2388 $as_echo_n "checking target system type... " >&6; }
2389 if test "${ac_cv_target+set}" = set; then
2390 $as_echo_n "(cached) " >&6
2392 if test "x$target_alias" = x
; then
2393 ac_cv_target
=$ac_cv_host
2395 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2396 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2397 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2398 { (exit 1); exit 1; }; }
2402 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2403 $as_echo "$ac_cv_target" >&6; }
2404 case $ac_cv_target in
2406 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2407 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2408 { (exit 1); exit 1; }; };;
2410 target
=$ac_cv_target
2411 ac_save_IFS
=$IFS; IFS
='-'
2417 # Remember, the first character of IFS is used to create $*,
2418 # except with old shells:
2421 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2424 # The aliases save the names the user supplied, while $host etc.
2425 # will get canonicalized.
2426 test -n "$target_alias" &&
2427 test "$program_prefix$program_suffix$program_transform_name" = \
2429 program_prefix
=${target_alias}-
2431 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2432 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2433 # Check whether --enable-maintainer-mode was given.
2434 if test "${enable_maintainer_mode+set}" = set; then
2435 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2437 USE_MAINTAINER_MODE
=no
2440 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2441 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2442 if test $USE_MAINTAINER_MODE = yes; then
2443 MAINTAINER_MODE_TRUE
=
2444 MAINTAINER_MODE_FALSE
='#'
2446 MAINTAINER_MODE_TRUE
='#'
2447 MAINTAINER_MODE_FALSE
=
2450 MAINT
=$MAINTAINER_MODE_TRUE
2453 # Check whether --enable-silent-rules was given.
2454 if test "${enable_silent_rules+set}" = set; then
2455 enableval
=$enable_silent_rules;
2458 case $enable_silent_rules in
2459 yes) AM_DEFAULT_VERBOSITY
=0;;
2460 no
) AM_DEFAULT_VERBOSITY
=1;;
2461 *) AM_DEFAULT_VERBOSITY
=1;;
2465 am__api_version='1.11'
2467 # Find a good install program. We prefer a C program (faster),
2468 # so one script is as good as another. But avoid the broken or
2469 # incompatible versions:
2470 # SysV /etc/install, /usr/sbin/install
2471 # SunOS /usr/etc/install
2472 # IRIX /sbin/install
2474 # AmigaOS /C/install, which installs bootblocks on floppy discs
2475 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2476 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2477 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2478 # OS/2's system install, which has a completely different semantic
2479 # ./install, which can be erroneously created by make from ./install.sh.
2480 # Reject install programs that cannot install multiple files.
2481 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2482 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2483 if test -z "$INSTALL"; then
2484 if test "${ac_cv_path_install+set}" = set; then
2485 $as_echo_n "(cached) " >&6
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 # Account for people who put trailing slashes in PATH elements.
2494 .
/ | .
// |
/cC
/* | \
2495 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2496 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2499 # OSF1 and SCO ODT 3.0 have their own names for install.
2500 # Don't use installbsd from OSF since it installs stuff as root
2502 for ac_prog
in ginstall scoinst
install; do
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2505 if test $ac_prog = install &&
2506 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2507 # AIX install. It has an incompatible calling convention.
2509 elif test $ac_prog = install &&
2510 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2511 # program-specific install script used by HP pwplus--don't use.
2514 rm -rf conftest.one conftest.two conftest.dir
2515 echo one
> conftest.one
2516 echo two
> conftest.two
2518 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2519 test -s conftest.one
&& test -s conftest.two
&&
2520 test -s conftest.dir
/conftest.one
&&
2521 test -s conftest.dir
/conftest.two
2523 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2536 rm -rf conftest.one conftest.two conftest.dir
2539 if test "${ac_cv_path_install+set}" = set; then
2540 INSTALL
=$ac_cv_path_install
2542 # As a last resort, use the slow shell script. Don't cache a
2543 # value for INSTALL within a source directory, because that will
2544 # break other packages using the cache if that directory is
2545 # removed, or if the value is a relative name.
2546 INSTALL
=$ac_install_sh
2549 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2550 $as_echo "$INSTALL" >&6; }
2552 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2553 # It thinks the first close brace ends the variable substitution.
2554 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2556 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2558 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2560 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2561 $as_echo_n "checking whether build environment is sane... " >&6; }
2564 echo timestamp
> conftest.
file
2565 # Reject unsafe characters in $srcdir or the absolute working directory
2566 # name. Accept space and tab only in the latter.
2570 *[\\\"\
#\$\&\'\`$am_lf]*)
2571 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2572 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2573 { (exit 1); exit 1; }; };;
2576 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2577 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2578 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2579 { (exit 1); exit 1; }; };;
2582 # Do `set' in a subshell so we don't clobber the current shell's
2583 # arguments. Must try -L first in case configure is actually a
2584 # symlink; some systems play weird games with the mod time of symlinks
2585 # (eg FreeBSD returns the mod time of the symlink's containing
2588 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2589 if test "$*" = "X"; then
2591 set X
`ls -t "$srcdir/configure" conftest.file`
2594 if test "$*" != "X $srcdir/configure conftest.file" \
2595 && test "$*" != "X conftest.file $srcdir/configure"; then
2597 # If neither matched, then we have a broken ls. This can happen
2598 # if, for instance, CONFIG_SHELL is bash and it inherits a
2599 # broken ls alias from the environment. This has actually
2600 # happened. Such a system could not be considered "sane".
2601 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2602 alias in your environment" >&5
2603 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2604 alias in your environment" >&2;}
2605 { (exit 1); exit 1; }; }
2608 test "$2" = conftest.
file
2614 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2615 Check your system clock" >&5
2616 $as_echo "$as_me: error: newly created file is older than distributed files!
2617 Check your system clock" >&2;}
2618 { (exit 1); exit 1; }; }
2620 { $as_echo "$as_me:$LINENO: result: yes" >&5
2621 $as_echo "yes" >&6; }
2622 test "$program_prefix" != NONE
&&
2623 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2624 # Use a double $ so make ignores it.
2625 test "$program_suffix" != NONE
&&
2626 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2627 # Double any \ or $.
2628 # By default was `s,x,x', remove it if useless.
2629 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2630 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2632 # expand $ac_aux_dir to an absolute path
2633 am_aux_dir
=`cd $ac_aux_dir && pwd`
2635 if test x
"${MISSING+set}" != xset
; then
2638 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2640 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2643 # Use eval to expand $SHELL
2644 if eval "$MISSING --run true"; then
2645 am_missing_run
="$MISSING --run "
2648 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2649 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2652 if test x
"${install_sh}" != xset
; then
2655 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2657 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2661 # Installed binaries are usually stripped using `strip' when the user
2662 # run `make install-strip'. However `strip' might not be the right
2663 # tool to use in cross-compilation environments, therefore Automake
2664 # will honor the `STRIP' environment variable to overrule this program.
2665 if test "$cross_compiling" != no
; then
2666 if test -n "$ac_tool_prefix"; then
2667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2668 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_STRIP+set}" = set; then
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$STRIP"; then
2675 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 STRIP
=$ac_cv_prog_STRIP
2695 if test -n "$STRIP"; then
2696 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2697 $as_echo "$STRIP" >&6; }
2699 { $as_echo "$as_me:$LINENO: result: no" >&5
2700 $as_echo "no" >&6; }
2705 if test -z "$ac_cv_prog_STRIP"; then
2707 # Extract the first word of "strip", so it can be a program name with args.
2708 set dummy strip
; ac_word
=$2
2709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$ac_ct_STRIP"; then
2715 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_ac_ct_STRIP
="strip"
2725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2735 if test -n "$ac_ct_STRIP"; then
2736 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2737 $as_echo "$ac_ct_STRIP" >&6; }
2739 { $as_echo "$as_me:$LINENO: result: no" >&5
2740 $as_echo "no" >&6; }
2743 if test "x$ac_ct_STRIP" = x
; then
2746 case $cross_compiling:$ac_tool_warned in
2748 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2750 ac_tool_warned
=yes ;;
2755 STRIP
="$ac_cv_prog_STRIP"
2759 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2761 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2762 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2763 if test -z "$MKDIR_P"; then
2764 if test "${ac_cv_path_mkdir+set}" = set; then
2765 $as_echo_n "(cached) " >&6
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2768 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_prog
in mkdir gmkdir
; do
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2775 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2776 'mkdir (GNU coreutils) '* | \
2777 'mkdir (coreutils) '* | \
2778 'mkdir (fileutils) '4.1*)
2779 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2789 if test "${ac_cv_path_mkdir+set}" = set; then
2790 MKDIR_P
="$ac_cv_path_mkdir -p"
2792 # As a last resort, use the slow shell script. Don't cache a
2793 # value for MKDIR_P within a source directory, because that will
2794 # break other packages using the cache if that directory is
2795 # removed, or if the value is a relative name.
2796 test -d .
/--version && rmdir .
/--version
2797 MKDIR_P
="$ac_install_sh -d"
2800 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2801 $as_echo "$MKDIR_P" >&6; }
2805 [\\/$
]* | ?
:[\\/]*) ;;
2806 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2809 for ac_prog
in gawk mawk nawk
awk
2811 # Extract the first word of "$ac_prog", so it can be a program name with args.
2812 set dummy
$ac_prog; ac_word
=$2
2813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if test "${ac_cv_prog_AWK+set}" = set; then
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$AWK"; then
2819 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_AWK
="$ac_prog"
2829 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$AWK"; then
2840 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2841 $as_echo "$AWK" >&6; }
2843 { $as_echo "$as_me:$LINENO: result: no" >&5
2844 $as_echo "no" >&6; }
2848 test -n "$AWK" && break
2851 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2852 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2854 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2855 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2856 $as_echo_n "(cached) " >&6
2858 cat >conftest.
make <<\_ACEOF
2861 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2863 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2864 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2866 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2868 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2872 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2873 { $as_echo "$as_me:$LINENO: result: yes" >&5
2874 $as_echo "yes" >&6; }
2877 { $as_echo "$as_me:$LINENO: result: no" >&5
2878 $as_echo "no" >&6; }
2879 SET_MAKE
="MAKE=${MAKE-make}"
2882 rm -rf .tst
2>/dev
/null
2883 mkdir .tst
2>/dev
/null
2884 if test -d .tst
; then
2889 rmdir .tst
2>/dev
/null
2891 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2892 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2893 # is not polluted with repeated "-I."
2894 am__isrc
=' -I$(srcdir)'
2895 # test to see if srcdir already configured
2896 if test -f $srcdir/config.status
; then
2897 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2898 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2899 { (exit 1); exit 1; }; }
2903 # test whether we have cygpath
2904 if test -z "$CYGPATH_W"; then
2905 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2906 CYGPATH_W
='cygpath -w'
2913 # Define the identity of the package.
2914 PACKAGE
=$SPL_META_NAME
2915 VERSION
=$SPL_META_VERSION
2918 cat >>confdefs.h
<<_ACEOF
2919 #define PACKAGE "$PACKAGE"
2923 cat >>confdefs.h
<<_ACEOF
2924 #define VERSION "$VERSION"
2927 # Some tools Automake needs.
2929 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2932 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2935 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2938 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2941 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2943 # We need awk for the "check" target. The system "awk" is bad on
2945 # Always define AMTAR for backward compatibility.
2947 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2949 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2955 ac_config_headers
="$ac_config_headers spl_config.h"
2958 # Find a good install program. We prefer a C program (faster),
2959 # so one script is as good as another. But avoid the broken or
2960 # incompatible versions:
2961 # SysV /etc/install, /usr/sbin/install
2962 # SunOS /usr/etc/install
2963 # IRIX /sbin/install
2965 # AmigaOS /C/install, which installs bootblocks on floppy discs
2966 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2967 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2968 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2969 # OS/2's system install, which has a completely different semantic
2970 # ./install, which can be erroneously created by make from ./install.sh.
2971 # Reject install programs that cannot install multiple files.
2972 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2973 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2974 if test -z "$INSTALL"; then
2975 if test "${ac_cv_path_install+set}" = set; then
2976 $as_echo_n "(cached) " >&6
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 # Account for people who put trailing slashes in PATH elements.
2985 .
/ | .
// |
/cC
/* | \
2986 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2987 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2990 # OSF1 and SCO ODT 3.0 have their own names for install.
2991 # Don't use installbsd from OSF since it installs stuff as root
2993 for ac_prog
in ginstall scoinst
install; do
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2996 if test $ac_prog = install &&
2997 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2998 # AIX install. It has an incompatible calling convention.
3000 elif test $ac_prog = install &&
3001 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3002 # program-specific install script used by HP pwplus--don't use.
3005 rm -rf conftest.one conftest.two conftest.dir
3006 echo one
> conftest.one
3007 echo two
> conftest.two
3009 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3010 test -s conftest.one
&& test -s conftest.two
&&
3011 test -s conftest.dir
/conftest.one
&&
3012 test -s conftest.dir
/conftest.two
3014 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3027 rm -rf conftest.one conftest.two conftest.dir
3030 if test "${ac_cv_path_install+set}" = set; then
3031 INSTALL
=$ac_cv_path_install
3033 # As a last resort, use the slow shell script. Don't cache a
3034 # value for INSTALL within a source directory, because that will
3035 # break other packages using the cache if that directory is
3036 # removed, or if the value is a relative name.
3037 INSTALL
=$ac_install_sh
3040 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3041 $as_echo "$INSTALL" >&6; }
3043 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3044 # It thinks the first close brace ends the variable substitution.
3045 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3047 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3049 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3052 ac_cpp
='$CPP $CPPFLAGS'
3053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if test "${ac_cv_prog_CC+set}" = set; then
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC
="$CC" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:$LINENO: result: no" >&5
3090 $as_echo "no" >&6; }
3095 if test -z "$ac_cv_prog_CC"; then
3097 # Extract the first word of "gcc", so it can be a program name with args.
3098 set dummy gcc
; ac_word
=$2
3099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$ac_ct_CC"; then
3105 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_exec_ext
in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114 ac_cv_prog_ac_ct_CC
="gcc"
3115 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3125 if test -n "$ac_ct_CC"; then
3126 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3127 $as_echo "$ac_ct_CC" >&6; }
3129 { $as_echo "$as_me:$LINENO: result: no" >&5
3130 $as_echo "no" >&6; }
3133 if test "x$ac_ct_CC" = x
; then
3136 case $cross_compiling:$ac_tool_warned in
3138 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140 ac_tool_warned
=yes ;;
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3151 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3152 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if test "${ac_cv_prog_CC+set}" = set; then
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC
="$CC" # Let the user override the test.
3160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir
=.
3165 for ac_exec_ext
in '' $ac_executable_extensions; do
3166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3168 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test -n "$CC"; then
3179 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3182 { $as_echo "$as_me:$LINENO: result: no" >&5
3183 $as_echo "no" >&6; }
3189 if test -z "$CC"; then
3190 # Extract the first word of "cc", so it can be a program name with args.
3191 set dummy cc
; ac_word
=$2
3192 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if test "${ac_cv_prog_CC+set}" = set; then
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$CC"; then
3198 ac_cv_prog_CC
="$CC" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3209 ac_prog_rejected
=yes
3213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test $ac_prog_rejected = yes; then
3221 # We found a bogon in the path, so make sure we never use it.
3222 set dummy
$ac_cv_prog_CC
3224 if test $# != 0; then
3225 # We chose a different compiler from the bogus one.
3226 # However, it has the same basename, so the bogon will be chosen
3227 # first if we set CC to just the basename; use the full file name.
3229 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3235 if test -n "$CC"; then
3236 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3237 $as_echo "$CC" >&6; }
3239 { $as_echo "$as_me:$LINENO: result: no" >&5
3240 $as_echo "no" >&6; }
3245 if test -z "$CC"; then
3246 if test -n "$ac_tool_prefix"; then
3247 for ac_prog
in cl.exe
3249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3250 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_CC+set}" = set; then
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC
="$CC" # Let the user override the test.
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3267 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:$LINENO: result: no" >&5
3282 $as_echo "no" >&6; }
3286 test -n "$CC" && break
3289 if test -z "$CC"; then
3291 for ac_prog
in cl.exe
3293 # Extract the first word of "$ac_prog", so it can be a program name with args.
3294 set dummy
$ac_prog; ac_word
=$2
3295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$ac_ct_CC"; then
3301 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir
=.
3308 for ac_exec_ext
in '' $ac_executable_extensions; do
3309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310 ac_cv_prog_ac_ct_CC
="$ac_prog"
3311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3323 $as_echo "$ac_ct_CC" >&6; }
3325 { $as_echo "$as_me:$LINENO: result: no" >&5
3326 $as_echo "no" >&6; }
3330 test -n "$ac_ct_CC" && break
3333 if test "x$ac_ct_CC" = x
; then
3336 case $cross_compiling:$ac_tool_warned in
3338 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340 ac_tool_warned
=yes ;;
3349 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3352 See \`config.log' for more details." >&5
3353 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3354 See \`config.log' for more details." >&2;}
3355 { (exit 1); exit 1; }; }; }
3357 # Provide some information about the compiler.
3358 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3361 { (ac_try
="$ac_compiler --version >&5"
3363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367 $as_echo "$ac_try_echo") >&5
3368 (eval "$ac_compiler --version >&5") 2>&5
3370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }
3372 { (ac_try="$ac_compiler -v >&5"
3374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3375 *) ac_try_echo
=$ac_try;;
3377 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3378 $as_echo "$ac_try_echo") >&5
3379 (eval "$ac_compiler -v >&5") 2>&5
3381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }
3383 { (ac_try
="$ac_compiler -V >&5"
3385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3389 $as_echo "$ac_try_echo") >&5
3390 (eval "$ac_compiler -V >&5") 2>&5
3392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }
3395 cat >conftest.$ac_ext <<_ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 ac_clean_files_save=$ac_clean_files
3411 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3412 # Try to create an executable without -o first, disregard a.out.
3413 # It will help us diagnose broken compilers, and finding out an intuition
3415 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3416 $as_echo_n "checking for C compiler default output file name... " >&6; }
3417 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3419 # The possible output files:
3420 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3423 for ac_file in $ac_files
3426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3427 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3432 if { (ac_try="$ac_link_default"
3434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3435 *) ac_try_echo
=$ac_try;;
3437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3438 $as_echo "$ac_try_echo") >&5
3439 (eval "$ac_link_default") 2>&5
3441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; then
3443 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3444 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3445 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3446 # so that the user can short-circuit this test for compilers unknown to
3448 for ac_file
in $ac_files ''
3450 test -f "$ac_file" ||
continue
3452 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3455 # We found the default executable, but exeext='' is most
3459 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3461 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3463 # We set ac_cv_exeext here because the later test for it is not
3464 # safe: cross compilers may not add the suffix if given an `-o'
3465 # argument, so we may need to know it at that point already.
3466 # Even if this section looks crufty: it has the advantage of
3473 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3479 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3480 $as_echo "$ac_file" >&6; }
3481 if test -z "$ac_file"; then
3482 $as_echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3488 See \`config.log' for more details." >&5
3489 $as_echo "$as_me: error: C compiler cannot create executables
3490 See \`config.log' for more details." >&2;}
3491 { (exit 77); exit 77; }; }; }
3494 ac_exeext
=$ac_cv_exeext
3496 # Check that the compiler produces executables we can run. If not, either
3497 # the compiler is broken, or we cross compile.
3498 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3499 $as_echo_n "checking whether the C compiler works... " >&6; }
3500 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3501 # If not cross compiling, check that we can run a simple program.
3502 if test "$cross_compiling" != yes; then
3503 if { ac_try
='./$ac_file'
3504 { (case "(($ac_try" in
3505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510 (eval "$ac_try") 2>&5
3512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; }; then
3516 if test "$cross_compiling" = maybe; then
3519 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3522 If you meant to cross compile
, use \
`--host'.
3523 See \`config.log
' for more details." >&5
3524 $as_echo "$as_me: error: cannot run C compiled programs.
3525 If you meant to cross compile, use \`--host'.
3526 See \
`config.log' for more details." >&2;}
3527 { (exit 1); exit 1; }; }; }
3531 { $as_echo "$as_me:$LINENO: result: yes" >&5
3532 $as_echo "yes" >&6; }
3534 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3535 ac_clean_files=$ac_clean_files_save
3536 # Check that the compiler produces executables we can run. If not, either
3537 # the compiler is broken, or we cross compile.
3538 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3539 $as_echo_n "checking whether we are cross compiling... " >&6; }
3540 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3541 $as_echo "$cross_compiling" >&6; }
3543 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3544 $as_echo_n "checking for suffix of executables... " >&6; }
3545 if { (ac_try="$ac_link"
3547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3548 *) ac_try_echo
=$ac_try;;
3550 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3551 $as_echo "$ac_try_echo") >&5
3552 (eval "$ac_link") 2>&5
3554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; then
3556 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3557 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3558 # work properly (i.e., refer to `conftest.exe'), while it won't with
3560 for ac_file
in conftest.exe conftest conftest.
*; do
3561 test -f "$ac_file" ||
continue
3563 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3564 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3570 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3573 See \`config.log' for more details." >&5
3574 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3575 See \`config.log' for more details." >&2;}
3576 { (exit 1); exit 1; }; }; }
3579 rm -f conftest
$ac_cv_exeext
3580 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3581 $as_echo "$ac_cv_exeext" >&6; }
3583 rm -f conftest.
$ac_ext
3584 EXEEXT
=$ac_cv_exeext
3586 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3587 $as_echo_n "checking for suffix of object files... " >&6; }
3588 if test "${ac_cv_objext+set}" = set; then
3589 $as_echo_n "(cached) " >&6
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3606 rm -f conftest.o conftest.obj
3607 if { (ac_try
="$ac_compile"
3609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3613 $as_echo "$ac_try_echo") >&5
3614 (eval "$ac_compile") 2>&5
3616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; then
3618 for ac_file in conftest.o conftest.obj conftest.*; do
3619 test -f "$ac_file" || continue;
3621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3622 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3627 $as_echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.$ac_ext >&5
3630 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3633 See \
`config.log' for more details." >&5
3634 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3635 See \`config.log
' for more details." >&2;}
3636 { (exit 1); exit 1; }; }; }
3639 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3642 $as_echo "$ac_cv_objext" >&6; }
3643 OBJEXT=$ac_cv_objext
3645 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3646 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3647 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3648 $as_echo_n "(cached) " >&6
3650 cat >conftest.$ac_ext <<_ACEOF
3653 cat confdefs.h >>conftest.$ac_ext
3654 cat >>conftest.$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3668 rm -f conftest.$ac_objext
3669 if { (ac_try="$ac_compile"
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3675 $as_echo "$ac_try_echo") >&5
3676 (eval "$ac_compile") 2>conftest.er1
3678 grep -v '^
*+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } && {
3683 test -z "$ac_c_werror_flag" ||
3684 test ! -s conftest.err
3685 } && test -s conftest.$ac_objext; then
3688 $as_echo "$as_me: failed program was:" >&5
3689 sed 's
/^
/|
/' conftest.$ac_ext >&5
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3698 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3699 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3700 if test $ac_compiler_gnu = yes; then
3705 ac_test_CFLAGS=${CFLAGS+set}
3706 ac_save_CFLAGS=$CFLAGS
3707 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3708 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3709 if test "${ac_cv_prog_cc_g+set}" = set; then
3710 $as_echo_n "(cached) " >&6
3712 ac_save_c_werror_flag=$ac_c_werror_flag
3713 ac_c_werror_flag=yes
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3731 rm -f conftest.$ac_objext
3732 if { (ac_try="$ac_compile"
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3738 $as_echo "$ac_try_echo") >&5
3739 (eval "$ac_compile") 2>conftest.er1
3741 grep -v '^
*+' conftest.er1 >conftest.err
3743 cat conftest.err >&5
3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } && {
3746 test -z "$ac_c_werror_flag" ||
3747 test ! -s conftest.err
3748 } && test -s conftest.$ac_objext; then
3751 $as_echo "$as_me: failed program was:" >&5
3752 sed 's
/^
/|
/' conftest.$ac_ext >&5
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3770 rm -f conftest.$ac_objext
3771 if { (ac_try="$ac_compile"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3777 $as_echo "$ac_try_echo") >&5
3778 (eval "$ac_compile") 2>conftest.er1
3780 grep -v '^
*+' conftest.er1 >conftest.err
3782 cat conftest.err >&5
3783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } && {
3785 test -z "$ac_c_werror_flag" ||
3786 test ! -s conftest.err
3787 } && test -s conftest.$ac_objext; then
3790 $as_echo "$as_me: failed program was:" >&5
3791 sed 's
/^
/|
/' conftest.$ac_ext >&5
3793 ac_c_werror_flag=$ac_save_c_werror_flag
3795 cat >conftest.$ac_ext <<_ACEOF
3798 cat confdefs.h >>conftest.$ac_ext
3799 cat >>conftest.$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3810 rm -f conftest.$ac_objext
3811 if { (ac_try="$ac_compile"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3817 $as_echo "$ac_try_echo") >&5
3818 (eval "$ac_compile") 2>conftest.er1
3820 grep -v '^
*+' conftest.er1 >conftest.err
3822 cat conftest.err >&5
3823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } && {
3825 test -z "$ac_c_werror_flag" ||
3826 test ! -s conftest.err
3827 } && test -s conftest.$ac_objext; then
3830 $as_echo "$as_me: failed program was:" >&5
3831 sed 's
/^
/|
/' conftest.$ac_ext >&5
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if test "${ac_cv_prog_cc_c89+set}" = set; then
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat >conftest.$ac_ext <<_ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3877 #include <sys/types.h>
3878 #include <sys/stat.h>
3879 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3880 struct buf
{ int x
; };
3881 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3882 static char
*e
(p
, i
)
3888 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3893 s
= g
(p
, va_arg
(v
,int
));
3898 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3899 function prototypes and stuff
, but not
'\xHH' hex character constants.
3900 These don
't provoke an error unfortunately, instead are silently treated
3901 as 'x
'. The following induces an error, until -std is added to get
3902 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3903 array size at least. It's necessary to
write '\x00'==0 to get something
3904 that
's true only with -std. */
3905 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3907 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3908 inside strings and character constants. */
3910 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3912 int test (int i, double x);
3913 struct s1 {int (*f) (int a);};
3914 struct s2 {int (*f) (double a);};
3915 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3921 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3926 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3927 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3929 CC="$ac_save_CC $ac_arg"
3930 rm -f conftest.$ac_objext
3931 if { (ac_try="$ac_compile"
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3937 $as_echo "$ac_try_echo") >&5
3938 (eval "$ac_compile") 2>conftest.er1
3940 grep -v '^
*+' conftest.er1 >conftest.err
3942 cat conftest.err >&5
3943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } && {
3945 test -z "$ac_c_werror_flag" ||
3946 test ! -s conftest.err
3947 } && test -s conftest.$ac_objext; then
3948 ac_cv_prog_cc_c89=$ac_arg
3950 $as_echo "$as_me: failed program was:" >&5
3951 sed 's
/^
/|
/' conftest.$ac_ext >&5
3956 rm -f core conftest.err conftest.$ac_objext
3957 test "x$ac_cv_prog_cc_c89" != "xno" && break
3959 rm -f conftest.$ac_ext
3964 case "x$ac_cv_prog_cc_c89" in
3966 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3967 $as_echo "none needed" >&6; } ;;
3969 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3970 $as_echo "unsupported" >&6; } ;;
3972 CC="$CC $ac_cv_prog_cc_c89"
3973 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3974 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3979 ac_cpp='$CPP $CPPFLAGS'
3980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3981 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983 DEPDIR="${am__leading_dot}deps"
3985 ac_config_commands="$ac_config_commands depfiles"
3988 am_make=${MAKE-make}
3989 cat > confinc << 'END
'
3991 @echo this is the am__doit target
3994 # If we don't
find an include directive
, just comment out the code.
3995 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3996 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4000 # First try GNU make style include.
4001 echo "include confinc" > confmf
4002 # Ignore all kinds of additional output from `make'.
4003 case `$am_make -s -f confmf 2> /dev/null` in #(
4004 *the\ am__doit\ target
*)
4010 # Now try BSD make style include.
4011 if test "$am__include" = "#"; then
4012 echo '.include "confinc"' > confmf
4013 case `$am_make -s -f confmf 2> /dev/null` in #(
4014 *the\ am__doit\ target
*)
4015 am__include
=.include
4023 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4024 $as_echo "$_am_result" >&6; }
4025 rm -f confinc confmf
4027 # Check whether --enable-dependency-tracking was given.
4028 if test "${enable_dependency_tracking+set}" = set; then
4029 enableval
=$enable_dependency_tracking;
4032 if test "x$enable_dependency_tracking" != xno
; then
4033 am_depcomp
="$ac_aux_dir/depcomp"
4036 if test "x$enable_dependency_tracking" != xno; then
4046 depcc
="$CC" am_compiler_list
=
4048 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4049 $as_echo_n "checking dependency style of $depcc... " >&6; }
4050 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4051 $as_echo_n "(cached) " >&6
4053 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4054 # We make a subdir and do the tests there. Otherwise we can end up
4055 # making bogus files that we don't know about and never remove. For
4056 # instance it was reported that on HP-UX the gcc test will end up
4057 # making a dummy file named `D' -- because `-MD' means `put the output
4060 # Copy depcomp to subdir because otherwise we won't find it if we're
4061 # using a relative directory.
4062 cp "$am_depcomp" conftest.dir
4064 # We will build objects and dependencies in a subdirectory because
4065 # it helps to detect inapplicable dependency modes. For instance
4066 # both Tru64's cc and ICC support -MD to output dependencies as a
4067 # side effect of compilation, but ICC will put the dependencies in
4068 # the current directory while Tru64 will put them in the object
4072 am_cv_CC_dependencies_compiler_type
=none
4073 if test "$am_compiler_list" = ""; then
4074 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4077 case " $depcc " in #(
4078 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4081 for depmode
in $am_compiler_list; do
4082 # Setup a source with many dependencies, because some compilers
4083 # like to wrap large dependency lists on column 80 (with \), and
4084 # we should not choose a depcomp mode which is confused by this.
4086 # We need to recreate these files for each test, as the compiler may
4087 # overwrite some of them when testing with obscure command lines.
4088 # This happens at least with the AIX C compiler.
4090 for i
in 1 2 3 4 5 6; do
4091 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4092 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4093 # Solaris 8's {/usr,}/bin/sh.
4094 touch sub
/conftst
$i.h
4096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4098 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4099 # mode. It turns out that the SunPro C++ compiler does not properly
4100 # handle `-M -o', and we need to detect this. Also, some Intel
4101 # versions had trouble with output in subdirs
4102 am__obj
=sub
/conftest.
${OBJEXT-o}
4103 am__minus_obj
="-o $am__obj"
4106 # This depmode causes a compiler race in universal mode.
4107 test "$am__universal" = false ||
continue
4110 # after this tag, mechanisms are not by side-effect, so they'll
4111 # only be used when explicitly requested
4112 if test "x$enable_dependency_tracking" = xyes
; then
4118 msvisualcpp | msvcmsys
)
4119 # This compiler won't grok `-c -o', but also, the minuso test has
4120 # not run yet. These depmodes are late enough in the game, and
4121 # so weak that their functioning should not be impacted.
4122 am__obj
=conftest.
${OBJEXT-o}
4127 if depmode
=$depmode \
4128 source=sub
/conftest.c object
=$am__obj \
4129 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4130 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4131 >/dev
/null
2>conftest.err
&&
4132 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4133 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4134 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4135 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4136 # icc doesn't choke on unknown options, it will just issue warnings
4137 # or remarks (even with -Werror). So we grep stderr for any message
4138 # that says an option was ignored or not supported.
4139 # When given -MP, icc 7.0 and 7.1 complain thusly:
4140 # icc: Command line warning: ignoring option '-M'; no argument required
4141 # The diagnosis changed in icc 8.0:
4142 # icc: Command line remark: option '-MP' not supported
4143 if (grep 'ignoring option' conftest.err ||
4144 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4145 am_cv_CC_dependencies_compiler_type
=$depmode
4154 am_cv_CC_dependencies_compiler_type
=none
4158 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4160 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4163 test "x$enable_dependency_tracking" != xno \
4164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4166 am__fastdepCC_FALSE
='#'
4168 am__fastdepCC_TRUE
='#'
4169 am__fastdepCC_FALSE
=
4175 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4176 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4181 macro_version
='2.2.6b'
4182 macro_revision
='1.3017'
4196 ltmain
="$ac_aux_dir/ltmain.sh"
4198 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4199 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4200 if test "${ac_cv_path_SED+set}" = set; then
4201 $as_echo_n "(cached) " >&6
4203 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4204 for ac_i
in 1 2 3 4 5 6 7; do
4205 ac_script
="$ac_script$as_nl$ac_script"
4207 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4208 $as_unset ac_script || ac_script
=
4209 if test -z "$SED"; then
4210 ac_path_SED_found
=false
4211 # Loop through the user's path and test for each of PROGNAME-LIST
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_prog
in sed gsed
; do
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4220 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4221 # Check for GNU ac_path_SED and select it if it is found.
4222 # Check for GNU $ac_path_SED
4223 case `"$ac_path_SED" --version 2>&1` in
4225 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4228 $as_echo_n 0123456789 >"conftest.in"
4231 cat "conftest.in" "conftest.in" >"conftest.tmp"
4232 mv "conftest.tmp" "conftest.in"
4233 cp "conftest.in" "conftest.nl"
4234 $as_echo '' >> "conftest.nl"
4235 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4236 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4237 ac_count
=`expr $ac_count + 1`
4238 if test $ac_count -gt ${ac_path_SED_max-0}; then
4239 # Best one so far, save it but keep looking for a better one
4240 ac_cv_path_SED
="$ac_path_SED"
4241 ac_path_SED_max
=$ac_count
4243 # 10*(2^10) chars as input seems more than enough
4244 test $ac_count -gt 10 && break
4246 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4249 $ac_path_SED_found && break 3
4254 if test -z "$ac_cv_path_SED"; then
4255 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4256 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4257 { (exit 1); exit 1; }; }
4264 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4265 $as_echo "$ac_cv_path_SED" >&6; }
4266 SED
="$ac_cv_path_SED"
4269 test -z "$SED" && SED
=sed
4270 Xsed
="$SED -e 1s/^X//"
4282 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4283 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4284 if test "${ac_cv_path_GREP+set}" = set; then
4285 $as_echo_n "(cached) " >&6
4287 if test -z "$GREP"; then
4288 ac_path_GREP_found
=false
4289 # Loop through the user's path and test for each of PROGNAME-LIST
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4291 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_prog
in grep ggrep
; do
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4298 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4299 # Check for GNU ac_path_GREP and select it if it is found.
4300 # Check for GNU $ac_path_GREP
4301 case `"$ac_path_GREP" --version 2>&1` in
4303 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4306 $as_echo_n 0123456789 >"conftest.in"
4309 cat "conftest.in" "conftest.in" >"conftest.tmp"
4310 mv "conftest.tmp" "conftest.in"
4311 cp "conftest.in" "conftest.nl"
4312 $as_echo 'GREP' >> "conftest.nl"
4313 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4314 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4315 ac_count
=`expr $ac_count + 1`
4316 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4317 # Best one so far, save it but keep looking for a better one
4318 ac_cv_path_GREP
="$ac_path_GREP"
4319 ac_path_GREP_max
=$ac_count
4321 # 10*(2^10) chars as input seems more than enough
4322 test $ac_count -gt 10 && break
4324 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4327 $ac_path_GREP_found && break 3
4332 if test -z "$ac_cv_path_GREP"; then
4333 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4334 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4335 { (exit 1); exit 1; }; }
4338 ac_cv_path_GREP
=$GREP
4342 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4343 $as_echo "$ac_cv_path_GREP" >&6; }
4344 GREP
="$ac_cv_path_GREP"
4347 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4348 $as_echo_n "checking for egrep... " >&6; }
4349 if test "${ac_cv_path_EGREP+set}" = set; then
4350 $as_echo_n "(cached) " >&6
4352 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4353 then ac_cv_path_EGREP
="$GREP -E"
4355 if test -z "$EGREP"; then
4356 ac_path_EGREP_found
=false
4357 # Loop through the user's path and test for each of PROGNAME-LIST
4358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4359 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4362 test -z "$as_dir" && as_dir
=.
4363 for ac_prog
in egrep; do
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4366 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4367 # Check for GNU ac_path_EGREP and select it if it is found.
4368 # Check for GNU $ac_path_EGREP
4369 case `"$ac_path_EGREP" --version 2>&1` in
4371 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4374 $as_echo_n 0123456789 >"conftest.in"
4377 cat "conftest.in" "conftest.in" >"conftest.tmp"
4378 mv "conftest.tmp" "conftest.in"
4379 cp "conftest.in" "conftest.nl"
4380 $as_echo 'EGREP' >> "conftest.nl"
4381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4382 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4383 ac_count
=`expr $ac_count + 1`
4384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4385 # Best one so far, save it but keep looking for a better one
4386 ac_cv_path_EGREP
="$ac_path_EGREP"
4387 ac_path_EGREP_max
=$ac_count
4389 # 10*(2^10) chars as input seems more than enough
4390 test $ac_count -gt 10 && break
4392 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4395 $ac_path_EGREP_found && break 3
4400 if test -z "$ac_cv_path_EGREP"; then
4401 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4402 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4403 { (exit 1); exit 1; }; }
4406 ac_cv_path_EGREP
=$EGREP
4411 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4412 $as_echo "$ac_cv_path_EGREP" >&6; }
4413 EGREP
="$ac_cv_path_EGREP"
4416 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4417 $as_echo_n "checking for fgrep... " >&6; }
4418 if test "${ac_cv_path_FGREP+set}" = set; then
4419 $as_echo_n "(cached) " >&6
4421 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4422 then ac_cv_path_FGREP
="$GREP -F"
4424 if test -z "$FGREP"; then
4425 ac_path_FGREP_found
=false
4426 # Loop through the user's path and test for each of PROGNAME-LIST
4427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4431 test -z "$as_dir" && as_dir
=.
4432 for ac_prog
in fgrep
; do
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4435 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4436 # Check for GNU ac_path_FGREP and select it if it is found.
4437 # Check for GNU $ac_path_FGREP
4438 case `"$ac_path_FGREP" --version 2>&1` in
4440 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4443 $as_echo_n 0123456789 >"conftest.in"
4446 cat "conftest.in" "conftest.in" >"conftest.tmp"
4447 mv "conftest.tmp" "conftest.in"
4448 cp "conftest.in" "conftest.nl"
4449 $as_echo 'FGREP' >> "conftest.nl"
4450 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4451 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4452 ac_count
=`expr $ac_count + 1`
4453 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4454 # Best one so far, save it but keep looking for a better one
4455 ac_cv_path_FGREP
="$ac_path_FGREP"
4456 ac_path_FGREP_max
=$ac_count
4458 # 10*(2^10) chars as input seems more than enough
4459 test $ac_count -gt 10 && break
4461 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4464 $ac_path_FGREP_found && break 3
4469 if test -z "$ac_cv_path_FGREP"; then
4470 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4471 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4472 { (exit 1); exit 1; }; }
4475 ac_cv_path_FGREP
=$FGREP
4480 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4481 $as_echo "$ac_cv_path_FGREP" >&6; }
4482 FGREP
="$ac_cv_path_FGREP"
4485 test -z "$GREP" && GREP
=grep
4505 # Check whether --with-gnu-ld was given.
4506 if test "${with_gnu_ld+set}" = set; then
4507 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4513 if test "$GCC" = yes; then
4514 # Check if gcc -print-prog-name=ld gives a path.
4515 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4516 $as_echo_n "checking for ld used by $CC... " >&6; }
4519 # gcc leaves a trailing carriage return which upsets mingw
4520 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4522 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4525 # Accept absolute paths.
4527 re_direlt
='/[^/][^/]*/\.\./'
4528 # Canonicalize the pathname of ld
4529 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4530 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4531 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4533 test -z "$LD" && LD
="$ac_prog"
4536 # If it fails, then pretend we aren't using GCC.
4540 # If it is relative, then search for the first ld in PATH.
4544 elif test "$with_gnu_ld" = yes; then
4545 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4546 $as_echo_n "checking for GNU ld... " >&6; }
4548 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4549 $as_echo_n "checking for non-GNU ld... " >&6; }
4551 if test "${lt_cv_path_LD+set}" = set; then
4552 $as_echo_n "(cached) " >&6
4554 if test -z "$LD"; then
4555 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4556 for ac_dir
in $PATH; do
4558 test -z "$ac_dir" && ac_dir
=.
4559 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4560 lt_cv_path_LD
="$ac_dir/$ac_prog"
4561 # Check to see if the program is GNU ld. I'd rather use --version,
4562 # but apparently some variants of GNU ld only accept -v.
4563 # Break only if it was the GNU/non-GNU ld that we prefer.
4564 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4565 *GNU
* |
*'with BFD'*)
4566 test "$with_gnu_ld" != no
&& break
4569 test "$with_gnu_ld" != yes && break
4576 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4581 if test -n "$LD"; then
4582 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4583 $as_echo "$LD" >&6; }
4585 { $as_echo "$as_me:$LINENO: result: no" >&5
4586 $as_echo "no" >&6; }
4588 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4589 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4590 { (exit 1); exit 1; }; }
4591 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4593 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4594 $as_echo_n "(cached) " >&6
4596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4597 case `$LD -v 2>&1 </dev/null` in
4598 *GNU
* |
*'with BFD'*)
4599 lt_cv_prog_gnu_ld
=yes
4602 lt_cv_prog_gnu_ld
=no
4606 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4608 with_gnu_ld
=$lt_cv_prog_gnu_ld
4618 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4619 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4620 if test "${lt_cv_path_NM+set}" = set; then
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$NM"; then
4624 # Let the user override the test.
4627 lt_nm_to_check
="${ac_tool_prefix}nm"
4628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4629 lt_nm_to_check
="$lt_nm_to_check nm"
4631 for lt_tmp_nm
in $lt_nm_to_check; do
4632 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4633 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4635 test -z "$ac_dir" && ac_dir
=.
4636 tmp_nm
="$ac_dir/$lt_tmp_nm"
4637 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4638 # Check to see if the nm accepts a BSD-compat flag.
4639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4640 # nm: unknown option "B" ignored
4641 # Tru64's nm complains that /dev/null is an invalid object file
4642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4643 */dev
/null
* |
*'Invalid file or object type'*)
4644 lt_cv_path_NM
="$tmp_nm -B"
4648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4650 lt_cv_path_NM
="$tmp_nm -p"
4654 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4655 continue # so that we can try to find one that supports BSD flags
4664 : ${lt_cv_path_NM=no}
4667 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4668 $as_echo "$lt_cv_path_NM" >&6; }
4669 if test "$lt_cv_path_NM" != "no"; then
4672 # Didn't find any BSD compatible name lister, look for dumpbin.
4673 if test -n "$ac_tool_prefix"; then
4674 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4677 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$DUMPBIN"; then
4684 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 DUMPBIN
=$ac_cv_prog_DUMPBIN
4704 if test -n "$DUMPBIN"; then
4705 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4706 $as_echo "$DUMPBIN" >&6; }
4708 { $as_echo "$as_me:$LINENO: result: no" >&5
4709 $as_echo "no" >&6; }
4713 test -n "$DUMPBIN" && break
4716 if test -z "$DUMPBIN"; then
4717 ac_ct_DUMPBIN
=$DUMPBIN
4718 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4720 # Extract the first word of "$ac_prog", so it can be a program name with args.
4721 set dummy
$ac_prog; ac_word
=$2
4722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4724 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4725 $as_echo_n "(cached) " >&6
4727 if test -n "$ac_ct_DUMPBIN"; then
4728 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_exec_ext
in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4738 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4748 if test -n "$ac_ct_DUMPBIN"; then
4749 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4750 $as_echo "$ac_ct_DUMPBIN" >&6; }
4752 { $as_echo "$as_me:$LINENO: result: no" >&5
4753 $as_echo "no" >&6; }
4757 test -n "$ac_ct_DUMPBIN" && break
4760 if test "x$ac_ct_DUMPBIN" = x
; then
4763 case $cross_compiling:$ac_tool_warned in
4765 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4767 ac_tool_warned
=yes ;;
4769 DUMPBIN
=$ac_ct_DUMPBIN
4774 if test "$DUMPBIN" != ":"; then
4778 test -z "$NM" && NM
=nm
4785 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4786 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4787 if test "${lt_cv_nm_interface+set}" = set; then
4788 $as_echo_n "(cached) " >&6
4790 lt_cv_nm_interface
="BSD nm"
4791 echo "int some_variable = 0;" > conftest.
$ac_ext
4792 (eval echo "\"\$as_me:4792: $ac_compile\"" >&5)
4793 (eval "$ac_compile" 2>conftest.err
)
4794 cat conftest.err
>&5
4795 (eval echo "\"\$as_me:4795: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4796 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4797 cat conftest.err
>&5
4798 (eval echo "\"\$as_me:4798: output\"" >&5)
4799 cat conftest.out
>&5
4800 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4801 lt_cv_nm_interface
="MS dumpbin"
4805 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4806 $as_echo "$lt_cv_nm_interface" >&6; }
4808 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4809 $as_echo_n "checking whether ln -s works... " >&6; }
4811 if test "$LN_S" = "ln -s"; then
4812 { $as_echo "$as_me:$LINENO: result: yes" >&5
4813 $as_echo "yes" >&6; }
4815 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4816 $as_echo "no, using $LN_S" >&6; }
4819 # find the maximum length of command line arguments
4820 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4821 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4822 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4823 $as_echo_n "(cached) " >&6
4830 # On DJGPP, this test can blow up pretty badly due to problems in libc
4831 # (any single argument exceeding 2000 bytes causes a buffer overrun
4832 # during glob expansion). Even if it were fixed, the result of this
4833 # check would be larger than it should be.
4834 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4838 # Under GNU Hurd, this test is not required because there is
4839 # no limit to the length of command line arguments.
4840 # Libtool will interpret -1 as no limit whatsoever
4841 lt_cv_sys_max_cmd_len
=-1;
4844 cygwin
* | mingw
* | cegcc
*)
4845 # On Win9x/ME, this test blows up -- it succeeds, but takes
4846 # about 5 minutes as the teststring grows exponentially.
4847 # Worse, since 9x/ME are not pre-emptively multitasking,
4848 # you end up with a "frozen" computer, even though with patience
4849 # the test eventually succeeds (with a max line length of 256k).
4850 # Instead, let's just punt: use the minimum linelength reported by
4851 # all of the supported platforms: 8192 (on NT/2K/XP).
4852 lt_cv_sys_max_cmd_len
=8192;
4856 # On AmigaOS with pdksh, this test takes hours, literally.
4857 # So we just punt and use a minimum line length of 8192.
4858 lt_cv_sys_max_cmd_len
=8192;
4861 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4862 # This has been around since 386BSD, at least. Likely further.
4863 if test -x /sbin
/sysctl
; then
4864 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4865 elif test -x /usr
/sbin
/sysctl
; then
4866 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4868 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4870 # And add a safety zone
4871 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4872 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4877 lt_cv_sys_max_cmd_len
=196608
4881 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4882 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4883 # nice to cause kernel panics so lets avoid the loop below.
4884 # First set a reasonable default.
4885 lt_cv_sys_max_cmd_len
=16384
4887 if test -x /sbin
/sysconfig
; then
4888 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4889 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4894 lt_cv_sys_max_cmd_len
=102400
4896 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4897 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4898 if test -n "$kargmax"; then
4899 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4901 lt_cv_sys_max_cmd_len
=32768
4905 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4906 if test -n "$lt_cv_sys_max_cmd_len"; then
4907 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4908 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4910 # Make teststring a little bigger before we do anything with it.
4911 # a 1K string should be a reasonable start.
4912 for i
in 1 2 3 4 5 6 7 8 ; do
4913 teststring
=$teststring$teststring
4915 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4916 # If test is not a shell built-in, we'll probably end up computing a
4917 # maximum length that is only half of the actual maximum length, but
4919 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4920 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4921 test $i != 17 # 1/2 MB should be enough
4924 teststring
=$teststring$teststring
4926 # Only check the string length outside the loop.
4927 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4929 # Add a significant safety factor because C++ compilers can tack on
4930 # massive amounts of additional arguments before passing them to the
4931 # linker. It appears as though 1/2 is a usable value.
4932 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4939 if test -n $lt_cv_sys_max_cmd_len ; then
4940 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4941 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4943 { $as_echo "$as_me:$LINENO: result: none" >&5
4944 $as_echo "none" >&6; }
4946 max_cmd_len
=$lt_cv_sys_max_cmd_len
4957 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4958 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4959 # Try some XSI features
4962 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4964 && eval 'test $(( 1 + 1 )) -eq 2 \
4965 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4967 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4968 $as_echo "$xsi_shell" >&6; }
4971 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4972 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4974 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4976 && lt_shell_append=yes
4977 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4978 $as_echo "$lt_shell_append" >&6; }
4981 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4991 # test EBCDIC or ASCII
4992 case `echo X|tr X '\101'` in
4993 A) # ASCII based system
4994 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4995 lt_SP2NL='tr \040 \012'
4996 lt_NL2SP='tr \015\012 \040\040'
4998 *) # EBCDIC based system
4999 lt_SP2NL='tr \100 \n'
5000 lt_NL2SP='tr \r\n \100\100'
5012 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5013 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5014 if test "${lt_cv_ld_reload_flag+set}" = set; then
5015 $as_echo_n "(cached
) " >&6
5017 lt_cv_ld_reload_flag='-r'
5019 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5020 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5021 reload_flag=$lt_cv_ld_reload_flag
5022 case $reload_flag in
5024 *) reload_flag=" $reload_flag" ;;
5026 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5029 if test "$GCC" = yes; then
5030 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5045 if test -n "$ac_tool_prefix"; then
5046 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5047 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5048 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5049 $as_echo_n "checking
for $ac_word...
" >&6; }
5050 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5051 $as_echo_n "(cached
) " >&6
5053 if test -n "$OBJDUMP"; then
5054 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5064 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5073 OBJDUMP=$ac_cv_prog_OBJDUMP
5074 if test -n "$OBJDUMP"; then
5075 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5076 $as_echo "$OBJDUMP" >&6; }
5078 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5079 $as_echo "no
" >&6; }
5084 if test -z "$ac_cv_prog_OBJDUMP"; then
5085 ac_ct_OBJDUMP=$OBJDUMP
5086 # Extract the first word of "objdump
", so it can be a program name with args.
5087 set dummy objdump; ac_word=$2
5088 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5089 $as_echo_n "checking
for $ac_word...
" >&6; }
5090 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5091 $as_echo_n "(cached
) " >&6
5093 if test -n "$ac_ct_OBJDUMP"; then
5094 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5104 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5113 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5114 if test -n "$ac_ct_OBJDUMP"; then
5115 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5116 $as_echo "$ac_ct_OBJDUMP" >&6; }
5118 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5119 $as_echo "no
" >&6; }
5122 if test "x
$ac_ct_OBJDUMP" = x; then
5125 case $cross_compiling:$ac_tool_warned in
5127 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5128 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5129 ac_tool_warned=yes ;;
5131 OBJDUMP=$ac_ct_OBJDUMP
5134 OBJDUMP="$ac_cv_prog_OBJDUMP"
5137 test -z "$OBJDUMP" && OBJDUMP=objdump
5147 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5148 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5149 if test "${lt_cv_deplibs_check_method+set}" = set; then
5150 $as_echo_n "(cached
) " >&6
5152 lt_cv_file_magic_cmd='$MAGIC_CMD'
5153 lt_cv_file_magic_test_file=
5154 lt_cv_deplibs_check_method='unknown'
5155 # Need to set the preceding variable on all platforms that support
5156 # interlibrary dependencies.
5157 # 'none' -- dependencies not supported.
5158 # `unknown' -- same as none, but documents that we really don't know.
5159 # 'pass_all' -- all dependencies passed with no checks.
5160 # 'test_compile' -- check by making test program.
5161 # 'file_magic [[regex]]' -- check by looking for files in library path
5162 # which responds to the $file_magic_cmd with a given extended regex.
5163 # If you have `file' or equivalent on your system and you're not sure
5164 # whether `pass_all' will *always* work, you probably want this one.
5168 lt_cv_deplibs_check_method=pass_all
5172 lt_cv_deplibs_check_method=pass_all
5176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5177 lt_cv_file_magic_cmd='/usr/bin/file -L'
5178 lt_cv_file_magic_test_file=/shlib/libc.so
5182 # func_win32_libid is a shell function defined in ltmain.sh
5183 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5184 lt_cv_file_magic_cmd='func_win32_libid'
5188 # Base MSYS/MinGW do not provide the 'file' command needed by
5189 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5190 # unless we find 'file', for example because we are cross-compiling.
5191 if ( file / ) >/dev/null 2>&1; then
5192 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5193 lt_cv_file_magic_cmd='func_win32_libid'
5195 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5196 lt_cv_file_magic_cmd='$OBJDUMP -f'
5201 # use the weaker test based on 'objdump'. See mingw*.
5202 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5203 lt_cv_file_magic_cmd='$OBJDUMP -f'
5206 darwin* | rhapsody*)
5207 lt_cv_deplibs_check_method=pass_all
5210 freebsd* | dragonfly*)
5211 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5214 # Not sure whether the presence of OpenBSD here was a mistake.
5215 # Let's accept both of them until this is cleared up.
5216 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5217 lt_cv_file_magic_cmd=/usr/bin/file
5218 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5222 lt_cv_deplibs_check_method=pass_all
5227 lt_cv_deplibs_check_method=pass_all
5230 hpux10.20* | hpux11*)
5231 lt_cv_file_magic_cmd=/usr/bin/file
5234 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5235 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5238 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]'
5239 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5242 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5243 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5249 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5253 irix5* | irix6* | nonstopux*)
5255 *-32|*"-32 ") libmagic=32-bit;;
5256 *-n32|*"-n32 ") libmagic=N32;;
5257 *-64|*"-64 ") libmagic=64-bit;;
5258 *) libmagic=never-match;;
5260 lt_cv_deplibs_check_method=pass_all
5263 # This must be Linux ELF.
5264 linux* | k*bsd*-gnu)
5265 lt_cv_deplibs_check_method=pass_all
5269 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5270 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5272 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5278 lt_cv_file_magic_cmd=/usr/bin/file
5279 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5283 lt_cv_deplibs_check_method=pass_all
5287 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5294 osf3* | osf4* | osf5*)
5295 lt_cv_deplibs_check_method=pass_all
5299 lt_cv_deplibs_check_method=pass_all
5303 lt_cv_deplibs_check_method=pass_all
5306 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5307 lt_cv_deplibs_check_method=pass_all
5311 case $host_vendor in
5313 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]'
5314 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5317 lt_cv_deplibs_check_method=pass_all
5320 lt_cv_file_magic_cmd='/bin/file'
5321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5324 lt_cv_file_magic_cmd='/bin/file'
5325 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5326 lt_cv_file_magic_test_file=/lib/libc.so
5329 lt_cv_deplibs_check_method=pass_all
5332 lt_cv_deplibs_check_method=pass_all
5338 lt_cv_deplibs_check_method=pass_all
5343 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5344 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5345 file_magic_cmd=$lt_cv_file_magic_cmd
5346 deplibs_check_method=$lt_cv_deplibs_check_method
5347 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5360 if test -n "$ac_tool_prefix"; then
5361 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5362 set dummy ${ac_tool_prefix}ar; ac_word=$2
5363 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5364 $as_echo_n "checking
for $ac_word...
" >&6; }
5365 if test "${ac_cv_prog_AR+set}" = set; then
5366 $as_echo_n "(cached
) " >&6
5368 if test -n "$AR"; then
5369 ac_cv_prog_AR="$AR" # Let the user override the test.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_AR="${ac_tool_prefix}ar"
5379 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5389 if test -n "$AR"; then
5390 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5391 $as_echo "$AR" >&6; }
5393 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5394 $as_echo "no
" >&6; }
5399 if test -z "$ac_cv_prog_AR"; then
5401 # Extract the first word of "ar", so it can be a program name with args.
5402 set dummy ar; ac_word=$2
5403 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5404 $as_echo_n "checking
for $ac_word...
" >&6; }
5405 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5406 $as_echo_n "(cached
) " >&6
5408 if test -n "$ac_ct_AR"; then
5409 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5418 ac_cv_prog_ac_ct_AR="ar"
5419 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5428 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5429 if test -n "$ac_ct_AR"; then
5430 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5431 $as_echo "$ac_ct_AR" >&6; }
5433 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5434 $as_echo "no
" >&6; }
5437 if test "x
$ac_ct_AR" = x; then
5440 case $cross_compiling:$ac_tool_warned in
5442 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5443 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5444 ac_tool_warned=yes ;;
5452 test -z "$AR" && AR=ar
5453 test -z "$AR_FLAGS" && AR_FLAGS=cru
5465 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5467 set dummy ${ac_tool_prefix}strip; ac_word=$2
5468 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5469 $as_echo_n "checking
for $ac_word...
" >&6; }
5470 if test "${ac_cv_prog_STRIP+set}" = set; then
5471 $as_echo_n "(cached
) " >&6
5473 if test -n "$STRIP"; then
5474 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5484 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5493 STRIP=$ac_cv_prog_STRIP
5494 if test -n "$STRIP"; then
5495 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5496 $as_echo "$STRIP" >&6; }
5498 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5499 $as_echo "no
" >&6; }
5504 if test -z "$ac_cv_prog_STRIP"; then
5506 # Extract the first word of "strip
", so it can be a program name with args.
5507 set dummy strip; ac_word=$2
5508 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5509 $as_echo_n "checking
for $ac_word...
" >&6; }
5510 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5511 $as_echo_n "(cached
) " >&6
5513 if test -n "$ac_ct_STRIP"; then
5514 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_ac_ct_STRIP="strip
"
5524 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5533 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5534 if test -n "$ac_ct_STRIP"; then
5535 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5536 $as_echo "$ac_ct_STRIP" >&6; }
5538 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5539 $as_echo "no
" >&6; }
5542 if test "x
$ac_ct_STRIP" = x; then
5545 case $cross_compiling:$ac_tool_warned in
5547 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5548 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5549 ac_tool_warned=yes ;;
5554 STRIP="$ac_cv_prog_STRIP"
5557 test -z "$STRIP" && STRIP=:
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5567 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5568 $as_echo_n "checking
for $ac_word...
" >&6; }
5569 if test "${ac_cv_prog_RANLIB+set}" = set; then
5570 $as_echo_n "(cached
) " >&6
5572 if test -n "$RANLIB"; then
5573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5583 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5592 RANLIB=$ac_cv_prog_RANLIB
5593 if test -n "$RANLIB"; then
5594 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5595 $as_echo "$RANLIB" >&6; }
5597 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5598 $as_echo "no
" >&6; }
5603 if test -z "$ac_cv_prog_RANLIB"; then
5604 ac_ct_RANLIB=$RANLIB
5605 # Extract the first word of "ranlib
", so it can be a program name with args.
5606 set dummy ranlib; ac_word=$2
5607 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5608 $as_echo_n "checking
for $ac_word...
" >&6; }
5609 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5610 $as_echo_n "(cached
) " >&6
5612 if test -n "$ac_ct_RANLIB"; then
5613 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5623 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5633 if test -n "$ac_ct_RANLIB"; then
5634 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5635 $as_echo "$ac_ct_RANLIB" >&6; }
5637 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5638 $as_echo "no
" >&6; }
5641 if test "x
$ac_ct_RANLIB" = x; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5648 ac_tool_warned=yes ;;
5650 RANLIB=$ac_ct_RANLIB
5653 RANLIB="$ac_cv_prog_RANLIB"
5656 test -z "$RANLIB" && RANLIB=:
5663 # Determine commands to create old-style static archives.
5664 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5665 old_postinstall_cmds='chmod 644 $oldlib'
5666 old_postuninstall_cmds=
5668 if test -n "$RANLIB"; then
5671 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5674 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5677 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5713 # If no C compiler was specified, use CC.
5716 # If no C compiler flags were specified, use CFLAGS.
5717 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5719 # Allow CC to be a program name with arguments.
5723 # Check for command to grab the raw symbol name followed by C symbol from nm.
5724 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5725 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5726 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5727 $as_echo_n "(cached
) " >&6
5730 # These are sane defaults that work on at least a few old systems.
5731 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5733 # Character class describing NM global symbol codes.
5734 symcode='[BCDEGRST]'
5736 # Regexp to match symbols that can be accessed directly from C.
5737 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5739 # Define system-specific variables.
5744 cygwin* | mingw* | pw32* | cegcc*)
5745 symcode='[ABCDGISTW]'
5748 if test "$host_cpu" = ia64; then
5749 symcode='[ABCDEGRST]'
5753 symcode='[BCDEGRST]'
5756 symcode='[BCDEGQRST]'
5767 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5775 # If we're using GNU nm, then use its standard symbol codes.
5776 case `$NM -V 2>&1` in
5777 *GNU* | *'with BFD'*)
5778 symcode='[ABCDGIRSTW]' ;;
5781 # Transform an extracted symbol line into a proper C declaration.
5782 # Some systems (esp. on ia64) link data and code symbols differently,
5783 # so use this general approach.
5784 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5786 # Transform an extracted symbol line into symbol name and symbol address
5787 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5788 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'"
5790 # Handle CRLF in mingw tool chain
5794 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5798 # Try without a prefix underscore, then with it.
5799 for ac_symprfx in "" "_
"; do
5801 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5802 symxfrm="\\1 $ac_symprfx\\2 \\2"
5804 # Write the raw and C identifiers.
5805 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5806 # Fake it for dumpbin and say T for any non-static function
5807 # and D for any global variable.
5808 # Also find C++ and __fastcall symbols from MSVC++,
5809 # which start with @ or ?.
5810 lt_cv_sys_global_symbol_pipe="$AWK '"\
5811 " {last_section=section; section=\$ 3};"\
5812 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5813 " \$ 0!~/External *\|/{next};"\
5814 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5815 " {if(hide[section]) next};"\
5816 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5817 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5818 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5819 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5820 " ' prfx
=^
$ac_symprfx"
5822 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5825 # Check to see that the pipe works correctly.
5829 cat > conftest.$ac_ext <<_LT_EOF
5834 void nm_test_func(void);
5835 void nm_test_func(void){}
5839 int main(){nm_test_var='a';nm_test_func();return(0);}
5842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5843 (eval $ac_compile) 2>&5
5845 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5846 (exit $ac_status); }; then
5847 # Now try to grab the symbols.
5849 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5850 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5852 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5853 (exit $ac_status); } && test -s "$nlist"; then
5854 # Try sorting and uniquifying the output.
5855 if sort "$nlist" | uniq > "$nlist"T; then
5856 mv -f "$nlist"T "$nlist"
5861 # Make sure that we snagged all the symbols we need.
5862 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5863 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5864 cat <<_LT_EOF > conftest.$ac_ext
5870 # Now generate the symbol file.
5871 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5873 cat <<_LT_EOF >> conftest.$ac_ext
5875 /* The mapping between symbol names and symbols. */
5880 lt__PROGRAM__LTX_preloaded_symbols[] =
5882 { "@PROGRAM@
", (void *) 0 },
5884 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5885 cat <<\_LT_EOF >> conftest.$ac_ext
5889 /* This works around a problem in FreeBSD linker */
5890 #ifdef FREEBSD_WORKAROUND
5891 static const void *lt_preloaded_setup() {
5892 return lt__PROGRAM__LTX_preloaded_symbols;
5900 # Now try linking the two files.
5901 mv conftest.$ac_objext conftstm.$ac_objext
5902 lt_save_LIBS="$LIBS"
5903 lt_save_CFLAGS="$CFLAGS"
5904 LIBS="conftstm.
$ac_objext"
5905 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5907 (eval $ac_link) 2>&5
5909 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5910 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5913 LIBS="$lt_save_LIBS"
5914 CFLAGS="$lt_save_CFLAGS"
5916 echo "cannot
find nm_test_func
in $nlist" >&5
5919 echo "cannot
find nm_test_var
in $nlist" >&5
5922 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5925 echo "$progname: failed program was
:" >&5
5926 cat conftest.$ac_ext >&5
5928 rm -rf conftest* conftst*
5930 # Do not use the global_symbol_pipe unless it works.
5931 if test "$pipe_works" = yes; then
5934 lt_cv_sys_global_symbol_pipe=
5940 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5941 lt_cv_sys_global_symbol_to_cdecl=
5943 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5944 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5945 $as_echo "failed
" >&6; }
5947 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5948 $as_echo "ok
" >&6; }
5973 # Check whether --enable-libtool-lock was given.
5974 if test "${enable_libtool_lock+set}" = set; then
5975 enableval=$enable_libtool_lock;
5978 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5980 # Some flags need to be propagated to the compiler or linker for good
5984 # Find out which ABI we are using.
5985 echo 'int i;' > conftest.$ac_ext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>&5
5989 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5990 (exit $ac_status); }; then
5991 case `/usr/bin/file conftest.$ac_objext` in
6003 # Find out which ABI we are using.
6004 echo '#line 6004 "configure
"' > conftest.$ac_ext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>&5
6008 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6009 (exit $ac_status); }; then
6010 if test "$lt_cv_prog_gnu_ld" = yes; then
6011 case `/usr/bin/file conftest.$ac_objext` in
6013 LD="${LD-ld} -melf32bsmip"
6016 LD="${LD-ld} -melf32bmipn32"
6019 LD="${LD-ld} -melf64bmip"
6023 case `/usr/bin/file conftest.$ac_objext` in
6039 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6040 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6041 # Find out which ABI we are using.
6042 echo 'int i;' > conftest.$ac_ext
6043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6044 (eval $ac_compile) 2>&5
6046 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6047 (exit $ac_status); }; then
6048 case `/usr/bin/file conftest.o` in
6051 x86_64-*kfreebsd*-gnu)
6052 LD="${LD-ld} -m elf_i386_fbsd
"
6055 LD="${LD-ld} -m elf_i386
"
6057 ppc64-*linux*|powerpc64-*linux*)
6058 LD="${LD-ld} -m elf32ppclinux
"
6061 LD="${LD-ld} -m elf_s390
"
6064 LD="${LD-ld} -m elf32_sparc
"
6070 x86_64-*kfreebsd*-gnu)
6071 LD="${LD-ld} -m elf_x86_64_fbsd
"
6074 LD="${LD-ld} -m elf_x86_64
"
6076 ppc*-*linux*|powerpc*-*linux*)
6077 LD="${LD-ld} -m elf64ppc
"
6079 s390*-*linux*|s390*-*tpf*)
6080 LD="${LD-ld} -m elf64_s390
"
6083 LD="${LD-ld} -m elf64_sparc
"
6093 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6094 SAVE_CFLAGS="$CFLAGS"
6095 CFLAGS="$CFLAGS -belf"
6096 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6097 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6098 if test "${lt_cv_cc_needs_belf+set}" = set; then
6099 $as_echo_n "(cached
) " >&6
6102 ac_cpp='$CPP $CPPFLAGS'
6103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6107 cat >conftest.$ac_ext <<_ACEOF
6110 cat confdefs.h >>conftest.$ac_ext
6111 cat >>conftest.$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6122 rm -f conftest.$ac_objext conftest$ac_exeext
6123 if { (ac_try="$ac_link"
6125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6126 *) ac_try_echo=$ac_try;;
6128 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6129 $as_echo "$ac_try_echo") >&5
6130 (eval "$ac_link") 2>conftest.er1
6132 grep -v '^ *+' conftest.er1 >conftest.err
6134 cat conftest.err >&5
6135 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6136 (exit $ac_status); } && {
6137 test -z "$ac_c_werror_flag" ||
6138 test ! -s conftest.err
6139 } && test -s conftest$ac_exeext && {
6140 test "$cross_compiling" = yes ||
6141 $as_test_x conftest$ac_exeext
6143 lt_cv_cc_needs_belf=yes
6145 $as_echo "$as_me: failed program was
:" >&5
6146 sed 's/^/| /' conftest.$ac_ext >&5
6148 lt_cv_cc_needs_belf=no
6151 rm -rf conftest.dSYM
6152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6153 conftest$ac_exeext conftest.$ac_ext
6155 ac_cpp='$CPP $CPPFLAGS'
6156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6161 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6162 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6163 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6164 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6165 CFLAGS="$SAVE_CFLAGS"
6169 # Find out which ABI we are using.
6170 echo 'int i;' > conftest.$ac_ext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>&5
6174 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6175 (exit $ac_status); }; then
6176 case `/usr/bin/file conftest.o` in
6178 case $lt_cv_prog_gnu_ld in
6179 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6181 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6193 need_locks="$enable_libtool_lock"
6197 rhapsody* | darwin*)
6198 if test -n "$ac_tool_prefix"; then
6199 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6200 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6201 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6202 $as_echo_n "checking
for $ac_word...
" >&6; }
6203 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6204 $as_echo_n "(cached
) " >&6
6206 if test -n "$DSYMUTIL"; then
6207 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6216 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6217 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6226 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6227 if test -n "$DSYMUTIL"; then
6228 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6229 $as_echo "$DSYMUTIL" >&6; }
6231 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6232 $as_echo "no
" >&6; }
6237 if test -z "$ac_cv_prog_DSYMUTIL"; then
6238 ac_ct_DSYMUTIL=$DSYMUTIL
6239 # Extract the first word of "dsymutil
", so it can be a program name with args.
6240 set dummy dsymutil; ac_word=$2
6241 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6242 $as_echo_n "checking
for $ac_word...
" >&6; }
6243 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6244 $as_echo_n "(cached
) " >&6
6246 if test -n "$ac_ct_DSYMUTIL"; then
6247 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6256 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6257 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6266 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6267 if test -n "$ac_ct_DSYMUTIL"; then
6268 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6269 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6271 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6272 $as_echo "no
" >&6; }
6275 if test "x
$ac_ct_DSYMUTIL" = x; then
6278 case $cross_compiling:$ac_tool_warned in
6280 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6281 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6282 ac_tool_warned=yes ;;
6284 DSYMUTIL=$ac_ct_DSYMUTIL
6287 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6290 if test -n "$ac_tool_prefix"; then
6291 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6292 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6293 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6294 $as_echo_n "checking
for $ac_word...
" >&6; }
6295 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6296 $as_echo_n "(cached
) " >&6
6298 if test -n "$NMEDIT"; then
6299 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6308 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6309 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6318 NMEDIT=$ac_cv_prog_NMEDIT
6319 if test -n "$NMEDIT"; then
6320 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6321 $as_echo "$NMEDIT" >&6; }
6323 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6324 $as_echo "no
" >&6; }
6329 if test -z "$ac_cv_prog_NMEDIT"; then
6330 ac_ct_NMEDIT=$NMEDIT
6331 # Extract the first word of "nmedit
", so it can be a program name with args.
6332 set dummy nmedit; ac_word=$2
6333 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6334 $as_echo_n "checking
for $ac_word...
" >&6; }
6335 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6336 $as_echo_n "(cached
) " >&6
6338 if test -n "$ac_ct_NMEDIT"; then
6339 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6349 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6358 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6359 if test -n "$ac_ct_NMEDIT"; then
6360 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6361 $as_echo "$ac_ct_NMEDIT" >&6; }
6363 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6364 $as_echo "no
" >&6; }
6367 if test "x
$ac_ct_NMEDIT" = x; then
6370 case $cross_compiling:$ac_tool_warned in
6372 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6373 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6374 ac_tool_warned=yes ;;
6376 NMEDIT=$ac_ct_NMEDIT
6379 NMEDIT="$ac_cv_prog_NMEDIT"
6382 if test -n "$ac_tool_prefix"; then
6383 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6384 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6385 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6386 $as_echo_n "checking
for $ac_word...
" >&6; }
6387 if test "${ac_cv_prog_LIPO+set}" = set; then
6388 $as_echo_n "(cached
) " >&6
6390 if test -n "$LIPO"; then
6391 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6401 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 LIPO=$ac_cv_prog_LIPO
6411 if test -n "$LIPO"; then
6412 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6413 $as_echo "$LIPO" >&6; }
6415 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6416 $as_echo "no
" >&6; }
6421 if test -z "$ac_cv_prog_LIPO"; then
6423 # Extract the first word of "lipo
", so it can be a program name with args.
6424 set dummy lipo; ac_word=$2
6425 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6426 $as_echo_n "checking
for $ac_word...
" >&6; }
6427 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6428 $as_echo_n "(cached
) " >&6
6430 if test -n "$ac_ct_LIPO"; then
6431 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ac_ct_LIPO="lipo
"
6441 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6451 if test -n "$ac_ct_LIPO"; then
6452 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6453 $as_echo "$ac_ct_LIPO" >&6; }
6455 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6456 $as_echo "no
" >&6; }
6459 if test "x
$ac_ct_LIPO" = x; then
6462 case $cross_compiling:$ac_tool_warned in
6464 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6465 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6466 ac_tool_warned=yes ;;
6471 LIPO="$ac_cv_prog_LIPO"
6474 if test -n "$ac_tool_prefix"; then
6475 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}otool; ac_word=$2
6477 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6478 $as_echo_n "checking
for $ac_word...
" >&6; }
6479 if test "${ac_cv_prog_OTOOL+set}" = set; then
6480 $as_echo_n "(cached
) " >&6
6482 if test -n "$OTOOL"; then
6483 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6493 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6502 OTOOL=$ac_cv_prog_OTOOL
6503 if test -n "$OTOOL"; then
6504 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6505 $as_echo "$OTOOL" >&6; }
6507 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6508 $as_echo "no
" >&6; }
6513 if test -z "$ac_cv_prog_OTOOL"; then
6515 # Extract the first word of "otool
", so it can be a program name with args.
6516 set dummy otool; ac_word=$2
6517 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6518 $as_echo_n "checking
for $ac_word...
" >&6; }
6519 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6520 $as_echo_n "(cached
) " >&6
6522 if test -n "$ac_ct_OTOOL"; then
6523 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532 ac_cv_prog_ac_ct_OTOOL="otool
"
6533 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6542 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6543 if test -n "$ac_ct_OTOOL"; then
6544 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6545 $as_echo "$ac_ct_OTOOL" >&6; }
6547 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6548 $as_echo "no
" >&6; }
6551 if test "x
$ac_ct_OTOOL" = x; then
6554 case $cross_compiling:$ac_tool_warned in
6556 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6557 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6558 ac_tool_warned=yes ;;
6563 OTOOL="$ac_cv_prog_OTOOL"
6566 if test -n "$ac_tool_prefix"; then
6567 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6568 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6569 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6570 $as_echo_n "checking
for $ac_word...
" >&6; }
6571 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6572 $as_echo_n "(cached
) " >&6
6574 if test -n "$OTOOL64"; then
6575 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6585 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6594 OTOOL64=$ac_cv_prog_OTOOL64
6595 if test -n "$OTOOL64"; then
6596 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6597 $as_echo "$OTOOL64" >&6; }
6599 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6600 $as_echo "no
" >&6; }
6605 if test -z "$ac_cv_prog_OTOOL64"; then
6606 ac_ct_OTOOL64=$OTOOL64
6607 # Extract the first word of "otool64
", so it can be a program name with args.
6608 set dummy otool64; ac_word=$2
6609 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6610 $as_echo_n "checking
for $ac_word...
" >&6; }
6611 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6612 $as_echo_n "(cached
) " >&6
6614 if test -n "$ac_ct_OTOOL64"; then
6615 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6625 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6634 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6635 if test -n "$ac_ct_OTOOL64"; then
6636 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6637 $as_echo "$ac_ct_OTOOL64" >&6; }
6639 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6640 $as_echo "no
" >&6; }
6643 if test "x
$ac_ct_OTOOL64" = x; then
6646 case $cross_compiling:$ac_tool_warned in
6648 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6649 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6650 ac_tool_warned=yes ;;
6652 OTOOL64=$ac_ct_OTOOL64
6655 OTOOL64="$ac_cv_prog_OTOOL64"
6684 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6685 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6686 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6687 $as_echo_n "(cached
) " >&6
6689 lt_cv_apple_cc_single_mod=no
6690 if test -z "${LT_MULTI_MODULE}"; then
6691 # By default we will add the -single_module flag. You can override
6692 # by either setting the environment variable LT_MULTI_MODULE
6693 # non-empty at configure time, or by adding -multi_module to the
6695 rm -rf libconftest.dylib*
6696 echo "int foo
(void
){return 1;}" > conftest.c
6697 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6698 -dynamiclib -Wl,-single_module conftest.c
" >&5
6699 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6700 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6702 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6703 lt_cv_apple_cc_single_mod=yes
6705 cat conftest.err >&5
6707 rm -rf libconftest.dylib*
6711 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6712 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6713 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6714 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6715 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6716 $as_echo_n "(cached
) " >&6
6718 lt_cv_ld_exported_symbols_list=no
6719 save_LDFLAGS=$LDFLAGS
6720 echo "_main
" > conftest.sym
6721 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6722 cat >conftest.$ac_ext <<_ACEOF
6725 cat confdefs.h >>conftest.$ac_ext
6726 cat >>conftest.$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6737 rm -f conftest.$ac_objext conftest$ac_exeext
6738 if { (ac_try="$ac_link"
6740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6741 *) ac_try_echo=$ac_try;;
6743 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6744 $as_echo "$ac_try_echo") >&5
6745 (eval "$ac_link") 2>conftest.er1
6747 grep -v '^ *+' conftest.er1 >conftest.err
6749 cat conftest.err >&5
6750 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6751 (exit $ac_status); } && {
6752 test -z "$ac_c_werror_flag" ||
6753 test ! -s conftest.err
6754 } && test -s conftest$ac_exeext && {
6755 test "$cross_compiling" = yes ||
6756 $as_test_x conftest$ac_exeext
6758 lt_cv_ld_exported_symbols_list=yes
6760 $as_echo "$as_me: failed program was
:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6763 lt_cv_ld_exported_symbols_list=no
6766 rm -rf conftest.dSYM
6767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6768 conftest$ac_exeext conftest.$ac_ext
6769 LDFLAGS="$save_LDFLAGS"
6772 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6773 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6775 rhapsody* | darwin1.[012])
6776 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6778 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6779 darwin*) # darwin 5.x on
6780 # if running on 10.5 or later, the deployment target defaults
6781 # to the OS version, if on x86, and 10.4, the deployment
6782 # target defaults to 10.4. Don't you love it?
6783 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6784 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6793 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6794 _lt_dar_single_mod='$single_module'
6796 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6797 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6799 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6801 if test "$DSYMUTIL" != ":"; then
6802 _lt_dsymutil='~$DSYMUTIL $lib || :'
6810 ac_cpp='$CPP $CPPFLAGS'
6811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6815 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6816 # On Suns, sometimes $CPP names a directory.
6817 if test -n "$CPP" && test -d "$CPP"; then
6820 if test -z "$CPP"; then
6821 if test "${ac_cv_prog_CPP+set}" = set; then
6822 $as_echo_n "(cached
) " >&6
6824 # Double quotes because CPP needs to be expanded
6825 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6828 for ac_c_preproc_warn_flag in '' yes
6830 # Use a header file that comes with gcc, so configuring glibc
6831 # with a fresh cross-compiler works.
6832 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833 # <limits.h> exists even on freestanding compilers.
6834 # On the NeXT, cc -E runs the code through the compiler's parser,
6835 # not just through cpp. "Syntax error
" is here to catch this case.
6836 cat >conftest.$ac_ext <<_ACEOF
6839 cat confdefs.h >>conftest.$ac_ext
6840 cat >>conftest.$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6843 # include <limits.h>
6845 # include <assert.h>
6849 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6852 *) ac_try_echo=$ac_try;;
6854 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6855 $as_echo "$ac_try_echo") >&5
6856 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6858 grep -v '^ *+' conftest.er1 >conftest.err
6860 cat conftest.err >&5
6861 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6862 (exit $ac_status); } >/dev/null && {
6863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6864 test ! -s conftest.err
6868 $as_echo "$as_me: failed program was
:" >&5
6869 sed 's/^/| /' conftest.$ac_ext >&5
6871 # Broken: fails on valid input.
6875 rm -f conftest.err conftest.$ac_ext
6877 # OK, works on sane cases. Now check whether nonexistent headers
6878 # can be detected and how.
6879 cat >conftest.$ac_ext <<_ACEOF
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 #include <ac_nonexistent.h>
6887 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6892 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6893 $as_echo "$ac_try_echo") >&5
6894 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6896 grep -v '^ *+' conftest.er1 >conftest.err
6898 cat conftest.err >&5
6899 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6900 (exit $ac_status); } >/dev/null && {
6901 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6902 test ! -s conftest.err
6904 # Broken: success on invalid input.
6907 $as_echo "$as_me: failed program was
:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6910 # Passes both tests.
6915 rm -f conftest.err conftest.$ac_ext
6918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6919 rm -f conftest.err conftest.$ac_ext
6920 if $ac_preproc_ok; then
6932 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6933 $as_echo "$CPP" >&6; }
6935 for ac_c_preproc_warn_flag in '' yes
6937 # Use a header file that comes with gcc, so configuring glibc
6938 # with a fresh cross-compiler works.
6939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6940 # <limits.h> exists even on freestanding compilers.
6941 # On the NeXT, cc -E runs the code through the compiler's parser,
6942 # not just through cpp. "Syntax error
" is here to catch this case.
6943 cat >conftest.$ac_ext <<_ACEOF
6946 cat confdefs.h >>conftest.$ac_ext
6947 cat >>conftest.$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6950 # include <limits.h>
6952 # include <assert.h>
6956 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6961 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6962 $as_echo "$ac_try_echo") >&5
6963 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1 >conftest.err
6967 cat conftest.err >&5
6968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6969 (exit $ac_status); } >/dev/null && {
6970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6971 test ! -s conftest.err
6975 $as_echo "$as_me: failed program was
:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6978 # Broken: fails on valid input.
6982 rm -f conftest.err conftest.$ac_ext
6984 # OK, works on sane cases. Now check whether nonexistent headers
6985 # can be detected and how.
6986 cat >conftest.$ac_ext <<_ACEOF
6989 cat confdefs.h >>conftest.$ac_ext
6990 cat >>conftest.$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6992 #include <ac_nonexistent.h>
6994 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7000 $as_echo "$ac_try_echo") >&5
7001 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7003 grep -v '^ *+' conftest.er1 >conftest.err
7005 cat conftest.err >&5
7006 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7007 (exit $ac_status); } >/dev/null && {
7008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7009 test ! -s conftest.err
7011 # Broken: success on invalid input.
7014 $as_echo "$as_me: failed program was
:" >&5
7015 sed 's/^/| /' conftest.$ac_ext >&5
7017 # Passes both tests.
7022 rm -f conftest.err conftest.$ac_ext
7025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7026 rm -f conftest.err conftest.$ac_ext
7027 if $ac_preproc_ok; then
7030 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7032 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7033 See \`config.log' for more details.
" >&5
7034 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7035 See \
`config.log' for more details." >&2;}
7036 { (exit 1); exit 1; }; }; }
7040 ac_cpp='$CPP $CPPFLAGS'
7041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7046 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7047 $as_echo_n "checking for ANSI C header files... " >&6; }
7048 if test "${ac_cv_header_stdc+set}" = set; then
7049 $as_echo_n "(cached) " >&6
7051 cat >conftest.$ac_ext <<_ACEOF
7054 cat confdefs.h >>conftest.$ac_ext
7055 cat >>conftest.$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7070 rm -f conftest.$ac_objext
7071 if { (ac_try="$ac_compile"
7073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7074 *) ac_try_echo
=$ac_try;;
7076 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7077 $as_echo "$ac_try_echo") >&5
7078 (eval "$ac_compile") 2>conftest.er1
7080 grep -v '^ *+' conftest.er1
>conftest.err
7082 cat conftest.err
>&5
7083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && {
7085 test -z "$ac_c_werror_flag" ||
7086 test ! -s conftest.err
7087 } && test -s conftest.
$ac_objext; then
7088 ac_cv_header_stdc
=yes
7090 $as_echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_cv_header_stdc
=no
7096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7098 if test $ac_cv_header_stdc = yes; then
7099 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7100 cat >conftest.
$ac_ext <<_ACEOF
7103 cat confdefs.h
>>conftest.
$ac_ext
7104 cat >>conftest.
$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7110 $EGREP "memchr" >/dev
/null
2>&1; then
7113 ac_cv_header_stdc
=no
7119 if test $ac_cv_header_stdc = yes; then
7120 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7121 cat >conftest.
$ac_ext <<_ACEOF
7124 cat confdefs.h
>>conftest.
$ac_ext
7125 cat >>conftest.
$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7131 $EGREP "free" >/dev
/null
2>&1; then
7134 ac_cv_header_stdc
=no
7140 if test $ac_cv_header_stdc = yes; then
7141 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7142 if test "$cross_compiling" = yes; then
7145 cat >conftest.
$ac_ext <<_ACEOF
7148 cat confdefs.h
>>conftest.
$ac_ext
7149 cat >>conftest.
$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7153 #if ((' ' & 0x0FF) == 0x020)
7154 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7155 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7157 # define ISLOWER(c) \
7158 (('a' <= (c) && (c) <= 'i') \
7159 || ('j' <= (c) && (c) <= 'r') \
7160 || ('s' <= (c) && (c) <= 'z'))
7161 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7164 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7169 for (i = 0; i < 256; i++)
7170 if (XOR (islower (i), ISLOWER (i))
7171 || toupper (i) != TOUPPER (i))
7176 rm -f conftest
$ac_exeext
7177 if { (ac_try
="$ac_link"
7179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7183 $as_echo "$ac_try_echo") >&5
7184 (eval "$ac_link") 2>&5
7186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7188 { (case "(($ac_try" in
7189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7190 *) ac_try_echo
=$ac_try;;
7192 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7193 $as_echo "$ac_try_echo") >&5
7194 (eval "$ac_try") 2>&5
7196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); }; }; then
7200 $as_echo "$as_me: program exited with status $ac_status" >&5
7201 $as_echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.
$ac_ext >&5
7205 ac_cv_header_stdc
=no
7207 rm -rf conftest.dSYM
7208 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7214 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7215 $as_echo "$ac_cv_header_stdc" >&6; }
7216 if test $ac_cv_header_stdc = yes; then
7218 cat >>confdefs.h
<<\_ACEOF
7219 #define STDC_HEADERS 1
7224 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7234 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7235 inttypes.h stdint.h unistd.h
7237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7238 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7239 $as_echo_n "checking for $ac_header... " >&6; }
7240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7241 $as_echo_n "(cached) " >&6
7243 cat >conftest.
$ac_ext <<_ACEOF
7246 cat confdefs.h
>>conftest.
$ac_ext
7247 cat >>conftest.
$ac_ext <<_ACEOF
7248 /* end confdefs.h. */
7249 $ac_includes_default
7251 #include <$ac_header>
7253 rm -f conftest.
$ac_objext
7254 if { (ac_try
="$ac_compile"
7256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7257 *) ac_try_echo=$ac_try;;
7259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7260 $as_echo "$ac_try_echo") >&5
7261 (eval "$ac_compile") 2>conftest.er1
7263 grep -v '^ *+' conftest.er1 >conftest.err
7265 cat conftest.err >&5
7266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } && {
7268 test -z "$ac_c_werror_flag" ||
7269 test ! -s conftest.err
7270 } && test -s conftest.$ac_objext; then
7271 eval "$as_ac_Header=yes"
7273 $as_echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 eval "$as_ac_Header=no"
7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 ac_res=`eval 'as_val=${'$as_ac_Header'}
7282 $as_echo "$as_val"'`
7283 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7284 $as_echo "$ac_res" >&6; }
7285 as_val=`eval 'as_val=${'$as_ac_Header'}
7286 $as_echo "$as_val"'`
7287 if test "x$as_val" = x""yes; then
7288 cat >>confdefs.h <<_ACEOF
7289 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7298 for ac_header in dlfcn.h
7300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7301 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7302 $as_echo_n "checking for $ac_header... " >&6; }
7303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7304 $as_echo_n "(cached) " >&6
7306 cat >conftest.$ac_ext <<_ACEOF
7309 cat confdefs.h >>conftest.$ac_ext
7310 cat >>conftest.$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7312 $ac_includes_default
7314 #include <$ac_header>
7316 rm -f conftest.$ac_objext
7317 if { (ac_try="$ac_compile"
7319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7320 *) ac_try_echo
=$ac_try;;
7322 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7323 $as_echo "$ac_try_echo") >&5
7324 (eval "$ac_compile") 2>conftest.er1
7326 grep -v '^ *+' conftest.er1
>conftest.err
7328 cat conftest.err
>&5
7329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_c_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest.
$ac_objext; then
7334 eval "$as_ac_Header=yes"
7336 $as_echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.
$ac_ext >&5
7339 eval "$as_ac_Header=no"
7342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7344 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7345 $as_echo "$as_val"'`
7346 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7347 $as_echo "$ac_res" >&6; }
7348 as_val
=`eval 'as_val=${'$as_ac_Header'}
7349 $as_echo "$as_val"'`
7350 if test "x$as_val" = x
""yes; then
7351 cat >>confdefs.h
<<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7371 # Check whether --enable-shared was given.
7372 if test "${enable_shared+set}" = set; then
7373 enableval
=$enable_shared; p
=${PACKAGE-default}
7375 yes) enable_shared
=yes ;;
7376 no
) enable_shared
=no
;;
7379 # Look at the argument we got. We use all the common list separators.
7380 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7381 for pkg
in $enableval; do
7383 if test "X$pkg" = "X$p"; then
7402 # Check whether --enable-static was given.
7403 if test "${enable_static+set}" = set; then
7404 enableval
=$enable_static; p
=${PACKAGE-default}
7406 yes) enable_static
=yes ;;
7407 no
) enable_static
=no
;;
7410 # Look at the argument we got. We use all the common list separators.
7411 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7412 for pkg
in $enableval; do
7414 if test "X$pkg" = "X$p"; then
7434 # Check whether --with-pic was given.
7435 if test "${with_pic+set}" = set; then
7436 withval
=$with_pic; pic_mode
="$withval"
7442 test -z "$pic_mode" && pic_mode
=default
7450 # Check whether --enable-fast-install was given.
7451 if test "${enable_fast_install+set}" = set; then
7452 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7454 yes) enable_fast_install
=yes ;;
7455 no
) enable_fast_install
=no
;;
7457 enable_fast_install
=no
7458 # Look at the argument we got. We use all the common list separators.
7459 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7460 for pkg
in $enableval; do
7462 if test "X$pkg" = "X$p"; then
7463 enable_fast_install
=yes
7470 enable_fast_install
=yes
7483 # This can be used to rebuild libtool when needed
7484 LIBTOOL_DEPS
="$ltmain"
7486 # Always use our own libtool.
7487 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7513 test -z "$LN_S" && LN_S
="ln -s"
7528 if test -n "${ZSH_VERSION+set}" ; then
7529 setopt NO_GLOB_SUBST
7532 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7533 $as_echo_n "checking for objdir... " >&6; }
7534 if test "${lt_cv_objdir+set}" = set; then
7535 $as_echo_n "(cached) " >&6
7537 rm -f .libs
2>/dev
/null
7538 mkdir .libs
2>/dev
/null
7539 if test -d .libs
; then
7542 # MS-DOS does not allow filenames that begin with a dot.
7545 rmdir .libs
2>/dev
/null
7547 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7548 $as_echo "$lt_cv_objdir" >&6; }
7549 objdir
=$lt_cv_objdir
7555 cat >>confdefs.h
<<_ACEOF
7556 #define LT_OBJDIR "$lt_cv_objdir/"
7577 # AIX sometimes has problems with the GCC collect2 program. For some
7578 # reason, if we set the COLLECT_NAMES environment variable, the problems
7579 # vanish in a puff of smoke.
7580 if test "X${COLLECT_NAMES+set}" != Xset
; then
7582 export COLLECT_NAMES
7587 # Sed substitution that helps us do robust quoting. It backslashifies
7588 # metacharacters that are still active within double-quoted strings.
7589 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7591 # Same as above, but do not quote variable references.
7592 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7594 # Sed substitution to delay expansion of an escaped shell variable in a
7595 # double_quote_subst'ed string.
7596 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7598 # Sed substitution to delay expansion of an escaped single quote.
7599 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7601 # Sed substitution to avoid accidental globbing in evaled expressions
7602 no_glob_subst
='s/\*/\\\*/g'
7606 can_build_shared
=yes
7608 # All known linkers require a `.a' archive for static linking (except MSVC,
7609 # which needs '.lib').
7612 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7615 old_CFLAGS
="$CFLAGS"
7617 # Set sane defaults for various variables
7618 test -z "$CC" && CC
=cc
7619 test -z "$LTCC" && LTCC
=$CC
7620 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7621 test -z "$LD" && LD
=ld
7622 test -z "$ac_objext" && ac_objext
=o
7624 for cc_temp
in $compiler""; do
7626 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7627 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7632 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7635 # Only perform the check for file, if the check method requires it
7636 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7637 case $deplibs_check_method in
7639 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7640 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7641 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7642 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7643 $as_echo_n "(cached) " >&6
7647 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7650 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7651 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7652 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7653 for ac_dir
in $ac_dummy; do
7655 test -z "$ac_dir" && ac_dir
=.
7656 if test -f $ac_dir/${ac_tool_prefix}file; then
7657 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7658 if test -n "$file_magic_test_file"; then
7659 case $deplibs_check_method in
7661 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7662 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7663 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7664 $EGREP "$file_magic_regex" > /dev
/null
; then
7669 *** Warning: the command libtool uses to detect shared libraries,
7670 *** $file_magic_cmd, produces output that libtool cannot recognize.
7671 *** The result is that libtool may fail to recognize shared libraries
7672 *** as such. This will affect the creation of libtool libraries that
7673 *** depend on shared libraries, but programs linked with such libtool
7674 *** libraries will work regardless of this problem. Nevertheless, you
7675 *** may want to report the problem to your system manager and/or to
7676 *** bug-libtool@gnu.org
7686 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7691 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7692 if test -n "$MAGIC_CMD"; then
7693 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7694 $as_echo "$MAGIC_CMD" >&6; }
7696 { $as_echo "$as_me:$LINENO: result: no" >&5
7697 $as_echo "no" >&6; }
7704 if test -z "$lt_cv_path_MAGIC_CMD"; then
7705 if test -n "$ac_tool_prefix"; then
7706 { $as_echo "$as_me:$LINENO: checking for file" >&5
7707 $as_echo_n "checking for file... " >&6; }
7708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7709 $as_echo_n "(cached) " >&6
7713 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7716 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7717 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7718 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7719 for ac_dir
in $ac_dummy; do
7721 test -z "$ac_dir" && ac_dir
=.
7722 if test -f $ac_dir/file; then
7723 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7724 if test -n "$file_magic_test_file"; then
7725 case $deplibs_check_method in
7727 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7728 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7729 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7730 $EGREP "$file_magic_regex" > /dev
/null
; then
7735 *** Warning: the command libtool uses to detect shared libraries,
7736 *** $file_magic_cmd, produces output that libtool cannot recognize.
7737 *** The result is that libtool may fail to recognize shared libraries
7738 *** as such. This will affect the creation of libtool libraries that
7739 *** depend on shared libraries, but programs linked with such libtool
7740 *** libraries will work regardless of this problem. Nevertheless, you
7741 *** may want to report the problem to your system manager and/or to
7742 *** bug-libtool@gnu.org
7752 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7757 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7758 if test -n "$MAGIC_CMD"; then
7759 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7760 $as_echo "$MAGIC_CMD" >&6; }
7762 { $as_echo "$as_me:$LINENO: result: no" >&5
7763 $as_echo "no" >&6; }
7776 # Use C for the default configuration in the libtool script
7780 ac_cpp
='$CPP $CPPFLAGS'
7781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7786 # Source file extension for C test sources.
7789 # Object file extension for compiled C test sources.
7793 # Code to be used in simple compile tests
7794 lt_simple_compile_test_code
="int some_variable = 0;"
7796 # Code to be used in simple link tests
7797 lt_simple_link_test_code
='int main(){return(0);}'
7805 # If no C compiler was specified, use CC.
7808 # If no C compiler flags were specified, use CFLAGS.
7809 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7811 # Allow CC to be a program name with arguments.
7814 # Save the default compiler, since it gets overwritten when the other
7815 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7816 compiler_DEFAULT
=$CC
7818 # save warnings/boilerplate of simple test code
7819 ac_outfile
=conftest.
$ac_objext
7820 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7821 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7822 _lt_compiler_boilerplate
=`cat conftest.err`
7825 ac_outfile
=conftest.
$ac_objext
7826 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7827 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7828 _lt_linker_boilerplate
=`cat conftest.err`
7832 if test -n "$compiler"; then
7834 lt_prog_compiler_no_builtin_flag
=
7836 if test "$GCC" = yes; then
7837 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7839 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7840 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7841 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7842 $as_echo_n "(cached) " >&6
7844 lt_cv_prog_compiler_rtti_exceptions
=no
7845 ac_outfile
=conftest.
$ac_objext
7846 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7847 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7848 # Insert the option either (1) after the last *FLAGS variable, or
7849 # (2) before a word containing "conftest.", or (3) at the end.
7850 # Note that $ac_compile itself does not contain backslashes and begins
7851 # with a dollar sign (not a hyphen), so the echo should work correctly.
7852 # The option is referenced via a variable to avoid confusing sed.
7853 lt_compile
=`echo "$ac_compile" | $SED \
7854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7856 -e 's:$: $lt_compiler_flag:'`
7857 (eval echo "\"\$as_me:7857: $lt_compile\"" >&5)
7858 (eval "$lt_compile" 2>conftest.err
)
7860 cat conftest.err
>&5
7861 echo "$as_me:7861: \$? = $ac_status" >&5
7862 if (exit $ac_status) && test -s "$ac_outfile"; then
7863 # The compiler can only warn and ignore the option if not recognized
7864 # So say no if there are warnings other than the usual output.
7865 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7866 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7867 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7868 lt_cv_prog_compiler_rtti_exceptions
=yes
7874 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7875 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7877 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7878 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7890 lt_prog_compiler_wl
=
7891 lt_prog_compiler_pic
=
7892 lt_prog_compiler_static
=
7894 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7895 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7897 if test "$GCC" = yes; then
7898 lt_prog_compiler_wl
='-Wl,'
7899 lt_prog_compiler_static
='-static'
7903 # All AIX code is PIC.
7904 if test "$host_cpu" = ia64
; then
7905 # AIX 5 now supports IA64 processor
7906 lt_prog_compiler_static
='-Bstatic'
7913 # see comment about AmigaOS4 .so support
7914 lt_prog_compiler_pic
='-fPIC'
7917 # FIXME: we need at least 68020 code to build shared libraries, but
7918 # adding the `-m68020' flag to GCC prevents building anything better,
7920 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7925 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7926 # PIC is the default for these OSes.
7929 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7930 # This hack is so that the source file can tell whether it is being
7931 # built for inclusion in a dll (and should export symbols for example).
7932 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7933 # (--disable-auto-import) libraries
7934 lt_prog_compiler_pic
='-DDLL_EXPORT'
7937 darwin
* | rhapsody
*)
7938 # PIC is the default on this platform
7939 # Common symbols not allowed in MH_DYLIB files
7940 lt_prog_compiler_pic
='-fno-common'
7944 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7945 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7946 # sets the default TLS model and affects inlining.
7952 lt_prog_compiler_pic
='-fPIC'
7958 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7959 # Instead, we relocate shared libraries at runtime.
7963 # Just because we use GCC doesn't mean we suddenly get shared libraries
7964 # on systems that don't support them.
7965 lt_prog_compiler_can_build_shared
=no
7970 # QNX uses GNU C++, but need to define -shared option too, otherwise
7972 lt_prog_compiler_pic
='-fPIC -shared'
7976 if test -d /usr
/nec
; then
7977 lt_prog_compiler_pic
=-Kconform_pic
7982 lt_prog_compiler_pic
='-fPIC'
7986 # PORTME Check for flag to pass linker flags through the system compiler.
7989 lt_prog_compiler_wl
='-Wl,'
7990 if test "$host_cpu" = ia64
; then
7991 # AIX 5 now supports IA64 processor
7992 lt_prog_compiler_static
='-Bstatic'
7994 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7998 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7999 # This hack is so that the source file can tell whether it is being
8000 # built for inclusion in a dll (and should export symbols for example).
8001 lt_prog_compiler_pic
='-DDLL_EXPORT'
8004 hpux9
* | hpux10
* | hpux11
*)
8005 lt_prog_compiler_wl
='-Wl,'
8006 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8013 lt_prog_compiler_pic
='+Z'
8016 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8017 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8020 irix5
* | irix6
* | nonstopux
*)
8021 lt_prog_compiler_wl
='-Wl,'
8022 # PIC (with -KPIC) is the default.
8023 lt_prog_compiler_static
='-non_shared'
8026 linux
* | k
*bsd
*-gnu)
8027 case $cc_basename in
8028 # old Intel for x86_64 which still supported -KPIC.
8030 lt_prog_compiler_wl
='-Wl,'
8031 lt_prog_compiler_pic
='-KPIC'
8032 lt_prog_compiler_static
='-static'
8034 # icc used to be incompatible with GCC.
8035 # ICC 10 doesn't accept -KPIC any more.
8037 lt_prog_compiler_wl
='-Wl,'
8038 lt_prog_compiler_pic
='-fPIC'
8039 lt_prog_compiler_static
='-static'
8041 # Lahey Fortran 8.1.
8043 lt_prog_compiler_wl
='-Wl,'
8044 lt_prog_compiler_pic
='--shared'
8045 lt_prog_compiler_static
='--static'
8047 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8048 # Portland Group compilers (*not* the Pentium gcc compiler,
8049 # which looks to be a dead project)
8050 lt_prog_compiler_wl
='-Wl,'
8051 lt_prog_compiler_pic
='-fpic'
8052 lt_prog_compiler_static
='-Bstatic'
8055 lt_prog_compiler_wl
='-Wl,'
8056 # All Alpha code is PIC.
8057 lt_prog_compiler_static
='-non_shared'
8060 # IBM XL C 8.0/Fortran 10.1 on PPC
8061 lt_prog_compiler_wl
='-Wl,'
8062 lt_prog_compiler_pic
='-qpic'
8063 lt_prog_compiler_static
='-qstaticlink'
8066 case `$CC -V 2>&1 | sed 5q` in
8069 lt_prog_compiler_pic
='-KPIC'
8070 lt_prog_compiler_static
='-Bstatic'
8071 lt_prog_compiler_wl
='-Wl,'
8074 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8075 lt_prog_compiler_pic
='-KPIC'
8076 lt_prog_compiler_static
='-Bstatic'
8077 lt_prog_compiler_wl
=''
8085 lt_prog_compiler_pic
='-KPIC'
8086 lt_prog_compiler_static
='-Bstatic'
8090 # QNX uses GNU C++, but need to define -shared option too, otherwise
8092 lt_prog_compiler_pic
='-fPIC -shared'
8095 osf3
* | osf4
* | osf5
*)
8096 lt_prog_compiler_wl
='-Wl,'
8097 # All OSF/1 code is PIC.
8098 lt_prog_compiler_static
='-non_shared'
8102 lt_prog_compiler_static
='-non_shared'
8106 lt_prog_compiler_pic
='-KPIC'
8107 lt_prog_compiler_static
='-Bstatic'
8108 case $cc_basename in
8110 lt_prog_compiler_wl
='-Qoption ld ';;
8112 lt_prog_compiler_wl
='-Wl,';;
8117 lt_prog_compiler_wl
='-Qoption ld '
8118 lt_prog_compiler_pic
='-PIC'
8119 lt_prog_compiler_static
='-Bstatic'
8122 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8123 lt_prog_compiler_wl
='-Wl,'
8124 lt_prog_compiler_pic
='-KPIC'
8125 lt_prog_compiler_static
='-Bstatic'
8129 if test -d /usr
/nec
;then
8130 lt_prog_compiler_pic
='-Kconform_pic'
8131 lt_prog_compiler_static
='-Bstatic'
8135 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8136 lt_prog_compiler_wl
='-Wl,'
8137 lt_prog_compiler_pic
='-KPIC'
8138 lt_prog_compiler_static
='-Bstatic'
8142 lt_prog_compiler_wl
='-Wl,'
8143 lt_prog_compiler_can_build_shared
=no
8147 lt_prog_compiler_pic
='-pic'
8148 lt_prog_compiler_static
='-Bstatic'
8152 lt_prog_compiler_can_build_shared
=no
8158 # For platforms which do not support PIC, -DPIC is meaningless:
8160 lt_prog_compiler_pic
=
8163 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8166 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8167 $as_echo "$lt_prog_compiler_pic" >&6; }
8175 # Check to make sure the PIC flag actually works.
8177 if test -n "$lt_prog_compiler_pic"; then
8178 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8179 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8180 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8181 $as_echo_n "(cached) " >&6
8183 lt_cv_prog_compiler_pic_works
=no
8184 ac_outfile
=conftest.
$ac_objext
8185 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8186 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8187 # Insert the option either (1) after the last *FLAGS variable, or
8188 # (2) before a word containing "conftest.", or (3) at the end.
8189 # Note that $ac_compile itself does not contain backslashes and begins
8190 # with a dollar sign (not a hyphen), so the echo should work correctly.
8191 # The option is referenced via a variable to avoid confusing sed.
8192 lt_compile
=`echo "$ac_compile" | $SED \
8193 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8194 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8195 -e 's:$: $lt_compiler_flag:'`
8196 (eval echo "\"\$as_me:8196: $lt_compile\"" >&5)
8197 (eval "$lt_compile" 2>conftest.err
)
8199 cat conftest.err
>&5
8200 echo "$as_me:8200: \$? = $ac_status" >&5
8201 if (exit $ac_status) && test -s "$ac_outfile"; then
8202 # The compiler can only warn and ignore the option if not recognized
8203 # So say no if there are warnings other than the usual output.
8204 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8205 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8206 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8207 lt_cv_prog_compiler_pic_works
=yes
8213 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8214 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8216 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8217 case $lt_prog_compiler_pic in
8219 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8222 lt_prog_compiler_pic
=
8223 lt_prog_compiler_can_build_shared
=no
8234 # Check to make sure the static flag actually works.
8236 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8237 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8238 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8239 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8240 $as_echo_n "(cached) " >&6
8242 lt_cv_prog_compiler_static_works
=no
8243 save_LDFLAGS
="$LDFLAGS"
8244 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8245 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8246 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8247 # The linker can only warn and ignore the option if not recognized
8248 # So say no if there are warnings
8249 if test -s conftest.err
; then
8250 # Append any errors to the config.log.
8251 cat conftest.err
1>&5
8252 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8253 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8254 if diff conftest.exp conftest.er2
>/dev
/null
; then
8255 lt_cv_prog_compiler_static_works
=yes
8258 lt_cv_prog_compiler_static_works
=yes
8262 LDFLAGS
="$save_LDFLAGS"
8265 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8266 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8268 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8271 lt_prog_compiler_static
=
8280 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8281 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8282 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8283 $as_echo_n "(cached) " >&6
8285 lt_cv_prog_compiler_c_o
=no
8286 $RM -r conftest
2>/dev
/null
8290 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8292 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8293 # Insert the option either (1) after the last *FLAGS variable, or
8294 # (2) before a word containing "conftest.", or (3) at the end.
8295 # Note that $ac_compile itself does not contain backslashes and begins
8296 # with a dollar sign (not a hyphen), so the echo should work correctly.
8297 lt_compile
=`echo "$ac_compile" | $SED \
8298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8300 -e 's:$: $lt_compiler_flag:'`
8301 (eval echo "\"\$as_me:8301: $lt_compile\"" >&5)
8302 (eval "$lt_compile" 2>out
/conftest.err
)
8304 cat out
/conftest.err
>&5
8305 echo "$as_me:8305: \$? = $ac_status" >&5
8306 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8308 # The compiler can only warn and ignore the option if not recognized
8309 # So say no if there are warnings
8310 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8311 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8312 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8313 lt_cv_prog_compiler_c_o
=yes
8318 # SGI C++ compiler will create directory out/ii_files/ for
8319 # template instantiation
8320 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8321 $RM out
/* && rmdir out
8327 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8328 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8335 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8336 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8337 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8338 $as_echo_n "(cached) " >&6
8340 lt_cv_prog_compiler_c_o
=no
8341 $RM -r conftest
2>/dev
/null
8345 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8347 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8348 # Insert the option either (1) after the last *FLAGS variable, or
8349 # (2) before a word containing "conftest.", or (3) at the end.
8350 # Note that $ac_compile itself does not contain backslashes and begins
8351 # with a dollar sign (not a hyphen), so the echo should work correctly.
8352 lt_compile
=`echo "$ac_compile" | $SED \
8353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8355 -e 's:$: $lt_compiler_flag:'`
8356 (eval echo "\"\$as_me:8356: $lt_compile\"" >&5)
8357 (eval "$lt_compile" 2>out
/conftest.err
)
8359 cat out
/conftest.err
>&5
8360 echo "$as_me:8360: \$? = $ac_status" >&5
8361 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8363 # The compiler can only warn and ignore the option if not recognized
8364 # So say no if there are warnings
8365 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8366 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8367 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8368 lt_cv_prog_compiler_c_o
=yes
8373 # SGI C++ compiler will create directory out/ii_files/ for
8374 # template instantiation
8375 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8376 $RM out
/* && rmdir out
8382 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8383 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8388 hard_links
="nottested"
8389 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8390 # do not overwrite the value of need_locks provided by the user
8391 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8392 $as_echo_n "checking if we can lock with hard links... " >&6; }
8395 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8397 ln conftest.a conftest.b
2>&5 || hard_links
=no
8398 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8399 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8400 $as_echo "$hard_links" >&6; }
8401 if test "$hard_links" = no
; then
8402 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8403 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8415 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8416 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8419 allow_undefined_flag
=
8420 always_export_symbols
=no
8422 archive_expsym_cmds
=
8423 compiler_needs_object
=no
8424 enable_shared_with_static_runtimes
=no
8425 export_dynamic_flag_spec
=
8426 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8427 hardcode_automatic
=no
8429 hardcode_direct_absolute
=no
8430 hardcode_libdir_flag_spec
=
8431 hardcode_libdir_flag_spec_ld
=
8432 hardcode_libdir_separator
=
8434 hardcode_shlibpath_var
=unsupported
8436 link_all_deplibs
=unknown
8439 old_archive_from_new_cmds
=
8440 old_archive_from_expsyms_cmds
=
8441 thread_safe_flag_spec
=
8442 whole_archive_flag_spec
=
8443 # include_expsyms should be a list of space-separated symbols to be *always*
8444 # included in the symbol list
8446 # exclude_expsyms can be an extended regexp of symbols to exclude
8447 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8448 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8449 # as well as any symbol that contains `d'.
8450 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8451 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8452 # platforms (ab)use it in PIC code, but their linkers get confused if
8453 # the symbol is explicitly referenced. Since portable code cannot
8454 # rely on this symbol name, it's probably fine to never include it in
8455 # preloaded symbol tables.
8456 # Exclude shared library initialization/finalization symbols.
8457 extract_expsyms_cmds
=
8460 cygwin
* | mingw
* | pw32
* | cegcc
*)
8461 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8462 # When not using gcc, we currently assume that we are using
8463 # Microsoft Visual C++.
8464 if test "$GCC" != yes; then
8469 # we just hope/assume this is gcc and not c89 (= MSVC++)
8478 if test "$with_gnu_ld" = yes; then
8479 # If archive_cmds runs LD, not CC, wlarc should be empty
8482 # Set some defaults for GNU ld with shared library support. These
8483 # are reset later if shared libraries are not supported. Putting them
8484 # here allows them to be overridden if necessary.
8485 runpath_var
=LD_RUN_PATH
8486 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8487 export_dynamic_flag_spec
='${wl}--export-dynamic'
8488 # ancient GNU ld didn't support --whole-archive et. al.
8489 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8490 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8492 whole_archive_flag_spec
=
8494 supports_anon_versioning
=no
8495 case `$LD -v 2>&1` in
8496 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8497 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8498 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8499 *\
2.11.
*) ;; # other 2.11 versions
8500 *) supports_anon_versioning
=yes ;;
8503 # See if GNU ld supports shared libraries.
8506 # On AIX/PPC, the GNU linker is very broken
8507 if test "$host_cpu" != ia64
; then
8511 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8512 *** to be unable to reliably create shared libraries on AIX.
8513 *** Therefore, libtool is disabling shared libraries support. If you
8514 *** really care for shared libraries, you may want to modify your PATH
8515 *** so that a non-GNU linker is found, and then restart.
8524 # see comment about AmigaOS4 .so support
8525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8526 archive_expsym_cmds
=''
8529 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)'
8530 hardcode_libdir_flag_spec
='-L$libdir'
8531 hardcode_minus_L
=yes
8537 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8538 allow_undefined_flag
=unsupported
8539 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8540 # support --undefined. This deserves some investigation. FIXME
8541 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8547 cygwin
* | mingw
* | pw32
* | cegcc
*)
8548 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8549 # as there is no search path for DLLs.
8550 hardcode_libdir_flag_spec
='-L$libdir'
8551 allow_undefined_flag
=unsupported
8552 always_export_symbols
=no
8553 enable_shared_with_static_runtimes
=yes
8554 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8556 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8557 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8558 # If the export-symbols file already is a .def file (1st line
8559 # is EXPORTS), use it as is; otherwise, prepend...
8560 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8561 cp $export_symbols $output_objdir/$soname.def;
8563 echo EXPORTS > $output_objdir/$soname.def;
8564 cat $export_symbols >> $output_objdir/$soname.def;
8566 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8574 hardcode_shlibpath_var
=no
8575 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8576 export_dynamic_flag_spec
='${wl}-E'
8577 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8578 # Instead, shared libraries are loaded at an image base (0x10000000 by
8579 # default) and relocated if they conflict, which is a slow very memory
8580 # consuming and fragmenting process. To avoid this, we pick a random,
8581 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8582 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8583 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8584 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'
8587 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8589 if test "$host_os" = linux-dietlibc
; then
8590 case $cc_basename in
8591 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8594 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8595 && test "$tmp_diet" = no
8598 tmp_sharedflag
='-shared'
8599 case $cc_basename,$host_cpu in
8600 pgcc
*) # Portland Group C compiler
8601 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'
8602 tmp_addflag
=' $pic_flag'
8604 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8605 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'
8606 tmp_addflag
=' $pic_flag -Mnomain' ;;
8607 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8608 tmp_addflag
=' -i_dynamic' ;;
8609 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8610 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8611 ifc
* | ifort
*) # Intel Fortran compiler
8612 tmp_addflag
=' -nofor_main' ;;
8613 lf95
*) # Lahey Fortran 8.1
8614 whole_archive_flag_spec
=
8615 tmp_sharedflag
='--shared' ;;
8616 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8617 tmp_sharedflag
='-qmkshrobj'
8620 case `$CC -V 2>&1 | sed 5q` in
8621 *Sun\ C
*) # Sun C 5.9
8622 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'
8623 compiler_needs_object
=yes
8624 tmp_sharedflag
='-G' ;;
8625 *Sun\ F
*) # Sun Fortran 8.3
8626 tmp_sharedflag
='-G' ;;
8628 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8630 if test "x$supports_anon_versioning" = xyes
; then
8631 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8633 echo "local: *; };" >> $output_objdir/$libname.ver~
8634 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8637 case $cc_basename in
8639 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8640 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8641 hardcode_libdir_flag_spec
=
8642 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8643 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8644 if test "x$supports_anon_versioning" = xyes
; then
8645 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8647 echo "local: *; };" >> $output_objdir/$libname.ver~
8648 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8658 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8659 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8668 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8672 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8673 *** create shared libraries on Solaris systems. Therefore, libtool
8674 *** is disabling shared libraries support. We urge you to upgrade GNU
8675 *** binutils to release 2.9.1 or newer. Another option is to modify
8676 *** your PATH or compiler configuration so that the native linker is
8677 *** used, and then restart.
8680 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8681 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8682 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8688 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8689 case `$LD -v 2>&1` in
8690 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8694 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8695 *** reliably create shared libraries on SCO systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8704 # For security reasons, it is highly recommended that you always
8705 # use absolute paths for naming shared libraries, and exclude the
8706 # DT_RUNPATH tag from executables and libraries. But doing so
8707 # requires that you compile everything twice, which is a pain.
8708 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8710 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8711 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8720 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8723 hardcode_shlibpath_var
=no
8727 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8728 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8729 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8736 if test "$ld_shlibs" = no
; then
8738 hardcode_libdir_flag_spec
=
8739 export_dynamic_flag_spec
=
8740 whole_archive_flag_spec
=
8743 # PORTME fill in a description of your system's linker (not GNU ld)
8746 allow_undefined_flag
=unsupported
8747 always_export_symbols
=yes
8748 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'
8749 # Note: this linker hardcodes the directories in LIBPATH if there
8750 # are no directories specified by -L.
8751 hardcode_minus_L
=yes
8752 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8753 # Neither direct hardcoding nor static linking is supported with a
8755 hardcode_direct
=unsupported
8760 if test "$host_cpu" = ia64
; then
8761 # On IA64, the linker does run time linking by default, so we don't
8762 # have to do anything special.
8763 aix_use_runtimelinking
=no
8764 exp_sym_flag
='-Bexport'
8767 # If we're using GNU nm, then we don't want the "-C" option.
8768 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8769 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8770 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'
8772 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'
8774 aix_use_runtimelinking
=no
8776 # Test if we are trying to use run time linking or normal
8777 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8778 # need to do runtime linking.
8779 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8780 for ld_flag
in $LDFLAGS; do
8781 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8782 aix_use_runtimelinking
=yes
8789 exp_sym_flag
='-bexport'
8790 no_entry_flag
='-bnoentry'
8793 # When large executables or shared objects are built, AIX ld can
8794 # have problems creating the table of contents. If linking a library
8795 # or program results in "error TOC overflow" add -mminimal-toc to
8796 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8797 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8801 hardcode_direct_absolute
=yes
8802 hardcode_libdir_separator
=':'
8803 link_all_deplibs
=yes
8804 file_list_spec
='${wl}-f,'
8806 if test "$GCC" = yes; then
8807 case $host_os in aix4.
[012]|aix4.
[012].
*)
8808 # We only want to do this on AIX 4.2 and lower, the check
8809 # below for broken collect2 doesn't work under 4.3+
8810 collect2name
=`${CC} -print-prog-name=collect2`
8811 if test -f "$collect2name" &&
8812 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8814 # We have reworked collect2
8817 # We have old collect2
8818 hardcode_direct
=unsupported
8819 # It fails to find uninstalled libraries when the uninstalled
8820 # path is not listed in the libpath. Setting hardcode_minus_L
8821 # to unsupported forces relinking
8822 hardcode_minus_L
=yes
8823 hardcode_libdir_flag_spec
='-L$libdir'
8824 hardcode_libdir_separator
=
8828 shared_flag
='-shared'
8829 if test "$aix_use_runtimelinking" = yes; then
8830 shared_flag
="$shared_flag "'${wl}-G'
8834 if test "$host_cpu" = ia64
; then
8835 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8836 # chokes on -Wl,-G. The following line is correct:
8839 if test "$aix_use_runtimelinking" = yes; then
8840 shared_flag
='${wl}-G'
8842 shared_flag
='${wl}-bM:SRE'
8847 export_dynamic_flag_spec
='${wl}-bexpall'
8848 # It seems that -bexpall does not export symbols beginning with
8849 # underscore (_), so it is better to generate a list of symbols to export.
8850 always_export_symbols
=yes
8851 if test "$aix_use_runtimelinking" = yes; then
8852 # Warning - without using the other runtime loading flags (-brtl),
8853 # -berok will link without error, but may produce a broken library.
8854 allow_undefined_flag
='-berok'
8855 # Determine the default libpath from the value encoded in an
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8872 rm -f conftest.
$ac_objext conftest
$ac_exeext
8873 if { (ac_try
="$ac_link"
8875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8879 $as_echo "$ac_try_echo") >&5
8880 (eval "$ac_link") 2>conftest.er1
8882 grep -v '^ *+' conftest.er1 >conftest.err
8884 cat conftest.err >&5
8885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest$ac_exeext && {
8890 test "$cross_compiling" = yes ||
8891 $as_test_x conftest$ac_exeext
8894 lt_aix_libpath_sed='
8895 /Import File Strings/,/^$/ {
8901 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8902 # Check for a 64-bit object if we didn't find anything.
8903 if test -z "$aix_libpath"; then
8904 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8907 $as_echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8913 rm -rf conftest.dSYM
8914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8915 conftest$ac_exeext conftest.$ac_ext
8916 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8918 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8919 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"
8921 if test "$host_cpu" = ia64; then
8922 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8923 allow_undefined_flag="-z nodefs"
8924 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"
8926 # Determine the default libpath from the value encoded in an
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8943 rm -f conftest.$ac_objext conftest$ac_exeext
8944 if { (ac_try="$ac_link"
8946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8947 *) ac_try_echo
=$ac_try;;
8949 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8950 $as_echo "$ac_try_echo") >&5
8951 (eval "$ac_link") 2>conftest.er1
8953 grep -v '^ *+' conftest.er1
>conftest.err
8955 cat conftest.err
>&5
8956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } && {
8958 test -z "$ac_c_werror_flag" ||
8959 test ! -s conftest.err
8960 } && test -s conftest
$ac_exeext && {
8961 test "$cross_compiling" = yes ||
8962 $as_test_x conftest
$ac_exeext
8965 lt_aix_libpath_sed
='
8966 /Import File Strings/,/^$/ {
8972 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8973 # Check for a 64-bit object if we didn't find anything.
8974 if test -z "$aix_libpath"; then
8975 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8978 $as_echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.
$ac_ext >&5
8984 rm -rf conftest.dSYM
8985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8986 conftest
$ac_exeext conftest.
$ac_ext
8987 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8989 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8990 # Warning - without using the other run time loading flags,
8991 # -berok will link without error, but may produce a broken library.
8992 no_undefined_flag
=' ${wl}-bernotok'
8993 allow_undefined_flag
=' ${wl}-berok'
8994 # Exported symbols can be pulled into shared objects from archives
8995 whole_archive_flag_spec
='$convenience'
8996 archive_cmds_need_lc
=yes
8997 # This is similar to how AIX traditionally builds its shared libraries.
8998 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'
9006 # see comment about AmigaOS4 .so support
9007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds
=''
9011 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)'
9012 hardcode_libdir_flag_spec
='-L$libdir'
9013 hardcode_minus_L
=yes
9019 export_dynamic_flag_spec
=-rdynamic
9022 cygwin
* | mingw
* | pw32
* | cegcc
*)
9023 # When not using gcc, we currently assume that we are using
9024 # Microsoft Visual C++.
9025 # hardcode_libdir_flag_spec is actually meaningless, as there is
9026 # no search path for DLLs.
9027 hardcode_libdir_flag_spec
=' '
9028 allow_undefined_flag
=unsupported
9029 # Tell ltmain to make .lib files, not .a files.
9031 # Tell ltmain to make .dll files, not .so files.
9033 # FIXME: Setting linknames here is a bad hack.
9034 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9035 # The linker will automatically build a .lib file if we build a DLL.
9036 old_archive_from_new_cmds
='true'
9037 # FIXME: Should let the user specify the lib program.
9038 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9039 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9040 enable_shared_with_static_runtimes
=yes
9043 darwin
* | rhapsody
*)
9046 archive_cmds_need_lc
=no
9048 hardcode_automatic
=yes
9049 hardcode_shlibpath_var
=unsupported
9050 whole_archive_flag_spec
=''
9051 link_all_deplibs
=yes
9052 allow_undefined_flag
="$_lt_dar_allow_undefined"
9053 case $cc_basename in
9054 ifort
*) _lt_dar_can_shared
=yes ;;
9055 *) _lt_dar_can_shared
=$GCC ;;
9057 if test "$_lt_dar_can_shared" = "yes"; then
9058 output_verbose_link_cmd
=echo
9059 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9060 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9061 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}"
9062 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}"
9071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9072 hardcode_libdir_flag_spec
='-L$libdir'
9073 hardcode_shlibpath_var
=no
9080 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9081 # support. Future versions do this automatically, but an explicit c++rt0.o
9082 # does not break anything, and helps significantly (at the cost of a little
9085 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9086 hardcode_libdir_flag_spec
='-R$libdir'
9088 hardcode_shlibpath_var
=no
9091 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9093 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9095 hardcode_minus_L
=yes
9096 hardcode_shlibpath_var
=no
9099 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9100 freebsd
* | dragonfly
*)
9101 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9102 hardcode_libdir_flag_spec
='-R$libdir'
9104 hardcode_shlibpath_var
=no
9108 if test "$GCC" = yes; then
9109 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'
9111 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'
9113 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9114 hardcode_libdir_separator
=:
9117 # hardcode_minus_L: Not really in the search PATH,
9118 # but as the default location of the library.
9119 hardcode_minus_L
=yes
9120 export_dynamic_flag_spec
='${wl}-E'
9124 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9125 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9129 if test "$with_gnu_ld" = no
; then
9130 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9131 hardcode_libdir_flag_spec_ld
='+b $libdir'
9132 hardcode_libdir_separator
=:
9134 hardcode_direct_absolute
=yes
9135 export_dynamic_flag_spec
='${wl}-E'
9136 # hardcode_minus_L: Not really in the search PATH,
9137 # but as the default location of the library.
9138 hardcode_minus_L
=yes
9143 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9146 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9149 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9158 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9161 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9164 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9168 if test "$with_gnu_ld" = no
; then
9169 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9170 hardcode_libdir_separator
=:
9175 hardcode_shlibpath_var
=no
9179 hardcode_direct_absolute
=yes
9180 export_dynamic_flag_spec
='${wl}-E'
9182 # hardcode_minus_L: Not really in the search PATH,
9183 # but as the default location of the library.
9184 hardcode_minus_L
=yes
9190 irix5
* | irix6
* | nonstopux
*)
9191 if test "$GCC" = yes; then
9192 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'
9193 # Try to use the -exported_symbol ld option, if it does not
9194 # work, assume that -exports_file does not work either and
9195 # implicitly export all symbols.
9196 save_LDFLAGS
="$LDFLAGS"
9197 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9198 cat >conftest.
$ac_ext <<_ACEOF
9201 rm -f conftest.
$ac_objext conftest
$ac_exeext
9202 if { (ac_try
="$ac_link"
9204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9205 *) ac_try_echo=$ac_try;;
9207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9208 $as_echo "$ac_try_echo") >&5
9209 (eval "$ac_link") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext && {
9219 test "$cross_compiling" = yes ||
9220 $as_test_x conftest$ac_exeext
9222 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'
9225 $as_echo "$as_me: failed program was:" >&5
9226 sed 's/^/| /' conftest.$ac_ext >&5
9231 rm -rf conftest.dSYM
9232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LDFLAGS="$save_LDFLAGS"
9236 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'
9237 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'
9239 archive_cmds_need_lc='no'
9240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241 hardcode_libdir_separator=:
9243 link_all_deplibs=yes
9247 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9250 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9252 hardcode_libdir_flag_spec='-R$libdir'
9254 hardcode_shlibpath_var=no
9258 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9260 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9261 hardcode_libdir_separator=:
9262 hardcode_shlibpath_var=no
9269 if test -f /usr/libexec/ld.so; then
9271 hardcode_shlibpath_var=no
9272 hardcode_direct_absolute=yes
9273 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9276 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9277 export_dynamic_flag_spec='${wl}-E'
9280 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9281 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9282 hardcode_libdir_flag_spec='-R$libdir'
9285 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9286 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9296 hardcode_libdir_flag_spec='-L$libdir'
9297 hardcode_minus_L=yes
9298 allow_undefined_flag=unsupported
9299 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'
9300 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9304 if test "$GCC" = yes; then
9305 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9306 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'
9308 allow_undefined_flag=' -expect_unresolved \*'
9309 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'
9311 archive_cmds_need_lc='no'
9312 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9313 hardcode_libdir_separator=:
9316 osf4* | osf5*) # as osf3* with the addition of -msym flag
9317 if test "$GCC" = yes; then
9318 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9319 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'
9320 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9322 allow_undefined_flag=' -expect_unresolved \*'
9323 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'
9324 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~
9325 $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'
9327 # Both c and cxx compiler support -rpath directly
9328 hardcode_libdir_flag_spec='-rpath $libdir'
9330 archive_cmds_need_lc='no'
9331 hardcode_libdir_separator=:
9335 no_undefined_flag=' -z defs'
9336 if test "$GCC" = yes; then
9338 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9340 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9342 case `$CC -V 2>&1` in
9345 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9347 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9351 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9353 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9357 hardcode_libdir_flag_spec='-R$libdir'
9358 hardcode_shlibpath_var=no
9360 solaris2.[0-5] | solaris2.[0-5].*) ;;
9362 # The compiler driver will combine and reorder linker options,
9363 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9364 # but is careful enough not to reorder.
9365 # Supported since Solaris 2.6 (maybe 2.5.1?)
9366 if test "$GCC" = yes; then
9367 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9369 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9373 link_all_deplibs
=yes
9377 if test "x$host_vendor" = xsequent
; then
9378 # Use $CC to link under sequent, because it throws in some extra .o
9379 # files that make .init and .fini sections work.
9380 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9384 hardcode_libdir_flag_spec
='-L$libdir'
9386 hardcode_minus_L
=yes
9387 hardcode_shlibpath_var
=no
9391 case $host_vendor in
9393 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9394 hardcode_direct
=yes # is this really true???
9397 ## LD is ld it makes a PLAMLIB
9398 ## CC just makes a GrossModule.
9399 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9400 reload_cmds
='$CC -r -o $output$reload_objs'
9404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9408 runpath_var
='LD_RUN_PATH'
9409 hardcode_shlibpath_var
=no
9413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_shlibpath_var
=no
9415 export_dynamic_flag_spec
='-Bexport'
9419 if test -d /usr
/nec
; then
9420 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9421 hardcode_shlibpath_var
=no
9422 runpath_var
=LD_RUN_PATH
9423 hardcode_runpath_var
=yes
9428 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9429 no_undefined_flag
='${wl}-z,text'
9430 archive_cmds_need_lc
=no
9431 hardcode_shlibpath_var
=no
9432 runpath_var
='LD_RUN_PATH'
9434 if test "$GCC" = yes; then
9435 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9438 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 sysv5
* | sco3.2v5
* | sco5v6
*)
9444 # Note: We can NOT use -z defs as we might desire, because we do not
9445 # link with -lc, and that would cause any symbols used from libc to
9446 # always be unresolved, which means just about no library would
9447 # ever link correctly. If we're not using GNU ld we use -z text
9448 # though, which does catch some bad symbols but isn't as heavy-handed
9450 no_undefined_flag
='${wl}-z,text'
9451 allow_undefined_flag
='${wl}-z,nodefs'
9452 archive_cmds_need_lc
=no
9453 hardcode_shlibpath_var
=no
9454 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9455 hardcode_libdir_separator
=':'
9456 link_all_deplibs
=yes
9457 export_dynamic_flag_spec
='${wl}-Bexport'
9458 runpath_var
='LD_RUN_PATH'
9460 if test "$GCC" = yes; then
9461 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9464 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471 hardcode_libdir_flag_spec
='-L$libdir'
9472 hardcode_shlibpath_var
=no
9480 if test x
$host_vendor = xsni
; then
9482 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9483 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9489 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9490 $as_echo "$ld_shlibs" >&6; }
9491 test "$ld_shlibs" = no
&& can_build_shared
=no
9493 with_gnu_ld
=$with_gnu_ld
9510 # Do we need to explicitly link libc?
9512 case "x$archive_cmds_need_lc" in
9514 # Assume -lc should be added
9515 archive_cmds_need_lc
=yes
9517 if test "$enable_shared" = yes && test "$GCC" = yes; then
9518 case $archive_cmds in
9520 # FIXME: we may have to deal with multi-command sequences.
9523 # Test whether the compiler implicitly links with -lc since on some
9524 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9525 # to ld, don't add -lc before -lgcc.
9526 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9527 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9529 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9532 (eval $ac_compile) 2>&5
9534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } 2>conftest.err
; then
9538 libobjs
=conftest.
$ac_objext
9540 wl
=$lt_prog_compiler_wl
9541 pic_flag
=$lt_prog_compiler_pic
9547 lt_save_allow_undefined_flag
=$allow_undefined_flag
9548 allow_undefined_flag
=
9549 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9550 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }
9555 archive_cmds_need_lc
=no
9557 archive_cmds_need_lc
=yes
9559 allow_undefined_flag
=$lt_save_allow_undefined_flag
9561 cat conftest.err
1>&5
9564 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9565 $as_echo "$archive_cmds_need_lc" >&6; }
9728 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9729 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9731 if test "$GCC" = yes; then
9733 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9734 *) lt_awk_arg
="/^libraries:/" ;;
9736 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9737 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9738 # if the path contains ";" then we assume it to be the separator
9739 # otherwise default to the standard path separator (i.e. ":") - it is
9740 # assumed that no part of a normal pathname contains ";" but that should
9741 # okay in the real world where ";" in dirpaths is itself problematic.
9742 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9744 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9746 # Ok, now we have the path, separated by spaces, we can step through it
9747 # and add multilib dir if necessary.
9748 lt_tmp_lt_search_path_spec
=
9749 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9750 for lt_sys_path
in $lt_search_path_spec; do
9751 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9752 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9754 test -d "$lt_sys_path" && \
9755 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9758 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9759 BEGIN {RS=" "; FS="/|\n";} {
9762 for (lt_i = NF; lt_i > 0; lt_i--) {
9763 if ($lt_i != "" && $lt_i != ".") {
9764 if ($lt_i == "..") {
9767 if (lt_count == 0) {
9768 lt_foo="/" $lt_i lt_foo;
9775 if (lt_foo != "") { lt_freq[lt_foo]++; }
9776 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9778 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9780 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9783 libname_spec
='lib$name'
9791 shlibpath_overrides_runpath
=unknown
9793 dynamic_linker
="$host_os ld.so"
9794 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9795 need_lib_prefix
=unknown
9796 hardcode_into_libs
=no
9798 # when you set need_version to no, make sure it does not cause -set_version
9799 # flags to be left without arguments
9800 need_version
=unknown
9805 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9806 shlibpath_var
=LIBPATH
9808 # AIX 3 has no versioning support, so we append a major version to the name.
9809 soname_spec
='${libname}${release}${shared_ext}$major'
9816 hardcode_into_libs
=yes
9817 if test "$host_cpu" = ia64
; then
9818 # AIX 5 supports IA64
9819 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9820 shlibpath_var
=LD_LIBRARY_PATH
9822 # With GCC up to 2.95.x, collect2 would create an import file
9823 # for dependence libraries. The import file would start with
9824 # the line `#! .'. This would cause the generated library to
9825 # depend on `.', always an invalid library. This was fixed in
9826 # development snapshots of GCC prior to 3.0.
9828 aix4 | aix4.
[01] | aix4.
[01].
*)
9829 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9831 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9838 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9839 # soname into executable. Probably we can add versioning support to
9840 # collect2, so additional links can be useful in future.
9841 if test "$aix_use_runtimelinking" = yes; then
9842 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9843 # instead of lib<name>.a to let people know that these are not
9844 # typical AIX shared libraries.
9845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9847 # We preserve .a as extension for shared libraries through AIX4.2
9848 # and later when we are not doing run time linking.
9849 library_names_spec
='${libname}${release}.a $libname.a'
9850 soname_spec
='${libname}${release}${shared_ext}$major'
9852 shlibpath_var
=LIBPATH
9859 # Since July 2007 AmigaOS4 officially supports .so libraries.
9860 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9864 library_names_spec
='$libname.ixlibrary $libname.a'
9865 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9866 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'
9872 library_names_spec
='${libname}${shared_ext}'
9873 dynamic_linker
="$host_os ld.so"
9874 shlibpath_var
=LIBRARY_PATH
9880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9881 soname_spec
='${libname}${release}${shared_ext}$major'
9882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9883 shlibpath_var
=LD_LIBRARY_PATH
9884 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9885 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9886 # the default ld.so.conf also contains /usr/contrib/lib and
9887 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9888 # libtool to hard-code these into programs
9891 cygwin
* | mingw
* | pw32
* | cegcc
*)
9892 version_type
=windows
9897 case $GCC,$host_os in
9898 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9899 library_names_spec
='$libname.dll.a'
9900 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9901 postinstall_cmds
='base_file=`basename \${file}`~
9902 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9903 dldir=$destdir/`dirname \$dlpath`~
9904 test -d \$dldir || mkdir -p \$dldir~
9905 $install_prog $dir/$dlname \$dldir/$dlname~
9906 chmod a+x \$dldir/$dlname~
9907 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9908 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9910 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9911 dlpath=$dir/\$dldll~
9913 shlibpath_overrides_runpath
=yes
9917 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9918 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9919 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9922 # MinGW DLLs use traditional 'lib' prefix
9923 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9924 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9925 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9926 # It is most probably a Windows format PATH printed by
9927 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9928 # path with ; separators, and with drive letters. We can handle the
9929 # drive letters (cygwin fileutils understands them), so leave them,
9930 # especially as we might pass files found there to a mingw objdump,
9931 # which wouldn't understand a cygwinified path. Ahh.
9932 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9934 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9938 # pw32 DLLs use 'pw' prefix rather than 'lib'
9939 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9945 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9948 dynamic_linker
='Win32 ld.exe'
9949 # FIXME: first we should search . and the directory the executable is in
9953 darwin
* | rhapsody
*)
9954 dynamic_linker
="$host_os dyld"
9958 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9959 soname_spec
='${libname}${release}${major}$shared_ext'
9960 shlibpath_overrides_runpath
=yes
9961 shlibpath_var
=DYLD_LIBRARY_PATH
9962 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9964 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9965 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9973 soname_spec
='${libname}${release}${shared_ext}$major'
9974 shlibpath_var
=LD_LIBRARY_PATH
9981 freebsd
* | dragonfly
*)
9982 # DragonFly does not have aout. When/if they implement a new
9983 # versioning mechanism, adjust this.
9984 if test -x /usr
/bin
/objformat
; then
9985 objformat
=`/usr/bin/objformat`
9988 freebsd
[123]*) objformat
=aout
;;
9992 version_type
=freebsd-
$objformat
9993 case $version_type in
9995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10000 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10004 shlibpath_var
=LD_LIBRARY_PATH
10007 shlibpath_overrides_runpath
=yes
10009 freebsd3.
[01]* | freebsdelf3.
[01]*)
10010 shlibpath_overrides_runpath
=yes
10011 hardcode_into_libs
=yes
10013 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10014 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10015 shlibpath_overrides_runpath
=no
10016 hardcode_into_libs
=yes
10018 *) # from 4.6 on, and DragonFly
10019 shlibpath_overrides_runpath
=yes
10020 hardcode_into_libs
=yes
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10031 shlibpath_var
=LD_LIBRARY_PATH
10032 hardcode_into_libs
=yes
10035 hpux9
* | hpux10
* | hpux11
*)
10036 # Give a soname corresponding to the major version so that dld.sl refuses to
10037 # link against other versions.
10044 hardcode_into_libs
=yes
10045 dynamic_linker
="$host_os dld.so"
10046 shlibpath_var
=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10049 soname_spec
='${libname}${release}${shared_ext}$major'
10050 if test "X$HPUX_IA64_MODE" = X32
; then
10051 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10053 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10059 hardcode_into_libs
=yes
10060 dynamic_linker
="$host_os dld.sl"
10061 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10062 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10064 soname_spec
='${libname}${release}${shared_ext}$major'
10065 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10066 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10070 dynamic_linker
="$host_os dld.sl"
10071 shlibpath_var
=SHLIB_PATH
10072 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10077 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10078 postinstall_cmds
='chmod 555 $lib'
10085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10086 soname_spec
='${libname}${release}${shared_ext}$major'
10087 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10088 shlibpath_var
=LD_LIBRARY_PATH
10089 shlibpath_overrides_runpath
=no
10090 hardcode_into_libs
=yes
10093 irix5
* | irix6
* | nonstopux
*)
10095 nonstopux
*) version_type
=nonstopux
;;
10097 if test "$lt_cv_prog_gnu_ld" = yes; then
10105 soname_spec
='${libname}${release}${shared_ext}$major'
10106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10108 irix5
* | nonstopux
*)
10109 libsuff
= shlibsuff
=
10112 case $LD in # libtool.m4 will add one of these switches to LD
10113 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10114 libsuff
= shlibsuff
= libmagic
=32-bit;;
10115 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10116 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10117 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10118 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10119 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10123 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10124 shlibpath_overrides_runpath
=no
10125 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10126 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10127 hardcode_into_libs
=yes
10130 # No shared lib support for Linux oldld, aout, or coff.
10131 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10135 # This must be Linux ELF.
10136 linux
* | k
*bsd
*-gnu)
10140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10141 soname_spec
='${libname}${release}${shared_ext}$major'
10142 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10143 shlibpath_var
=LD_LIBRARY_PATH
10144 shlibpath_overrides_runpath
=no
10145 # Some binutils ld are patched to set DT_RUNPATH
10146 save_LDFLAGS
=$LDFLAGS
10147 save_libdir
=$libdir
10148 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10149 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10150 cat >conftest.
$ac_ext <<_ACEOF
10153 cat confdefs.h
>>conftest.
$ac_ext
10154 cat >>conftest.
$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10165 rm -f conftest.
$ac_objext conftest
$ac_exeext
10166 if { (ac_try
="$ac_link"
10167 case "(($ac_try" in
10168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10172 $as_echo "$ac_try_echo") >&5
10173 (eval "$ac_link") 2>conftest.er1
10175 grep -v '^ *+' conftest.er1 >conftest.err
10177 cat conftest.err >&5
10178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); } && {
10180 test -z "$ac_c_werror_flag" ||
10181 test ! -s conftest.err
10182 } && test -s conftest$ac_exeext && {
10183 test "$cross_compiling" = yes ||
10184 $as_test_x conftest$ac_exeext
10186 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10187 shlibpath_overrides_runpath=yes
10191 $as_echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10197 rm -rf conftest.dSYM
10198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LDFLAGS=$save_LDFLAGS
10201 libdir=$save_libdir
10203 # This implies no fast_install, which is unacceptable.
10204 # Some rework will be needed to allow for fast_install
10205 # before this can be enabled.
10206 hardcode_into_libs=yes
10208 # Add ABI-specific directories to the system library path.
10209 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10211 # Append ld.so.conf contents to the search path
10212 if test -f /etc/ld.so.conf; then
10213 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' ' '`
10214 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10217 # We used to test for /lib/ld.so.1 and disable shared libraries on
10218 # powerpc, because MkLinux only supported shared libraries with the
10219 # GNU dynamic linker. Since this was broken with cross compilers,
10220 # most powerpc-linux boxes support dynamic linking these days and
10221 # people can always --disable-shared, the test was removed, and we
10222 # assume the GNU/Linux dynamic linker is in use.
10223 dynamic_linker='GNU/Linux ld.so'
10230 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10232 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10233 dynamic_linker='NetBSD (a.out) ld.so'
10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10236 soname_spec='${libname}${release}${shared_ext}$major'
10237 dynamic_linker='NetBSD ld.elf_so'
10239 shlibpath_var=LD_LIBRARY_PATH
10240 shlibpath_overrides_runpath=yes
10241 hardcode_into_libs=yes
10246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10247 shlibpath_var=LD_LIBRARY_PATH
10248 shlibpath_overrides_runpath=yes
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 shlibpath_var=LD_LIBRARY_PATH
10258 shlibpath_overrides_runpath=no
10259 hardcode_into_libs=yes
10260 dynamic_linker='ldqnx.so'
10265 sys_lib_dlsearch_path_spec="/usr/lib"
10267 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10269 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10270 *) need_version=no ;;
10272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10273 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10274 shlibpath_var=LD_LIBRARY_PATH
10275 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10277 openbsd2.[89] | openbsd2.[89].*)
10278 shlibpath_overrides_runpath=no
10281 shlibpath_overrides_runpath=yes
10285 shlibpath_overrides_runpath=yes
10290 libname_spec='$name'
10293 library_names_spec='$libname${shared_ext} $libname.a'
10294 dynamic_linker='OS/2 ld.exe'
10295 shlibpath_var=LIBPATH
10298 osf3* | osf4* | osf5*)
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 shlibpath_var=LD_LIBRARY_PATH
10305 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10306 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 soname_spec='${libname}${release}${shared_ext}$major'
10319 shlibpath_var=LD_LIBRARY_PATH
10320 shlibpath_overrides_runpath=yes
10321 hardcode_into_libs=yes
10322 # ldd complains unless libraries are executable
10323 postinstall_cmds='chmod +x $lib'
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10329 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10330 shlibpath_var=LD_LIBRARY_PATH
10331 shlibpath_overrides_runpath=yes
10332 if test "$with_gnu_ld" = yes; then
10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10341 soname_spec='${libname}${release}${shared_ext}$major'
10342 shlibpath_var=LD_LIBRARY_PATH
10343 case $host_vendor in
10345 shlibpath_overrides_runpath=no
10347 runpath_var=LD_RUN_PATH
10355 shlibpath_overrides_runpath=no
10356 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10362 if test -d /usr/nec ;then
10364 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10365 soname_spec='$libname${shared_ext}.$major'
10366 shlibpath_var=LD_LIBRARY_PATH
10370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10371 version_type=freebsd-elf
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10375 soname_spec='${libname}${release}${shared_ext}$major'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath=yes
10378 hardcode_into_libs=yes
10379 if test "$with_gnu_ld" = yes; then
10380 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10382 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10385 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10389 sys_lib_dlsearch_path_spec='/usr/lib'
10393 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath=no
10400 hardcode_into_libs=yes
10405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10406 soname_spec='${libname}${release}${shared_ext}$major'
10407 shlibpath_var=LD_LIBRARY_PATH
10414 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10415 $as_echo "$dynamic_linker" >&6; }
10416 test "$dynamic_linker" = no && can_build_shared=no
10418 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10419 if test "$GCC" = yes; then
10420 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10423 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10424 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10426 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10427 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10516 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10517 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10519 if test -n "$hardcode_libdir_flag_spec" ||
10520 test -n "$runpath_var" ||
10521 test "X$hardcode_automatic" = "Xyes" ; then
10523 # We can hardcode non-existent directories.
10524 if test "$hardcode_direct" != no &&
10525 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10526 # have to relink, otherwise we might link with an installed library
10527 # when we should be linking with a yet-to-be-installed one
10528 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10529 test "$hardcode_minus_L" != no; then
10530 # Linking always hardcodes the temporary library directory.
10531 hardcode_action=relink
10533 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10534 hardcode_action=immediate
10537 # We cannot hardcode anything, or else we can only hardcode existing
10539 hardcode_action=unsupported
10541 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10542 $as_echo "$hardcode_action" >&6; }
10544 if test "$hardcode_action" = relink ||
10545 test "$inherit_rpath" = yes; then
10546 # Fast installation is not supported
10547 enable_fast_install=no
10548 elif test "$shlibpath_overrides_runpath" = yes ||
10549 test "$enable_shared" = no; then
10550 # Fast installation is not necessary
10551 enable_fast_install=needless
10559 if test "x$enable_dlopen" != xyes; then
10560 enable_dlopen=unknown
10561 enable_dlopen_self=unknown
10562 enable_dlopen_self_static=unknown
10569 lt_cv_dlopen="load_add_on"
10571 lt_cv_dlopen_self=yes
10574 mingw* | pw32* | cegcc*)
10575 lt_cv_dlopen="LoadLibrary"
10580 lt_cv_dlopen="dlopen"
10585 # if libdl is installed we need to link against it
10586 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10587 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10588 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10589 $as_echo_n "(cached) " >&6
10591 ac_check_lib_save_LIBS=$LIBS
10593 cat >conftest.$ac_ext <<_ACEOF
10596 cat confdefs.h >>conftest.$ac_ext
10597 cat >>conftest.$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10615 rm -f conftest.$ac_objext conftest$ac_exeext
10616 if { (ac_try="$ac_link"
10617 case "(($ac_try" in
10618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10619 *) ac_try_echo
=$ac_try;;
10621 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10622 $as_echo "$ac_try_echo") >&5
10623 (eval "$ac_link") 2>conftest.er1
10625 grep -v '^ *+' conftest.er1
>conftest.err
10627 cat conftest.err
>&5
10628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } && {
10630 test -z "$ac_c_werror_flag" ||
10631 test ! -s conftest.err
10632 } && test -s conftest
$ac_exeext && {
10633 test "$cross_compiling" = yes ||
10634 $as_test_x conftest
$ac_exeext
10636 ac_cv_lib_dl_dlopen
=yes
10638 $as_echo "$as_me: failed program was:" >&5
10639 sed 's/^/| /' conftest.
$ac_ext >&5
10641 ac_cv_lib_dl_dlopen
=no
10644 rm -rf conftest.dSYM
10645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10646 conftest
$ac_exeext conftest.
$ac_ext
10647 LIBS
=$ac_check_lib_save_LIBS
10649 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10650 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10651 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10652 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10655 lt_cv_dlopen
="dyld"
10657 lt_cv_dlopen_self
=yes
10664 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10665 $as_echo_n "checking for shl_load... " >&6; }
10666 if test "${ac_cv_func_shl_load+set}" = set; then
10667 $as_echo_n "(cached) " >&6
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10675 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10677 #define shl_load innocuous_shl_load
10679 /* System header to define __stub macros and hopefully few prototypes,
10680 which can conflict with char shl_load (); below.
10681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10682 <limits.h> exists even on freestanding compilers. */
10685 # include <limits.h>
10687 # include <assert.h>
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10699 /* The GNU C library defines this for functions which it implements
10700 to always fail with ENOSYS. Some functions are actually named
10701 something starting with __ and the normal name is an alias. */
10702 #if defined __stub_shl_load || defined __stub___shl_load
10709 return shl_load ();
10714 rm -f conftest.
$ac_objext conftest
$ac_exeext
10715 if { (ac_try
="$ac_link"
10716 case "(($ac_try" in
10717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10718 *) ac_try_echo=$ac_try;;
10720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10721 $as_echo "$ac_try_echo") >&5
10722 (eval "$ac_link") 2>conftest.er1
10724 grep -v '^ *+' conftest.er1 >conftest.err
10726 cat conftest.err >&5
10727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } && {
10729 test -z "$ac_c_werror_flag" ||
10730 test ! -s conftest.err
10731 } && test -s conftest$ac_exeext && {
10732 test "$cross_compiling" = yes ||
10733 $as_test_x conftest$ac_exeext
10735 ac_cv_func_shl_load=yes
10737 $as_echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10740 ac_cv_func_shl_load=no
10743 rm -rf conftest.dSYM
10744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10745 conftest$ac_exeext conftest.$ac_ext
10747 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10748 $as_echo "$ac_cv_func_shl_load" >&6; }
10749 if test "x$ac_cv_func_shl_load" = x""yes; then
10750 lt_cv_dlopen="shl_load"
10752 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10753 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10754 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10755 $as_echo_n "(cached) " >&6
10757 ac_check_lib_save_LIBS=$LIBS
10759 cat >conftest.$ac_ext <<_ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10766 /* Override any GCC internal prototype to avoid an error.
10767 Use char because int might match the return type of a GCC
10768 builtin and then its argument prototype would still apply. */
10776 return shl_load ();
10781 rm -f conftest.$ac_objext conftest$ac_exeext
10782 if { (ac_try="$ac_link"
10783 case "(($ac_try" in
10784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10785 *) ac_try_echo
=$ac_try;;
10787 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10788 $as_echo "$ac_try_echo") >&5
10789 (eval "$ac_link") 2>conftest.er1
10791 grep -v '^ *+' conftest.er1
>conftest.err
10793 cat conftest.err
>&5
10794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } && {
10796 test -z "$ac_c_werror_flag" ||
10797 test ! -s conftest.err
10798 } && test -s conftest
$ac_exeext && {
10799 test "$cross_compiling" = yes ||
10800 $as_test_x conftest
$ac_exeext
10802 ac_cv_lib_dld_shl_load
=yes
10804 $as_echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.
$ac_ext >&5
10807 ac_cv_lib_dld_shl_load
=no
10810 rm -rf conftest.dSYM
10811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10812 conftest
$ac_exeext conftest.
$ac_ext
10813 LIBS
=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10816 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10817 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10818 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10820 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10821 $as_echo_n "checking for dlopen... " >&6; }
10822 if test "${ac_cv_func_dlopen+set}" = set; then
10823 $as_echo_n "(cached) " >&6
10825 cat >conftest.
$ac_ext <<_ACEOF
10828 cat confdefs.h
>>conftest.
$ac_ext
10829 cat >>conftest.
$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10831 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10833 #define dlopen innocuous_dlopen
10835 /* System header to define __stub macros and hopefully few prototypes,
10836 which can conflict with char dlopen (); below.
10837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10838 <limits.h> exists even on freestanding compilers. */
10841 # include <limits.h>
10843 # include <assert.h>
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10855 /* The GNU C library defines this for functions which it implements
10856 to always fail with ENOSYS. Some functions are actually named
10857 something starting with __ and the normal name is an alias. */
10858 #if defined __stub_dlopen || defined __stub___dlopen
10870 rm -f conftest.
$ac_objext conftest
$ac_exeext
10871 if { (ac_try
="$ac_link"
10872 case "(($ac_try" in
10873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10877 $as_echo "$ac_try_echo") >&5
10878 (eval "$ac_link") 2>conftest.er1
10880 grep -v '^ *+' conftest.er1 >conftest.err
10882 cat conftest.err >&5
10883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } && {
10885 test -z "$ac_c_werror_flag" ||
10886 test ! -s conftest.err
10887 } && test -s conftest$ac_exeext && {
10888 test "$cross_compiling" = yes ||
10889 $as_test_x conftest$ac_exeext
10891 ac_cv_func_dlopen=yes
10893 $as_echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.$ac_ext >&5
10896 ac_cv_func_dlopen=no
10899 rm -rf conftest.dSYM
10900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10901 conftest$ac_exeext conftest.$ac_ext
10903 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10904 $as_echo "$ac_cv_func_dlopen" >&6; }
10905 if test "x$ac_cv_func_dlopen" = x""yes; then
10906 lt_cv_dlopen="dlopen"
10908 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10909 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10910 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10911 $as_echo_n "(cached) " >&6
10913 ac_check_lib_save_LIBS=$LIBS
10915 cat >conftest.$ac_ext <<_ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10937 rm -f conftest.$ac_objext conftest$ac_exeext
10938 if { (ac_try="$ac_link"
10939 case "(($ac_try" in
10940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10941 *) ac_try_echo
=$ac_try;;
10943 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10944 $as_echo "$ac_try_echo") >&5
10945 (eval "$ac_link") 2>conftest.er1
10947 grep -v '^ *+' conftest.er1
>conftest.err
10949 cat conftest.err
>&5
10950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); } && {
10952 test -z "$ac_c_werror_flag" ||
10953 test ! -s conftest.err
10954 } && test -s conftest
$ac_exeext && {
10955 test "$cross_compiling" = yes ||
10956 $as_test_x conftest
$ac_exeext
10958 ac_cv_lib_dl_dlopen
=yes
10960 $as_echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.
$ac_ext >&5
10963 ac_cv_lib_dl_dlopen
=no
10966 rm -rf conftest.dSYM
10967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10968 conftest
$ac_exeext conftest.
$ac_ext
10969 LIBS
=$ac_check_lib_save_LIBS
10971 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10972 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10973 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10974 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10976 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10977 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10978 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10979 $as_echo_n "(cached) " >&6
10981 ac_check_lib_save_LIBS
=$LIBS
10982 LIBS
="-lsvld $LIBS"
10983 cat >conftest.
$ac_ext <<_ACEOF
10986 cat confdefs.h
>>conftest.
$ac_ext
10987 cat >>conftest.
$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
11005 rm -f conftest.
$ac_objext conftest
$ac_exeext
11006 if { (ac_try
="$ac_link"
11007 case "(($ac_try" in
11008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11009 *) ac_try_echo=$ac_try;;
11011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11012 $as_echo "$ac_try_echo") >&5
11013 (eval "$ac_link") 2>conftest.er1
11015 grep -v '^ *+' conftest.er1 >conftest.err
11017 cat conftest.err >&5
11018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } && {
11020 test -z "$ac_c_werror_flag" ||
11021 test ! -s conftest.err
11022 } && test -s conftest$ac_exeext && {
11023 test "$cross_compiling" = yes ||
11024 $as_test_x conftest$ac_exeext
11026 ac_cv_lib_svld_dlopen=yes
11028 $as_echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.$ac_ext >&5
11031 ac_cv_lib_svld_dlopen=no
11034 rm -rf conftest.dSYM
11035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_lib_save_LIBS
11039 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11041 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11042 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11044 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11046 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11047 $as_echo_n "(cached) " >&6
11049 ac_check_lib_save_LIBS=$LIBS
11051 cat >conftest.$ac_ext <<_ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11068 return dld_link ();
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (ac_try="$ac_link"
11075 case "(($ac_try" in
11076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11077 *) ac_try_echo
=$ac_try;;
11079 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11080 $as_echo "$ac_try_echo") >&5
11081 (eval "$ac_link") 2>conftest.er1
11083 grep -v '^ *+' conftest.er1
>conftest.err
11085 cat conftest.err
>&5
11086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest
$ac_exeext && {
11091 test "$cross_compiling" = yes ||
11092 $as_test_x conftest
$ac_exeext
11094 ac_cv_lib_dld_dld_link
=yes
11096 $as_echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 ac_cv_lib_dld_dld_link
=no
11102 rm -rf conftest.dSYM
11103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11104 conftest
$ac_exeext conftest.
$ac_ext
11105 LIBS
=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11108 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11109 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11110 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11131 if test "x$lt_cv_dlopen" != xno
; then
11137 case $lt_cv_dlopen in
11139 save_CPPFLAGS
="$CPPFLAGS"
11140 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11142 save_LDFLAGS
="$LDFLAGS"
11143 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11146 LIBS
="$lt_cv_dlopen_libs $LIBS"
11148 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11149 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11150 if test "${lt_cv_dlopen_self+set}" = set; then
11151 $as_echo_n "(cached) " >&6
11153 if test "$cross_compiling" = yes; then :
11154 lt_cv_dlopen_self
=cross
11156 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11157 lt_status
=$lt_dlunknown
11158 cat > conftest.
$ac_ext <<_LT_EOF
11159 #line 11159 "configure"
11160 #include "confdefs.h"
11169 # define LT_DLGLOBAL RTLD_GLOBAL
11172 # define LT_DLGLOBAL DL_GLOBAL
11174 # define LT_DLGLOBAL 0
11178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11179 find out it does not work in some platform. */
11180 #ifndef LT_DLLAZY_OR_NOW
11182 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11185 # define LT_DLLAZY_OR_NOW DL_LAZY
11188 # define LT_DLLAZY_OR_NOW RTLD_NOW
11191 # define LT_DLLAZY_OR_NOW DL_NOW
11193 # define LT_DLLAZY_OR_NOW 0
11200 void fnord() { int i=42;}
11203 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11204 int status = $lt_dlunknown;
11208 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11209 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11210 /* dlclose (self); */
11218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11219 (eval $ac_link) 2>&5
11221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11223 (.
/conftest
; exit; ) >&5 2>/dev
/null
11225 case x
$lt_status in
11226 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11227 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11228 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11231 # compilation failed
11232 lt_cv_dlopen_self
=no
11239 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11240 $as_echo "$lt_cv_dlopen_self" >&6; }
11242 if test "x$lt_cv_dlopen_self" = xyes
; then
11243 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11244 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11245 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11246 if test "${lt_cv_dlopen_self_static+set}" = set; then
11247 $as_echo_n "(cached) " >&6
11249 if test "$cross_compiling" = yes; then :
11250 lt_cv_dlopen_self_static
=cross
11252 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11253 lt_status
=$lt_dlunknown
11254 cat > conftest.
$ac_ext <<_LT_EOF
11255 #line 11255 "configure"
11256 #include "confdefs.h"
11265 # define LT_DLGLOBAL RTLD_GLOBAL
11268 # define LT_DLGLOBAL DL_GLOBAL
11270 # define LT_DLGLOBAL 0
11274 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11275 find out it does not work in some platform. */
11276 #ifndef LT_DLLAZY_OR_NOW
11278 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11281 # define LT_DLLAZY_OR_NOW DL_LAZY
11284 # define LT_DLLAZY_OR_NOW RTLD_NOW
11287 # define LT_DLLAZY_OR_NOW DL_NOW
11289 # define LT_DLLAZY_OR_NOW 0
11296 void fnord() { int i=42;}
11299 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11300 int status = $lt_dlunknown;
11304 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11305 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11306 /* dlclose (self); */
11314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11315 (eval $ac_link) 2>&5
11317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11319 (.
/conftest
; exit; ) >&5 2>/dev
/null
11321 case x
$lt_status in
11322 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11323 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11324 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11327 # compilation failed
11328 lt_cv_dlopen_self_static
=no
11335 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11336 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11339 CPPFLAGS
="$save_CPPFLAGS"
11340 LDFLAGS
="$save_LDFLAGS"
11345 case $lt_cv_dlopen_self in
11346 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11347 *) enable_dlopen_self
=unknown
;;
11350 case $lt_cv_dlopen_self_static in
11351 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11352 *) enable_dlopen_self_static
=unknown
;;
11374 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11375 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11376 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11377 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11378 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11379 { $as_echo "$as_me:$LINENO: result: yes" >&5
11380 $as_echo "yes" >&6; }
11382 # FIXME - insert some real tests, host_os isn't really good enough
11385 if test -n "$STRIP" ; then
11386 striplib
="$STRIP -x"
11387 old_striplib
="$STRIP -S"
11388 { $as_echo "$as_me:$LINENO: result: yes" >&5
11389 $as_echo "yes" >&6; }
11391 { $as_echo "$as_me:$LINENO: result: no" >&5
11392 $as_echo "no" >&6; }
11396 { $as_echo "$as_me:$LINENO: result: no" >&5
11397 $as_echo "no" >&6; }
11413 # Report which library types will actually be built
11414 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11415 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11416 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11417 $as_echo "$can_build_shared" >&6; }
11419 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11420 $as_echo_n "checking whether to build shared libraries... " >&6; }
11421 test "$can_build_shared" = "no" && enable_shared
=no
11423 # On AIX, shared libraries and static libraries use the same namespace, and
11424 # are all built from PIC.
11427 test "$enable_shared" = yes && enable_static
=no
11428 if test -n "$RANLIB"; then
11429 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11430 postinstall_cmds
='$RANLIB $lib'
11435 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11436 test "$enable_shared" = yes && enable_static
=no
11440 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11441 $as_echo "$enable_shared" >&6; }
11443 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11444 $as_echo_n "checking whether to build static libraries... " >&6; }
11445 # Make sure either enable_shared or enable_static is yes.
11446 test "$enable_shared" = yes || enable_static
=yes
11447 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11448 $as_echo "$enable_static" >&6; }
11455 ac_cpp
='$CPP $CPPFLAGS'
11456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11474 ac_config_commands
="$ac_config_commands libtool"
11479 # Only expand once:
11484 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11485 $as_echo_n "checking spl license... " >&6; }
11487 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11488 $as_echo "$LICENSE" >&6; }
11489 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11494 { $as_echo "$as_me:$LINENO: checking linux distribution" >&5
11495 $as_echo_n "checking linux distribution... " >&6; }
11496 if test -f /etc
/redhat-release
; then
11498 elif test -f /etc
/fedora-release
; then
11500 elif test -f /etc
/arch-release
; then
11502 elif test -f /etc
/lsb-release
; then
11504 elif test -f /etc
/debian_version
; then
11506 elif test -f /etc
/SuSE-release
; then
11508 elif test -f /etc
/slackware-version
; then
11510 elif test -f /etc
/gentoo-release
; then
11515 { $as_echo "$as_me:$LINENO: result: $VENDOR" >&5
11516 $as_echo "$VENDOR" >&6; }
11519 { $as_echo "$as_me:$LINENO: checking default package type" >&5
11520 $as_echo_n "checking default package type... " >&6; }
11522 fedora
) DEFAULT_PACKAGE
=rpm
;;
11523 redhat
) DEFAULT_PACKAGE
=rpm
;;
11524 sles
) DEFAULT_PACKAGE
=rpm
;;
11525 ubuntu
) DEFAULT_PACKAGE
=deb
;;
11526 debian
) DEFAULT_PACKAGE
=deb
;;
11527 slackware
) DEFAULT_PACKAGE
=tgz
;;
11528 arch
) DEFAULT_PACKAGE
=arch
;;
11529 *) DEFAULT_PACKAGE
=rpm
;;
11532 { $as_echo "$as_me:$LINENO: result: $DEFAULT_PACKAGE" >&5
11533 $as_echo "$DEFAULT_PACKAGE" >&6; }
11540 { $as_echo "$as_me:$LINENO: checking whether $RPM is available" >&5
11541 $as_echo_n "checking whether $RPM is available... " >&6; }
11542 if tmp
=$
($RPM --version 2>/dev
/null
); then
11544 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11546 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM ($RPM_VERSION)" >&5
11547 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
11552 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM" >&5
11553 $as_echo "$HAVE_RPM" >&6; }
11558 { $as_echo "$as_me:$LINENO: checking whether $RPMBUILD is available" >&5
11559 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
11560 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then
11562 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11564 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
11565 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
11570 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD" >&5
11571 $as_echo "$HAVE_RPMBUILD" >&6; }
11586 DPKGBUILD
=dpkg-buildpackage
11588 { $as_echo "$as_me:$LINENO: checking whether $DPKG is available" >&5
11589 $as_echo_n "checking whether $DPKG is available... " >&6; }
11590 if tmp
=$
($DPKG --version 2>/dev
/null
); then
11592 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
11594 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
11595 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
11600 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG" >&5
11601 $as_echo "$HAVE_DPKG" >&6; }
11606 { $as_echo "$as_me:$LINENO: checking whether $DPKGBUILD is available" >&5
11607 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
11608 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then
11610 DPKGBUILD_VERSION
=$
(echo $tmp | \
11611 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
11613 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
11614 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
11619 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD" >&5
11620 $as_echo "$HAVE_DPKGBUILD" >&6; }
11636 { $as_echo "$as_me:$LINENO: checking whether $ALIEN is available" >&5
11637 $as_echo_n "checking whether $ALIEN is available... " >&6; }
11638 if tmp
=$
($ALIEN --version 2>/dev
/null
); then
11640 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
11642 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
11643 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
11648 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN" >&5
11649 $as_echo "$HAVE_ALIEN" >&6; }
11659 if test "$VENDOR" = "arch"; then
11664 { $as_echo "$as_me:$LINENO: checking whether $PACMAN is available" >&5
11665 $as_echo_n "checking whether $PACMAN is available... " >&6; }
11666 tmp
=$
($PACMAN --version 2>/dev
/null
)
11667 if test -n "$tmp"; then
11669 PACMAN_VERSION
=$
(echo $tmp |
11670 $AWK '/Pacman/ { print $3 }' |
11673 { $as_echo "$as_me:$LINENO: result: $HAVE_PACMAN ($PACMAN_VERSION)" >&5
11674 $as_echo "$HAVE_PACMAN ($PACMAN_VERSION)" >&6; }
11679 { $as_echo "$as_me:$LINENO: result: $HAVE_PACMAN" >&5
11680 $as_echo "$HAVE_PACMAN" >&6; }
11685 { $as_echo "$as_me:$LINENO: checking whether $MAKEPKG is available" >&5
11686 $as_echo_n "checking whether $MAKEPKG is available... " >&6; }
11687 tmp
=$
($MAKEPKG --version 2>/dev
/null
)
11688 if test -n "$tmp"; then
11690 MAKEPKG_VERSION
=$
(echo $tmp |
$AWK '/makepkg/ { print $3 }')
11692 { $as_echo "$as_me:$LINENO: result: $HAVE_MAKEPKG ($MAKEPKG_VERSION)" >&5
11693 $as_echo "$HAVE_MAKEPKG ($MAKEPKG_VERSION)" >&6; }
11698 { $as_echo "$as_me:$LINENO: result: $HAVE_MAKEPKG" >&5
11699 $as_echo "$HAVE_MAKEPKG" >&6; }
11718 # Check whether --with-config was given.
11719 if test "${with_config+set}" = set; then
11720 withval
=$with_config; SPL_CONFIG
="$withval"
11724 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11725 $as_echo_n "checking spl config... " >&6; }
11726 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11727 $as_echo "$SPL_CONFIG" >&6; };
11730 case "$SPL_CONFIG" in
11734 # Check whether --with-linux was given.
11735 if test "${with_linux+set}" = set; then
11736 withval
=$with_linux; kernelsrc
="$withval"
11741 # Check whether --with-linux-obj was given.
11742 if test "${with_linux_obj+set}" = set; then
11743 withval
=$with_linux_obj; kernelbuild
="$withval"
11747 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11748 $as_echo_n "checking kernel source directory... " >&6; }
11749 if test -z "$kernelsrc"; then
11750 if test -e "/lib/modules/$(uname -r)/source"; then
11751 headersdir
="/lib/modules/$(uname -r)/source"
11752 sourcelink
=$
(readlink
-f "$headersdir")
11753 elif test -e "/lib/modules/$(uname -r)/build"; then
11754 headersdir
="/lib/modules/$(uname -r)/build"
11755 sourcelink
=$
(readlink
-f "$headersdir")
11757 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11759 2>/dev
/null |
grep -v obj |
tail -1)
11762 if test -n "$sourcelink" && test -e ${sourcelink}; then
11763 kernelsrc
=`readlink -f ${sourcelink}`
11765 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11766 $as_echo "Not found" >&6; }
11767 { { $as_echo "$as_me:$LINENO: error:
11768 *** Please make sure the kernel devel package for your distribution
11769 *** is installed then try again. If that fails you can specify the
11770 *** location of the kernel source with the '--with-linux=PATH' option." >&5
11771 $as_echo "$as_me: error:
11772 *** Please make sure the kernel devel package for your distribution
11773 *** is installed then try again. If that fails you can specify the
11774 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
11775 { (exit 1); exit 1; }; }
11778 if test "$kernelsrc" = "NONE"; then
11783 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11784 $as_echo "$kernelsrc" >&6; }
11785 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11786 $as_echo_n "checking kernel build directory... " >&6; }
11787 if test -z "$kernelbuild"; then
11788 if test -e "/lib/modules/$(uname -r)/build"; then
11789 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
11790 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
11791 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
11792 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
11793 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
11794 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
11795 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
11797 kernelbuild
=${kernelsrc}
11800 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11801 $as_echo "$kernelbuild" >&6; }
11803 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11804 $as_echo_n "checking kernel source version... " >&6; }
11805 utsrelease1
=$kernelbuild/include
/linux
/version.h
11806 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11807 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11808 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11809 utsrelease
=linux
/version.h
11810 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11811 utsrelease
=linux
/utsrelease.h
11812 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11813 utsrelease
=generated
/utsrelease.h
11816 if test "$utsrelease"; then
11817 kernsrcver
=`(echo "#include <$utsrelease>";
11818 echo "kernsrcver=UTS_RELEASE") |
11819 cpp -I $kernelbuild/include |
11820 grep "^kernsrcver=" | cut -d \" -f 2`
11822 if test -z "$kernsrcver"; then
11823 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11824 $as_echo "Not found" >&6; }
11825 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11826 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11827 { (exit 1); exit 1; }; }
11830 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11831 $as_echo "Not found" >&6; }
11832 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11833 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11834 { (exit 1); exit 1; }; }
11837 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11838 $as_echo "$kernsrcver" >&6; }
11841 LINUX_OBJ
=${kernelbuild}
11842 LINUX_VERSION
=${kernsrcver}
11849 modpost
=$LINUX/scripts
/Makefile.modpost
11850 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11851 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11852 if test -f "$modpost"; then
11853 if grep -q Modules.symvers
$modpost; then
11854 LINUX_SYMBOLS
=Modules.symvers
11856 LINUX_SYMBOLS
=Module.symvers
11859 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
11860 { { $as_echo "$as_me:$LINENO: error:
11861 *** Please make sure the kernel devel package for your distribution
11862 *** is installed. If your building with a custom kernel make sure the
11863 *** kernel is configured, built, and the '--with-linux=PATH' configure
11864 *** option refers to the location of the kernel source." >&5
11865 $as_echo "$as_me: error:
11866 *** Please make sure the kernel devel package for your distribution
11867 *** is installed. If your building with a custom kernel make sure the
11868 *** kernel is configured, built, and the '--with-linux=PATH' configure
11869 *** option refers to the location of the kernel source." >&2;}
11870 { (exit 1); exit 1; }; }
11875 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11876 $as_echo "$LINUX_SYMBOLS" >&6; }
11881 { $as_echo "$as_me:$LINENO: checking whether Linux was built with CONFIG_PREEMPT" >&5
11882 $as_echo_n "checking whether Linux was built with CONFIG_PREEMPT... " >&6; }
11885 cat confdefs.h
- <<_ACEOF >conftest.c
11888 cat confdefs.h
>>conftest.
$ac_ext
11889 cat >>conftest.
$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11893 #include <linux/module.h>
11899 #ifndef CONFIG_PREEMPT
11900 #error CONFIG_PREEMPT not #defined
11910 rm -Rf build
&& mkdir
-p build
11911 echo "obj-m := conftest.o" >build
/Makefile
11912 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11924 { $as_echo "$as_me:$LINENO: result: yes" >&5
11925 $as_echo "yes" >&6; }
11926 { { $as_echo "$as_me:$LINENO: error:
11927 *** Kernel built with CONFIG_PREEMPT which is not supported.
11928 ** You must rebuild your kernel without this option." >&5
11929 $as_echo "$as_me: error:
11930 *** Kernel built with CONFIG_PREEMPT which is not supported.
11931 ** You must rebuild your kernel without this option." >&2;}
11932 { (exit 1); exit 1; }; }
11935 $as_echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 { $as_echo "$as_me:$LINENO: result: no" >&5
11939 $as_echo "no" >&6; }
11952 if test "${LINUX_OBJ}" != "${LINUX}"; then
11953 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11957 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11961 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11962 $as_echo_n "checking whether debugging is enabled... " >&6; }
11963 # Check whether --enable-debug was given.
11964 if test "${enable_debug+set}" = set; then
11965 enableval
=$enable_debug;
11971 if test "x$enable_debug" = xyes
; then
11973 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11974 DEBUG_CFLAGS
="-DDEBUG -Werror"
11975 DEBUG_SPL
="_with_debug"
11979 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11980 DEBUG_CFLAGS
="-DNDEBUG"
11981 DEBUG_SPL
="_without_debug"
11988 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
11989 $as_echo "$enable_debug" >&6; }
11992 # Check whether --enable-debug-log was given.
11993 if test "${enable_debug_log+set}" = set; then
11994 enableval
=$enable_debug_log;
11996 enable_debug_log
=yes
12000 if test "x$enable_debug_log" = xyes
; then
12002 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
12003 DEBUG_LOG
="_with_debug_log"
12005 cat >>confdefs.h
<<\_ACEOF
12006 #define DEBUG_LOG 1
12012 DEBUG_LOG
="_without_debug_log"
12018 { $as_echo "$as_me:$LINENO: checking whether basic debug logging is enabled" >&5
12019 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
12020 { $as_echo "$as_me:$LINENO: result: $enable_debug_log" >&5
12021 $as_echo "$enable_debug_log" >&6; }
12024 # Check whether --enable-debug-kmem was given.
12025 if test "${enable_debug_kmem+set}" = set; then
12026 enableval
=$enable_debug_kmem;
12028 enable_debug_kmem
=yes
12032 if test "x$enable_debug_kmem" = xyes
; then
12034 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
12035 DEBUG_KMEM
="_with_debug_kmem"
12037 cat >>confdefs.h
<<\_ACEOF
12038 #define DEBUG_KMEM 1
12044 DEBUG_KMEM
="_without_debug_kmem"
12050 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
12051 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
12052 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
12053 $as_echo "$enable_debug_kmem" >&6; }
12056 # Check whether --enable-debug-kmem-tracking was given.
12057 if test "${enable_debug_kmem_tracking+set}" = set; then
12058 enableval
=$enable_debug_kmem_tracking;
12060 enable_debug_kmem_tracking
=no
12064 if test "x$enable_debug_kmem_tracking" = xyes
; then
12066 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
12067 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
12069 cat >>confdefs.h
<<\_ACEOF
12070 #define DEBUG_KMEM_TRACKING 1
12076 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
12082 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
12083 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
12084 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
12085 $as_echo "$enable_debug_kmem_tracking" >&6; }
12088 # Check whether --enable-atomic-spinlocks was given.
12089 if test "${enable_atomic_spinlocks+set}" = set; then
12090 enableval
=$enable_atomic_spinlocks;
12092 enable_atomic_spinlocks
=check
12098 cat confdefs.h
- <<_ACEOF >conftest.c
12101 cat confdefs.h
>>conftest.
$ac_ext
12102 cat >>conftest.
$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12106 #include <asm/atomic.h>
12112 atomic64_t *ptr __attribute__ ((unused));
12121 rm -Rf build
&& mkdir
-p build
12122 echo "obj-m := conftest.o" >build
/Makefile
12123 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'
12124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5
12127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12135 have_atomic64_t
=yes
12137 cat >>confdefs.h
<<\_ACEOF
12138 #define HAVE_ATOMIC64_T 1
12143 $as_echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.
$ac_ext >&5
12156 if test "x$enable_atomic_spinlocks" = xcheck
; then
12158 if test "x$have_atomic64_t" = xyes
; then
12160 enable_atomic_spinlocks
=no
12164 enable_atomic_spinlocks
=yes
12172 if test "x$enable_atomic_spinlocks" = xyes
; then
12175 cat >>confdefs.h
<<\_ACEOF
12176 #define ATOMIC_SPINLOCK 1
12182 if test "x$have_atomic64_t" = xno
; then
12184 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12186 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
12187 See \`config.log' for more details." >&5
12188 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
12189 See \`config.log' for more details." >&2;}
12190 { (exit 1); exit 1; }; }; }
12198 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
12199 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12200 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
12201 $as_echo "$enable_atomic_spinlocks" >&6; }
12203 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
12204 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12205 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
12206 $as_echo "$have_atomic64_t" >&6; }
12208 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
12209 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
12212 cat confdefs.h
- <<_ACEOF >conftest.c
12215 cat confdefs.h
>>conftest.
$ac_ext
12216 cat >>conftest.
$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12220 #include <asm/atomic.h>
12221 #include <asm/system.h>
12227 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
12236 rm -Rf build
&& mkdir
-p build
12237 echo "obj-m := conftest.o" >build
/Makefile
12238 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'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; }; then
12250 { $as_echo "$as_me:$LINENO: result: yes" >&5
12251 $as_echo "yes" >&6; }
12253 cat >>confdefs.h
<<\_ACEOF
12254 #define HAVE_ATOMIC64_CMPXCHG 1
12259 $as_echo "$as_me: failed program was:" >&5
12260 sed 's/^/| /' conftest.
$ac_ext >&5
12262 { $as_echo "$as_me:$LINENO: result: no" >&5
12263 $as_echo "no" >&6; }
12273 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
12274 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
12277 cat confdefs.h
- <<_ACEOF >conftest.c
12280 cat confdefs.h
>>conftest.
$ac_ext
12281 cat >>conftest.
$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12285 #include <asm/atomic.h>
12291 atomic64_xchg((atomic64_t *)NULL, 0);
12300 rm -Rf build
&& mkdir
-p build
12301 echo "obj-m := conftest.o" >build
/Makefile
12302 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'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; }; then
12314 { $as_echo "$as_me:$LINENO: result: yes" >&5
12315 $as_echo "yes" >&6; }
12317 cat >>confdefs.h
<<\_ACEOF
12318 #define HAVE_ATOMIC64_XCHG 1
12323 $as_echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12326 { $as_echo "$as_me:$LINENO: result: no" >&5
12327 $as_echo "no" >&6; }
12337 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
12338 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
12341 cat confdefs.h
- <<_ACEOF >conftest.c
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12349 #include <linux/types.h>
12355 uintptr_t *ptr __attribute__ ((unused));
12364 rm -Rf build
&& mkdir
-p build
12365 echo "obj-m := conftest.o" >build
/Makefile
12366 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'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; }; then
12378 { $as_echo "$as_me:$LINENO: result: yes" >&5
12379 $as_echo "yes" >&6; }
12381 cat >>confdefs.h
<<\_ACEOF
12382 #define HAVE_UINTPTR_T 1
12387 $as_echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12390 { $as_echo "$as_me:$LINENO: result: no" >&5
12391 $as_echo "no" >&6; }
12401 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12402 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12405 cat confdefs.h
- <<_ACEOF >conftest.c
12408 cat confdefs.h
>>conftest.
$ac_ext
12409 cat >>conftest.
$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12413 #include <linux/workqueue.h>
12419 struct work_struct work __attribute__ ((unused));
12420 INIT_WORK(&work, NULL, NULL);
12429 rm -Rf build
&& mkdir
-p build
12430 echo "obj-m := conftest.o" >build
/Makefile
12431 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'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12443 { $as_echo "$as_me:$LINENO: result: yes" >&5
12444 $as_echo "yes" >&6; }
12446 cat >>confdefs.h
<<\_ACEOF
12447 #define HAVE_3ARGS_INIT_WORK 1
12452 $as_echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 { $as_echo "$as_me:$LINENO: result: no" >&5
12456 $as_echo "no" >&6; }
12466 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12467 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12470 cat confdefs.h
- <<_ACEOF >conftest.c
12473 cat confdefs.h
>>conftest.
$ac_ext
12474 cat >>conftest.
$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12478 #include <linux/sysctl.h>
12484 (void) register_sysctl_table(NULL, 0);
12493 rm -Rf build
&& mkdir
-p build
12494 echo "obj-m := conftest.o" >build
/Makefile
12495 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'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; }; then
12507 { $as_echo "$as_me:$LINENO: result: yes" >&5
12508 $as_echo "yes" >&6; }
12510 cat >>confdefs.h
<<\_ACEOF
12511 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12516 $as_echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12519 { $as_echo "$as_me:$LINENO: result: no" >&5
12520 $as_echo "no" >&6; }
12531 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12532 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12535 cat confdefs.h
- <<_ACEOF >conftest.c
12538 cat confdefs.h
>>conftest.
$ac_ext
12539 cat >>conftest.
$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12543 #include <linux/mm.h>
12549 return set_shrinker(DEFAULT_SEEKS, NULL);
12558 rm -Rf build
&& mkdir
-p build
12559 echo "obj-m := conftest.o" >build
/Makefile
12560 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'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; }; then
12572 { $as_echo "$as_me:$LINENO: result: yes" >&5
12573 $as_echo "yes" >&6; }
12575 cat >>confdefs.h
<<\_ACEOF
12576 #define HAVE_SET_SHRINKER 1
12581 $as_echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.
$ac_ext >&5
12584 { $as_echo "$as_me:$LINENO: result: no" >&5
12585 $as_echo "no" >&6; }
12595 { $as_echo "$as_me:$LINENO: checking whether shrinker callback wants 3 args" >&5
12596 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
12597 tmp_flags
="$EXTRA_KCFLAGS"
12598 EXTRA_KCFLAGS
="-Werror"
12601 cat confdefs.h
- <<_ACEOF >conftest.c
12604 cat confdefs.h
>>conftest.
$ac_ext
12605 cat >>conftest.
$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12609 #include <linux/mm.h>
12611 int shrinker_cb(struct shrinker *, int, unsigned int);
12617 struct shrinker cache_shrinker = {
12618 .shrink = shrinker_cb,
12619 .seeks = DEFAULT_SEEKS,
12621 register_shrinker(&cache_shrinker);
12630 rm -Rf build
&& mkdir
-p build
12631 echo "obj-m := conftest.o" >build
/Makefile
12632 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'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12644 { $as_echo "$as_me:$LINENO: result: yes" >&5
12645 $as_echo "yes" >&6; }
12647 cat >>confdefs.h
<<\_ACEOF
12648 #define HAVE_3ARGS_SHRINKER_CALLBACK 1
12653 $as_echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12656 { $as_echo "$as_me:$LINENO: result: no" >&5
12657 $as_echo "no" >&6; }
12666 EXTRA_KCFLAGS
="$tmp_flags"
12668 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12669 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12672 cat confdefs.h
- <<_ACEOF >conftest.c
12675 cat confdefs.h
>>conftest.
$ac_ext
12676 cat >>conftest.
$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12680 #include <linux/namei.h>
12686 struct nameidata nd __attribute__ ((unused));
12688 nd.path.mnt = NULL;
12689 nd.path.dentry = NULL;
12698 rm -Rf build
&& mkdir
-p build
12699 echo "obj-m := conftest.o" >build
/Makefile
12700 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'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12712 { $as_echo "$as_me:$LINENO: result: yes" >&5
12713 $as_echo "yes" >&6; }
12715 cat >>confdefs.h
<<\_ACEOF
12716 #define HAVE_PATH_IN_NAMEIDATA 1
12721 $as_echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.
$ac_ext >&5
12724 { $as_echo "$as_me:$LINENO: result: no" >&5
12725 $as_echo "no" >&6; }
12736 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12737 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12738 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12739 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12741 if test $rc -ne 0; then
12743 for file in kernel
/sched.c
; do
12744 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12745 "$LINUX_OBJ/$file" 2>/dev
/null
12747 if test $rc -eq 0; then
12752 if test $export -eq 0; then
12753 { $as_echo "$as_me:$LINENO: result: no" >&5
12754 $as_echo "no" >&6; }
12757 { $as_echo "$as_me:$LINENO: result: yes" >&5
12758 $as_echo "yes" >&6; }
12760 cat >>confdefs.h
<<\_ACEOF
12761 #define HAVE_TASK_CURR 1
12766 { $as_echo "$as_me:$LINENO: result: yes" >&5
12767 $as_echo "yes" >&6; }
12769 cat >>confdefs.h
<<\_ACEOF
12770 #define HAVE_TASK_CURR 1
12776 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12777 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12780 cat confdefs.h
- <<_ACEOF >conftest.c
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12788 #include <linux/sysctl.h>
12794 #ifndef CTL_UNNUMBERED
12795 #error CTL_UNNUMBERED undefined
12805 rm -Rf build
&& mkdir
-p build
12806 echo "obj-m := conftest.o" >build
/Makefile
12807 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'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12819 { $as_echo "$as_me:$LINENO: result: yes" >&5
12820 $as_echo "yes" >&6; }
12822 cat >>confdefs.h
<<\_ACEOF
12823 #define HAVE_CTL_UNNUMBERED 1
12828 $as_echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12831 { $as_echo "$as_me:$LINENO: result: no" >&5
12832 $as_echo "no" >&6; }
12843 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12844 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12847 cat confdefs.h
- <<_ACEOF >conftest.c
12850 cat confdefs.h
>>conftest.
$ac_ext
12851 cat >>conftest.
$ac_ext <<_ACEOF
12852 /* end confdefs.h. */
12855 #include <linux/sysctl.h>
12861 struct ctl_table ctl __attribute__ ((unused));
12871 rm -Rf build
&& mkdir
-p build
12872 echo "obj-m := conftest.o" >build
/Makefile
12873 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'
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 (eval $ac_try) 2>&5
12877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; }; then
12885 { $as_echo "$as_me:$LINENO: result: yes" >&5
12886 $as_echo "yes" >&6; }
12888 cat >>confdefs.h
<<\_ACEOF
12889 #define HAVE_CTL_NAME 1
12894 $as_echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.
$ac_ext >&5
12897 { $as_echo "$as_me:$LINENO: result: no" >&5
12898 $as_echo "no" >&6; }
12908 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
12909 $as_echo_n "checking whether fls64() is available... " >&6; }
12912 cat confdefs.h
- <<_ACEOF >conftest.c
12915 cat confdefs.h
>>conftest.
$ac_ext
12916 cat >>conftest.
$ac_ext <<_ACEOF
12917 /* end confdefs.h. */
12920 #include <linux/bitops.h>
12935 rm -Rf build
&& mkdir
-p build
12936 echo "obj-m := conftest.o" >build
/Makefile
12937 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'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; }; then
12949 { $as_echo "$as_me:$LINENO: result: yes" >&5
12950 $as_echo "yes" >&6; }
12952 cat >>confdefs.h
<<\_ACEOF
12953 #define HAVE_FLS64 1
12958 $as_echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 { $as_echo "$as_me:$LINENO: result: no" >&5
12962 $as_echo "no" >&6; }
12973 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
12974 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
12975 grep -q -E '[[:space:]]device_create[[:space:]]' \
12976 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12978 if test $rc -ne 0; then
12980 for file in drivers
/base
/core.c
; do
12981 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12982 "$LINUX_OBJ/$file" 2>/dev
/null
12984 if test $rc -eq 0; then
12989 if test $export -eq 0; then
12990 { $as_echo "$as_me:$LINENO: result: no" >&5
12991 $as_echo "no" >&6; }
12994 { $as_echo "$as_me:$LINENO: result: yes" >&5
12995 $as_echo "yes" >&6; }
12997 cat >>confdefs.h
<<\_ACEOF
12998 #define HAVE_DEVICE_CREATE 1
13003 { $as_echo "$as_me:$LINENO: result: yes" >&5
13004 $as_echo "yes" >&6; }
13006 cat >>confdefs.h
<<\_ACEOF
13007 #define HAVE_DEVICE_CREATE 1
13014 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
13015 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
13016 tmp_flags
="$EXTRA_KCFLAGS"
13017 EXTRA_KCFLAGS
="-Werror"
13020 cat confdefs.h
- <<_ACEOF >conftest.c
13023 cat confdefs.h
>>conftest.
$ac_ext
13024 cat >>conftest.
$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13028 #include <linux/device.h>
13034 device_create(NULL, NULL, 0, NULL, "%d", 1);
13043 rm -Rf build
&& mkdir
-p build
13044 echo "obj-m := conftest.o" >build
/Makefile
13045 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'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052 (eval $ac_try) 2>&5
13054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; }; then
13057 { $as_echo "$as_me:$LINENO: result: yes" >&5
13058 $as_echo "yes" >&6; }
13060 cat >>confdefs.h
<<\_ACEOF
13061 #define HAVE_5ARGS_DEVICE_CREATE 1
13066 $as_echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.
$ac_ext >&5
13069 { $as_echo "$as_me:$LINENO: result: no" >&5
13070 $as_echo "no" >&6; }
13079 EXTRA_KCFLAGS
="$tmp_flags"
13082 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
13083 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
13084 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
13085 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13087 if test $rc -ne 0; then
13089 for file in drivers
/base
/class.c
; do
13090 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
13091 "$LINUX_OBJ/$file" 2>/dev
/null
13093 if test $rc -eq 0; then
13098 if test $export -eq 0; then
13099 { $as_echo "$as_me:$LINENO: result: no" >&5
13100 $as_echo "no" >&6; }
13103 { $as_echo "$as_me:$LINENO: result: yes" >&5
13104 $as_echo "yes" >&6; }
13106 cat >>confdefs.h
<<\_ACEOF
13107 #define HAVE_CLASS_DEVICE_CREATE 1
13112 { $as_echo "$as_me:$LINENO: result: yes" >&5
13113 $as_echo "yes" >&6; }
13115 cat >>confdefs.h
<<\_ACEOF
13116 #define HAVE_CLASS_DEVICE_CREATE 1
13123 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
13124 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
13125 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
13126 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13128 if test $rc -ne 0; then
13130 for file in kernel
/time.c
; do
13131 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
13132 "$LINUX_OBJ/$file" 2>/dev
/null
13134 if test $rc -eq 0; then
13139 if test $export -eq 0; then
13140 { $as_echo "$as_me:$LINENO: result: no" >&5
13141 $as_echo "no" >&6; }
13144 { $as_echo "$as_me:$LINENO: result: yes" >&5
13145 $as_echo "yes" >&6; }
13147 cat >>confdefs.h
<<\_ACEOF
13148 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
13153 { $as_echo "$as_me:$LINENO: result: yes" >&5
13154 $as_echo "yes" >&6; }
13156 cat >>confdefs.h
<<\_ACEOF
13157 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
13164 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
13165 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
13168 cat confdefs.h
- <<_ACEOF >conftest.c
13171 cat confdefs.h
>>conftest.
$ac_ext
13172 cat >>conftest.
$ac_ext <<_ACEOF
13173 /* end confdefs.h. */
13176 #include <linux/time.h>
13177 void set_normalized_timespec(struct timespec *ts,
13178 time_t sec, long nsec) { }
13191 rm -Rf build
&& mkdir
-p build
13192 echo "obj-m := conftest.o" >build
/Makefile
13193 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'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13205 { $as_echo "$as_me:$LINENO: result: no" >&5
13206 $as_echo "no" >&6; }
13209 $as_echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.
$ac_ext >&5
13212 { $as_echo "$as_me:$LINENO: result: yes" >&5
13213 $as_echo "yes" >&6; }
13215 cat >>confdefs.h
<<\_ACEOF
13216 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
13229 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
13230 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
13233 cat confdefs.h
- <<_ACEOF >conftest.c
13236 cat confdefs.h
>>conftest.
$ac_ext
13237 cat >>conftest.
$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13241 #include <linux/time.h>
13247 struct timespec a = { 0 };
13248 struct timespec b = { 0 };
13249 struct timespec c __attribute__ ((unused));
13250 c = timespec_sub(a, b);
13259 rm -Rf build
&& mkdir
-p build
13260 echo "obj-m := conftest.o" >build
/Makefile
13261 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'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; }; then
13273 { $as_echo "$as_me:$LINENO: result: yes" >&5
13274 $as_echo "yes" >&6; }
13276 cat >>confdefs.h
<<\_ACEOF
13277 #define HAVE_TIMESPEC_SUB 1
13282 $as_echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.
$ac_ext >&5
13285 { $as_echo "$as_me:$LINENO: result: no" >&5
13286 $as_echo "no" >&6; }
13297 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
13298 $as_echo_n "checking whether init_utsname() is available... " >&6; }
13301 cat confdefs.h
- <<_ACEOF >conftest.c
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13309 #include <linux/utsname.h>
13315 struct new_utsname *a __attribute__ ((unused));
13316 a = init_utsname();
13325 rm -Rf build
&& mkdir
-p build
13326 echo "obj-m := conftest.o" >build
/Makefile
13327 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'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13339 { $as_echo "$as_me:$LINENO: result: yes" >&5
13340 $as_echo "yes" >&6; }
13342 cat >>confdefs.h
<<\_ACEOF
13343 #define HAVE_INIT_UTSNAME 1
13348 $as_echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.
$ac_ext >&5
13351 { $as_echo "$as_me:$LINENO: result: no" >&5
13352 $as_echo "no" >&6; }
13363 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
13364 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
13367 cat confdefs.h
- <<_ACEOF >conftest.c
13370 cat confdefs.h
>>conftest.
$ac_ext
13371 cat >>conftest.
$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13375 #include <linux/fdtable.h>
13390 rm -Rf build
&& mkdir
-p build
13391 echo "obj-m := conftest.o" >build
/Makefile
13392 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'
13393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13394 (eval $ac_try) 2>&5
13396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13405 cat >>confdefs.h
<<\_ACEOF
13406 #define HAVE_FDTABLE_HEADER 1
13409 { $as_echo "$as_me:$LINENO: result: yes" >&5
13410 $as_echo "yes" >&6; }
13414 $as_echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 { $as_echo "$as_me:$LINENO: result: no" >&5
13418 $as_echo "no" >&6; }
13431 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
13432 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
13435 cat confdefs.h
- <<_ACEOF >conftest.c
13438 cat confdefs.h
>>conftest.
$ac_ext
13439 cat >>conftest.
$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13443 #include <linux/sched.h>
13444 #include <linux/file.h>
13445 #ifdef HAVE_FDTABLE_HEADER
13446 #include <linux/fdtable.h>
13453 struct files_struct *files = current->files;
13454 struct fdtable *fdt __attribute__ ((unused));
13455 fdt = files_fdtable(files);
13464 rm -Rf build
&& mkdir
-p build
13465 echo "obj-m := conftest.o" >build
/Makefile
13466 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'
13467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13468 (eval $ac_try) 2>&5
13470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13478 { $as_echo "$as_me:$LINENO: result: yes" >&5
13479 $as_echo "yes" >&6; }
13481 cat >>confdefs.h
<<\_ACEOF
13482 #define HAVE_FILES_FDTABLE 1
13487 $as_echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.
$ac_ext >&5
13490 { $as_echo "$as_me:$LINENO: result: no" >&5
13491 $as_echo "no" >&6; }
13502 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13503 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13506 cat confdefs.h
- <<_ACEOF >conftest.c
13509 cat confdefs.h
>>conftest.
$ac_ext
13510 cat >>conftest.
$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13514 #include <linux/uaccess.h>
13529 rm -Rf build
&& mkdir
-p build
13530 echo "obj-m := conftest.o" >build
/Makefile
13531 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'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; }; then
13544 cat >>confdefs.h
<<\_ACEOF
13545 #define HAVE_UACCESS_HEADER 1
13548 { $as_echo "$as_me:$LINENO: result: yes" >&5
13549 $as_echo "yes" >&6; }
13553 $as_echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.
$ac_ext >&5
13556 { $as_echo "$as_me:$LINENO: result: no" >&5
13557 $as_echo "no" >&6; }
13570 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13571 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13574 cat confdefs.h
- <<_ACEOF >conftest.c
13577 cat confdefs.h
>>conftest.
$ac_ext
13578 cat >>conftest.
$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13582 #include <linux/slab.h>
13588 void *a __attribute__ ((unused));
13589 a = kmalloc_node(1, GFP_KERNEL, 0);
13598 rm -Rf build
&& mkdir
-p build
13599 echo "obj-m := conftest.o" >build
/Makefile
13600 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'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13612 { $as_echo "$as_me:$LINENO: result: yes" >&5
13613 $as_echo "yes" >&6; }
13615 cat >>confdefs.h
<<\_ACEOF
13616 #define HAVE_KMALLOC_NODE 1
13621 $as_echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.
$ac_ext >&5
13624 { $as_echo "$as_me:$LINENO: result: no" >&5
13625 $as_echo "no" >&6; }
13636 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13637 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13638 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13639 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13641 if test $rc -ne 0; then
13644 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13645 "$LINUX_OBJ/$file" 2>/dev
/null
13647 if test $rc -eq 0; then
13652 if test $export -eq 0; then
13653 { $as_echo "$as_me:$LINENO: result: no" >&5
13654 $as_echo "no" >&6; }
13657 { $as_echo "$as_me:$LINENO: result: yes" >&5
13658 $as_echo "yes" >&6; }
13660 cat >>confdefs.h
<<\_ACEOF
13661 #define HAVE_MONOTONIC_CLOCK 1
13666 { $as_echo "$as_me:$LINENO: result: yes" >&5
13667 $as_echo "yes" >&6; }
13669 cat >>confdefs.h
<<\_ACEOF
13670 #define HAVE_MONOTONIC_CLOCK 1
13677 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13678 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13681 cat confdefs.h
- <<_ACEOF >conftest.c
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13689 #include <linux/fs.h>
13690 #include <linux/mutex.h>
13697 mutex_init(&i.i_mutex);
13706 rm -Rf build
&& mkdir
-p build
13707 echo "obj-m := conftest.o" >build
/Makefile
13708 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'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13720 { $as_echo "$as_me:$LINENO: result: yes" >&5
13721 $as_echo "yes" >&6; }
13723 cat >>confdefs.h
<<\_ACEOF
13724 #define HAVE_INODE_I_MUTEX 1
13729 $as_echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.
$ac_ext >&5
13732 { $as_echo "$as_me:$LINENO: result: no" >&5
13733 $as_echo "no" >&6; }
13744 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13745 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13748 cat confdefs.h
- <<_ACEOF >conftest.c
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13756 #include <linux/mutex.h>
13762 struct mutex mtx __attribute__ ((unused));
13772 rm -Rf build
&& mkdir
-p build
13773 echo "obj-m := conftest.o" >build
/Makefile
13774 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'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13786 { $as_echo "$as_me:$LINENO: result: yes" >&5
13787 $as_echo "yes" >&6; }
13789 cat >>confdefs.h
<<\_ACEOF
13790 #define HAVE_MUTEX_OWNER 1
13795 $as_echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.
$ac_ext >&5
13798 { $as_echo "$as_me:$LINENO: result: no" >&5
13799 $as_echo "no" >&6; }
13810 { $as_echo "$as_me:$LINENO: checking whether struct mutex owner is a task_struct" >&5
13811 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
13812 tmp_flags
="$EXTRA_KCFLAGS"
13813 EXTRA_KCFLAGS
="-Werror"
13816 cat confdefs.h
- <<_ACEOF >conftest.c
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13824 #include <linux/mutex.h>
13830 struct mutex mtx __attribute__ ((unused));
13831 mtx.owner = current;
13840 rm -Rf build
&& mkdir
-p build
13841 echo "obj-m := conftest.o" >build
/Makefile
13842 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'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; }; then
13854 { $as_echo "$as_me:$LINENO: result: yes" >&5
13855 $as_echo "yes" >&6; }
13857 cat >>confdefs.h
<<\_ACEOF
13858 #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
13863 $as_echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 { $as_echo "$as_me:$LINENO: result: no" >&5
13867 $as_echo "no" >&6; }
13876 EXTRA_KCFLAGS
="$tmp_flags"
13879 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
13880 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13883 cat confdefs.h
- <<_ACEOF >conftest.c
13886 cat confdefs.h
>>conftest.
$ac_ext
13887 cat >>conftest.
$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13891 #include <linux/mutex.h>
13897 struct mutex mutex;
13898 mutex_init(&mutex);
13899 mutex_lock_nested(&mutex, 0);
13908 rm -Rf build
&& mkdir
-p build
13909 echo "obj-m := conftest.o" >build
/Makefile
13910 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'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13922 { $as_echo "$as_me:$LINENO: result: yes" >&5
13923 $as_echo "yes" >&6; }
13925 cat >>confdefs.h
<<\_ACEOF
13926 #define HAVE_MUTEX_LOCK_NESTED 1
13931 $as_echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.
$ac_ext >&5
13934 { $as_echo "$as_me:$LINENO: result: no" >&5
13935 $as_echo "no" >&6; }
13946 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
13947 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13950 cat confdefs.h
- <<_ACEOF >conftest.c
13953 cat confdefs.h
>>conftest.
$ac_ext
13954 cat >>conftest.
$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13958 #include <linux/smp.h>
13964 on_each_cpu(NULL, NULL, 0);
13973 rm -Rf build
&& mkdir
-p build
13974 echo "obj-m := conftest.o" >build
/Makefile
13975 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'
13976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 (eval $ac_try) 2>&5
13979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13987 { $as_echo "$as_me:$LINENO: result: yes" >&5
13988 $as_echo "yes" >&6; }
13990 cat >>confdefs.h
<<\_ACEOF
13991 #define HAVE_3ARGS_ON_EACH_CPU 1
13996 $as_echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.
$ac_ext >&5
13999 { $as_echo "$as_me:$LINENO: result: no" >&5
14000 $as_echo "no" >&6; }
14011 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
14012 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
14013 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
14014 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14016 if test $rc -ne 0; then
14019 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
14020 "$LINUX_OBJ/$file" 2>/dev
/null
14022 if test $rc -eq 0; then
14027 if test $export -eq 0; then
14028 { $as_echo "$as_me:$LINENO: result: no" >&5
14029 $as_echo "no" >&6; }
14032 { $as_echo "$as_me:$LINENO: result: yes" >&5
14033 $as_echo "yes" >&6; }
14035 cat >>confdefs.h
<<\_ACEOF
14036 #define HAVE_KALLSYMS_LOOKUP_NAME 1
14041 { $as_echo "$as_me:$LINENO: result: yes" >&5
14042 $as_echo "yes" >&6; }
14044 cat >>confdefs.h
<<\_ACEOF
14045 #define HAVE_KALLSYMS_LOOKUP_NAME 1
14052 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
14053 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
14054 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
14055 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14057 if test $rc -ne 0; then
14060 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
14061 "$LINUX_OBJ/$file" 2>/dev
/null
14063 if test $rc -eq 0; then
14068 if test $export -eq 0; then
14069 { $as_echo "$as_me:$LINENO: result: no" >&5
14070 $as_echo "no" >&6; }
14073 { $as_echo "$as_me:$LINENO: result: yes" >&5
14074 $as_echo "yes" >&6; }
14076 cat >>confdefs.h
<<\_ACEOF
14077 #define HAVE_GET_VMALLOC_INFO 1
14082 { $as_echo "$as_me:$LINENO: result: yes" >&5
14083 $as_echo "yes" >&6; }
14085 cat >>confdefs.h
<<\_ACEOF
14086 #define HAVE_GET_VMALLOC_INFO 1
14093 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
14094 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
14095 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
14097 if test $rc -eq 0; then
14098 { $as_echo "$as_me:$LINENO: result: yes" >&5
14099 $as_echo "yes" >&6; }
14101 cat >>confdefs.h
<<\_ACEOF
14102 #define HAVE_PGDAT_HELPERS 1
14106 { $as_echo "$as_me:$LINENO: result: no" >&5
14107 $as_echo "no" >&6; }
14111 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
14112 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
14113 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
14114 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14116 if test $rc -ne 0; then
14119 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
14120 "$LINUX_OBJ/$file" 2>/dev
/null
14122 if test $rc -eq 0; then
14127 if test $export -eq 0; then
14128 { $as_echo "$as_me:$LINENO: result: no" >&5
14129 $as_echo "no" >&6; }
14132 { $as_echo "$as_me:$LINENO: result: yes" >&5
14133 $as_echo "yes" >&6; }
14135 cat >>confdefs.h
<<\_ACEOF
14136 #define HAVE_FIRST_ONLINE_PGDAT 1
14141 { $as_echo "$as_me:$LINENO: result: yes" >&5
14142 $as_echo "yes" >&6; }
14144 cat >>confdefs.h
<<\_ACEOF
14145 #define HAVE_FIRST_ONLINE_PGDAT 1
14152 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
14153 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
14154 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
14155 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14157 if test $rc -ne 0; then
14160 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
14161 "$LINUX_OBJ/$file" 2>/dev
/null
14163 if test $rc -eq 0; then
14168 if test $export -eq 0; then
14169 { $as_echo "$as_me:$LINENO: result: no" >&5
14170 $as_echo "no" >&6; }
14173 { $as_echo "$as_me:$LINENO: result: yes" >&5
14174 $as_echo "yes" >&6; }
14176 cat >>confdefs.h
<<\_ACEOF
14177 #define HAVE_NEXT_ONLINE_PGDAT 1
14182 { $as_echo "$as_me:$LINENO: result: yes" >&5
14183 $as_echo "yes" >&6; }
14185 cat >>confdefs.h
<<\_ACEOF
14186 #define HAVE_NEXT_ONLINE_PGDAT 1
14193 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
14194 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
14195 grep -q -E '[[:space:]]next_zone[[:space:]]' \
14196 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14198 if test $rc -ne 0; then
14201 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
14202 "$LINUX_OBJ/$file" 2>/dev
/null
14204 if test $rc -eq 0; then
14209 if test $export -eq 0; then
14210 { $as_echo "$as_me:$LINENO: result: no" >&5
14211 $as_echo "no" >&6; }
14214 { $as_echo "$as_me:$LINENO: result: yes" >&5
14215 $as_echo "yes" >&6; }
14217 cat >>confdefs.h
<<\_ACEOF
14218 #define HAVE_NEXT_ZONE 1
14223 { $as_echo "$as_me:$LINENO: result: yes" >&5
14224 $as_echo "yes" >&6; }
14226 cat >>confdefs.h
<<\_ACEOF
14227 #define HAVE_NEXT_ZONE 1
14234 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
14235 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
14236 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
14237 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14239 if test $rc -ne 0; then
14242 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
14243 "$LINUX_OBJ/$file" 2>/dev
/null
14245 if test $rc -eq 0; then
14250 if test $export -eq 0; then
14251 { $as_echo "$as_me:$LINENO: result: no" >&5
14252 $as_echo "no" >&6; }
14255 { $as_echo "$as_me:$LINENO: result: yes" >&5
14256 $as_echo "yes" >&6; }
14258 cat >>confdefs.h
<<\_ACEOF
14259 #define HAVE_PGDAT_LIST 1
14264 { $as_echo "$as_me:$LINENO: result: yes" >&5
14265 $as_echo "yes" >&6; }
14267 cat >>confdefs.h
<<\_ACEOF
14268 #define HAVE_PGDAT_LIST 1
14275 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
14276 $as_echo_n "checking whether global_page_state() is available... " >&6; }
14279 cat confdefs.h
- <<_ACEOF >conftest.c
14282 cat confdefs.h
>>conftest.
$ac_ext
14283 cat >>conftest.
$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14287 #include <linux/mm.h>
14293 unsigned long state __attribute__ ((unused));
14294 state = global_page_state(0);
14303 rm -Rf build
&& mkdir
-p build
14304 echo "obj-m := conftest.o" >build
/Makefile
14305 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'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14317 { $as_echo "$as_me:$LINENO: result: yes" >&5
14318 $as_echo "yes" >&6; }
14320 cat >>confdefs.h
<<\_ACEOF
14321 #define HAVE_GLOBAL_PAGE_STATE 1
14326 $as_echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.
$ac_ext >&5
14329 { $as_echo "$as_me:$LINENO: result: no" >&5
14330 $as_echo "no" >&6; }
14341 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
14342 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
14345 cat confdefs.h
- <<_ACEOF >conftest.c
14348 cat confdefs.h
>>conftest.
$ac_ext
14349 cat >>conftest.
$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14353 #include <linux/mm.h>
14359 enum zone_stat_item zsi __attribute__ ((unused));
14360 zsi = NR_FREE_PAGES;
14369 rm -Rf build
&& mkdir
-p build
14370 echo "obj-m := conftest.o" >build
/Makefile
14371 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'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14383 { $as_echo "$as_me:$LINENO: result: yes" >&5
14384 $as_echo "yes" >&6; }
14386 cat >>confdefs.h
<<\_ACEOF
14387 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
14392 $as_echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.
$ac_ext >&5
14395 { $as_echo "$as_me:$LINENO: result: no" >&5
14396 $as_echo "no" >&6; }
14407 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
14408 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
14411 cat confdefs.h
- <<_ACEOF >conftest.c
14414 cat confdefs.h
>>conftest.
$ac_ext
14415 cat >>conftest.
$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14419 #include <linux/mm.h>
14425 enum zone_stat_item zsi __attribute__ ((unused));
14435 rm -Rf build
&& mkdir
-p build
14436 echo "obj-m := conftest.o" >build
/Makefile
14437 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'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14449 { $as_echo "$as_me:$LINENO: result: yes" >&5
14450 $as_echo "yes" >&6; }
14452 cat >>confdefs.h
<<\_ACEOF
14453 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
14458 $as_echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 { $as_echo "$as_me:$LINENO: result: no" >&5
14462 $as_echo "no" >&6; }
14472 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14473 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14476 cat confdefs.h
- <<_ACEOF >conftest.c
14479 cat confdefs.h
>>conftest.
$ac_ext
14480 cat >>conftest.
$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14484 #include <linux/mm.h>
14490 enum zone_stat_item zsi __attribute__ ((unused));
14491 zsi = NR_INACTIVE_ANON;
14500 rm -Rf build
&& mkdir
-p build
14501 echo "obj-m := conftest.o" >build
/Makefile
14502 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'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14514 { $as_echo "$as_me:$LINENO: result: yes" >&5
14515 $as_echo "yes" >&6; }
14517 cat >>confdefs.h
<<\_ACEOF
14518 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14523 $as_echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 { $as_echo "$as_me:$LINENO: result: no" >&5
14527 $as_echo "no" >&6; }
14537 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14538 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14541 cat confdefs.h
- <<_ACEOF >conftest.c
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14549 #include <linux/mm.h>
14555 enum zone_stat_item zsi __attribute__ ((unused));
14556 zsi = NR_INACTIVE_FILE;
14565 rm -Rf build
&& mkdir
-p build
14566 echo "obj-m := conftest.o" >build
/Makefile
14567 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'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14579 { $as_echo "$as_me:$LINENO: result: yes" >&5
14580 $as_echo "yes" >&6; }
14582 cat >>confdefs.h
<<\_ACEOF
14583 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14588 $as_echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.
$ac_ext >&5
14591 { $as_echo "$as_me:$LINENO: result: no" >&5
14592 $as_echo "no" >&6; }
14603 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14604 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14607 cat confdefs.h
- <<_ACEOF >conftest.c
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14615 #include <linux/mm.h>
14621 enum zone_stat_item zsi __attribute__ ((unused));
14631 rm -Rf build
&& mkdir
-p build
14632 echo "obj-m := conftest.o" >build
/Makefile
14633 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'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14645 { $as_echo "$as_me:$LINENO: result: yes" >&5
14646 $as_echo "yes" >&6; }
14648 cat >>confdefs.h
<<\_ACEOF
14649 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14654 $as_echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.
$ac_ext >&5
14657 { $as_echo "$as_me:$LINENO: result: no" >&5
14658 $as_echo "no" >&6; }
14668 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14669 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14672 cat confdefs.h
- <<_ACEOF >conftest.c
14675 cat confdefs.h
>>conftest.
$ac_ext
14676 cat >>conftest.
$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14680 #include <linux/mm.h>
14686 enum zone_stat_item zsi __attribute__ ((unused));
14687 zsi = NR_ACTIVE_ANON;
14696 rm -Rf build
&& mkdir
-p build
14697 echo "obj-m := conftest.o" >build
/Makefile
14698 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'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14710 { $as_echo "$as_me:$LINENO: result: yes" >&5
14711 $as_echo "yes" >&6; }
14713 cat >>confdefs.h
<<\_ACEOF
14714 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14719 $as_echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.
$ac_ext >&5
14722 { $as_echo "$as_me:$LINENO: result: no" >&5
14723 $as_echo "no" >&6; }
14733 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14734 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14737 cat confdefs.h
- <<_ACEOF >conftest.c
14740 cat confdefs.h
>>conftest.
$ac_ext
14741 cat >>conftest.
$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14745 #include <linux/mm.h>
14751 enum zone_stat_item zsi __attribute__ ((unused));
14752 zsi = NR_ACTIVE_FILE;
14761 rm -Rf build
&& mkdir
-p build
14762 echo "obj-m := conftest.o" >build
/Makefile
14763 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'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14775 { $as_echo "$as_me:$LINENO: result: yes" >&5
14776 $as_echo "yes" >&6; }
14778 cat >>confdefs.h
<<\_ACEOF
14779 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14784 $as_echo "$as_me: failed program was:" >&5
14785 sed 's/^/| /' conftest.
$ac_ext >&5
14787 { $as_echo "$as_me:$LINENO: result: no" >&5
14788 $as_echo "no" >&6; }
14799 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14800 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14803 cat confdefs.h
- <<_ACEOF >conftest.c
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14816 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14817 #error "global_page_state needs NR_FREE_PAGES"
14820 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14821 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14822 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14823 #error "global_page_state needs NR_ACTIVE*"
14826 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14827 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14828 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14829 #error "global_page_state needs NR_INACTIVE*"
14839 rm -Rf build
&& mkdir
-p build
14840 echo "obj-m := conftest.o" >build
/Makefile
14841 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'
14842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14843 (eval $ac_try) 2>&5
14845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14853 { $as_echo "$as_me:$LINENO: result: no" >&5
14854 $as_echo "no" >&6; }
14857 $as_echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.
$ac_ext >&5
14860 { $as_echo "$as_me:$LINENO: result: yes" >&5
14861 $as_echo "yes" >&6; }
14863 cat >>confdefs.h
<<\_ACEOF
14864 #define NEED_GET_ZONE_COUNTS 1
14868 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
14869 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
14870 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14871 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14873 if test $rc -ne 0; then
14876 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14877 "$LINUX_OBJ/$file" 2>/dev
/null
14879 if test $rc -eq 0; then
14884 if test $export -eq 0; then
14885 { $as_echo "$as_me:$LINENO: result: no" >&5
14886 $as_echo "no" >&6; }
14889 { $as_echo "$as_me:$LINENO: result: yes" >&5
14890 $as_echo "yes" >&6; }
14892 cat >>confdefs.h
<<\_ACEOF
14893 #define HAVE_GET_ZONE_COUNTS 1
14898 { $as_echo "$as_me:$LINENO: result: yes" >&5
14899 $as_echo "yes" >&6; }
14901 cat >>confdefs.h
<<\_ACEOF
14902 #define HAVE_GET_ZONE_COUNTS 1
14917 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
14918 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
14919 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
14920 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14922 if test $rc -ne 0; then
14925 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
14926 "$LINUX_OBJ/$file" 2>/dev
/null
14928 if test $rc -eq 0; then
14933 if test $export -eq 0; then
14934 { $as_echo "$as_me:$LINENO: result: no" >&5
14935 $as_echo "no" >&6; }
14938 { $as_echo "$as_me:$LINENO: result: yes" >&5
14939 $as_echo "yes" >&6; }
14941 cat >>confdefs.h
<<\_ACEOF
14942 #define HAVE_USER_PATH_DIR 1
14947 { $as_echo "$as_me:$LINENO: result: yes" >&5
14948 $as_echo "yes" >&6; }
14950 cat >>confdefs.h
<<\_ACEOF
14951 #define HAVE_USER_PATH_DIR 1
14958 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
14959 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
14960 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14961 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14963 if test $rc -ne 0; then
14966 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14967 "$LINUX_OBJ/$file" 2>/dev
/null
14969 if test $rc -eq 0; then
14974 if test $export -eq 0; then
14975 { $as_echo "$as_me:$LINENO: result: no" >&5
14976 $as_echo "no" >&6; }
14979 { $as_echo "$as_me:$LINENO: result: yes" >&5
14980 $as_echo "yes" >&6; }
14982 cat >>confdefs.h
<<\_ACEOF
14983 #define HAVE_SET_FS_PWD 1
14988 { $as_echo "$as_me:$LINENO: result: yes" >&5
14989 $as_echo "yes" >&6; }
14991 cat >>confdefs.h
<<\_ACEOF
14992 #define HAVE_SET_FS_PWD 1
14998 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
14999 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
15002 cat confdefs.h
- <<_ACEOF >conftest.c
15005 cat confdefs.h
>>conftest.
$ac_ext
15006 cat >>conftest.
$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15010 #include <linux/sched.h>
15011 #include <linux/fs_struct.h>
15017 set_fs_pwd(NULL, NULL);
15026 rm -Rf build
&& mkdir
-p build
15027 echo "obj-m := conftest.o" >build
/Makefile
15028 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'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15040 { $as_echo "$as_me:$LINENO: result: yes" >&5
15041 $as_echo "yes" >&6; }
15043 cat >>confdefs.h
<<\_ACEOF
15044 #define HAVE_2ARGS_SET_FS_PWD 1
15049 $as_echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.
$ac_ext >&5
15052 { $as_echo "$as_me:$LINENO: result: no" >&5
15053 $as_echo "no" >&6; }
15063 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
15064 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
15067 cat confdefs.h
- <<_ACEOF >conftest.c
15070 cat confdefs.h
>>conftest.
$ac_ext
15071 cat >>conftest.
$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15075 #include <linux/fs.h>
15081 vfs_unlink(NULL, NULL);
15090 rm -Rf build
&& mkdir
-p build
15091 echo "obj-m := conftest.o" >build
/Makefile
15092 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'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; }; then
15104 { $as_echo "$as_me:$LINENO: result: yes" >&5
15105 $as_echo "yes" >&6; }
15107 cat >>confdefs.h
<<\_ACEOF
15108 #define HAVE_2ARGS_VFS_UNLINK 1
15113 $as_echo "$as_me: failed program was:" >&5
15114 sed 's/^/| /' conftest.
$ac_ext >&5
15116 { $as_echo "$as_me:$LINENO: result: no" >&5
15117 $as_echo "no" >&6; }
15127 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
15128 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
15131 cat confdefs.h
- <<_ACEOF >conftest.c
15134 cat confdefs.h
>>conftest.
$ac_ext
15135 cat >>conftest.
$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15139 #include <linux/fs.h>
15145 vfs_rename(NULL, NULL, NULL, NULL);
15154 rm -Rf build
&& mkdir
-p build
15155 echo "obj-m := conftest.o" >build
/Makefile
15156 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'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; }; then
15168 { $as_echo "$as_me:$LINENO: result: yes" >&5
15169 $as_echo "yes" >&6; }
15171 cat >>confdefs.h
<<\_ACEOF
15172 #define HAVE_4ARGS_VFS_RENAME 1
15177 $as_echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.
$ac_ext >&5
15180 { $as_echo "$as_me:$LINENO: result: no" >&5
15181 $as_echo "no" >&6; }
15192 { $as_echo "$as_me:$LINENO: checking whether symbol vfs_fsync is exported" >&5
15193 $as_echo_n "checking whether symbol vfs_fsync is exported... " >&6; }
15194 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
15195 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15197 if test $rc -ne 0; then
15199 for file in fs
/sync.c
; do
15200 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
15201 "$LINUX_OBJ/$file" 2>/dev
/null
15203 if test $rc -eq 0; then
15208 if test $export -eq 0; then
15209 { $as_echo "$as_me:$LINENO: result: no" >&5
15210 $as_echo "no" >&6; }
15213 { $as_echo "$as_me:$LINENO: result: yes" >&5
15214 $as_echo "yes" >&6; }
15216 cat >>confdefs.h
<<\_ACEOF
15217 #define HAVE_VFS_FSYNC 1
15222 { $as_echo "$as_me:$LINENO: result: yes" >&5
15223 $as_echo "yes" >&6; }
15225 cat >>confdefs.h
<<\_ACEOF
15226 #define HAVE_VFS_FSYNC 1
15233 { $as_echo "$as_me:$LINENO: checking whether vfs_fsync() wants 2 args" >&5
15234 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
15237 cat confdefs.h
- <<_ACEOF >conftest.c
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15245 #include <linux/fs.h>
15251 vfs_fsync(NULL, 0);
15260 rm -Rf build
&& mkdir
-p build
15261 echo "obj-m := conftest.o" >build
/Makefile
15262 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'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; }; then
15274 { $as_echo "$as_me:$LINENO: result: yes" >&5
15275 $as_echo "yes" >&6; }
15277 cat >>confdefs.h
<<\_ACEOF
15278 #define HAVE_2ARGS_VFS_FSYNC 1
15283 $as_echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.
$ac_ext >&5
15286 { $as_echo "$as_me:$LINENO: result: no" >&5
15287 $as_echo "no" >&6; }
15298 { $as_echo "$as_me:$LINENO: checking whether struct fs_struct uses spinlock_t" >&5
15299 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
15300 tmp_flags
="$EXTRA_KCFLAGS"
15301 EXTRA_KCFLAGS
="-Werror"
15304 cat confdefs.h
- <<_ACEOF >conftest.c
15307 cat confdefs.h
>>conftest.
$ac_ext
15308 cat >>conftest.
$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15312 #include <linux/sched.h>
15313 #include <linux/fs_struct.h>
15319 struct fs_struct fs;
15320 spin_lock_init(&fs.lock);
15329 rm -Rf build
&& mkdir
-p build
15330 echo "obj-m := conftest.o" >build
/Makefile
15331 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'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15343 { $as_echo "$as_me:$LINENO: result: yes" >&5
15344 $as_echo "yes" >&6; }
15346 cat >>confdefs.h
<<\_ACEOF
15347 #define HAVE_FS_STRUCT_SPINLOCK 1
15352 $as_echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.
$ac_ext >&5
15355 { $as_echo "$as_me:$LINENO: result: no" >&5
15356 $as_echo "no" >&6; }
15365 EXTRA_KCFLAGS
="$tmp_flags"
15368 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
15369 $as_echo_n "checking whether struct cred exists... " >&6; }
15372 cat confdefs.h
- <<_ACEOF >conftest.c
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15380 #include <linux/cred.h>
15386 struct cred *cr __attribute__ ((unused));
15396 rm -Rf build
&& mkdir
-p build
15397 echo "obj-m := conftest.o" >build
/Makefile
15398 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'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; }; then
15410 { $as_echo "$as_me:$LINENO: result: yes" >&5
15411 $as_echo "yes" >&6; }
15413 cat >>confdefs.h
<<\_ACEOF
15414 #define HAVE_CRED_STRUCT 1
15419 $as_echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.
$ac_ext >&5
15422 { $as_echo "$as_me:$LINENO: result: no" >&5
15423 $as_echo "no" >&6; }
15434 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
15435 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
15436 grep -q -E '[[:space:]]groups_search[[:space:]]' \
15437 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15439 if test $rc -ne 0; then
15442 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
15443 "$LINUX_OBJ/$file" 2>/dev
/null
15445 if test $rc -eq 0; then
15450 if test $export -eq 0; then
15451 { $as_echo "$as_me:$LINENO: result: no" >&5
15452 $as_echo "no" >&6; }
15455 { $as_echo "$as_me:$LINENO: result: yes" >&5
15456 $as_echo "yes" >&6; }
15458 cat >>confdefs.h
<<\_ACEOF
15459 #define HAVE_GROUPS_SEARCH 1
15464 { $as_echo "$as_me:$LINENO: result: yes" >&5
15465 $as_echo "yes" >&6; }
15467 cat >>confdefs.h
<<\_ACEOF
15468 #define HAVE_GROUPS_SEARCH 1
15475 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
15476 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
15477 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
15478 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15480 if test $rc -ne 0; then
15483 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
15484 "$LINUX_OBJ/$file" 2>/dev
/null
15486 if test $rc -eq 0; then
15491 if test $export -eq 0; then
15492 { $as_echo "$as_me:$LINENO: result: no" >&5
15493 $as_echo "no" >&6; }
15496 { $as_echo "$as_me:$LINENO: result: yes" >&5
15497 $as_echo "yes" >&6; }
15499 cat >>confdefs.h
<<\_ACEOF
15500 #define HAVE_PUT_TASK_STRUCT 1
15505 { $as_echo "$as_me:$LINENO: result: yes" >&5
15506 $as_echo "yes" >&6; }
15508 cat >>confdefs.h
<<\_ACEOF
15509 #define HAVE_PUT_TASK_STRUCT 1
15516 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
15517 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
15520 cat confdefs.h
- <<_ACEOF >conftest.c
15523 cat confdefs.h
>>conftest.
$ac_ext
15524 cat >>conftest.
$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15528 #include <linux/sysctl.h>
15534 proc_dostring(NULL, 0, NULL, NULL, NULL);
15543 rm -Rf build
&& mkdir
-p build
15544 echo "obj-m := conftest.o" >build
/Makefile
15545 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'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15557 { $as_echo "$as_me:$LINENO: result: yes" >&5
15558 $as_echo "yes" >&6; }
15560 cat >>confdefs.h
<<\_ACEOF
15561 #define HAVE_5ARGS_PROC_HANDLER 1
15566 $as_echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.
$ac_ext >&5
15569 { $as_echo "$as_me:$LINENO: result: no" >&5
15570 $as_echo "no" >&6; }
15581 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
15582 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
15583 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15584 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15586 if test $rc -ne 0; then
15589 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15590 "$LINUX_OBJ/$file" 2>/dev
/null
15592 if test $rc -eq 0; then
15597 if test $export -eq 0; then
15598 { $as_echo "$as_me:$LINENO: result: no" >&5
15599 $as_echo "no" >&6; }
15602 { $as_echo "$as_me:$LINENO: result: yes" >&5
15603 $as_echo "yes" >&6; }
15605 cat >>confdefs.h
<<\_ACEOF
15606 #define HAVE_KVASPRINTF 1
15611 { $as_echo "$as_me:$LINENO: result: yes" >&5
15612 $as_echo "yes" >&6; }
15614 cat >>confdefs.h
<<\_ACEOF
15615 #define HAVE_KVASPRINTF 1
15622 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
15623 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
15624 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
15625 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15627 if test $rc -ne 0; then
15629 for file in lib
/rwsem-spinlock.c
; do
15630 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
15631 "$LINUX_OBJ/$file" 2>/dev
/null
15633 if test $rc -eq 0; then
15638 if test $export -eq 0; then
15639 { $as_echo "$as_me:$LINENO: result: no" >&5
15640 $as_echo "no" >&6; }
15643 { $as_echo "$as_me:$LINENO: result: yes" >&5
15644 $as_echo "yes" >&6; }
15646 cat >>confdefs.h
<<\_ACEOF
15647 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15652 { $as_echo "$as_me:$LINENO: result: yes" >&5
15653 $as_echo "yes" >&6; }
15655 cat >>confdefs.h
<<\_ACEOF
15656 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15663 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes is exported" >&5
15664 $as_echo_n "checking whether symbol invalidate_inodes is exported... " >&6; }
15665 grep -q -E '[[:space:]]invalidate_inodes[[:space:]]' \
15666 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15668 if test $rc -ne 0; then
15671 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes)" \
15672 "$LINUX_OBJ/$file" 2>/dev
/null
15674 if test $rc -eq 0; then
15679 if test $export -eq 0; then
15680 { $as_echo "$as_me:$LINENO: result: no" >&5
15681 $as_echo "no" >&6; }
15684 { $as_echo "$as_me:$LINENO: result: yes" >&5
15685 $as_echo "yes" >&6; }
15687 cat >>confdefs.h
<<\_ACEOF
15688 #define HAVE_INVALIDATE_INODES 1
15693 { $as_echo "$as_me:$LINENO: result: yes" >&5
15694 $as_echo "yes" >&6; }
15696 cat >>confdefs.h
<<\_ACEOF
15697 #define HAVE_INVALIDATE_INODES 1
15702 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes_check is exported" >&5
15703 $as_echo_n "checking whether symbol invalidate_inodes_check is exported... " >&6; }
15704 grep -q -E '[[:space:]]invalidate_inodes_check[[:space:]]' \
15705 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15707 if test $rc -ne 0; then
15710 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes_check)" \
15711 "$LINUX_OBJ/$file" 2>/dev
/null
15713 if test $rc -eq 0; then
15718 if test $export -eq 0; then
15719 { $as_echo "$as_me:$LINENO: result: no" >&5
15720 $as_echo "no" >&6; }
15723 { $as_echo "$as_me:$LINENO: result: yes" >&5
15724 $as_echo "yes" >&6; }
15726 cat >>confdefs.h
<<\_ACEOF
15727 #define HAVE_INVALIDATE_INODES_CHECK 1
15732 { $as_echo "$as_me:$LINENO: result: yes" >&5
15733 $as_echo "yes" >&6; }
15735 cat >>confdefs.h
<<\_ACEOF
15736 #define HAVE_INVALIDATE_INODES_CHECK 1
15742 { $as_echo "$as_me:$LINENO: checking whether invalidate_inodes() wants 2 args" >&5
15743 $as_echo_n "checking whether invalidate_inodes() wants 2 args... " >&6; }
15746 cat confdefs.h
- <<_ACEOF >conftest.c
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15754 #include <linux/fs.h>
15760 return __invalidate_device(NULL, 0);
15769 rm -Rf build
&& mkdir
-p build
15770 echo "obj-m := conftest.o" >build
/Makefile
15771 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'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15783 { $as_echo "$as_me:$LINENO: result: yes" >&5
15784 $as_echo "yes" >&6; }
15786 cat >>confdefs.h
<<\_ACEOF
15787 #define HAVE_2ARGS_INVALIDATE_INODES 1
15792 $as_echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.
$ac_ext >&5
15795 { $as_echo "$as_me:$LINENO: result: no" >&5
15796 $as_echo "no" >&6; }
15807 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_dcache_memory is exported" >&5
15808 $as_echo_n "checking whether symbol shrink_dcache_memory is exported... " >&6; }
15809 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
15810 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15812 if test $rc -ne 0; then
15814 for file in fs
/dcache.c
; do
15815 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
15816 "$LINUX_OBJ/$file" 2>/dev
/null
15818 if test $rc -eq 0; then
15823 if test $export -eq 0; then
15824 { $as_echo "$as_me:$LINENO: result: no" >&5
15825 $as_echo "no" >&6; }
15828 { $as_echo "$as_me:$LINENO: result: yes" >&5
15829 $as_echo "yes" >&6; }
15831 cat >>confdefs.h
<<\_ACEOF
15832 #define HAVE_SHRINK_DCACHE_MEMORY 1
15837 { $as_echo "$as_me:$LINENO: result: yes" >&5
15838 $as_echo "yes" >&6; }
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define HAVE_SHRINK_DCACHE_MEMORY 1
15848 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_icache_memory is exported" >&5
15849 $as_echo_n "checking whether symbol shrink_icache_memory is exported... " >&6; }
15850 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
15851 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15853 if test $rc -ne 0; then
15855 for file in fs
/inode.c
; do
15856 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
15857 "$LINUX_OBJ/$file" 2>/dev
/null
15859 if test $rc -eq 0; then
15864 if test $export -eq 0; then
15865 { $as_echo "$as_me:$LINENO: result: no" >&5
15866 $as_echo "no" >&6; }
15869 { $as_echo "$as_me:$LINENO: result: yes" >&5
15870 $as_echo "yes" >&6; }
15872 cat >>confdefs.h
<<\_ACEOF
15873 #define HAVE_SHRINK_ICACHE_MEMORY 1
15878 { $as_echo "$as_me:$LINENO: result: yes" >&5
15879 $as_echo "yes" >&6; }
15881 cat >>confdefs.h
<<\_ACEOF
15882 #define HAVE_SHRINK_ICACHE_MEMORY 1
15890 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent exists in header" >&5
15891 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
15893 for file in include
/linux
/namei.h
; do
15894 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
15896 if test $rc -eq 0; then
15901 if test $header -eq 0; then
15902 { $as_echo "$as_me:$LINENO: result: no" >&5
15903 $as_echo "no" >&6; }
15906 { $as_echo "$as_me:$LINENO: result: yes" >&5
15907 $as_echo "yes" >&6; }
15909 cat >>confdefs.h
<<\_ACEOF
15910 #define HAVE_KERN_PATH_PARENT_HEADER 1
15917 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent is exported" >&5
15918 $as_echo_n "checking whether symbol kern_path_parent is exported... " >&6; }
15919 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
15920 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15922 if test $rc -ne 0; then
15924 for file in fs
/namei.c
; do
15925 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
15926 "$LINUX_OBJ/$file" 2>/dev
/null
15928 if test $rc -eq 0; then
15933 if test $export -eq 0; then
15934 { $as_echo "$as_me:$LINENO: result: no" >&5
15935 $as_echo "no" >&6; }
15938 { $as_echo "$as_me:$LINENO: result: yes" >&5
15939 $as_echo "yes" >&6; }
15941 cat >>confdefs.h
<<\_ACEOF
15942 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
15947 { $as_echo "$as_me:$LINENO: result: yes" >&5
15948 $as_echo "yes" >&6; }
15950 cat >>confdefs.h
<<\_ACEOF
15951 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
15957 { $as_echo "$as_me:$LINENO: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
15958 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
15961 cat confdefs.h
- <<_ACEOF >conftest.c
15964 cat confdefs.h
>>conftest.
$ac_ext
15965 cat >>conftest.
$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15969 #include <linux/zlib.h>
15975 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
15984 rm -Rf build
&& mkdir
-p build
15985 echo "obj-m := conftest.o" >build
/Makefile
15986 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'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15998 { $as_echo "$as_me:$LINENO: result: yes" >&5
15999 $as_echo "yes" >&6; }
16001 cat >>confdefs.h
<<\_ACEOF
16002 #define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1
16007 $as_echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.
$ac_ext >&5
16010 { $as_echo "$as_me:$LINENO: result: no" >&5
16011 $as_echo "no" >&6; }
16022 { $as_echo "$as_me:$LINENO: checking whether struct shrink_control exists" >&5
16023 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
16026 cat confdefs.h
- <<_ACEOF >conftest.c
16029 cat confdefs.h
>>conftest.
$ac_ext
16030 cat >>conftest.
$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16034 #include <linux/mm.h>
16040 struct shrink_control sc __attribute__ ((unused));
16043 sc.gfp_mask = GFP_KERNEL;
16052 rm -Rf build
&& mkdir
-p build
16053 echo "obj-m := conftest.o" >build
/Makefile
16054 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16066 { $as_echo "$as_me:$LINENO: result: yes" >&5
16067 $as_echo "yes" >&6; }
16069 cat >>confdefs.h
<<\_ACEOF
16070 #define HAVE_SHRINK_CONTROL_STRUCT 1
16075 $as_echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16078 { $as_echo "$as_me:$LINENO: result: no" >&5
16079 $as_echo "no" >&6; }
16090 { $as_echo "$as_me:$LINENO: checking whether struct rw_semaphore member wait_lock is raw" >&5
16091 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
16092 tmp_flags
="$EXTRA_KCFLAGS"
16093 EXTRA_KCFLAGS
="-Werror"
16096 cat confdefs.h
- <<_ACEOF >conftest.c
16099 cat confdefs.h
>>conftest.
$ac_ext
16100 cat >>conftest.
$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16104 #include <linux/rwsem.h>
16110 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
16111 raw_spinlock_t dummy_lock __attribute__ ((unused));
16112 dummy_semaphore.wait_lock = dummy_lock;
16121 rm -Rf build
&& mkdir
-p build
16122 echo "obj-m := conftest.o" >build
/Makefile
16123 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'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16135 { $as_echo "$as_me:$LINENO: result: yes" >&5
16136 $as_echo "yes" >&6; }
16138 cat >>confdefs.h
<<\_ACEOF
16139 #define RWSEM_SPINLOCK_IS_RAW 1
16144 $as_echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 { $as_echo "$as_me:$LINENO: result: no" >&5
16148 $as_echo "no" >&6; }
16157 EXTRA_KCFLAGS
="$tmp_flags"
16164 # Check whether --with-linux was given.
16165 if test "${with_linux+set}" = set; then
16166 withval
=$with_linux; kernelsrc
="$withval"
16171 # Check whether --with-linux-obj was given.
16172 if test "${with_linux_obj+set}" = set; then
16173 withval
=$with_linux_obj; kernelbuild
="$withval"
16177 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
16178 $as_echo_n "checking kernel source directory... " >&6; }
16179 if test -z "$kernelsrc"; then
16180 if test -e "/lib/modules/$(uname -r)/source"; then
16181 headersdir
="/lib/modules/$(uname -r)/source"
16182 sourcelink
=$
(readlink
-f "$headersdir")
16183 elif test -e "/lib/modules/$(uname -r)/build"; then
16184 headersdir
="/lib/modules/$(uname -r)/build"
16185 sourcelink
=$
(readlink
-f "$headersdir")
16187 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
16189 2>/dev
/null |
grep -v obj |
tail -1)
16192 if test -n "$sourcelink" && test -e ${sourcelink}; then
16193 kernelsrc
=`readlink -f ${sourcelink}`
16195 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16196 $as_echo "Not found" >&6; }
16197 { { $as_echo "$as_me:$LINENO: error:
16198 *** Please make sure the kernel devel package for your distribution
16199 *** is installed then try again. If that fails you can specify the
16200 *** location of the kernel source with the '--with-linux=PATH' option." >&5
16201 $as_echo "$as_me: error:
16202 *** Please make sure the kernel devel package for your distribution
16203 *** is installed then try again. If that fails you can specify the
16204 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
16205 { (exit 1); exit 1; }; }
16208 if test "$kernelsrc" = "NONE"; then
16213 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
16214 $as_echo "$kernelsrc" >&6; }
16215 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
16216 $as_echo_n "checking kernel build directory... " >&6; }
16217 if test -z "$kernelbuild"; then
16218 if test -e "/lib/modules/$(uname -r)/build"; then
16219 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
16220 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
16221 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
16222 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
16223 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
16224 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
16225 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
16227 kernelbuild
=${kernelsrc}
16230 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
16231 $as_echo "$kernelbuild" >&6; }
16233 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
16234 $as_echo_n "checking kernel source version... " >&6; }
16235 utsrelease1
=$kernelbuild/include
/linux
/version.h
16236 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
16237 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
16238 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
16239 utsrelease
=linux
/version.h
16240 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
16241 utsrelease
=linux
/utsrelease.h
16242 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
16243 utsrelease
=generated
/utsrelease.h
16246 if test "$utsrelease"; then
16247 kernsrcver
=`(echo "#include <$utsrelease>";
16248 echo "kernsrcver=UTS_RELEASE") |
16249 cpp -I $kernelbuild/include |
16250 grep "^kernsrcver=" | cut -d \" -f 2`
16252 if test -z "$kernsrcver"; then
16253 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16254 $as_echo "Not found" >&6; }
16255 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
16256 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
16257 { (exit 1); exit 1; }; }
16260 { $as_echo "$as_me:$LINENO: result: Not found" >&5
16261 $as_echo "Not found" >&6; }
16262 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
16263 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
16264 { (exit 1); exit 1; }; }
16267 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
16268 $as_echo "$kernsrcver" >&6; }
16271 LINUX_OBJ
=${kernelbuild}
16272 LINUX_VERSION
=${kernsrcver}
16279 modpost
=$LINUX/scripts
/Makefile.modpost
16280 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
16281 $as_echo_n "checking kernel file name for module symbols... " >&6; }
16282 if test -f "$modpost"; then
16283 if grep -q Modules.symvers
$modpost; then
16284 LINUX_SYMBOLS
=Modules.symvers
16286 LINUX_SYMBOLS
=Module.symvers
16289 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
16290 { { $as_echo "$as_me:$LINENO: error:
16291 *** Please make sure the kernel devel package for your distribution
16292 *** is installed. If your building with a custom kernel make sure the
16293 *** kernel is configured, built, and the '--with-linux=PATH' configure
16294 *** option refers to the location of the kernel source." >&5
16295 $as_echo "$as_me: error:
16296 *** Please make sure the kernel devel package for your distribution
16297 *** is installed. If your building with a custom kernel make sure the
16298 *** kernel is configured, built, and the '--with-linux=PATH' configure
16299 *** option refers to the location of the kernel source." >&2;}
16300 { (exit 1); exit 1; }; }
16305 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
16306 $as_echo "$LINUX_SYMBOLS" >&6; }
16311 { $as_echo "$as_me:$LINENO: checking whether Linux was built with CONFIG_PREEMPT" >&5
16312 $as_echo_n "checking whether Linux was built with CONFIG_PREEMPT... " >&6; }
16315 cat confdefs.h
- <<_ACEOF >conftest.c
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16323 #include <linux/module.h>
16329 #ifndef CONFIG_PREEMPT
16330 #error CONFIG_PREEMPT not #defined
16340 rm -Rf build
&& mkdir
-p build
16341 echo "obj-m := conftest.o" >build
/Makefile
16342 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'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16349 (eval $ac_try) 2>&5
16351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; }; then
16354 { $as_echo "$as_me:$LINENO: result: yes" >&5
16355 $as_echo "yes" >&6; }
16356 { { $as_echo "$as_me:$LINENO: error:
16357 *** Kernel built with CONFIG_PREEMPT which is not supported.
16358 ** You must rebuild your kernel without this option." >&5
16359 $as_echo "$as_me: error:
16360 *** Kernel built with CONFIG_PREEMPT which is not supported.
16361 ** You must rebuild your kernel without this option." >&2;}
16362 { (exit 1); exit 1; }; }
16365 $as_echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.
$ac_ext >&5
16368 { $as_echo "$as_me:$LINENO: result: no" >&5
16369 $as_echo "no" >&6; }
16382 if test "${LINUX_OBJ}" != "${LINUX}"; then
16383 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
16387 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
16391 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
16392 $as_echo_n "checking whether debugging is enabled... " >&6; }
16393 # Check whether --enable-debug was given.
16394 if test "${enable_debug+set}" = set; then
16395 enableval
=$enable_debug;
16401 if test "x$enable_debug" = xyes
; then
16403 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
16404 DEBUG_CFLAGS
="-DDEBUG -Werror"
16405 DEBUG_SPL
="_with_debug"
16409 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
16410 DEBUG_CFLAGS
="-DNDEBUG"
16411 DEBUG_SPL
="_without_debug"
16418 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
16419 $as_echo "$enable_debug" >&6; }
16422 # Check whether --enable-debug-log was given.
16423 if test "${enable_debug_log+set}" = set; then
16424 enableval
=$enable_debug_log;
16426 enable_debug_log
=yes
16430 if test "x$enable_debug_log" = xyes
; then
16432 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
16433 DEBUG_LOG
="_with_debug_log"
16435 cat >>confdefs.h
<<\_ACEOF
16436 #define DEBUG_LOG 1
16442 DEBUG_LOG
="_without_debug_log"
16448 { $as_echo "$as_me:$LINENO: checking whether basic debug logging is enabled" >&5
16449 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
16450 { $as_echo "$as_me:$LINENO: result: $enable_debug_log" >&5
16451 $as_echo "$enable_debug_log" >&6; }
16454 # Check whether --enable-debug-kmem was given.
16455 if test "${enable_debug_kmem+set}" = set; then
16456 enableval
=$enable_debug_kmem;
16458 enable_debug_kmem
=yes
16462 if test "x$enable_debug_kmem" = xyes
; then
16464 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
16465 DEBUG_KMEM
="_with_debug_kmem"
16467 cat >>confdefs.h
<<\_ACEOF
16468 #define DEBUG_KMEM 1
16474 DEBUG_KMEM
="_without_debug_kmem"
16480 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
16481 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
16482 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
16483 $as_echo "$enable_debug_kmem" >&6; }
16486 # Check whether --enable-debug-kmem-tracking was given.
16487 if test "${enable_debug_kmem_tracking+set}" = set; then
16488 enableval
=$enable_debug_kmem_tracking;
16490 enable_debug_kmem_tracking
=no
16494 if test "x$enable_debug_kmem_tracking" = xyes
; then
16496 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
16497 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
16499 cat >>confdefs.h
<<\_ACEOF
16500 #define DEBUG_KMEM_TRACKING 1
16506 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
16512 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
16513 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
16514 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
16515 $as_echo "$enable_debug_kmem_tracking" >&6; }
16518 # Check whether --enable-atomic-spinlocks was given.
16519 if test "${enable_atomic_spinlocks+set}" = set; then
16520 enableval
=$enable_atomic_spinlocks;
16522 enable_atomic_spinlocks
=check
16528 cat confdefs.h
- <<_ACEOF >conftest.c
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16536 #include <asm/atomic.h>
16542 atomic64_t *ptr __attribute__ ((unused));
16551 rm -Rf build
&& mkdir
-p build
16552 echo "obj-m := conftest.o" >build
/Makefile
16553 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'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16565 have_atomic64_t
=yes
16567 cat >>confdefs.h
<<\_ACEOF
16568 #define HAVE_ATOMIC64_T 1
16573 $as_echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.
$ac_ext >&5
16586 if test "x$enable_atomic_spinlocks" = xcheck
; then
16588 if test "x$have_atomic64_t" = xyes
; then
16590 enable_atomic_spinlocks
=no
16594 enable_atomic_spinlocks
=yes
16602 if test "x$enable_atomic_spinlocks" = xyes
; then
16605 cat >>confdefs.h
<<\_ACEOF
16606 #define ATOMIC_SPINLOCK 1
16612 if test "x$have_atomic64_t" = xno
; then
16614 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16616 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
16617 See \`config.log' for more details." >&5
16618 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
16619 See \`config.log' for more details." >&2;}
16620 { (exit 1); exit 1; }; }; }
16628 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
16629 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
16630 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
16631 $as_echo "$enable_atomic_spinlocks" >&6; }
16633 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
16634 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
16635 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
16636 $as_echo "$have_atomic64_t" >&6; }
16638 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
16639 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
16642 cat confdefs.h
- <<_ACEOF >conftest.c
16645 cat confdefs.h
>>conftest.
$ac_ext
16646 cat >>conftest.
$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16650 #include <asm/atomic.h>
16651 #include <asm/system.h>
16657 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
16666 rm -Rf build
&& mkdir
-p build
16667 echo "obj-m := conftest.o" >build
/Makefile
16668 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'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16680 { $as_echo "$as_me:$LINENO: result: yes" >&5
16681 $as_echo "yes" >&6; }
16683 cat >>confdefs.h
<<\_ACEOF
16684 #define HAVE_ATOMIC64_CMPXCHG 1
16689 $as_echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.
$ac_ext >&5
16692 { $as_echo "$as_me:$LINENO: result: no" >&5
16693 $as_echo "no" >&6; }
16703 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
16704 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
16707 cat confdefs.h
- <<_ACEOF >conftest.c
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16715 #include <asm/atomic.h>
16721 atomic64_xchg((atomic64_t *)NULL, 0);
16730 rm -Rf build
&& mkdir
-p build
16731 echo "obj-m := conftest.o" >build
/Makefile
16732 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'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739 (eval $ac_try) 2>&5
16741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); }; }; then
16744 { $as_echo "$as_me:$LINENO: result: yes" >&5
16745 $as_echo "yes" >&6; }
16747 cat >>confdefs.h
<<\_ACEOF
16748 #define HAVE_ATOMIC64_XCHG 1
16753 $as_echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16756 { $as_echo "$as_me:$LINENO: result: no" >&5
16757 $as_echo "no" >&6; }
16767 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
16768 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
16771 cat confdefs.h
- <<_ACEOF >conftest.c
16774 cat confdefs.h
>>conftest.
$ac_ext
16775 cat >>conftest.
$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16779 #include <linux/types.h>
16785 uintptr_t *ptr __attribute__ ((unused));
16794 rm -Rf build
&& mkdir
-p build
16795 echo "obj-m := conftest.o" >build
/Makefile
16796 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'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16808 { $as_echo "$as_me:$LINENO: result: yes" >&5
16809 $as_echo "yes" >&6; }
16811 cat >>confdefs.h
<<\_ACEOF
16812 #define HAVE_UINTPTR_T 1
16817 $as_echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 { $as_echo "$as_me:$LINENO: result: no" >&5
16821 $as_echo "no" >&6; }
16831 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
16832 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
16835 cat confdefs.h
- <<_ACEOF >conftest.c
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16843 #include <linux/workqueue.h>
16849 struct work_struct work __attribute__ ((unused));
16850 INIT_WORK(&work, NULL, NULL);
16859 rm -Rf build
&& mkdir
-p build
16860 echo "obj-m := conftest.o" >build
/Makefile
16861 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'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16873 { $as_echo "$as_me:$LINENO: result: yes" >&5
16874 $as_echo "yes" >&6; }
16876 cat >>confdefs.h
<<\_ACEOF
16877 #define HAVE_3ARGS_INIT_WORK 1
16882 $as_echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.
$ac_ext >&5
16885 { $as_echo "$as_me:$LINENO: result: no" >&5
16886 $as_echo "no" >&6; }
16896 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
16897 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
16900 cat confdefs.h
- <<_ACEOF >conftest.c
16903 cat confdefs.h
>>conftest.
$ac_ext
16904 cat >>conftest.
$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16908 #include <linux/sysctl.h>
16914 (void) register_sysctl_table(NULL, 0);
16923 rm -Rf build
&& mkdir
-p build
16924 echo "obj-m := conftest.o" >build
/Makefile
16925 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'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16937 { $as_echo "$as_me:$LINENO: result: yes" >&5
16938 $as_echo "yes" >&6; }
16940 cat >>confdefs.h
<<\_ACEOF
16941 #define HAVE_2ARGS_REGISTER_SYSCTL 1
16946 $as_echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.
$ac_ext >&5
16949 { $as_echo "$as_me:$LINENO: result: no" >&5
16950 $as_echo "no" >&6; }
16961 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
16962 $as_echo_n "checking whether set_shrinker() available... " >&6; }
16965 cat confdefs.h
- <<_ACEOF >conftest.c
16968 cat confdefs.h
>>conftest.
$ac_ext
16969 cat >>conftest.
$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16973 #include <linux/mm.h>
16979 return set_shrinker(DEFAULT_SEEKS, NULL);
16988 rm -Rf build
&& mkdir
-p build
16989 echo "obj-m := conftest.o" >build
/Makefile
16990 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'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; }; then
17002 { $as_echo "$as_me:$LINENO: result: yes" >&5
17003 $as_echo "yes" >&6; }
17005 cat >>confdefs.h
<<\_ACEOF
17006 #define HAVE_SET_SHRINKER 1
17011 $as_echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 { $as_echo "$as_me:$LINENO: result: no" >&5
17015 $as_echo "no" >&6; }
17025 { $as_echo "$as_me:$LINENO: checking whether shrinker callback wants 3 args" >&5
17026 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
17027 tmp_flags
="$EXTRA_KCFLAGS"
17028 EXTRA_KCFLAGS
="-Werror"
17031 cat confdefs.h
- <<_ACEOF >conftest.c
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17039 #include <linux/mm.h>
17041 int shrinker_cb(struct shrinker *, int, unsigned int);
17047 struct shrinker cache_shrinker = {
17048 .shrink = shrinker_cb,
17049 .seeks = DEFAULT_SEEKS,
17051 register_shrinker(&cache_shrinker);
17060 rm -Rf build
&& mkdir
-p build
17061 echo "obj-m := conftest.o" >build
/Makefile
17062 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'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17074 { $as_echo "$as_me:$LINENO: result: yes" >&5
17075 $as_echo "yes" >&6; }
17077 cat >>confdefs.h
<<\_ACEOF
17078 #define HAVE_3ARGS_SHRINKER_CALLBACK 1
17083 $as_echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.
$ac_ext >&5
17086 { $as_echo "$as_me:$LINENO: result: no" >&5
17087 $as_echo "no" >&6; }
17096 EXTRA_KCFLAGS
="$tmp_flags"
17098 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
17099 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
17102 cat confdefs.h
- <<_ACEOF >conftest.c
17105 cat confdefs.h
>>conftest.
$ac_ext
17106 cat >>conftest.
$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17110 #include <linux/namei.h>
17116 struct nameidata nd __attribute__ ((unused));
17118 nd.path.mnt = NULL;
17119 nd.path.dentry = NULL;
17128 rm -Rf build
&& mkdir
-p build
17129 echo "obj-m := conftest.o" >build
/Makefile
17130 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'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17142 { $as_echo "$as_me:$LINENO: result: yes" >&5
17143 $as_echo "yes" >&6; }
17145 cat >>confdefs.h
<<\_ACEOF
17146 #define HAVE_PATH_IN_NAMEIDATA 1
17151 $as_echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.
$ac_ext >&5
17154 { $as_echo "$as_me:$LINENO: result: no" >&5
17155 $as_echo "no" >&6; }
17166 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
17167 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
17168 grep -q -E '[[:space:]]task_curr[[:space:]]' \
17169 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17171 if test $rc -ne 0; then
17173 for file in kernel
/sched.c
; do
17174 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
17175 "$LINUX_OBJ/$file" 2>/dev
/null
17177 if test $rc -eq 0; then
17182 if test $export -eq 0; then
17183 { $as_echo "$as_me:$LINENO: result: no" >&5
17184 $as_echo "no" >&6; }
17187 { $as_echo "$as_me:$LINENO: result: yes" >&5
17188 $as_echo "yes" >&6; }
17190 cat >>confdefs.h
<<\_ACEOF
17191 #define HAVE_TASK_CURR 1
17196 { $as_echo "$as_me:$LINENO: result: yes" >&5
17197 $as_echo "yes" >&6; }
17199 cat >>confdefs.h
<<\_ACEOF
17200 #define HAVE_TASK_CURR 1
17206 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
17207 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
17210 cat confdefs.h
- <<_ACEOF >conftest.c
17213 cat confdefs.h
>>conftest.
$ac_ext
17214 cat >>conftest.
$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17218 #include <linux/sysctl.h>
17224 #ifndef CTL_UNNUMBERED
17225 #error CTL_UNNUMBERED undefined
17235 rm -Rf build
&& mkdir
-p build
17236 echo "obj-m := conftest.o" >build
/Makefile
17237 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'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; }; then
17249 { $as_echo "$as_me:$LINENO: result: yes" >&5
17250 $as_echo "yes" >&6; }
17252 cat >>confdefs.h
<<\_ACEOF
17253 #define HAVE_CTL_UNNUMBERED 1
17258 $as_echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 { $as_echo "$as_me:$LINENO: result: no" >&5
17262 $as_echo "no" >&6; }
17273 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
17274 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
17277 cat confdefs.h
- <<_ACEOF >conftest.c
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17285 #include <linux/sysctl.h>
17291 struct ctl_table ctl __attribute__ ((unused));
17301 rm -Rf build
&& mkdir
-p build
17302 echo "obj-m := conftest.o" >build
/Makefile
17303 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'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17315 { $as_echo "$as_me:$LINENO: result: yes" >&5
17316 $as_echo "yes" >&6; }
17318 cat >>confdefs.h
<<\_ACEOF
17319 #define HAVE_CTL_NAME 1
17324 $as_echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17327 { $as_echo "$as_me:$LINENO: result: no" >&5
17328 $as_echo "no" >&6; }
17338 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
17339 $as_echo_n "checking whether fls64() is available... " >&6; }
17342 cat confdefs.h
- <<_ACEOF >conftest.c
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17350 #include <linux/bitops.h>
17365 rm -Rf build
&& mkdir
-p build
17366 echo "obj-m := conftest.o" >build
/Makefile
17367 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'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; }; then
17379 { $as_echo "$as_me:$LINENO: result: yes" >&5
17380 $as_echo "yes" >&6; }
17382 cat >>confdefs.h
<<\_ACEOF
17383 #define HAVE_FLS64 1
17388 $as_echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17391 { $as_echo "$as_me:$LINENO: result: no" >&5
17392 $as_echo "no" >&6; }
17403 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
17404 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
17405 grep -q -E '[[:space:]]device_create[[:space:]]' \
17406 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17408 if test $rc -ne 0; then
17410 for file in drivers
/base
/core.c
; do
17411 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
17412 "$LINUX_OBJ/$file" 2>/dev
/null
17414 if test $rc -eq 0; then
17419 if test $export -eq 0; then
17420 { $as_echo "$as_me:$LINENO: result: no" >&5
17421 $as_echo "no" >&6; }
17424 { $as_echo "$as_me:$LINENO: result: yes" >&5
17425 $as_echo "yes" >&6; }
17427 cat >>confdefs.h
<<\_ACEOF
17428 #define HAVE_DEVICE_CREATE 1
17433 { $as_echo "$as_me:$LINENO: result: yes" >&5
17434 $as_echo "yes" >&6; }
17436 cat >>confdefs.h
<<\_ACEOF
17437 #define HAVE_DEVICE_CREATE 1
17444 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
17445 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
17446 tmp_flags
="$EXTRA_KCFLAGS"
17447 EXTRA_KCFLAGS
="-Werror"
17450 cat confdefs.h
- <<_ACEOF >conftest.c
17453 cat confdefs.h
>>conftest.
$ac_ext
17454 cat >>conftest.
$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17458 #include <linux/device.h>
17464 device_create(NULL, NULL, 0, NULL, "%d", 1);
17473 rm -Rf build
&& mkdir
-p build
17474 echo "obj-m := conftest.o" >build
/Makefile
17475 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'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17487 { $as_echo "$as_me:$LINENO: result: yes" >&5
17488 $as_echo "yes" >&6; }
17490 cat >>confdefs.h
<<\_ACEOF
17491 #define HAVE_5ARGS_DEVICE_CREATE 1
17496 $as_echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 { $as_echo "$as_me:$LINENO: result: no" >&5
17500 $as_echo "no" >&6; }
17509 EXTRA_KCFLAGS
="$tmp_flags"
17512 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
17513 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
17514 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
17515 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17517 if test $rc -ne 0; then
17519 for file in drivers
/base
/class.c
; do
17520 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
17521 "$LINUX_OBJ/$file" 2>/dev
/null
17523 if test $rc -eq 0; then
17528 if test $export -eq 0; then
17529 { $as_echo "$as_me:$LINENO: result: no" >&5
17530 $as_echo "no" >&6; }
17533 { $as_echo "$as_me:$LINENO: result: yes" >&5
17534 $as_echo "yes" >&6; }
17536 cat >>confdefs.h
<<\_ACEOF
17537 #define HAVE_CLASS_DEVICE_CREATE 1
17542 { $as_echo "$as_me:$LINENO: result: yes" >&5
17543 $as_echo "yes" >&6; }
17545 cat >>confdefs.h
<<\_ACEOF
17546 #define HAVE_CLASS_DEVICE_CREATE 1
17553 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
17554 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
17555 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
17556 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17558 if test $rc -ne 0; then
17560 for file in kernel
/time.c
; do
17561 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
17562 "$LINUX_OBJ/$file" 2>/dev
/null
17564 if test $rc -eq 0; then
17569 if test $export -eq 0; then
17570 { $as_echo "$as_me:$LINENO: result: no" >&5
17571 $as_echo "no" >&6; }
17574 { $as_echo "$as_me:$LINENO: result: yes" >&5
17575 $as_echo "yes" >&6; }
17577 cat >>confdefs.h
<<\_ACEOF
17578 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
17583 { $as_echo "$as_me:$LINENO: result: yes" >&5
17584 $as_echo "yes" >&6; }
17586 cat >>confdefs.h
<<\_ACEOF
17587 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
17594 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
17595 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
17598 cat confdefs.h
- <<_ACEOF >conftest.c
17601 cat confdefs.h
>>conftest.
$ac_ext
17602 cat >>conftest.
$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17606 #include <linux/time.h>
17607 void set_normalized_timespec(struct timespec *ts,
17608 time_t sec, long nsec) { }
17621 rm -Rf build
&& mkdir
-p build
17622 echo "obj-m := conftest.o" >build
/Makefile
17623 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'
17624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17625 (eval $ac_try) 2>&5
17627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17635 { $as_echo "$as_me:$LINENO: result: no" >&5
17636 $as_echo "no" >&6; }
17639 $as_echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.
$ac_ext >&5
17642 { $as_echo "$as_me:$LINENO: result: yes" >&5
17643 $as_echo "yes" >&6; }
17645 cat >>confdefs.h
<<\_ACEOF
17646 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
17659 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
17660 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
17663 cat confdefs.h
- <<_ACEOF >conftest.c
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17671 #include <linux/time.h>
17677 struct timespec a = { 0 };
17678 struct timespec b = { 0 };
17679 struct timespec c __attribute__ ((unused));
17680 c = timespec_sub(a, b);
17689 rm -Rf build
&& mkdir
-p build
17690 echo "obj-m := conftest.o" >build
/Makefile
17691 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'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17703 { $as_echo "$as_me:$LINENO: result: yes" >&5
17704 $as_echo "yes" >&6; }
17706 cat >>confdefs.h
<<\_ACEOF
17707 #define HAVE_TIMESPEC_SUB 1
17712 $as_echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17715 { $as_echo "$as_me:$LINENO: result: no" >&5
17716 $as_echo "no" >&6; }
17727 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
17728 $as_echo_n "checking whether init_utsname() is available... " >&6; }
17731 cat confdefs.h
- <<_ACEOF >conftest.c
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17739 #include <linux/utsname.h>
17745 struct new_utsname *a __attribute__ ((unused));
17746 a = init_utsname();
17755 rm -Rf build
&& mkdir
-p build
17756 echo "obj-m := conftest.o" >build
/Makefile
17757 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'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17769 { $as_echo "$as_me:$LINENO: result: yes" >&5
17770 $as_echo "yes" >&6; }
17772 cat >>confdefs.h
<<\_ACEOF
17773 #define HAVE_INIT_UTSNAME 1
17778 $as_echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 { $as_echo "$as_me:$LINENO: result: no" >&5
17782 $as_echo "no" >&6; }
17793 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
17794 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
17797 cat confdefs.h
- <<_ACEOF >conftest.c
17800 cat confdefs.h
>>conftest.
$ac_ext
17801 cat >>conftest.
$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17805 #include <linux/fdtable.h>
17820 rm -Rf build
&& mkdir
-p build
17821 echo "obj-m := conftest.o" >build
/Makefile
17822 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'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17835 cat >>confdefs.h
<<\_ACEOF
17836 #define HAVE_FDTABLE_HEADER 1
17839 { $as_echo "$as_me:$LINENO: result: yes" >&5
17840 $as_echo "yes" >&6; }
17844 $as_echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 { $as_echo "$as_me:$LINENO: result: no" >&5
17848 $as_echo "no" >&6; }
17861 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
17862 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
17865 cat confdefs.h
- <<_ACEOF >conftest.c
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17873 #include <linux/sched.h>
17874 #include <linux/file.h>
17875 #ifdef HAVE_FDTABLE_HEADER
17876 #include <linux/fdtable.h>
17883 struct files_struct *files = current->files;
17884 struct fdtable *fdt __attribute__ ((unused));
17885 fdt = files_fdtable(files);
17894 rm -Rf build
&& mkdir
-p build
17895 echo "obj-m := conftest.o" >build
/Makefile
17896 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'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17908 { $as_echo "$as_me:$LINENO: result: yes" >&5
17909 $as_echo "yes" >&6; }
17911 cat >>confdefs.h
<<\_ACEOF
17912 #define HAVE_FILES_FDTABLE 1
17917 $as_echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 { $as_echo "$as_me:$LINENO: result: no" >&5
17921 $as_echo "no" >&6; }
17932 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
17933 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
17936 cat confdefs.h
- <<_ACEOF >conftest.c
17939 cat confdefs.h
>>conftest.
$ac_ext
17940 cat >>conftest.
$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17944 #include <linux/uaccess.h>
17959 rm -Rf build
&& mkdir
-p build
17960 echo "obj-m := conftest.o" >build
/Makefile
17961 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'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17974 cat >>confdefs.h
<<\_ACEOF
17975 #define HAVE_UACCESS_HEADER 1
17978 { $as_echo "$as_me:$LINENO: result: yes" >&5
17979 $as_echo "yes" >&6; }
17983 $as_echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 { $as_echo "$as_me:$LINENO: result: no" >&5
17987 $as_echo "no" >&6; }
18000 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
18001 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
18004 cat confdefs.h
- <<_ACEOF >conftest.c
18007 cat confdefs.h
>>conftest.
$ac_ext
18008 cat >>conftest.
$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18012 #include <linux/slab.h>
18018 void *a __attribute__ ((unused));
18019 a = kmalloc_node(1, GFP_KERNEL, 0);
18028 rm -Rf build
&& mkdir
-p build
18029 echo "obj-m := conftest.o" >build
/Makefile
18030 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'
18031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18032 (eval $ac_try) 2>&5
18034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18042 { $as_echo "$as_me:$LINENO: result: yes" >&5
18043 $as_echo "yes" >&6; }
18045 cat >>confdefs.h
<<\_ACEOF
18046 #define HAVE_KMALLOC_NODE 1
18051 $as_echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 { $as_echo "$as_me:$LINENO: result: no" >&5
18055 $as_echo "no" >&6; }
18066 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
18067 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
18068 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
18069 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18071 if test $rc -ne 0; then
18074 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
18075 "$LINUX_OBJ/$file" 2>/dev
/null
18077 if test $rc -eq 0; then
18082 if test $export -eq 0; then
18083 { $as_echo "$as_me:$LINENO: result: no" >&5
18084 $as_echo "no" >&6; }
18087 { $as_echo "$as_me:$LINENO: result: yes" >&5
18088 $as_echo "yes" >&6; }
18090 cat >>confdefs.h
<<\_ACEOF
18091 #define HAVE_MONOTONIC_CLOCK 1
18096 { $as_echo "$as_me:$LINENO: result: yes" >&5
18097 $as_echo "yes" >&6; }
18099 cat >>confdefs.h
<<\_ACEOF
18100 #define HAVE_MONOTONIC_CLOCK 1
18107 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
18108 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
18111 cat confdefs.h
- <<_ACEOF >conftest.c
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18119 #include <linux/fs.h>
18120 #include <linux/mutex.h>
18127 mutex_init(&i.i_mutex);
18136 rm -Rf build
&& mkdir
-p build
18137 echo "obj-m := conftest.o" >build
/Makefile
18138 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'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; }; then
18150 { $as_echo "$as_me:$LINENO: result: yes" >&5
18151 $as_echo "yes" >&6; }
18153 cat >>confdefs.h
<<\_ACEOF
18154 #define HAVE_INODE_I_MUTEX 1
18159 $as_echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.
$ac_ext >&5
18162 { $as_echo "$as_me:$LINENO: result: no" >&5
18163 $as_echo "no" >&6; }
18174 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
18175 $as_echo_n "checking whether struct mutex has owner... " >&6; }
18178 cat confdefs.h
- <<_ACEOF >conftest.c
18181 cat confdefs.h
>>conftest.
$ac_ext
18182 cat >>conftest.
$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18186 #include <linux/mutex.h>
18192 struct mutex mtx __attribute__ ((unused));
18202 rm -Rf build
&& mkdir
-p build
18203 echo "obj-m := conftest.o" >build
/Makefile
18204 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'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18216 { $as_echo "$as_me:$LINENO: result: yes" >&5
18217 $as_echo "yes" >&6; }
18219 cat >>confdefs.h
<<\_ACEOF
18220 #define HAVE_MUTEX_OWNER 1
18225 $as_echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.
$ac_ext >&5
18228 { $as_echo "$as_me:$LINENO: result: no" >&5
18229 $as_echo "no" >&6; }
18240 { $as_echo "$as_me:$LINENO: checking whether struct mutex owner is a task_struct" >&5
18241 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
18242 tmp_flags
="$EXTRA_KCFLAGS"
18243 EXTRA_KCFLAGS
="-Werror"
18246 cat confdefs.h
- <<_ACEOF >conftest.c
18249 cat confdefs.h
>>conftest.
$ac_ext
18250 cat >>conftest.
$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18254 #include <linux/mutex.h>
18260 struct mutex mtx __attribute__ ((unused));
18261 mtx.owner = current;
18270 rm -Rf build
&& mkdir
-p build
18271 echo "obj-m := conftest.o" >build
/Makefile
18272 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'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18284 { $as_echo "$as_me:$LINENO: result: yes" >&5
18285 $as_echo "yes" >&6; }
18287 cat >>confdefs.h
<<\_ACEOF
18288 #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
18293 $as_echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 { $as_echo "$as_me:$LINENO: result: no" >&5
18297 $as_echo "no" >&6; }
18306 EXTRA_KCFLAGS
="$tmp_flags"
18309 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
18310 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
18313 cat confdefs.h
- <<_ACEOF >conftest.c
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18321 #include <linux/mutex.h>
18327 struct mutex mutex;
18328 mutex_init(&mutex);
18329 mutex_lock_nested(&mutex, 0);
18338 rm -Rf build
&& mkdir
-p build
18339 echo "obj-m := conftest.o" >build
/Makefile
18340 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'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18352 { $as_echo "$as_me:$LINENO: result: yes" >&5
18353 $as_echo "yes" >&6; }
18355 cat >>confdefs.h
<<\_ACEOF
18356 #define HAVE_MUTEX_LOCK_NESTED 1
18361 $as_echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.
$ac_ext >&5
18364 { $as_echo "$as_me:$LINENO: result: no" >&5
18365 $as_echo "no" >&6; }
18376 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
18377 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
18380 cat confdefs.h
- <<_ACEOF >conftest.c
18383 cat confdefs.h
>>conftest.
$ac_ext
18384 cat >>conftest.
$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18388 #include <linux/smp.h>
18394 on_each_cpu(NULL, NULL, 0);
18403 rm -Rf build
&& mkdir
-p build
18404 echo "obj-m := conftest.o" >build
/Makefile
18405 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'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; }; then
18417 { $as_echo "$as_me:$LINENO: result: yes" >&5
18418 $as_echo "yes" >&6; }
18420 cat >>confdefs.h
<<\_ACEOF
18421 #define HAVE_3ARGS_ON_EACH_CPU 1
18426 $as_echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 { $as_echo "$as_me:$LINENO: result: no" >&5
18430 $as_echo "no" >&6; }
18441 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
18442 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
18443 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
18444 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18446 if test $rc -ne 0; then
18449 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
18450 "$LINUX_OBJ/$file" 2>/dev
/null
18452 if test $rc -eq 0; then
18457 if test $export -eq 0; then
18458 { $as_echo "$as_me:$LINENO: result: no" >&5
18459 $as_echo "no" >&6; }
18462 { $as_echo "$as_me:$LINENO: result: yes" >&5
18463 $as_echo "yes" >&6; }
18465 cat >>confdefs.h
<<\_ACEOF
18466 #define HAVE_KALLSYMS_LOOKUP_NAME 1
18471 { $as_echo "$as_me:$LINENO: result: yes" >&5
18472 $as_echo "yes" >&6; }
18474 cat >>confdefs.h
<<\_ACEOF
18475 #define HAVE_KALLSYMS_LOOKUP_NAME 1
18482 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
18483 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
18484 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
18485 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18487 if test $rc -ne 0; then
18490 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
18491 "$LINUX_OBJ/$file" 2>/dev
/null
18493 if test $rc -eq 0; then
18498 if test $export -eq 0; then
18499 { $as_echo "$as_me:$LINENO: result: no" >&5
18500 $as_echo "no" >&6; }
18503 { $as_echo "$as_me:$LINENO: result: yes" >&5
18504 $as_echo "yes" >&6; }
18506 cat >>confdefs.h
<<\_ACEOF
18507 #define HAVE_GET_VMALLOC_INFO 1
18512 { $as_echo "$as_me:$LINENO: result: yes" >&5
18513 $as_echo "yes" >&6; }
18515 cat >>confdefs.h
<<\_ACEOF
18516 #define HAVE_GET_VMALLOC_INFO 1
18523 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
18524 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
18525 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
18527 if test $rc -eq 0; then
18528 { $as_echo "$as_me:$LINENO: result: yes" >&5
18529 $as_echo "yes" >&6; }
18531 cat >>confdefs.h
<<\_ACEOF
18532 #define HAVE_PGDAT_HELPERS 1
18536 { $as_echo "$as_me:$LINENO: result: no" >&5
18537 $as_echo "no" >&6; }
18541 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
18542 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
18543 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
18544 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18546 if test $rc -ne 0; then
18549 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
18550 "$LINUX_OBJ/$file" 2>/dev
/null
18552 if test $rc -eq 0; then
18557 if test $export -eq 0; then
18558 { $as_echo "$as_me:$LINENO: result: no" >&5
18559 $as_echo "no" >&6; }
18562 { $as_echo "$as_me:$LINENO: result: yes" >&5
18563 $as_echo "yes" >&6; }
18565 cat >>confdefs.h
<<\_ACEOF
18566 #define HAVE_FIRST_ONLINE_PGDAT 1
18571 { $as_echo "$as_me:$LINENO: result: yes" >&5
18572 $as_echo "yes" >&6; }
18574 cat >>confdefs.h
<<\_ACEOF
18575 #define HAVE_FIRST_ONLINE_PGDAT 1
18582 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
18583 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
18584 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
18585 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18587 if test $rc -ne 0; then
18590 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
18591 "$LINUX_OBJ/$file" 2>/dev
/null
18593 if test $rc -eq 0; then
18598 if test $export -eq 0; then
18599 { $as_echo "$as_me:$LINENO: result: no" >&5
18600 $as_echo "no" >&6; }
18603 { $as_echo "$as_me:$LINENO: result: yes" >&5
18604 $as_echo "yes" >&6; }
18606 cat >>confdefs.h
<<\_ACEOF
18607 #define HAVE_NEXT_ONLINE_PGDAT 1
18612 { $as_echo "$as_me:$LINENO: result: yes" >&5
18613 $as_echo "yes" >&6; }
18615 cat >>confdefs.h
<<\_ACEOF
18616 #define HAVE_NEXT_ONLINE_PGDAT 1
18623 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
18624 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
18625 grep -q -E '[[:space:]]next_zone[[:space:]]' \
18626 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18628 if test $rc -ne 0; then
18631 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
18632 "$LINUX_OBJ/$file" 2>/dev
/null
18634 if test $rc -eq 0; then
18639 if test $export -eq 0; then
18640 { $as_echo "$as_me:$LINENO: result: no" >&5
18641 $as_echo "no" >&6; }
18644 { $as_echo "$as_me:$LINENO: result: yes" >&5
18645 $as_echo "yes" >&6; }
18647 cat >>confdefs.h
<<\_ACEOF
18648 #define HAVE_NEXT_ZONE 1
18653 { $as_echo "$as_me:$LINENO: result: yes" >&5
18654 $as_echo "yes" >&6; }
18656 cat >>confdefs.h
<<\_ACEOF
18657 #define HAVE_NEXT_ZONE 1
18664 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
18665 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
18666 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
18667 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18669 if test $rc -ne 0; then
18672 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
18673 "$LINUX_OBJ/$file" 2>/dev
/null
18675 if test $rc -eq 0; then
18680 if test $export -eq 0; then
18681 { $as_echo "$as_me:$LINENO: result: no" >&5
18682 $as_echo "no" >&6; }
18685 { $as_echo "$as_me:$LINENO: result: yes" >&5
18686 $as_echo "yes" >&6; }
18688 cat >>confdefs.h
<<\_ACEOF
18689 #define HAVE_PGDAT_LIST 1
18694 { $as_echo "$as_me:$LINENO: result: yes" >&5
18695 $as_echo "yes" >&6; }
18697 cat >>confdefs.h
<<\_ACEOF
18698 #define HAVE_PGDAT_LIST 1
18705 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
18706 $as_echo_n "checking whether global_page_state() is available... " >&6; }
18709 cat confdefs.h
- <<_ACEOF >conftest.c
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18717 #include <linux/mm.h>
18723 unsigned long state __attribute__ ((unused));
18724 state = global_page_state(0);
18733 rm -Rf build
&& mkdir
-p build
18734 echo "obj-m := conftest.o" >build
/Makefile
18735 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'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18747 { $as_echo "$as_me:$LINENO: result: yes" >&5
18748 $as_echo "yes" >&6; }
18750 cat >>confdefs.h
<<\_ACEOF
18751 #define HAVE_GLOBAL_PAGE_STATE 1
18756 $as_echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.
$ac_ext >&5
18759 { $as_echo "$as_me:$LINENO: result: no" >&5
18760 $as_echo "no" >&6; }
18771 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
18772 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
18775 cat confdefs.h
- <<_ACEOF >conftest.c
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18783 #include <linux/mm.h>
18789 enum zone_stat_item zsi __attribute__ ((unused));
18790 zsi = NR_FREE_PAGES;
18799 rm -Rf build
&& mkdir
-p build
18800 echo "obj-m := conftest.o" >build
/Makefile
18801 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'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18813 { $as_echo "$as_me:$LINENO: result: yes" >&5
18814 $as_echo "yes" >&6; }
18816 cat >>confdefs.h
<<\_ACEOF
18817 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
18822 $as_echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.
$ac_ext >&5
18825 { $as_echo "$as_me:$LINENO: result: no" >&5
18826 $as_echo "no" >&6; }
18837 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
18838 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
18841 cat confdefs.h
- <<_ACEOF >conftest.c
18844 cat confdefs.h
>>conftest.
$ac_ext
18845 cat >>conftest.
$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18849 #include <linux/mm.h>
18855 enum zone_stat_item zsi __attribute__ ((unused));
18865 rm -Rf build
&& mkdir
-p build
18866 echo "obj-m := conftest.o" >build
/Makefile
18867 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'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; }; then
18879 { $as_echo "$as_me:$LINENO: result: yes" >&5
18880 $as_echo "yes" >&6; }
18882 cat >>confdefs.h
<<\_ACEOF
18883 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
18888 $as_echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.
$ac_ext >&5
18891 { $as_echo "$as_me:$LINENO: result: no" >&5
18892 $as_echo "no" >&6; }
18902 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
18903 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
18906 cat confdefs.h
- <<_ACEOF >conftest.c
18909 cat confdefs.h
>>conftest.
$ac_ext
18910 cat >>conftest.
$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18914 #include <linux/mm.h>
18920 enum zone_stat_item zsi __attribute__ ((unused));
18921 zsi = NR_INACTIVE_ANON;
18930 rm -Rf build
&& mkdir
-p build
18931 echo "obj-m := conftest.o" >build
/Makefile
18932 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'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18944 { $as_echo "$as_me:$LINENO: result: yes" >&5
18945 $as_echo "yes" >&6; }
18947 cat >>confdefs.h
<<\_ACEOF
18948 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
18953 $as_echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18956 { $as_echo "$as_me:$LINENO: result: no" >&5
18957 $as_echo "no" >&6; }
18967 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
18968 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
18971 cat confdefs.h
- <<_ACEOF >conftest.c
18974 cat confdefs.h
>>conftest.
$ac_ext
18975 cat >>conftest.
$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18979 #include <linux/mm.h>
18985 enum zone_stat_item zsi __attribute__ ((unused));
18986 zsi = NR_INACTIVE_FILE;
18995 rm -Rf build
&& mkdir
-p build
18996 echo "obj-m := conftest.o" >build
/Makefile
18997 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'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19009 { $as_echo "$as_me:$LINENO: result: yes" >&5
19010 $as_echo "yes" >&6; }
19012 cat >>confdefs.h
<<\_ACEOF
19013 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
19018 $as_echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19021 { $as_echo "$as_me:$LINENO: result: no" >&5
19022 $as_echo "no" >&6; }
19033 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
19034 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
19037 cat confdefs.h
- <<_ACEOF >conftest.c
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19045 #include <linux/mm.h>
19051 enum zone_stat_item zsi __attribute__ ((unused));
19061 rm -Rf build
&& mkdir
-p build
19062 echo "obj-m := conftest.o" >build
/Makefile
19063 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'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19075 { $as_echo "$as_me:$LINENO: result: yes" >&5
19076 $as_echo "yes" >&6; }
19078 cat >>confdefs.h
<<\_ACEOF
19079 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
19084 $as_echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.
$ac_ext >&5
19087 { $as_echo "$as_me:$LINENO: result: no" >&5
19088 $as_echo "no" >&6; }
19098 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
19099 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
19102 cat confdefs.h
- <<_ACEOF >conftest.c
19105 cat confdefs.h
>>conftest.
$ac_ext
19106 cat >>conftest.
$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19110 #include <linux/mm.h>
19116 enum zone_stat_item zsi __attribute__ ((unused));
19117 zsi = NR_ACTIVE_ANON;
19126 rm -Rf build
&& mkdir
-p build
19127 echo "obj-m := conftest.o" >build
/Makefile
19128 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'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19140 { $as_echo "$as_me:$LINENO: result: yes" >&5
19141 $as_echo "yes" >&6; }
19143 cat >>confdefs.h
<<\_ACEOF
19144 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
19149 $as_echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19152 { $as_echo "$as_me:$LINENO: result: no" >&5
19153 $as_echo "no" >&6; }
19163 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
19164 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
19167 cat confdefs.h
- <<_ACEOF >conftest.c
19170 cat confdefs.h
>>conftest.
$ac_ext
19171 cat >>conftest.
$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19175 #include <linux/mm.h>
19181 enum zone_stat_item zsi __attribute__ ((unused));
19182 zsi = NR_ACTIVE_FILE;
19191 rm -Rf build
&& mkdir
-p build
19192 echo "obj-m := conftest.o" >build
/Makefile
19193 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'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19205 { $as_echo "$as_me:$LINENO: result: yes" >&5
19206 $as_echo "yes" >&6; }
19208 cat >>confdefs.h
<<\_ACEOF
19209 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
19214 $as_echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19217 { $as_echo "$as_me:$LINENO: result: no" >&5
19218 $as_echo "no" >&6; }
19229 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
19230 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
19233 cat confdefs.h
- <<_ACEOF >conftest.c
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19246 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
19247 #error "global_page_state needs NR_FREE_PAGES"
19250 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
19251 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
19252 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
19253 #error "global_page_state needs NR_ACTIVE*"
19256 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
19257 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
19258 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
19259 #error "global_page_state needs NR_INACTIVE*"
19269 rm -Rf build
&& mkdir
-p build
19270 echo "obj-m := conftest.o" >build
/Makefile
19271 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'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19283 { $as_echo "$as_me:$LINENO: result: no" >&5
19284 $as_echo "no" >&6; }
19287 $as_echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.
$ac_ext >&5
19290 { $as_echo "$as_me:$LINENO: result: yes" >&5
19291 $as_echo "yes" >&6; }
19293 cat >>confdefs.h
<<\_ACEOF
19294 #define NEED_GET_ZONE_COUNTS 1
19298 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
19299 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
19300 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
19301 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19303 if test $rc -ne 0; then
19306 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
19307 "$LINUX_OBJ/$file" 2>/dev
/null
19309 if test $rc -eq 0; then
19314 if test $export -eq 0; then
19315 { $as_echo "$as_me:$LINENO: result: no" >&5
19316 $as_echo "no" >&6; }
19319 { $as_echo "$as_me:$LINENO: result: yes" >&5
19320 $as_echo "yes" >&6; }
19322 cat >>confdefs.h
<<\_ACEOF
19323 #define HAVE_GET_ZONE_COUNTS 1
19328 { $as_echo "$as_me:$LINENO: result: yes" >&5
19329 $as_echo "yes" >&6; }
19331 cat >>confdefs.h
<<\_ACEOF
19332 #define HAVE_GET_ZONE_COUNTS 1
19347 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
19348 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
19349 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
19350 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19352 if test $rc -ne 0; then
19355 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
19356 "$LINUX_OBJ/$file" 2>/dev
/null
19358 if test $rc -eq 0; then
19363 if test $export -eq 0; then
19364 { $as_echo "$as_me:$LINENO: result: no" >&5
19365 $as_echo "no" >&6; }
19368 { $as_echo "$as_me:$LINENO: result: yes" >&5
19369 $as_echo "yes" >&6; }
19371 cat >>confdefs.h
<<\_ACEOF
19372 #define HAVE_USER_PATH_DIR 1
19377 { $as_echo "$as_me:$LINENO: result: yes" >&5
19378 $as_echo "yes" >&6; }
19380 cat >>confdefs.h
<<\_ACEOF
19381 #define HAVE_USER_PATH_DIR 1
19388 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
19389 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
19390 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
19391 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19393 if test $rc -ne 0; then
19396 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
19397 "$LINUX_OBJ/$file" 2>/dev
/null
19399 if test $rc -eq 0; then
19404 if test $export -eq 0; then
19405 { $as_echo "$as_me:$LINENO: result: no" >&5
19406 $as_echo "no" >&6; }
19409 { $as_echo "$as_me:$LINENO: result: yes" >&5
19410 $as_echo "yes" >&6; }
19412 cat >>confdefs.h
<<\_ACEOF
19413 #define HAVE_SET_FS_PWD 1
19418 { $as_echo "$as_me:$LINENO: result: yes" >&5
19419 $as_echo "yes" >&6; }
19421 cat >>confdefs.h
<<\_ACEOF
19422 #define HAVE_SET_FS_PWD 1
19428 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
19429 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
19432 cat confdefs.h
- <<_ACEOF >conftest.c
19435 cat confdefs.h
>>conftest.
$ac_ext
19436 cat >>conftest.
$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19440 #include <linux/sched.h>
19441 #include <linux/fs_struct.h>
19447 set_fs_pwd(NULL, NULL);
19456 rm -Rf build
&& mkdir
-p build
19457 echo "obj-m := conftest.o" >build
/Makefile
19458 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'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; }; then
19470 { $as_echo "$as_me:$LINENO: result: yes" >&5
19471 $as_echo "yes" >&6; }
19473 cat >>confdefs.h
<<\_ACEOF
19474 #define HAVE_2ARGS_SET_FS_PWD 1
19479 $as_echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.
$ac_ext >&5
19482 { $as_echo "$as_me:$LINENO: result: no" >&5
19483 $as_echo "no" >&6; }
19493 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
19494 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
19497 cat confdefs.h
- <<_ACEOF >conftest.c
19500 cat confdefs.h
>>conftest.
$ac_ext
19501 cat >>conftest.
$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19505 #include <linux/fs.h>
19511 vfs_unlink(NULL, NULL);
19520 rm -Rf build
&& mkdir
-p build
19521 echo "obj-m := conftest.o" >build
/Makefile
19522 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'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19534 { $as_echo "$as_me:$LINENO: result: yes" >&5
19535 $as_echo "yes" >&6; }
19537 cat >>confdefs.h
<<\_ACEOF
19538 #define HAVE_2ARGS_VFS_UNLINK 1
19543 $as_echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.
$ac_ext >&5
19546 { $as_echo "$as_me:$LINENO: result: no" >&5
19547 $as_echo "no" >&6; }
19557 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
19558 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
19561 cat confdefs.h
- <<_ACEOF >conftest.c
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19569 #include <linux/fs.h>
19575 vfs_rename(NULL, NULL, NULL, NULL);
19584 rm -Rf build
&& mkdir
-p build
19585 echo "obj-m := conftest.o" >build
/Makefile
19586 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'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; }; then
19598 { $as_echo "$as_me:$LINENO: result: yes" >&5
19599 $as_echo "yes" >&6; }
19601 cat >>confdefs.h
<<\_ACEOF
19602 #define HAVE_4ARGS_VFS_RENAME 1
19607 $as_echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.
$ac_ext >&5
19610 { $as_echo "$as_me:$LINENO: result: no" >&5
19611 $as_echo "no" >&6; }
19622 { $as_echo "$as_me:$LINENO: checking whether symbol vfs_fsync is exported" >&5
19623 $as_echo_n "checking whether symbol vfs_fsync is exported... " >&6; }
19624 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
19625 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19627 if test $rc -ne 0; then
19629 for file in fs
/sync.c
; do
19630 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
19631 "$LINUX_OBJ/$file" 2>/dev
/null
19633 if test $rc -eq 0; then
19638 if test $export -eq 0; then
19639 { $as_echo "$as_me:$LINENO: result: no" >&5
19640 $as_echo "no" >&6; }
19643 { $as_echo "$as_me:$LINENO: result: yes" >&5
19644 $as_echo "yes" >&6; }
19646 cat >>confdefs.h
<<\_ACEOF
19647 #define HAVE_VFS_FSYNC 1
19652 { $as_echo "$as_me:$LINENO: result: yes" >&5
19653 $as_echo "yes" >&6; }
19655 cat >>confdefs.h
<<\_ACEOF
19656 #define HAVE_VFS_FSYNC 1
19663 { $as_echo "$as_me:$LINENO: checking whether vfs_fsync() wants 2 args" >&5
19664 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
19667 cat confdefs.h
- <<_ACEOF >conftest.c
19670 cat confdefs.h
>>conftest.
$ac_ext
19671 cat >>conftest.
$ac_ext <<_ACEOF
19672 /* end confdefs.h. */
19675 #include <linux/fs.h>
19681 vfs_fsync(NULL, 0);
19690 rm -Rf build
&& mkdir
-p build
19691 echo "obj-m := conftest.o" >build
/Makefile
19692 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'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19704 { $as_echo "$as_me:$LINENO: result: yes" >&5
19705 $as_echo "yes" >&6; }
19707 cat >>confdefs.h
<<\_ACEOF
19708 #define HAVE_2ARGS_VFS_FSYNC 1
19713 $as_echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 { $as_echo "$as_me:$LINENO: result: no" >&5
19717 $as_echo "no" >&6; }
19728 { $as_echo "$as_me:$LINENO: checking whether struct fs_struct uses spinlock_t" >&5
19729 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
19730 tmp_flags
="$EXTRA_KCFLAGS"
19731 EXTRA_KCFLAGS
="-Werror"
19734 cat confdefs.h
- <<_ACEOF >conftest.c
19737 cat confdefs.h
>>conftest.
$ac_ext
19738 cat >>conftest.
$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19742 #include <linux/sched.h>
19743 #include <linux/fs_struct.h>
19749 struct fs_struct fs;
19750 spin_lock_init(&fs.lock);
19759 rm -Rf build
&& mkdir
-p build
19760 echo "obj-m := conftest.o" >build
/Makefile
19761 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'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; }; then
19773 { $as_echo "$as_me:$LINENO: result: yes" >&5
19774 $as_echo "yes" >&6; }
19776 cat >>confdefs.h
<<\_ACEOF
19777 #define HAVE_FS_STRUCT_SPINLOCK 1
19782 $as_echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.
$ac_ext >&5
19785 { $as_echo "$as_me:$LINENO: result: no" >&5
19786 $as_echo "no" >&6; }
19795 EXTRA_KCFLAGS
="$tmp_flags"
19798 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
19799 $as_echo_n "checking whether struct cred exists... " >&6; }
19802 cat confdefs.h
- <<_ACEOF >conftest.c
19805 cat confdefs.h
>>conftest.
$ac_ext
19806 cat >>conftest.
$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19810 #include <linux/cred.h>
19816 struct cred *cr __attribute__ ((unused));
19826 rm -Rf build
&& mkdir
-p build
19827 echo "obj-m := conftest.o" >build
/Makefile
19828 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'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; }; then
19840 { $as_echo "$as_me:$LINENO: result: yes" >&5
19841 $as_echo "yes" >&6; }
19843 cat >>confdefs.h
<<\_ACEOF
19844 #define HAVE_CRED_STRUCT 1
19849 $as_echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.
$ac_ext >&5
19852 { $as_echo "$as_me:$LINENO: result: no" >&5
19853 $as_echo "no" >&6; }
19864 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
19865 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
19866 grep -q -E '[[:space:]]groups_search[[:space:]]' \
19867 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19869 if test $rc -ne 0; then
19872 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
19873 "$LINUX_OBJ/$file" 2>/dev
/null
19875 if test $rc -eq 0; then
19880 if test $export -eq 0; then
19881 { $as_echo "$as_me:$LINENO: result: no" >&5
19882 $as_echo "no" >&6; }
19885 { $as_echo "$as_me:$LINENO: result: yes" >&5
19886 $as_echo "yes" >&6; }
19888 cat >>confdefs.h
<<\_ACEOF
19889 #define HAVE_GROUPS_SEARCH 1
19894 { $as_echo "$as_me:$LINENO: result: yes" >&5
19895 $as_echo "yes" >&6; }
19897 cat >>confdefs.h
<<\_ACEOF
19898 #define HAVE_GROUPS_SEARCH 1
19905 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
19906 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
19907 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
19908 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19910 if test $rc -ne 0; then
19913 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
19914 "$LINUX_OBJ/$file" 2>/dev
/null
19916 if test $rc -eq 0; then
19921 if test $export -eq 0; then
19922 { $as_echo "$as_me:$LINENO: result: no" >&5
19923 $as_echo "no" >&6; }
19926 { $as_echo "$as_me:$LINENO: result: yes" >&5
19927 $as_echo "yes" >&6; }
19929 cat >>confdefs.h
<<\_ACEOF
19930 #define HAVE_PUT_TASK_STRUCT 1
19935 { $as_echo "$as_me:$LINENO: result: yes" >&5
19936 $as_echo "yes" >&6; }
19938 cat >>confdefs.h
<<\_ACEOF
19939 #define HAVE_PUT_TASK_STRUCT 1
19946 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
19947 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
19950 cat confdefs.h
- <<_ACEOF >conftest.c
19953 cat confdefs.h
>>conftest.
$ac_ext
19954 cat >>conftest.
$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19958 #include <linux/sysctl.h>
19964 proc_dostring(NULL, 0, NULL, NULL, NULL);
19973 rm -Rf build
&& mkdir
-p build
19974 echo "obj-m := conftest.o" >build
/Makefile
19975 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'
19976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19977 (eval $ac_try) 2>&5
19979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19987 { $as_echo "$as_me:$LINENO: result: yes" >&5
19988 $as_echo "yes" >&6; }
19990 cat >>confdefs.h
<<\_ACEOF
19991 #define HAVE_5ARGS_PROC_HANDLER 1
19996 $as_echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.
$ac_ext >&5
19999 { $as_echo "$as_me:$LINENO: result: no" >&5
20000 $as_echo "no" >&6; }
20011 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
20012 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
20013 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
20014 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20016 if test $rc -ne 0; then
20019 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
20020 "$LINUX_OBJ/$file" 2>/dev
/null
20022 if test $rc -eq 0; then
20027 if test $export -eq 0; then
20028 { $as_echo "$as_me:$LINENO: result: no" >&5
20029 $as_echo "no" >&6; }
20032 { $as_echo "$as_me:$LINENO: result: yes" >&5
20033 $as_echo "yes" >&6; }
20035 cat >>confdefs.h
<<\_ACEOF
20036 #define HAVE_KVASPRINTF 1
20041 { $as_echo "$as_me:$LINENO: result: yes" >&5
20042 $as_echo "yes" >&6; }
20044 cat >>confdefs.h
<<\_ACEOF
20045 #define HAVE_KVASPRINTF 1
20052 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
20053 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
20054 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
20055 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20057 if test $rc -ne 0; then
20059 for file in lib
/rwsem-spinlock.c
; do
20060 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
20061 "$LINUX_OBJ/$file" 2>/dev
/null
20063 if test $rc -eq 0; then
20068 if test $export -eq 0; then
20069 { $as_echo "$as_me:$LINENO: result: no" >&5
20070 $as_echo "no" >&6; }
20073 { $as_echo "$as_me:$LINENO: result: yes" >&5
20074 $as_echo "yes" >&6; }
20076 cat >>confdefs.h
<<\_ACEOF
20077 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
20082 { $as_echo "$as_me:$LINENO: result: yes" >&5
20083 $as_echo "yes" >&6; }
20085 cat >>confdefs.h
<<\_ACEOF
20086 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
20093 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes is exported" >&5
20094 $as_echo_n "checking whether symbol invalidate_inodes is exported... " >&6; }
20095 grep -q -E '[[:space:]]invalidate_inodes[[:space:]]' \
20096 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20098 if test $rc -ne 0; then
20101 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes)" \
20102 "$LINUX_OBJ/$file" 2>/dev
/null
20104 if test $rc -eq 0; then
20109 if test $export -eq 0; then
20110 { $as_echo "$as_me:$LINENO: result: no" >&5
20111 $as_echo "no" >&6; }
20114 { $as_echo "$as_me:$LINENO: result: yes" >&5
20115 $as_echo "yes" >&6; }
20117 cat >>confdefs.h
<<\_ACEOF
20118 #define HAVE_INVALIDATE_INODES 1
20123 { $as_echo "$as_me:$LINENO: result: yes" >&5
20124 $as_echo "yes" >&6; }
20126 cat >>confdefs.h
<<\_ACEOF
20127 #define HAVE_INVALIDATE_INODES 1
20132 { $as_echo "$as_me:$LINENO: checking whether symbol invalidate_inodes_check is exported" >&5
20133 $as_echo_n "checking whether symbol invalidate_inodes_check is exported... " >&6; }
20134 grep -q -E '[[:space:]]invalidate_inodes_check[[:space:]]' \
20135 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20137 if test $rc -ne 0; then
20140 grep -q -E "EXPORT_SYMBOL.*(invalidate_inodes_check)" \
20141 "$LINUX_OBJ/$file" 2>/dev
/null
20143 if test $rc -eq 0; then
20148 if test $export -eq 0; then
20149 { $as_echo "$as_me:$LINENO: result: no" >&5
20150 $as_echo "no" >&6; }
20153 { $as_echo "$as_me:$LINENO: result: yes" >&5
20154 $as_echo "yes" >&6; }
20156 cat >>confdefs.h
<<\_ACEOF
20157 #define HAVE_INVALIDATE_INODES_CHECK 1
20162 { $as_echo "$as_me:$LINENO: result: yes" >&5
20163 $as_echo "yes" >&6; }
20165 cat >>confdefs.h
<<\_ACEOF
20166 #define HAVE_INVALIDATE_INODES_CHECK 1
20172 { $as_echo "$as_me:$LINENO: checking whether invalidate_inodes() wants 2 args" >&5
20173 $as_echo_n "checking whether invalidate_inodes() wants 2 args... " >&6; }
20176 cat confdefs.h
- <<_ACEOF >conftest.c
20179 cat confdefs.h
>>conftest.
$ac_ext
20180 cat >>conftest.
$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20184 #include <linux/fs.h>
20190 return __invalidate_device(NULL, 0);
20199 rm -Rf build
&& mkdir
-p build
20200 echo "obj-m := conftest.o" >build
/Makefile
20201 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'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20213 { $as_echo "$as_me:$LINENO: result: yes" >&5
20214 $as_echo "yes" >&6; }
20216 cat >>confdefs.h
<<\_ACEOF
20217 #define HAVE_2ARGS_INVALIDATE_INODES 1
20222 $as_echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.
$ac_ext >&5
20225 { $as_echo "$as_me:$LINENO: result: no" >&5
20226 $as_echo "no" >&6; }
20237 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_dcache_memory is exported" >&5
20238 $as_echo_n "checking whether symbol shrink_dcache_memory is exported... " >&6; }
20239 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
20240 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20242 if test $rc -ne 0; then
20244 for file in fs
/dcache.c
; do
20245 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
20246 "$LINUX_OBJ/$file" 2>/dev
/null
20248 if test $rc -eq 0; then
20253 if test $export -eq 0; then
20254 { $as_echo "$as_me:$LINENO: result: no" >&5
20255 $as_echo "no" >&6; }
20258 { $as_echo "$as_me:$LINENO: result: yes" >&5
20259 $as_echo "yes" >&6; }
20261 cat >>confdefs.h
<<\_ACEOF
20262 #define HAVE_SHRINK_DCACHE_MEMORY 1
20267 { $as_echo "$as_me:$LINENO: result: yes" >&5
20268 $as_echo "yes" >&6; }
20270 cat >>confdefs.h
<<\_ACEOF
20271 #define HAVE_SHRINK_DCACHE_MEMORY 1
20278 { $as_echo "$as_me:$LINENO: checking whether symbol shrink_icache_memory is exported" >&5
20279 $as_echo_n "checking whether symbol shrink_icache_memory is exported... " >&6; }
20280 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
20281 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20283 if test $rc -ne 0; then
20285 for file in fs
/inode.c
; do
20286 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
20287 "$LINUX_OBJ/$file" 2>/dev
/null
20289 if test $rc -eq 0; then
20294 if test $export -eq 0; then
20295 { $as_echo "$as_me:$LINENO: result: no" >&5
20296 $as_echo "no" >&6; }
20299 { $as_echo "$as_me:$LINENO: result: yes" >&5
20300 $as_echo "yes" >&6; }
20302 cat >>confdefs.h
<<\_ACEOF
20303 #define HAVE_SHRINK_ICACHE_MEMORY 1
20308 { $as_echo "$as_me:$LINENO: result: yes" >&5
20309 $as_echo "yes" >&6; }
20311 cat >>confdefs.h
<<\_ACEOF
20312 #define HAVE_SHRINK_ICACHE_MEMORY 1
20320 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent exists in header" >&5
20321 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
20323 for file in include
/linux
/namei.h
; do
20324 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
20326 if test $rc -eq 0; then
20331 if test $header -eq 0; then
20332 { $as_echo "$as_me:$LINENO: result: no" >&5
20333 $as_echo "no" >&6; }
20336 { $as_echo "$as_me:$LINENO: result: yes" >&5
20337 $as_echo "yes" >&6; }
20339 cat >>confdefs.h
<<\_ACEOF
20340 #define HAVE_KERN_PATH_PARENT_HEADER 1
20347 { $as_echo "$as_me:$LINENO: checking whether symbol kern_path_parent is exported" >&5
20348 $as_echo_n "checking whether symbol kern_path_parent is exported... " >&6; }
20349 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
20350 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20352 if test $rc -ne 0; then
20354 for file in fs
/namei.c
; do
20355 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
20356 "$LINUX_OBJ/$file" 2>/dev
/null
20358 if test $rc -eq 0; then
20363 if test $export -eq 0; then
20364 { $as_echo "$as_me:$LINENO: result: no" >&5
20365 $as_echo "no" >&6; }
20368 { $as_echo "$as_me:$LINENO: result: yes" >&5
20369 $as_echo "yes" >&6; }
20371 cat >>confdefs.h
<<\_ACEOF
20372 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
20377 { $as_echo "$as_me:$LINENO: result: yes" >&5
20378 $as_echo "yes" >&6; }
20380 cat >>confdefs.h
<<\_ACEOF
20381 #define HAVE_KERN_PATH_PARENT_SYMBOL 1
20387 { $as_echo "$as_me:$LINENO: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
20388 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
20391 cat confdefs.h
- <<_ACEOF >conftest.c
20394 cat confdefs.h
>>conftest.
$ac_ext
20395 cat >>conftest.
$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20399 #include <linux/zlib.h>
20405 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
20414 rm -Rf build
&& mkdir
-p build
20415 echo "obj-m := conftest.o" >build
/Makefile
20416 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'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; }; then
20428 { $as_echo "$as_me:$LINENO: result: yes" >&5
20429 $as_echo "yes" >&6; }
20431 cat >>confdefs.h
<<\_ACEOF
20432 #define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1
20437 $as_echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.
$ac_ext >&5
20440 { $as_echo "$as_me:$LINENO: result: no" >&5
20441 $as_echo "no" >&6; }
20452 { $as_echo "$as_me:$LINENO: checking whether struct shrink_control exists" >&5
20453 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
20456 cat confdefs.h
- <<_ACEOF >conftest.c
20459 cat confdefs.h
>>conftest.
$ac_ext
20460 cat >>conftest.
$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20464 #include <linux/mm.h>
20470 struct shrink_control sc __attribute__ ((unused));
20473 sc.gfp_mask = GFP_KERNEL;
20482 rm -Rf build
&& mkdir
-p build
20483 echo "obj-m := conftest.o" >build
/Makefile
20484 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'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20496 { $as_echo "$as_me:$LINENO: result: yes" >&5
20497 $as_echo "yes" >&6; }
20499 cat >>confdefs.h
<<\_ACEOF
20500 #define HAVE_SHRINK_CONTROL_STRUCT 1
20505 $as_echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.
$ac_ext >&5
20508 { $as_echo "$as_me:$LINENO: result: no" >&5
20509 $as_echo "no" >&6; }
20520 { $as_echo "$as_me:$LINENO: checking whether struct rw_semaphore member wait_lock is raw" >&5
20521 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
20522 tmp_flags
="$EXTRA_KCFLAGS"
20523 EXTRA_KCFLAGS
="-Werror"
20526 cat confdefs.h
- <<_ACEOF >conftest.c
20529 cat confdefs.h
>>conftest.
$ac_ext
20530 cat >>conftest.
$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20534 #include <linux/rwsem.h>
20540 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
20541 raw_spinlock_t dummy_lock __attribute__ ((unused));
20542 dummy_semaphore.wait_lock = dummy_lock;
20551 rm -Rf build
&& mkdir
-p build
20552 echo "obj-m := conftest.o" >build
/Makefile
20553 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'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20565 { $as_echo "$as_me:$LINENO: result: yes" >&5
20566 $as_echo "yes" >&6; }
20568 cat >>confdefs.h
<<\_ACEOF
20569 #define RWSEM_SPINLOCK_IS_RAW 1
20574 $as_echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 { $as_echo "$as_me:$LINENO: result: no" >&5
20578 $as_echo "no" >&6; }
20587 EXTRA_KCFLAGS
="$tmp_flags"
20593 { $as_echo "$as_me:$LINENO: result: Error!" >&5
20594 $as_echo "Error!" >&6; }
20595 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
20596 user kernel|user|all|srpm" >&5
20597 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
20598 user kernel|user|all|srpm" >&2;}
20599 { (exit 1); exit 1; }; } ;;
20602 if test "$SPL_CONFIG" = user ||
20603 test "$SPL_CONFIG" = all
; then
20605 CONFIG_USER_FALSE
='#'
20607 CONFIG_USER_TRUE
='#'
20611 if test "$SPL_CONFIG" = kernel ||
20612 test "$SPL_CONFIG" = all
; then
20613 CONFIG_KERNEL_TRUE
=
20614 CONFIG_KERNEL_FALSE
='#'
20616 CONFIG_KERNEL_TRUE
='#'
20617 CONFIG_KERNEL_FALSE
=
20622 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"
20625 cat >confcache
<<\_ACEOF
20626 # This file is a shell script that caches the results of configure
20627 # tests run on this system so they can be shared between configure
20628 # scripts and configure runs, see configure's option --config-cache.
20629 # It is not useful on other systems. If it contains results you don't
20630 # want to keep, you may remove or edit it.
20632 # config.status only pays attention to the cache file if you give it
20633 # the --recheck option to rerun configure.
20635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20637 # following values.
20641 # The following way of writing the cache mishandles newlines in values,
20642 # but we know of no workaround that is simple, portable, and efficient.
20643 # So, we kill variables containing newlines.
20644 # Ultrix sh set writes to stderr and can't be redirected directly,
20645 # and sets the high bit in the cache file unless we assign to the vars.
20647 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20648 eval ac_val
=\$
$ac_var
20652 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
20653 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20656 _ | IFS | as_nl
) ;; #(
20657 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20658 *) $as_unset $ac_var ;;
20664 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20665 *${as_nl}ac_space
=\
*)
20666 # `set' does not quote correctly, so add quotes (double-quote
20667 # substitution turns \\\\ into \\, and sed turns \\ into \).
20670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20673 # `set' quotes correctly as required by POSIX, so do not add quotes.
20674 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20683 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20685 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20687 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20688 if test -w "$cache_file"; then
20689 test "x$cache_file" != "x/dev/null" &&
20690 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
20691 $as_echo "$as_me: updating cache $cache_file" >&6;}
20692 cat confcache
>$cache_file
20694 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20695 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20700 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20701 # Let make expand exec_prefix.
20702 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20704 DEFS
=-DHAVE_CONFIG_H
20708 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20709 # 1. Remove the extension, and $U if already installed.
20710 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20711 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20712 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20713 # will be set to the directory where LIBOBJS objects are built.
20714 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20715 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20717 LIBOBJS
=$ac_libobjs
20719 LTLIBOBJS
=$ac_ltlibobjs
20722 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20723 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20724 Usually this means the macro was only invoked conditionally." >&5
20725 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20726 Usually this means the macro was only invoked conditionally." >&2;}
20727 { (exit 1); exit 1; }; }
20729 if test -n "$EXEEXT"; then
20731 am__EXEEXT_FALSE
='#'
20733 am__EXEEXT_TRUE
='#'
20737 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20738 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20739 Usually this means the macro was only invoked conditionally." >&5
20740 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20741 Usually this means the macro was only invoked conditionally." >&2;}
20742 { (exit 1); exit 1; }; }
20744 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20745 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20746 Usually this means the macro was only invoked conditionally." >&5
20747 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20748 Usually this means the macro was only invoked conditionally." >&2;}
20749 { (exit 1); exit 1; }; }
20751 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
20752 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
20753 Usually this means the macro was only invoked conditionally." >&5
20754 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
20755 Usually this means the macro was only invoked conditionally." >&2;}
20756 { (exit 1); exit 1; }; }
20758 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
20759 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
20760 Usually this means the macro was only invoked conditionally." >&5
20761 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
20762 Usually this means the macro was only invoked conditionally." >&2;}
20763 { (exit 1); exit 1; }; }
20766 : ${CONFIG_STATUS=./config.status}
20768 ac_clean_files_save
=$ac_clean_files
20769 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20770 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20771 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20772 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20774 # Generated by $as_me.
20775 # Run this file to recreate the current configuration.
20776 # Compiler output produced by configure, useful for debugging
20777 # configure, is in config.log if it exists.
20780 ac_cs_recheck=false
20782 SHELL=\${CONFIG_SHELL-$SHELL}
20785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20786 ## --------------------- ##
20787 ## M4sh Initialization. ##
20788 ## --------------------- ##
20790 # Be more Bourne compatible
20791 DUALCASE
=1; export DUALCASE
# for MKS sh
20792 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20796 # is contrary to our usage. Disable this feature.
20797 alias -g '${1+"$@"}'='"$@"'
20798 setopt NO_GLOB_SUBST
20800 case `(set -o) 2>/dev/null` in
20801 *posix
*) set -o posix
;;
20810 # Avoid depending upon Character Ranges.
20811 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20812 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20813 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20814 as_cr_digits
='0123456789'
20815 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20820 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20821 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20823 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20824 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20825 as_echo='printf %s
\n'
20826 as_echo_n='printf %s
'
20828 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20829 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20830 as_echo_n='/usr
/ucb
/echo -n'
20832 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20833 as_echo_n_body='eval
20837 expr "X$arg" : "X\\(.*\\)$as_nl";
20838 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20840 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20842 export as_echo_n_body
20843 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20845 export as_echo_body
20846 as_echo='sh
-c $as_echo_body as_echo
'
20849 # The user is always right.
20850 if test "${PATH_SEPARATOR+set}" != set; then
20852 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20853 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20858 # Support unset when possible.
20859 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20867 # We need space, tab and new line, in precisely that order. Quoting is
20868 # there to prevent editors from complaining about space-tab.
20869 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20870 # splitting by setting IFS to empty value.)
20873 # Find who we are. Look in the path if we contain no directory separator.
20875 *[\\/]* ) as_myself=$0 ;;
20876 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20877 for as_dir in $PATH
20880 test -z "$as_dir" && as_dir=.
20881 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20887 # We did not find ourselves, most probably we were run as `sh COMMAND'
20888 # in which case we are not to be found in the path.
20889 if test "x$as_myself" = x
; then
20892 if test ! -f "$as_myself"; then
20893 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20894 { (exit 1); exit 1; }
20897 # Work around bugs in pre-3.0 UWIN ksh.
20898 for as_var
in ENV MAIL MAILPATH
20899 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20911 # Required to use basename.
20912 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20913 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20919 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20920 as_basename
=basename
20926 # Name of the executable.
20927 as_me
=`$as_basename -- "$0" ||
20928 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20929 X"$0" : 'X\(//\)$' \| \
20930 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20932 sed '/^.*\/\([^/][^/]*\)\/*$/{
20951 as_lineno_1
=$LINENO
20952 as_lineno_2
=$LINENO
20953 test "x$as_lineno_1" != "x$as_lineno_2" &&
20954 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20956 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20957 # uniformly replaced by the line number. The first 'sed' inserts a
20958 # line-number line after each line using $LINENO; the second 'sed'
20959 # does the real work. The second script uses 'N' to pair each
20960 # line-number line with the line containing $LINENO, and appends
20961 # trailing '-' during substitution so that $LINENO is not a special
20962 # case at line end.
20963 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20964 # scripts with optimization help from Paolo Bonzini. Blame Lee
20965 # E. McMahon (1931-1989) for sed's syntax. :-)
20977 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20980 ' >$as_me.lineno
&&
20981 chmod +x
"$as_me.lineno" ||
20982 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20983 { (exit 1); exit 1; }; }
20985 # Don't try to exec as it changes $[0], causing all sort of problems
20986 # (the dirname of $[0] is not the place where we might find the
20987 # original and so on. Autoconf is especially sensitive to this).
20988 .
"./$as_me.lineno"
20989 # Exit status is that of the last command.
20994 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21000 ECHO_C
= ECHO_N
= ECHO_T
=
21001 case `echo -n x` in
21003 case `echo 'x\c'` in
21004 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21010 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21011 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21017 rm -f conf$$ conf$$.exe conf$$.
file
21018 if test -d conf$$.dir
; then
21019 rm -f conf$$.dir
/conf$$.
file
21022 mkdir conf$$.dir
2>/dev
/null
21024 if (echo >conf$$.
file) 2>/dev
/null
; then
21025 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21027 # ... but there are two gotchas:
21028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21030 # In both cases, we have to default to `cp -p'.
21031 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21033 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21041 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21042 rmdir conf$$.dir
2>/dev
/null
21044 if mkdir
-p .
2>/dev
/null
; then
21047 test -d .
/-p && rmdir .
/-p
21051 if test -x / >/dev
/null
2>&1; then
21052 as_test_x
='test -x'
21054 if ls -dL / >/dev
/null
2>&1; then
21061 if test -d "$1"; then
21067 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21068 ???[sx]*):;;*)false;;esac;fi
21072 as_executable_p
=$as_test_x
21074 # Sed expression to map a string onto a valid CPP name.
21075 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21077 # Sed expression to map a string onto a valid variable name.
21078 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21083 # Save the log message, to keep $[0] and so on meaningful, and to
21084 # report actual input values of CONFIG_FILES etc. instead of their
21085 # values after options handling.
21087 This file was extended by $as_me, which was
21088 generated by GNU Autoconf 2.63. Invocation command line was
21090 CONFIG_FILES = $CONFIG_FILES
21091 CONFIG_HEADERS = $CONFIG_HEADERS
21092 CONFIG_LINKS = $CONFIG_LINKS
21093 CONFIG_COMMANDS = $CONFIG_COMMANDS
21096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21101 case $ac_config_files in *"
21102 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21105 case $ac_config_headers in *"
21106 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21111 # Files that config.status was made for.
21112 config_files="$ac_config_files"
21113 config_headers="$ac_config_headers"
21114 config_commands="$ac_config_commands"
21118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21120 \`$as_me' instantiates files from templates according to the
21121 current configuration.
21123 Usage: $0 [OPTION]... [FILE]...
21125 -h, --help print this help, then exit
21126 -V, --version print version number and configuration settings, then exit
21127 -q, --quiet, --silent
21128 do not print progress messages
21129 -d, --debug don't remove temporary files
21130 --recheck update $as_me by reconfiguring in the same conditions
21131 --file=FILE[:TEMPLATE]
21132 instantiate the configuration file FILE
21133 --header=FILE[:TEMPLATE]
21134 instantiate the configuration header FILE
21136 Configuration files:
21139 Configuration headers:
21142 Configuration commands:
21145 Report bugs to <bug-autoconf@gnu.org>."
21148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21151 configured by $0, generated by GNU Autoconf 2.63,
21152 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21154 Copyright (C) 2008 Free Software Foundation, Inc.
21155 This config.status script is free software; the Free Software Foundation
21156 gives unlimited permission to copy, distribute and modify it."
21163 test -n "\$AWK" || AWK=awk
21166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21167 # The default lists apply if the user does not specify any file.
21173 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21174 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21185 # Handling of the options.
21186 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21188 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21189 $as_echo "$ac_cs_version"; exit ;;
21190 --debug |
--debu |
--deb |
--de |
--d |
-d )
21192 --file |
--fil |
--fi |
--f )
21195 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21197 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
21198 ac_need_defaults
=false
;;
21199 --header |
--heade |
--head |
--hea )
21202 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21204 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
21205 ac_need_defaults
=false
;;
21207 # Conflict between --help and --header
21208 { $as_echo "$as_me: error: ambiguous option: $1
21209 Try \`$0 --help' for more information." >&2
21210 { (exit 1); exit 1; }; };;
21211 --help |
--hel |
-h )
21212 $as_echo "$ac_cs_usage"; exit ;;
21213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21214 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21217 # This is an error.
21218 -*) { $as_echo "$as_me: error: unrecognized option: $1
21219 Try \`$0 --help' for more information." >&2
21220 { (exit 1); exit 1; }; } ;;
21222 *) ac_config_targets
="$ac_config_targets $1"
21223 ac_need_defaults
=false
;;
21229 ac_configure_extra_args
=
21231 if $ac_cs_silent; then
21233 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21238 if \$ac_cs_recheck; then
21239 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21241 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21242 CONFIG_SHELL='$SHELL'
21243 export CONFIG_SHELL
21248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21253 ## Running $as_me. ##
21259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21263 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21266 # The HP-UX ksh and POSIX shell print the target directory to stdout
21267 # if CDPATH is set.
21268 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21270 sed_quote_subst='$sed_quote_subst'
21271 double_quote_subst='$double_quote_subst'
21272 delay_variable_subst='$delay_variable_subst'
21273 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21274 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21275 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21276 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21277 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21278 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21279 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21280 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21281 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21282 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21283 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21284 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21285 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21286 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21287 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21288 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21289 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21290 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21291 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21292 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21293 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21294 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21295 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21296 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21297 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21298 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21299 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21300 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21301 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21302 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21303 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21304 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21305 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21306 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21307 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21308 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21309 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21310 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21311 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21312 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21313 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21314 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21315 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21316 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21317 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"`'
21318 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"`'
21319 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21320 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21321 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21322 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21323 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21324 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21325 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21326 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21327 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21328 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21329 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
21330 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
21331 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
21332 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21333 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
21334 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21335 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21336 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21337 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21338 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21339 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21340 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21341 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21342 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21343 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21344 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21345 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21346 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21347 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21348 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21349 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21350 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21351 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21352 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21353 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21354 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21355 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21356 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21357 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21358 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21359 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21360 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21361 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21362 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21363 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21364 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21365 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21366 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21367 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21368 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21369 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21370 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21371 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21372 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21373 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21374 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21375 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21376 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21377 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21378 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21379 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21380 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21381 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21382 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21383 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21384 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21385 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21386 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21387 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21388 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21389 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21390 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21393 LTCFLAGS='$LTCFLAGS'
21394 compiler='$compiler_DEFAULT'
21396 # Quote evaled strings.
21408 deplibs_check_method \
21417 lt_cv_sys_global_symbol_pipe \
21418 lt_cv_sys_global_symbol_to_cdecl \
21419 lt_cv_sys_global_symbol_to_c_name_address \
21420 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21423 lt_prog_compiler_no_builtin_flag \
21424 lt_prog_compiler_wl \
21425 lt_prog_compiler_pic \
21426 lt_prog_compiler_static \
21427 lt_cv_prog_compiler_c_o \
21435 export_dynamic_flag_spec \
21436 whole_archive_flag_spec \
21437 compiler_needs_object \
21439 allow_undefined_flag \
21440 no_undefined_flag \
21441 hardcode_libdir_flag_spec \
21442 hardcode_libdir_flag_spec_ld \
21443 hardcode_libdir_separator \
21448 variables_saved_for_relink \
21450 library_names_spec \
21455 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21456 *[\\\\\\\`\\"\\\$]*)
21457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21465 # Double-quote double-evaled strings.
21466 for var in reload_cmds \
21467 old_postinstall_cmds \
21468 old_postuninstall_cmds \
21470 extract_expsyms_cmds \
21471 old_archive_from_new_cmds \
21472 old_archive_from_expsyms_cmds \
21474 archive_expsym_cmds \
21476 module_expsym_cmds \
21477 export_symbols_cmds \
21480 postuninstall_cmds \
21482 sys_lib_search_path_spec \
21483 sys_lib_dlsearch_path_spec; do
21484 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21485 *[\\\\\\\`\\"\\\$]*)
21486 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21489 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21494 # Fix-up fallback echo if it was mangled by the above quoting rules.
21496 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21500 ac_aux_dir='$ac_aux_dir'
21501 xsi_shell='$xsi_shell'
21502 lt_shell_append='$lt_shell_append'
21504 # See if we are running on zsh, and set the options which allow our
21505 # commands through without removal of \ escapes INIT.
21506 if test -n "\${ZSH_VERSION+set}" ; then
21507 setopt NO_GLOB_SUBST
21513 TIMESTAMP='$TIMESTAMP'
21522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21524 # Handling of arguments.
21525 for ac_config_target
in $ac_config_targets
21527 case $ac_config_target in
21528 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
21529 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21530 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21531 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21532 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
21533 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
21534 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
21535 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
21536 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
21537 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21538 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
21539 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
21540 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
21541 "PKGBUILD-spl") CONFIG_FILES
="$CONFIG_FILES PKGBUILD-spl" ;;
21542 "PKGBUILD-spl-modules") CONFIG_FILES
="$CONFIG_FILES PKGBUILD-spl-modules" ;;
21544 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21545 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21546 { (exit 1); exit 1; }; };;
21551 # If the user did not use the arguments to specify the items to instantiate,
21552 # then the envvar interface is used. Set only those that are not.
21553 # We use the long form for the default assignment because of an extremely
21554 # bizarre bug on SunOS 4.1.3.
21555 if $ac_need_defaults; then
21556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21561 # Have a temporary directory for convenience. Make it in the build tree
21562 # simply because there is no reason against having it here, and in addition,
21563 # creating and moving files from /tmp can sometimes cause problems.
21564 # Hook for its removal unless debugging.
21565 # Note that there is a small window in which the directory will not be cleaned:
21566 # after its creation but before its name has been assigned to `$tmp'.
21570 trap 'exit_status=$?
21571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21573 trap '{ (exit 1); exit 1; }' 1 2 13 15
21575 # Create a (secure) tmp directory for tmp files.
21578 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21579 test -n "$tmp" && test -d "$tmp"
21582 tmp
=.
/conf$$
-$RANDOM
21583 (umask 077 && mkdir
"$tmp")
21586 $as_echo "$as_me: cannot create a temporary directory in ." >&2
21587 { (exit 1); exit 1; }
21590 # Set up the scripts for CONFIG_FILES section.
21591 # No need to generate them if there are no CONFIG_FILES.
21592 # This happens for instance with `./config.status config.h'.
21593 if test -n "$CONFIG_FILES"; then
21597 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21598 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21601 ac_cs_awk_cr
=$ac_cr
21604 echo 'BEGIN {' >"$tmp/subs1.awk" &&
21609 echo "cat >conf$$subs.awk <<_ACEOF" &&
21610 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21612 } >conf$$subs.sh ||
21613 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21614 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21615 { (exit 1); exit 1; }; }
21616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21618 for ac_last_try in false false false false false :; do
21619 . ./conf$$subs.sh ||
21620 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21621 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21622 { (exit 1); exit 1; }; }
21624 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21625 if test $ac_delim_n = $ac_delim_num; then
21627 elif $ac_last_try; then
21628 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21629 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21630 { (exit 1); exit 1; }; }
21632 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21635 rm -f conf$$subs.sh
21637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21638 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
21642 s/^/S["/; s
/!.
*/"]=/
21652 s/\(.\{148\}\).*/\1/
21654 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21659 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21666 s/\(.\{148\}\).*/\1/
21668 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21672 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21677 ' <conf$$subs.awk | sed '
21682 ' >>$CONFIG_STATUS || ac_write_fail=1
21683 rm -f conf$$subs.awk
21684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21686 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
21687 for (key in S) S_is_set[key] = 1
21693 nfields = split(line, field, "@
")
21695 len = length(field[1])
21696 for (i = 2; i < nfields; i++) {
21698 keylen = length(key)
21699 if (S_is_set[key]) {
21701 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21702 len += length(value) + length(field[++i])
21713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21714 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21715 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21718 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
21719 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
21720 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
21721 { (exit 1); exit 1; }; }
21724 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21725 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
21726 # trailing colons and then remove the whole line if VPATH becomes empty
21727 # (actually we leave an empty line to preserve line numbers).
21728 if test "x
$srcdir" = x.; then
21729 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21730 s/:*\$(srcdir):*/:/
21731 s/:*\${srcdir}:*/:/
21733 s/^\([^=]*=[ ]*\):*/\1/
21739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21740 fi # test -n "$CONFIG_FILES"
21742 # Set up the scripts for CONFIG_HEADERS section.
21743 # No need to generate them if there are no CONFIG_HEADERS.
21744 # This happens for instance with `./config.status Makefile'.
21745 if test -n "$CONFIG_HEADERS"; then
21746 cat >"$tmp/defines.
awk" <<\_ACAWK ||
21750 # Transform confdefs.h into an awk script `defines.awk', embedded as
21751 # here-document in config.status, that substitutes the proper values into
21752 # config.h.in to produce config.h.
21754 # Create a delimiter string that does not exist in confdefs.h, to ease
21755 # handling of long lines.
21757 for ac_last_try in false false :; do
21758 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
21759 if test -z "$ac_t"; then
21761 elif $ac_last_try; then
21762 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
21763 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
21764 { (exit 1); exit 1; }; }
21766 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21770 # For the awk script, D is an array of macro values keyed by name,
21771 # likewise P contains macro parameters if any. Preserve backslash
21772 # newline sequences.
21774 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21776 s/.\{148\}/&'"$ac_delim"'/g
21779 s/^[ ]*#[ ]*define[ ][ ]*/ /
21786 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21788 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21792 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21793 D["\
1"]=" \
3\\\\\\n
"\\/p
21795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21800 s/.\{148\}/&'"$ac_delim"'/g
21805 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21808 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21810 ' <confdefs.h | sed '
21811 s/'"$ac_delim"'/"\\\
21812 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21815 for (key in D) D_is_set[key] = 1
21818 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21820 split(line, arg, " ")
21821 if (arg[1] == "#") {
21825 defundef
= substr
(arg
[1], 2)
21828 split(mac1
, mac2
, "(") #)
21830 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21831 if (D_is_set
[macro
]) {
21832 # Preserve the white space surrounding the "#".
21833 print prefix
"define", macro P
[macro
] D
[macro
]
21836 # Replace #undef with comments. This is necessary, for example,
21837 # in the case of _POSIX_SOURCE, which is predefined and required
21838 # on some systems where configure will not decide to define it.
21839 if (defundef
== "undef") {
21840 print
"/*", prefix defundef
, macro
, "*/"
21848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21849 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21850 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21851 { (exit 1); exit 1; }; }
21852 fi # test -n "$CONFIG_HEADERS"
21855 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21860 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21862 case $ac_mode$ac_tag in
21864 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21865 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21866 { (exit 1); exit 1; }; };;
21867 :[FH
]-) ac_tag
=-:-;;
21868 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21885 -) ac_f
="$tmp/stdin";;
21886 *) # Look for the file first in the build tree, then in the source tree
21887 # (if the path is not absolute). The absolute path cannot be DOS-style,
21888 # because $ac_f cannot contain `:'.
21892 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21894 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21895 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21896 { (exit 1); exit 1; }; };;
21898 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21899 ac_file_inputs
="$ac_file_inputs '$ac_f'"
21902 # Let's still pretend it is `configure' which instantiates (i.e., don't
21903 # use $as_me), people would be surprised to read:
21904 # /* config.h. Generated by config.status. */
21905 configure_input
='Generated from '`
21906 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21908 if test x
"$ac_file" != x-
; then
21909 configure_input
="$ac_file. $configure_input"
21910 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
21911 $as_echo "$as_me: creating $ac_file" >&6;}
21913 # Neutralize special characters interpreted by sed in replacement strings.
21914 case $configure_input in #(
21915 *\
&* |
*\|
* |
*\\* )
21916 ac_sed_conf_input
=`$as_echo "$configure_input" |
21917 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21918 *) ac_sed_conf_input
=$configure_input;;
21922 *:-:* |
*:-) cat >"$tmp/stdin" \
21923 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21924 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21925 { (exit 1); exit 1; }; } ;;
21930 ac_dir
=`$as_dirname -- "$ac_file" ||
21931 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21932 X"$ac_file" : 'X\(//\)[^/]' \| \
21933 X"$ac_file" : 'X\(//\)$' \| \
21934 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21935 $as_echo X"$ac_file" |
21936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21940 /^X\(\/\/\)[^/].*/{
21955 -*) as_dir
=.
/$as_dir;;
21957 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21961 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21962 *) as_qdir
=$as_dir;;
21964 as_dirs
="'$as_qdir' $as_dirs"
21965 as_dir
=`$as_dirname -- "$as_dir" ||
21966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21967 X"$as_dir" : 'X\(//\)[^/]' \| \
21968 X"$as_dir" : 'X\(//\)$' \| \
21969 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21970 $as_echo X"$as_dir" |
21971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21975 /^X\(\/\/\)[^/].*/{
21988 test -d "$as_dir" && break
21990 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21991 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21992 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21993 { (exit 1); exit 1; }; }; }
21997 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21999 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22000 # A ".." for each directory in $ac_dir_suffix.
22001 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22002 case $ac_top_builddir_sub in
22003 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22004 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22007 ac_abs_top_builddir
=$ac_pwd
22008 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22009 # for backward compatibility:
22010 ac_top_builddir
=$ac_top_build_prefix
22013 .
) # We are building in place.
22015 ac_top_srcdir
=$ac_top_builddir_sub
22016 ac_abs_top_srcdir
=$ac_pwd ;;
22017 [\\/]* | ?
:[\\/]* ) # Absolute name.
22018 ac_srcdir
=$srcdir$ac_dir_suffix;
22019 ac_top_srcdir
=$srcdir
22020 ac_abs_top_srcdir
=$srcdir ;;
22021 *) # Relative name.
22022 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22023 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22024 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22026 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22036 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22037 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22039 ac_MKDIR_P
=$MKDIR_P
22041 [\\/$
]* | ?
:[\\/]* ) ;;
22042 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22047 # If the template does not know about datarootdir, expand it.
22048 # FIXME: This hack should be removed a few years after 2.60.
22049 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22062 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22063 *datarootdir
*) ac_datarootdir_seen
=yes;;
22064 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22065 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22066 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22069 ac_datarootdir_hack='
22070 s&@datadir@&$datadir&g
22071 s&@docdir@&$docdir&g
22072 s&@infodir@&$infodir&g
22073 s&@localedir@&$localedir&g
22074 s&@mandir@&$mandir&g
22075 s&\\\${datarootdir}&$datarootdir&g' ;;
22079 # Neutralize VPATH when `$srcdir' = `.'.
22080 # Shell code in configure.ac might set extrasub.
22081 # FIXME: do we really want to maintain this feature?
22082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22083 ac_sed_extra="$ac_vpsub
22086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22088 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22089 s|@configure_input@|
$ac_sed_conf_input|
;t t
22090 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22091 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22092 s
&@srcdir@
&$ac_srcdir&;t t
22093 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22094 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22095 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22096 s
&@builddir@
&$ac_builddir&;t t
22097 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22098 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22099 s
&@INSTALL@
&$ac_INSTALL&;t t
22100 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22101 $ac_datarootdir_hack
22103 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
22104 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
22105 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
22106 { (exit 1); exit 1; }; }
22108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22109 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22110 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22111 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22112 which seems to be undefined. Please make sure it is defined." >&5
22113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22114 which seems to be undefined. Please make sure it is defined." >&2;}
22118 -) cat "$tmp/out" && rm -f "$tmp/out";;
22119 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22121 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22122 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22123 { (exit 1); exit 1; }; }
22129 if test x"$ac_file" != x-; then
22131 $as_echo "/* $configure_input */" \
22132 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22133 } >"$tmp/config.h" \
22134 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22135 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22136 { (exit 1); exit 1; }; }
22137 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22138 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22139 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22142 mv "$tmp/config.h" "$ac_file" \
22143 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22144 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22145 { (exit 1); exit 1; }; }
22148 $as_echo "/* $configure_input */" \
22149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22150 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22151 $as_echo "$as_me: error: could not create -" >&2;}
22152 { (exit 1); exit 1; }; }
22154 # Compute "$ac_file"'s index
in $config_headers.
22157 for _am_header
in $config_headers :; do
22158 case $_am_header in
22159 $_am_arg |
$_am_arg:* )
22162 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22167 X"$_am_arg" : 'X\(//\)[^/]' \| \
22168 X"$_am_arg" : 'X\(//\)$' \| \
22169 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22170 $as_echo X"$_am_arg" |
22171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22175 /^X\(\/\/\)[^/].*/{
22187 s/.*/./; q'`/stamp-h
$_am_stamp_count
22190 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22191 $as_echo "$as_me: executing $ac_file commands" >&6;}
22196 case $ac_file$ac_mode in
22198 (mv spl_config.h spl_config.h.tmp
&&
22199 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
22200 rm spl_config.h.tmp
) ||
exit 1 ;;
22201 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22202 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22203 # are listed without --file. Let's play safe and only enable the eval
22204 # if we detect the quoting.
22205 case $CONFIG_FILES in
22206 *\'*) eval set x
"$CONFIG_FILES" ;;
22207 *) set x
$CONFIG_FILES ;;
22212 # Strip MF so we end up with the name of the file.
22213 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22214 # Check whether this is an Automake generated Makefile or not.
22215 # We used to match only the files named `Makefile.in', but
22216 # some people rename them; so instead we look at the file content.
22217 # Grep'ing the first line is not enough: some people post-process
22218 # each Makefile.in and add a new line on top of each file to say so.
22219 # Grep'ing the whole file is not good either: AIX grep has a line
22220 # limit of 2048, but all sed's we know have understand at least 4000.
22221 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22222 dirpart
=`$as_dirname -- "$mf" ||
22223 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22224 X"$mf" : 'X\(//\)[^/]' \| \
22225 X"$mf" : 'X\(//\)$' \| \
22226 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22232 /^X\(\/\/\)[^/].*/{
22248 # Extract the definition of DEPDIR, am__include, and am__quote
22249 # from the Makefile without running `make'.
22250 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22251 test -z "$DEPDIR" && continue
22252 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22253 test -z "am__include" && continue
22254 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22255 # When using ansi2knr, U may be empty or an underscore; expand it
22256 U
=`sed -n 's/^U = //p' < "$mf"`
22257 # Find all dependency output files, they are included files with
22258 # $(DEPDIR) in their names. We invoke sed twice because it is the
22259 # simplest approach to changing $(DEPDIR) to its actual value in the
22261 for file in `sed -n "
22262 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22263 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22264 # Make sure the directory exists.
22265 test -f "$dirpart/$file" && continue
22266 fdir
=`$as_dirname -- "$file" ||
22267 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22268 X"$file" : 'X\(//\)[^/]' \| \
22269 X"$file" : 'X\(//\)$' \| \
22270 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22271 $as_echo X"$file" |
22272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22276 /^X\(\/\/\)[^/].*/{
22289 { as_dir
=$dirpart/$fdir
22291 -*) as_dir
=.
/$as_dir;;
22293 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22298 *) as_qdir
=$as_dir;;
22300 as_dirs
="'$as_qdir' $as_dirs"
22301 as_dir
=`$as_dirname -- "$as_dir" ||
22302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22303 X"$as_dir" : 'X\(//\)[^/]' \| \
22304 X"$as_dir" : 'X\(//\)$' \| \
22305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22306 $as_echo X"$as_dir" |
22307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22311 /^X\(\/\/\)[^/].*/{
22324 test -d "$as_dir" && break
22326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22327 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22328 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22329 { (exit 1); exit 1; }; }; }
22330 # echo "creating $dirpart/$file"
22331 echo '# dummy' > "$dirpart/$file"
22338 # See if we are running on zsh, and set the options which allow our
22339 # commands through without removal of \ escapes.
22340 if test -n "${ZSH_VERSION+set}" ; then
22341 setopt NO_GLOB_SUBST
22344 cfgfile
="${ofile}T"
22345 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22348 cat <<_LT_EOF >> "$cfgfile"
22351 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22352 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22353 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22354 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22356 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22357 # 2006, 2007, 2008 Free Software Foundation, Inc.
22358 # Written by Gordon Matzigkeit, 1996
22360 # This file is part of GNU Libtool.
22362 # GNU Libtool is free software; you can redistribute it and/or
22363 # modify it under the terms of the GNU General Public License as
22364 # published by the Free Software Foundation; either version 2 of
22365 # the License, or (at your option) any later version.
22367 # As a special exception to the GNU General Public License,
22368 # if you distribute this file as part of a program or library that
22369 # is built using GNU Libtool, you may include this file under the
22370 # same distribution terms that you use for the rest of that program.
22372 # GNU Libtool is distributed in the hope that it will be useful,
22373 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22374 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22375 # GNU General Public License for more details.
22377 # You should have received a copy of the GNU General Public License
22378 # along with GNU Libtool; see the file COPYING. If not, a copy
22379 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22380 # obtained by writing to the Free Software Foundation, Inc.,
22381 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22384 # The names of the tagged configurations supported by this script.
22387 # ### BEGIN LIBTOOL CONFIG
22389 # Which release of libtool.m4 was used?
22390 macro_version=$macro_version
22391 macro_revision=$macro_revision
22393 # Whether or not to build shared libraries.
22394 build_libtool_libs=$enable_shared
22396 # Whether or not to build static libraries.
22397 build_old_libs=$enable_static
22399 # What type of objects to build.
22402 # Whether or not to optimize for fast installation.
22403 fast_install=$enable_fast_install
22406 host_alias=$host_alias
22410 # The build system.
22411 build_alias=$build_alias
22415 # A sed program that does not truncate output.
22418 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22419 Xsed="\$SED -e 1s/^X//"
22421 # A grep program that handles long lines.
22427 # A literal string matcher.
22430 # A BSD- or MS-compatible name lister.
22433 # Whether we need soft or hard links.
22436 # What is the maximum length of a command?
22437 max_cmd_len=$max_cmd_len
22439 # Object file suffix (normally "o").
22442 # Executable file suffix (normally "").
22445 # whether the shell understands "unset".
22448 # turn spaces into newlines.
22451 # turn newlines into spaces.
22454 # How to create reloadable object files.
22455 reload_flag=$lt_reload_flag
22456 reload_cmds=$lt_reload_cmds
22458 # An object symbol dumper.
22459 OBJDUMP=$lt_OBJDUMP
22461 # Method to check whether dependent libraries are shared objects.
22462 deplibs_check_method=$lt_deplibs_check_method
22464 # Command to use when deplibs_check_method == "file_magic".
22465 file_magic_cmd=$lt_file_magic_cmd
22469 AR_FLAGS=$lt_AR_FLAGS
22471 # A symbol stripping program.
22474 # Commands used to install an old-style archive.
22476 old_postinstall_cmds=$lt_old_postinstall_cmds
22477 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22482 # LTCC compiler flags.
22483 LTCFLAGS=$lt_CFLAGS
22485 # Take the output of nm and produce a listing of raw symbols and C names.
22486 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22488 # Transform the output of nm in a proper C declaration.
22489 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22491 # Transform the output of nm in a C name address pair.
22492 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22494 # Transform the output of nm in a C name address pair when lib prefix is needed.
22495 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22497 # The name of the directory that contains temporary libtool files.
22500 # Shell to use when invoking shell scripts.
22503 # An echo program that does not interpret backslashes.
22506 # Used to examine libraries when file_magic_cmd begins with "file".
22507 MAGIC_CMD=$MAGIC_CMD
22509 # Must we lock files when doing compilation?
22510 need_locks=$lt_need_locks
22512 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22513 DSYMUTIL=$lt_DSYMUTIL
22515 # Tool to change global to local symbols on Mac OS X.
22518 # Tool to manipulate fat objects and archives on Mac OS X.
22521 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22524 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22525 OTOOL64=$lt_OTOOL64
22527 # Old archive suffix (normally "a").
22530 # Shared library suffix (normally ".so").
22531 shrext_cmds=$lt_shrext_cmds
22533 # The commands to extract the exported symbol list from a shared archive.
22534 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22536 # Variables whose values should be saved in libtool wrapper scripts and
22537 # restored at link time.
22538 variables_saved_for_relink=$lt_variables_saved_for_relink
22540 # Do we need the "lib" prefix for modules?
22541 need_lib_prefix=$need_lib_prefix
22543 # Do we need a version for libraries?
22544 need_version=$need_version
22546 # Library versioning type.
22547 version_type=$version_type
22549 # Shared library runtime path variable.
22550 runpath_var=$runpath_var
22552 # Shared library path variable.
22553 shlibpath_var=$shlibpath_var
22555 # Is shlibpath searched before the hard-coded library search path?
22556 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22558 # Format of library name prefix.
22559 libname_spec=$lt_libname_spec
22561 # List of archive names. First name is the real one, the rest are links.
22562 # The last name is the one that the linker finds with -lNAME
22563 library_names_spec=$lt_library_names_spec
22565 # The coded name of the library, if different from the real name.
22566 soname_spec=$lt_soname_spec
22568 # Command to use after installation of a shared archive.
22569 postinstall_cmds=$lt_postinstall_cmds
22571 # Command to use after uninstallation of a shared archive.
22572 postuninstall_cmds=$lt_postuninstall_cmds
22574 # Commands used to finish a libtool library installation in a directory.
22575 finish_cmds=$lt_finish_cmds
22577 # As "finish_cmds", except a single script fragment to be evaled but
22579 finish_eval=$lt_finish_eval
22581 # Whether we should hardcode library paths into libraries.
22582 hardcode_into_libs=$hardcode_into_libs
22584 # Compile-time system search path for libraries.
22585 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22587 # Run-time system search path for libraries.
22588 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22590 # Whether dlopen is supported.
22591 dlopen_support=$enable_dlopen
22593 # Whether dlopen of programs is supported.
22594 dlopen_self=$enable_dlopen_self
22596 # Whether dlopen of statically linked programs is supported.
22597 dlopen_self_static=$enable_dlopen_self_static
22599 # Commands to strip libraries.
22600 old_striplib=$lt_old_striplib
22601 striplib=$lt_striplib
22604 # The linker used to build libraries.
22607 # Commands used to build an old-style archive.
22608 old_archive_cmds=$lt_old_archive_cmds
22610 # A language specific compiler.
22613 # Is the compiler the GNU compiler?
22616 # Compiler flag to turn off builtin functions.
22617 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22619 # How to pass a linker flag through the compiler.
22620 wl=$lt_lt_prog_compiler_wl
22622 # Additional compiler flags for building library objects.
22623 pic_flag=$lt_lt_prog_compiler_pic
22625 # Compiler flag to prevent dynamic linking.
22626 link_static_flag=$lt_lt_prog_compiler_static
22628 # Does compiler simultaneously support -c and -o options?
22629 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22631 # Whether or not to add -lc for building shared libraries.
22632 build_libtool_need_lc=$archive_cmds_need_lc
22634 # Whether or not to disallow shared libs when runtime libs are static.
22635 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22637 # Compiler flag to allow reflexive dlopens.
22638 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22640 # Compiler flag to generate shared objects directly from archives.
22641 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22643 # Whether the compiler copes with passing no objects directly.
22644 compiler_needs_object=$lt_compiler_needs_object
22646 # Create an old-style archive from a shared archive.
22647 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22649 # Create a temporary old-style archive to link instead of a shared archive.
22650 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22652 # Commands used to build a shared archive.
22653 archive_cmds=$lt_archive_cmds
22654 archive_expsym_cmds=$lt_archive_expsym_cmds
22656 # Commands used to build a loadable module if different from building
22657 # a shared archive.
22658 module_cmds=$lt_module_cmds
22659 module_expsym_cmds=$lt_module_expsym_cmds
22661 # Whether we are building with GNU ld or not.
22662 with_gnu_ld=$lt_with_gnu_ld
22664 # Flag that allows shared libraries with undefined symbols to be built.
22665 allow_undefined_flag=$lt_allow_undefined_flag
22667 # Flag that enforces no undefined symbols.
22668 no_undefined_flag=$lt_no_undefined_flag
22670 # Flag to hardcode \$libdir into a binary during linking.
22671 # This must work even if \$libdir does not exist
22672 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22674 # If ld is used when linking, flag to hardcode \$libdir into a binary
22675 # during linking. This must work even if \$libdir does not exist.
22676 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22678 # Whether we need a single "-rpath" flag with a separated argument.
22679 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22681 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22682 # DIR into the resulting binary.
22683 hardcode_direct=$hardcode_direct
22685 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22686 # DIR into the resulting binary and the resulting library dependency is
22687 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22688 # library is relocated.
22689 hardcode_direct_absolute=$hardcode_direct_absolute
22691 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22692 # into the resulting binary.
22693 hardcode_minus_L=$hardcode_minus_L
22695 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22696 # into the resulting binary.
22697 hardcode_shlibpath_var=$hardcode_shlibpath_var
22699 # Set to "yes" if building a shared library automatically hardcodes DIR
22700 # into the library and all subsequent libraries and executables linked
22702 hardcode_automatic=$hardcode_automatic
22704 # Set to yes if linker adds runtime paths of dependent libraries
22705 # to runtime path list.
22706 inherit_rpath=$inherit_rpath
22708 # Whether libtool must link a program against all its dependency libraries.
22709 link_all_deplibs=$link_all_deplibs
22711 # Fix the shell variable \$srcfile for the compiler.
22712 fix_srcfile_path=$lt_fix_srcfile_path
22714 # Set to "yes" if exported symbols are required.
22715 always_export_symbols=$always_export_symbols
22717 # The commands to list exported symbols.
22718 export_symbols_cmds=$lt_export_symbols_cmds
22720 # Symbols that should not be listed in the preloaded symbols.
22721 exclude_expsyms=$lt_exclude_expsyms
22723 # Symbols that must always be exported.
22724 include_expsyms=$lt_include_expsyms
22726 # Commands necessary for linking programs (against libraries) with templates.
22727 prelink_cmds=$lt_prelink_cmds
22729 # Specify filename containing input files.
22730 file_list_spec=$lt_file_list_spec
22732 # How to hardcode a shared library path into an executable.
22733 hardcode_action=$hardcode_action
22735 # ### END LIBTOOL CONFIG
22741 cat <<\_LT_EOF
>> "$cfgfile"
22742 # AIX sometimes has problems with the GCC collect2 program. For some
22743 # reason, if we set the COLLECT_NAMES environment variable, the problems
22744 # vanish in a puff of smoke.
22745 if test "X${COLLECT_NAMES+set}" != Xset
; then
22747 export COLLECT_NAMES
22754 ltmain
="$ac_aux_dir/ltmain.sh"
22757 # We use sed instead of cat because bash on DJGPP gets confused if
22758 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22759 # text mode, it properly converts lines to CR/LF. This bash problem
22760 # is reportedly fixed, but why not run on old versions too?
22761 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22762 ||
(rm -f "$cfgfile"; exit 1)
22766 cat << \_LT_EOF
>> "$cfgfile"
22768 # func_dirname file append nondir_replacement
22769 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22770 # otherwise set result to NONDIR_REPLACEMENT.
22774 */*) func_dirname_result
="${1%/*}${2}" ;;
22775 * ) func_dirname_result
="${3}" ;;
22779 # func_basename file
22782 func_basename_result
="${1##*/}"
22785 # func_dirname_and_basename file append nondir_replacement
22786 # perform func_basename and func_dirname in a single function
22788 # dirname: Compute the dirname of FILE. If nonempty,
22789 # add APPEND to the result, otherwise set result
22790 # to NONDIR_REPLACEMENT.
22791 # value returned in "$func_dirname_result"
22792 # basename: Compute filename of FILE.
22793 # value retuned in "$func_basename_result"
22794 # Implementation must be kept synchronized with func_dirname
22795 # and func_basename. For efficiency, we do not delegate to
22796 # those functions but instead duplicate the functionality here.
22797 func_dirname_and_basename
()
22800 */*) func_dirname_result
="${1%/*}${2}" ;;
22801 * ) func_dirname_result
="${3}" ;;
22803 func_basename_result
="${1##*/}"
22806 # func_stripname prefix suffix name
22807 # strip PREFIX and SUFFIX off of NAME.
22808 # PREFIX and SUFFIX must not contain globbing or regex special
22809 # characters, hashes, percent signs, but SUFFIX may contain a leading
22810 # dot (in which case that matches only a dot).
22813 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22814 # positional parameters, so assign one to ordinary parameter first.
22815 func_stripname_result
=${3}
22816 func_stripname_result
=${func_stripname_result#"${1}"}
22817 func_stripname_result
=${func_stripname_result%"${2}"}
22823 func_opt_split_opt
=${1%%=*}
22824 func_opt_split_arg
=${1#*=}
22831 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22832 *) func_lo2o_result
=${1} ;;
22836 # func_xform libobj-or-source
22839 func_xform_result
=${1%.*}.lo
22842 # func_arith arithmetic-term...
22845 func_arith_result
=$
(( $
* ))
22849 # STRING may not start with a hyphen.
22852 func_len_result
=${#1}
22857 *) # Bourne compatible functions.
22858 cat << \_LT_EOF
>> "$cfgfile"
22860 # func_dirname file append nondir_replacement
22861 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22862 # otherwise set result to NONDIR_REPLACEMENT.
22865 # Extract subdirectory from the argument.
22866 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22867 if test "X$func_dirname_result" = "X${1}"; then
22868 func_dirname_result
="${3}"
22870 func_dirname_result
="$func_dirname_result${2}"
22874 # func_basename file
22877 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22881 # func_stripname prefix suffix name
22882 # strip PREFIX and SUFFIX off of NAME.
22883 # PREFIX and SUFFIX must not contain globbing or regex special
22884 # characters, hashes, percent signs, but SUFFIX may contain a leading
22885 # dot (in which case that matches only a dot).
22886 # func_strip_suffix prefix name
22890 .
*) func_stripname_result
=`$ECHO "X${3}" \
22891 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22892 *) func_stripname_result
=`$ECHO "X${3}" \
22893 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22898 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22899 my_sed_long_arg
='1s/^-[^=]*=//'
22904 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22905 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22911 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22914 # func_xform libobj-or-source
22917 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22920 # func_arith arithmetic-term...
22923 func_arith_result
=`expr "$@"`
22927 # STRING may not start with a hyphen.
22930 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22936 case $lt_shell_append in
22938 cat << \_LT_EOF
>> "$cfgfile"
22940 # func_append var value
22941 # Append VALUE to the end of shell variable VAR.
22949 cat << \_LT_EOF
>> "$cfgfile"
22951 # func_append var value
22952 # Append VALUE to the end of shell variable VAR.
22963 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22964 ||
(rm -f "$cfgfile"; exit 1)
22966 mv -f "$cfgfile" "$ofile" ||
22967 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22976 { (exit 0); exit 0; }
22978 chmod +x
$CONFIG_STATUS
22979 ac_clean_files
=$ac_clean_files_save
22981 test $ac_write_fail = 0 ||
22982 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22983 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22984 { (exit 1); exit 1; }; }
22987 # configure is writing to config.log, and then calls config.status.
22988 # config.status does its own redirection, appending to config.log.
22989 # Unfortunately, on DOS this fails, as config.log is still kept open
22990 # by configure, so config.status won't be able to write to it; its
22991 # output is simply discarded. So we exec the FD to /dev/null,
22992 # effectively closing config.log, so it can be properly (re)opened and
22993 # appended to by config.status. When coming back to configure, we
22994 # need to make the FD available again.
22995 if test "$no_create" != yes; then
22997 ac_config_status_args
=
22998 test "$silent" = yes &&
22999 ac_config_status_args
="$ac_config_status_args --quiet"
23001 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23003 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23004 # would make configure fail if this is the last instruction.
23005 $ac_cs_success ||
{ (exit 1); exit 1; }
23007 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23008 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23009 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}